[Bug c++/82873] Generated copy constructor calls constructors for 0-sized array members

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

[Bug c++/70932] flexible array member with non-trivial destructor

2021-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70932 Andrew Pinski changed: What|Removed |Added Known to fail||8.1.0, 9.1.0, 9.4.0 Keywords|

[Bug rtl-optimization/103028] ICE in extract_constrain_insn, at recog.c:2670

2021-12-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103028 --- Comment #7 from CVS Commits --- The master branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:daca416fc2816a5e481b26c8d2010127101d77ce commit r12-5787-gdaca416fc2816a5e481b26c8d2010127101d77ce Author: Alexandre Oliva

[Bug c++/65707] internal compiler error: in unify, at cp/pt.c:18577

2021-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65707 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.2

[Bug c++/60223] [c++11] ICE with C++11-style default template parameter

2021-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60223 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.2

[Bug rtl-optimization/103550] 2 more instructions generated by gcc than clang

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

[Bug c++/97222] GCC discards attributes aligned and may_alias for typedefs passed as template arguments

2021-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97222 Andrew Pinski changed: What|Removed |Added CC||liavonlida at gmail dot com --- Comment

[Bug target/101324] powerpc64le: hashst appears before mflr at -O1 or higher

2021-12-03 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101324 --- Comment #23 from Peter Bergner --- (In reply to Peter Bergner from comment #22) > So this is also broken in GCC11, so I'm testing the simple backport. Regression testing of the backport was clean. Just need approval for the backport.

[Bug c++/57570] Deduction succeeds despite type mismatch of non-type template parameter and deduced argument

2021-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57570 Andrew Pinski changed: What|Removed |Added Known to fail||5.1.0, 6.1.0, 7.1.0, 7.5.0 Ever

[Bug c++/83258] Rejecting function pointer non-type template parameter without linkage

2021-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83258 --- Comment #11 from Andrew Pinski --- (In reply to Jonathan Wakely from comment #4) > Testcase from Bug 85589: > > template struct foo {}; > > int main() { > static auto v = "str"; > (void) foo {}; > } Note comment #4

[Bug libstdc++/103549] [12 regression] Uninitialized member warning from regex header

2021-12-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103549 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2021-12-04 Ever confirmed|0

[Bug c++/65994] auto deduces object instead of initializer_list

2021-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65994 --- Comment #4 from Andrew Pinski --- CWG2038 : http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#2038 Looks like it is explicit that there should be a difference between C++11/14 and C++17 But I can't find a compiler which

[Bug c++/52145] [C++11] [DR 903] zero-valued integer constant expression should prefer conversion to pointer

2021-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52145 Andrew Pinski changed: What|Removed |Added CC||rs2740 at gmail dot com --- Comment #10

[Bug c++/52145] [C++11] [DR 903] zero-valued integer constant expression should prefer conversion to pointer

2021-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52145 Andrew Pinski changed: What|Removed |Added CC||dominique.pelle at gmail dot com ---

[Bug c++/88655] Different overloaded function being called depending on which compiler is used

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

[Bug c++/77712] [DR903] int() is incorrectly treated as a null pointer constant in C++11 and later

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

[Bug c++/59704] Wrong overload chosen, compiler errornously thinks non-constant zero expression is implicitly castable to null pointer

2021-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59704 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection --- Comment #4 from

[Bug middle-end/102808] [12 regression] sve/mask_gather_load_1.c fails since g:9b2ad21ab3ebc21a3408108327fa1a7cbedaf217

2021-12-03 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102808 rsandifo at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED

[Bug target/103548] Identical MMA assemble quads are incorrectly combined

2021-12-03 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103548 Peter Bergner changed: What|Removed |Added Target||powerpc*-*-*

[Bug c++/103544] compiler crashes when trying to vectorize loop

2021-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103544 --- Comment #1 from Andrew Pinski --- Testcase: #include #include int crash_me(char* ptr, size_t size){ std::array result = {0}; size_t no_iters = 0; for(size_t i = 0; i < size - 12; i+= 13){ for(size_t j = 0; j < 12;

[Bug middle-end/103537] Using -fstack-protector-strong "without" optimization cause segmentation fault

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

[Bug target/101324] powerpc64le: hashst appears before mflr at -O1 or higher

2021-12-03 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101324 Peter Bergner changed: What|Removed |Added Known to fail||11.0 Target Milestone|12.0

[Bug c++/77950] GCC produces un-demanglable symbols with [] (auto&) { ... } lambdas in templates

2021-12-03 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77950 --- Comment #2 from Ian Lance Taylor --- Just a note that my Go demangler does demangle this symbol now, producing ossia::vec_merger_impl<2>::operator() > >, ossia::strong_value > >, ossia::strong_value > >, ossia::strong_value > >,

[Bug rtl-optimization/103028] ICE in extract_constrain_insn, at recog.c:2670

2021-12-03 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103028 Alexandre Oliva changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/59704] Wrong overload chosen, compiler errornously thinks non-constant zero expression is implicitly castable to null pointer

2021-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59704 --- Comment #3 from Andrew Pinski --- (In reply to Arthur O'Dwyer from comment #2) > Here is another example: > https://wandbox.org/permlink/UYsLyMaLcBb6sjJa That is PR 52145.

[Bug rtl-optimization/103550] 2 more instructions generated by gcc than clang

2021-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103550 --- Comment #1 from Andrew Pinski --- #include #include inline constexpr std::uint_least64_t s0(std::uint_least64_t x) noexcept { return std::rotr(x,1)^std::rotr(x,8)^(x>>7); } inline constexpr std::uint_least64_t s1(auto x) noexcept

[Bug c++/97222] GCC discards attributes aligned and may_alias for typedefs passed as template arguments

2021-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97222 Andrew Pinski changed: What|Removed |Added CC||kip at thevertigo dot com --- Comment

[Bug c++/100742] False positive -Wignored-attributes with std::map and aligned(8) attribute

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

[Bug c++/84055] warning: ignoring attributes on template argument ‘cl_uint {aka unsigned int}’ [-Wignored-attributes]

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

[Bug c++/97222] GCC discards attributes aligned and may_alias for typedefs passed as template arguments

2021-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97222 Andrew Pinski changed: What|Removed |Added CC||paul.groke at dynatrace dot com ---

[Bug target/99217] [MIPS] wrong function entry with -fpatchable-function-entry

2021-12-03 Thread huangpei at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99217 --- Comment #5 from huangpei at loongson dot cn --- Hi, with this fix and bug 93242 fixed, a.c with mips16 is OK, ambrosehua@3A1000-800M:~$ gcc -fpatchable-function-entry=3 -mips16 -mabi=32 -c a.c -S -o a.1.s ambrosehua@3A1000-800M:~$ cat

[Bug c++/90412] g++ suggest did you mean for namespace

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

[Bug c++/57977] zero-length const array in union prohibits default copy ctor

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

[Bug c++/82873] Generated copy constructor calls constructors for 0-sized array members

2021-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82873 Andrew Pinski changed: What|Removed |Added Known to work||12.0 Keywords|

[Bug c++/85589] Non type template parameter should allow object with no linkage

2021-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85589 --- Comment #3 from Andrew Pinski --- I suspect r9-3836-g4be5c72cf3ea3 fixed this (maybe on accident).

[Bug c++/70438] result type of vector operations

2021-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70438 --- Comment #4 from Andrew Pinski --- The documentation says: The result of the comparison is a vector of the same width and number of elements as the comparison operands with a signed integral element type. But it is obviously not true.

[Bug rtl-optimization/103550] New: 2 more instructions generated by gcc than clang

2021-12-03 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103550 Bug ID: 103550 Summary: 2 more instructions generated by gcc than clang Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug rtl-optimization/103550] 2 more instructions generated by gcc than clang

2021-12-03 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103550 --- Comment #3 from cqwrteur --- (In reply to Andrew Pinski from comment #2) > Looks like it is a register allocation/scheduling issue. The extra > instructions are mov. yeah. I feel gcc generally has issues with register allocations.

[Bug rtl-optimization/103550] 2 more instructions generated by gcc than clang

2021-12-03 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103550 --- Comment #4 from cqwrteur --- (In reply to Andrew Pinski from comment #2) > Looks like it is a register allocation/scheduling issue. The extra > instructions are mov. Are there good algos that can allocate registers optimal?

[Bug rtl-optimization/103550] 2 more instructions generated by gcc than clang

2021-12-03 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103550 --- Comment #6 from cqwrteur --- (In reply to Andrew Pinski from comment #5) > (In reply to cqwrteur from comment #4) > > (In reply to Andrew Pinski from comment #2) > > > Looks like it is a register allocation/scheduling issue. The extra > > >

[Bug rtl-optimization/103550] 2 more instructions generated by gcc than clang

2021-12-03 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103550 --- Comment #7 from cqwrteur --- (In reply to Andrew Pinski from comment #5) > (In reply to cqwrteur from comment #4) > > (In reply to Andrew Pinski from comment #2) > > > Looks like it is a register allocation/scheduling issue. The extra > > >

[Bug libstdc++/92300] Useless allocator call in std::map, when insert does not perform any insertion.

2021-12-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92300 --- Comment #4 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #3) > This inserts the correct value type, and doesn't perform an addition > allocation: > > assert(a.insert(std::pair(1, 1)).second); >

[Bug c++/70932] flexible array member with non-trivial destructor

2021-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70932 Andrew Pinski changed: What|Removed |Added Known to work|10.1.0, 11.1.0, 12.0| Keywords|needs-bisection,

[Bug target/103271] ICE in assign_stack_temp_for_type with -ftrivial-auto-var-init=pattern and VLAs and -mno-strict-align on riscv64

2021-12-03 Thread wilson at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103271 Jim Wilson changed: What|Removed |Added CC||kito.cheng at gmail dot com --- Comment

[Bug libstdc++/103549] New: [12 regression] Uninitialized member warning from regex header

2021-12-03 Thread sss--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103549 Bug ID: 103549 Summary: [12 regression] Uninitialized member warning from regex header Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/86473] a problem in member lookup?

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

[Bug c++/82270] incorrect warning [-Wignored-attributes]

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

[Bug c++/82873] Generated copy constructor calls constructors for 0-sized array members

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

[Bug libstdc++/92300] Useless allocator call in std::map, when insert does not perform any insertion.

2021-12-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92300 --- Comment #5 from Jonathan Wakely --- Created attachment 51924 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51924=edit Patch to avoid creating a node if inserting something key-like into a map This avoids the allocate/deallocate pair

[Bug c++/85589] Non type template parameter should allow object with no linkage

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

[Bug c++/90391] nonconforming value initialization when type T has a base class with a user-defined default constructor

2021-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90391 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2019-06-12 00:00:00 |2021-12-3 --- Comment #2 from Andrew

[Bug rtl-optimization/103028] ICE in extract_constrain_insn, at recog.c:2670

2021-12-03 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103028 --- Comment #8 from Alexandre Oliva --- Fixed

[Bug c++/52145] [C++11] [DR 903] zero-valued integer constant expression should prefer conversion to pointer

2021-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52145 Andrew Pinski changed: What|Removed |Added Blocks|88655 |94404 Alias|

[Bug rtl-optimization/103550] 2 more instructions generated by gcc than clang

2021-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103550 --- Comment #5 from Andrew Pinski --- (In reply to cqwrteur from comment #4) > (In reply to Andrew Pinski from comment #2) > > Looks like it is a register allocation/scheduling issue. The extra > > instructions are mov. > > Are there good

[Bug c++/60402] [DR 1395] const overload with variadics declared ambiguous according to standard

2021-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60402 Andrew Pinski changed: What|Removed |Added Status|SUSPENDED |NEW --- Comment #3 from Andrew Pinski

[Bug analyzer/103521] [12 regression] gcc.dg/analyzer/pr93032-mztools.c broken after r12-5585

2021-12-03 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103521 --- Comment #1 from seurer at gcc dot gnu.org --- The message changed recently: FAIL: gcc.dg/analyzer/pr93032-mztools.c leak of fpOut at line 329 (test for warnings, line 328) FAIL: gcc.dg/analyzer/pr93032-mztools.c leak of fpOutCD at line 330

[Bug fortran/103505] ICE in compare_bound_mpz_t, at fortran/resolve.c:4587 since r8-7594-g078c5aff5ed83e9c

2021-12-03 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103505 --- Comment #10 from Steve Kargl --- On Thu, Dec 02, 2021 at 09:51:23PM +, anlauf at gcc dot gnu.org wrote: > > Submitted as: https://gcc.gnu.org/pipermail/fortran/2021-December/057102.html > Just saw the commit fly by. Thanks for

[Bug c++/103540] diagnosting concept depends on itself

2021-12-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103540 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic --- Comment #1 from

[Bug testsuite/103545] New: [12 regression] gcc.target/powerpc/undef-bool-2.c fails after r12-5580

2021-12-03 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103545 Bug ID: 103545 Summary: [12 regression] gcc.target/powerpc/undef-bool-2.c fails after r12-5580 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug bootstrap/103547] New: [12 Regression] Bootstrap failure

2021-12-03 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103547 Bug ID: 103547 Summary: [12 Regression] Bootstrap failure Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap

[Bug c++/103543] Potential compiler warning for return of temporary with std::function converting from T(*)()

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

