public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/47426] New: [4.6 Regression] wrong code with -O2 -fipa-pta
@ 2011-01-24  3:11 zsojka at seznam dot cz
  2011-01-24  4:11 ` [Bug tree-optimization/47426] " zsojka at seznam dot cz
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: zsojka at seznam dot cz @ 2011-01-24  3:11 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.6 Regression] wrong code with -O2 -fipa-pta
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz
                CC: rguenth@gcc.gnu.org
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu


Created attachment 23093
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23093
foo.c

Output:
$ gcc main.c foo.c -O2
$ ./a.out


$ gcc main.c foo.c -O2 -fipa-pta
$ ./a.out 
Aborted

foo.c is miscompiled


I don't know if this should be marked as regression.

Tested revisions:
r169143 - fail


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

end of thread, other threads:[~2011-02-02 17:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-24  3:11 [Bug tree-optimization/47426] New: [4.6 Regression] wrong code with -O2 -fipa-pta zsojka at seznam dot cz
2011-01-24  4:11 ` [Bug tree-optimization/47426] " zsojka at seznam dot cz
2011-01-24  8:25 ` hjl.tools at gmail dot com
2011-01-25 11:20 ` rguenth at gcc dot gnu.org
2011-01-25 13:24 ` rguenth at gcc dot gnu.org
2011-01-25 16:46 ` rguenth at gcc dot gnu.org
2011-01-26  9:58 ` jakub at gcc dot gnu.org
2011-02-02 17:51 ` dnovillo 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).