[Bug tree-optimization/67194] [9/10/11/12 Regression] Missed jump thread and false positive from -Wuninitialized

2022-01-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67194 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug c/65891] [9/10/11/12 Regression] -Wlogical-op now warns about logical ‘and’ of equal expressions even when different types/sizeofs are involved

2022-01-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65891 Richard Biener changed: What|Removed |Added Version|unknown |11.2.1 Priority|P3

[Bug libstdc++/104019] Testsuite 17_intro/headers/c++2020/stdc++_multiple_inclusion.cc failures

2022-01-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104019 --- Comment #3 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #2) > The aliasing violation is real, we should use memset instead. Patch: https://gcc.gnu.org/pipermail/gcc-patches/2022-January/589024.html

[Bug analyzer/104159] ICE: in finalize, at vector-builder.h:513 with -O -fanalyzer

2022-01-21 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104159 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #2

[Bug c++/53932] [9/10/11/12 Regression] C++ reference variable to member of anonymous union in global is error

2022-01-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53932 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug tree-optimization/40635] [12 Regression] bogus name and location in 'may be used uninitialized' warning

2022-01-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40635 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug c++/39751] [9/10/11/12 Regression] ICE in cp_lexer_new_from_tokens, at cp/parser.c:342

2022-01-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39751 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug c/96171] [10 Regression] ICE on invalid VLA argument declaration and attribute access

2022-01-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96171 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug target/99723] [11/12 Regression] arm: ICE in build_function_type during selftests

2022-01-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99723 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug c++/101731] [9/10/11 Regression] ICE in cp_parser_skip_to_pragma_eol, at cp/parser.c:4055

2022-01-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101731 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug c++/103572] [11/12 Regression] ICE in build_function_type after undefined type as a template argument during class template argument deduction

2022-01-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103572 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug c++/104111] Concept evaluation depends on context where it was first checked

2022-01-21 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104111 Patrick Palka changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #3

[Bug libstdc++/104161] Potential Security Vulnerability: remove_all and symbolic link

2022-01-21 Thread adrien.devresse at metamorphe dot engineering via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104161 --- Comment #2 from Adev --- > I already have a patch. Thanks Jonathan. Simple curiosity: Was that already reported before ? If you do need any testing, do not hesitate. A.D

[Bug modula2/104065] [12 Regression] trunk 20220117 fails to build modula2

2022-01-21 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104065 --- Comment #6 from Gaius Mulley --- ok I've fixed the problem above and the bootstrap tool builds cleanly with a C++ compiler. I'm continuing the build before git pushing changes. I've changed most if not all $(CC) to $(CXX) inside the Make-l

[Bug c++/104113] invalid template argument causes the type to become int which confuses the rest of the diagnostic

2022-01-21 Thread nickhuang99 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104113 --- Comment #5 from qingzhe huang --- Created attachment 52257 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52257&action=edit cp_parser_simulate_error logic diff --git a/gcc/cp/parser.cc b/gcc/cp/parser.cc index b262b765a9a..988631a424

[Bug c++/104113] invalid template argument causes the type to become int which confuses the rest of the diagnostic

2022-01-21 Thread nickhuang99 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104113 --- Comment #6 from qingzhe huang --- How about this simple fix? (see the patch above.) Instead of return "error_mark_node" by condition of "!cp_parser_simulate_error", we now report error immediately. The rational of this fix is that "cp_parse

[Bug analyzer/104159] ICE: in finalize, at vector-builder.h:513 with -O -fanalyzer

2022-01-21 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104159 David Malcolm changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #3 from David Malc

[Bug middle-end/97968] [9/10/11/12 Regression] Unnecessary mov instruction with comparison and cmov

2022-01-21 Thread denis.campredon at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97968 --- Comment #3 from denis.campredon at gmail dot com --- This seems to be fixed for gcc12, unlike the code from pr-98303

[Bug c++/104165] New: Incorrectly identifying array bounds with -O2 -Werror=array-bounds

2022-01-21 Thread kbrabml at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104165 Bug ID: 104165 Summary: Incorrectly identifying array bounds with -O2 -Werror=array-bounds Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/104113] invalid template argument causes the type to become int which confuses the rest of the diagnostic

2022-01-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104113 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug libstdc++/87193] symbols in have inconsistent types

2022-01-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87193 --- Comment #5 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:b8806796ec64585de39ca6ee3b7b30cc08f27d62 commit r12-6798-gb8806796ec64585de39ca6ee3b7b30cc08f27d62 Author: Jonathan Wakely Date:

[Bug libstdc++/104019] Testsuite 17_intro/headers/c++2020/stdc++_multiple_inclusion.cc failures

2022-01-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104019 --- Comment #4 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:b8806796ec64585de39ca6ee3b7b30cc08f27d62 commit r12-6798-gb8806796ec64585de39ca6ee3b7b30cc08f27d62 Author: Jonathan Wakely Date:

[Bug tree-optimization/104162] [12 Regression] Missed CSE after lowering of &MEM[ptr_1 + CST]

2022-01-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104162 --- Comment #3 from Andrew Pinski --- Right my original version of the lowering handled this. I guess we need to handle the case where we have a handled reference too. But that would regress PR 99673 again. I will take a look this weekend.

[Bug libstdc++/104019] Testsuite 17_intro/headers/c++2020/stdc++_multiple_inclusion.cc failures

2022-01-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104019 --- Comment #5 from Jonathan Wakely --- The macros should all be OK now. The aliasing fix isn't pushed yet.

[Bug libstdc++/87193] symbols in have inconsistent types

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

[Bug libstdc++/104166] New: Implement C++20 std::format

2022-01-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104166 Bug ID: 104166 Summary: Implement C++20 std::format Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug libstdc++/104167] New: Implement C++20 std::chrono::utc_clock, std::chrono::tzdb etc.

2022-01-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104167 Bug ID: 104167 Summary: Implement C++20 std::chrono::utc_clock, std::chrono::tzdb etc. Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/103121] [12 Regression] Warnings in cp/optimize.c causing build failure

2022-01-21 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103121 --- Comment #29 from Martin Sebor --- >From memory: At use1 the cache is empty so go and find its definition and record the offset at that point, with the pointer addition as the context. And at use2 we look up the same offset. So use1 won't r

[Bug tree-optimization/104165] [12 Regression] Incorrectly identifying array bounds with -O2 -Werror=array-bounds

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

[Bug c++/104139] [12 Regression] g++.dg/abi/no_unique_address2.C at r12-6028 (a37e8ce3b663)

2022-01-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104139 --- Comment #2 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:23be9f83bbd2c6f03580757adbfe599de6bf702b commit r12-6800-g23be9f83bbd2c6f03580757adbfe599de6bf702b Author: Jason Merrill Date: F

[Bug c++/103681] [9/10/11 Regression] Unusual behavior for tail padding with different c++ standards and NSDMI

2022-01-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103681 --- Comment #5 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:23be9f83bbd2c6f03580757adbfe599de6bf702b commit r12-6800-g23be9f83bbd2c6f03580757adbfe599de6bf702b Author: Jason Merrill Date: F

[Bug tree-optimization/104165] [12 Regression] -Warray-bounds for unreachable code inlined from std::sort()

2022-01-21 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104165 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug target/90128] 507.cactuBSSN_r is 9-11% slower at -Ofast and native march/tuning on Zen CPUs

2022-01-21 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90128 --- Comment #10 from Martin Jambor --- We still regress, according to LNT 8% on zen2: https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=335.437.0&plot.1=309.437.0&plot.2=346.437.0&plot.3=276.437.0&plot.4=398.437.0&plot.5=417.437.0&plot.6=2

[Bug c++/104084] [12 regression] Internal compiler error: tree check: expected target_expr, have compound_expr in build_new_1 since r12-6375-g6cd51207f5732b52

2022-01-21 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104084 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/104168] New: Crashed when compile `void f(const int N){ int a[1][N] = {}; }`, internal compiler error: in make_decl_rtl, at varasm.c:1422

2022-01-21 Thread wz at email dot sdu.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104168 Bug ID: 104168 Summary: Crashed when compile `void f(const int N){ int a[1][N] = {}; }`, internal compiler error: in make_decl_rtl, at varasm.c:1422 Product: gcc