[Bug tree-optimization/103544] [11/12 Regression] compiler crashes when trying to vectorize loop

2021-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103544 Andrew Pinski changed: What|Removed |Added Component|c++ |tree-optimization Known to work|

[Bug target/83782] [9/10/11 Regression] Inconsistent address for hidden ifunc in a shared library

2021-12-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83782 --- Comment #5 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:37fbf9175b22dea2e5eca4393edd0c47e3008994 commit r12-5775-g37fbf9175b22dea2e5eca4393edd0c47e3008994 Author: H.J. Lu Date: Fri Dec 3

[Bug c++/103544] New: compiler crashes when trying to vectorize loop

2021-12-03 Thread monad at posteo dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103544 Bug ID: 103544 Summary: compiler crashes when trying to vectorize loop Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/103403] [11/12 Regression] auto return type with a trailing return type of decl(auto) uses rvalue reference type instead of reference type

2021-12-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103403 --- Comment #5 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:abd7712f91c99690f8b0046ea168b2782afbac69 commit r12-5778-gabd7712f91c99690f8b0046ea168b2782afbac69 Author: Marek Polacek Date:

[Bug fortran/103283] ICE in gfc_trans_array_constructor_subarray, at fortran/trans-array.c:1972

2021-12-03 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103283 anlauf at gcc dot gnu.org changed: What|Removed |Added Keywords||wrong-code --- Comment #4

[Bug target/102758] [12 Regression] Failure to use registers optimally with return values (2 operands related and subreg)

2021-12-03 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102758 --- Comment #4 from rsandifo at gcc dot gnu.org --- (In reply to Richard Biener from comment #3) > Richard? How does the new fwprop behave wrt hardregs? It doesn't sound like this is new vs. old fwprop, since new fwprop was in GCC 11.

[Bug target/95962] Inefficient code for simple arm_neon.h iota operation

2021-12-03 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95962 --- Comment #4 from rsandifo at gcc dot gnu.org --- (In reply to Tamar Christina from comment #3) > This is now fixed on trunk, at least for ld1/st1. Nice! > Was this ticket about the general problem for loads or just the ld1/st1 > examples? >

[Bug fortran/103505] ICE in compare_bound_mpz_t, at fortran/resolve.c:4587 since r8-7594-g078c5aff5ed83e9c

2021-12-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103505 --- Comment #9 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:f46d32dd29b7623915e31b0508e2e925526fa7d8 commit r12-5779-gf46d32dd29b7623915e31b0508e2e925526fa7d8 Author: Harald Anlauf Date:

[Bug bootstrap/103547] [12 Regression] Bootstrap failure with --with-cpu=skylake-avx512

2021-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103547 Andrew Pinski changed: What|Removed |Added Keywords||build, wrong-code Target

[Bug target/101324] powerpc64le: hashst appears before mflr at -O1 or higher

2021-12-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101324 --- Comment #20 from CVS Commits --- The master branch has been updated by Peter Bergner : https://gcc.gnu.org/g:cff7879a381d3f5ed6556206896e6a6229800167 commit r12-5781-gcff7879a381d3f5ed6556206896e6a6229800167 Author: Martin Liska Date:

[Bug fortran/103505] ICE in compare_bound_mpz_t, at fortran/resolve.c:4587 since r8-7594-g078c5aff5ed83e9c

2021-12-03 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103505 --- Comment #11 from anlauf at gcc dot gnu.org --- (In reply to Steve Kargl from comment #10) > On Thu, Dec 02, 2021 at 09:51:23PM +, anlauf at gcc dot gnu.org wrote: > > > > Submitted as: > >

[Bug c++/84415] Using __m128 as a template parameter causes warnings

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

[Bug c++/97222] GCC discards attributes aligned and may_alias for typedefs passed as template arguments

2021-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97222 Andrew Pinski changed: What|Removed |Added CC||myriachan at gmail dot com --- Comment

[Bug target/103548] New: Identical MMA assemble quads are incorrectly combined

2021-12-03 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103548 Bug ID: 103548 Summary: Identical MMA assemble quads are incorrectly combined Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug bootstrap/103547] [12 Regression] Bootstrap failure with --with-cpu=skylake-avx512

2021-12-03 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103547 --- Comment #3 from H.J. Lu --- r12-5778 builds now. It has happened once before. I will leave it open until we find out exactly what is going on.

[Bug c++/103543] New: Potential compiler warning for return of temporary?

