[Bug c++/112632] [14 Regression] Non-type template parameter created with converting constructor sometimes has original type

2024-01-19 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112632 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/67898] rejects-valid on overloaded function as non-type template argument of dependent type

2024-01-19 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67898 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org Sta

[Bug c++/104594] narrowing of -1 to unsigned char not detected with requires concepts

2024-01-19 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104594 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/113377] Wrong code passing optional dummy argument to elemental procedure with optional dummy

2024-01-19 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113377 --- Comment #5 from Mikael Morin --- (In reply to anlauf from comment #2) > Note that adding a scalar call in function one: > > r(1) = two (i(1), j) > > generates sane code: > > *((integer(kind=4) *) __result.0 + (sizetype) ((offset.1 +

[Bug c++/95564] GCC rejects lambda expression with "noexcept(1+1)"

2024-01-19 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95564 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org Resolut

[Bug c++/87724] gcc allows narrowing conversions in converted constant expressions

2024-01-19 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87724 Jason Merrill changed: What|Removed |Added Resolution|--- |INVALID CC|

[Bug libstdc++/108822] [C++23] Implement P2255R2, type trait to detect reference binding to temporary

2024-01-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108822 --- Comment #7 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:502a3c03e40e8920afb734c077b045f6c5efd087 commit r14-8292-g502a3c03e40e8920afb734c077b045f6c5efd087 Author: Jonathan Wakely Date:

[Bug c++/113498] [14 regression] ICE in GCC trunk: tree check: have using_decl in get_template_info, at cp/pt.cc:357 since r14-6064

2024-01-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113498 --- Comment #4 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:1338ad23ff3c1e4f552cdb64e36cef12eda2e050 commit r14-8294-g1338ad23ff3c1e4f552cdb64e36cef12eda2e050 Author: Jason Merrill Date: Fr

[Bug c++/113498] [14 regression] ICE in GCC trunk: tree check: have using_decl in get_template_info, at cp/pt.cc:357 since r14-6064

2024-01-19 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113498 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug fortran/113377] Wrong code passing optional dummy argument to elemental procedure with optional dummy

2024-01-19 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113377 --- Comment #6 from Mikael Morin --- (In reply to anlauf from comment #4) > > Note that the following scalar example also fails: > "Fortunately", it is invalid. :-) >From 15.5.2.12 (Argument presence and restrictions on arguments not present

[Bug c++/111357] [11/12/13/14 Regression] __integer_pack fails to work with values of dependent type convertible to integers in noexcept context

2024-01-19 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111357 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/55004] [meta-bug] constexpr issues

2024-01-19 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 111357, which changed state. Bug 111357 Summary: [11/12/13/14 Regression] __integer_pack fails to work with values of dependent type convertible to integers in noexcept context https://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug c++/67898] rejects-valid on overloaded function as non-type template argument of dependent type

2024-01-19 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67898 Jason Merrill changed: What|Removed |Added Target Milestone|12.0|14.0 --- Comment #7 from Jason Merrill

[Bug middle-end/113508] New: widen_ssumm3 documentation needs to mention which mode is m here

2024-01-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113508 Bug ID: 113508 Summary: widen_ssumm3 documentation needs to mention which mode is m here Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: documentation

[Bug middle-end/113508] widen_ssumm3 documentation needs to mention which mode is m here

2024-01-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113508 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug target/109929] profiledbootstrap failure on aarch64-linux-gnu with graphite optimization

2024-01-19 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109929 --- Comment #3 from Xi Ruoyao --- Hmm, it seems no longer happening with current trunk.

[Bug fortran/113471] [14 regression] wrong array bound check failure on valid code

2024-01-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113471 --- Comment #5 from GCC Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:94b2e6cb1cc4feb122bf77f19a657c97bffa9b42 commit r14-8295-g94b2e6cb1cc4feb122bf77f19a657c97bffa9b42 Author: Harald Anlauf Date: F

[Bug analyzer/113509] New: ICE: SIGSEGV in c_tree_printer (c-objc-common.cc:341) with -fanalyzer -fanalyzer-verbose-state-changes

2024-01-19 Thread zsojka at seznam dot cz via Gcc-bugs
df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.1 20240119 (experimental) (GCC)

