public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/51731] New: code generation bug in negative indices in arrays on 64-bit targets
@ 2012-01-02 12:26 m.hekkelman at cmbi dot ru.nl
  2012-01-02 16:24 ` [Bug c++/51731] " paolo.carlini at oracle dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: m.hekkelman at cmbi dot ru.nl @ 2012-01-02 12:26 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51731
           Summary: code generation bug in negative indices in arrays on
                    64-bit targets
    Classification: Unclassified
           Product: gcc
           Version: 4.6.1
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: m.hekkelman@cmbi.ru.nl


Created attachment 26217
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26217
source file containing a fully self contained bug description

When compiling the attached code with -O3 the generated code is incorrect as
can be seen by the output of the program. The problem was introduced in gcc
4.5, earlier versions did not have this problem.


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

end of thread, other threads:[~2012-01-03  7:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-02 12:26 [Bug c++/51731] New: code generation bug in negative indices in arrays on 64-bit targets m.hekkelman at cmbi dot ru.nl
2012-01-02 16:24 ` [Bug c++/51731] " paolo.carlini at oracle dot com
2012-01-02 17:04 ` m.hekkelman at cmbi dot ru.nl
2012-01-02 17:10 ` jakub at gcc dot gnu.org
2012-01-02 19:08 ` m.hekkelman at cmbi dot ru.nl
2012-01-02 19:32 ` jakub at gcc dot gnu.org
2012-01-03  7:45 ` m.hekkelman at cmbi dot ru.nl

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).