]> git.ipfire.org Git - thirdparty/gcc.git/commit
aarch64: Fix testcase pr112105.c
authorAndrew Pinski <quic_apinski@quicinc.com>
Wed, 19 Feb 2025 03:02:40 +0000 (19:02 -0800)
committerAndrew Pinski <quic_apinski@quicinc.com>
Wed, 19 Feb 2025 17:25:19 +0000 (09:25 -0800)
commitc3fecec65cb1548b9c12151aea9179c7f78dbe3f
treed03f0c570d036fe826d09e9995e57a2eea3dd00d
parentee6619b1246b38cfb36f6efd931a6f475a9033c7
aarch64: Fix testcase pr112105.c

This testcase started to fail with r15-268-g9dbff9c05520a7.
When late_combine was added, it was turned on for -O2+ only,
so this testcase still failed.
This changes the option to be -O2 instead of -O and the testcase
started to pass again.

tested for aarch64-linux-gnu.

gcc/testsuite/ChangeLog:

* gcc.target/aarch64/pr112105.c: Change to be -O2 rather
than -O1.

Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
gcc/testsuite/gcc.target/aarch64/pr112105.c