[Bug middle-end/113508] widen_ssumm3 documentation needs to mention which mode is m here

2024-01-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113508 --- Comment #1 from Andrew Pinski --- The current documentation reads: ``` Operands 0 and 2 are of the same mode, which is wider than the mode of operand 1. Add operand 1 to operand 2 and place the widened result in operand 0. (This is used expr

[Bug fortran/113377] Wrong code passing optional dummy argument to elemental procedure with optional dummy

2024-01-19 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113377 --- Comment #7 from anlauf at gcc dot gnu.org --- (In reply to Mikael Morin from comment #6) > (In reply to anlauf from comment #4) > > > > Note that the following scalar example also fails: > > > "Fortunately", it is invalid. :-) > > From 15

[Bug fortran/113377] Wrong code passing optional dummy argument to elemental procedure with optional dummy

2024-01-19 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113377 --- Comment #8 from anlauf at gcc dot gnu.org --- Created attachment 57166 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57166&action=edit Testcase exercising passing of integer optional dummy arguments This testcase passes with NAG and i

[Bug libstdc++/113500] Using std::format with float or double based std::chrono::time_point causes error: no match for 'operator<<'

2024-01-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113500 --- Comment #8 from Jonathan Wakely --- I am testing a patch that allows writing floating-point utc_time, gps_time etc. with any format string, and allows writing floating-point sys_time with a non-empty spec.

[Bug target/113458] Missed SLP for reduction of multiplication/addition with promotion

2024-01-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113458 --- Comment #7 from Andrew Pinski --- I have a patch which implements V4QI for many operations (extends and widden_sum) (though I need to fix the cost model). I am able to get: ``` sshll v30.4h, v30.8b, #0 smull v31.4s, v31.

[Bug fortran/113471] [14 regression] wrong array bound check failure on valid code

2024-01-19 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113471 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|ASS

[Bug rtl-optimization/113510] New: [ARM Thumb] ICE in extract_constrain_insn with CPU cortex-m23

2024-01-19 Thread thiago.bauermann at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113510 Bug ID: 113510 Summary: [ARM Thumb] ICE in extract_constrain_insn with CPU cortex-m23 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug target/113458] Missed SLP for reduction of multiplication/addition with promotion

2024-01-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113458 --- Comment #8 from Andrew Pinski --- (In reply to Andrew Pinski from comment #7) > But the load is still using inserts and tbl. I have not figured out why > though. Looks like I have to support const PERMs.

[Bug rtl-optimization/113510] [ARM Thumb] ICE in extract_constrain_insn with CPU cortex-m23

2024-01-19 Thread thiago.bauermann at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113510 --- Comment #1 from Thiago Jung Bauermann --- Created attachment 57168 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57168&action=edit Preprocessed version of pr71494.c

[Bug rtl-optimization/113510] [ARM Thumb] ICE in extract_constrain_insn with CPU cortex-m23

2024-01-19 Thread thiago.bauermann at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113510 Thiago Jung Bauermann changed: What|Removed |Added CC||thiago.bauermann at linaro dot

[Bug target/108640] ICE compiling busybox for m68k in change_address_1, at emit-rtl.cc:2283

2024-01-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108640 --- Comment #8 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:a834414794d80f21550dd0591e260fc833f49eb9 commit r14-8298-ga834414794d80f21550dd0591e260fc833f49eb9 Author: Mikael Pettersson Date: Fr

[Bug modula2/113511] New: lack of libm2 ABI compatibility on powerpc platforms

2024-01-19 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113511 Bug ID: 113511 Summary: lack of libm2 ABI compatibility on powerpc platforms Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug libstdc++/113512] New: Incorrect results for std::format("{:#.3g}", flt)

2024-01-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113512 Bug ID: 113512 Summary: Incorrect results for std::format("{:#.3g}", flt) Product: gcc Version: 13.2.1 Status: UNCONFIRMED Keywords: wrong-code Severity: normal

[Bug libstdc++/113512] Incorrect results for std::format("{:#.3g}", flt)

2024-01-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113512 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org Last

[Bug target/110934] m68k: ICE with -fzero-call-used-regs=all compiling openssh 9.3p2

