This patch adjusts one of the c-torture tests to account for the possible lack of divide-by-zero exceptions on certain moxie targets.
From-SVN: r265147
This commit is contained in:
parent
514d6f1746
commit
049f5ef927
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2018-10-14 Anthony Green <green@moxielogic.com>
|
||||
|
||||
* gcc.c-torture/execute/20101011-1.c: Adjust for moxie.
|
||||
|
||||
2018-10-12 Yury Gribov <tetra2005@gmail.com>
|
||||
|
||||
PR middle-end/81376
|
||||
|
|
|
@ -97,6 +97,9 @@ __aeabi_idiv0 (int return_value)
|
|||
/* This presently doesn't raise SIGFPE even on csky-linux-gnu, much
|
||||
less bare metal. See the implementation of __divsi3 in libgcc. */
|
||||
# define DO_TEST 0
|
||||
#elif defined (__moxie__)
|
||||
/* Not all moxie configurations may raise exceptions. */
|
||||
# define DO_TEST 0
|
||||
#else
|
||||
# define DO_TEST 1
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue