This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/11716] [mips] branch out of range when building fold-const.c
- From: "rsandifo at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Aug 2003 06:36:57 -0000
- Subject: [Bug target/11716] [mips] branch out of range when building fold-const.c
- References: <20030729205128.11716.debian-gcc@lists.debian.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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