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

Re: Bug#352529: [hppa] internal compiler error: in reload_cse_simplify_operands,



> >  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)
> >     (nil))
> > mpegaudiodec.c:920: internal compiler error: in reload_cse_simplify_operands, at postreload.c:391

Could someone send the preprocessed source for mpegaudiodec.c?

The problem might have been introduced by this change:

2006-01-10  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

        PR target/20754
	* pa.md: Create separate 32 and 64-bit move patterns for SI, DI, SF
	and DF modes.  Add alternatives to copy between general and floating
	point registers to the 32-bit patterns.
	* pa-64.h (SECONDARY_MEMORY_NEEDED_RTX): Delete undefine.
	* pa.h (SECONDARY_MEMORY_NEEDED_RTX): Delete define.
	(SECONDARY_MEMORY_NEEDED): Secondary memory is only needed when
	generating 64-bit code.
	* pa.c (output_move_double): Handle copies between general and
	floating registers.

I need to understand if we need to support HImode and QImode moves between
the general and floating point registers.  You can't do anything with an
QImode or HImode value in a floating-point register, so it's not obvious
why this is needed.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)



Reply to: