This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc v5+ generates code that cause segment faults
- From: "mfuhrman at enetarch dot net" <mfuhrman at enetarch dot net>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 4 Oct 2016 04:31:30 -0400
- Subject: Re: gcc v5+ generates code that cause segment faults
- Authentication-results: sourceware.org; auth=none
- Authentication-results: antispamcloud.com; auth=pass smtp.auth=168.144.250.0/24 at xsmtpout dot mail2web dot com
- Reply-to: mfuhrman at enetarch dot net
Mason,
There are only 2 files of interest .. Main.c and cJSON.c Pardon the
inconvenience, I removed the rest from the project, but not from the
project folder.
Per a request from Andrew, I re-compiled the code using [
-fsanitize=undefined ], corrected all the errors and re-ran the code on
F18 and F24. There are 2 output files that indicate what Main.c should
generate from the print statements.
Now, instead of getting a segment fault, I now get an illegal instruction.
Mike,
https://github.com/enetarch/cJSON/
--------------------------------------------------------------------
myhosting.com - Premium Microsoft? Windows? and Linux web and application
hosting - https://link.myhosting.com/myhosting