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

Bug#552314: gcc produces invalid mips branch instructions



tags 552314 + moreinfo
thanks

please recheck with gcc-4.4 4.4.2-8 and gcc-snapshot from unstable

On 25.10.2009 14:14, Wesley W. Terpstra wrote:
Package: gcc
Version: 4.3.4-5

gcc produces invalid assembler on mips during compilation of the
package 'mlton' [1]. I have attached an example C file which triggers
this error:
/tmp/cc62P8aG.s: Assembler messages:
/tmp/cc62P8aG.s:32335: Error: Branch out of range

Compile as:
gcc -std=gnu99 -O1 -fno-strict-aliasing -w foo.c

This problem appears only sporadically. Previous builds did not
encounter this problem, nor does the current mipsel build. Possibly
the attached (generated) C file is tripping over some corner case?

Are there any work-around gcc flags I can use before this gets fixed?

[1]<https://buildd.debian.org/fetch.cgi?pkg=mlton&arch=mips&ver=20091022&stamp=1256234307&file=log&as=raw>




Reply to: