This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/85645] ICE in maybe_record_trace_start, at dwarf2cfi.c:2348
- From: "segher at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 09 May 2018 12:15:24 +0000
- Subject: [Bug rtl-optimization/85645] ICE in maybe_record_trace_start, at dwarf2cfi.c:2348
- Auto-submitted: auto-generated
- References: <bug-85645-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85645
--- Comment #10 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Author: segher
Date: Wed May 9 12:14:39 2018
New Revision: 260075
URL: https://gcc.gnu.org/viewcvs?rev=260075&root=gcc&view=rev
Log:
regrename: Don't rename the dest of a REG_CFA_REGISTER (PR85645)
We should never change the destination of a REG_CFA_REGISTER, just
like for insns with a REG_CFA_RESTORE, because we need to have the
same control flow information on all branches that join. It is very
doubtful that renaming the scratch registers used for prologue/epilogue
will help anything either.
PR rtl-optimization/85645
* regrename.c (build_def_use): Also kill the chains that include the
destination of a REG_CFA_REGISTER note.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/regrename.c