c/1073: Internal compiler error in `create_reg_dead_note'

wilco@trimedia.com wilco@trimedia.com
Fri Dec 15 14:06:00 GMT 2000


>Number:         1073
>Category:       c
>Synopsis:       Internal compiler error in `create_reg_dead_note'
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 15 14:06:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     wilco@trimedia.com
>Release:        gcc version 2.95.2 19991024 (release)
>Organization:
>Environment:
Linux
>Description:
Following program causes above internal error:

linuxbox % cat gnu_bug.c
unsigned long long load( unsigned int address, int swap )
{
   char*              real_address;
   unsigned long long value = 0;

   value = *(unsigned long long*) real_address;
   if ( swap )
      value = ((unsigned long long) (  ((unsigned int) ( value ) &
      0x000000ffu) << 24 |  ((unsigned int) ( value ) & 0x0000ff00u) <<  8 |
      ((unsigned int) ( value ) & 0x00ff0000u) >>  8 |  ((unsigned int)
      ( value ) & 0xff000000u) >> 24 )  << 32) | (  ((unsigned int) (
      value >> 32 ) & 0x000000ffu) << 24 |  ((unsigned int) ( value >>
      32 ) & 0x0000ff00u) <<  8 |  ((unsigned int) ( value >> 32 ) &
      0x00ff0000u) >>  8 |  ((unsigned int) ( value >> 32 ) & 0xff000000u) >> 24 ) ;
   return value;
}

linuxbox % gcc -O2 -fschedule-insns gnu_bug.c
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.2/specs
gcc version 2.95.2 19991024 (release)
 /usr/lib/gcc-lib/i486-suse-linux/2.95.2/cc1 gnu_bug.c -quiet -O2 -version -fschedule-insns -o /tmp/ccxsw3Jb.s
GNU C version 2.95.2 19991024 (release) (i486-suse-linux) compiled by GNU C version 2.95.2 19991024 (release).
gnu_bug.c: In function `load':
gnu_bug.c:16: Internal compiler error in `create_reg_dead_note', at sched.c:2182
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
linuxbox %
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the Gcc-bugs mailing list