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

--- Comment #106 from dave.anglin at bell dot net ---
On 2019-07-26 12:25 p.m., cameron.heide at betasystems dot com wrote:
>> #1  0x000000000657fda0 in remove (var=<optimized out>) at 
>> ../../gcc/var-tracking.c:507
>> #2  hash_table<variable_hasher, xcallocator>::~hash_table (this=<optimized 
>> out>, __in_chrg=<optimized out>)
>>     at ../../gcc/hash-table.h:625
>> #3  0x0000000000000002 in ?? ()
>> #4  0x0000000000000000 in ?? ()
> I've been trying to gather more debug information, but I can't build with -O0
> or I get the PCREL21B relocation errors at link, and GDB seems...quirky on
> ia64.
Not surprising...

Probably, you can get more info as follows:

Run cc1 under gdb and set args.  Put a break on var-tracking.c:507.  Probably,
the fault occurs on first call to remove
but this can be checked by running program with ignor set to a large number.

When program hits break, disassemble around break with "disass $pc-32,$pc+32". 
Single step forward.  If code branches,
disassemble new code.  Do this until you hit fault.  This should show where/how
things go wrong.

Reply via email to