gcc v5+ generates code that cause segment faults
Michael J. Fuhrman
mfuhrman@enetarch.net
Thu Oct 6 19:28:00 GMT 2016
Johann,
> gdb cjson
(gdb) run
enetering ... json->addNumber (json, [number], 123)
Program received signal SIGFPE, Arithmetic exception.
0x00007fffffffdcfb in ___ ()
(gdb) disass
No function contains program counter for selected frame.
(gdb)=20
I've tried running gdb to step through the core dump, but this is
alluding me.
Mike,
PS .. I ran this same code through Android's cppDroid, and it ran fine.
More information about the Gcc-help
mailing list