[Bug middle-end/109395] -Wvla-larger-than has no effect when compiling without optimizations

2023-04-03 Thread dev at joren dot ga via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109395 --- Comment #9 from Jakub Łukasiewicz --- (In reply to Andrew Pinski from comment #7) > Yes and that is still a VLA in terms of C99 definition ... Indeed, but we only want to prevent automatic VLA, all other instances of VM types are even encou

[Bug c/108896] provide "element_count" attribute to give more context to __builtin_dynamic_object_size() and -fsanitize=bounds

2023-04-03 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108896 --- Comment #36 from Martin Uecker --- Am Montag, dem 03.04.2023 um 20:29 + schrieb qinzhao at gcc dot gnu.org: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108896 > > --- Comment #35 from qinzhao at gcc dot gnu.org --- > (In reply to Mar

[Bug c++/109396] New: Winit-self doesn't warn when std::move()-d

2023-04-03 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109396 Bug ID: 109396 Summary: Winit-self doesn't warn when std::move()-d Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/109300] [13 Regression] ICE in cp_finish_decl, at cp/decl.cc:8279 since r13-6380-gd3d205ab44088616

2023-04-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109300 --- Comment #3 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:c37ed38ada788ae410c48ec6d8c9b5d9f32ab8cf commit r13-6989-gc37ed38ada788ae410c48ec6d8c9b5d9f32ab8cf Author: Patrick Palka Date: M

[Bug c++/109300] [13 Regression] ICE in cp_finish_decl, at cp/decl.cc:8279 since r13-6380-gd3d205ab44088616

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

[Bug tree-optimization/109392] [12/13 Regression] ICE in tree_vec_extract, at tree-vect-generic.cc:177

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

[Bug tree-optimization/109392] [12/13 Regression] ICE in tree_vec_extract, at tree-vect-generic.cc:177

2023-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109392 --- Comment #2 from Andrew Pinski --- here is a better testcase which does not use vfork which is implicit returns_twice: ``` typedef short __attribute__ ((__vector_size__ (64))) V; V v, w; void g(void) __attribute__((returns_twice)); V foo (V a

[Bug libstdc++/109383] [QoI] std::type_index::operator<=> should not call __builtin_strcmp twice

2023-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109383 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/109396] Winit-self doesn't warn when std::move()-d

2023-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109396 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/88245] Wrong location for "explicitly defaulted here"

2023-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88245 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/109387] "definition of explicitly-defaulted" error with explicit template instantiation

2023-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109387 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/109390] Does not reject specialized non-type argument of dependent type in class template partial specialization

2023-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109390 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/109390] Does not reject specialized non-type argument of dependent type in class template partial specialization

2023-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109390 --- Comment #2 from Andrew Pinski --- https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#2127

[Bug analyzer/108100] GCC Static Analyzer does not know "(a || b) == true" in the true branch of "if (a || b) "

2023-04-03 Thread geoffreydgr at icloud dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108100 --- Comment #1 from Geoffrey --- Hi, David. Could you spare some time to explain why GSA cannot handle `||`? Will you fix this? I'd like to contribute. Thanks a lot!

[Bug analyzer/108767] O2 optimization has side effects on static analysis.

2023-04-03 Thread geoffreydgr at icloud dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108767 --- Comment #1 from Geoffrey --- Hi, David, do you have any idea about why -O2 can lead to a FP?

[Bug c++/109397] New: [concepts] Unexpected "satisfaction of atomic constraint ... depends on itself"

2023-04-03 Thread catsith at me dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109397 Bug ID: 109397 Summary: [concepts] Unexpected "satisfaction of atomic constraint ... depends on itself" Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severi

[Bug c++/109397] [concepts] Unexpected "satisfaction of atomic constraint ... depends on itself"

2023-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109397 --- Comment #1 from Andrew Pinski --- See http://wg21.link/cwg2369 also

[Bug c++/107484] [13 Regression] ICE: Segmentation fault (in decls_match)

2023-04-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107484 --- Comment #3 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:0dfbb28a9549c2503204b0338bf550f1bff9c681 commit r13-6992-g0dfbb28a9549c2503204b0338bf550f1bff9c681 Author: Jason Merrill Date: Mo

[Bug c++/107484] [13 Regression] ICE: Segmentation fault (in decls_match)

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

[Bug c++/109277] [13 Regression] type_traits:1417:30: error: invalid use of incomplete type ‘class v8::internal::WasmArray’

2023-04-03 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109277 --- Comment #12 from Jason Merrill --- Created attachment 54806 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54806&action=edit patch to allow with -fpermissive Here's an (untested) possible approach to that. I'm about to be away for a

[Bug c++/109397] [concepts] Unexpected "satisfaction of atomic constraint ... depends on itself"

2023-04-03 Thread catsith at me dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109397 --- Comment #2 from catsith at me dot com --- Thank you. Looks like this is a duplicate of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99599 then. I believe I can workaround my problem by using std::enable_if_t instead of concepts.

[Bug target/108807] [11/12/13 regression] gcc.target/powerpc/vsx-builtin-10d.c fails after r11-6857-gb29225597584b6 on power 9 BE

2023-04-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108807 --- Comment #4 from CVS Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:d634e6088f139ee700d79ec73b1ad6436096a6ff commit r13-6994-gd634e6088f139ee700d79ec73b1ad6436096a6ff Author: Kewen Lin Date: Mon Apr 3

[Bug target/108699] gcc.c-torture/execute/builtin-bitops-1.c fails on power 9 BE

2023-04-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108699 --- Comment #4 from CVS Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:cdd2d6643f7fef40e335a7027edfea7276cde608 commit r13-6993-gcdd2d6643f7fef40e335a7027edfea7276cde608 Author: Kewen Lin Date: Mon Apr 3

[Bug c++/109397] [concepts] Unexpected "satisfaction of atomic constraint ... depends on itself"

2023-04-03 Thread catsith at me dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109397 catsith at me dot com changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNC

[Bug c++/99599] [11/12/13 Regression] Concepts requirement falsely reporting cyclic dependency, breaks tag_invoke pattern

2023-04-03 Thread catsith at me dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99599 catsith at me dot com changed: What|Removed |Added CC||catsith at me dot com --- Comment

<    1   2