This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r243045 - in /branches/ARM/sve-branch/gcc: dwar...


Author: rsandifo
Date: Wed Nov 30 19:07:04 2016
New Revision: 243045

URL: https://gcc.gnu.org/viewcvs?rev=243045&root=gcc&view=rev
Log:
Fix a debug failure with VG-based offsets

This patch fixes an ICE with -gdwarf2 in debug.exp (sorry, forgot to
record the exact testcase).  The problem is that if we can't use GNU
extensions, we end up trying to recreate a CFA description from the
associated location expression, but the expressions we create for
SVE are too complex for this code to work.

The simplest fix seemed to be to record the CFA information alongside
the def_cfa_expression if either offset is polynomial.

Modified:
    branches/ARM/sve-branch/gcc/dwarf2cfi.c
    branches/ARM/sve-branch/gcc/dwarf2out.c
    branches/ARM/sve-branch/gcc/dwarf2out.h


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]