[Bug c++/108169] New: class type template parameters are non-const in GCC (differs from other compilers)

2022-12-19 Thread danakj at orodu dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108169 Bug ID: 108169 Summary: class type template parameters are non-const in GCC (differs from other compilers) Product: gcc Version: 13.0 Status: UNCONFIRMED Sever

[Bug analyzer/108171] New: [13 Regression] ICE in binding_key::make, at analyzer/store.cc:132

2022-12-19 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108171 Bug ID: 108171 Summary: [13 Regression] ICE in binding_key::make, at analyzer/store.cc:132 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-vali

[Bug fortran/108168] ICE in a simple module that almost any change eliminates

2022-12-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108168 Richard Biener changed: What|Removed |Added Last reconfirmed||2022-12-19 Ever confirmed|0

[Bug c++/108169] class type template parameters are const in GCC (differs from other compilers)

2022-12-19 Thread danakj at orodu dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108169 --- Comment #1 from danakj at orodu dot net --- Sorry I inverted my logic. In Clang and MSVC an `auto` class-type template parameter is not const. In GCC it is.

[Bug tree-optimization/108166] [12/13 Regression] Wrong code with -O2

2022-12-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108166 Richard Biener changed: What|Removed |Added Keywords||needs-bisection Priority|P3

[Bug tree-optimization/108164] [12/13 Regression] wrong code with "-O3 -fno-tree-dce" on x86_64-linux-gnu

2022-12-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108164 Richard Biener changed: What|Removed |Added Version|unknown |13.0 --- Comment #3 from Richard Biene

[Bug ada/108157] [12/13 regression] object subtype doesn't statically match designated subtype

2022-12-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108157 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.3 Priority|P3

[Bug c++/108173] New: GCC allows attributes in the wrong locations inside a cast

2022-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108173 Bug ID: 108173 Summary: GCC allows attributes in the wrong locations inside a cast Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: accepts-invalid

[Bug testsuite/108161] gcc.dg/ipa/pr96040.c fails with incorrect size_t assumption (snprintf, strspn)

2022-12-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108161 Richard Biener changed: What|Removed |Added Version|unknown |13.0 --- Comment #1 from Richard Biene

[Bug middle-end/108154] Inappropriate -Wstringop-overread in the C99 [static n] func param decl

2022-12-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108154 Richard Biener changed: What|Removed |Added CC||jsm28 at gcc dot gnu.org,

[Bug c++/108169] class type template parameters are const in GCC (differs from other compilers)

2022-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108169 --- Comment #2 from Andrew Pinski --- Hmm, take: ``` struct W { constexpr W(int i) : i(i) {} int i; }; template struct S { static constexpr decltype(V) &t = V; }; int main() { const W *t = &S::t; } ``` Clang produces: ``` :7:35

[Bug target/108172] New: [13 Regression] ICE in emit_move_multi_word, at expr.cc:4087

2022-12-19 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108172 Bug ID: 108172 Summary: [13 Regression] ICE in emit_move_multi_word, at expr.cc:4087 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[Bug target/108145] [13 regression] ICE in from_reg_br_prob_base, at profile-count.h:259

2022-12-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108145 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug testsuite/108150] gcc.dg/attr-aligned.c fails with incorrect max alignment

2022-12-19 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108150 --- Comment #1 from nightstrike --- Ok, that was dumb.. WINT_MAX is wide int max... hah. So maybe test for __CYGWIN__ || __WIN32__

[Bug target/106708] [rs6000] 64bit constant generation with oris xoris

2022-12-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106708 --- Comment #2 from CVS Commits --- The master branch has been updated by Jiu Fu Guo : https://gcc.gnu.org/g:97a8e88cd7d22562c0ea4f73687d3c93c21e12fb commit r13-4771-g97a8e88cd7d22562c0ea4f73687d3c93c21e12fb Author: Jiufu Guo Date: Mon Dec

[Bug other/108146] gcc -pg does not produce gmon.out

2022-12-19 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108146 --- Comment #5 from Martin Liška --- Btw. you can try the newly added gprofng that was added to binutils recently.

[Bug analyzer/108171] [13 Regression] ICE in binding_key::make, at analyzer/store.cc:132

2022-12-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108171 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.0 Priority|P3

[Bug fortran/108168] ICE in a simple module that almost any change eliminates

2022-12-19 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108168 Martin Liška changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug modula2/108122] gcc/testsuite/gm2/pimcoroutines/run/pass/testtime.mod runs too long

