[Bug c++/99622] Materialized temporary is not usable in a constant expression

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99622 --- Comment #1 from Andrew Pinski --- I think 101588, 101557 and this bug are all the same issue. initializing not via {} works.

[Bug target/101846] Improve __builtin_shufflevector emitted code

2021-08-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101846 --- Comment #5 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:95e1eca43d106d821720744ac6ff1f5df41a1e78 commit r12-2869-g95e1eca43d106d821720744ac6ff1f5df41a1e78 Author: liuhongt Date: Wed Aug

[Bug tree-optimization/58927] Despite loop->safelen=INT_MAX / GCC ivdep: loop versioned for vectorization because of possible aliasing

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58927 Andrew Pinski changed: What|Removed |Added Known to fail||6.1.0 Known to work|

[Bug middle-end/54969] Bitfield test not optimised at -Os.

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54969 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Keywords|

[Bug middle-end/53776] pragma optimize does not support Os

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53776 --- Comment #3 from Andrew Pinski --- Looks fully fixed since GCC 8.1.0.

[Bug inline-asm/46479] "+m" (*regs) : "a" (regs) doesn't use (%eax) for the MEM

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46479 Andrew Pinski changed: What|Removed |Added Keywords||rejects-valid Resolution|---

[Bug c++/47213] ICE: SIGSEGV in determine_visibility (decl2.c:2076) with -fvisibility-ms-compat

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47213 Andrew Pinski changed: What|Removed |Added CC||bodzio131 at op dot pl --- Comment #3 fr

[Bug c++/38002] gcc crash using -fvisibility-ms-compat

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

[Bug c++/47213] ICE: SIGSEGV in determine_visibility (decl2.c:2076) with -fvisibility-ms-compat

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47213 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |4.6.0

[Bug middle-end/42111] Failure in gcc.dg/cleanup-13.c on older x86 boxes

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

[Bug c++/100800] ternary operator doesn't accept T with conversion operator and nullptr

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

[Bug middle-end/22485] pointer +- integer is never NULL

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22485 --- Comment #24 from Andrew Pinski --- https://twitter.com/__phantomderp/status/1419067136983638017 is definintely a twitter thread that should be read.

[Bug c++/93043] fails to compile comparison between pointer and convertible to nullptr_t

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

[Bug c++/91979] Incorrect mangling for non-template-argument nullptr expression

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

[Bug c++/100538] g++ miscompile / ICE with variadic member function pointer argument list

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100538 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Ever confirmed|0

[Bug c++/98039] Member function template with dependent return type involving class's own name: wrong-mangling, accepts-invalid

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98039 --- Comment #1 from Andrew Pinski --- >It gets worse: If The accepts invalid does not happen for 11.1.0.

[Bug plugins/101810] libiberty/simple-object-xcoff.c segmentation fault

2021-08-11 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101810 --- Comment #3 from Alan Modra --- Making SYMESZ a size_t as the patch does, is a complete fix if the code is only compiled for 64-bit hosts where unsigned int is smaller than size_t. If compiled for 32-bit then the expression calculating buffe

[Bug c++/57546] gnu multiversion function pointer returns wrong value or gets rejected

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57546 Andrew Pinski changed: What|Removed |Added CC||egor.kochetov at intel dot com --- Comme

[Bug c++/68098] Function multiversioning causes segfaults when used for member functions

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

[Bug c++/57546] gnu multiversion function pointer returns wrong value or gets rejected

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57546 Andrew Pinski changed: What|Removed |Added Keywords||rejects-valid, wrong-code Ever confi

[Bug c++/54311] Info about default template arguments in instantiation backtrace

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54311 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Last reconfirmed|2013-04-1

[Bug c++/56693] [DR 1584] Fail to ignore const qualification on top of a function type.

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56693 --- Comment #2 from Andrew Pinski --- Notes from the May, 2015 meeting: The consensus of CWG was that the cv-qualification of the argument and parameter must match, so the original example should be rejected.

[Bug c++/20313] in diagnostic is confusing

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20313 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2010-06-06 00:14:05 |2021-8-11 Status|REOPENED

[Bug c++/20816] Calling function at toplevel gives a weird error

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20816 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2012-02-01 00:00:00 |2021-8-11 --- Comment #5 from Andrew Pin

[Bug c++/30952] Unclear error message when callling via a function pointer

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30952 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2009-06-03 22:19:39 |2021-8-11 --- Comment #4 from Andrew Pin

[Bug fortran/101871] New: Array of strings of different length passed as an argument produces invalid result.

