[Bug demangler/114830] c++filt stack overflows in rust demangler

2024-04-23 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114830 --- Comment #2 from Alan Modra --- Created attachment 58021 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58021&action=edit c++filt crash binaries

[Bug demangler/114830] c++filt stack overflows in rust demangler

2024-04-23 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114830 --- Comment #1 from Alan Modra --- Created attachment 58020 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58020&action=edit asan report summary

[Bug demangler/114830] New: c++filt stack overflows in rust demangler

2024-04-23 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114830 Bug ID: 114830 Summary: c++filt stack overflows in rust demangler Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: dem

[Bug target/113652] [14 regression] Failed bootstrap on ppc unrecognized opcode: `lfiwzx' with -mcpu=7450

2024-02-07 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113652 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #14 fr

[Bug target/93176] PPC: inefficient 64-bit constant consecutive ones

2023-08-17 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93176 Alan Modra changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|amodra at gcc dot gn

[Bug sanitizer/109308] False positive store to address 0x62600000016c with insufficient space for an object of type 'int' since r12-6030-g422f9eb7011b76c1

2023-03-28 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109308 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #4 fro

[Bug libgcc/108727] gcc.dg/split-5.c fails on power 9 BE

2023-03-03 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108727 --- Comment #3 from Alan Modra --- Yes, looks good to me.

[Bug target/108315] -mcpu=power10 changes ABI

2023-02-28 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108315 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #5 fro

[Bug modula2/108147] Bootstrap failure on powerpc64le-linux with m2

2022-12-19 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108147 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #14 fr

[Bug target/97361] power10 unrecognizable insn

2022-09-13 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97361 Alan Modra changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/99888] Add powerpc ELFv2 support for -fpatchable-function-entry*

2022-08-11 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99888 --- Comment #8 from Alan Modra --- (In reply to Segher Boessenkool from comment #7) > '-fpatchable-function-entry=N[,M]' > Generate N NOPs right at the beginning of each function, with the > function entry point before the Mth NOP. Bad

[Bug target/104894] [11/12 Regression] ICE with -fno-plt -mcpu=power10 on PowerPC64 LE Linux

2022-03-24 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104894 --- Comment #7 from Alan Modra --- So, similar code to what we have in rs6000_call_aix to handle if ((INTVAL (cookie) & CALL_LONG) != 0 && GET_CODE (func_desc) == SYMBOL_REF) should be added to rs6000_sibcall_aix, I think.

[Bug target/104894] [11/12 Regression] ICE with -fno-plt -mcpu=power10 on PowerPC64 LE Linux

2022-03-24 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104894 --- Comment #6 from Alan Modra --- I'm sorry, I forgot exactly what was happening when I talked about this on the call. What I should have said is that -mlongcall code is correct but is missing a sibcall optimisation. -fno-plt code (after remo

[Bug demangler/105039] New: rust demangler stack overflow

2022-03-23 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105039 Bug ID: 105039 Summary: rust demangler stack overflow Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: demangler

[Bug target/104894] [11/12 Regression] ICE with -fno-plt -mcpu=power10 on PowerPC64 LE Linux

2022-03-22 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104894 --- Comment #4 from Alan Modra --- Do check that the result is not a direct call. I think I was wrong to say the assert could be removed (or modified as you have done).

[Bug target/104894] [11/12 Regression] ICE with -fno-plt -mcpu=power10 on PowerPC64 LE Linux

2022-03-14 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104894 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com Last reconfirmed

[Bug target/104671] -Wa,-m no longer has any effect

2022-02-24 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104671 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #3 fro

[Bug target/102485] -Wa,-many no longer has any effect

2022-02-24 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102485 --- Comment #10 from Alan Modra --- I have spent some time over the last few days digging into history relevant to this bug as part of looking into a binutils report that an ARCH=powerpc CROSS_COMPILE=powerpc-linux- pmac32_defconfig linux kernel

[Bug middle-end/95126] [9/10/11/12 Regression] Missed opportunity to turn static variables into immediates

2022-02-07 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95126 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #5 from

[Bug demangler/103893] New: ada demangler heap overflow

2022-01-02 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103893 Bug ID: 103893 Summary: ada demangler heap overflow Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: demangler

[Bug rtl-optimization/63281] powerpc64le creates 64 bit constants from scratch instead of loading them

2021-12-29 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63281 --- Comment #15 from Alan Modra --- (In reply to Jiu Fu Guo from comment #14) > It would be a way to keep the data in memory(.rodata) through adjusting the > cost of constant. Yes, I posted a series of patches that fix this problem and other rtx

[Bug target/103197] ppc inline expansion of memcpy/memmove should not use lxsibzx/stxsibx for a single byte

2021-11-17 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103197 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #7 fro

[Bug c/102867] [12 Regression] Waddress complaint in readelf.c

2021-10-20 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102867 --- Comment #3 from Alan Modra --- Not that I'm really complaining about this, note also that the error message referencing "filedata->section_headers + (sizetype)((long unsigned int)i * 80)" is a little bit too much of compiler internal represe

[Bug c/102867] Waddress complaint in readelf.c

2021-10-20 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102867 --- Comment #1 from Alan Modra --- Created attachment 51641 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51641&action=edit preprocessed source

[Bug c/102867] New: Waddress complaint in readelf.c

2021-10-20 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102867 Bug ID: 102867 Summary: Waddress complaint in readelf.c Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assi

[Bug demangler/102132] [nm] Stack overflow in demangler_path

2021-09-05 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102132 Alan Modra changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug demangler/102130] [c++filt] Stack overflow in demangle_path

2021-09-05 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102130 Alan Modra changed: What|Removed |Added Status|RESOLVED|REOPENED Last reconfirmed|

[Bug bootstrap/46981] multilib LD_LIBRARY_PATH prevents configuration of target libraries

2021-09-01 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46981 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #3 from

[Bug tree-optimization/101977] [12 Regression] array subscript 0 is outside array bounds

2021-08-24 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101977 --- Comment #6 from Alan Modra --- (In reply to Martin Sebor from comment #5) > The -Warray-bounds for section.c is gone Thanks for fixing that. > but last night's build still shows > a large number of -Warray-bounds instances as well as other

[Bug tree-optimization/101977] New: array subscript 0 is outside array bounds

2021-08-19 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101977 Bug ID: 101977 Summary: array subscript 0 is outside array bounds Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-o

[Bug plugins/101810] libiberty/simple-object-xcoff.c segmentation fault

2021-08-11 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101810 --- Comment #3 from Alan Modra --- Making SYMESZ a size_t as the patch does, is a complete fix if the code is only compiled for 64-bit hosts where unsigned int is smaller than size_t. If compiled for 32-bit then the expression calculating buffe

[Bug libgcc/99759] morestack.S should support .init_array.0 besides .ctors.65535

2021-08-11 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99759 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com Status|

[Bug plugins/101810] libiberty/simple-object-xcoff.c segmentation fault

2021-08-06 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101810 --- Comment #1 from Alan Modra --- Created attachment 51272 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51272&action=edit Proposed fix

[Bug plugins/101810] New: libiberty/simple-object-xcoff.c segmentation fault

2021-08-06 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101810 Bug ID: 101810 Summary: libiberty/simple-object-xcoff.c segmentation fault Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug target/101393] PowerPC32 inline assembly broken by commit 2d94f7dea9c73ef3c116a0ddc722724578a860fe

2021-07-21 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101393 --- Comment #11 from Alan Modra --- Preserving certain -m gas options goes back to this patch: https://sourceware.org/pipermail/binutils/2008-January/054935.html Given the number of ppc micros around with differing functional units, it is quite

[Bug target/61032] rs6000 code gen suffers from lack of address_cost

2021-07-15 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61032 Alan Modra changed: What|Removed |Added Assignee|amodra at gmail dot com|unassigned at gcc dot gnu.org

[Bug target/94393] Powerpc suboptimal 64-bit constant comparison

2021-07-15 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94393 Alan Modra changed: What|Removed |Added Status|ASSIGNED|NEW URL|

[Bug testsuite/100407] New test cases attr-retain-*.c fail after their introduction in r11-7284

2021-06-09 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100407 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #13 fr

[Bug target/100799] Stackoverflow in optimized code on PPC

2021-06-01 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100799 Alan Modra changed: What|Removed |Added Target|powerpc |powerpc64le CC|

[Bug testsuite/98125] [11 Regression] New test case g++.dg/pr93195a.C in r11-5656 has excess errors

2021-02-15 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98125 --- Comment #14 from Alan Modra --- -fpatchable-function-entry isn't used by the powerpc linux kernel.

[Bug testsuite/98125] [11 Regression] New test case g++.dg/pr93195a.C in r11-5656 has excess errors

2021-01-22 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98125 --- Comment #12 from Alan Modra --- Created attachment 50039 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50039&action=edit ELFv1 support Revised patches. I wasn't happy with the use of a ".text" symbol in the previous patch since some

[Bug testsuite/98125] [11 Regression] New test case g++.dg/pr93195a.C in r11-5656 has excess errors

2021-01-22 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98125 Alan Modra changed: What|Removed |Added Attachment #49701|0 |1 is obsolete|

[Bug target/98519] rs6000: @pcrel unsupported on this instruction error in pveclib

2021-01-21 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98519 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #18 fro

[Bug target/98210] [11 Regression] SHF_GNU_RETAIN breaks gold linker generated binaries

2020-12-09 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98210 Alan Modra changed: What|Removed |Added Resolution|MOVED |--- Status|RESOLVED

[Bug target/98210] New: SHF_GNU_RETAIN breaks gold linker generated binaries

2020-12-08 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98210 Bug ID: 98210 Summary: SHF_GNU_RETAIN breaks gold linker generated binaries Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug testsuite/98125] [11 Regression] New test case g++.dg/pr93195a.C in r11-5656 has excess errors

2020-12-07 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98125 --- Comment #8 from Alan Modra --- Created attachment 49701 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49701&action=edit fix powerpc64 -fpatchable-function-entry This makes -fpatchable-function-entry do something sensible on powerpc64

[Bug testsuite/98125] [11 Regression] New test case g++.dg/pr93195a.C in r11-5656 has excess errors

2020-12-04 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98125 --- Comment #7 from Alan Modra --- (In reply to Alan Modra from comment #5) > So the "o" flag symbol is one in the .opd section, rather than what would be > correct here, .L._Z3foov. Actually, that breakage happened recently with commit 694d4a6d

[Bug testsuite/98125] New test case g++.dg/pr93195a.C in r11-5656 has excess errors

2020-12-03 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98125 Alan Modra changed: What|Removed |Added Status|WAITING |NEW --- Comment #5 from Alan Modra --- The

[Bug target/93176] PPC: inefficient 64-bit constant consecutive ones

2020-11-18 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93176 Alan Modra changed: What|Removed |Added URL|https://gcc.gnu.org/piperma |https://gcc.gnu.org/piperma

[Bug middle-end/97267] Missed tail calls on ppc64 ELFv2

2020-11-02 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97267 Alan Modra changed: What|Removed |Added URL|https://gcc.gnu.org/piperma |https://gcc.gnu.org/piperma

[Bug libgcc/97543] powerpc64le: libgcc has unexpected long double in .gnu_attribute

2020-10-23 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97543 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #6 from

[Bug tree-optimization/97360] [11 Regression] ICE in range_on_exit

2020-10-15 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97360 --- Comment #10 from Alan Modra --- Here's elf32-arc.i creduced. a; b(); c() { void *d; if (d == b && e()) d = a; return d; }

[Bug tree-optimization/97360] [11 Regression] ICE in range_on_exit

2020-10-14 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97360 Alan Modra changed: What|Removed |Added Target||powerpc64le-linux, |

[Bug tree-optimization/97360] [11 Regression] ICE in range_on_exit

2020-10-12 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97360 Alan Modra changed: What|Removed |Added CC||bergner at gcc dot gnu.org,

[Bug tree-optimization/97360] [11 Regression] ICE in range_on_exit

2020-10-12 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97360 --- Comment #4 from Alan Modra --- Created attachment 49347 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49347&action=edit original .i

[Bug tree-optimization/97360] [11 Regression] ICE in range_on_exit

2020-10-12 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97360 --- Comment #3 from Alan Modra --- Created attachment 49346 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49346&action=edit reduced testcase -mcpu=power10 -O2 -S

[Bug target/97361] New: power10 unrecognizable insn

2020-10-09 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97361 Bug ID: 97361 Summary: power10 unrecognizable insn Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assig

[Bug tree-optimization/97360] New: ICE in range_on_exit

2020-10-09 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97360 Bug ID: 97360 Summary: ICE in range_on_exit Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization A

[Bug go/92564] libgo regression in runtime test resulting in SIGSEGV on ppc64le

2020-10-06 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92564 Alan Modra changed: What|Removed |Added CC|amodra at gcc dot gnu.org | --- Comment #2 from Alan Modra ---

[Bug middle-end/97267] Missed tail calls on ppc64 ELFv2

2020-10-01 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97267 Alan Modra changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |amodra at gmail dot com

[Bug middle-end/97267] New: Missed tail calls on ppc64 ELFv2

2020-10-01 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97267 Bug ID: 97267 Summary: Missed tail calls on ppc64 ELFv2 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end

[Bug libffi/97166] libffi build issue when compiling with -mcpu=power10

2020-09-24 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97166 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/97107] libgo fails to build for power10

2020-09-24 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97107 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target|powerpc*

[Bug libffi/97166] libffi build issue when compiling with -mcpu=power10

2020-09-24 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97166 Alan Modra changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at gcc dot