[Bug c++/105550] Missing copy elision with conditional operator

2022-05-13 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105550 --- Comment #2 from Marek Polacek --- // PR c++/105550 struct A { const A *p = this; }; struct B { const B *p = this; constexpr operator A() { return {}; } }; struct E { A a1 = true ? A{} : A{}; A a2 = true ? A{} : B{}; A a3 =

[Bug c++/81952] copy elision used when constructor needs to be called

2022-05-13 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81952 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/81952] copy elision used when constructor needs to be called

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81952 --- Comment #3 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:62ecd2b8d46aaf96caef5fa78953216629e49ebd commit r13-460-g62ecd2b8d46aaf96caef5fa78953216629e49ebd Author: Marek Polacek Date: Fri

[Bug c++/81311] [7 Regression] An std::ref argument calls copy constructor instead of template constructor in C++17 mode

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81311 --- Comment #6 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:62ecd2b8d46aaf96caef5fa78953216629e49ebd commit r13-460-g62ecd2b8d46aaf96caef5fa78953216629e49ebd Author: Marek Polacek Date: Fri

[Bug c++/81952] copy elision used when constructor needs to be called

2022-05-13 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81952 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug target/105599] g++ by itself is not producing "fatal error: no input files" for darwin target

2022-05-13 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105599 Iain Sandoe changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug bootstrap/88633] stage2 failure due to undefined reference to libintl_dgettext on armv7l-linux-gnueabihf

2022-05-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88633 Jonathan Wakely changed: What|Removed |Added Resolution|FIXED |WORKSFORME --- Comment #2 from

[Bug go/83308] Missing platform definitions for SH in libgo

2022-05-13 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83308 Ian Lance Taylor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/105599] g++ by itself is not producing "fatal error: no input files" for darwin target

2022-05-13 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105599 --- Comment #2 from Iain Sandoe --- hmm .. that issue had been found and fixed, I will have to check what happened.

[Bug go/83308] Missing platform definitions for SH in libgo

2022-05-13 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83308 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug target/105599] g++ by itself is not producing "fatal error: no input files" for darwin target

2022-05-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105599 Andrew Pinski changed: What|Removed |Added Component|c++ |target Keywords|

[Bug bootstrap/88633] stage2 failure due to undefined reference to libintl_dgettext on armv7l-linux-gnueabihf

2022-05-13 Thread dclarke at blastwave dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88633 Dennis Clarke changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug lto/105600] ICE with LTO when building Mumble from git on arm64

2022-05-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105600 --- Comment #1 from Andrew Pinski --- >One issue is it seems like I can't find a way to keep all the temporary files >required. -save-temps is the best option there. Also see

[Bug libbacktrace/105590] GCC should give backtraces on Darwin when it ICEs

2022-05-13 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105590 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug tree-optimization/83907] missing strlen optimization for non-zero memset followed by a nul byte store

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83907 --- Comment #2 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:1fe04c497d5a16baee6af48a0b08ca99b75724e4 commit r13-455-g1fe04c497d5a16baee6af48a0b08ca99b75724e4 Author: Roger Sayle Date: Fri

[Bug lto/105600] New: ICE with LTO when building Mumble from git on arm64

2022-05-13 Thread sam at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105600 Bug ID: 105600 Summary: ICE with LTO when building Mumble from git on arm64 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug libstdc++/105580] [12/13 Regression] warning "potential null pointer dereference" raised when using istreambuf_iterator and any "-O" flag

2022-05-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105580 --- Comment #2 from Jonathan Wakely --- Might be due to the changes in r253417

[Bug c++/105599] New: g++ binary: undefined symbols _main referenced from __start in crt1.0

2022-05-13 Thread mario_grgic at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105599 Bug ID: 105599 Summary: g++ binary: undefined symbols _main referenced from __start in crt1.0 Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity:

[Bug c/78352] GCC lacks support for the Apple "blocks" extension to the C family of languages

