Bug on PA-RISC

Karl Bolingbroke karl.bolingbroke@flyingj.com
Thu May 30 12:59:00 GMT 2002


Hi,
I ran across a bug when GCC 3.1 is used on HP-UX with a
combination of the "-mpa-risc-2-0" flag and either "-O2" or
"-O3".  I ran across it in the GNU binutils package and
several other places before I tracked it down.  Here is the
gcc output, and I've attached the .i file.  Let me know if
you need anything else.

============================================================
=========
Reading specs from
/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.1/specs
Configured with: ./configure  : (reconfigured) ./configure
: (reconfigured) ./configure
Thread model: posix
gcc version 3.1

/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.1/cpp0 -lang-
c -v -I. -D__GNUC__=3 -D__GNUC_MINOR__=1 -D__GNUC_PATCHLEVEL
__=0 -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=hp
ux -Acpu=hppa -Amachine=hppa -D__OPTIMIZE__ -D__STDC_HOSTED_
_=1 -D_PA_RISC2_0 -D__hp9000s800 -D_HPUX_SOURCE -D_HIUX_SOUR
CE -D__STDC_EXT__ -D_INCLUDE_LONGLONG -DHAVE_CONFIG_H -DRL_L
IBRARY_VERSION="4.2a" readline.c readline.i
GNU CPP version 3.1 (cpplib) (hppa)
ignoring nonexistent directory
"/usr/local/hppa2.0n-hp-hpux11.00/include"
#include "..." search starts here:
#include <...> search starts here:
 .
 /usr/local/include
 /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.1/include
 /usr/include
End of search list.

/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.1/cc1 -fprepr
ocessed readline.i -quiet -dumpbase
readline.c -mlinker-opt -mpa-risc-2-0 -O2 -version -o
readline.s
GNU CPP version 3.1 (cpplib) (hppa)
GNU C version 3.1 (hppa2.0n-hp-hpux11.00)
        compiled by GNU C version 3.1.
readline.c: In function `_rl_dispatch':
readline.c:631: insn does not satisfy its constraints:
(insn 755 742 757 (set (reg:SI 70 %fr23)
        (mem/f:SI (lo_sum:SI (reg/f:SI 20 %r20 [182])
                (symbol_ref:SI ("rl_numeric_arg"))) [5
rl_numeric_arg+0 S4 A32])) 68 {*pa.md:2088} (nil)
    (nil))
readline.c:631: Internal compiler error in
reload_cse_simplify_operands, at reload1.c:8368
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for
instructions.

---------------------------------
Karl Bolingbroke
Flying J Inc.
801-624-1395
karl.bolingbroke@flyingj.com
---------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: readline.i.bz2
Type: application/octet-stream
Size: 18775 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20020530/2afcd312/attachment.obj>


More information about the Gcc-bugs mailing list