gcc 2.95.2/3 ICE

Schirmer, Hartmut HSchirmer@Innovative-Systems.de
Wed Jun 19 01:30:00 GMT 2002


Hi,

gcc 2.95.2 & .3 cygwin -> sh-hitachi-coff abort on
this file when compiled with for SH2&SH3 with optimization

Hartmut

int foo( void )
{
    extern int res;
    switch ( res )
    {
    case 0 :
        break;
    case 1 :
        do ; while (0) ;
        break;
    case 2 :
        do ; while (0) ;
        break;
    case 3 :
        do ; while (0) ;
        break;
    }
    return res;
}



More information about the Gcc-bugs mailing list