public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/53774] New: Reassociator generates non-canonical addition
@ 2012-06-25 22:21 wschmidt at gcc dot gnu.org
  2012-06-26  8:56 ` [Bug tree-optimization/53774] " rguenth at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: wschmidt at gcc dot gnu.org @ 2012-06-25 22:21 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53774
           Summary: Reassociator generates non-canonical addition
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: wschmidt@gcc.gnu.org
                CC: bergner@vnet.ibm.com, rguenther@suse.de


There is one test in the regression testsuite for which the reassociator
generates a GIMPLE addition that is not canonical.  Specifically, it generates
an add where rhs1 is a constant and rhs2 is an SSA name.  The test is:

gcc.c-torture/compiler/pr41634.c

The generated GIMPLE includes:

  D.1393_7 = 4294967293 + fp_6(D);

Probably best just to run this test from the testsuite to reproduce, but here
is the command I used.

/home/wschmidt/gcc/build/gcc-mainline-slsrpt1a/gcc/xgcc
-B/home/wschmidt/gcc/build/gcc-mainline-slsrpt1a/gcc/
-fno-diagnostics-show-caret -O0 -w -c -m32 -o pr41634.o
/home/wschmidt/gcc/gcc-mainline-slsrpt1a/gcc/testsuite/gcc.c-torture/compile/pr41634.c


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

end of thread, other threads:[~2012-06-27 11:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-25 22:21 [Bug tree-optimization/53774] New: Reassociator generates non-canonical addition wschmidt at gcc dot gnu.org
2012-06-26  8:56 ` [Bug tree-optimization/53774] " rguenth at gcc dot gnu.org
2012-06-26 14:24 ` rguenth at gcc dot gnu.org
2012-06-26 18:42 ` wschmidt at gcc dot gnu.org
2012-06-26 18:52 ` wschmidt at gcc dot gnu.org
2012-06-27  8:28 ` rguenther at suse dot de
2012-06-27 11:29 ` rguenth at gcc dot gnu.org
2012-06-27 11:30 ` rguenth at gcc dot gnu.org
2012-06-27 11:30 ` rguenth at gcc dot gnu.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).