aboutsummaryrefslogtreecommitdiff
path: root/contrib/config-list.mk
diff options
context:
space:
mode:
authorJozef Lawrynowicz <jozef.l@mittosystems.com>2020-11-13 15:36:01 +0000
committerJozef Lawrynowicz <jozef.l@mittosystems.com>2020-11-13 15:36:30 +0000
commita514934a0565255276adaa4fbd4aa35579ec33c6 (patch)
treec3a97a9df4bcb322ba4e7575ce5cac55a443cbc3 /contrib/config-list.mk
parent54896b10dbe1d4ac90f097d566b7aa14807cec08 (diff)
downloadgcc-a514934a0565255276adaa4fbd4aa35579ec33c6.zip
gcc-a514934a0565255276adaa4fbd4aa35579ec33c6.tar.gz
gcc-a514934a0565255276adaa4fbd4aa35579ec33c6.tar.bz2
MSP430: Skip index-1.c test
To access the "n - 100000"th element of "a" in this test, GCC will generate the following code for msp430-elf with -mcpu=msp430x: RLAM.W #1, R12 MOV.W a-3392(R12), R12 Since there aren't actually 100,000 elements in a, this means that "a-3392" offset calculated by the linker can overflow, as the address of "a" can validly be less than 3392. The relocations used for -mcpu=msp430 and -mlarge are not as strict and the calculated value is allowed to wrap around the address space, avoiding relocation overflows. gcc/testsuite/ChangeLog: * gcc.c-torture/execute/index-1.c: Skip for the default MSP430 430X ISA.
Diffstat (limited to 'contrib/config-list.mk')
0 files changed, 0 insertions, 0 deletions