2022-12-19 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108122 --- Comment #3 from Martin Liška --- Thank you for the fix.

[Bug tree-optimization/108164] [12/13 Regression] wrong code with "-O3 -fno-tree-dce" on x86_64-linux-gnu since r12-5267-g540d92ae9b629eb4

2022-12-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108164 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/108166] [12/13 Regression] Wrong code with -O2 since r12-8078-ga42aa68bf1ad745a

2022-12-19 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108166 Martin Liška changed: What|Removed |Added Keywords|needs-bisection | Summary|[12/13 Regression] W

[Bug tree-optimization/108164] [12/13 Regression] wrong code with "-O3 -fno-tree-dce" on x86_64-linux-gnu since r12-5267-g540d92ae9b629eb4

2022-12-19 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108164 Martin Liška changed: What|Removed |Added Summary|[12/13 Regression] wrong|[12/13 Regression] wrong

[Bug target/108148] ICE on valid code with "-O3 -fno-inline-functions-called-once -fno-inline-small-functions -fno-tree-ccp -fno-tree-dce -fno-tree-vrp" on x86_64-linux-gnu: maximum number of generate

2022-12-19 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108148 Martin Liška changed: What|Removed |Added Resolution|--- |DUPLICATE CC|

[Bug target/108145] [13 regression] ICE in from_reg_br_prob_base, at profile-count.h:259

2022-12-19 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108145 Martin Liška changed: What|Removed |Added CC||zhendong.su at inf dot ethz.ch --- Comme

[Bug modula2/108153] Profiled lto bootstrap failure with modula2

2022-12-19 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108153 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Ever confi

[Bug target/108174] New: ICE: tree check: expected function_type or method_type, have ggc_freed in aarch64_resolve_overloaded_memtag, at config/aarch64/aarch64-builtins.cc:3349

2022-12-19 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108174 Bug ID: 108174 Summary: ICE: tree check: expected function_type or method_type, have ggc_freed in aarch64_resolve_overloaded_memtag, at config/aarch64/aarch64-buil

[Bug target/108172] [13 Regression] ICE in emit_move_multi_word, at expr.cc:4087

2022-12-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108172 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.0

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

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

[Bug rust/108113] Rust and --enable-link-serialization=1

2022-12-19 Thread dkm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108113 --- Comment #3 from Marc Poulhiès --- I can yes, but wasn't really sure and didn't want to interfere with Arthur ongoing work at updating the gcc's master branch with all the pending changes from github. Should I submit the patch for formal app

[Bug c++/108165] -Wdangling-reference false positive

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

[Bug fortran/107397] [10/11/12/13 Regression] ICE in gfc_arith_plus, at fortran/arith.cc:654

2022-12-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107397 --- Comment #11 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:03fb35f8753d87148b29b3f34b6154abe7db4c41 commit r13-4775-g03fb35f8753d87148b29b3f34b6154abe7db4c41 Author: Jakub Jelinek Date:

[Bug target/55522] -funsafe-math-optimizations is unexpectedly harmful, especially w/ -shared

2022-12-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55522 --- Comment #29 from Florian Weimer --- (In reply to H.J. Lu from comment #26) > Created attachment 53686 [details] > A patch not to add crtfastmath.o for -shared on x86 - "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \ + "%{

[Bug target/108174] ICE: tree check: expected function_type or method_type, have ggc_freed in aarch64_resolve_overloaded_memtag, at config/aarch64/aarch64-builtins.cc:3349

2022-12-19 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108174 --- Comment #1 from Arseny Solokha --- Created attachment 54124 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54124&action=edit Full compiler log with Valgrind report

[Bug fortran/108175] New: Target macros missing in gfortran with -cpp (C preprocessor)

2022-12-19 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108175 Bug ID: 108175 Summary: Target macros missing in gfortran with -cpp (C preprocessor) Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug other/108146] gcc -pg does not produce gmon.out

2022-12-19 Thread Sid.Touati at inria dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108146 --- Comment #6 from Sid.Touati at inria dot fr --- it seems that gprofng has not been integrated to fedora yet Le 19/12/2022 à 09:28, marxin at gcc dot gnu.org a écrit : > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108146 > > --- Comment #5 f

[Bug target/108140] ICE expanding __rbit

2022-12-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108140 --- Comment #6 from CVS Commits --- The master branch has been updated by Kyrylo Tkachov : https://gcc.gnu.org/g:98756bcbe27647f263f2b312d1d933d70cf56ba9 commit r13-4777-g98756bcbe27647f263f2b312d1d933d70cf56ba9 Author: Kyrylo Tkachov Date:

