[Bug c++/106821] Incorrect behavior when using type alias template containing unevaluated lambda expression in a template context

2022-10-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106821 --- Comment #3 from Andrew Pinski --- Created attachment 53753 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53753&action=edit testcase 3

[Bug c++/106821] Incorrect behavior when using type alias template containing unevaluated lambda expression in a template context

2022-10-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106821 Andrew Pinski changed: What|Removed |Added Depends on||106221 --- Comment #4 from Andrew Pinsk

[Bug other/107353] New: [13 regression] Numerous ICEs after 13-3416-g1d561e1851c466

2022-10-21 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107353 Bug ID: 107353 Summary: [13 regression] Numerous ICEs after 13-3416-g1d561e1851c466 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal P

[Bug c++/106821] Incorrect behavior when using type alias template containing unevaluated lambda expression in a template context

2022-10-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106821 --- Comment #5 from Andrew Pinski --- Actually I think all three examples are that other PR.

[Bug c++/107352] polymorphic class with destroying delete operator defined causes internal compiler error

2022-10-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107352 Andrew Pinski changed: What|Removed |Added Known to fail||12.2.0, 9.1.0 Last reconfirmed|

[Bug c++/107352] polymorphic class with destroying delete operator defined causes internal compiler error

2022-10-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107352 --- Comment #6 from Andrew Pinski --- Slightly more reduced: namespace std { struct destroying_delete_t { }; } struct hh { virtual ~hh(); static void operator delete(hh* ptr, std::destroying_delete_t) noexcept; }; class jj : vir

[Bug other/107353] [13 regression] Numerous ICEs after 13-3416-g1d561e1851c466

2022-10-21 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107353 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c/106764] [12/13 Regression] ICE on invalid code in tree check: expected function_type or method_type, have error_mark in gimplify_call_expr, at gimplify.cc

2022-10-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106764 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.3 Summary|ICE on invalid

[Bug middle-end/106799] `forming offset [32, 36] is out of the bounds` error with precompiled headers

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

[Bug fortran/106790] Weird SIGSEV using polymorphic routine with "select type" and optimization (-O3)

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

[Bug libstdc++/105562] [12 Regression] std::function::_M_invoker may be used uninitialized in std::regex move with -fno-strict-aliasing

2022-10-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105562 Andrew Pinski changed: What|Removed |Added CC||vincent.lextrait at gmail dot com ---

[Bug libstdc++/106780] gcc maybe-uninitialized warning on std_function.h

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

[Bug middle-end/106776] Unexpected use-after-free warning

2022-10-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106776 --- Comment #3 from Andrew Pinski --- Before PRE [/opt/compiler-explorer/gcc-12.2.0/include/c++/12.2.0/bits/stl_tree.h:1061:28] __position ={v} {CLOBBER(eol)}; [/app/example.cpp:25:62] _4 = [/app/example.cpp:25:10] &[/app/example.cpp:25:62]

[Bug middle-end/106776] Unexpected use-after-free warning

2022-10-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106776 --- Comment #4 from Andrew Pinski --- Here is a reduced testcase without any std::map or otherwise: ``` struct matrix_t { int* count; matrix_t() : count(new int(1)) {} matrix_t(const matrix_t& p) : count(p.count) { ++*count; }

[Bug middle-end/106776] Unexpected use-after-free warning

2022-10-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106776 --- Comment #5 from Andrew Pinski --- (In reply to Leandro Nini from comment #2) > Oh, now I see it, it wasn't that obvious in the first test. But why is the > compiler allowed to postpone the store after deleting the pointer? Is there > some un

[Bug middle-end/106080] Labels as values triggering -Wdangling-pointer

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

[Bug c++/107354] New: gcc and clang give different answers for this arithmetic expression

2022-10-21 Thread luydorarko at vusra dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107354 Bug ID: 107354 Summary: gcc and clang give different answers for this arithmetic expression Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal

[Bug c++/107354] gcc and clang give different answers for this arithmetic expression

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

[Bug c++/107354] gcc and clang give different answers for this arithmetic expression

2022-10-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107354 --- Comment #2 from Andrew Pinski --- Plus from https://gcc.gnu.org/bugs/ : Before reporting that GCC compiles your code incorrectly, compile it with gcc -Wall -Wextra and see whether this shows anything wrong with your code.

[Bug c++/107354] gcc and clang give different answers for this arithmetic expression

2022-10-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107354 --- Comment #3 from Andrew Pinski --- And even more from https://gcc.gnu.org/bugs/#known : Increment/decrement operator (++/--) not working as expected - a problem with many variations.

[Bug tree-optimization/106717] [13 Regression] ICE: tree check: expected integer_cst, have poly_int_cst in get_len, at tree.h:6247

2022-10-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106717 --- Comment #1 from Andrew Pinski --- This works on the trunk as far as I can tell.

[Bug tree-optimization/101706] bool0^bool1^1 -> bool0 == bool1

2022-10-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101706 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug tree-optimization/98709] gcc optimizes bitwise operations, but doesn't optimize logical ones

2022-10-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98709 Bug 98709 depends on bug 101706, which changed state. Bug 101706 Summary: bool0^bool1^1 -> bool0 == bool1 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101706 What|Removed |Added -

[Bug target/106113] wrong codegen for _mm_[u]comineq_{ss,sd} and need to return PF result.

2022-10-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106113 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug c++/106111] -Wc++20-compat doesn't warn about using `requires` as an identifier

2022-10-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106111 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug middle-end/107355] New: [13 Regression] ICE: in lower_bound, at value-range.h:350 with -fsanitize=float-cast-overflow

2022-10-21 Thread zsojka at seznam dot cz via Gcc-bugs
isl --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu --with-ld=/usr/bin/x86_64-pc-linux-gnu-ld --with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r13-3440-20221021201743-g4cfdaeb2755-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 13.0.0 20221021 (experimental) (GCC)

[Bug tree-optimization/106717] [13 Regression] ICE: tree check: expected integer_cst, have poly_int_cst in get_len, at tree.h:6247

2022-10-21 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106717 --- Comment #2 from Arseny Solokha --- Indeed, this particular case works now.

<    1   2