[Bug c++/101712] New: Bad error message with reference to nested type.

2021-08-01 Thread tobi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101712 Bug ID: 101712 Summary: Bad error message with reference to nested type. Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug middle-end/82940] Suboptimal code for (a & 0x7f) | (b & 0x80) on powerpc

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

[Bug middle-end/77779] unnecessary trap checks for pointer subtraction with -ftrapv

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

[Bug analyzer/101713] New: -Wanalyzer-malloc-leak false positive with GNU coreutils hash table code

2021-08-01 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101713 Bug ID: 101713 Summary: -Wanalyzer-malloc-leak false positive with GNU coreutils hash table code Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: nor

[Bug tree-optimization/36190] Investigate which tests need -fno-trapping-math

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36190 Andrew Pinski changed: What|Removed |Added Component|testsuite |tree-optimization Severity|nor

[Bug tree-optimization/79355] poor code for AVX vector compare

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79355 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Last reconfirmed|2017-02-0

[Bug d/101692] Referenses in Slist are not counted by GC

2021-08-01 Thread zed at lab127 dot karelia.ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101692 --- Comment #7 from Eugene Zhiganov --- (In reply to Eugene Zhiganov from comment #5) > This rxMachines array is just for the purpose of holding references, > since references in linked list are not counted at all by GC. Maybe I am not right he

[Bug tree-optimization/82905] vector shift forced to 32 bits

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82905 Andrew Pinski changed: What|Removed |Added Component|middle-end |tree-optimization Severity|nor

[Bug tree-optimization/85560] Missed optimization in niter analysis for bit-by-bit variable zeroing

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85560 Andrew Pinski changed: What|Removed |Added Component|middle-end |tree-optimization Severity|nor

[Bug tree-optimization/85560] Missed optimization in niter analysis for bit-by-bit variable zeroing

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85560 --- Comment #3 from Andrew Pinski --- I should note clang is able to figure this is finite and able to remove the loop even in C mode.

[Bug fortran/101660] [12 Regression] FAIL: gfortran.dg/bind_c_array_params_3.f90

2021-08-01 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101660 --- Comment #4 from Tobias Burnus --- Submitted testsuite patch: https://gcc.gnu.org/pipermail/gcc-patches/2021-July/576278.html

[Bug ipa/86140] constprop clones with identical bodies

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86140 Andrew Pinski changed: What|Removed |Added CC||marxin at gcc dot gnu.org Seve

[Bug c++/101710] Sometimes constexpr cannot be used as constexpr

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101710 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code --- Comment #2 from A

[Bug testsuite/101678] [12 regression] many fortran errors afterr r12-2553

2021-08-01 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101678 Tobias Burnus changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug fortran/101660] [12 Regression] FAIL: gfortran.dg/bind_c_array_params_3.f90

2021-08-01 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101660 Tobias Burnus changed: What|Removed |Added CC||seurer at gcc dot gnu.org --- Comment #

[Bug c++/101710] Sometimes constexpr cannot be used as constexpr

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101710 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > Can you re-upload the zip file as it seems be corrupted? Never mind, I was able to extract it, I had to use winrar rather than the builtin unziper in windows or

[Bug c++/101710] Sometimes constexpr cannot be used as constexpr

2021-08-01 Thread steve_green at qq dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101710 --- Comment #4 from steve02081504 --- Created attachment 51235 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51235&action=edit .ii file & .s file & output - Deflate64 Deflate64 zip added.

[Bug c++/101710] Sometimes constexpr cannot be used as constexpr

2021-08-01 Thread steve_green at qq dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101710 --- Comment #5 from steve02081504 --- (In reply to Andrew Pinski from comment #3) > (In reply to Andrew Pinski from comment #2) > > Can you re-upload the zip file as it seems be corrupted? > > Never mind, I was able to extract it, I had to use

[Bug c++/101710] Sometimes constexpr cannot be used as constexpr

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101710 --- Comment #6 from Andrew Pinski --- Changing: if constexpr(type_info.has_attribute_helper()&&type_info.not_has_has_attribute_helper()) to: if constexpr(type_info.template has_attribute_helper()&&type_info.template not_has_has_attribute_he

[Bug c++/101710] Sometimes constexpr cannot be used as constexpr

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101710 --- Comment #7 from Andrew Pinski --- (In reply to Andrew Pinski from comment #6) > Changing: > if > constexpr(type_info. > has_attribute_helper()&&type_info. > not_has_has_attribute_helper()) > > to: > if constexpr(type_info.template > has

[Bug c++/101710] Sometimes constexpr cannot be used as constexpr

