re PR c++/6706 (ICE with variable-sized arrays and DWARF-1 output)
authorMark Mitchell <mark@codesourcery.com>
Fri, 5 Jul 2002 16:40:01 +0000 (16:40 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 5 Jul 2002 16:40:01 +0000 (16:40 +0000)
commit9833f6792a3fc80658167415883160d47ddd68b4
treed2f8efa5fa2c3a5ebae7ee24ce51a1b2fad27932
parent7dc17098a2c31f04a702967845220d5b1e4a2336
re PR c++/6706 (ICE with variable-sized arrays and DWARF-1 output)

PR c++/6706
* dwarfout.c (output_reg_number): Fix warning message.
(output_bound_representation): Check SAVE_EXPR_RTL is not NULL
before using it.

PR c++/6706
* g++.dg/debug/debug6.C: New test.
* g++.dg/debug/debug7.C: New test.

From-SVN: r55264
gcc/ChangeLog
gcc/dwarfout.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/debug/debug6.C [new file with mode: 0644]
gcc/testsuite/g++.dg/debug/debug7.C [new file with mode: 0644]