gcc v5+ generates code that cause segment faults
Andrew Haley
aph@redhat.com
Mon Oct 3 08:33:00 GMT 2016
On 03/10/16 01:01, mfuhrman@enetarch.net wrote:
> I have compiled this program under many different versions of Fedora using
> NetBeans 8.0.2 and 8.1, and have come to the conclusion that the segment
> faults
> are being created not by the OS, but by the compiler. Provided here are my
> findings thus far. I hope that someone can shed light on why this error is
> occurring, and provide a resolution.
Build with -fsanitize=undefined. Fix any bugs you find, and try
again.
Andrew.
More information about the Gcc-help
mailing list