This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc v5+ generates code that cause segment faults


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]