RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 989554 - regressions in gcc upstream suite on x86_64
Summary: regressions in gcc upstream suite on x86_64
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: gcc
Version: 7.0
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jakub Jelinek
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-29 14:16 UTC by Dagmar Prokopová
Modified: 2015-03-31 18:46 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-31 18:46:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Dagmar Prokopová 2013-07-29 14:16:44 UTC
Description of problem:
While comparing the results of upstream-suite from gcc-4.8.1-2.el7 to results from gcc-4.4.7-3.el6 I found the following regressions:

FAIL: gcc.dg/guality/pr43051-1.c  -O3 -fomit-frame-pointer -funroll-loops  line 39 c == &a[0]

FAIL: gcc.dg/guality/pr43051-1.c  -O3 -fomit-frame-pointer -funroll-all-loops -finline == &a[0]


In both cases the failure is probably caused by 'a' being optimized out.

Breakpoint 1 at 0x400699: file ./gcc.dg/guality/pr43051-1.c, line 39.
Breakpoint 1, bar (c=<optimized out>, v=1, e=0x601070 <a+16>)
    at ./gcc.dg/guality/pr43051-1.c:39
39	      foo ("c", (__UINTPTR_TYPE__) c, 3);	/* { dg-final { gdb-test 39 "c" "\&a\[0\]" } } */
$1 = <optimized out>
$2 = (struct S *) 0x601060 <a>
<optimized out> != (struct S *) 0x601060 <a>


Version-Release number of selected component (if applicable):
gcc-4.8.1-2.el7

How reproducible:
always

Steps to Reproduce:
run the upstream suite on rhel7 and rhel6 and compare the results

Actual results:
regressions mentioned above

Expected results:
no regressions

Additional info:

Comment 2 Marek Polacek 2013-08-02 11:10:53 UTC
Reproduced even with trunk.
This is caused by http://gcc.gnu.org/r193281 (one of the fixes for PR54693), http://gcc.gnu.org/ml/gcc-patches/2012-11/msg00504.html

The $1 = <value optimized out> is caused by loop header copying, thus -fno-tree-ch makes it back into $1 = (struct S *) 0x600aa0.

Comment 3 Jakub Jelinek 2013-08-28 12:14:31 UTC
Very low priority.


Note You need to log in before you can comment on or make changes to this bug.