Re: [Bug jit/99126] Compilation ICE trying insert trap

2021-02-22 Thread Andrea Corallo via Gcc-bugs
"dmalcolm at gcc dot gnu.org via Gcc-bugs" writes: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99126 > > --- Comment #8 from David Malcolm --- > (In reply to CVS Commits from comment #6) >> The master branch has been updated by David Malcolm : >> >>

Re: [Bug jit/99126] Compilation ICE trying insert trap

2021-02-18 Thread Andrea Corallo via Gcc-bugs
"dmalcolm at gcc dot gnu.org via Gcc-bugs" writes: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99126 > > David Malcolm changed: > >What|Removed |Added > > Status|NEW

Re: [Bug jit/99126] New: Compilation ICE trying insert trap

2021-02-16 Thread Andrea Corallo via Gcc-bugs
This is the bt of how the C front-end is initializing these declarations: #0 set_builtin_decl (implicit_p=, decl=, fncode=) at ../../gcc/tree.h:5662 #1 def_builtin_1 (fncode=, name=, fntype=, libtype=, both_p=, fallback_p=, nonansi_p=false, fnattrs=, implicit_p=true,

Re: [Bug target/98931] [11 Regression] arm: Assembly fails with "branch out of range or not a multiple of 2" since r11-2012

2021-02-05 Thread Andrea Corallo via Gcc-bugs
Following suggestions I'm testing the attached emitting the following for long branches where LE cannot cover: subslr, #1 bmi .L2 >From 0cd38cb29829b48f96e8e060e7a875f49236b67b Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Wed, 3 Feb 2021 15:21:54 +0100 Subj

Re: [Bug target/98931] [11 Regression] arm: Assembly fails with "branch out of range or not a multiple of 2" since r11-2012

2021-02-03 Thread Andrea Corallo via Gcc-bugs
Right I'll rework the patch. Thanks

Re: [Bug target/98931] [11 Regression] arm: Assembly fails with "branch out of range or not a multiple of 2" since r11-2012

2021-02-03 Thread Andrea Corallo via Gcc-bugs
I'm testing the attached fix. >From 6de0603f3a5c86396d44250cb34d4451528681b1 Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Wed, 3 Feb 2021 15:21:54 +0100 Subject: [PATCH] arm: Add low overhead loop address range check [PR98931] 2021-02-03 Andrea Corallo * config/arm/ar

Re: [Bug target/98931] [11 Regression] arm: Assembly fails with "branch out of range or not a multiple of 2" since r11-2012

2021-02-02 Thread Andrea Corallo via Gcc-bugs
"jakub at gcc dot gnu.org via Gcc-bugs" writes: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98931 > > --- Comment #3 from Jakub Jelinek --- > And the problem is not something not being multiple of 2, but just out of > range > jump. The code has: > 10: f04e e001 dls

Re: [Bug target/96372] [11 regression] arm/ivopts.c fails since r11-2012

2021-01-15 Thread Andrea Corallo via Gcc-bugs
I see what's going on, originally this object-size text <= 20 test was gated with target 'arm_thumb2'. My patch to exclude LOB targets replaced that with 'arm_thumb2_ok_no_arm_v8_1_lob', unfortunatelly this is relying on 'arm_thumb2_ok' that has a different semantic compared to the original

Re: [Bug jit/98615] libgccjit crash while freeing 'clone_info' in 'cgraph_c_finalize'

2021-01-12 Thread Andrea Corallo via Gcc-bugs
"marxin at gcc dot gnu.org via Gcc-bugs" writes: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98615 > > --- Comment #8 from Martin Liška --- > (In reply to Andrea Corallo from comment #7) >> Thanks Martin, I can confirm that also the bootstrap is back okay. &

Re: [Bug jit/98615] libgccjit crash while freeing 'clone_info' in 'cgraph_c_finalize'

2021-01-11 Thread Andrea Corallo via Gcc-bugs
Thanks Martin, I can confirm that also the bootstrap is back okay.

Re: [Bug jit/98615] libgccjit crash while freeing 'clone_info' in 'cgraph_c_finalize'

2021-01-11 Thread Andrea Corallo via Gcc-bugs
Thank you for looking into it! I tried my self but with no success

Re: [Bug rtl-optimization/97092] [10/11 Regression] aarch64, SVE: ICE in ira-color.c since r10-4752-g2d56600c