[Bug rust/108113] Rust and --enable-link-serialization=1

2022-12-19 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108113 Thomas Schwinge changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug rust/108113] Rust and --enable-link-serialization=1

2022-12-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108113 --- Comment #5 from Jakub Jelinek --- Yeah.

[Bug fortran/108175] Target macros missing in gfortran with -cpp (C preprocessor)

2022-12-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108175 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug ipa/108130] [13 Regression] LTO compile time hog seen on bootstrap-lto config since r13-4684-g7450b25566b7a7

2022-12-19 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108130 --- Comment #2 from Martin Liška --- Apparently, Godot links for more than 2 hours now: https://build.opensuse.org/package/live_build_log/home:marxin:home:marxin:gcc-periodic-testing-v2/godot/openSUSE_Tumbleweed/x86_64

[Bug tree-optimization/108164] [12/13 Regression] wrong code with "-O3 -fno-tree-dce" on x86_64-linux-gnu since r12-5267-g540d92ae9b629eb4

2022-12-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108164 --- Comment #6 from Richard Biener --- We vectorize [local count: 955630225]: # f_33 = PHI f.1_1 = (unsigned short) f_33; _2 = f.1_1 + 1; f_27 = (short int) _2; if (f_27 >= -1) goto ; [89.00%] else goto ; [11.00%] [

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

2022-12-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108151 --- Comment #2 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:ea37e96a37b50dad17b91d46edc518bbb9132d8e commit r13-4778-gea37e96a37b50dad17b91d46edc518bbb9132d8e Author: Jakub Jelinek Date: M

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

2022-12-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108151 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/108166] [12/13 Regression] Wrong code with -O2 since r12-8078-ga42aa68bf1ad745a

2022-12-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108166 --- Comment #3 from Jakub Jelinek --- Testcase without includes: bool a, b; int d, c; const int & foo (const int &f, const int &g) { return !f ? f : g; } __attribute__((noipa)) void bar (int) { } int main () { c = foo (b, 0) > ((b ? d : b

[Bug modula2/108176] New: Bootstrap fails with --with-build-config=bootstrap-ubsan

2022-12-19 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108176 Bug ID: 108176 Summary: Bootstrap fails with --with-build-config=bootstrap-ubsan Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal P

[Bug modula2/108176] Bootstrap fails with --with-build-config=bootstrap-ubsan

2022-12-19 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108176 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/108165] -Wdangling-reference false positive

2022-12-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108165 --- Comment #4 from Jonathan Wakely --- (In reply to Romain Geissler from comment #3) > In my real life case B was std::string and used a "string literal" at call > site, and I guess using the implicit conversion from const char[] to > std::stri

[Bug tree-optimization/108164] [12/13 Regression] wrong code with "-O3 -fno-tree-dce" on x86_64-linux-gnu since r12-5267-g540d92ae9b629eb4

2022-12-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108164 --- Comment #7 from Richard Biener --- Hmm, it's correct. short __attribute__((noipa)) foo(short f) { while (f >= -1) f++; return f; } int main () { if (foo (-1) != -32768) __builtin_abort (); return 0; } shows exactly the sam

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

2022-12-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108147 --- Comment #15 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:158b18ffa510105b239bd2f4a253ed33e21fcebc commit r13-4781-g158b18ffa510105b239bd2f4a253ed33e21fcebc Author: Jakub Jelinek Date:

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

2022-12-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108147 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

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

2022-12-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108151 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:6e85f89a7d59a99a3395b6e153b99262a58b2f6c commit r13-4783-g6e85f89a7d59a99a3395b6e153b99262a58b2f6c Author: Jakub Jelinek Date: M

[Bug analyzer/108171] [13 Regression] ICE in binding_key::make, at analyzer/store.cc:132 since r13-4529-gdfe2ef7f2b6cac70

2022-12-19 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108171 Martin Liška changed: What|Removed |Added Summary|[13 Regression] ICE in |[13 Regression] ICE in

[Bug target/108177] New: MVE predicated stores to same address get optimized away

2022-12-19 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108177 Bug ID: 108177 Summary: MVE predicated stores to same address get optimized away Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Prio

[Bug target/108177] MVE predicated stores to same address get optimized away

2022-12-19 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108177 --- Comment #1 from avieira at gcc dot gnu.org --- I noticed that for SVE stores seem to be marked as volatile memory accesses, I suspect it's because they are represented using masked stores which probably are by definition volatile (for this re

