aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-data-refs.c
diff options
context:
space:
mode:
authorRoger Sayle <roger@nextmovesoftware.com>2021-10-24 14:30:10 +0100
committerRoger Sayle <roger@nextmovesoftware.com>2021-10-24 14:30:10 +0100
commit9d1727a30e4b3e02f20e310d8e1fe2a6944883be (patch)
tree3b32d82f3675c4c7a70aba73fb438f23aee7c08a /gcc/tree-vect-data-refs.c
parentdfe1ac896af0452706d29e20c593599ed3b09244 (diff)
downloadgcc-9d1727a30e4b3e02f20e310d8e1fe2a6944883be.zip
gcc-9d1727a30e4b3e02f20e310d8e1fe2a6944883be.tar.gz
gcc-9d1727a30e4b3e02f20e310d8e1fe2a6944883be.tar.bz2
[Committed] Correct testcase gcc.target/bfin/20090914-3.c
This patch cures the testsuite failure of bfin/20090914-3.c, which currently FAILs on bfin-elf with "(test for excess errors)" due to: 20090914-3.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int] which is obviously not what this code was intended to test. Fixed by turning the code into a function returning the final "fract32" result, as simply specifying an "int" return type for main, results in the entire function being optimized away, as the result is unused. 2021-10-24 Roger Sayle <roger@nextmovesoftware.com> gcc/testsuite/ChangeLog * gcc.target/bfin/20090914-3.c: Tweak test case.
Diffstat (limited to 'gcc/tree-vect-data-refs.c')
0 files changed, 0 insertions, 0 deletions