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]

optimization/8705: Internal compiler error in emit_move_insn_1, at expr.c:3101


>Number:         8705
>Category:       optimization
>Synopsis:       Internal compiler error in emit_move_insn_1, at expr.c:3101
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 25 13:16:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Peter Keller <psilord@cs.wisc.edu>
>Release:        gcc version 3.2 official release
>Organization:
>Environment:
Machine is: hppa64-hp-hpux11.00 model:9000/780/J282

Process used to build gcc 3.2 on above machine:

set path = ( /opt/ansic/bin $path )
setenv CC 'cc -Ae +DA2.0W'

Building binutils 2.13.1
./configure --prefix=/tools/local --disable-shared \ --disable-nls --host=hppa64-hp-hpux11.00

Then building gcc 3.2:
../gcc-3.2/configure --disable-nls \ --host=hppa64-hp-hpux11.00 --without-gnu-ld \ --with-ld=/usr/ccs/bin/ld --with-gnu-as --with-as=/tools/local/bin/as --prefix=/tools/local/gcc64 \ --with-nm=/tools/local/bin/nm --disable-shared && make bootstrap-lean


>Description:
Compile fails with internal compiler error when -O2 is used on this piece of code(preprocessed):

# 1 "bug.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "bug.c"
int main(void)
{
        double a,b,c,eps;

        a = 4.0e0/3.0e0;
        eps = 0.0e0;
        while (eps == 0.0e0) {
                b = a - 1.0e0;
        }
        return 0;
}

gcc -v -O2 bug.c
Reading specs from /tools/local/gcc64/lib/gcc-lib/hppa64-hp-hpux11.00/3.2/specs
Configured with: ../gcc-3.2/configure --disable-nls --host=hppa64-hp-hpux11.00 --without-gnu-ld --with-ld=/usr/ccs/bin/ld --with-gnu-as --with-as=/tools/local/bin/as --prefix=/tools/local/gcc64 --with-nm=/tools/local/bin/nm --disable-shared
Thread model: single
gcc version 3.2
 /tools/local/gcc64/lib/gcc-lib/hppa64-hp-hpux11.00/3.2/cc1 -lang-c -v -D__GNUC__=3 -D__GNUC_MINOR__=2 -D__GNUC_PATCHLEVEL__=0 -D__GXX_ABI_VERSION=102 -Dhppa -Dhp9000s800 -D__hp9000s800 -Dhp9k8 -DPWB -Dhpux -Dunix -D__hppa__ -D__hp9000s800__ -D__hp9000s800 -D__hp9k8__ -D__PWB__ -D__hpux__ -D__unix__ -D__hppa -D__hp9000s800 -D__hp9k8 -D__PWB -D__hpux -D__unix -Asystem=unix -Asystem=hpux -Acpu=hppa -Amachine=hppa -D__OPTIMIZE__ -D__STDC_HOSTED__=1 -D_PA_RISC1_1 -D__hp9000s700 -D_PA_RISC2_0 -D__hp9000s800 -D__LP64__ -D__LONG_MAX__=9223372036854775807L -D_HPUX_SOURCE -D_HIUX_SOURCE -D__STDC_EXT__ -D_INCLUDE_LONGLONG bug.c -quiet -dumpbase bug.c -O2 -version -o /var/tmp//ccwPmTpQ.s
GNU CPP version 3.2 (cpplib) (hppa)
GNU C version 3.2 (hppa64-hp-hpux11.00)
        compiled by GNU C version 3.2.
ignoring nonexistent directory "/tools/local/gcc64/hppa64-hp-hpux11.00/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /tools/local/gcc64/include
/tools/local/gcc64/lib/gcc-lib/hppa64-hp-hpux11.00/3.2/include
 /usr/include
End of search list.
bug.c: In function `main':
bug.c:11: Internal compiler error in emit_move_insn_1, at expr.c:3101
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
gcc -O2 bug.c
>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]