[Bug fortran/42954] [10/11/12/13 regression] TARGET_*_CPP_BUILTINS issues with gfortran

2022-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42954 --- Comment #38 from Andrew Pinski --- *** Bug 108175 has been marked as a duplicate of this bug. ***

[Bug fortran/108175] Target macros missing in gfortran with -cpp (C preprocessor)

2022-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108175 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/108172] [13 Regression] ICE in emit_move_multi_word, at expr.cc:4087 since r13-4616-g2cba118e538ba0

2022-12-19 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108172 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/108174] ICE: tree check: expected function_type or method_type, have ggc_freed in aarch64_resolve_overloaded_memtag, at config/aarch64/aarch64-builtins.cc:3349

2022-12-19 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108174 --- Comment #2 from Martin Liška --- Please attach pre-processed source file.

[Bug libstdc++/108178] New: Filesystem::copy_file can't copy from /proc on Linux machines

2022-12-19 Thread faivel555 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108178 Bug ID: 108178 Summary: Filesystem::copy_file can't copy from /proc on Linux machines Product: gcc Version: 11.3.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/108164] [12/13 Regression] wrong code with "-O3 -fno-tree-dce" on x86_64-linux-gnu since r12-5267-g540d92ae9b629eb4

2022-12-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108164 --- Comment #8 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:ec459469f8a75d96a9b26694554efcc900d411de commit r13-4794-gec459469f8a75d96a9b26694554efcc900d411de Author: Richard Biener Date:

[Bug tree-optimization/108164] [12 Regression] wrong code with "-O3 -fno-tree-dce" on x86_64-linux-gnu since r12-5267-g540d92ae9b629eb4

2022-12-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108164 Richard Biener changed: What|Removed |Added Known to work||13.0 Summary|[12/13 Regress

[Bug libstdc++/108178] Filesystem::copy_file can't copy from /proc on Linux machines

2022-12-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108178 --- Comment #1 from Richard Biener --- But that's a bug of the procfs filesystem, not of the standard library.

[Bug libstdc++/108178] Filesystem::copy_file can't copy from /proc on Linux machines

2022-12-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108178 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/108177] MVE predicated stores to same address get optimized away

2022-12-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108177 --- Comment #2 from Richard Biener --- I suspect (insn 10 9 11 2 (set (mem:V16QI (reg/v/f:SI 117 [ pa ]) [0 MEM[(signed char[16] *)pa_2(D)]+0 S16 A8]) (unspec:V16QI [ (reg/v:V16QI 116 [ a ]) (reg:V16BI 1

[Bug target/108172] [13 Regression] ICE in emit_move_multi_word, at expr.cc:4087 since r13-4616-g2cba118e538ba0

2022-12-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108172 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug libstdc++/108178] Filesystem::copy_file can't copy from /proc on Linux machines

2022-12-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108178 --- Comment #3 from Jonathan Wakely --- On the other hand, it's not a bug in /proc, because the size of some of those files might vary dynamically, and the size isn't known until you try to read it. So even if we got a size from stat, we might r

[Bug c++/64867] split warning for passing non-POD to varargs function from -Wconditionally-supported into new warning flag, -Wnon-pod-varargs

2022-12-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64867 --- Comment #32 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:263c22a95bc9a0d80c4873c0291b0f938cea7310 commit r13-4795-g263c22a95bc9a0d80c4873c0291b0f938cea7310 Author: Jason Merrill Date: M

[Bug c++/108179] New: [11/12 regression] ICE related to template template parameters in tsubst, at cp/pt.cc:15782

2022-12-19 Thread s at stu dot scot via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108179 Bug ID: 108179 Summary: [11/12 regression] ICE related to template template parameters in tsubst, at cp/pt.cc:15782 Product: gcc Version: 12.2.0 Status: UNCONFIRMED

[Bug c++/108179] [11/12/13 regression] ICE related to template template parameters in tsubst, at cp/pt.cc:15782

2022-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108179 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.4 Known to fail|

[Bug c++/108179] [11/12/13 regression] ICE related to template template parameters in tsubst, at cp/pt.cc:15782

2022-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108179 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-12-19 Status|UNCONFIRM

[Bug c/98487] ICE: tree check: expected identifier_node, have tree_list in is_attribute_p, at attribs.h:155 [C2X or C++11 attribute syntax, gnu::format and -Wsuggest-attribute=format] or a suggest wa

