Re: [PATCH] testsuite: Fix asm-hard-reg-error-3.c for arm [PR121511]

2025-08-13 Thread Stefan Schulze Frielinghaus
On Wed, Aug 13, 2025 at 07:15:37PM +0200, Christophe Lyon wrote: > Hi Stefan, > > On Tue, 12 Aug 2025 at 13:38, Stefan Schulze Frielinghaus > wrote: > > > > From: Stefan Schulze Frielinghaus > > > > This test is about register pairs. On arm a long long is accepted in > > thumb mode in any regis

Re: [PATCH] testsuite: Fix asm-hard-reg-error-3.c for arm [PR121511]

2025-08-13 Thread Christophe Lyon
Hi Stefan, On Tue, 12 Aug 2025 at 13:38, Stefan Schulze Frielinghaus wrote: > > From: Stefan Schulze Frielinghaus > > This test is about register pairs. On arm a long long is accepted in > thumb mode in any register 0-6 whereas in arm mode this is restricted to > even register pairs. Thus, in

[PATCH] testsuite: Fix asm-hard-reg-error-3.c for arm [PR121511]

2025-08-12 Thread Stefan Schulze Frielinghaus
From: Stefan Schulze Frielinghaus This test is about register pairs. On arm a long long is accepted in thumb mode in any register 0-6 whereas in arm mode this is restricted to even register pairs. Thus, in order to trigger the error even if gcc is configured with --with-mode=thumb, add option -