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


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



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