This is the mail archive of the gcc-bugs@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]

[Bug debug/17406] [4.0 regression] ICE dwarf2out_frame_debug_expr, at dwarf2out.c:1692


------- 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


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