[Bug sanitizer/59258] ubsan: ICE(segfault): stack-buffer-overflow with -fsanitize=undefined

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 25 20:10:00 GMT 2013


--- Comment #11 from Tobias Burnus <burnus at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #10)
> Created attachment 31289 [details]
> Untested fix for the dwarf2out.c ICE.

Seem to solve the problem with both -g and no "-g" for one unreduced test file.

> Perhaps my
>         * ubsan.c (ubsan_source_location): Don't crash on unknown locations.
> change will be unneeded now?

Possibly yes; when I revert it, PR59250's test case still passes and also the
unreduced test case (for this PR's problem) passes. (I will try the bigger code

More information about the Gcc-bugs mailing list