This is the mail archive of the gcc-patches@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]

Re: fix aix -fcprop-register miscompilation


On Tue, 8 Jan 2002, Richard Henderson wrote:
> On Tue, Jan 08, 2002 at 08:30:18PM -0500, Hans-Peter Nilsson wrote:
> > > mmix-knuth-mmixware (executing
> > > g77.f-torture/execute/19990325-0.f with -O2 and higher),
> >
> > Not fixed by
> > <URL:http://gcc.gnu.org/ml/gcc-patches/2002-01/msg00535.html>.
>
> You'll have to help with this.  I've no idea how to get the
> mmix simulator built.  Hopefully it'll be the same as one of
> the other pending problems.

I'll look at this, I didn't expect you to go through that.
FWIW, <URL:http://bitrange.com/mmix/install.html> might help,
though the mmix simulator step is the simplest.  The important
missing bit is <URL:http://bitrange.com/mmix/mmixware-sim.exp>
(submitted to the DejaGNU project, but the maintainer hasn't
been responsive).

> > The m32r build still fails in the same spot.  I'll know in some
> > 3 hours whether the arm build fails, but I won't be up then.
>
> m32r configured how?  Fails how?  Currently the simulator won't
> build at all; I'll see if I can get far enough without it.

m32r-elf as I wrote except in just that quote, (with
--prefix=`pwd`/../install-m32rsim; unimportant) and for me
everything and the simulator built just fine updated at "Mon Jan
7 19:03:27 GMT 2002" and failed building newlib on "Tue Jan 8
07:25:51 GMT 2002".  All other instructions as usual at
<URL:http://gcc.gnu.org/simtest-howto.html>.  Fails like this
(beware of the wrapped lines; cut-n-paste in action):

/home/hp/builds2/m32r-sim/gcc/xgcc
-B/home/hp/builds2/m32r-sim/gcc/ -nostdinc
-B/home/hp/builds2/m32r-sim/m32r-elf/newlib/ -isyst\ em
/home/hp/builds2/m32r-sim/m32r-elf/newlib/targ-include -isystem
/home/hp/cvs_areas/combined/cvs_write/newlib/libc/include -B/h\
ome/hp/builds2/m32r-sim/../install-m32rsim/m32r-elf/bin/
-B/home/hp/builds2/m32r-sim/../install-m32rsim/m32r-elf/lib/
-isystem /h\
ome/hp/builds2/m32r-sim/../install-m32rsim/m32r-elf/include
-L/home/hp/builds2/m32r-sim/ld -DPACKAGE=\"newlib\"
-DVERSION=\"1.10.\ 0\"  -I.
-I/home/hp/cvs_areas/combined/cvs_write/newlib/libm/math
-I/home/hp/cvs_areas/combined/cvs_write/newlib/libm/math/../co\
mmon -Os -msdata=sdata -I../../targ-include
-I/home/hp/cvs_areas/combined/cvs_write/newlib/libm/../libc/include
-fno-builtin \
 -g -Os  -mmodel=medium -msdata=sdata -c
/home/hp/cvs_areas/combined/cvs_write/newlib/libm/math/er_lgamma.c
cc1: warning: changing search order for system directory
"/home/hp/cvs_areas/combined/cvs_write/newlib/libc/include"
cc1: warning:   as it has already been specified as a non-system
directory
/home/hp/cvs_areas/combined/cvs_write/newlib/libm/math/er_lgamma.c:
In function `sin_pi':
/home/hp/cvs_areas/combined/cvs_write/newlib/libm/math/er_lgamma.c:209:
insn does not satisfy its constraints:
(insn 602 601 184 (set (reg/v:SI 10 r10 [29])
        (and:SI (reg:SI 12 r12 [29])
            (reg/v:SI 10 r10 [29]))) 28 {andsi3} (insn_list 601
(nil))
    (nil))
/home/hp/cvs_areas/combined/cvs_write/newlib/libm/math/er_lgamma.c:209:
Internal compiler error in extract_constrain_insn_cached,\
 at recog.c:2044
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for
instructions.
make[6]: *** [er_lgamma.o] Error 1

And arm-elf fails too:

/home/hp/builds2/arm-sim/gcc/xgcc
-B/home/hp/builds2/arm-sim/gcc/ -nostdinc
-B/home/hp/builds2/arm-sim/arm-elf/newlib/ -isystem /\
home/hp/builds2/arm-sim/arm-elf/newlib/targ-include -isystem
/home/hp/cvs_areas/combined/cvs_write/newlib/libc/include
-B/home/hp\
/builds2/arm-sim/../install-armsim/arm-elf/bin/
-B/home/hp/builds2/arm-sim/../install-armsim/arm-elf/lib/
-isystem /home/hp/build\
s2/arm-sim/../install-armsim/arm-elf/include
-L/home/hp/builds2/arm-sim/ld -DPACKAGE=\"newlib\"
-DVERSION=\"1.10.0\"  -I. -I/home\
/hp/cvs_areas/combined/cvs_write/newlib/libm/common  -O2
-DABORT_PROVIDED -DHAVE_GETTIMEOFDAY -DARM_RDI_MONITOR
-I../../targ-incl\
ude
-I/home/hp/cvs_areas/combined/cvs_write/newlib/libm/../libc/include
-fno-builtin      -g -O2 -c /home/hp/cvs_areas/combined/c\
vs_write/newlib/libm/common/s_cbrt.c
cc1: warning: changing search order for system directory
"/home/hp/builds2/arm-sim/arm-elf/newlib/targ-include"
cc1: warning:   as it is the same as non-system directory
"../../targ-include"
cc1: warning: changing search order for system directory
"/home/hp/cvs_areas/combined/cvs_write/newlib/libc/include"
cc1: warning:   as it has already been specified as a non-system
directory
/home/hp/cvs_areas/combined/cvs_write/newlib/libm/common/s_cbrt.c:
In function `cbrt':
/home/hp/cvs_areas/combined/cvs_write/newlib/libm/common/s_cbrt.c:121:
Internal compiler error in output_move_double, at config/a\
rm/arm.c:6469
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for
instructions.
make[4]: *** [s_cbrt.o] Error 1

brgds, H-P


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]