diff options
author | Jakub Jelinek <jakub@redhat.com> | 2024-03-26 16:40:53 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2024-03-26 16:43:03 +0100 |
commit | f536ea9cc3226793dc156952340f21e55b60c04e (patch) | |
tree | 4f0d3cd2b906e0d0103cdf02f42899f51619ffc4 /gcc/testsuite/gcc.c-torture/execute | |
parent | b1af867d22e3108402c62f97d8fcd1df303c9dab (diff) | |
download | gcc-f536ea9cc3226793dc156952340f21e55b60c04e.zip gcc-f536ea9cc3226793dc156952340f21e55b60c04e.tar.gz gcc-f536ea9cc3226793dc156952340f21e55b60c04e.tar.bz2 |
testsuite: Fix up pr111151.c testcase [PR114486]
Apparently I've somehow screwed up the adjustments of the originally tested
testcase, tweaked it so that in the second/third cases it actually see
a MAX_EXPR rather than COND_EXPR the MAX_EXPR has been optimized into,
and didn't update the expected value.
2024-03-26 Jakub Jelinek <jakub@redhat.com>
PR middle-end/111151
PR testsuite/114486
* gcc.c-torture/execute/pr111151.c (main): Fix up expected value for
f.
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/execute')
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/pr111151.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.c-torture/execute/pr111151.c b/gcc/testsuite/gcc.c-torture/execute/pr111151.c index 89255d2..063617f 100644 --- a/gcc/testsuite/gcc.c-torture/execute/pr111151.c +++ b/gcc/testsuite/gcc.c-torture/execute/pr111151.c @@ -11,7 +11,7 @@ main () int d = (-__INT_MAX__ - 1) / 2; int e = 10; int f = (d * 2 > e * 5 ? d * 2 : e * 5) * 6; - if (f != 120) + if (f != 300) __builtin_abort (); int g = (-__INT_MAX__ - 1) / 2; int h = 0; |