other/9971: GCC-Bug.c:11: internal error: Arithmetic exception
danwmathews@yahoo.com
danwmathews@yahoo.com
Wed Mar 5 22:06:00 GMT 2003
>Number: 9971
>Category: other
>Synopsis: GCC-Bug.c:11: internal error: Arithmetic exception
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Wed Mar 05 22:06:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Daniel Mathews
>Release: gcc (GCC) 3.2.2 (mingw special 20030208-1)
>Organization:
>Environment:
Windows XP, Pentium Pro, 512MB memory
>Description:
Following code produces following error:
GCC-Bug.c: In function `main':
GCC-Bug.c:11: internal error: Arithmetic exception
Command line used to compile:
gcc GCC-Bug.c -c -fprefetch-loop-arrays -fstrength-reduce -O -msse
.i file follows:
/******************** .i File **********************/
# 1 "GCC-Bug.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "GCC-Bug.c"
int main(void) {
int *p;
int Tape[10];
for (p = Tape; p < Tape + 10; *(p++) = 0);
return 0;
}
>How-To-Repeat:
Try to compile included code
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list