Add another new testcase
commite91937e9a480b8a765ba26865eb000b8e6aa1fce
authorAndrew Pinski <apinski@marvell.com>
Wed, 10 May 2023 17:56:15 +0000 (10 17:56 +0000)
committerAndrew Pinski <apinski@marvell.com>
Wed, 10 May 2023 17:56:15 +0000 (10 17:56 +0000)
tree9292b90222925d6366f8c4789831c6ac1fd547a3
parent5476c9142830d01c4b8f2d91e9d439cb32d76378
Add another new testcase

While working on improving min/max detection, this
code (which is reduced from worse_state in ipa-pure-const.cc)
was being miscompiled. Since there was no testcase in the
testsuite yet for this, this patch adds one.

Committed as obvious after testing the testcase via:
make check-gcc RUNTESTFLAGS="execute.exp=20230510-1.c"

gcc/testsuite/ChangeLog:

* gcc.c-torture/execute/20230510-1.c: New test.
gcc/testsuite/gcc.c-torture/execute/20230510-1.c [new file with mode: 0644]