2021-12-03 Thread gcc at hazlewoods dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103543 Bug ID: 103543 Summary: Potential compiler warning for return of temporary? Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/95307] Compiler accepts reinterpret_cast in constexpr

2021-12-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95307 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

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

2021-12-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 95307, which changed state. Bug 95307 Summary: Compiler accepts reinterpret_cast in constexpr https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95307 What|Removed |Added

[Bug analyzer/103546] New: Analyzer reports null dereference in flex scanners

2021-12-03 Thread marc--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103546 Bug ID: 103546 Summary: Analyzer reports null dereference in flex scanners Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/103543] Potential compiler warning for return of temporary with std::function converting from T(*)()

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

[Bug libstdc++/70692] No warning when std::function binds a reference to a temporary

2021-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70692 Andrew Pinski changed: What|Removed |Added CC||gcc at hazlewoods dot net --- Comment

[Bug target/43892] PowerPC suboptimal "add with carry" optimization

2021-12-03 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43892 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com ---

[Bug rtl-optimization/103541] unnecessary spills around const functions calls

2021-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103541 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > PR 5739 is related (though I have not looked fully). comment #10 which points out IRA was doing worse.

[Bug tree-optimization/103542] [10/11/12 Regregression] bogus -Warray-bounds while index is limited by switch/case

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

[Bug rtl-optimization/103541] unnecessary spills around const functions calls

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

[Bug rtl-optimization/103541] unnecessary spills around const functions calls

2021-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103541 --- Comment #1 from Andrew Pinski --- I thought I had seen this before ...

[Bug c++/98939] [C++23] Implement P1787R6 "Declarations and where to find them"

2021-12-03 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98939 --- Comment #7 from Jason Merrill --- (In reply to Andrew Pinski from comment #6) > Note I think this paper applies to C++20 too or at least part of it. > > From CWG1291: > [Accepted at the November, 2020 meeting as part of paper P1787R6 and

[Bug target/101324] powerpc64le: hashst appears before mflr at -O1 or higher

2021-12-03 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101324 --- Comment #21 from Peter Bergner --- Fixed on trunk.

[Bug target/103269] Enable ZMM in MOVE_MAX and STORE_MAX_PIECES without -mprefer-vector-width=512

2021-12-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103269 --- Comment #2 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:654cd743c88a28fb292f7c2cf5f4b10e4047e7d9 commit r12-5777-g654cd743c88a28fb292f7c2cf5f4b10e4047e7d9 Author: H.J. Lu Date: Mon Nov 15

[Bug c++/81176] decltype(auto) yields reference type for structured binding

2021-12-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81176 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/54366] [meta-bug] decltype issues

2021-12-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54366 Bug 54366 depends on bug 81176, which changed state. Bug 81176 Summary: decltype(auto) yields reference type for structured binding https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81176 What|Removed |Added

[Bug c++/103403] [11 Regression] auto return type with a trailing return type of decl(auto) uses rvalue reference type instead of reference type

2021-12-03 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103403 Marek Polacek changed: What|Removed |Added Summary|[11/12 Regression] auto |[11 Regression] auto return

[Bug bootstrap/103547] [12 Regression] Bootstrap failure

2021-12-03 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103547 Tamar Christina changed: What|Removed |Added CC||tnfchris at gcc dot gnu.org ---

[Bug middle-end/103537] Using -fstack-protector-strong "without" optimization cause segmentation fault

2021-12-03 Thread hedayat.fwd at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103537 --- Comment #2 from Hedayat Vatankhah --- With these options, the code runs a bit more but still crashes. The output of each option is given below: Output with -fsanitize=undefined: /home/hedayat/Projects/powerfake/powerfake.h:257:40: runtime

[Bug bootstrap/103547] [12 Regression] Bootstrap failure with --with-cpu=skylake-avx512

2021-12-03 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
ead model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.0 20211203 (experimental) (GCC) with a base gcc of 7.5.0, what bootstrap gcc are you using?

[Bug libstdc++/70692] No warning when std::function binds a reference to a temporary

2021-12-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70692 --- Comment #5 from Jonathan Wakely --- "A type trait to detect reference binding to temporary" https://wg21.link/p2255r2 is the current direction to resolve this.

[Bug c++/71792] deducing type from bitfield leads to overflow

2021-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71792 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug c++/71792] deducing type from bitfield leads to overflow

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

[Bug c++/91755] C++ handling of extended characters is not 100% correct

2021-12-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91755 --- Comment #2 from Andrew Pinski --- GCC, ICC, clang and MSVC all fail this test. They all have 13 in size for the second one and 5 for the first.

  1   2   >