This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: internal error on loop unrolling
- To: FUKUCHI Kentarou <fukuchi at is dot titech dot ac dot jp>
- Subject: Re: internal error on loop unrolling
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 29 Dec 1999 23:51:40 -0700
- cc: gcc-bugs at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <19991210231011N.fukuchi@is.titech.ac.jp>you write:
> GCC internal error occurs when compile the list below with optimizing
> option '-funroll-loops'. Without '-funroll-loops', it goes well.
>
> #include <stdio.h>
> #include <stdlib.h>
> int m[8],b[8];
>
> int main(){
> int i;
>
> for(;;){
> m[0] = rand();
> if(m[0] == 0){
> for(i=0;i<8;i++){
> m[i] = b[i];
> }
> break;
> }
> }
> }
>
>
> elwood#22:31~/tmp$ gcc -v --save-temps -mpentium -O3 -fomit-frame-pointer -
> funroll-loops test.c
[ ... ]
Thanks. This seems to be working fine in the development sources.
I have added this test to the regression testsuite.
jeff