2022-12-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98487 --- Comment #6 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:68e51bd0a85794cd437d3e740357dfef84dc560d commit r13-4796-g68e51bd0a85794cd437d3e740357dfef84dc560d Author: Marek Polacek Date: Fri

[Bug c/98487] ICE: tree check: expected identifier_node, have tree_list in is_attribute_p, at attribs.h:155 [C2X or C++11 attribute syntax, gnu::format and -Wsuggest-attribute=format] or a suggest wa

2022-12-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98487 --- Comment #7 from CVS Commits --- The releases/gcc-12 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:0e345504ec9349d9a3bf826c3e16b7e973739485 commit r12-8993-g0e345504ec9349d9a3bf826c3e16b7e973739485 Author: Marek Polacek D

[Bug c/98487] ICE: tree check: expected identifier_node, have tree_list in is_attribute_p, at attribs.h:155 [C2X or C++11 attribute syntax, gnu::format and -Wsuggest-attribute=format] or a suggest wa

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

[Bug c/98487] ICE: tree check: expected identifier_node, have tree_list in is_attribute_p, at attribs.h:155 [C2X or C++11 attribute syntax, gnu::format and -Wsuggest-attribute=format] or a suggest wa

2022-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98487 Andrew Pinski changed: What|Removed |Added Known to fail||12.2.0 Known to work|

[Bug c++/107542] ICE in spaceship_comp_cat, at cp/method.cc:1055

2022-12-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107542 --- Comment #7 from CVS Commits --- The releases/gcc-12 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:37595f8354e3e48e4a1a94537f3d1ae095ed75df commit r12-8994-g37595f8354e3e48e4a1a94537f3d1ae095ed75df Author: Patrick Palka

[Bug c++/103081] [ICE] with "using enum"

2022-12-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103081 --- Comment #12 from CVS Commits --- The releases/gcc-12 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:648db321893acabd06c24da149c09fceab4daeff commit r12-8995-g648db321893acabd06c24da149c09fceab4daeff Author: Patrick Palka

[Bug c++/107417] g++ fails to recognize parameter pack in requires-expression

2022-12-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107417 --- Comment #4 from CVS Commits --- The releases/gcc-12 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:b428bb449be1bdbbd4000b51bb7c665981dc8c8f commit r12-8996-gb428bb449be1bdbbd4000b51bb7c665981dc8c8f Author: Patrick Palka

[Bug c++/108104] ICE in unify, at cp/pt.c:24333 with template partial specialization and pointer to memeber function and nullptr

2022-12-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108104 --- Comment #6 from CVS Commits --- The releases/gcc-12 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:6e09ca0cba625b8bb2ef50f9df726eb455ebb813 commit r12-8997-g6e09ca0cba625b8bb2ef50f9df726eb455ebb813 Author: Patrick Palka

[Bug c++/100295] Internal compiler error from generic lambda capturing parameter pack and expanding it in if constexpr

2022-12-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100295 --- Comment #8 from CVS Commits --- The releases/gcc-12 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:cdc1a14be1182874ccf1ceb27ee5b67c5ce8c62d commit r12-8998-gcdc1a14be1182874ccf1ceb27ee5b67c5ce8c62d Author: Patrick Palka

[Bug c++/107579] [11/12 Regression] ICE on fold-expression on .* member access operator since r12-2862-g9707d2e5dbb92d2b

2022-12-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107579 --- Comment #10 from CVS Commits --- The releases/gcc-12 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:cdc1a14be1182874ccf1ceb27ee5b67c5ce8c62d commit r12-8998-gcdc1a14be1182874ccf1ceb27ee5b67c5ce8c62d Author: Patrick Palka

[Bug c++/107542] ICE in spaceship_comp_cat, at cp/method.cc:1055

2022-12-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107542 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/103081] [ICE] with "using enum"

2022-12-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103081 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/107417] g++ fails to recognize parameter pack in requires-expression

2022-12-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107417 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/108104] ICE in unify, at cp/pt.c:24333 with template partial specialization and pointer to memeber function and nullptr

2022-12-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108104 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/101603] [meta-bug] pointer to member functions issues

2022-12-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101603 Bug 101603 depends on bug 108104, which changed state. Bug 108104 Summary: ICE in unify, at cp/pt.c:24333 with template partial specialization and pointer to memeber function and nullptr https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108104

[Bug modula2/108153] Profiled lto bootstrap failure with modula2

