blob: 55e38903f845d24595e071b78c602e48d9c04042 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001Upstream-Status: Pending
2
3Taken from http://gcc.gnu.org/ml/gcc-patches/2014-04/msg02064.html
4
52014-04-30 Cesar Philippidis <cesar@codesourcery.com>
6
7 gcc/
8 * dwarf2cfi.c (dwf_regno): Don't assert reg is a pseudo
9 register.
10
11
12diff --git a/gcc/dwarf2cfi.c b/gcc/dwarf2cfi.c
13index 4180890..40ef0e2 100644
14--- a/gcc/dwarf2cfi.c
15+++ b/gcc/dwarf2cfi.c
16@@ -906,7 +906,6 @@ notice_eh_throw (rtx insn)
17 static inline unsigned
18 dwf_regno (const_rtx reg)
19 {
20- gcc_assert (REGNO (reg) < FIRST_PSEUDO_REGISTER);
21 return DWARF_FRAME_REGNUM (REGNO (reg));
22 }
23