gcc v5+ generates code that cause segment faults
mfuhrman@enetarch.net
mfuhrman@enetarch.net
Tue Oct 4 08:27:00 GMT 2016
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
More information about the Gcc-help
mailing list