This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/9357: [3.2/3.3/3.4 regression] SegFault with -fssa -funroll-loops -fprofile-arcs
- From: bangerth at dealii dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, maddinp at yahoo dot de, nobody at gcc dot gnu dot org
- Date: 17 Jan 2003 20:42:39 -0000
- Subject: Re: optimization/9357: [3.2/3.3/3.4 regression] SegFault with -fssa -funroll-loops -fprofile-arcs
- Reply-to: bangerth at dealii dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, maddinp at yahoo dot de, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Old Synopsis: gcc-3.2.1 optimization-crash
New Synopsis: [3.2/3.3/3.4 regression] SegFault with -fssa -funroll-loops -fprofile-arcs
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Fri Jan 17 12:42:37 2003
State-Changed-Why:
Confirmed. Here's a smaller testcase:
---------------------
void foo() {
typedef void (*fun_ptr)();
fun_ptr *array;
int i;
bar(array);
for (i=0; i<=0x100; i++)
array[i] = &foo;
}
----------------------------
This crashes every compiler since 3.2:
g/a> /home/bangerth/bin/gcc-3.4-pre/bin/gcc -O -c c64mem.c -fssa -funroll-loops -fprofile-arcs
c64mem.c: In function `foo':
c64mem.c:8: internal compiler error: Speicherzugriffsfehler
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
It used to work with 3.0.4, so it's a regression.
W.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9357