[Bug c++/104168] Crashed when compile `void f(const int N){ int a[1][N] = {}; }`, internal compiler error: in make_decl_rtl, at varasm.c:1422

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

[Bug c++/58646] [9/10/11/12 Regression] ICE on a multidimensional VLA with an empty initializer list

2022-01-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58646 Andrew Pinski changed: What|Removed |Added CC||wz at email dot sdu.edu.cn --- Comment #

[Bug tree-optimization/103121] [12 Regression] Warnings in cp/optimize.c causing build failure

2022-01-21 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103121 --- Comment #30 from Andrew Macleod --- (In reply to Martin Sebor from comment #29) > From memory: At use1 the cache is empty so go and find its definition and > record the offset at that point, with the pointer addition as the context. > And a

[Bug c++/101715] [11/12 Regression] ICE with noexcept and canonical types differ for identical types

2022-01-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101715 --- Comment #19 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:3abcbf243239f9576a60f4ce7f8ee4b3fa14784b commit r12-6802-g3abcbf243239f9576a60f4ce7f8ee4b3fa14784b Author: Marek Polacek Date: F

[Bug c++/101715] [11 Regression] ICE with noexcept and canonical types differ for identical types

2022-01-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101715 Marek Polacek changed: What|Removed |Added Summary|[11/12 Regression] ICE with |[11 Regression] ICE with

[Bug rtl-optimization/104153] [12 Regression] ICE due to recent ifcvt changes

2022-01-21 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104153 --- Comment #2 from Jeffrey A. Law --- I'd bet the or1k expanders are changing the passed-in RTL.

[Bug target/103676] [10/11/12 Regression] internal compiler error: in extract_constrain_insn, at recog.c:2671

2022-01-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103676 --- Comment #24 from CVS Commits --- The master branch has been updated by Vladimir Makarov : https://gcc.gnu.org/g:85419ac59724b7ce710ebb4acf03dbd747edeea3 commit r12-6803-g85419ac59724b7ce710ebb4acf03dbd747edeea3 Author: Vladimir N. Makarov

[Bug middle-end/104140] [12 Regression] ICE verify_gimple failed: type mismatch in binary expression since r12-6434-g0752c75536e

2022-01-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104140 --- Comment #4 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:886e9779581102caf97cd05dea80d9be87c24784 commit r12-6804-g886e9779581102caf97cd05dea80d9be87c24784 Author: Roger Sayle Date: Fri J

[Bug tree-optimization/103121] [12 Regression] Warnings in cp/optimize.c causing build failure

2022-01-21 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103121 --- Comment #31 from Martin Sebor --- I believe I understand what both of you are saying and (also) that the cache behaves correctly. It stores offsets based on the pointer definition statements. Here's a test that I think reproduces the condi

[Bug middle-end/104140] [12 Regression] ICE verify_gimple failed: type mismatch in binary expression since r12-6434-g0752c75536e

2022-01-21 Thread belyshev at depni dot sinp.msu.ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104140 Serge Belyshev changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug sanitizer/104158] [12 Regression] gcc no longer accepts -fsanitize-coverage=trace-pc,trace-cmp since r12-1177

2022-01-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104158 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2022-01-21 Status|UNCONFIRM

[Bug sanitizer/104158] [12 Regression] gcc no longer accepts -fsanitize-coverage=trace-pc,trace-cmp since r12-1177

2022-01-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104158 --- Comment #6 from Jakub Jelinek --- Created attachment 52260 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52260&action=edit gcc12-pr104158-2.patch Untested patch for this PR proper. The only behavior change is that -fsanitize-coverag

[Bug sanitizer/104158] [12 Regression] gcc no longer accepts -fsanitize-coverage=trace-pc,trace-cmp since r12-1177

2022-01-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104158 --- Comment #7 from Jakub Jelinek --- Created attachment 52261 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52261&action=edit gcc12-pr104158-3.patch Untested patch for Fortran -fconvert= extensions using this patch.

[Bug target/104136] Gcc cannot compile wrf_r for power10 using -Ofast

2022-01-21 Thread meissner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104136 Michael Meissner changed: What|Removed |Added Attachment #52246|0 |1 is obsolete|

[Bug debug/104169] New: GDB unable to set $xmm2-7 register but able to set $xmm0-1 on non-AVX machines

