This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
other/9971: GCC-Bug.c:11: internal error: Arithmetic exception
- From: danwmathews at yahoo dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 5 Mar 2003 22:03:33 -0000
- Subject: other/9971: GCC-Bug.c:11: internal error: Arithmetic exception
- Reply-to: danwmathews at yahoo dot com
>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: