[Bug c++/109666] [13/14 Regression] Segmentation fault with std::array using gcc 13 since r13-6788

2023-05-02 Thread carlosgalvezp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109666 --- Comment #5 from Carlos Galvez --- This commit fixes all the ICEs on our side, thank you!

[Bug c++/109680] [13/14 Regression] is_convertible incorrectly true

2023-05-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109680 --- Comment #6 from Jakub Jelinek --- Not sure about the from case, but what do I know about C++? While To type is directly returned from a function, std::declval doesn't return >From but >From &&. #include using F1 = int (int); using T1 = int

[Bug c++/109678] [13/14 Regression] exponential time behavior on std::variant

2023-05-02 Thread geryemreis at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109678 --- Comment #2 from Gery Emreis --- Its not just about compilation time but also about RAM usage. Compilation of variation of std::variant as in provided example consumes unholy amounts of RAM which in the end makes some files uncompilable on my

[Bug c/109693] New: trivial: unused private field

2023-05-02 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109693 Bug ID: 109693 Summary: trivial: unused private field Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assign

[Bug libstdc++/109694] New: trivial: libstdc++-v3/src/c++98/ios_init.cc:203: alias between functions of incompatible types

2023-05-02 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109694 Bug ID: 109694 Summary: trivial: libstdc++-v3/src/c++98/ios_init.cc:203: alias between functions of incompatible types Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug tree-optimization/109689] [14 Regression] ICE at -O1 with "-ftree-vectorize": in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:645

2023-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109689 --- Comment #3 from Richard Biener --- LC SSA is broken by unloop_loops (). That introduces BB 19 which is [count: 0]: f.8_13 = (unsigned char) f_19; _14 = f.8_13 + 1; f_38 = (char) _14; _16 = a_lsm.17_51 + 1; __builtin_unreachable (); but t

[Bug tree-optimization/109672] [14 regression] many ICEs after r14-323-g977a43f5ba778b

2023-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109672 --- Comment #3 from Richard Biener --- I think the issue is rev. r14-322-g821ef93976e750. We enter with vector(2) short using SImode and a PLUS_EXPR. Then bool using_emulated_vectors_p = vect_emulated_vector_p (vectype); yields true, but w

[Bug tree-optimization/109672] [14 regression] many ICEs after r14-322-g821ef93976e750

2023-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109672 Richard Biener changed: What|Removed |Added Summary|[14 regression] many ICEs |[14 regression] many ICEs

[Bug libstdc++/109694] trivial: libstdc++-v3/src/c++98/ios_init.cc:203: alias between functions of incompatible types

2023-05-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109694 Jakub Jelinek changed: What|Removed |Added Version|13.0|14.0 Last reconfirmed|

[Bug libstdc++/109694] trivial: libstdc++-v3/src/c++98/ios_init.cc:203: alias between functions of incompatible types

2023-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109694 --- Comment #2 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:87de39e4c3686535728f3a347f772e73af4cf262 commit r14-389-g87de39e4c3686535728f3a347f772e73af4cf262 Author: Jakub Jelinek Date: Tu

[Bug libstdc++/109694] trivial: libstdc++-v3/src/c++98/ios_init.cc:203: alias between functions of incompatible types

2023-05-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109694 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/109667] [12/13/14 Regression] Unnecessary temporary storage used for 32-byte struct

2023-05-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109667 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug tree-optimization/109667] [12/13/14 Regression] Unnecessary temporary storage used for 32-byte struct

2023-05-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109667 --- Comment #3 from Jakub Jelinek --- So, either SRA should be tweaked so that it can deal with DSE trimming of initializations (I think that is the best way forward, after all, user could have done it manually too - struct i256 { long v[4];

[Bug tree-optimization/109672] [14 regression] many ICEs after r14-322-g821ef93976e750

2023-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109672 --- Comment #5 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:f385252b2336a4a57a30fddf82e558c73bcc85cc commit r14-391-gf385252b2336a4a57a30fddf82e558c73bcc85cc Author: Richard Biener Date:

[Bug tree-optimization/109672] [14 regression] many ICEs after r14-322-g821ef93976e750

2023-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109672 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/109695] New: crash in gimple_ranger::range_of_expr

2023-05-02 Thread dcb314 at hotmail dot com via Gcc-bugs
y's gcc: $ ~/gcc/results.20230502.asan.ubsan/bin/gcc -c -w bug914.cc gcc: internal compiler error: Segmentation fault signal terminated program cc1plus Please submit a full bug report, with preprocessed source (by using -freport-bug). See <https://gcc.gnu.org/bugs/> for instructions. $ It

[Bug c/109695] crash in gimple_ranger::range_of_expr

2023-05-02 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109695 David Binderman changed: What|Removed |Added CC||aldyh at redhat dot com --- Comment #

[Bug c/109695] crash in gimple_ranger::range_of_expr

2023-05-02 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109695 --- Comment #2 from David Binderman --- Created attachment 54967 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54967&action=edit gzipped C++ source code After an hour's reduction.

[Bug c/109696] New: ice: tree check fail

2023-05-02 Thread dcb314 at hotmail dot com via Gcc-bugs
does this: $ ~/gcc/results.20230502.asan.ubsan/bin/gcc -c -w -O2 bug915.c during IPA pass: inline bug915.c:7:1: internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in verify_range, at value-range.cc:1060 7 | wait_for_reply_avg() { sprint_tm(wait_for

[Bug target/109661] [13/14 Regression] ICE in aarch64_function_arg_alignment when building erlang

2023-05-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109661 --- Comment #5 from Jakub Jelinek --- Is it worth to test my patch or are you working on something more complete (say -Wpsabi warnings for cases where the ABI changes between 12.x, ICE in 13.1, fixed with different ABI for 13.2/14+?

[Bug tree-optimization/109696] [14 Regression] ice: tree check fail since r14-377

2023-05-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109696 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 Summary|ice: tree check f

[Bug target/109661] [13/14 Regression] ICE in aarch64_function_arg_alignment when building erlang

2023-05-02 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109661 --- Comment #6 from rsandifo at gcc dot gnu.org --- I'm working on a patch (though not literally right now).

[Bug ipa/106124] [11 Regression] ICE in dwarf2out_abstract_function, at dwarf2out.cc:23254

2023-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106124 --- Comment #9 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:1cfc7f22eb4587029624050006c2ab4e82e9a0b1 commit r11-10672-g1cfc7f22eb4587029624050006c2ab4e82e9a0b1 Author: Richard Biene

[Bug tree-optimization/108625] [11 Regression] forwprop introduces new UB

2023-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108625 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:a0a1905b26751acea523a3bf1bca68d4ddc55c09 commit r11-10675-ga0a1905b26751acea523a3bf1bca68d4ddc55c09 Author: Richard Biene

[Bug tree-optimization/108076] [10/11 Regression] GCC with -O3 produces code which fails to link

2023-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108076 --- Comment #9 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:893b9d8d7df3f6134aa4dd5f501db652448df41f commit r11-10674-g893b9d8d7df3f6134aa4dd5f501db652448df41f Author: Richard Biene

[Bug tree-optimization/107451] [11 Regression] Segmentation fault with vectorized code since r11-6434

2023-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107451 --- Comment #14 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:e74518e28d98994c2059063f339533d344db85e0 commit r11-10673-ge74518e28d98994c2059063f339533d344db85e0 Author: Richard Bien

[Bug rtl-optimization/109585] [10/11 regression] Carla/sord miscompiled with -O2 on ARM64 with flexible array member

2023-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109585 --- Comment #27 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:e54ecbcbe625847f384b11c41562038477a3eb2c commit r11-10678-ge54ecbcbe625847f384b11c41562038477a3eb2c Author: Richard Bien

[Bug tree-optimization/109473] [10/11 Regression] ICE during GIMPLE pass: vect: verify_gimple failed with -O1 -ftree-loop-vectorize since r10-4076-g82e8e335f917b9

2023-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109473 --- Comment #9 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:54ddf6426e04e4b0d24bbc7e37d40acbf5fbfe3b commit r11-10676-g54ddf6426e04e4b0d24bbc7e37d40acbf5fbfe3b Author: Richard Biene

[Bug tree-optimization/109502] [11 Regression] wrong code with -O -ftree-vectorize -fvect-cost-model=unlimited on aarch64

2023-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109502 --- Comment #9 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:7fc59677f7a9a2bff75e0002fef303a41a9ebe9d commit r11-10677-g7fc59677f7a9a2bff75e0002fef303a41a9ebe9d Author: Richard Biene

[Bug ipa/106124] [11 Regression] ICE in dwarf2out_abstract_function, at dwarf2out.cc:23254

2023-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106124 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Known to work|

[Bug tree-optimization/107451] [11 Regression] Segmentation fault with vectorized code since r11-6434

2023-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107451 Richard Biener changed: What|Removed |Added Known to work||11.3.1 Resolution|---

[Bug tree-optimization/108625] [11 Regression] forwprop introduces new UB

2023-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108625 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to fail|

[Bug tree-optimization/109502] [11 Regression] wrong code with -O -ftree-vectorize -fvect-cost-model=unlimited on aarch64

2023-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109502 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/109697] New: arm: lack of MVE instruction costing causing worse codegen on a vec_duplicate

2023-05-02 Thread stammark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109697 Bug ID: 109697 Summary: arm: lack of MVE instruction costing causing worse codegen on a vec_duplicate Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/109696] [14 Regression] ice: tree check fail since r14-377

2023-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109696 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/109695] [14 Regression] crash in gimple_ranger::range_of_expr

2023-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109695 Richard Biener changed: What|Removed |Added Version|13.0|14.0 Component|c

[Bug modula2/109675] GCC 13.1: the Modula-2 front-end fails to build on some platforms

2023-05-02 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109675 Gaius Mulley changed: What|Removed |Added Last reconfirmed||2023-05-02 Status|UNCONFIRME

[Bug tree-optimization/109573] [11 regression] ICE in vectorizable_live_operation, at tree-vect-loop.cc:9060 with -march=ivybridge since r11-3025-g095d42feed09f8

2023-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109573 Richard Biener changed: What|Removed |Added Target Milestone|11.5|11.4 Resolution|---

[Bug tree-optimization/109573] [11 regression] ICE in vectorizable_live_operation, at tree-vect-loop.cc:9060 with -march=ivybridge since r11-3025-g095d42feed09f8

2023-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109573 --- Comment #9 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:8ee420c763add757bfb7c451f3ec986046644021 commit r11-10679-g8ee420c763add757bfb7c451f3ec986046644021 Author: Richard Biene

[Bug lto/109263] [10/11 Regression] '-g0 -ggdb -flto' gives linker error

2023-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109263 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:d4baf9f030f3b61499f3e83a3f5fc39bc8427cb5 commit r11-10680-gd4baf9f030f3b61499f3e83a3f5fc39bc8427cb5 Author: Richard Biene

[Bug c++/109506] [10/11/12/13/14 regression] -fchecking=2 causes some template constructor not be instantiated when used with NSDMI

2023-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109506 --- Comment #11 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:9a9840cedbdc8be8252fd8f2d31d8fbd36632a2e commit r14-393-g9a9840cedbdc8be8252fd8f2d31d8fbd36632a2e Author: Patrick Palka Date: T

[Bug c++/109698] New: gcc/g++ build/link fails for libhwasan.so

2023-05-02 Thread dnewtonrichards at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109698 Bug ID: 109698 Summary: gcc/g++ build/link fails for libhwasan.so Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug sanitizer/109698] gcc/g++ build/link fails for libhwasan.so

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

[Bug sanitizer/109698] gcc/g++ build/link fails for libhwasan.so

2023-05-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109698 --- Comment #2 from Jakub Jelinek --- Seems binutils has added support for __ehdr_start only in https://sourceware.org/legacy-ml/binutils/2012-06/msg00171.html in 2012. Do you have binutils older than that?

[Bug fortran/55207] [F08] Variables declared in the main program should implicitly get the SAVE attribute

2023-05-02 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55207 --- Comment #24 from Tobias Burnus --- Created attachment 54968 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54968&action=edit WIP patch – still many testcase fails Patch to fixes some MODULE and PROGRAM issues with automatic save. TODO:

[Bug tree-optimization/108821] [11 Regression] LIM reissuing a violatile store when it cannot/should not

2023-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108821 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:bd0192968999661d103bb9d974a8ad3be4ef3d9b commit r11-10681-gbd0192968999661d103bb9d974a8ad3be4ef3d9b Author: Richard Biene

[Bug tree-optimization/108821] [11 Regression] LIM reissuing a violatile store when it cannot/should not

2023-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108821 Richard Biener changed: What|Removed |Added Known to fail||11.3.0 Known to work|

[Bug tree-optimization/109695] [14 Regression] crash in gimple_ranger::range_of_expr

2023-05-02 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109695 Aldy Hernandez changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |aldyh at gcc dot gnu.org

[Bug tree-optimization/109695] [14 Regression] crash in gimple_ranger::range_of_expr

2023-05-02 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109695 Aldy Hernandez changed: What|Removed |Added Last reconfirmed||2023-05-02 Status|UNCONFIR

[Bug c++/109645] [14 Regression] ICE in instantiate_decl, at cp/pt.cc:27097 since r14-283-g95d4c0d2e6318a

2023-05-02 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109645 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Sum

[Bug c++/109648] ICE: tree check: expected type_pack_expansion or expr_pack_expansion, have error_mark in tsubst_pack_expansion, at cp/pt.cc:13551 since r13-272-gdc6c96f0707aba

2023-05-02 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109648 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org,

[Bug libgcc/109685] [13/14 Regression] Memory leak in `__deregister_frame`

2023-05-02 Thread tneumann at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109685 --- Comment #1 from Thomas Neumann --- Created attachment 54969 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54969&action=edit fix for the issue

[Bug libgcc/109685] [13/14 Regression] Memory leak in `__deregister_frame`

2023-05-02 Thread tneumann at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109685 --- Comment #2 from Thomas Neumann --- I can reproduce the issue. The attached patch fixes the problem, I will send it for reviewing.

[Bug tree-optimization/109689] [14 Regression] ICE at -O1 with "-ftree-vectorize": in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:645 since r14-301-gf2d6beb7a4ddf1

2023-05-02 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109689 Martin Liška changed: What|Removed |Added Summary|[14 Regression] ICE at -O1 |[14 Regression] ICE at -O1

[Bug c++/109692] [12/13/14 Regression] ICE on concept as default template parameter to iife lambda in fold expression in static member template function since r12-8110-ge2c7070ac77405

2023-05-02 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109692 Martin Liška changed: What|Removed |Added Summary|ICE on concept as default |[12/13/14 Regression] ICE

[Bug c++/109679] export using for functions does not work as specified

2023-05-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109679 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2023-05-02 Status|UNCONFI

[Bug tree-optimization/109695] [14 Regression] crash in gimple_ranger::range_of_expr

2023-05-02 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109695 Aldy Hernandez changed: What|Removed |Added CC||amacleod at redhat dot com --- Comment

[Bug sanitizer/109698] gcc/g++ build/link fails for libhwasan.so

2023-05-02 Thread dnewtonrichards at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109698 --- Comment #3 from David Richards --- (In reply to Andrew Pinski from comment #1) > What version of ld is this? > > It might be bug there: > https://sourceware.org/bugzilla/show_bug.cgi?id=24458 ld --version: GNU ld (GNU Binutils for Debia

[Bug sanitizer/109698] gcc/g++ build/link fails for libhwasan.so

2023-05-02 Thread dnewtonrichards at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109698 --- Comment #4 from David Richards --- ld --version: GNU ld (GNU Binutils for Debian) 2.31.1 Copyright (C) 2018 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public Licen

[Bug target/109632] Inefficient codegen when complex numbers are emulated with structs

2023-05-02 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109632 --- Comment #10 from rsandifo at gcc dot gnu.org --- After prototyping this further, I no longer think that lowering at the gimple level is the best answer. (I should have listened to Richi.) Although it works, its major drawback is that it's

[Bug tree-optimization/109695] [14 Regression] crash in gimple_ranger::range_of_expr

2023-05-02 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109695 --- Comment #5 from Andrew Macleod --- have a look at the changes in waccess... this compiles fine with --disable-tree-waccess1

[Bug fortran/109699] New: With OpenACC reallocating a fortran pointer on a user type with allocatable fails.

2023-05-02 Thread patrick.begou--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109699 Bug ID: 109699 Summary: With OpenACC reallocating a fortran pointer on a user type with allocatable fails. Product: gcc Version: 14.0 Status: UNCONFIRMED Sever

[Bug target/109617] RISC-V: ICE for vlmul_ext_v intrinsic API

2023-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109617 --- Comment #1 from CVS Commits --- The master branch has been updated by Kito Cheng : https://gcc.gnu.org/g:1adb1a653d6739589b12337c974c7e741cfb187c commit r14-395-g1adb1a653d6739589b12337c974c7e741cfb187c Author: Yanzhang Wang Date: Wed A

[Bug target/109617] RISC-V: ICE for vlmul_ext_v intrinsic API

2023-05-02 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109617 Kito Cheng changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug sanitizer/109700] New: [13/14 regression] ICE with address sanitizer after declaring __builtin_alloca

2023-05-02 Thread jlegg at feralinteractive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109700 Bug ID: 109700 Summary: [13/14 regression] ICE with address sanitizer after declaring __builtin_alloca Product: gcc Version: 13.1.1 Status: UNCONFIRMED Severit

[Bug sanitizer/109700] [13/14 regression] ICE with address sanitizer after declaring __builtin_alloca

2023-05-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109700 Jakub Jelinek changed: What|Removed |Added Keywords||ice-on-invalid-code --- Comment #1 from

[Bug sanitizer/109700] [13/14 regression] ICE with address sanitizer after declaring __builtin_alloca

2023-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109700 --- Comment #2 from Andrew Pinski --- It is replacing __builtin_alloca with __builtin_alloca_with_align . __builtin_alloca is NOT known not to throw with the definition provided and that is the cause of the issue. Adding [[gnu::nothrow]] fixes t

[Bug middle-end/109650] avr-gcc incorrect code with -Os

2023-05-02 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109650 Georg-Johann Lay changed: What|Removed |Added CC||saaadhu at gcc dot gnu.org --- Comme

[Bug tree-optimization/109695] [14 Regression] crash in gimple_ranger::range_of_expr

2023-05-02 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109695 --- Comment #6 from Aldy Hernandez --- I forgot to add. Running with "ulimit -s unlimited" does not segfault.

[Bug libstdc++/103240] std::type_info::before gives wrong answer for ARM EABI

2023-05-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103240 --- Comment #6 from Jonathan Wakely --- (In reply to frankhb1989 from comment #5) > There are multiple issues. > > 1. The out-of-line definition and the inline definition of > std::type_info::before do different things. Specifically, only one n

[Bug fortran/109701] New: I have a MWE where an omp reduction breaks if I add the option for GPU offloading (even if it isn't used).

2023-05-02 Thread thomas.meltzer1 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109701 Bug ID: 109701 Summary: I have a MWE where an omp reduction breaks if I add the option for GPU offloading (even if it isn't used). Product: gcc Version: 12.2.0 Status: U

[Bug fortran/109701] I have a MWE where an omp reduction breaks if I add the option for GPU offloading (even if it isn't used).

2023-05-02 Thread thomas.meltzer1 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109701 --- Comment #1 from Thomas Meltzer --- Could be related to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99928 but I am not sure. In my case the GPU offloading should be ignored.

[Bug middle-end/109128] [Offload][OpenMP][OpenACC] Static linking with unused offload function will lead to mismatch number of offload fn/symbols

2023-05-02 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109128 --- Comment #7 from Tobias Burnus --- RFC with patch to extend the linker plugin API: linker side: https://sourceware.org/pipermail/binutils/2023-May/127271.html GCC side: https://gcc.gnu.org/pipermail/gcc-patches/2023-May/617277.html

[Bug tree-optimization/109702] New: [14 Regression] Wrong code with if and __builtin_bswap and others

2023-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109702 Bug ID: 109702 Summary: [14 Regression] Wrong code with if and __builtin_bswap and others Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: wrong-code

[Bug tree-optimization/109702] [14 Regression] Wrong code with if and __builtin_bswap and others

2023-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109702 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug sanitizer/109700] ICE with address sanitizer after declaring __builtin_alloca

2023-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109700 Andrew Pinski changed: What|Removed |Added Known to fail||10.1.0, 12.2.0, 8.1.0 Summar

[Bug sanitizer/109700] ICE with address sanitizer after declaring __builtin_alloca

2023-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109700 --- Comment #4 from Andrew Pinski --- Most likely started with r8-1884-ge3174bdf35c172f (just like PR 104449 ). PR 104449 was supposed to fix part of this but it seems like it didn't.

[Bug sanitizer/109700] ICE with address sanitizer after declaring __builtin_alloca

2023-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109700 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug fortran/109701] I have a MWE where an omp reduction breaks if I add the option for GPU offloading (even if it isn't used).

2023-05-02 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109701 anlauf at gcc dot gnu.org changed: What|Removed |Added Keywords||openmp --- Comment #2 from a

[Bug libstdc++/109703] New: __builtin_unreachable() reached

2023-05-02 Thread christian.morales.vega at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109703 Bug ID: 109703 Summary: __builtin_unreachable() reached Product: gcc Version: 13.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug sanitizer/109700] ICE with address sanitizer after declaring __builtin_alloca

2023-05-02 Thread jlegg at feralinteractive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109700 --- Comment #6 from James Legg --- Yes, declaring bulitin functions is bad, but I didn't expect the ICE. It wasn't done intentionally. glibc's alloca.h defines a alloca(s) macro as __builtin_alloca(s). I had some code defining _alloca as alloca

[Bug fortran/107000] ICE in gfc_real2complex, at fortran/arith.cc:2243

2023-05-02 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107000 anlauf at gcc dot gnu.org changed: What|Removed |Added Known to work||13.1.0 Status|AS

[Bug c++/109680] [13/14 Regression] is_convertible incorrectly true

2023-05-02 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109680 --- Comment #7 from Marek Polacek --- Ah, I think I see what's going on here. Once again, the problem is that this assert no longer passes: #include static_assert (!std::is_convertible_v , ""); std::is_convertible does To test() { return std

[Bug fortran/109701] I have a MWE where an omp reduction breaks if I add the option for GPU offloading (even if it isn't used).

2023-05-02 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109701 --- Comment #3 from anlauf at gcc dot gnu.org --- (In reply to Thomas Meltzer from comment #1) > Could be related to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99928 but I > am not sure. In my case the GPU offloading should be ignored. Replaci

[Bug c++/109640] Spurious Wdangling-reference for argument to temporary lambda cast to rvalue reference

2023-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109640 --- Comment #4 from CVS Commits --- The releases/gcc-13 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:6b927b1297e66e26e62e722bf15c921dcbbd25b9 commit r13-7276-g6b927b1297e66e26e62e722bf15c921dcbbd25b9 Author: Marek Polacek

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

2023-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109642 --- Comment #7 from CVS Commits --- The releases/gcc-13 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:6b927b1297e66e26e62e722bf15c921dcbbd25b9 commit r13-7276-g6b927b1297e66e26e62e722bf15c921dcbbd25b9 Author: Marek Polacek

[Bug c++/109671] Spurious dangling reference warning in GCC 13

2023-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109671 --- Comment #4 from CVS Commits --- The releases/gcc-13 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:6b927b1297e66e26e62e722bf15c921dcbbd25b9 commit r13-7276-g6b927b1297e66e26e62e722bf15c921dcbbd25b9 Author: Marek Polacek

[Bug target/89835] The RISC-V target uses amoswap.w for relaxed stores

2023-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89835 --- Comment #3 from CVS Commits --- The master branch has been updated by Patrick O'Neill : https://gcc.gnu.org/g:6a2383f47ae70c31f91775142b9fb03f697741c2 commit r14-403-g6a2383f47ae70c31f91775142b9fb03f697741c2 Author: Patrick O'Neill Date:

[Bug libstdc++/109703] [13/14 Regression] __builtin_unreachable() reached

2023-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109703 Andrew Pinski changed: What|Removed |Added Summary|__builtin_unreachable() |[13/14 Regression] |r

[Bug libstdc++/109703] [12/13/14 Regression] __builtin_unreachable() reached

2023-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109703 Andrew Pinski changed: What|Removed |Added Target Milestone|13.2|12.3 Summary|[13/14 Regressi

[Bug c/107127] [11 Regression] Long compile times on code with C complex since r11-3299-gcba079f354a55363

2023-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107127 --- Comment #12 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:21d09955d2b7755db7d5ba3cd4a314930b470da7 commit r11-10682-g21d09955d2b7755db7d5ba3cd4a314930b470da7 Author: Jakub Jelinek

[Bug c/107127] [11 Regression] Long compile times on code with C complex since r11-3299-gcba079f354a55363

2023-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107127 --- Comment #13 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:21ffe7bc50422bbf2fc844f4e69a16d7e8d35698 commit r11-10683-g21ffe7bc50422bbf2fc844f4e69a16d7e8d35698 Author: Jakub Jelinek

[Bug middle-end/107317] [10/11 Regression] ICE in emit_redzone_byte, at asan.cc:1508

2023-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107317 --- Comment #10 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:07b397d7720c062d91669d49fbfb644fb3eb81d8 commit r11-10684-g07b397d7720c062d91669d49fbfb644fb3eb81d8 Author: Jakub Jelinek

[Bug debug/106719] [10/11 Regression] '-fcompare-debug' failure w/ -O2 since r10-6038-ge5e07b68187b9a

2023-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106719 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:f187d4c17546df91c3b6b9c0912403d14c6eb3c8 commit r11-10686-gf187d4c17546df91c3b6b9c0912403d14c6eb3c8 Author: Jakub Jelinek

[Bug target/106875] [11 Regression] ICE in ix86_emit_outlined_ms2sysv_save with -mabi=ms -mcall-ms2sysv-xlogues and "#pragma GCC target" since r11-3183-gba948b37768c99cd

2023-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106875 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:511b878b6a808c3d46dccf806223a851e63ad562 commit r11-10685-g511b878b6a808c3d46dccf806223a851e63ad562 Author: Jakub Jelinek

[Bug rtl-optimization/106751] [10/11 Regression] internal compiler error: in purge_dead_edges with inline-asm goto

2023-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106751 --- Comment #16 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:945edfa2d24e310bf3549a16f2ea4c881a9a138a commit r11-10690-g945edfa2d24e310bf3549a16f2ea4c881a9a138a Author: Jakub Jelinek

[Bug tree-optimization/108095] powerpc-linux / powerpc64-linux: ICEs when building Linux's arch/powerpc/kernel/align.c (asm goto)

2023-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108095 --- Comment #11 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:9b580f5d7cb3c23866cdbd19e3c1bfc407e9e9c5 commit r11-10688-g9b580f5d7cb3c23866cdbd19e3c1bfc407e9e9c5 Author: Jakub Jelinek

[Bug tree-optimization/107997] [10/11/12/13 Regression] r13-4389-gfd8dd6c0384969 probably uncovered an issue building the Linux kernel

2023-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107997 --- Comment #15 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:5a0fd69bb3aa1709f0bea5d6b91fb30ca226c1ed commit r11-10687-g5a0fd69bb3aa1709f0bea5d6b91fb30ca226c1ed Author: Jakub Jelinek

[Bug testsuite/108151] gcc.dg/pr64536.c stores pointers in a long, broken for llp64

2023-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108151 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:ab03e6bdc590393a36d62cf14fe0280529c933ae commit r11-10692-gab03e6bdc590393a36d62cf14fe0280529c933ae Author: Jakub Jelinek

[Bug tree-optimization/108068] [10/11 Regression] decimal floating point signed zero is not honored

2023-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108068 --- Comment #15 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:d8f95474581843c605bb97ba83d482d642da3a1b commit r11-10695-gd8f95474581843c605bb97ba83d482d642da3a1b Author: Jakub Jelinek

  1   2   >