2022-12-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108153 --- Comment #4 from Jakub Jelinek --- I've tried to reproduce it on gcc112.fsffrance.org with ../configure --enable-languages=c,c++,lto,m2 --with-build-config=bootstrap-lto --enable-link-serialization=1 --disable-libsanitizer make -j160 profiled

[Bug target/108177] MVE predicated stores to same address get optimized away

2022-12-19 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108177 --- Comment #3 from avieira at gcc dot gnu.org --- The architecture describes it as only writing the true-predicated bytes and leaving the others untouched. I guess reading and writting to the same memory is the best we can do to 'mimic' that in

[Bug target/108174] ICE: tree check: expected function_type or method_type, have ggc_freed in aarch64_resolve_overloaded_memtag, at config/aarch64/aarch64-builtins.cc:3349

2022-12-19 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108174 --- Comment #3 from Arseny Solokha --- Created attachment 54127 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54127&action=edit Preprocessed testcase Though for that to ICE, I have to change an argument to --param ggc-min-expand from 3 t

[Bug target/108174] ICE: tree check: expected function_type or method_type, have ggc_freed in aarch64_resolve_overloaded_memtag, at config/aarch64/aarch64-builtins.cc:3349

2022-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108174 --- Comment #4 from Andrew Pinski --- (In reply to Arseny Solokha from comment #3) > Created attachment 54127 [details] > Preprocessed testcase > > Though for that to ICE, I have to change an argument to --param > ggc-min-expand from 3 to 1. R

[Bug c++/108180] New: [OpenMP] Passing a class member variable to firstprivate() erroneously calls its dtor

2022-12-19 Thread info--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108180 Bug ID: 108180 Summary: [OpenMP] Passing a class member variable to firstprivate() erroneously calls its dtor Product: gcc Version: 13.0 Status: UNCONFIRMED Se

[Bug c++/108181] New: [missed optimization] Call to virtual function under runtime index should be optimized into jump with an offset

2022-12-19 Thread m.cencora at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108181 Bug ID: 108181 Summary: [missed optimization] Call to virtual function under runtime index should be optimized into jump with an offset Product: gcc Version: 13.

[Bug middle-end/108181] [missed optimization] Call to virtual function under runtime index should be optimized into jump with an offset

2022-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108181 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Status|UNCONFIR

[Bug c/108043] [13 Regression] ICE: in fold_convert_loc, at fold-const.cc:2618 on invalid function braced initializer since r13-2205-g14cfa01755a66afb

2022-12-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108043 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:4e4620d8c796af482b57b94932618d1f9d9af9f7 commit r13-4797-g4e4620d8c796af482b57b94932618d1f9d9af9f7 Author: Jakub Jelinek Date: M

[Bug c/48341] LDBL_EPSILON is wrong on IRIX 6.5

2022-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48341 Andrew Pinski changed: What|Removed |Added Resolution|--- |WONTFIX Status|UNCONFIRMED

[Bug middle-end/47406] gcc.dg/torture/builtin-modf-1.c FAILs on IRIX 6.5

2022-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47406 Bug 47406 depends on bug 48341, which changed state. Bug 48341 Summary: LDBL_EPSILON is wrong on IRIX 6.5 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48341 What|Removed |Added --

[Bug c++/101886] [11/12/13 Regression][concepts TS] ICE with auto as template argument since r11-7011-g6e0a231a4aa2407b

2022-12-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101886 --- Comment #4 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:a7c8036b26082d8da001e05596777c5f911590e1 commit r13-4799-ga7c8036b26082d8da001e05596777c5f911590e1 Author: Patrick Palka Date: M

[Bug c++/100881] [modules] default arguments break when the default argument's type isn't explicitly included/exported

2022-12-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100881 --- Comment #1 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:64f7a3b38765bcf7cdf5b37a991c06337468ad8b commit r13-4800-g64f7a3b38765bcf7cdf5b37a991c06337468ad8b Author: Patrick Palka Date: M

[Bug c++/101886] [11/12 Regression][concepts TS] ICE with auto as template argument since r11-7011-g6e0a231a4aa2407b

2022-12-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101886 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/100881] [modules] default arguments break when the default argument's type isn't explicitly included/exported

2022-12-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100881 Patrick Palka changed: What|Removed |Added Target Milestone|--- |13.0 CC|

[Bug c++/103524] [meta-bug] modules issue

2022-12-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 100881, which changed state. Bug 100881 Summary: [modules] default arguments break when the default argument's type isn't explicitly included/exported https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100881 What

  1   2   >