[Bug target/70308] memset generates rep stosl instead of rep stosq

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70308 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization

[Bug middle-end/27800] extra temprorary created when gimplifying return

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27800 Andrew Pinski changed: What|Removed |Added Keywords||compile-time-hog, |

[Bug target/101609] no right shift pattern for vector(2) long long on aarch64

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101609 --- Comment #1 from Andrew Pinski --- Note I found this while looking into PR 56873.

[Bug middle-end/56873] vector shift lowered to scalars

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56873 --- Comment #2 from Andrew Pinski --- This looks to be fixed in GCC 5.1.

[Bug target/101609] New: no right shift pattern for vector(2) long long on aarch64

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101609 Bug ID: 101609 Summary: no right shift pattern for vector(2) long long on aarch64 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimization

[Bug tree-optimization/20514] hoisting of label out of jumptable would take place at cse, should happen at trees

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20514 --- Comment #8 from Andrew Pinski --- Note I noticed gimple loop code invariant motion is causing comment #0 to be really bad.

[Bug go/46986] Go is not supported on Darwin

2021-07-23 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46986 --- Comment #41 from Eric Gallager --- Would this package help at all? https://github.com/blacktop/go-macho

[Bug target/56160] unnecessary additions in loop [x86, x86_64]

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56160 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Target|

[Bug middle-end/56120] built-in SIMD with statement expression causes ICE: in iterative_hash_expr, at tree.c:6990 when optimization is on

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56120 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug libstdc++/101608] New: ranges::fill/fill_n missing std::is_constant_evaluated() condition for __builtin_memset

2021-07-23 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101608 Bug ID: 101608 Summary: ranges::fill/fill_n missing std::is_constant_evaluated() condition for __builtin_memset Product: gcc Version: 12.0 Status:

[Bug c++/101563] ICE in lookup_template_class_1, at cp/pt.c:10184

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101563 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-07-24 Ever confirmed|0

[Bug c++/90550] ICE in determine_visibility, at cp/decl2.c:2567

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90550 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/101498] gcc accepts template code with 'auto' as subtype

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101498 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-07-24

[Bug c++/101486] Rejects valid qualification conversion involving array of unknown bound in function template argument [P0388]

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101486 --- Comment #2 from Andrew Pinski --- Note GCC accepts the following while both clang and ICC don't: template void f1(const T(*)[10]); template void f2(T(*)[]); void bar(int (*ptr)[10]) { f1(ptr); f2(ptr); } So GCC at least is doing

[Bug c++/101486] Rejects valid qualification conversion involving array of unknown bound in function template argument [P0388]

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101486 --- Comment #1 from Andrew Pinski --- clang and ICC reject this. clang error message: :9:5: error: no matching function for call to 'f2' f2(ptr); // rejects ^~ :5:6: note: candidate template ignored: could not match 'type-parameter-0-0

[Bug c++/101499] ICE: in dependent_type_p, at cp/pt.c:26765

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

[Bug c++/57712] GCC fails to to match out-of-line template member function definition with declaration

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57712 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/57712] GCC fails to to match out-of-line template member function definition with declaration

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57712 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |7.2 Resolution|---

[Bug c++/61368] Sfinae with template member

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61368 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/61368] Sfinae with template member

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61368 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/66763] [6 Regression] 25_algorithms/remove/requirements/explicit_instantiation/2.cc fails on AIX

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66763 --- Comment #12 from Andrew Pinski --- (In reply to Jonathan Wakely from comment #6) > The difference is that we include ::remove in C++11 and later. You had even forgot you filed PR 57576 for that :)

[Bug c++/66763] [6 Regression] 25_algorithms/remove/requirements/explicit_instantiation/2.cc fails on AIX

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66763 --- Comment #11 from Andrew Pinski --- *** Bug 57576 has been marked as a duplicate of this bug. ***

[Bug c++/57576] Using declaration hides template for purposes of explicit instantiation

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57576 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Target Milestone|---

[Bug c++/53434] Compiler decides declaration/expression ambiguity too soon.

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53434 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2012-05-26 00:00:00 |2021-7-23 --- Comment #2 from Andrew

[Bug c/100501] ICE with inline-asm and void statement expression