2022-05-13 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78352 --- Comment #17 from Egor Pugin --- Iain, any chance of publishing your blocks patches as is? Also what's the status of apple m1 support? As I understand homebrew's gcc uses your patches, but I met blocks errors when building cmake in file that

[Bug libstdc++/105580] [12/13 Regression] warning "potential null pointer dereference" raised when using istreambuf_iterator and any "-O" flag

2022-05-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105580 Jason Merrill changed: What|Removed |Added Component|c++ |libstdc++ Summary|[12/13

[Bug c++/91706] [9/10 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in equate_type_number_to_die, at dwarf2out.c:5782

2022-05-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91706 Bug 91706 depends on bug 101078, which changed state. Bug 101078 Summary: [9/10 Regression] Rejected code since r12-1272-gf07edb5d7f3e7721 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101078 What|Removed

[Bug c++/101078] [9/10 Regression] Rejected code since r12-1272-gf07edb5d7f3e7721

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

[Bug c++/101078] [9/10 Regression] Rejected code since r12-1272-gf07edb5d7f3e7721

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101078 --- Comment #9 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:5b98dd6703aa1c4aa54de7b6079fd3dc39f7e66d commit r9-10180-g5b98dd6703aa1c4aa54de7b6079fd3dc39f7e66d Author: Jason Merrill

[Bug c++/105589] [12/13 Regression] [ICE] templated type alias over std::array with bound type in template function fails

2022-05-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105589 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug c++/101078] [9/10 Regression] Rejected code since r12-1272-gf07edb5d7f3e7721

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101078 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:259852261ed0044af584da91d30ae80f069a77c8 commit r10-10739-g259852261ed0044af584da91d30ae80f069a77c8 Author: Jason Merrill

[Bug fortran/105582] ICE on procedure pointer assignment inside block

2022-05-13 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105582 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/105230] [9/10/11/12/13 Regression] ICE in find_array_section, at fortran/expr.cc:1634

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105230 --- Comment #4 from CVS Commits --- The releases/gcc-12 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:0b9bdcf6857b48bb7a147a9778963c942ecb2dd9 commit r12-8375-g0b9bdcf6857b48bb7a147a9778963c942ecb2dd9 Author: Harald Anlauf

[Bug target/105552] munmap_chunk(): invalid pointer in __gmp_default_free on ia64

2022-05-13 Thread matoro_gcc_bugzilla at matoro dot tk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105552 matoro changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/105597] ice in type, at value-range.h:223

2022-05-13 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105597 Andrew Macleod changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c/105597] ice in type, at value-range.h:223

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105597 --- Comment #5 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:e97e99296505e6015bc9e281364818bb89ca8a49 commit r13-449-ge97e99296505e6015bc9e281364818bb89ca8a49 Author: Andrew MacLeod Date:

[Bug c++/99066] [9 Regression] non-weak definition emitted for explicit instantiation declaration

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

[Bug c++/105265] [9 Regression] temporary object not destructed causing memory leaks

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

[Bug c/105598] [11 Regression] Flag -O2 causes code to misbehave

2022-05-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105598 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |11.4 Keywords|

[Bug c++/99066] [9 Regression] non-weak definition emitted for explicit instantiation declaration

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99066 --- Comment #10 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:950a97a5039c7b96602edfdf8984b5800f5837f3 commit r9-10179-g950a97a5039c7b96602edfdf8984b5800f5837f3 Author: Jason Merrill

[Bug c++/100838] [11 Regression] -fno-elide-constructors for C++14 missing required destructor call since r11-5872-g4eb28483004f8291

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100838 --- Comment #10 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:200d477d3cb1593dbaa7739c6270e0a7f6c564cf commit r9-10178-g200d477d3cb1593dbaa7739c6270e0a7f6c564cf Author: Jason Merrill

[Bug c++/105265] [9 Regression] temporary object not destructed causing memory leaks

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105265 --- Comment #12 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:200d477d3cb1593dbaa7739c6270e0a7f6c564cf commit r9-10178-g200d477d3cb1593dbaa7739c6270e0a7f6c564cf Author: Jason Merrill

[Bug c++/58055] [meta-bug] RVO / NRVO improvements

2022-05-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58055 Bug 58055 depends on bug 91217, which changed state. Bug 91217 Summary: [9 Regression] Returning std::array from lambda results in an extra copy step on return https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91217 What|Removed

[Bug c++/91217] [9 Regression] Returning std::array from lambda results in an extra copy step on return

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

[Bug tree-optimization/105596] Loop counter widened to 128-bit unnecessarily

2022-05-13 Thread peter at cordes dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105596 --- Comment #1 from Peter Cordes --- https://godbolt.org/z/aoG55T5Yq gcc -O3 -m32 has the same problem with unsigned long long total and unsigned i. Pretty much identical instruction sequences in the loop for all 3 versions, doing add/adc to

[Bug c++/99643] [9 Regression] internal compiler error in build_over_call, involving array new and copy elision

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

[Bug c++/65211] [9 Regression] Type alignment lost inside templated function

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

[Bug c++/101698] [9 Regression] Template type conversion operator from base class preferred over matching overload

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

[Bug c++/101442] [9 Regression] Destructor not called for a temporary object, if it's bound to a ref member of an object subject to NRVO

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

[Bug c++/98249] [9 Regression] Improper ADL on the `arg` in `new (arg) T`

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

[Bug c++/104646] [9 Regression] ICE in cx_check_missing_mem_inits, at cp/constexpr.cc:845

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

[Bug c++/59950] [9 Regression] Bogus diagnostic "taking address of temporary" taking address of trivial no-op assignment to temporary with empty class

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

[Bug c/105598] New: Flag -O2 causes code to misbehave

2022-05-13 Thread greenfoo at u92 dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105598 Bug ID: 105598 Summary: Flag -O2 causes code to misbehave Product: gcc Version: 11.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/99901] [9 Regression] static const class var implemented with constexpr doesn't emit symbols in C++17 mode

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

[Bug c++/54367] [meta-bug] lambda expressions

2022-05-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 101717, which changed state. Bug 101717 Summary: [9 Regression] ICE capturing static member within stateless generic lambda https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101717 What|Removed

[Bug c++/101717] [9 Regression] ICE capturing static member within stateless generic lambda

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

[Bug c++/90664] [9 regression] noexcept confuses template argument deduction

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

[Bug c++/95870] [9 Regression] ICE (segmentation fault) in most_general_template(), in gcc/cp/pt.c

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

[Bug c/89180] [meta-bug] bogus/missing -Wunused warnings

2022-05-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89180 Bug 89180 depends on bug 96311, which changed state. Bug 96311 Summary: [9 Regression] false positive for -Wunused-but-set-variable (const/constexpr identifier used in generic lambda) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96311

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

2022-05-13 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 96311, which changed state. Bug 96311 Summary: [9 Regression] false positive for -Wunused-but-set-variable (const/constexpr identifier used in generic lambda) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96311

[Bug c++/96311] [9 Regression] false positive for -Wunused-but-set-variable (const/constexpr identifier used in generic lambda)

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

[Bug c++/96673] [9 Regression] Friend class with templates and default constructor not recognized in C++14 or later

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

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

2022-05-13 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 91933, which changed state. Bug 91933 Summary: [9 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in build_simple_base_path, at cp/class.c:541

[Bug c++/91933] [9 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in build_simple_base_path, at cp/class.c:541

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

[Bug c++/100032] [9/10 Regression] renaming alias template that also adds cv-qualifiers is deemed equivalent to underlying template

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

[Bug c++/91217] [9 Regression] Returning std::array from lambda results in an extra copy step on return

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91217 --- Comment #10 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:da999d938e516ff12b39a0aa7e8f6d97fbee60df commit r9-10177-gda999d938e516ff12b39a0aa7e8f6d97fbee60df Author: Jason Merrill

[Bug c++/99643] [9 Regression] internal compiler error in build_over_call, involving array new and copy elision

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99643 --- Comment #7 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:4231a43fd4ac6ccffd4d4b7cca70d45b2368cede commit r9-10176-g4231a43fd4ac6ccffd4d4b7cca70d45b2368cede Author: Jason Merrill

[Bug c++/65211] [9 Regression] Type alignment lost inside templated function

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65211 --- Comment #10 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:2a9658132c449e48e1c3532190c8ab72f4bbe788 commit r9-10175-g2a9658132c449e48e1c3532190c8ab72f4bbe788 Author: Jason Merrill

[Bug c++/101698] [9 Regression] Template type conversion operator from base class preferred over matching overload

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101698 --- Comment #6 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:de0b78d1e75e9483b4550abc38b9199c96465dc5 commit r9-10174-gde0b78d1e75e9483b4550abc38b9199c96465dc5 Author: Jason Merrill

[Bug c++/101442] [9 Regression] Destructor not called for a temporary object, if it's bound to a ref member of an object subject to NRVO

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101442 --- Comment #9 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:48b8d5e028abee8869de946bbd7d24d746655d88 commit r9-10173-g48b8d5e028abee8869de946bbd7d24d746655d88 Author: Jason Merrill

[Bug c++/98249] [9 Regression] Improper ADL on the `arg` in `new (arg) T`

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98249 --- Comment #6 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:86d50501e487597d8b97f40d1c87dfcd694a9441 commit r9-10172-g86d50501e487597d8b97f40d1c87dfcd694a9441 Author: Jason Merrill

[Bug c++/104646] [9 Regression] ICE in cx_check_missing_mem_inits, at cp/constexpr.cc:845

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104646 --- Comment #6 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:7b4bd8dbd8d07e298528b0f033102ce8f693e739 commit r9-10171-g7b4bd8dbd8d07e298528b0f033102ce8f693e739 Author: Jason Merrill

[Bug c++/59950] [9 Regression] Bogus diagnostic "taking address of temporary" taking address of trivial no-op assignment to temporary with empty class

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59950 --- Comment #11 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:3daf541e8fe2dd0807a3dd49a9b8c065d7d46731 commit r9-10170-g3daf541e8fe2dd0807a3dd49a9b8c065d7d46731 Author: Jason Merrill

[Bug c++/99901] [9 Regression] static const class var implemented with constexpr doesn't emit symbols in C++17 mode

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99901 --- Comment #10 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:623842bead8452c03f2b1c6817f2a86a1d2d4d12 commit r9-10169-g623842bead8452c03f2b1c6817f2a86a1d2d4d12 Author: Jason Merrill

[Bug c++/101717] [9 Regression] ICE capturing static member within stateless generic lambda

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101717 --- Comment #10 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:7ce3d2ab2a1a144f94a3a9be716fb831cb76603b commit r9-10168-g7ce3d2ab2a1a144f94a3a9be716fb831cb76603b Author: Jason Merrill

[Bug c++/90664] [9 regression] noexcept confuses template argument deduction

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90664 --- Comment #7 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:45fb36bf93a7cc6506c2a12f9c4aa3981f4e6b44 commit r9-10167-g45fb36bf93a7cc6506c2a12f9c4aa3981f4e6b44 Author: Jason Merrill

[Bug c++/95870] [9 Regression] ICE (segmentation fault) in most_general_template(), in gcc/cp/pt.c

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95870 --- Comment #14 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:cf475f6e23581b1766e508dba81171de8f81b180 commit r9-10166-gcf475f6e23581b1766e508dba81171de8f81b180 Author: Jason Merrill

[Bug c++/96311] [9 Regression] false positive for -Wunused-but-set-variable (const/constexpr identifier used in generic lambda)

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96311 --- Comment #11 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:aa3e2a211933efaeb6ecd0a69f196606b8a40b43 commit r9-10165-gaa3e2a211933efaeb6ecd0a69f196606b8a40b43 Author: Jason Merrill

[Bug c++/96673] [9 Regression] Friend class with templates and default constructor not recognized in C++14 or later

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96673 Jason Merrill changed: What|Removed |Added Summary|[9/10 Regression] Friend|[9 Regression] Friend class

[Bug c++/91933] [9 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in build_simple_base_path, at cp/class.c:541

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91933 --- Comment #11 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:370440f9f9860b59686138cf5213601cf6dda812 commit r9-10163-g370440f9f9860b59686138cf5213601cf6dda812 Author: Jason Merrill

[Bug c++/100032] [9/10 Regression] renaming alias template that also adds cv-qualifiers is deemed equivalent to underlying template

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100032 --- Comment #8 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:945c2afcb390dd040510ee7a2dc996ad204031c5 commit r9-10162-g945c2afcb390dd040510ee7a2dc996ad204031c5 Author: Jason Merrill

[Bug c++/67184] Missed optimization with C++11 final specifier

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67184 --- Comment #20 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:30a100abe48cebcdf3d685e856850d4192f05ad9 commit r9-10161-g30a100abe48cebcdf3d685e856850d4192f05ad9 Author: Jakub Jelinek

[Bug tree-optimization/69445] Fail to devirtualize call to base class function even though derived class type is 'final'

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69445 --- Comment #9 from CVS Commits --- The releases/gcc-9 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:30a100abe48cebcdf3d685e856850d4192f05ad9 commit r9-10161-g30a100abe48cebcdf3d685e856850d4192f05ad9 Author: Jakub Jelinek

[Bug c/105597] ice in type, at value-range.h:223

2022-05-13 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105597 Marek Polacek changed: What|Removed |Added Last reconfirmed||2022-05-13 CC|

[Bug c/105597] ice in type, at value-range.h:223

2022-05-13 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105597 --- Comment #3 from David Binderman --- Reduced C code seems to be: typedef struct { int allocated; } vvec; int vvneeds_want, mgpssort; void vvinit(vvec *v, int minelems) { v->allocated = -minelems; } void vvneeds(vvec *v, int needed) { if

[Bug fortran/105594] -Wuse-without-only issued for any submodule

2022-05-13 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105594 kargl at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1

[Bug c/105597] ice in type, at value-range.h:223

2022-05-13 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105597 Andrew Macleod changed: What|Removed |Added CC||amacleod at redhat dot com ---

[Bug c++/65211] [9/10 Regression] Type alignment lost inside templated function

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65211 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:4b0c04f6b1c96f9baa7620c152b28e723212f955 commit r10-10738-g4b0c04f6b1c96f9baa7620c152b28e723212f955 Author: Jason Merrill

[Bug c++/101698] [9/10 Regression] Template type conversion operator from base class preferred over matching overload

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101698 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:f06e1ff97cb383118afed4c87dfa104e7c4b141d commit r10-10737-gf06e1ff97cb383118afed4c87dfa104e7c4b141d Author: Jason Merrill

[Bug c++/101442] [9/10 Regression] Destructor not called for a temporary object, if it's bound to a ref member of an object subject to NRVO

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101442 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:54d1992376d7880a88778dab20a7cfe8cde32bc3 commit r10-10736-g54d1992376d7880a88778dab20a7cfe8cde32bc3 Author: Jason Merrill

[Bug c++/99066] [9/10 Regression] non-weak definition emitted for explicit instantiation declaration

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99066 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:20b503f1125c0b0a7f4b2bb1214d4a3cc6fd9f70 commit r10-10735-g20b503f1125c0b0a7f4b2bb1214d4a3cc6fd9f70 Author: Jason Merrill

[Bug c++/91241] [9/10 Regression] internal compiler error: symtab_node::verify failed

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91241 --- Comment #19 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:a86e0cadefe5a2469bb9872bb5b93017ccb23935 commit r10-10734-ga86e0cadefe5a2469bb9872bb5b93017ccb23935 Author: Jason Merrill

[Bug c++/86355] [9/10 Regression] Internal compiler error with pack expansion and fold expression

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86355 --- Comment #10 from CVS Commits --- The releases/gcc-10 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:aa030fca4b7257656aa6bfe879d79a332b3c39ea commit r10-10733-gaa030fca4b7257656aa6bfe879d79a332b3c39ea Author: Jason Merrill

[Bug target/105162] [AArch64] outline-atomics drops dmb ish barrier on __sync builtins

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105162 --- Comment #9 from CVS Commits --- The master branch has been updated by Sebastian Pop : https://gcc.gnu.org/g:bc25483c055d62f94f8c289f80843dda3c4a6ff4 commit r13-446-gbc25483c055d62f94f8c289f80843dda3c4a6ff4 Author: Sebastian Pop Date:

[Bug target/105576] x86: Support a machine constraint to get raw symbol name

2022-05-13 Thread i at maskray dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105576 --- Comment #5 from Fangrui Song --- (In reply to Hongtao.liu from comment #4) > constraint "i" + "%p0"? > > asm (".pushsection .xxx,\"aw\"; .dc.a %p0; .popsection" :: "i"(addr)); // > supported on aarch64 and riscv > asm (".pushsection

[Bug c/105597] ice in type, at value-range.h:223

2022-05-13 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105597 --- Comment #1 from David Binderman --- The bug seems to have started recently, between git hash 5b2a24ebfc0b2b4c and 98e475a8f58ca3ba, a distance of 111 commits.

[Bug target/105593] avx512 math function raises uninitialized variable warning

2022-05-13 Thread rogerio.souza at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105593 --- Comment #3 from Rogério de Souza Moraes --- The code attached in the previous comment triggers the "warning: '__Y' is used uninitialized [-Wuninitialized]". The command line to compile it is:

[Bug c/105597] New: ice in type, at value-range.h:223

2022-05-13 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105597 Bug ID: 105597 Summary: ice in type, at value-range.h:223 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug target/105593] avx512 math function raises uninitialized variable warning

2022-05-13 Thread rogerio.souza at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105593 --- Comment #2 from Rogério de Souza Moraes --- Created attachment 52971 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52971=edit C code to trigger the uninitialized warning The C code attached reproduces the uninitialized warning when

[Bug debug/105586] [11/12/13 Regression] -fcompare-debug failure (length) with -O2 -fno-if-conversion -mtune=power4 -fno-guess-branch-probability

2022-05-13 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105586 --- Comment #2 from Segher Boessenkool --- We have +(debug_insn 11 10 81 2 (var_location:QI u8_1 (mem/c:QI (plus:DI (unspec:DI [ +(symbol_ref:DI ("*.LANCHOR0") [flags 0x182]) +(reg:DI 2 2) +

[Bug tree-optimization/105596] New: Loop counter widened to 128-bit unnecessarily

2022-05-13 Thread peter at cordes dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105596 Bug ID: 105596 Summary: Loop counter widened to 128-bit unnecessarily Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug sanitizer/105592] array out of bound not detected by ubsan

2022-05-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105592 --- Comment #3 from Jakub Jelinek --- Note, the -fsanitize=bounds instrumentation is done when taking the address, at that point the compiler doesn't know if it will be dereferenced or not, and especially with -O0 it won't at all. As #c2 says,

[Bug c++/101442] [9/10/11 Regression] Destructor not called for a temporary object, if it's bound to a ref member of an object subject to NRVO

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101442 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:f9e356458d8f14b5a82f3244385ce814903fc02b commit r11-9995-gf9e356458d8f14b5a82f3244385ce814903fc02b Author: Jason Merrill

[Bug c++/101698] [9/10/11 Regression] Template type conversion operator from base class preferred over matching overload

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101698 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:5c6577dcf1d413582775063c905d917e21bf0eba commit r11-9994-g5c6577dcf1d413582775063c905d917e21bf0eba Author: Jason Merrill

[Bug c++/65211] [9/10/11 Regression] Type alignment lost inside templated function

2022-05-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65211 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:e60f7127b3282e0201a1bba8ff550dc3c3fdbe61 commit r11-9993-ge60f7127b3282e0201a1bba8ff550dc3c3fdbe61 Author: Jason Merrill

[Bug c++/105595] New: Coroutines can trigger -Wsubobject-linkage

2022-05-13 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105595 Bug ID: 105595 Summary: Coroutines can trigger -Wsubobject-linkage Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

  1   2   >