public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/19786] New: Aliasing optimisation bug
@ 2005-02-06 10:17 sylvain.pion@sophia.inria.fr
  2005-02-06 10:20 ` [Bug tree-optimization/19786] " sylvain.pion@sophia.inria.fr
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: sylvain.pion@sophia.inria.fr @ 2005-02-06 10:17 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.

-- 
           Summary: Aliasing optimisation bug
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          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
  GCC host triplet: i686-pc-linux-gnu


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


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

end of thread, other threads:[~2005-02-22  2:32 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-06 10:17 [Bug tree-optimization/19786] New: Aliasing optimisation bug sylvain.pion@sophia.inria.fr
2005-02-06 10:20 ` [Bug tree-optimization/19786] " sylvain.pion@sophia.inria.fr
2005-02-06 15:19 ` pinskia@gcc.gnu.org
2005-02-06 15:29 ` [Bug rtl-optimization/19786] [4.0 Regression] " pinskia@gcc.gnu.org
2005-02-07  3:24 ` pinskia at gcc dot gnu dot org
2005-02-07  3:25 ` pinskia at gcc dot gnu dot org
2005-02-07  3:39 ` pinskia at gcc dot gnu dot org
2005-02-07  3:42 ` pinskia at gcc dot gnu dot org
2005-02-16 19:46 ` jakub at gcc dot gnu dot org
2005-02-16 20:04 ` jakub at gcc dot gnu dot org
2005-02-16 22:00 ` [Bug tree-optimization/19786] " pinskia at gcc dot gnu dot org
2005-02-16 23:17 ` jakub at gcc dot gnu dot org
2005-02-17  3:30 ` jakub at gcc dot gnu dot org
2005-02-18 22:00 ` aoliva at gcc dot gnu dot org
2005-02-19  1:14 ` sylvain dot pion at sophia dot inria dot fr
2005-02-19 11:53 ` aoliva at gcc dot gnu dot org
2005-02-21 21:47 ` pinskia at gcc dot gnu dot org
2005-02-21 23:19 ` aoliva at redhat dot com
2005-02-21 23:23 ` dnovillo at redhat dot com
2005-02-22 11:32 ` cvs-commit at gcc dot gnu dot org
2005-02-22 12:02 ` 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).