Ping. I also don't have commit access so can someone please commit on my behalf.

________________________________________
From: Saurabh Jha
Sent: Tuesday, January 30, 2024 5:07 PM
To: Richard Sandiford via Gcc-patches; Richard Sandiford; Kyrylo Tkachov; 
Richard Earnshaw
Subject: [PATCH] testsuite, arm: Fix testcase arm/pr112337.c to check for the 
options first

Hey,

Previously, this test was added to fix this bug: 
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112337. However, it did not check 
the compilation options before using them, leading to errors.

This patch fixes the test by first checking whether it can use the options 
before using them.

Tested for arm-none-eabi and found no regressions. The output of check-gcc with 
RUNTESTFLAGS="arm.exp=*" changed like this:

Before:
# of expected passes          5963
# of unexpected failures      64

After:
# of expected passes          5964
# of unexpected failures      63

Ok for master?

Regards,
Saurabh

gcc/testsuite/ChangeLog:

        * gcc.target/arm/pr112337.c: Check whether we can use the compilation 
options before using them.

Reply via email to