2022-01-21 Thread contact at lsferreira dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104169 Bug ID: 104169 Summary: GDB unable to set $xmm2-7 register but able to set $xmm0-1 on non-AVX machines Product: gcc Version: unknown Status: UNCONFIRMED Severi

[Bug bootstrap/104170] New: [12 Regression] Failed to bootstrap by r12-6807

2022-01-21 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104170 Bug ID: 104170 Summary: [12 Regression] Failed to bootstrap by r12-6807 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug bootstrap/104170] [12 Regression] Failed to bootstrap by r12-6807

2022-01-21 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104170 H.J. Lu changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug debug/104169] GDB unable to set $xmm2-7 register but able to set $xmm0-1 on non-AVX machines

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

[Bug c++/20040] A new expression must check the access level of delete operator

2022-01-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20040 --- Comment #4 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:847a8301add0a316767878342c1367948835c181 commit r12-6808-g847a8301add0a316767878342c1367948835c181 Author: Jason Merrill Date: Fr

[Bug c++/104084] [12 regression] Internal compiler error: tree check: expected target_expr, have compound_expr in build_new_1 since r12-6375-g6cd51207f5732b52

2022-01-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104084 --- Comment #8 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:847a8301add0a316767878342c1367948835c181 commit r12-6808-g847a8301add0a316767878342c1367948835c181 Author: Jason Merrill Date: F

[Bug c++/104084] [12 regression] Internal compiler error: tree check: expected target_expr, have compound_expr in build_new_1 since r12-6375-g6cd51207f5732b52

2022-01-21 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104084 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/104139] [12 Regression] g++.dg/abi/no_unique_address2.C at r12-6028 (a37e8ce3b663)

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

[Bug debug/104169] GDB unable to set $xmm2-7 register but able to set $xmm0-1 on non-AVX machines

2022-01-21 Thread contact at lsferreira dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104169 --- Comment #2 from Luís Ferreira --- Thanks for the information. Just cross-referencing here: https://sourceware.org/bugzilla/show_bug.cgi?id=28803 .

[Bug libgomp/66005] libgomp make check time is excessive

2022-01-21 Thread belyshev at depni dot sinp.msu.ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66005 Serge Belyshev changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug fortran/104128] ICE in gfc_widechar_to_char, at fortran/scanner.c:199

2022-01-21 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104128 anlauf at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 Keywords|

[Bug fortran/104128] ICE in gfc_widechar_to_char, at fortran/scanner.c:199

2022-01-21 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104128 --- Comment #4 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #3) > with TRANSFER between different integer kinds. E.g. oops, that should read: character kinds

[Bug rtl-optimization/104153] [12 Regression] ICE due to recent ifcvt changes

2022-01-21 Thread rdapp at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104153 --- Comment #3 from rdapp at linux dot ibm.com --- Both of your guesses are correct :) or1k_expand_compare () indeed modifies the condition/comparison in-place. As I use cc_cmp directly from the condition of the jump it is changed but never rev

[Bug c++/104160] Wrongly allowed: Function argumentin constant expression

2022-01-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104160 --- Comment #1 from Andrew Pinski --- Reduced testcase: struct Array { static constexpr bool isArray() noexcept { return true; } }; template constexpr void buggyImpl(const JSONVariant& JSONValue) noexcept { constexpr bool t = JSONValu

[Bug c++/104160] Wrongly allowed: Function argumentin constant expression

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

[Bug c/104171] New: ICE: 'verify_gimple' failed. verify_gimple_in_seq; gimplify_body

2022-01-21 Thread cnsun at uwaterloo dot ca via Gcc-bugs
gured with: /tmp/tmp.OLkXuGPSxC-gcc-builder/gcc/configure --enable-languages=c,c++,lto --enable-checking-yes --enable-multiarch --prefix=/scratch/software/gcc-trunk --disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.1 20220121 (experimental) [master -gcaca8eddd] (GCC)

[Bug c++/104160] Wrongly allowed: Function argumentin constant expression

2022-01-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104160 --- Comment #3 from Andrew Pinski --- Hmm, MSVC accepts this code just like GCC. ICC does too. Only clang rejects it. If Value was not marked as a constexpr, then GCC rejects it too. I do have wonder if clang is right to reject this or not.

