public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/42508]  New: wrong code with "-O1 -fipa-sra"
@ 2009-12-26 11:18 zsojka at seznam dot cz
  2009-12-26 11:20 ` [Bug tree-optimization/42508] " zsojka at seznam dot cz
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: zsojka at seznam dot cz @ 2009-12-26 11:18 UTC (permalink / raw)
  To: gcc-bugs

+++ This bug was initially created as a clone of Bug #42290 +++

Command line:
g++ -O1 -fipa-sra testcase.cpp && ./a.out
(-Wall shows valid (but misleading?) warnings as described in bug 42290)

Tested versions:
r155434 - broken
r154886 - broken
r154830 - OK
r153685 - OK

Output:
g++ -O1 -fipa-sra testcase.cpp && ./a.out
2
-1419800576

Expected output:
g++ -O1 -fipa-sra testcase.cpp && ./a.out
2
1


-- 
           Summary: wrong code with "-O1 -fipa-sra"
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zsojka at seznam dot cz
  GCC host triplet: x86_64-pc-linux-gnu


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


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

end of thread, other threads:[~2010-01-07 22:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-26 11:18 [Bug tree-optimization/42508] New: wrong code with "-O1 -fipa-sra" zsojka at seznam dot cz
2009-12-26 11:20 ` [Bug tree-optimization/42508] " zsojka at seznam dot cz
2009-12-26 21:04 ` hjl dot tools at gmail dot com
2009-12-30 17:33 ` steven at gcc dot gnu dot org
2009-12-30 22:59 ` [Bug tree-optimization/42508] [4.5 Regression] " rguenth at gcc dot gnu dot org
2010-01-02 16:14 ` rguenth at gcc dot gnu dot org
2010-01-04 14:13 ` jakub at gcc dot gnu dot org
2010-01-04 14:16 ` jakub at gcc dot gnu dot org
2010-01-05  8:41 ` jakub at gcc dot gnu dot org
2010-01-05  8:58 ` jakub at gcc dot gnu dot org
2010-01-07 22:24 ` hjl 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).