[Bug debug/86456] [8/9 Regression] Segfault in switch_to_section at gcc/varasm.c:7353 since r259317

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jul 16 13:57:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86456

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #3)
> Created attachment 44399 [details]
> patch
> 
> The attached fixes the ICE.  Martin, this was likely reduced from sth else? 
> I guess nobody uses -gdwarf-5 ...

I saw it with:
$ make check RUNTESTFLAGS="--target_board=unix/-flto/-g1"

or 

$ make check RUNTESTFLAGS="--target_board=unix/-flto"

Please check that with your patch.


More information about the Gcc-bugs mailing list