2024-01-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110934 --- Comment #13 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:f1dea0fed946ba40bd6bbe40ad1386aa9303418c commit r14-8299-gf1dea0fed946ba40bd6bbe40ad1386aa9303418c Author: Mikael Pettersson Date: F

[Bug target/110934] m68k: ICE with -fzero-call-used-regs=all compiling openssh 9.3p2

2024-01-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110934 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug target/108640] ICE compiling busybox for m68k in change_address_1, at emit-rtl.cc:2283

2024-01-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108640 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug libgomp/113513] New: [OpenMP] libgomp: cuCtxGetDevice error with OMP_DISPLAY_ENV=true OMP_TARGET_OFFLOAD="mandatory" for libgomp.c/target-52.c

2024-01-19 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113513 Bug ID: 113513 Summary: [OpenMP] libgomp: cuCtxGetDevice error with OMP_DISPLAY_ENV=true OMP_TARGET_OFFLOAD="mandatory" for libgomp.c/target-52.c Product: gcc Ve

[Bug c++/109642] False Positive -Wdangling-reference with std::span-like classes

2024-01-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109642 --- Comment #13 from Marek Polacek --- *** Bug 59 has been marked as a duplicate of this bug. ***

[Bug c++/111159] [13/14 Regression] False positive -Wdangling-reference

2024-01-19 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59 Marek Polacek changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug c/113514] New: Wrong __builtin_dynamic_object_size when using a set local variable

2024-01-19 Thread isanbard at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113514 Bug ID: 113514 Summary: Wrong __builtin_dynamic_object_size when using a set local variable Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/113514] Wrong __builtin_dynamic_object_size when using a set local variable

2024-01-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113514 --- Comment #1 from Andrew Pinski --- The answer is not really and it is complex. So I will note that clang/LLVM returns 48 for `f.bar[argc], 1` and 0 for `,3`.

[Bug middle-end/113514] Wrong __builtin_dynamic_object_size when using a set local variable

2024-01-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113514 --- Comment #2 from Andrew Pinski --- In the case of the constant proping into `&f.bar[argc][0]`, it is not know if you are doing an offset of the original struct or an offset into the array. GCC's internal IR changes into the former as it is mo

[Bug target/113458] Missed SLP for reduction of multiplication/addition with promotion

2024-01-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113458 --- Comment #9 from Andrew Pinski --- (In reply to Andrew Pinski from comment #8) > (In reply to Andrew Pinski from comment #7) > > But the load is still using inserts and tbl. I have not figured out why > > though. > > Looks like I have to su

[Bug c/102998] Wrong documentation for -Warray-parameter

2024-01-19 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102998 sandra at gcc dot gnu.org changed: What|Removed |Added CC||sandra at gcc dot gnu.org

[Bug middle-end/113514] Wrong __builtin_dynamic_object_size when using a set local variable

2024-01-19 Thread isanbard at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113514 --- Comment #3 from Bill Wendling --- (In reply to Andrew Pinski from comment #1) > The answer is not really and it is complex. > Okay. It just seems counter-intuitive. > So I will note that clang/LLVM returns 48 for `f.bar[argc], 1` and 0 for

[Bug middle-end/113514] Wrong __builtin_dynamic_object_size when using a set local variable

2024-01-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113514 --- Comment #4 from Sam James --- Siddhesh, there's some discussion at https://github.com/llvm/llvm-project/pull/78526 as to what the GCC behaviour is supposed to be vs documented.

[Bug c/113515] New: Wrong documentation for -Wstringop-overflow

2024-01-19 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113515 Bug ID: 113515 Summary: Wrong documentation for -Wstringop-overflow Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/102998] Wrong documentation for -Warray-parameter

2024-01-19 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102998 --- Comment #4 from sandra at gcc dot gnu.org --- Hmmm, I ran into PR113515 with this example.

[Bug ada/113516] New: POLLPRI redefined on windows building ada

2024-01-19 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113516 Bug ID: 113516 Summary: POLLPRI redefined on windows building ada Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada

[Bug target/59425] ICE - seg fault building ISL on Windows

2024-01-19 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59425 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment #

[Bug target/113517] New: vector SLP cost model should be improved

2024-01-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113517 Bug ID: 113517 Summary: vector SLP cost model should be improved Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement

[Bug libstdc++/107603] checking for ld that supports -Wl,--gc-sections... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. for i686-w64-mingw32 target at canadian compilation

2024-01-19 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107603 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment

[Bug tree-optimization/113518] New: ICE: in gimplify_expr, at gimplify.cc:18596 with atomic_fetch_or_explicit() on _BitInt()

2024-01-19 Thread zsojka at seznam dot cz via Gcc-bugs
king-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.1 20240119 (experimental) (GCC)

[Bug debug/113519] New: ICE: in replace_child, at dwarf2out.cc:5704 with -g -mbig-endian -fsso-struct=little-endian -fdebug-types-section

2024-01-19 Thread zsojka at seznam dot cz via Gcc-bugs
unknown-linux-gnu-as --disable-multilib --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r14-8284-20240119180625-g54519030b05-checking-yes-rtl-df-extra-riscv64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.1 20240119 (experimental) (GCC)

[Bug c/113492] [14 Regression] ICE: in composite_type_internal, at c/c-typeck.cc:557 with -std=c2x -funsigned-bitfields since r14-6808

2024-01-19 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113492 --- Comment #3 from Zdenek Sojka --- (In reply to uecker from comment #2) > > I agree that "int:3" with -funsigned-bitfields should produce a type which > is compatible to one with "unsigned:3" and that forming a composite type > has to work.

[Bug tree-optimization/113520] New: ICE when building swi-prolog-9.1.2 with LTO (tree check: expected array_type, have integer_type in array_ref_low_bound)

2024-01-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113520 Bug ID: 113520 Summary: ICE when building swi-prolog-9.1.2 with LTO (tree check: expected array_type, have integer_type in array_ref_low_bound) Product: gcc Vers

[Bug tree-optimization/113520] ICE when building swi-prolog-9.1.2 with LTO (tree check: expected array_type, have integer_type in array_ref_low_bound)

2024-01-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113520 --- Comment #1 from Sam James --- 10/11/12/13/14 all reproduce it for me

[Bug debug/113519] [14 Regression] ICE: in replace_child, at dwarf2out.cc:5704 with -g -fdebug-types-section -fsso-struct=big-endian (or little-endian if the target is big-endian)

2024-01-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113519 Andrew Pinski changed: What|Removed |Added Summary|ICE: in replace_child, at |[14 Regression] ICE: in

[Bug debug/113519] [14 Regression] ICE: in replace_child, at dwarf2out.cc:5704 with -g -fdebug-types-section -fsso-struct=big-endian (or little-endian if the target is big-endian)

2024-01-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113519 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-01-20 Ever confirmed|0

[Bug tree-optimization/113520] ICE when building swi-prolog-9.1.2 with LTO (tree check: expected array_type, have integer_type in array_ref_low_bound)

2024-01-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113520 --- Comment #2 from Andrew Pinski --- This code is definitely undefined. Is builtin_names really defined as an array in one TU but an int in another one?

[Bug tree-optimization/113520] ICE when building swi-prolog-9.1.2 with LTO (tree check: expected array_type, have integer_type in array_ref_low_bound)

2024-01-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113520 --- Comment #3 from Andrew Pinski --- The code has: ``` struct bname builtin_names[] = { ... }; ``` header file: ``` extern struct name builtin_names[]; /* object-array of built-in's */ ``` Wich is underfined but in a different way than t

[Bug tree-optimization/113520] ICE when building swi-prolog-9.1.2 with LTO (tree check: expected array_type, have integer_type in array_ref_low_bound)

2024-01-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113520 --- Comment #4 from Sam James --- Yeah, after you asked, I just realised the original does ICE differently. Let's retitle this one and I'll reduce it properly again for the original (but it is similar)

[Bug tree-optimization/113520] ICE when building swi-prolog-9.1.2 with LTO (tree check: expected array_type, have integer_type in array_ref_low_bound)

2024-01-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113520 --- Comment #5 from Andrew Pinski --- https://github.com/SWI-Prolog/packages-xpce/commit/641bbb1d83416be2fb910dbffcd6ba32db1c0b8e Was the commit which "fixed" compiling with GCC 4.0 but really it is broken. I suspect the fix is to use s/struct

[Bug target/95112] i686 procedures have prolog endbr32

2024-01-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95112 Sam James changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

<    1   2