2021-07-23 Thread cnsun at uwaterloo dot ca via Gcc-bugs
Configured with: /tmp/tmp.7yrVYtTGDZ-gcc-builder/gcc/configure --enable-languages=c,c++,lto --enable-checking-yes --enable-multiarch --prefix=/scratch/software/gcc-trunk --disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.0 20210723 (experimental

[Bug c++/41518] copy initialization of volatile objects

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

[Bug c++/32385] g++ rejects struct in default argument of template function

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32385 --- Comment #8 from Andrew Pinski --- clang also rejects this: :3:34: error: 'A::(unnamed struct at :3:34)' cannot be defined in a type specifier template void foo(int = ((struct { int i; }) {0}).i); ^ :3:57:

[Bug c++/43561] Default argument of nested template function causes a compile-time error

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43561 Andrew Pinski changed: What|Removed |Added Known to fail|| --- Comment #2 from Andrew Pinski ---

[Bug c++/39328] ambiguous implicit declaration of template friend function

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39328 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/19501] Redundant "template" keyword rejected

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19501 --- Comment #2 from Andrew Pinski --- For the first case, GCC 11 accepts it finally. For the second case, GCC 11 accepts it only for -std=c++20 . clang accepts both cases even for -std=c++98.

[Bug c++/17000] parse error calling member template function of non-lvalue from within template class member

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17000 Andrew Pinski changed: What|Removed |Added Known to fail|| --- Comment #11 from Andrew Pinski

[Bug c++/96652] Segmentation fault with instantiate_class_template_1

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96652 Andrew Pinski changed: What|Removed |Added CC||nicholas.muggio at sdl dot usu.edu ---

[Bug c++/94534] ICE declaring unnamed nested struct as friend

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94534 Andrew Pinski changed: What|Removed |Added Resolution|FIXED |DUPLICATE --- Comment #3 from Andrew

[Bug c++/94534] ICE declaring unnamed nested struct as friend

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94534 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.0 Status|NEW

[Bug c++/67491] [meta-bug] concepts issues

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 79419, which changed state. Bug 79419 Summary: [concepts] Explicit specialization of constrained member template: ICE in set_constraints https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79419 What|Removed

[Bug c++/79419] [concepts] Explicit specialization of constrained member template: ICE in set_constraints

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

[Bug c++/67491] [meta-bug] concepts issues

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 85991, which changed state. Bug 85991 Summary: [Concepts] Template placeholder: ICE cp_parser_lookup_name, at cp/parser.c:26223 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85991 What|Removed

[Bug c++/85991] [Concepts] Template placeholder: ICE cp_parser_lookup_name, at cp/parser.c:26223

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85991 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Target Milestone|---

[Bug c++/86000] ICE with requires statement in a non constexpr if

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86000 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.0

[Bug c++/67491] [meta-bug] concepts issues

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 86000, which changed state. Bug 86000 Summary: ICE with requires statement in a non constexpr if https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86000 What|Removed |Added

[Bug c++/86000] ICE with requires statement in a non constexpr if

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86000 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/68608] [concepts] ICE with explicit class instantiation

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68608 --- Comment #2 from Andrew Pinski --- (In reply to Jonathan Wakely from comment #1) > Still ICEs on current trunk with -std=c++17 -fconcepts, and also with > -std=c++2a after modernising the code: I can't get this to crash with r12-2133. But

[Bug c++/70037] [concepts] comdat group error and an ICE with a conceptified tuple implementation

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70037 --- Comment #5 from Andrew Pinski --- Is there an updated preprocessed source somewhere as I get a lot of: expression must be enclosed in parentheses For the concepts.

[Bug c++/89011] member function pointer template argument with initialization by constant generates ICE

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89011 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|WAITING

[Bug c++/87774] ICE on ternary expression with __builtin_fprintf

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87774 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-07-24 Ever confirmed|0

[Bug c++/22354] g++ accepts specialization without declaration

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22354 Andrew Pinski changed: What|Removed |Added CC||pogonyshev at gmx dot net --- Comment

[Bug c++/43368] different access to templated structure static field give different results

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43368 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Known to fail|

[Bug c++/28985] [DR 399] class member access using a qualified-id fails to check for match of classes

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28985 Andrew Pinski changed: What|Removed |Added Status|SUSPENDED |NEW Known to work|

[Bug c++/29556] Expect error when 'using namespace std' is declared when std namespace is not defined

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29556 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic Known to fail|

[Bug c++/19965] Invalid member declaration diagnosed late

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19965 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.0 Resolution|---

[Bug c++/25322] ISO compliance of defining structs in anonymous unions

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25322 Andrew Pinski changed: What|Removed |Added Known to fail|| Resolution|---