2021-08-11 Thread david.sagan at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101871 Bug ID: 101871 Summary: Array of strings of different length passed as an argument produces invalid result. Product: gcc Version: og10 (devel/omp/gcc-10) Status: UNCONFI

[Bug libstdc++/101870] New: std::lerp is missing Arithmetic overloads

2021-08-11 Thread konstantinua00 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101870 Bug ID: 101870 Summary: std::lerp is missing Arithmetic overloads Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libs

[Bug c++/53164] Undefined reference to template function instantiation

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53164 Andrew Pinski changed: What|Removed |Added CC||niqiuha at gmail dot com --- Comment #2

[Bug c++/82657] when using a template function pointer as a non-type template parameters, the template function will not be defined in some situation

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

[Bug target/61837] missed loop invariant expression optimization

2021-08-11 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61837 Jiu Fu Guo changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/82336] [6 Regression] GCC requires but does not emit defaulted constructors in certain cases

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82336 Andrew Pinski changed: What|Removed |Added CC||frrrwww at gmail dot com --- Comment #11

[Bug c++/68070] Undefined reference to default constructor of member template class

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

[Bug c++/60531] template function not resolved when comparing functions

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

[Bug c++/81059] error: assuming cast from overloaded function

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

[Bug c++/60531] template function not resolved when comparing functions

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

[Bug c++/92031] [9 Regression] Incorrect "taking address of r-value" error

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

[Bug c++/53009] pointer to static member function of template class is “invalid” as a template argument of another template class

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53009 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |8.0

[Bug c++/79064] Cannot overload member function templates on type of literal

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79064 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |8.0

[Bug c++/90537] Implement P1286R2, Contra CWG DR1778

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

[Bug c++/80961] Constructor preferred over conversion operator, when should be ambiguous

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

[Bug target/101846] Improve __builtin_shufflevector emitted code

2021-08-11 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101846 --- Comment #4 from Hongtao.liu --- But when upper bits is not used, vpmovdw version seems better. v4hi bar_dw_128 (v8hi x) { return __builtin_shufflevector (x, x, 0, 2, 4, 6);// 4, 5, 6, 7); } - vpshufb .LC2(%rip), %xmm0, %xmm0 +

[Bug c++/67054] Constructor inheritance with non-default constructible members

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67054 Andrew Pinski changed: What|Removed |Added CC||devgs at ukr dot net --- Comment #10 fro

[Bug c++/80851] All versions that support C++11 are confused by combination of inherited constructors with member initializer that captures this

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

[Bug target/101846] Improve __builtin_shufflevector emitted code

2021-08-11 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101846 --- Comment #3 from Hongtao.liu --- expand_vec_perm_1 is supposed to generate 1 instruction, but it doesn't consider load of const_vector, if we handle (In reply to Hongtao.liu from comment #2) > For foo, vmovdqa is avx_vec_concatv16si/2, and we

[Bug c++/85363] Throwing exception from member constructor (brace initializer vs initializer list)

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85363 Andrew Pinski changed: What|Removed |Added Blocks||80683 CC|

[Bug c++/80683] Exceptions don't propagate through default member initializer

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

[Bug libgcc/99759] morestack.S should support .init_array.0 besides .ctors.65535

2021-08-11 Thread i at maskray dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99759 --- Comment #3 from Fangrui Song --- (In reply to Alan Modra from comment #2) > > this means the ctors.65535 will come last. > Nope, it will come first. And since DT_INIT_ARRAY pointers are executed in > the order they appear in the array, it wi

[Bug c++/85363] Throwing exception from member constructor (brace initializer vs initializer list)

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85363 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.0

[Bug c++/67898] rejects-valid on overloaded function as non-type template argument of dependent type

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

[Bug c++/61355] gcc doesn't normalize type in non-type template parameters

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61355 Andrew Pinski changed: What|Removed |Added CC||zhonghao at pku dot org.cn --- Comment #

[Bug c++/86251] legal or illegal code?

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

[Bug c++/61355] gcc doesn't normalize type in non-type template parameters

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61355 Andrew Pinski changed: What|Removed |Added CC||support at neoee dot net --- Comment #2

[Bug c++/82773] Function-type non-type template parameter not accepted

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

[Bug c++/80273] cv-qualified auto with trailing return type incorrectly accepted

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80273 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-08-12 Status|UNCONFIRME

[Bug c++/80242] [C++17+] "Trailing return types" with "non-type template arguments" which could be "constant expressions" produce a parsing error

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80242 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-08-12 Status|UNCONFIRME

[Bug c++/87970] Template Instantiation from empty parameter pack is not diagnosed in class specialization

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

[Bug c++/78216] Segfault when dealing with a parameter pack of member functions pointers

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

[Bug c++/69623] Invalid deduction of non-trailing template parameter pack

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69623 Andrew Pinski changed: What|Removed |Added CC||kariya_mitsuru at hotmail dot com --- C

[Bug c++/61953] [C++11] The template parameter pack of a function template should be the last template parameter

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

[Bug c++/69623] Invalid deduction of non-trailing template parameter pack

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69623 Andrew Pinski changed: What|Removed |Added CC||smw at gcc dot gnu.org --- Comment #2 fr

[Bug c++/83870] template parameter pack followed by another template parameter does not error when following parameter can not be deduced

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

[Bug c++/71420] "‘type’ is not a class type" error for address-of operator overloaded for enum type

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

[Bug c++/101869] [9/10/11/12 Regression] &enumclass::enumvalue is rejected

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101869 Andrew Pinski changed: What|Removed |Added Known to fail||4.8.1 Known to work|

[Bug c++/101869] New: [9/10/11/12 Regression] &enumclass::enumvalue is rejected

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101869 Bug ID: 101869 Summary: [9/10/11/12 Regression] &enumclass::enumvalue is rejected Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: rejects-valid

[Bug c++/101663] [11/12 Regression] GCC crashes when assigning one single_view to another.

2021-08-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101663 --- Comment #3 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:21fd62e5ca9967bba8f97fd6244a8c6a564c2146 commit r12-2868-g21fd62e5ca9967bba8f97fd6244a8c6a564c2146 Author: Patrick Palka Date: W

[Bug c++/100629] Regression from 10 symbol mismatch between class definition and use with/without optimization

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

[Bug c++/69621] extern std::string used as reference template-argument does not have [abi:cxx11] tag applied

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69621 --- Comment #1 from Andrew Pinski --- Here is a reduced testcase: inline namespace [[gnu::abi_tag("mytag")]] a { class string{}; } template struct S { static void f(); }; extern string s; void g() { S::f(); }

[Bug libgcc/99759] morestack.S should support .init_array.0 besides .ctors.65535

2021-08-11 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99759 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com Status|

[Bug c++/95302] function attributed to be deprecated cannot include a typedef/using

2021-08-11 Thread shyouhei--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95302 --- Comment #5 from URABE, Shyouhei --- Confirmed fixed at GCC 10.3.0. Thank you!

[Bug tree-optimization/101868] Incorrect reordering in -O2 with LTO

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101868 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > Works for me on the trunk: I almost want to say this was fixed by PR 101373. Before Pre we had: if (hash_6(D) == 0) goto ; [0.00%] else goto ; [100

[Bug tree-optimization/101868] Incorrect reordering in -O2 with LTO

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101868 --- Comment #1 from Andrew Pinski --- Works for me on the trunk: repro: .LFB9: .cfi_startproc subq$24, %rsp testq %rsi, %rsi je .L14 movq(%rsi), %rax testq %rax, %rax jne

[Bug c++/66234] Too much output from pragma message with g++ 4.8 and above

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

[Bug c/101868] New: Incorrect reordering in -O2 with LTO

2021-08-11 Thread gcc at alanwu dot email via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101868 Bug ID: 101868 Summary: Incorrect reordering in -O2 with LTO Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/31397] Useful compiler warning missing (virtual functions in derived classes used without 'virtual')

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

[Bug c++/54336] [c++0x] diagnostics for functions with arg-dependent return types have bad signatures

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54336 --- Comment #4 from Andrew Pinski --- GCC and clang agree here and rejects the code. ICC and MSVC accept the code.

[Bug c++/54399] Invalid partial change from dynamic to static initialization

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54399 --- Comment #2 from Andrew Pinski --- Note ICC and GCC are the same here. MSVC and clang are the same here.

[Bug c++/54399] Invalid partial change from dynamic to static initialization

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54399 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code Last reconfirmed|

[Bug c++/46811] Compiler lock with no error message while compiling boost::condition with bad parameters

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46811 --- Comment #2 from Andrew Pinski --- I can reproduce the problem with boost 1.63 but using 1.74 fixes the issue. Note even clang takes a long time to error out with 1.63. So I really doubt there is much to be done here.

[Bug c++/96209] Redundant error message split out when adding "typename" keyword

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

[Bug libstdc++/101867] avr libc build error for libstdc++

2021-08-11 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101867 --- Comment #10 from cqwrteur --- ../../../../../../../gcc/libstdc++-v3/src/c++17/fs_ops.cc:767:15: error: 'getcwd' was not declared in this scope; did you mean 'std::filesystem::__gnu_posix::getcwd'? 767 | if (getcwd(buf.get(), size

[Bug c++/86503] Segmentation fault signal terminated

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

[Bug c++/71093] use of pseudo-destructor accepted in constant expression

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71093 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2017-02-16 00:00:00 |2021-8-11 --- Comment #3 from Andrew Pin

[Bug c++/72760] incorrectly rejects valid C++ code that invokes __typeof__ on a specialized template function

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

[Bug c++/79326] mistakenly rejects valid GNU C++ (typeof) code on x86_64-linux-gnu

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

[Bug testsuite/101866] libstdc++-v3/testsuite/experimental/random/randint.cc fails

2021-08-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101866 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/78367] Out-of-line definitions fail to match in-line declarations with decltype and template arguments

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

[Bug libstdc++/101510] std::filesystem::create_directory on an existing symlink to a directory

2021-08-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101510 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |9.5 Status|ASSIGNED

[Bug libstdc++/101056] std::compare_partial_order_fallback missing the constraint of "F < E is well-formed"

2021-08-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101056 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug testsuite/101866] libstdc++-v3/testsuite/experimental/random/randint.cc fails

2021-08-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101866 --- Comment #6 from CVS Commits --- The releases/gcc-9 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:326a020be21aeec77eab9a7247c0591c56745b37 commit r9-9670-g326a020be21aeec77eab9a7247c0591c56745b37 Author: Jonathan Wakely

[Bug testsuite/101866] libstdc++-v3/testsuite/experimental/random/randint.cc fails

2021-08-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101866 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:f1318b1d317b529cdd474a7660a82d47b228a054 commit r10-10032-gf1318b1d317b529cdd474a7660a82d47b228a054 Author: Jonathan Wak

[Bug testsuite/101866] libstdc++-v3/testsuite/experimental/random/randint.cc fails

2021-08-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101866 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:6e3647c98e474d0f204061859996356e6af5ae8d commit r11-8854-g6e3647c98e474d0f204061859996356e6af5ae8d Author: Jonathan Wake

[Bug libstdc++/101510] std::filesystem::create_directory on an existing symlink to a directory

2021-08-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101510 --- Comment #23 from CVS Commits --- The releases/gcc-9 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:f8ac77533951d79d4e6a65841aa30293b2f11fdd commit r9-9669-gf8ac77533951d79d4e6a65841aa30293b2f11fdd Author: Jonathan Wakel

[Bug libstdc++/101510] std::filesystem::create_directory on an existing symlink to a directory

2021-08-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101510 --- Comment #22 from CVS Commits --- The releases/gcc-9 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:1a5cc427fbc796fd97218b3d9b80b6a22268893a commit r9-9668-g1a5cc427fbc796fd97218b3d9b80b6a22268893a Author: Jonathan Wakel

[Bug testsuite/101866] libstdc++-v3/testsuite/experimental/random/randint.cc fails

2021-08-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101866 --- Comment #3 from Jonathan Wakely --- Fixed on trunk, but I'll backport it too.

[Bug testsuite/101866] libstdc++-v3/testsuite/experimental/random/randint.cc fails

2021-08-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101866 --- Comment #2 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:93f1dbc7cdcc4b31ea4061efb4c2acf2d4f81eb8 commit r12-2866-g93f1dbc7cdcc4b31ea4061efb4c2acf2d4f81eb8 Author: Jonathan Wakely Date:

[Bug c++/66659] Accepts invalid when undeduced context encountered deducing from a trailing parameter pack

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

[Bug c++/72760] incorrectly rejects valid C++ code that invokes __typeof__ on a specialized template function

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72760 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2016-08-01 00:00:00 |2021-8-11 --- Comment #2 from Andrew Pin

[Bug c++/91849] [9/10 Regression] Misleading diagnostic message when binding reference to unrelated type

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91849 Andrew Pinski changed: What|Removed |Added CC||gcc at magfr dot user.lysator.liu.

[Bug c++/70384] Unhelpful warnings on invalid initializations

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

[Bug c++/70384] Unhelpful warnings on invalid initializations

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70384 Andrew Pinski changed: What|Removed |Added Known to fail||10.1.0, 5.1.0, 9.1.0 Known to work|

  1   2   3   >