This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/17406] [4.0 regression] ICE dwarf2out_frame_debug_expr, at dwarf2out.c:1692
- From: "aaronavay62 at aaronwl dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Sep 2004 06:57:56 -0000
- Subject: [Bug debug/17406] [4.0 regression] ICE dwarf2out_frame_debug_expr, at dwarf2out.c:1692
- References: <20040910202624.17406.aaronavay62@aaronwl.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From aaronavay62 at aaronwl dot com 2004-09-25 06:57 -------
I minimized this testcase down to this. Note that the size of t1 and t2
together must be greater than or equal to 3969 to trigger the ICE.
$ gcc -O1 -g -c bug.i
bug.i: In function 'print_pattern':
bug.i:8: internal compiler error: in dwarf2out_frame_debug_expr, at dwarf2out.c:1692
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
void print_value (char *, int, int);
void print_pattern (int i, int j) {
char t1[3968], t2[1];
print_value (t1, i, j);
print_value (t2, i, j);
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17406