Skip to content
Snippets Groups Projects
Commit 5a338793 authored by Torbjörn SVENSSON's avatar Torbjörn SVENSSON
Browse files

testsuite: Add -fwrapv to signbit-5.c


On Cortex-M55 with MVE, the test case fails due to -INT_MAX being
undefined. Adding -fwrapv solves the issues.

Regtested on x86_64-pc-linux-gnu and arm-none-eabi for
Cortex-M0/M3/M4/M7/M33/M55/M85/A7.

gcc/testsuite/ChangeLog:

	* gcc.dg/signbit-5.c: Add -fwrapv and remove x86 exception.

Signed-off-by: default avatarTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Co-authored-by: default avatarYvan ROUX <yvan.roux@foss.st.com>
parent 9cdde72d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment