[Bug libstdc++/117321] std::float16_t: undefined reference to `nextafterf16'

2024-10-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117321 --- Comment #1 from Andrew Pinski --- I think you need libc support for full f16 support.

[Bug libstdc++/117321] std::float16_t: undefined reference to `nextafterf16'

2024-10-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117321 Andrew Pinski changed: What|Removed |Added See Also||https://sourceware.org/bugz

[Bug tree-optimization/117322] [14/15 Regression] Another spurios "may be used uninitialized" warning when using alloca.

2024-10-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117322 Andrew Pinski changed: What|Removed |Added Summary|Another spurios "may be |[14/15 Regression] Another

[Bug tree-optimization/117322] [14/15 Regression] Another spurios "may be used uninitialized" warning when using alloca.

2024-10-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117322 --- Comment #1 from Andrew Pinski --- So adding: if ((long)(len*4) <= 0) return; Fixes the warning. Looks like GCC does not realize len can't be too big to overflow. I am not 100% sure if the warning should be better worded or there is a mi

[Bug debug/117320] wrong debug info for function with cold alternative (-g -O2)

2024-10-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117320 Andrew Pinski changed: What|Removed |Added See Also||https://sourceware.org/bugz

[Bug debug/117320] wrong debug info for function with cold alternative (-g -O2)

2024-10-27 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117320 --- Comment #5 from Paul Eggert --- (In reply to Andrew Pinski from comment #4) > I also suspect `b backtrace_function` > will work correctly and point to the locations, it is just printing of the > value of backtrace_function which is broken. Y

[Bug target/117312] RFE: x86 (and perhaps others): inline assembly: "red-zone" clobber

2024-10-27 Thread hpa at zytor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117312 --- Comment #4 from H. Peter Anvin --- You would think so, right?

[Bug target/117286] [RISC-V] internal compiler error: Segmentation fault `__riscv_vlmul_ext_v_f16mf2_f16m1`

2024-10-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117286 --- Comment #2 from GCC Commits --- The master branch has been updated by Li Xu : https://gcc.gnu.org/g:75caa17f5cb4e414919baff0435300b549a76eca commit r15-4712-g75caa17f5cb4e414919baff0435300b549a76eca Author: xuli Date: Mon Oct 28 04:41:0

[Bug ada/114127] Assert_Failure in nlists.adb on [] aggregate in generic with pragma Ada_2022

2024-10-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114127 --- Comment #3 from Eric Botcazou --- This is probably good enough: diff --git a/gcc/ada/sem_aggr.adb b/gcc/ada/sem_aggr.adb index 63e17f480a4..5e0afc10e09 100644 --- a/gcc/ada/sem_aggr.adb +++ b/gcc/ada/sem_aggr.adb @@ -1063,8 +1063,7 @@ packa

[Bug fortran/108434] [12/13/14/15 Regression] ICE in class_allocatable, at fortran/expr.cc:5000

2024-10-27 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108434 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org --- Comment #10

[Bug ipa/117315] [12/13/14/15 regression] Wireshark miscompiled with LTO since r11-5391-gbb07490abba850

2024-10-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117315 Sam James changed: What|Removed |Added Attachment #59458|0 |1 is obsolete|

[Bug ada/113037] assertion failure on illegal use of aspect Type_Invariant

2024-10-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113037 Eric Botcazou changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ebotcazou at gcc dot gnu.org

[Bug target/117314] New: [RISC-V] Miscompilation triggered by segment load-store, GCC 14.2.0 at `-O0`.

2024-10-27 Thread yibohe at pku dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117314 Bug ID: 117314 Summary: [RISC-V] Miscompilation triggered by segment load-store, GCC 14.2.0 at `-O0`. Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity

[Bug c/117145] [14/15 Regression] ICE: in make_ssa_name_fn, at tree-ssanames.cc:355 at -O1 and above with vector_size and VLA in struct argument since r14-1143-g42d1612eb5c3b2

2024-10-27 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117145 --- Comment #11 from uecker at gcc dot gnu.org --- PATCH: https://gcc.gnu.org/pipermail/gcc-patches/2024-October/666590.html

[Bug c/100420] unspecified VLA bound formatted as [0] instead of [*] in -Wvla-parameter

2024-10-27 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100420 uecker at gcc dot gnu.org changed: What|Removed |Added CC||uecker at gcc dot gnu.org --

[Bug target/117316] [15 regression] gcc/config/riscv/riscv.cc:479:1: error: could not convert ‘...’ from ‘’ to ‘const riscv_tune_param’ since r15-4589-g078f7c4f1fcf4d

2024-10-27 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117316 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org Priorit

[Bug target/117283] [RISC-V] Miscompilation triggered by `__riscv_vsseg7e32_v_i32m1x7`, GCC 14.2.0 at `-O1`, `-O2`, `-O3`, and `-Os`.

2024-10-27 Thread xuli1 at eswincomputing dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117283 xuli1 at eswincomputing dot com changed: What|Removed |Added CC||xuli1 at eswincomputin

[Bug c++/117324] New: internal compiler error: Segmentation fault in break_out_target_exprs(tree_node*, bool)

2024-10-27 Thread yihan4845 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117324 Bug ID: 117324 Summary: internal compiler error: Segmentation fault in break_out_target_exprs(tree_node*, bool) Product: gcc Version: unknown Status: UNCONFIRMED

[Bug middle-end/117323] New: GCC failed to optimize value / 128 to value >> 7 when the range of value must be positive

2024-10-27 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117323 Bug ID: 117323 Summary: GCC failed to optimize value / 128 to value >> 7 when the range of value must be positive Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug target/117310] Unnecessary zero-extension for tailcall

2024-10-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117310 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/14907] bogus sign/zero extension when relaying parameters with regparm

2024-10-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14907 --- Comment #6 from H.J. Lu --- *** Bug 117310 has been marked as a duplicate of this bug. ***

[Bug c++/117325] New: internal compiler error: in tsubst_expr, at cp/pt.cc:21986

2024-10-27 Thread rippey.e at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117325 Bug ID: 117325 Summary: internal compiler error: in tsubst_expr, at cp/pt.cc:21986 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Pr

[Bug target/55212] [SH] Switch to LRA

2024-10-27 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #415 from John Paul Adrian Glaubitz --- (In reply to Oleg Endo from comment #414) > I've merged this patch into commit "SH: Try to workaround fp-reg related > move insns pt.2" and added the reduced test case from comment #413. > > It

[Bug ipa/117315] [12/13/14/15 regression] Wireshark miscompiled with LTO since r11-5391-gbb07490abba850

2024-10-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117315 --- Comment #6 from Sam James --- The allocation indirection makes it hard to see if it's legal..

[Bug target/117007] Poor optimization for small vector constants needed for vector shift/rotate/mask generation

2024-10-27 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117007 --- Comment #7 from Segher Boessenkool --- It is always more and slower code. Yes.

[Bug target/69381] Maximum long loop completes immediately

2024-10-27 Thread claziss at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69381 --- Comment #3 from Claudiu Zissulescu --- This is a very old issue. I see no problem with the latest gcc14.x.

[Bug debug/117320] wrong debug info for function with cold alternative (-g -O2)

2024-10-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117320 Andrew Pinski changed: What|Removed |Added Resolution|--- |MOVED Status|WAITING

[Bug libstdc++/117321] New: std::float16_t: undefined reference to `nextafterf16'

2024-10-27 Thread pkeir at outlook dot com via Gcc-bugs
above (`g++ -std=c++23 na16test.cpp`) produces a linker error (listed below) indicating that the `nextafterf16` symbol is undefined. The Compiler Explorer site can show this at https://godbolt.org/z/Wz5cn5nbn. ASM generation compiler returned: 0 /opt/compiler-explorer/gcc-trunk-20241027/bin/../li

[Bug c/117305] include files processed differently depending on directory they were fetched from

2024-10-27 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117305 Arsen Arsenović changed: What|Removed |Added CC||arsen at gcc dot gnu.org --- Comment

[Bug c++/117322] New: Another spurios "may be used uninitialized" warning when using alloca.

2024-10-27 Thread akryuk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117322 Bug ID: 117322 Summary: Another spurios "may be used uninitialized" warning when using alloca. Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug debug/117320] wrong debug info for function with cold alternative (-g -O2)

2024-10-27 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117320 --- Comment #3 from Paul Eggert --- (In reply to Andrew Pinski from comment #1) > Does it happen in a full linked binary or just in the object file? The bug occurs in both, though of course I see different values for the backtrace_function addr

[Bug c++/117317] [12/13/14/15 Regression] An internal compiler error on call to virtual constexpr function via comparison operator in CRTP with multiple inheritance with template

2024-10-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117317 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Ever confirmed|0

[Bug c++/117317] An internal compiler error on call to virtual constexpr function via comparison operator in CRTP with multiple inheritance

2024-10-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117317 --- Comment #2 from Andrew Pinski --- Created attachment 59465 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59465&action=edit Slightly more reduced Note if Comparable is not a template, this works.

[Bug middle-end/117313] [15 regression] ICE when building linux-6.11.5 (output_constructor_regular_field, at varasm.cc:5672)

2024-10-27 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117313 David Binderman changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment

[Bug ada/112979] internal error on invalid prefix with assertions enabled

2024-10-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112979 --- Comment #2 from Eric Botcazou --- This appears to be sufficient: diff --git a/gcc/ada/sem_ch8.adb b/gcc/ada/sem_ch8.adb index 0c25c95c80e..7ee28b0a602 100644 --- a/gcc/ada/sem_ch8.adb +++ b/gcc/ada/sem_ch8.adb @@ -8535,7 +8535,7 @@ package

[Bug ada/112979] internal error on invalid prefix with assertions enabled

2024-10-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112979 Eric Botcazou changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ebotcazou at gcc dot gnu.org

[Bug ipa/117315] [12/13/14/15 regression] Wireshark miscompiled with LTO since r11-5391-gbb07490abba850

2024-10-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117315 Sam James changed: What|Removed |Added Attachment #59456|0 |1 is obsolete|

[Bug target/117318] ICE: in expand_simple_unop, at optabs.cc:2585 with __builtin_ia32_pmovusqb512mem_mask()

2024-10-27 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117318 Hongtao Liu changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |liuhongt at gcc dot gnu.org E

[Bug ipa/117315] [12/13/14/15 regression] Wireshark miscompiled with LTO since r11-5391-gbb07490abba850

2024-10-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117315 Sam James changed: What|Removed |Added Attachment #59457|0 |1 is obsolete|

[Bug ipa/117315] New: [12/13/14/15 regression] Wireshark miscompiled with LTO since r11-5391-gbb07490abba850

2024-10-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117315 Bug ID: 117315 Summary: [12/13/14/15 regression] Wireshark miscompiled with LTO since r11-5391-gbb07490abba850 Product: gcc Version: 15.0 Status: UNCONFIRMED K

[Bug ipa/117315] [12/13/14/15 regression] Wireshark miscompiled with LTO since r11-5391-gbb07490abba850

2024-10-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117315 --- Comment #1 from Sam James --- Created attachment 59456 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59456&action=edit wireshark-ipa.tar.xz

[Bug ipa/117315] [12/13/14/15 regression] Wireshark miscompiled with LTO since r11-5391-gbb07490abba850

2024-10-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117315 --- Comment #2 from Sam James --- Initial instructions were slightly wrong: ``` $ gcc -Og -ggdb3 -flto=auto -fno-strict-aliasing wmem_allocator_strict.c wmem_core.c wmem_tree.c -o libwsutil.so -Wl,-z,lazy -shared $ gcc -O2 -ggdb3 -flto=auto -fno

[Bug ipa/117315] [12/13/14/15 regression] Wireshark miscompiled with LTO since r11-5391-gbb07490abba850

2024-10-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117315 --- Comment #3 from Sam James --- I'm going to try reduce it more now.

[Bug ada/113868] bogus error for delta aggregate as expression function

2024-10-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113868 --- Comment #3 from Eric Botcazou --- A small oversight: diff --git a/gcc/ada/par-ch6.adb b/gcc/ada/par-ch6.adb index 7fe43373535..c3cc5725616 100644 --- a/gcc/ada/par-ch6.adb +++ b/gcc/ada/par-ch6.adb @@ -884,6 +884,7 @@ package body Ch6 is

[Bug target/117316] [15 regression] gcc/config/riscv/riscv.cc:479:1: error: could not convert ‘...’ from ‘’ to ‘const riscv_tune_param’ since r15-4589-g078f7c4f1fcf4d

2024-10-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117316 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0

[Bug ada/113781] internal error on naked iterated association in record aggregate

2024-10-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113781 Eric Botcazou changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug ada/114127] assertion failure on empty aggregate in generic with pragma Ada_2022

2024-10-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114127 Eric Botcazou changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug ada/113868] bogus error for delta aggregate as expression function

2024-10-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113868 Eric Botcazou changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug ada/114300] ICE on instantiation of package with a nested ghost package

2024-10-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114300 Eric Botcazou changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ebotcazou at gcc dot gnu.org

[Bug target/117316] [15 regression] gcc/config/riscv/riscv.cc:479:1: error: could not convert ‘...’ from ‘’ to ‘const riscv_tune_param’ since r15-4589-g078f7c4f1fcf4d

2024-10-27 Thread mark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117316 Mark Wielaard changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug ada/114300] ICE when compiling a program that instantiates a package with a nested ghost package

2024-10-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114300 --- Comment #2 from Eric Botcazou --- This should work on mainline: diff --git a/gcc/ada/exp_ch7.adb b/gcc/ada/exp_ch7.adb index 640ad5c60b8..ee948e0934b 100644 --- a/gcc/ada/exp_ch7.adb +++ b/gcc/ada/exp_ch7.adb @@ -2522,7 +2522,11 @@ package

[Bug fortran/115348] [13/14/15 Regression] -fcheck=recursion issue with intent(out) derived type argument without components with default value

2024-10-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115348 --- Comment #4 from GCC Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:ed8ca972f8857869d2bb4a416994bb896eb1c34e commit r15-4702-ged8ca972f8857869d2bb4a416994bb896eb1c34e Author: Paul Thomas Date: Sun O

[Bug fortran/115070] [13/14 Regression] ICE using IEEE_ARITHMETIC in a derived type method with class, intent(out)

2024-10-27 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115070 Paul Thomas changed: What|Removed |Added Summary|[13/14/15 Regression] ICE |[13/14 Regression] ICE

[Bug ada/113781] internal error on naked iterated association in record aggregate

2024-10-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113781 Eric Botcazou changed: What|Removed |Added Summary|Bug box on array|internal error on naked

[Bug c/114713] incorrect TBAA for struct with flexible array member or GNU zero size

2024-10-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114713 Sam James changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug ada/113868] bogus error for delta aggregate as expression function

2024-10-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113868 Eric Botcazou changed: What|Removed |Added Last reconfirmed|2024-02-14 00:00:00 |2024-10-27 --- Comment #2 from Eric Bot

[Bug fortran/115348] [13/14 Regression] -fcheck=recursion issue with intent(out) derived type argument without components with default value

2024-10-27 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115348 Paul Thomas changed: What|Removed |Added Summary|[13/14/15 Regression] |[13/14 Regression] |-fc

[Bug c++/117317] New: An internal compiler error on call to virtual constexpr function via comparison operator in CRTP with multiple inheritance

2024-10-27 Thread kirshamir at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117317 Bug ID: 117317 Summary: An internal compiler error on call to virtual constexpr function via comparison operator in CRTP with multiple inheritance Product: gcc V

[Bug c++/117317] An internal compiler error on call to virtual constexpr function via comparison operator in CRTP with multiple inheritance

2024-10-27 Thread kirshamir at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117317 --- Comment #1 from Amir Kirsh --- A more simple example, same internal compiler error: class Base { public: constexpr bool operator==(const Base& b) const { return getIdentity() == b.getIdentity(); } private: constexpr virt

[Bug ada/89786] ice in add_expr, at tree.c:7767

2024-10-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89786 --- Comment #5 from Eric Botcazou --- > Did anything happen about this ? Yes, classified as pathological case and epsilon priority.

[Bug c++/101027] Short-circuit behavior not respected with co_await in while head

2024-10-27 Thread martin.horenovsky+gccbugzilla at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101027 Martin Hořeňovský changed: What|Removed |Added CC||martin.horenovsky+gccbugzil

[Bug ipa/117315] [12/13/14/15 regression] Wireshark miscompiled with LTO since r11-5391-gbb07490abba850

2024-10-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117315 Sam James changed: What|Removed |Added Attachment #59459|0 |1 is obsolete|

