[Bug target/11716] [mips] branch out of range when building fold-const.c

rsandifo at redhat dot com gcc-bugzilla@gcc.gnu.org
Fri Aug 8 06:36:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11716



------- Additional Comments From rsandifo at redhat dot com  2003-08-08 06:36 -------
Subject: Re:  [mips] branch out of range when building fold-const.c

"doko at cs dot tu-berlin dot de" <gcc-bugzilla@gcc.gnu.org> writes:
> > Which assembler are you using?
> 
> binutils-2.14.90.0.5

OK.  As far as the 3.3 goes, it's a known limitation.  gcc just doesn't
predict the length of macro instructions correctly.

Starting with gas 2.14, you can use:

    -Wa,-relax-branch

to get around this.

Mainline gcc is supposed to get it right though.  Could you attach
the preprocessed fold-const.i file?

Thanks,
Richard



More information about the Gcc-bugs mailing list