https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116445

--- Comment #5 from Christophe Lyon <clyon at gcc dot gnu.org> ---
The test has:
/* { dg-require-effective-target arm_thumb2_ok_no_arm_v8_1_lob } */
since commit g:d2ed233cb940aa3eecc163d98b47979dd81dbc0a
with this comment: "Do not run when generating low loop overhead."
but that effective-target will only check if low-overhead-loops can / cannot be
executed, which is not adequate for a 'dg-do compile' test...

It looks like that commit tried to disable the test for a target with
low-overhead-loops? I don't know if the reason was that the test was failing as
reported by Torbjorn.

Maybe a simple fix would be to switch back to arm_thumb2_ok, and use -O2
instead of just -O?

Side note: Torbjorn, why does arm_v8_1_lob_ok fail on your target? I'd thought
it should pass, thus making arm_thumb2_ok_no_arm_v8_1_lob fail and disable the
test?

Reply via email to