This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/32339] New: [4.3 Regression] ICE in insert_save, at caller-save.c:726
- From: "tbm at cyrius dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jun 2007 10:44:03 -0000
- Subject: [Bug rtl-optimization/32339] New: [4.3 Regression] ICE in insert_save, at caller-save.c:726
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I'm getting the following ICE with current gcc 4.3. This worked with
20070604 and is probably due to the dataflow merge. Note that PR31025
contains a similar ICE, but the description is quite different to what
I'm seeing. Note that my testcase shows an ICE on ia64 but works on
x86_64.
tbm@coconut0:~$ /usr/lib/gcc-snapshot/bin/gcc -c -O2 freeciv-citydlg.c
freeciv-citydlg.c: In function 'change_callback':
freeciv-citydlg.c:15: internal compiler error: in insert_save, at
caller-save.c:726
Please submit a full bug report,
Testcase:
struct city_dialog
{
struct city *pcity;
char change_list_names[200][200];
int change_list_ids[200];
};
change_callback (void)
{
struct city_dialog *pdialog;
int n;
int i;
get_city_dialog_production_full (pdialog->change_list_names[n],
pdialog->pcity);
pdialog->change_list_ids[n++] = i;
}
--
Summary: [4.3 Regression] ICE in insert_save, at caller-
save.c:726
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tbm at cyrius dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32339