public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/45551]  New: [4.6 Regression]: gcc.c-torture/execute/990326-1.c
@ 2010-09-06  1:59 hp at gcc dot gnu dot org
  2010-09-06  2:02 ` [Bug rtl-optimization/45551] " hp at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: hp at gcc dot gnu dot org @ 2010-09-06  1:59 UTC (permalink / raw)
  To: gcc-bugs

With revision 163380 this test passed.
>From revision 163383 and on, this test has failed as follows:

Running /tmp/regressn1-383/gcc/gcc/testsuite/gcc.c-torture/execute/execute.exp
...
FAIL: gcc.c-torture/execute/990326-1.c execution,  -O2
FAIL: gcc.c-torture/execute/990326-1.c execution,  -O3 -fomit-frame-pointer
FAIL: gcc.c-torture/execute/990326-1.c execution,  -O3 -g
FAIL: gcc.c-torture/execute/990326-1.c execution,  -Os
FAIL: gcc.c-torture/execute/990326-1.c execution,  -O2 -flto
FAIL: gcc.c-torture/execute/990326-1.c execution,  -O2 -fwhopr

With the message in the logfile showing that abort was called.
RTL dumps show that the misoptimizing is done in the combine pass.
A simplified version of gcc.c-torture/execute/990326-1.c exposing the
miscompilation will be attached.

Author of the suspect patch CC:ed.


-- 
           Summary: [4.6 Regression]: gcc.c-torture/execute/990326-1.c
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hp at gcc dot gnu dot org
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: cris-axis-elf


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45551


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug rtl-optimization/45551] [4.6 Regression]: gcc.c-torture/execute/990326-1.c
  2010-09-06  1:59 [Bug rtl-optimization/45551] New: [4.6 Regression]: gcc.c-torture/execute/990326-1.c hp at gcc dot gnu dot org
@ 2010-09-06  2:02 ` hp at gcc dot gnu dot org
  2010-09-06  2:11 ` pinskia at gcc dot gnu dot org
  2010-09-06 21:48 ` hp at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: hp at gcc dot gnu dot org @ 2010-09-06  2:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from hp at gcc dot gnu dot org  2010-09-06 02:02 -------
Created an attachment (id=21707)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21707&action=view)
Simplified gcc.c-torture/execute/990326-1.c

See the combine dump at e.g. -O2.  I haven't disected the miscompilation, but
at a glance it looks like the subregness is not handled properly.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45551


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug rtl-optimization/45551] [4.6 Regression]: gcc.c-torture/execute/990326-1.c
  2010-09-06  1:59 [Bug rtl-optimization/45551] New: [4.6 Regression]: gcc.c-torture/execute/990326-1.c hp at gcc dot gnu dot org
  2010-09-06  2:02 ` [Bug rtl-optimization/45551] " hp at gcc dot gnu dot org
@ 2010-09-06  2:11 ` pinskia at gcc dot gnu dot org
  2010-09-06 21:48 ` hp at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-09-06  2:11 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
   Target Milestone|---                         |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45551


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug rtl-optimization/45551] [4.6 Regression]: gcc.c-torture/execute/990326-1.c
  2010-09-06  1:59 [Bug rtl-optimization/45551] New: [4.6 Regression]: gcc.c-torture/execute/990326-1.c hp at gcc dot gnu dot org
  2010-09-06  2:02 ` [Bug rtl-optimization/45551] " hp at gcc dot gnu dot org
  2010-09-06  2:11 ` pinskia at gcc dot gnu dot org
@ 2010-09-06 21:48 ` hp at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: hp at gcc dot gnu dot org @ 2010-09-06 21:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hp at gcc dot gnu dot org  2010-09-06 21:48 -------
Fixed by r163917, apparently.


-- 

hp at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45551


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-09-06 21:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-06  1:59 [Bug rtl-optimization/45551] New: [4.6 Regression]: gcc.c-torture/execute/990326-1.c hp at gcc dot gnu dot org
2010-09-06  2:02 ` [Bug rtl-optimization/45551] " hp at gcc dot gnu dot org
2010-09-06  2:11 ` pinskia at gcc dot gnu dot org
2010-09-06 21:48 ` hp at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).