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]

other/9971: GCC-Bug.c:11: internal error: Arithmetic exception


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


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