[Bug c++/104160] Wrongly allowed: Function argumentin constant expression

2022-01-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104160 --- Comment #4 from Andrew Pinski --- The error message from clang is: :28:19: note: function parameter 'JSONValue' with unknown value cannot be used in a constant expression if constexpr (JSONValue.isArray()) { ^

[Bug middle-end/104171] ICE: 'verify_gimple' failed. verify_gimple_in_seq; gimplify_body

2022-01-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104171 Andrew Pinski changed: What|Removed |Added Component|c |middle-end Status|UNCONFIRM

[Bug target/104172] New: [9/10/11/12 Regression] ppc64le mangling ICE with -flto -ffat-lto-objects

2022-01-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104172 Bug ID: 104172 Summary: [9/10/11/12 Regression] ppc64le mangling ICE with -flto -ffat-lto-objects Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: norm

[Bug target/104172] [9/10/11/12 Regression] ppc64le mangling ICE with -flto -ffat-lto-objects

2022-01-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104172 Jakub Jelinek changed: What|Removed |Added CC||dje at gcc dot gnu.org,

[Bug target/104172] [9/10/11/12 Regression] ppc64le mangling ICE with -flto -ffat-lto-objects

2022-01-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104172 --- Comment #2 from Jakub Jelinek --- Was -mabi=ieeelongdouble support even remotely usable in GCC 8 (do we really need to care about compatibility with it)?

[Bug tree-optimization/101831] Spurious maybe-uninitialized warning on std::array::size

2022-01-21 Thread kim.walisch at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101831 kim.walisch at gmail dot com changed: What|Removed |Added CC||kim.walisch at gmail dot c

[Bug bootstrap/104170] [12 Regression] Failed to bootstrap by r12-6807

2022-01-21 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104170 H.J. Lu changed: What|Removed |Added Target Milestone|--- |12.0 --- Comment #1 from H.J. Lu --- A patch

[Bug target/104172] [9/10/11/12 Regression] ppc64le mangling ICE with -flto -ffat-lto-objects

2022-01-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104172 --- Comment #3 from Jakub Jelinek --- E.g. I think all the libstdc++ work is only in GCC 11, so yes, one could use C++, but couldn't use the standard C++ library in GCC 8.

[Bug c++/104148] [11/12 Regression] -Wformat warning no longer warns about () wrapped args since r11-2457

2022-01-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104148 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:f36efe71bef8ddf72306aca313d28759434cf97a commit r12-6810-gf36efe71bef8ddf72306aca313d28759434cf97a Author: Jakub Jelinek Date: F

[Bug target/104172] [9/10/11/12 Regression] ppc64le mangling ICE with -flto -ffat-lto-objects

2022-01-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104172 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug c++/104148] [11 Regression] -Wformat warning no longer warns about () wrapped args since r11-2457

2022-01-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104148 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|11.3

[Bug c++/104173] New: [12 Regression] wrong overload resolution for ref-qualifiers

2022-01-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104173 Bug ID: 104173 Summary: [12 Regression] wrong overload resolution for ref-qualifiers Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: rejects-valid

[Bug c++/104173] [12 Regression] wrong overload resolution for ref-qualifiers

2022-01-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104173 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/104173] [12 Regression] wrong overload resolution for ref-qualifiers

2022-01-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104173 Jonathan Wakely changed: What|Removed |Added Priority|P3 |P1

[Bug target/104172] [9/10/11/12 Regression] ppc64le mangling ICE with -flto -ffat-lto-objects

2022-01-21 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104172 Bill Schmidt changed: What|Removed |Added CC||wschmidt at gcc dot gnu.org --- Comment

[Bug fortran/104128] ICE in gfc_widechar_to_char, at fortran/scanner.c:199

2022-01-21 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104128 --- Comment #5 from anlauf at gcc dot gnu.org --- The issue in comment#3 is likely unrelated to TRANSFER: program p implicit none ! integer, parameter :: k = 1 integer, parameter :: k = 4 character(kind=k,len=2), parameter :: z = k_"FG"

[Bug bootstrap/104170] [12 Regression] Failed to bootstrap by r12-6807