[Bug target/117318] New: ICE: in expand_simple_unop, at optabs.cc:2585 with __builtin_ia32_pmovusqb512mem_mask()

2024-10-27 Thread zsojka at seznam dot cz via Gcc-bugs
/x86_64-pc-linux-gnu-as --enable-libsanitizer --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r15-4700-202410270017288ee29886-checking-yes-rtl-df-extra-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 20241027 (experimental) (GCC)

[Bug c/117265] RFE: support for assembly macros/assembly headers

2024-10-27 Thread hpa at zytor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117265 --- Comment #16 from H. Peter Anvin --- Except there is no load or store anywhere (see the case on comment 12), so I don't understand.

[Bug ada/112821] unexpected Program_Error raised in the parser on mismatched []

2024-10-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112821 Eric Botcazou changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug ada/112524] internal error on iterated component association in others clause

2024-10-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112524 Eric Botcazou changed: What|Removed |Added Summary|internal error on |internal error on iterated

[Bug tree-optimization/111285] vector ABSU is lowered incorrectly

2024-10-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111285 --- Comment #4 from Andrew Pinski --- Created attachment 59463 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59463&action=edit Testcase

[Bug fortran/108434] [12/13/14/15 Regression] ICE in class_allocatable, at fortran/expr.cc:5000

2024-10-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108434 anlauf at gcc dot gnu.org changed: What|Removed |Added Assignee|anlauf at gcc dot gnu.org |unassigned at gcc dot

[Bug ipa/117315] [12/13/14/15 regression] Wireshark miscompiled with LTO since r11-5391-gbb07490abba850

2024-10-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117315 --- Comment #10 from Andrew Pinski --- And that is partly documented too: from https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Common-Function-Attributes.html#index-malloc-function-attribute : Attribute malloc indicates that a function is malloc-

[Bug ipa/117315] [12/13/14/15 regression] Wireshark miscompiled with LTO since r11-5391-gbb07490abba850

2024-10-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117315 Andrew Pinski changed: What|Removed |Added Keywords||alias --- Comment #9 from Andrew Pinski

[Bug target/69381] Maximum long loop completes immediately

2024-10-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69381 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 Status|UNCONFIRMED

[Bug libstdc++/111055] [C++23] Implement P1206R7, Conversions from ranges to containers

2024-10-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111055 --- Comment #7 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:b281e13ecad12d07209924a7282c53be3a1c3774 commit r15-4709-gb281e13ecad12d07209924a7282c53be3a1c3774 Author: Jonathan Wakely Date:

[Bug c/117305] include files processed differently depending on directory they were fetched from

2024-10-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117305 Andrew Pinski changed: What|Removed |Added Resolution|FIXED |INVALID --- Comment #3 from Andrew Pins

[Bug ipa/117315] [12/13/14/15 regression] Wireshark miscompiled with LTO since r11-5391-gbb07490abba850

2024-10-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117315 --- Comment #12 from Sam James --- (In reply to Andrew Pinski from comment #10) > And that is partly documented too: > from > https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Common-Function-Attributes. > html#index-malloc-function-attribute : > >

[Bug target/117316] New: [15 regression] gcc/config/riscv/riscv.cc:479:1: error: could not convert ‘...’ from ‘’ to ‘const riscv_tune_param’

2024-10-27 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117316 Bug ID: 117316 Summary: [15 regression] gcc/config/riscv/riscv.cc:479:1: error: could not convert ‘...’ from ‘’ to ‘const riscv_tune_param’ Product: gcc Version: 15.0 St

[Bug target/117316] [15 regression] gcc/config/riscv/riscv.cc:479:1: error: could not convert ‘...’ from ‘’ to ‘const riscv_tune_param’ since r15-4589-g078f7c4f1fcf4d

2024-10-27 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117316 Sam James changed: What|Removed |Added Summary|[15 regression] |[15 regression] |gcc/conf

[Bug ada/113972] ICE on container map for aggregate

2024-10-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113972 --- Comment #2 from Eric Botcazou --- The testcase is rejected on the mainline because of AI22-0002-1, which is a Binding Interpretation and thus is retroactively applied to Ada 2022: http://www.ada-auth.org/cgi-bin/cvsweb.cgi/ai22s/ai22-0002-

[Bug c/117305] include files processed differently depending on directory they were fetched from

2024-10-27 Thread joakim.rosqvist at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117305 Joakim Rosqvist changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment #2 from Joakim Rosq

[Bug ada/89786] ice in add_expr, at tree.c:7767

2024-10-27 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89786 --- Comment #4 from David Binderman --- (In reply to Eric Botcazou from comment #3) > I'll have a look. Did anything happen about this ? Bug still seems to be present.

[Bug ada/113972] ICE on container map for aggregate

2024-10-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113972 Eric Botcazou changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug ada/113781] Bug box on array initialisation with iterated aggregate component

2024-10-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113781 Eric Botcazou changed: What|Removed |Added Last reconfirmed|2024-02-14 00:00:00 |2024-10-27 Keywords|

[Bug fortran/115070] [13/14/15 Regression] ICE using IEEE_ARITHMETIC in a derived type method with class, intent(out)

2024-10-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115070 --- Comment #10 from GCC Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:ed8ca972f8857869d2bb4a416994bb896eb1c34e commit r15-4702-ged8ca972f8857869d2bb4a416994bb896eb1c34e Author: Paul Thomas Date: Sun

[Bug c/112716] LTO optimization with struct with variable size

2024-10-27 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112716 uecker at gcc dot gnu.org changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug ada/113781] internal error on naked iterated association in record aggregate

2024-10-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113781 --- Comment #4 from Eric Botcazou --- For example: p.adb:20:51: error: missing intermediate array aggregate

[Bug target/117319] New: ICE: in copy_to_mode_reg, at explow.cc:657 with -msm4 -mno-xsave and __builtin_ia32_vsm4key4256()

2024-10-27 Thread zsojka at seznam dot cz via Gcc-bugs
xtra-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 20241027 (experimental) (GCC)

[Bug ipa/117315] [12/13/14/15 regression] Wireshark miscompiled with LTO since r11-5391-gbb07490abba850

2024-10-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117315 --- Comment #11 from Andrew Pinski --- I have to double check something but this might be an abusing the malloc attribute. Specifically this part: "moreover no pointers to valid objects occur in any storage addressed by P." which is violated b

[Bug tree-optimization/111285] [12/13/14/15 Regression] vector ABSU is lowered incorrectly

2024-10-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111285 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/117312] RFE: x86 (and perhaps others): inline assembly: "red-zone" clobber

2024-10-27 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117312 ak at gcc dot gnu.org changed: What|Removed |Added CC||ak at gcc dot gnu.org --- Commen

[Bug tree-optimization/111285] [12/13/14/15 Regression] vector ABSU is lowered incorrectly

2024-10-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111285 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.5 Summary|vector ABSU is

[Bug debug/117320] New: wrong debug info for function with cold alternative (-g -O2)

2024-10-27 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117320 Bug ID: 117320 Summary: wrong debug info for function with cold alternative (-g -O2) Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal

[Bug debug/117320] wrong debug info for function with cold alternative (-g -O2)

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

[Bug fortran/117303] Link-time optimization optimizes away subroutine referred to via C_FUNLOC

2024-10-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117303 --- Comment #2 from anlauf at gcc dot gnu.org --- (In reply to Andrew Pinski from comment #1) > I suspect this might be a front end bug. The decls for the two functions > should be the same but I think they are different and that is causing the >

[Bug ipa/112601] [12/13/14/15 Regression] ICE in cgraph_node::verify_node(): error: invalid calls_comdat_local flag

2024-10-27 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112601 --- Comment #8 from Sergei Trofimovich --- Looking at `can_inline_edge_p()` I noticed that generally `gcc` disallows inlining callee's that call `comdat_local`: static bool can_inline_edge_p (struct cgraph_edge *e, bool report, bool early =

[Bug target/117318] ICE: in expand_simple_unop, at optabs.cc:2585 with __builtin_ia32_pmovusqb512mem_mask()

2024-10-27 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117318 --- Comment #1 from Zdenek Sojka --- Similar happens with __builtin_ia32_pmovsqw128mem_mask(): $ cat testcase-min0.i int foo0_u32_0; __attribute__((__vector_size__(2 * sizeof(long long long foo0_v128s64_0; char foo0_ret; void foo0() { __b