[Bug debug/98776] DW_AT_low_pc is inconsistent with function entry address, when enabling -fpatchable-function-entry

2021-06-29 Thread luis.machado at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98776 Luis Machado changed: What|Removed |Added CC||luis.machado at linaro dot org

[Bug debug/98148] [AArch64] Wrong location expression for function entry values

2020-12-04 Thread luis.machado at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98148 --- Comment #2 from Luis Machado --- In my particular example, The DWARF information tells us the value is at the following expression... <11ac> DW_AT_GNU_call_site_value: 6 byte block: 8d ec 0 f6 4 2d (DW_OP_breg29 (x29): 108;

[Bug debug/98148] [AArch64] Wrong location expression for function entry values

2020-12-04 Thread luis.machado at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98148 --- Comment #1 from Luis Machado --- You can find the sources for this testcase in binutils-gdb repo, at gdb/testsuite/gdb.ada/O2_float_param.

[Bug debug/98148] New: [AArch64] Wrong location expression for function entry values

2020-12-04 Thread luis.machado at linaro dot org via Gcc-bugs
Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: luis.machado at linaro dot org Target Milestone: --- Host: aarch64-linux Target: aarch64-linux Created attachment 49685 --> https://gcc.gnu.org/bugzi

[Bug c/95753] New: ICE when building the Linux Kernel for ARM64 (internal compiler error: ‘global_options’ are modified in local context)

2020-06-18 Thread luis.machado at linaro dot org
Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: luis.machado at linaro dot org Target Milestone: --- Created attachment 48753 --> https://gcc.gnu.org/bugzi

[Bug debug/94502] [aarch64] Missing LR register location in FDE

2020-04-08 Thread luis.machado at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94502 Luis Machado changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug debug/94502] [aarch64] Missing LR register location in FDE

2020-04-08 Thread luis.machado at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94502 --- Comment #5 from Luis Machado --- Thanks for confirming this behavior. There have been some changes to the DWARF unwinding code that exposed this particular case. I'm guessing this will need to go back to GDB for a fixup.

[Bug debug/94502] [aarch64] Missing LR register location in FDE

2020-04-08 Thread luis.machado at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94502 --- Comment #3 from Luis Machado --- Here's a DWARF and asm dump from the same binary: 00d0 001c FDE cie= pc=07f4..0830 DW_CFA_advance_loc: 4 to 07f8 DW_CFA_def_cfa_offset: 32

[Bug debug/94502] [aarch64] Missing LR register location in FDE

2020-04-08 Thread luis.machado at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94502 --- Comment #1 from Luis Machado --- CC-ing ARM folks so they can assign this to whoever is more appropriate.

[Bug debug/94502] New: [aarch64] Missing LR register location in FDE

2020-04-06 Thread luis.machado at linaro dot org
: debug Assignee: unassigned at gcc dot gnu.org Reporter: luis.machado at linaro dot org Target Milestone: --- I've noticed this while investigating a GDB testsuite failure in gdb.opt/inline-break.exp. Basically GDB runs into an internal error due to not being able to unwind the PC

[Bug middle-end/85682] Regression: gcc.dg/tree-ssa/prefetch-5.c at r259995

2018-05-22 Thread luis.machado at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85682 Luis Machado changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/85682] Regression: gcc.dg/tree-ssa/prefetch-5.c at r259995

2018-05-16 Thread luis.machado at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85682 --- Comment #4 from Luis Machado --- (In reply to James Greenhalgh from comment #3) > The bisect robot doesn't bootstrap, only build a stage 1 compiler. > > I've checked your most recent patch against these testcases, and they > execute and

[Bug middle-end/85682] Regression: gcc.dg/tree-ssa/prefetch-5.c at r259995

2018-05-08 Thread luis.machado at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85682 --- Comment #2 from Luis Machado --- Did it even bootstrap properly? It shouldn't have been built in the first place i guess, due to the signedness error of a particular chunk of code. I did a fresh x86-64 bootstrap with the changes in and

[Bug bootstrap/85681] r259995 breaks bootstrap on x86_64-*-freebsd

2018-05-07 Thread luis.machado at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85681 --- Comment #6 from Luis Machado --- Would you please confirm the bootstrap is back to normal and declare it resolved? I don't have permission to change its state.

[Bug middle-end/85682] Regression: gcc.dg/tree-ssa/prefetch-5.c at r259995

2018-05-07 Thread luis.machado at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85682 --- Comment #1 from Luis Machado --- Will do. I've temporarily reverted the prefetcher changes since it caused x86 bootstrap issues. I'll investigate this alongside it.

[Bug bootstrap/85681] r259995 breaks bootstrap on x86_64-*-freebsd

2018-05-07 Thread luis.machado at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85681 --- Comment #4 from Luis Machado --- Reverted the offending changes for now.

[Bug bootstrap/85681] r259995 breaks bootstrap on x86_64-*-freebsd

2018-05-07 Thread luis.machado at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85681 --- Comment #3 from Luis Machado --- There are a couple fixups needed in there. The second error you ran into was already caught by gcc in the first comment.

[Bug bootstrap/85681] r259995 breaks bootstrap on x86_64-*-freebsd

2018-05-07 Thread luis.machado at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85681 --- Comment #1 from Luis Machado --- Working on it.

[Bug tree-optimization/83474] [8 Regression] ICE: in probability_in, at profile-count.h:1038

2017-12-18 Thread luis.machado at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83474 --- Comment #3 from Luis Machado --- Another bit of information... On an early investigation (with an unoptimized compiler and unreduced testcase), this bit in profile-count.h was causing the assertion to fail: /* Return true if vlaue can be

[Bug tree-optimization/83474] [8 Regression] ICE: in probability_in, at profile-count.h:1038

2017-12-18 Thread luis.machado at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83474 --- Comment #2 from Luis Machado --- Backtrace: #0 fancy_abort (file=file@entry=0x157d9b2 "../../gcc/gcc/profile-count.h", line=line@entry=1038, function=function@entry=0x161d6a0 <_ZZNK13profile_count14probability_inES_E12__FUNCTION__>

[Bug tree-optimization/83474] [8 Regression] ICE: in probability_in, at profile-count.h:1038

2017-12-18 Thread luis.machado at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83474 --- Comment #1 from Luis Machado --- during GIMPLE pass: aprefetch testcase.i:52:1: internal compiler error: in probability_in, at profile-count.h:1038 update_call_from_tree (gimple_stmt_iterator * si_p, tree expr) ^

[Bug tree-optimization/83474] New: [8 Regression] ICE: in probability_in, at profile-count.h:1038

2017-12-18 Thread luis.machado at linaro dot org
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: luis.machado at linaro dot org Target Milestone: --- Created attachment 42911 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42911=edit Reproducer testcase I