[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#352529: [hppa] internal compiler error: in reload_cse_simplify_operands, at postreload.c:391 (error: insn does not satisfy its constraints)

Package: gcc-4.0
Version: 4:4.0.2-8
Severity: normal


 While investigating gstreamer0.10-ffmpeg's build failure under hppa[1],
 I received the following error from gcc:

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../libavutil -DHAVE_AV_CONFIG_H=1 -Wall -Wno-switch -g -O2 -MT mpegaudiodec.lo -MD -MP -MF .deps/mpegaudiodec.Tpo -c mpegaudiodec.c  -fPIC -DPIC -o .libs/mpegaudiodec.o
mpegaudiodec.c: In function 'mp_decode_frame':
mpegaudiodec.c:2445: warning: pointer targets in passing argument 4 of 'ff_mpa_synth_filter' differ in signedness
mpegaudiodec.c: In function 'ff_mpa_synth_filter':
mpegaudiodec.c:920: error: insn does not satisfy its constraints:
(insn 4924 2540 2542 4 mpegaudiodec.c:888 (set (reg:HI 70 %fr23 [1852])
        (reg:HI 1 %r1)) 53 {*pa.md:2926} (nil)
mpegaudiodec.c:920: internal compiler error: in reload_cse_simplify_operands, at postreload.c:391

 From what I understand of the problem:
 - this file switches between assembly and macros in function of the
   target arch to do some non-trivial operation (such as adding values
   stored at memory locations indexed by a pointer and large indexes)
 - in the end, gcc thinks a particular combination of operands and
   instructions can't be used with respect to the architecture it tries
   to build for
 - gcc 1:3.3.5-13 builds the file

 What I have no idea of:
 - whether what gcc 1:3.3.5-13 built was actually valid and usable code
   for hppa
 - whether gcc 4:4.0.2-8 is correct with the fact that it is not
   possible to do that operation
 - whether gcc 4:4.0.2-8 is correct in producing an error or whether it
   should warn and workaround the problem

 Could you help we sched some light on this?

 I'm sorry I didn't try gcc-snapshot, but I used paer.d.o, the developer
 machine, to diagnose and I couldn't install it myself.

 I'm putting debian-hppa@ in Cc:, perhaps they have a clue.  Please Cc:
 me on replies!


Loïc Minier <lool@dooz.org>
Current Earth status:   NOT DESTROYED

Reply to: