middle-end/10456: gcc 3.2 internal compiler error when building powerpc gas

pokermind@bigzoo.net pokermind@bigzoo.net
Tue Apr 22 20:26:00 GMT 2003


>Number:         10456
>Category:       middle-end
>Synopsis:       gcc 3.2 internal compiler error when building powerpc gas
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 22 20:26:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Eric 'Nick' Nicolich
>Release:        gcc version 3.2.1 [FreeBSD] 20021119 (release), gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
>Organization:
>Environment:
typical user environment, building "cross" tools from
binutils-2.13
>Description:
After configuring binutils for target powerpc-*-elf and running gnumake (in a seperate build directory), an internal compiler error is encounted while building gas.  Here's the compiler output from my FreeBSD box (similar problem on Linux):


gmake[3]: Entering directory `/home/nicolich/geek/wrkarea/gas'
gcc -DHAVE_CONFIG_H -I. -I../../binutils-2.13/gas -I. -D_GNU_SOURCE -I. -I../../binutils-2.13/gas -I../bfd -I../../binutils-2.13/gas/config -I../../binutils-2.13/gas/../include -I../../binutils-2.13/gas/.. -I../../binutils-2.13/gas/../bfd -I../../binutils-2.13/gas/../intl -I../intl -DLOCALEDIR="\"/home/nicolich/xtools/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -c ../../binutils-2.13/gas/config/tc-ppc.c
../../binutils-2.13/gas/config/tc-ppc.c: In function `md_assemble':
../../binutils-2.13/gas/config/tc-ppc.c:2172: warning: right shift count >= width of type
../../binutils-2.13/gas/config/tc-ppc.c:2174: warning: right shift count >= width of type
../../binutils-2.13/gas/config/tc-ppc.c:2179: warning: right shift count >= width of type
../../binutils-2.13/gas/config/tc-ppc.c:2181: warning: right shift count >= width of type
../../binutils-2.13/gas/config/tc-ppc.c:2186: warning: right shift count >= width of type
../../binutils-2.13/gas/config/tc-ppc.c:2188: warning: right shift count >= width of type
../../binutils-2.13/gas/config/tc-ppc.c:2193: warning: right shift count >= width of type
../../binutils-2.13/gas/config/tc-ppc.c:2195: warning: right shift count >= width of type
../../binutils-2.13/gas/config/tc-ppc.c: In function `md_apply_fix3':
../../binutils-2.13/gas/config/tc-ppc.c:5374: warning: right shift count >= width of type
../../binutils-2.13/gas/config/tc-ppc.c:5381: warning: right shift count >= width of type
../../binutils-2.13/gas/config/tc-ppc.c:5388: warning: right shift count >= width of type
../../binutils-2.13/gas/config/tc-ppc.c:5395: warning: right shift count >= width of type
../../binutils-2.13/gas/config/tc-ppc.c:5523: Internal compiler error in simplify_subreg, at simplify-rtx.c:2452
Please submit a full bug report,
with preprocessed source if appropriate.
>How-To-Repeat:
download binutils-2.13 to either a FreeBSD or Redhat Linux machine (intel '86 architecture).

configure it with  --target=powerpc-*-elf --prefix=/home/nicolich/xtools --program-suffix=nxppc

run gnumake in the build directory
>Fix:
use the cross binutils made on a Sun workstation with gcc version 3.2.1.  No problems encounter on a Sun Ultra platform.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list