[Bug target/70668] nds32-elf toolchain fails to compile on OSX
segher at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Apr 28 16:51:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70668
--- Comment #6 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Author: segher
Date: Thu Apr 28 16:50:41 2016
New Revision: 235583
URL: https://gcc.gnu.org/viewcvs?rev=235583&root=gcc&view=rev
Log:
nds32: Fix casesi (PR70668)
Expanders do not have more elements in the operands array than declared
in the pattern. So, we cannot use operands[5] here. Instead just
declare and use another rtx.
PR target/70668
* config/nds32/nds32.md (casesi): Don't access the operands array
out of bounds.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/nds32/nds32.md
More information about the Gcc-bugs
mailing list