[Bug c++/6706] [3.4 regression] ICE with variable-sized arrays and DWARF-1 output
reichelt@gcc.gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jun 16 12:21:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6706
reichelt@gcc.gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|CLOSED |REOPENED
Resolution|FIXED |
Summary|internal error: Segmentation|[3.4 regression] ICE with
|fault |variable-sized arrays and
| |DWARF-1 output
------- Additional Comments From reichelt@gcc.gnu.org 2003-06-16 12:21 -------
The reduced testcase
---------------------snip here--------------------
void foo()
{
int i=1, x[i];
}
---------------------snip here--------------------
again crashes mainline (just compile using "g++ -gdwarf -c").
The regression was introduced somewhere between 20030608 and 20030610.
BTW, the testcases "debug6.C" and "debug7.C" should have tested this,
but showed no problem. Do they only test DWARF-2?
More information about the Gcc-bugs
mailing list