Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | Upstream-Status: Pending |
| 2 | |
| 3 | Taken from http://gcc.gnu.org/ml/gcc-patches/2014-04/msg02064.html |
| 4 | |
| 5 | 2014-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 | |
| 12 | diff --git a/gcc/dwarf2cfi.c b/gcc/dwarf2cfi.c |
| 13 | index 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 | |