[Bug rtl-optimization/94618] [8/9/10 Regression] '-fcompare-debug' failure (length) with -O2 -fnon-call-exceptions since r8-565-g7581ce9a1ad6df9c

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Apr 17 07:35:12 GMT 2020


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

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #5)
> Created attachment 48293 [details]
> gcc10-pr94618.patch
> 
> Untested fix.

Looks logically correct - but are there no helpers for this on the RTL side?
Like LAST_NONDEBUG_INSN (BB) or so?  Or skip_debug_insns_until_bb_end?
Possibly this is the only such case of course ...


More information about the Gcc-bugs mailing list