[Bug c/66230] Using optimizations causes program to segfault

trippels at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 21 06:03:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66230

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2015-05-21
                 CC|                            |trippels at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Please attache a small self-contained testcase. 
Nobody here has the time to clone and build random projects.

And normally issues like these are caused by invoking undefined behavior.
Try to build the project with -fsanitize=undefined and see what runtime
errors it reports.



More information about the Gcc-bugs mailing list