2021-08-01 Thread steve_green at qq dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101710 steve02081504 changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug middle-end/82940] Suboptimal code for (a & 0x7f) | (b & 0x80) on powerpc

2021-08-01 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82940 --- Comment #5 from Segher Boessenkool --- (In reply to Andrew Pinski from comment #4) > As long as nothing on the rtl level (combine) does not mess this up, it > should produce the best code. combine cannot ever create worse code than it had as

[Bug target/101714] New: [POWER] vec_min / vec_max handles NaN incorrectly when evaluated at compile time

2021-08-01 Thread evan--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101714 Bug ID: 101714 Summary: [POWER] vec_min / vec_max handles NaN incorrectly when evaluated at compile time Product: gcc Version: 10.2.1 Status: UNCONFIRMED Sever

[Bug target/89252] Vector load/store aren't used to initialize large memory

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

[Bug fortran/99368] ICE in build_function_decl, at fortran/trans-decl.c:2381

2021-08-01 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99368 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug tree-optimization/82885] memcpy does not propagate aliasing knowledge

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82885 Andrew Pinski changed: What|Removed |Added Component|middle-end |tree-optimization Severity|nor

[Bug tree-optimization/92408] strlen(s) != 0 not folded into *s

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

[Bug target/89252] Vector load/store aren't used to initialize large memory

2021-08-01 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89252 H.J. Lu changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug middle-end/90773] Improve piecewise operation

2021-08-01 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90773 --- Comment #10 from H.J. Lu --- *** Bug 89252 has been marked as a duplicate of this bug. ***

[Bug middle-end/92282] gimple for (a + ~b) is harder to optimize in RTL when types are unsigned

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92282 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Last reconfirmed|2019-10-3

[Bug c++/101715] New: compiler ice when uses a GCC cross compiler to canadian compile LLVM libc++

2021-08-01 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101715 Bug ID: 101715 Summary: compiler ice when uses a GCC cross compiler to canadian compile LLVM libc++ Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: no

[Bug tree-optimization/91881] Value range knowledge of higher bits not used in optimizations

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91881 Andrew Pinski changed: What|Removed |Added Component|middle-end |tree-optimization Severity|nor

[Bug c++/101715] compiler ice when uses a GCC cross compiler to canadian compile LLVM libc++

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101715 --- Comment #1 from Andrew Pinski --- Can you attach the preprocessed source? It is most likely a known issue which we just don't hit in our libstdc++.

[Bug target/101716] New: lea does not have a zero_extend version of it

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101716 Bug ID: 101716 Summary: lea does not have a zero_extend version of it Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement

[Bug middle-end/91869] Constant bitfield assignment causes unnecessary use of memory and instructions

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91869 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Last reconfirmed|2019-09-2

[Bug tree-optimization/94651] Missed peephole optimization: m >= POWER_OF_TWO || n >= POWER_OF_TWO

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

[Bug middle-end/56719] missed optimization: i > 0xffff || i*4 > 0xffff

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

[Bug middle-end/56719] missed optimization: i > 0xffff || i*4 > 0xffff

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

[Bug tree-optimization/56719] missed optimization: i > 0xffff || i*4 > 0xffff

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

[Bug middle-end/98236] x plus/minus y cmp 0 produces unoptimal code

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

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

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

[Bug tree-optimization/100046] compare with itself

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

[Bug middle-end/95014] gcc fails to merge two identical returns

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

[Bug bootstrap/79885] --with-build-sysroot= does not get honored throughout the build (fix-includes, CPP, CXXCPP, configure-stage2)

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79885 Andrew Pinski changed: What|Removed |Added Component|other |bootstrap Depends on|

[Bug libgcc/52100] CRTSTUFF_CFLAGS needs -fno-asynchronous-unwind-tables

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52100 Andrew Pinski changed: What|Removed |Added Component|other |libgcc Last reconfirmed|2012-02-03 00:

[Bug ipa/79874] symtab_node::verify_base: replace error with internal_error

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

[Bug c++/101715] compiler ice when uses a GCC cross compiler to canadian compile LLVM libc++

2021-08-01 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101715 --- Comment #2 from cqwrteur --- (In reply to Andrew Pinski from comment #1) > Can you attach the preprocessed source? It is most likely a known issue > which we just don't hit in our libstdc++. No problem

[Bug c++/101715] compiler ice when uses a GCC cross compiler to canadian compile LLVM libc++

2021-08-01 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101715 --- Comment #3 from cqwrteur --- Created attachment 51237 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51237&action=edit Proeprocess.txt Preprocess file. command.txt contains my compilation toggles and error messages. preprocess.txt is