2020-12-11 Thread Andrea Corallo via Gcc-bugs
"acoplan at gcc dot gnu.org via Gcc-bugs" writes: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97092 > > --- Comment #9 from Alex Coplan --- > Thanks for fixing this Andrea! FWIW I can reproduce the ICE with the same > testcase and options on the head of the GCC 10 branch (contrary to my

Re: [Bug rtl-optimization/97092] [10/11 Regression] aarch64, SVE: ICE in ira-color.c since r10-4752-g2d56600c

2020-12-09 Thread Andrea Corallo via Gcc-bugs
"rsandifo at gcc dot gnu.org via Gcc-bugs" writes: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97092 > > --- Comment #6 from rsandifo at gcc dot gnu.org > --- > (In reply to Andrea Corallo from comment #5) >> "rsandifo at gcc dot gnu.org via

Re: [Bug rtl-optimization/97092] [10/11 Regression] aarch64, SVE: ICE in ira-color.c since r10-4752-g2d56600c

2020-12-09 Thread Andrea Corallo via Gcc-bugs
"rsandifo at gcc dot gnu.org via Gcc-bugs" writes: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97092 > > --- Comment #4 from rsandifo at gcc dot gnu.org > --- > (In reply to Andrea Corallo from comment #3) >> Created attachment 49710 [details] >&g

Re: [Bug rtl-optimization/97092] [10/11 Regression] aarch64, SVE: ICE in ira-color.c since r10-4752-g2d56600c

2020-12-09 Thread Andrea Corallo via Gcc-bugs
rom 03da7bb5c7ad8ab6c25631de5ee1f7b70ea46229 Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Tue, 8 Dec 2020 23:17:26 +0100 Subject: [PATCH] Fix ICE in ira-color 2020-12-08 Andrea Corallo * ira-color.c (update_costs_from_allocno): Pick the cheapest mode instead of the smaller one. --- gcc/ira-color.c |

Re: [Bug rtl-optimization/97092] [10/11 Regression] aarch64, SVE: ICE in ira-color.c since r10-4752-g2d56600c

2020-12-08 Thread Andrea Corallo via Gcc-bugs
"akrl at gcc dot gnu.org via Gcc-bugs" writes: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97092 > > --- Comment #1 from akrl at gcc dot gnu.org --- > Hi all, > > I can't reproduce this on current master (76a1719f0ff), I guess has been > fixed in the meanwhile? As not said I swapped two

Re: [Bug target/96968] aarch64 : ICE in vregs or expand pass, lowering __builtin_aarch64_get_{fpcr,fpsr,fpcr64,fpsr64}

2020-09-24 Thread Andrea Corallo
"iains at gcc dot gnu.org via Gcc-bugs" writes: [...] > unfortunately, I've not been able to test since you applied this - currently > bootstrap is broken on aarch64-darwin for reasons outside our control (new > security provisions stopping the gcc/build/gen* programs from running). If it >

Re: [Bug target/96968] aarch64 : ICE in vregs or expand pass, lowering __builtin_aarch64_get_{fpcr,fpsr,fpcr64,fpsr64}

2020-09-24 Thread Andrea Corallo
I believe f5e73de00e9c853ce65333efada7409b0d00f758 should have fixed this. Okay to close? Thanks Andrea

Re: [Bug target/96968] aarch64 : ICE in vregs or expand pass, lowering __builtin_aarch64_get_{fpcr,fpsr,fpcr64,fpsr64}

2020-09-14 Thread Andrea Corallo
Patch posted at: https://gcc.gnu.org/pipermail/gcc-patches/2020-September/553882.html

Re: [Bug libfortran/94694] [10 Regression][libgfortran] libgfortran does not compile on bare-metal aarch64-none-elf (newlib)

2020-04-21 Thread Andrea Corallo
"jakub at gcc dot gnu.org" writes: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94694 > > --- Comment #9 from Jakub Jelinek --- > Created attachment 48326 > --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48326=edit > gcc10-pr94694.patch > > Completely untested full patch. Will try to

Re: [Bug target/94530] [9/10 Regression] ICE: SIGSEGV in rhs_regno (rtl.h:1924) with -Os -mcpu=falkor -mpc-relative-literal-loads -mcmodel=large

2020-04-15 Thread Andrea Corallo
Hi, should be fixed now by 8a4436d89bfa: "aarch64: Fix valid_src_p for use of uninitialized value". Thanks Andrea