public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/19782] New: Aliasing optimisation bug
@ 2005-02-07  3:25 pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; only message in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-07  3:25 UTC (permalink / raw)
  To: gcc-bugs

The attached C++ program triggers an assertion violation when compiled with -O2
(it should not).
The assertion is not triggered when adding -fno-strict-aliasing, or when removing
-O2.  It is also working when slight changes to the program are made (see comments
in the source).  It is the smallest version of the program which allowed me to
reproduce the bug, but I did not try to look into the <vector> header.

It might be an aliasing bug in <vector>, I don't know.
Note that g++ 3.4 works fine.
------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-06 18:34 -------


*** This bug has been marked as a duplicate of 19786 ***

-- 
           Summary: Aliasing optimisation bug
           Product: gcc
           Version: 4.0.0
            Status: RESOLVED
          Severity: critical
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sylvain dot pion at sophia dot inria dot fr
                CC: gcc-bugs at gcc dot gnu dot org,sylvain dot pion at
                    sophia dot inria dot fr
  GCC host triplet: i686-pc-linux-gnu


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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-02-06 18:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-07  3:25 [Bug tree-optimization/19782] New: Aliasing optimisation bug pinskia 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).