[Bug c/101607] New: ICE on compilable code: in assign_stack_temp_for_type, at function.c:798

2021-07-23 Thread cnsun at uwaterloo dot ca via Gcc-bugs
algorithms: zlib gcc version 12.0.0 20210723 (experimental) [master revision :3eeaf64a5:01ac2f08b0105a1c85425d0e59216eb528c6d2ab] (GCC) $ cat mutant.c union { struct { struct { struct { struct { struct { struct { struct { struct

[Bug c++/89389] inlining failed in call to always_inline -- removing attribute leaves function inlined

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

[Bug c++/89553] "static const double x = 2" is treated equivalent to "static constexpr double x = 2"

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89553 Andrew Pinski changed: What|Removed |Added Blocks||55004 Ever confirmed|0

[Bug c++/87497] constexprs involving non-literal const variables are incorrectly accepted

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87497 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Blocks|

[Bug c++/79189] Poor code generation when using stateless lambda instead of normal function

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79189 Andrew Pinski changed: What|Removed |Added Depends on||4131 --- Comment #3 from Andrew Pinski

[Bug c++/86032] non standard copy operator is used for empty class

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86032 Andrew Pinski changed: What|Removed |Added Known to fail||4.5.3, 4.7.1 Known to work|

[Bug c++/86032] non standard copy operator is used for empty class

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86032 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug c++/85680] Missed optimization for value-init of variable-sized allocation

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85680 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement --- Comment #6 from Andrew

gcc-10-20210723 is now available

2021-07-23 Thread GCC Administrator via Gcc
Snapshot gcc-10-20210723 is now available on https://gcc.gnu.org/pub/gcc/snapshots/10-20210723/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 10 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

[Bug c++/85809] SFINAE code compiles that shouldn't be able to compile.

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

[Bug tree-optimization/101606] New: std::sort generates different function for __gnu_cxx::__normal_iterator and int*

2021-07-23 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101606 Bug ID: 101606 Summary: std::sort generates different function for __gnu_cxx::__normal_iterator and int* Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug c++/85104] double underline in a C++ error: duplicate const

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85104 --- Comment #2 from Andrew Pinski --- Most likely we are trying to underline the other const but for some reason it has the wrong location.

[Bug c++/85104] double underline in a C++ error: duplicate const

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

[Bug c++/84692] Class template argument deduction ICE for template's member template

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84692 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |7.4 Resolution|---

[Bug c++/84297] ICE (mmap: Invalid argument) in std::is_trivially_constructible

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84297 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/54011] missed optimization opportunities for bool struct/class members

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54011 Andrew Pinski changed: What|Removed |Added Component|c++ |tree-optimization

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

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 83928, which changed state. Bug 83928 Summary: implicit conversion of literal class type to unscoped enumeration can not be used as array size https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83928 What

[Bug c++/83928] implicit conversion of literal class type to unscoped enumeration can not be used as array size

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83928 Andrew Pinski changed: What|Removed |Added Blocks||55004 Resolution|---

[Bug c++/83484] constexpr not evaluated at compile time

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83484 --- Comment #5 from Andrew Pinski --- Clang gives (which does not make sense at all): :12:46: error: declaration of constexpr static data member 'High' requires an initializer template<> constexpr Port<7>::Value Port<7>::High;

[Bug c++/83144] ICE using trailing return type and constexpr with GCC 7.X

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83144 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/82791] Inconsistency with member function pointer access

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82791 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-07-23

[Bug middle-end/101600] [12 Regression] Spurious -Warray-bounds downcasting a polymorphic pointer

2021-07-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101600 --- Comment #2 from Martin Sebor --- There's another bug here that can be reproduced with the following slightly modified version of the original test case: $ cat pr101600-c2.C && /build/gcc-master/gcc/xgcc -B /build/gcc-master/gcc -O2 -S

Re: [PATCH] c++: suppress all warnings on memper pointers to work around dICE [PR101219]

2021-07-23 Thread Sergei Trofimovich via Gcc-patches
On Fri, 23 Jul 2021 10:33:09 -0600 Jeff Law wrote: > On 7/22/2021 5:15 PM, Sergei Trofimovich via Gcc-patches wrote: > > From: Sergei Trofimovich > > > > r12-1804 ("cp: add support for per-location warning groups.") among other > > things removed warning suppression from a few places including

[Bug c++/82125] Suboptimal error message for range-based for

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82125 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2017-09-07 00:00:00 |2021-7-23 --- Comment #2 from Andrew

[Bug c++/65132] diagnostics: missing: bitfield member cannot have an in-class initializer

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65132 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug c++/94951] [8/9 Regression] dereferencing type-punned pointer will break strict-aliasing rules when using super class for a template type

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94951 Andrew Pinski changed: What|Removed |Added CC||rrrlasse at hotmail dot com --- Comment

[Bug c++/81152] False strict-aliasing warning

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81152 Andrew Pinski changed: What|Removed |Added Resolution|FIXED |DUPLICATE --- Comment #4 from Andrew

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

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101603 Bug 101603 depends on bug 89960, which changed state. Bug 89960 Summary: Implicit derived to base conversion considered type punning. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89960 What|Removed |Added

[Bug c++/86922] Invoking templated PTMF on subclass gives false strict-aliasing warning

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86922 Andrew Pinski changed: What|Removed |Added CC||cassio.neri at gmail dot com ---

[Bug c++/89960] Implicit derived to base conversion considered type punning.

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89960 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/81152] False strict-aliasing warning

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81152 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic Resolution|---

[Bug middle-end/101600] [12 Regression] Spurious -Warray-bounds downcasting a polymorphic pointer

2021-07-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101600 Martin Sebor changed: What|Removed |Added Blocks||56456 Target Milestone|---

[Bug c++/78280] GCC incorrectly accepts assignment in bitfield width

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78280 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c++/78949] incorrect "unused variable" warning with SSE2

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78949 Andrew Pinski changed: What|Removed |Added CC||zoltan at hidvegi dot com --- Comment

[Bug c++/78246] Incorrect vector variable set but not used warning

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78246 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/77601] error: cannot convert 'is_same' to 'const bool' in initialization

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77601 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |6.4 Resolution|---

