Re: [PATCH] testsuite: Fix asm-hard-reg-error-{4,5}.c

2025-07-31 Thread Stefan Schulze Frielinghaus
On Tue, Jul 29, 2025 at 11:26:40PM +0200, Georg-Johann Lay wrote: > Am 29.07.25 um 15:56 schrieb Stefan Schulze Frielinghaus: > > From: Stefan Schulze Frielinghaus > > > > Targets hppa, m68k, pdp11, rx, sh, vax do not default to LRA. Since old > > reload pass is still used, add option -mlra for

Re: [PATCH] testsuite: Fix asm-hard-reg-error-{4,5}.c

2025-07-30 Thread Stefan Schulze Frielinghaus
On Tue, Jul 29, 2025 at 02:36:28PM -0700, Andrew Pinski wrote: > On Tue, Jul 29, 2025 at 6:58 AM Stefan Schulze Frielinghaus > wrote: > > > > From: Stefan Schulze Frielinghaus > > > > Targets hppa, m68k, pdp11, rx, sh, vax do not default to LRA. Since old > > reload pass is still used, add optio

Re: [PATCH] testsuite: Fix asm-hard-reg-error-{4,5}.c

2025-07-29 Thread Andrew Pinski
On Tue, Jul 29, 2025 at 6:58 AM Stefan Schulze Frielinghaus wrote: > > From: Stefan Schulze Frielinghaus > > Targets hppa, m68k, pdp11, rx, sh, vax do not default to LRA. Since old > reload pass is still used, add option -mlra for those targets. > > For hppa, register 0 cannot be used as a gener

Re: [PATCH] testsuite: Fix asm-hard-reg-error-{4,5}.c

2025-07-29 Thread Georg-Johann Lay
Am 29.07.25 um 15:56 schrieb Stefan Schulze Frielinghaus: From: Stefan Schulze Frielinghaus Targets hppa, m68k, pdp11, rx, sh, vax do not default to LRA. Since old reload pass is still used, add option -mlra for those targets. For hppa, register 0 cannot be used as a general register. Theref

[PATCH] testsuite: Fix asm-hard-reg-error-{4,5}.c

2025-07-29 Thread Stefan Schulze Frielinghaus
From: Stefan Schulze Frielinghaus Targets hppa, m68k, pdp11, rx, sh, vax do not default to LRA. Since old reload pass is still used, add option -mlra for those targets. For hppa, register 0 cannot be used as a general register. Therefore, use temporary registers r20 and r21 instead. gcc/tests