2022-01-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104170 --- Comment #2 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:60953a23d57b13a672f751bec0c6eefc059eb1ab commit r12-6811-g60953a23d57b13a672f751bec0c6eefc059eb1ab Author: H.J. Lu Date: Fri Jan 21 13

[Bug fortran/103782] [9/10/11/12 Regression] internal error occurs when overloading intrinsic since r9-1566-g87c789f1c0b2df41

2022-01-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103782 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:48ef652689b96f4305d5a9c30c4c9f2008cbd4d8 commit r10-10412-g48ef652689b96f4305d5a9c30c4c9f2008cbd4d8 Author: Harald Anlauf

[Bug target/104136] Gcc cannot compile wrf_r for power10 using -Ofast

2022-01-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104136 --- Comment #4 from CVS Commits --- The master branch has been updated by Michael Meissner : https://gcc.gnu.org/g:f9063d12633c62a089115df032a19295854d8b06 commit r12-6812-gf9063d12633c62a089115df032a19295854d8b06 Author: Michael Meissner Dat

[Bug bootstrap/104170] [12 Regression] Failed to bootstrap by r12-6807

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

[Bug libstdc++/104174] New: [12 Regression] unordered_map fails

2022-01-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104174 Bug ID: 104174 Summary: [12 Regression] unordered_map fails Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal Priority: P

[Bug libstdc++/104174] [12 Regression] unordered_map fails

2022-01-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104174 Jonathan Wakely changed: What|Removed |Added Known to work||11.2.1 Status|UNCONFIRMED

[Bug libstdc++/104174] [12 Regression] unordered_map fails

2022-01-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104174 Jonathan Wakely changed: What|Removed |Added Summary|[12 Regression] |[12 Regression] |un

[Bug c++/104175] New: Enum Class Bit Fields Brace-enclosed Initializer List fails to compile

2022-01-21 Thread bieri.hp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104175 Bug ID: 104175 Summary: Enum Class Bit Fields Brace-enclosed Initializer List fails to compile Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: norma

[Bug c++/104175] Enum Class Bit Fields Brace-enclosed Initializer List fails to compile

2022-01-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104175 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Known to fail|

[Bug modula2/104065] [12 Regression] trunk 20220117 fails to build modula2

2022-01-21 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104065 --- Comment #7 from Gaius Mulley --- All fixed now (I think), see mailing list entry https://gcc.gnu.org/pipermail/gcc-cvs/2022-January/359679.html In summary $(CC) is only used to compile flex generated source. $(CXX) is used instead. The

[Bug other/104176] New: opts-global.cc:420:62: error: unquoted option name '--enable-plugin' in format

2022-01-21 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104176 Bug ID: 104176 Summary: opts-global.cc:420:62: error: unquoted option name '--enable-plugin' in format Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug target/104028] M68k: Error: value -16034 out of range for switch tables in some cases with optimization

2022-01-21 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104028 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P4 CC|

[Bug other/104176] opts-global.cc:420:62: error: unquoted option name '--enable-plugin' in format

2022-01-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104176 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2022-01-22 Assignee|unassigne

[Bug other/104176] [12 Regression] opts-global.cc:420:62: error: unquoted option name '--enable-plugin' in format

2022-01-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104176 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0 Keywords|

[Bug c++/104177] New: [diagnostic] basic.align#9 should emit diagnostic for unsupported alignas

2022-01-21 Thread ldalessandro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104177 Bug ID: 104177 Summary: [diagnostic] basic.align#9 should emit diagnostic for unsupported alignas Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: norm

[Bug c++/104177] [diagnostic] basic.align#9 should emit diagnostic for unsupported alignas

2022-01-21 Thread ldalessandro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104177 --- Comment #1 from Luke Dalessandro --- Also described in https://stackoverflow.com/questions/66546906/is-it-defined-behavior-to-place-exotically-aligned-objects-in-the-coroutine-stat.

[Bug c++/104177] [diagnostic] basic.align#9 should emit diagnostic for unsupported alignas

2022-01-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104177 --- Comment #2 from Andrew Pinski --- It should be supported. There might be a dup copying the alignment though for the coroutines.

[Bug c++/104173] [12 Regression] wrong overload resolution for ref-qualifiers

2022-01-21 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104173 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

<    1   2   3   >