[Bug c++/58040] Cannot take address-of public using-declaration of member from protected base class

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58040 --- Comment #6 from Andrew Pinski --- clang fails the same way.

Re: [PATCH 3/3] [PR libfortran/101305] Fix ISO_Fortran_binding.h paths in gfortran testsuite

2021-07-23 Thread Sandra Loosemore
On 7/23/21 8:15 AM, Tobias Burnus wrote: Hi Sandra, On 21.07.21 12:17, Tobias Burnus wrote: On 13.07.21 23:28, Sandra Loosemore wrote: ISO_Fortran_binding.h is now generated in the libgfortran build directory where it is on the default include path.  Adjust includes in the gfortran testsuite

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

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101603 Bug 101603 depends on bug 69375, which changed state. Bug 69375 Summary: GCC allows PMF type "void (T::*)()" to be caught as "void (T::*)() const" https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69375 What|Removed

[Bug c++/52099] Incorrectly applying conversion when catching pointer-to-members

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52099 Andrew Pinski changed: What|Removed |Added CC||eric at efcs dot ca --- Comment #1 from

[Bug c++/69375] GCC allows PMF type "void (T::*)()" to be caught as "void (T::*)() const"

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69375 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug target/56337] __attribute__((aligned(N))) breaks for N=1<<28

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56337 Andrew Pinski changed: What|Removed |Added Keywords||patch URL|

[PATCH] Fix x86/56337 : 1<<28 alignment is broken

2021-07-23 Thread apinski--- via Gcc-patches
From: Andrew Pinski The problem here is the x86_64 back-end uses a signed integer for alignment and then divides by BITS_PER_UNIT so if we had INT_MIN (which is what 1<<28*8 is), we would get the wrong result. This fixes the problem by using unsigned for the argument to x86_output_aligned_bss

[Bug c++/98038] ICE on invalid trying to recursively invoke a lambda object with operator()

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98038 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

PING: [RS6000] rotate and mask constants [PR94393]

2021-07-23 Thread Pat Haugen via Gcc-patches
Ping https://gcc.gnu.org/pipermail/gcc-patches/2020-October/555760.html I've done a current bootstrap/regtest on powerpc64/powerpc64le with no regressions. -Pat

[Bug c++/78609] invalid member's visibility detection in constexpr with arrays

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78609 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-07-23 Summary|invalid

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

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101603 Bug 101603 depends on bug 80575, which changed state. Bug 80575 Summary: unnecessary virtual function table support in member function call https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80575 What|Removed

[Bug c++/80575] unnecessary virtual function table support in member function call

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80575 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.0 Resolution|---

[Bug fortran/96711] Internal Compiler Error on NINT() Function

2021-07-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96711 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|NEW

  1   2   3   >