[Bug middle-end/14708] description of -ffloat-store in gcc man page incorrect/inaccurate

2021-08-01 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14708 --- Comment #9 from Vincent Lefèvre --- An update after all these years: As Joseph S. Myers said in the gcc-help list in February 2005, "even -ffloat-store only deals with assignment, not casts": https://gcc.gnu.org/pipermail/gcc-help/2005-Februa

[Bug middle-end/78103] Failure to optimize with __builtin_clzl

2021-08-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78103 --- Comment #24 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:6f0c43e97825ee54e3779afbedcd0def12443001 commit r12-2656-g6f0c43e97825ee54e3779afbedcd0def12443001 Author: H.J. Lu Date: Sun Aug 1 09:

[Bug c++/101715] compiler ice when uses a GCC cross compiler to canadian compile LLVM libc++

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101715 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code --- Comment #4 from A

[Bug c++/101715] compiler ice when uses a GCC cross compiler to canadian compile LLVM libc++

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101715 --- Comment #5 from Andrew Pinski --- Reduced testcase: template struct {}; template struct { & yyy(&& __str) noexcept((::value)); & assign(&& __str) noexcept((::value)); }; template & ::yyy(f

[Bug c++/101715] [11/12 Regression] compiler ice when uses a GCC cross compiler to canadian compile LLVM libc++

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

[Bug c++/24847] Instantiates un-called copy constructor

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24847 --- Comment #4 from Andrew Pinski --- these compiler reject this code: GCC MSVC ICC Only clang accepts the code. All of the ones which reject it, all say the constructor is a copy constructor.

[Bug c++/19502] duplicate diagnostic for invalid template constant parameter

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19502 --- Comment #3 from Andrew Pinski --- Since GCC 8, we produce the error message 3 times rather than the 2 times.

[Bug c++/33821] function with ambiguous covariant return-type is not rejected

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33821 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2008-01-13 02:49:14 |2021-8-1 --- Comment #2 from Andrew Pins

[Bug c++/40177] ADL with non-unqualified-id

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40177 --- Comment #2 from Andrew Pinski --- GCC accept the original testcase now in C++20 mode since GCC 9+ and reject it in C++98, C++11, C++14, and C++17 modes. Clang also rejects it in < C++20 but with a decent error message: :2:14: error: use of fu

[Bug c++/101715] [11/12 Regression] ICE with noexcept and canonical types differ for identical types caused by r12-1824

2021-08-01 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101715 H.J. Lu changed: What|Removed |Added Summary|[11/12 Regression] ICE with |[11/12 Regression] ICE with

[Bug c++/55385] g++ failed to call final overrider of a virtual function.

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

[Bug c++/11750] class scope using-declaration lookup not implemented

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11750 Andrew Pinski changed: What|Removed |Added CC||meng at g dot clemson.edu --- Comment #1

[Bug c++/101717] New: ICE capturing static member by ref within stateless lambda

2021-08-01 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101717 Bug ID: 101717 Summary: ICE capturing static member by ref within stateless lambda Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[Bug c++/101717] ICE capturing static member within stateless generic lambda

2021-08-01 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101717 Johel Ernesto Guerrero Peña changed: What|Removed |Added Summary|ICE capturing static member |ICE capturing static membe

[Bug c++/55962] improper location for static_assert

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

[Bug c++/57392] The result of a .* expression is rvalue in a function template when its object expression is lvalue.

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

[Bug c++/57311] Conversion operator can be overloaded with itself by using typedef

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

[Bug c++/57063] static_cast from data member to rvalue reference sometimes wrongfully produces lvalue

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57063 Andrew Pinski changed: What|Removed |Added Keywords||rejects-valid --- Comment #7 from Andrew

[Bug c++/36183] misleading error message with explicit copy constructor call

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36183 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic Last reconfirmed|2014-05-30

[Bug c++/61103] False-positive, template-independent name taken as dependent name

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61103 --- Comment #2 from Andrew Pinski --- Seems fixed since GCC 7+.

[Bug c++/101715] [11/12 Regression] ICE with noexcept and canonical types differ for identical types caused by r12-1824

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101715 --- Comment #8 from Andrew Pinski --- (In reply to H.J. Lu from comment #7) > It is caused by r12-1824. It can't be as it was not backported to GCC 11.

[Bug c++/58089] expanding empty parameter pack as constructor arguments requires accessible copy constructor

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58089 Andrew Pinski changed: What|Removed |Added Known to work||7.0 --- Comment #4 from Andrew Pinski -

[Bug c++/62274] [C++11] Variadic templates expansion into non-variadic class template

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62274 --- Comment #6 from Andrew Pinski --- GCC, clang and MSVC all reject it with a similar error message. ICC accepts it.

[Bug c++/35167] problem with function address constant non-type template parameter in template

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35167 Andrew Pinski changed: What|Removed |Added Known to work||8.1.0 --- Comment #11 from Andrew Pinski

[Bug c++/52962] Column number incorrect in error

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

[Bug c++/59173] [10/11 Regression] Alias template in partial specialization finds name from primary template

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59173 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.4 Known to fail|

[Bug c++/63609] [C++11] Partial ordering of function templates broken

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63609 --- Comment #3 from Andrew Pinski --- This is interesting. GCC and MSVC reject it with the same ambiguous message. clang and ICC accept it but clang prints 1 while ICC prints 2.

[Bug c++/57678] too many errors for bad template parameter

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

[Bug c++/67426] Ambiguous overload between different function templates, where one has non-deduced arg

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67426 Andrew Pinski changed: What|Removed |Added Keywords||rejects-valid --- Comment #1 from Andrew

[Bug target/100952] [12 regression] several test case failures after r12-1202

2021-08-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100952 --- Comment #11 from CVS Commits --- The releases/gcc-11 branch has been updated by HaoChen Gui : https://gcc.gnu.org/g:960135b264a7724cf9c56acb6d85fb2d842a36e2 commit r11-8824-g960135b264a7724cf9c56acb6d85fb2d842a36e2 Author: Haochen Gui Dat

[Bug c++/57746] Invalid specializations of member objects are accepted, unlike member functions

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57746 --- Comment #9 from Andrew Pinski --- GCC and clang reject the code. ICC and MSVC accepts the code.

[Bug c++/71982] Wrong error and note range with macro

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71982 --- Comment #1 from Andrew Pinski --- Seems fixed in GCC 11+.

[Bug preprocessor/60744] poor location and error recovery for unterminated argument list invoking macro

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60744 --- Comment #1 from Andrew Pinski --- GCC's tokenizer does not eat the token for DEBUG and inserts it still. maybe eating it is the way to fix this.

[Bug preprocessor/52998] different macro unwinder for C and C++ (-ftrack-macro-expansion)

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52998 --- Comment #6 from Andrew Pinski --- C++ and C match up in GCC 6+.

[Bug c++/56427] [C++11] template template parameter template parameter pack that depends on another parameter pack

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56427 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2013-07-25 00:00:00 |2021-8-1 --- Comment #7 from Andrew Pins

[Bug c++/72756] Using an enum as a constant expression via dot operator should not compile.

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

[Bug c++/65152] Several friend function definitions break lookup

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

[Bug c++/77474] sizeof and function template don't work properly together

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

[Bug c++/64178] rejects-valid on variadic operator++

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64178 --- Comment #1 from Andrew Pinski --- This is a bad interaction with an old extension really; one which I thought was talking about removing.

[Bug c++/62274] [C++11] Variadic templates expansion into non-variadic class template

2021-08-01 Thread ville.voutilainen at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62274 Ville Voutilainen changed: What|Removed |Added CC||jason at redhat dot com --- Comment

[Bug c++/52985] Postincrement not applied after indexing ternary array expression

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52985 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2012-04-16 00:00:00 |2021-8-1 --- Comment #4 from Andrew Pins

[Bug c++/80679] call of overloaded is ambiguous

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80679 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2017-05-08 00:00:00 |2021-8-1 Keywords|

[Bug c++/80368] g++ thinks sizeof a non-type template parameter is dependent

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80368 --- Comment #1 from Andrew Pinski --- Seems fixed in GCC 9+.

[Bug tree-optimization/81972] Improve data tracking for simple conditional code

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

[Bug c++/84030] Name lookup in presence of namespace

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84030 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2018-01-26 00:00:00 |2021-8-1 Keywords|

[Bug c++/84196] invalid call to a function template with a vector argument silently accepted

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84196 Andrew Pinski changed: What|Removed |Added Known to work||10.0 --- Comment #3 from Andrew Pinski

[Bug c++/84984] ICE: in build2, at tree.c:4686

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84984 --- Comment #2 from Andrew Pinski --- Seems fixed even in GCC 8.1.0

[Bug c++/85087] call to a non-const member function on a const lvalue accepted

2021-08-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85087 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2018-03-28 00:00:00 |2021-8-1 --- Comment #2 from Andrew Pins

[Bug c++/29332] default argument access checking is not done at the point where the default argument expression appears

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

[Bug c++/51257] Template changes scope of friend functions

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

[Bug c++/51257] Template changes scope of friend functions

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

[Bug c++/59366] A friend function template defined in a class is found without ADL

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

  1   2   >