[Bug c++/103186] [11 Regression] ICE with lambda as default argument in template

2022-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103186 --- Comment #15 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:97949b796566ad10895e69aadafb2462e45617b6 commit r11-9684-g97949b796566ad10895e69aadafb2462e45617b6 Author: Jason Merrill

[Bug c++/103057] [11 Regression] Internal compiler error: Error reporting routines re-entered since r11-291-g0f50f6daa140186a

2022-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103057 --- Comment #10 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:b3411d7a36ee1d38923dcf9db26a1dd252827b64 commit r11-9682-gb3411d7a36ee1d38923dcf9db26a1dd252827b64 Author: Jason Merrill

[Bug c++/59950] [9/10/11 Regression] Bogus diagnostic "taking address of temporary" taking address of trivial no-op assignment to temporary with empty class

2022-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59950 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:cb123480984d49c6a6e81b026633fc87883e commit r11-9681-gcb123480984d49c6a6e81b026633fc87883e Author: Jason Merrill D

[Bug c++/101095] Bogus "error: conflicting global module declaration" for abbreviated function template using placeholder type in noexcept

2022-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101095 --- Comment #3 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:0a63e3ee2d5c9aa0e51aa1eb54c3d14c06418ac3 commit r11-9680-g0a63e3ee2d5c9aa0e51aa1eb54c3d14c06418ac3 Author: Jason Merrill

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

2022-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58646 --- Comment #18 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:09d0fc6912c4f600432caecc6ab0a277f2aef480 commit r11-9679-g09d0fc6912c4f600432caecc6ab0a277f2aef480 Author: Jason Merrill

[Bug c++/102538] [11 Regression] Wrong narrowing conversion checking for initializer with union

2022-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102538 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:2b2f575e6f27acc0c7ba6a3affc760bf2b96a84b commit r11-9678-g2b2f575e6f27acc0c7ba6a3affc760bf2b96a84b Author: Jason Merrill

[Bug c++/103299] [11 Regression] accessing incorrect storage for designated init of anonymous union at constexpr context

2022-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103299 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:2b2f575e6f27acc0c7ba6a3affc760bf2b96a84b commit r11-9678-g2b2f575e6f27acc0c7ba6a3affc760bf2b96a84b Author: Jason Merrill

[Bug c++/102740] [11 Regression] Data member not found in struct inside an unnamed union

2022-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102740 --- Comment #9 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:2b2f575e6f27acc0c7ba6a3affc760bf2b96a84b commit r11-9678-g2b2f575e6f27acc0c7ba6a3affc760bf2b96a84b Author: Jason Merrill

[Bug c++/103337] rejects-valid brace elision inside designated initializer

2022-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103337 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:2b2f575e6f27acc0c7ba6a3affc760bf2b96a84b commit r11-9678-g2b2f575e6f27acc0c7ba6a3affc760bf2b96a84b Author: Jason Merrill

[Bug c++/101767] [11 Regression] Aggregate initialization fails for struct that has both unnamed struct and union fields

2022-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101767 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:b94c95fc1199bfa2c7ab577921b07ef545976cac commit r11-9677-gb94c95fc1199bfa2c7ab577921b07ef545976cac Author: Jason Merrill

[Bug target/104978] [avx512fp16] wrong code for _mm_mask_fcmadd_round_sch

2022-03-21 Thread wwwhhhyyy333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104978 --- Comment #5 from Hongyu Wang --- Fixed for GCC 12.

[Bug target/104978] [avx512fp16] wrong code for _mm_mask_fcmadd_round_sch

2022-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104978 --- Comment #4 from CVS Commits --- The master branch has been updated by Hongyu Wang : https://gcc.gnu.org/g:7bce0be03b857eefe5990c3ef0af06ea8f8ae04e commit r12-7747-g7bce0be03b857eefe5990c3ef0af06ea8f8ae04e Author: Hongyu Wang Date: Sat M

[Bug bootstrap/105010] New: GCC 12 after 20220227 fails on powerpc64-freebsd with Error: invalid mfcr mask

2022-03-21 Thread pkubaj at anongoth dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105010 Bug ID: 105010 Summary: GCC 12 after 20220227 fails on powerpc64-freebsd with Error: invalid mfcr mask Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug c++/80351] Inconsistent warning for constexpr auto constant when using initializer list (-Wunused-variable)

2022-03-21 Thread pokechu022+gccbugzilla at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80351 --- Comment #4 from Pokechu22 --- This also affects const variables, not just constexpr ones. See https://godbolt.org/z/5coadhr8a. The source of the issue is that the type is not complete the first time when cp_apply_type_quals_to_decl (in cp/t

[Bug middle-end/105009] New: [12 Regression] Fails to build with --target=xtensa-esp32-elf

2022-03-21 Thread bero at lindev dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105009 Bug ID: 105009 Summary: [12 Regression] Fails to build with --target=xtensa-esp32-elf Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/104970] [12 Regression] ICE in execute_todo, at passes.cc:2133 since r12-6480-gea19c8f33a3a8d2b

2022-03-21 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104970 --- Comment #7 from Martin Sebor --- The dollar sign in the internal attr_access string implies a VLA bound and the attr_access::vla_bounds() function queries the VLA bounds. That should make it possible to distinguish the two cases. Unlike th

[Bug target/104998] Incorrect __cpuid usage

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

[Bug target/104998] Incorrect __cpuid usage

2022-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104998 --- Comment #2 from CVS Commits --- The releases/gcc-11 branch has been updated by H.J. Lu : https://gcc.gnu.org/g:d5a493bd996e79ef175467f4b6cbcc4da119b0a1 commit r11-9675-gd5a493bd996e79ef175467f4b6cbcc4da119b0a1 Author: H.J. Lu Date: Mon

[Bug target/105000] __attribute__((target("no-sse"))) doesn't disable AVX/SSE ISAs in ix86_isa_flags2

2022-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105000 --- Comment #2 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:e8b6afa98f0a390c955a089a3d61fdd24f4e1d3a commit r12-7745-ge8b6afa98f0a390c955a089a3d61fdd24f4e1d3a Author: H.J. Lu Date: Mon Mar 21 11

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

2022-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58646 --- Comment #17 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:c65bd532e225996cc9c5b75355d2cb648d0bcfc5 commit r12-7744-gc65bd532e225996cc9c5b75355d2cb648d0bcfc5 Author: Jason Merrill Date: M

[Bug tree-optimization/90356] Missed optimization for variables initialized to 0.0

2022-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90356 --- Comment #10 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:bec69ac548b0f37b41d07082d6ee52b52d356536 commit r12-7743-gbec69ac548b0f37b41d07082d6ee52b52d356536 Author: H.J. Lu Date: Mon Mar 21 13

[Bug target/86722] ifcvt produces x&0 that is never cleaned up

2022-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86722 --- Comment #5 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:bec69ac548b0f37b41d07082d6ee52b52d356536 commit r12-7743-gbec69ac548b0f37b41d07082d6ee52b52d356536 Author: H.J. Lu Date: Mon Mar 21 13:

[Bug target/104998] Incorrect __cpuid usage

2022-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104998 --- Comment #1 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:d0363a80690a299179d010c1d8a6d6430e7eb73f commit r12-7742-gd0363a80690a299179d010c1d8a6d6430e7eb73f Author: H.J. Lu Date: Mon Mar 21 06

[Bug c/105008] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in shorten_binary_op, at c-family/c-common.cc:1400 with unsigned _Fract vector

2022-03-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105008 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-invalid-code Severity|

[Bug c++/102489] [12 Regression] coroutines: ICE in is_this_parameter, at cp/semantics.c:11273 since r12-3529-g70ee703c479081ac

2022-03-21 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102489 --- Comment #4 from Iain Sandoe --- (In reply to Jakub Jelinek from comment #3) > It is still a regression from GCC 11 and so a P1 and thus a GCC 12 release > blocker. This PR was fixed by r12-5255-gdaa9c6b015, (and I added a test case for PR96

[Bug tree-optimization/104987] [12 Regression] Recent change causing vrp13.c regressions on several targets

2022-03-21 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104987 --- Comment #3 from Andrew Macleod --- FWIW, if I remove the ifcombine pass, then I get the identical IL on x86_64 in the .optimized pass, and it executes as expected...

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

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

[Bug c++/102538] [11 Regression] Wrong narrowing conversion checking for initializer with union

2022-03-21 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102538 Jason Merrill changed: What|Removed |Added Assignee|mpolacek at gcc dot gnu.org|jason at gcc dot gnu.org

[Bug c++/103299] [11 Regression] accessing incorrect storage for designated init of anonymous union at constexpr context

2022-03-21 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103299 Jason Merrill changed: What|Removed |Added Known to fail|12.0| Summary|[11/12 Regression]

[Bug c++/102740] [11 Regression] Data member not found in struct inside an unnamed union

2022-03-21 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102740 Jason Merrill changed: What|Removed |Added Target Milestone|10.4|11.3 Summary|[10/11/12 Regre

[Bug c++/101767] [11 Regression] Aggregate initialization fails for struct that has both unnamed struct and union fields

2022-03-21 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101767 Jason Merrill changed: What|Removed |Added Summary|[10/11/12 Regression] |[11 Regression] Aggregate

[Bug c/105008] New: ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in shorten_binary_op, at c-family/c-common.cc:1400 with unsigned _Fract vector

2022-03-21 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105008 Bug ID: 105008 Summary: ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in shorten_binary_op, at c-family/c-common.cc:1400 with unsigned _Fract vector

[Bug c++/103337] rejects-valid brace elision inside designated initializer

2022-03-21 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103337 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org Resolu

[Bug c++/102538] [11/12 Regression] Wrong narrowing conversion checking for initializer with union

2022-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102538 --- Comment #6 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:24d51e749570dcb85bd43d3b528f58ad6141de26 commit r12-7741-g24d51e749570dcb85bd43d3b528f58ad6141de26 Author: Jason Merrill Date: M

[Bug c++/103299] [11/12 Regression] accessing incorrect storage for designated init of anonymous union at constexpr context

2022-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103299 --- Comment #3 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:24d51e749570dcb85bd43d3b528f58ad6141de26 commit r12-7741-g24d51e749570dcb85bd43d3b528f58ad6141de26 Author: Jason Merrill Date: M

[Bug c++/102740] [10/11/12 Regression] Data member not found in struct inside an unnamed union

2022-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102740 --- Comment #7 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:24d51e749570dcb85bd43d3b528f58ad6141de26 commit r12-7741-g24d51e749570dcb85bd43d3b528f58ad6141de26 Author: Jason Merrill Date: M

[Bug c++/103337] rejects-valid brace elision inside designated initializer

2022-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103337 --- Comment #2 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:24d51e749570dcb85bd43d3b528f58ad6141de26 commit r12-7741-g24d51e749570dcb85bd43d3b528f58ad6141de26 Author: Jason Merrill Date: M

[Bug c++/101767] [10/11/12 Regression] Aggregate initialization fails for struct that has both unnamed struct and union fields

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

[Bug target/104901] gcc/config/rs6000/mm_malloc.h:46: incorrectLogicOperator

2022-03-21 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104901 --- Comment #11 from Segher Boessenkool --- $ cat vcc.c int f(int x) { return x == 31 && x == 42; } -Wlogical-op gives vcc.c: In function 'f': vcc.c:1:31: warning: logical 'and' of mutually exclusive tests is always false [-Wlogical-op] 1

[Bug d/105004] d: internal compiler error: in build_complex, at tree.c:2358

2022-03-21 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105004 Iain Buclaw changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug d/105004] d: internal compiler error: in build_complex, at tree.c:2358

2022-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105004 --- Comment #2 from CVS Commits --- The releases/gcc-11 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:e6afd08da387e3161651c8770d5b7d32741f4341 commit r11-9674-ge6afd08da387e3161651c8770d5b7d32741f4341 Author: Iain Buclaw Date

[Bug d/104911] [12 regression] Comparison failure in gcc/d/typesem.o etc.

2022-03-21 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104911 Iain Buclaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug d/105004] d: internal compiler error: in build_complex, at tree.c:2358

2022-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105004 --- Comment #1 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:1dd51373a82408361068e130a84caa888ef0d2b3 commit r12-7738-g1dd51373a82408361068e130a84caa888ef0d2b3 Author: Iain Buclaw Date: Mon M

[Bug d/104911] [12 regression] Comparison failure in gcc/d/typesem.o etc.

2022-03-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104911 --- Comment #8 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:fbdaa58162ee4189f441b75170af89215465d189 commit r12-7737-gfbdaa58162ee4189f441b75170af89215465d189 Author: Iain Buclaw Date: Mon M

[Bug tree-optimization/105007] Missing variables at -O2/O3 likely caused by incorrect debug info after inlining

2022-03-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105007 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/104901] gcc/config/rs6000/mm_malloc.h:46: incorrectLogicOperator

2022-03-21 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104901 --- Comment #10 from Andreas Schwab --- The values depend on the target, but they are genuine compile time constants.

[Bug debug/105007] Missing variables at -O2/O3 likely caused by incorrect debug info after inlining

2022-03-21 Thread assaiante at diag dot uniroma1.it via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105007 --- Comment #1 from Cristian Assaiante --- The gdb bug report can be found at: https://sourceware.org/bugzilla/show_bug.cgi?id=28987

[Bug debug/105007] New: Missing variables at -O2/O3 likely caused by incorrect debug info after inlining

2022-03-21 Thread assaiante at diag dot uniroma1.it via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105007 Bug ID: 105007 Summary: Missing variables at -O2/O3 likely caused by incorrect debug info after inlining Product: gcc Version: 12.0 Status: UNCONFIRMED Severit

[Bug c++/104008] [11 Regression] New g++ folly compile error since r11-7931-ga2531859bf5bf6cf

2022-03-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104008 --- Comment #13 from Marek Polacek --- Ah, need -fchecking=2: $ ./cc1plus -quiet variadic-alias3.C -Iinclude --param=hash-table-verification-limit=1000 -fchecking=2 hash table checking failed: equal operator returns true for a pair of values wi

[Bug c++/105003] ICE in new test case from r12-7710-gc7a6a32739d62d

2022-03-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105003 Marek Polacek changed: What|Removed |Added Last reconfirmed||2022-03-21 Status|UNCONFIRM

[Bug fortran/104999] [12 Regression] runtime error: pointer index expression with base 0x00000cf67720 overflowed to 0xffffffffea627728

2022-03-21 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104999 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org --

[Bug target/104901] gcc/config/rs6000/mm_malloc.h:46: incorrectLogicOperator

2022-03-21 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104901 --- Comment #9 from David Binderman --- (In reply to Andreas Schwab from comment #7) > I think it would still be worthwhile to avoid the antipattern (v == c1 && v > == c2). +1 I haven't got a rs6000 box, but I suspect our old friend -Wlogical-

[Bug target/104901] gcc/config/rs6000/mm_malloc.h:46: incorrectLogicOperator

2022-03-21 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104901 --- Comment #8 from Segher Boessenkool --- Sure, but c1 as well as c2 are not constants here!

[Bug target/104901] gcc/config/rs6000/mm_malloc.h:46: incorrectLogicOperator

2022-03-21 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104901 --- Comment #7 from Andreas Schwab --- I think it would still be worthwhile to avoid the antipattern (v == c1 && v == c2).

[Bug target/104901] gcc/config/rs6000/mm_malloc.h:46: incorrectLogicOperator

2022-03-21 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104901 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/105006] [12 Regression] ice: tree check: expected function_decl, have using_decl in maybe_push_used_methods, at cp/class.cc:1325

2022-03-21 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105006 Patrick Palka changed: What|Removed |Added Keywords||ice-on-valid-code Summary|ic

[Bug preprocessor/105005] Misleading error message at #line directive with no arguments

2022-03-21 Thread burda.ludek at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105005 --- Comment #2 from Luděk Burda --- the link for my pull request fixing this bug: https://github.com/gcc-mirror/gcc/pull/62 attached file is located in gcc/libcpp/directives.cc

[Bug preprocessor/105005] Misleading error message at #line directive with no arguments

2022-03-21 Thread burda.ludek at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105005 Luděk Burda changed: What|Removed |Added CC||burda.ludek at seznam dot cz --- Comment

[Bug c++/105006] ice: tree check: expected function_decl, have using_decl in maybe_push_used_methods, at cp/class.cc:1325

2022-03-21 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105006 David Binderman changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment

[Bug c++/105006] New: ice: tree check: expected function_decl, have using_decl in maybe_push_used_methods, at cp/class.cc:1325

2022-03-21 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105006 Bug ID: 105006 Summary: ice: tree check: expected function_decl, have using_decl in maybe_push_used_methods, at cp/class.cc:1325 Product: gcc Version: 12.0

[Bug preprocessor/105005] New: Misleading error message at #line directive with no arguments

2022-03-21 Thread burda.ludek at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105005 Bug ID: 105005 Summary: Misleading error message at #line directive with no arguments Product: gcc Version: 7.5.0 Status: UNCONFIRMED Severity: normal

[Bug target/104901] gcc/config/rs6000/mm_malloc.h:46: incorrectLogicOperator

2022-03-21 Thread pc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104901 pc at gcc dot gnu.org changed: What|Removed |Added CC||pc at gcc dot gnu.org --- Commen

[Bug tree-optimization/104970] [12 Regression] ICE in execute_todo, at passes.cc:2133 since r12-6480-gea19c8f33a3a8d2b

2022-03-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104970 --- Comment #6 from Jakub Jelinek --- I can't speak for Siddhesh, but at least the testcase coverage in r12-6480 only covered the access attribute. So perhaps the fix could be to just limit to that case if it is possible easily to differentiate

[Bug d/105004] New: d: internal compiler error: in build_complex, at tree.c:2358

2022-03-21 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105004 Bug ID: 105004 Summary: d: internal compiler error: in build_complex, at tree.c:2358 Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/104970] [12 Regression] ICE in execute_todo, at passes.cc:2133 since r12-6480-gea19c8f33a3a8d2b

2022-03-21 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104970 --- Comment #5 from Martin Sebor --- Incidentally, __builtin_dynamic_object_size returns the size of a VLA parameter in both mininum and maximum modes. In f0 below, the size of the A array is at least N bytes but it could be more, so based on m

[Bug tree-optimization/104970] [12 Regression] ICE in execute_todo, at passes.cc:2133 since r12-6480-gea19c8f33a3a8d2b

2022-03-21 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104970 --- Comment #4 from Martin Sebor --- The VLA bounds were removed from parameter declarations in the fix for pr97172; there weren't relied on by middle-end warnings then and still aren't today.

[Bug tree-optimization/104987] [12 Regression] Recent change causing vrp13.c regressions on several targets

2022-03-21 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104987 --- Comment #2 from Jeffrey A. Law --- It does trigger execution failures on those targets. I guess it's possible it's merely exposing existing bugs on those targets. If we were inlining before, we may have collapsed the test away completely.

[Bug tree-optimization/104987] [12 Regression] Recent change causing vrp13.c regressions on several targets

2022-03-21 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104987 --- Comment #1 from Andrew Macleod --- This is all very strange. So its a runtime error on those targets? The code we produce is slightly different, it happens to expose certain limitations with picking up ranges via dominators when there are

[Bug c++/102489] [12 Regression] coroutines: ICE in is_this_parameter, at cp/semantics.c:11273 since r12-3529-g70ee703c479081ac

2022-03-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102489 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug c++/104996] [10/11/12 Regression] Overload resolution over rvalue/const lvalue array reference parameters for an init. list argument incorrectly picks the const lvalue ref. overload

2022-03-21 Thread ed at catmur dot uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104996 --- Comment #4 from Ed Catmur --- (In reply to Patrick Palka from comment #2) > We started rejecting the commented out static_assert after > r10-3740-g89e0a492af5bec. Thanks, that accords with my analysis - the branch in call.cc:compare_ics tha

[Bug target/103147] [12 Regression] ICE in register_tuple_type with include "arm_neon.h" and -fpack-struct

2022-03-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103147 --- Comment #3 from Jakub Jelinek --- Any progress on this? I can help with it, but I can't decide what solution the backend prefers (ignore -fpack-struct temporarily for those, or adjust the asserts, something else).

[Bug c++/105003] ICE in new test case from r12-7710-gc7a6a32739d62d

2022-03-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105003 Marek Polacek changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/101484] [12 Regression] trunk 20210717 ftbfs for amdgcn-amdhsa (gcn offload)

2022-03-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101484 --- Comment #7 from Jakub Jelinek --- If it is some special memory address space, would be nice if targetm.addr_space.zero_address_valid returns true about it. And in that case, if such a change doesn't fix it, pointer-query.cc or whatever shoul

[Bug c++/105003] New: ICE in new test case from r12-7710-gc7a6a32739d62d

2022-03-21 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105003 Bug ID: 105003 Summary: ICE in new test case from r12-7710-gc7a6a32739d62d Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug middle-end/105001] If executing with non-nvptx offloading, but nvptx offloading compilation is enabled: FAIL: libgomp.c/pr104783.c execution test

2022-03-21 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105001 --- Comment #1 from Tom de Vries --- Interesting. Can you compare dump files to see where the difference comes from?

[Bug middle-end/104088] [12 Regression] '-O2' (or higher) GCN offloading (only) 'libgomp.oacc-c-c++-common/vprop.c' excess errors: 'warning: writing 1 byte into a region of size 0 [-Wstringop-overflow

2022-03-21 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104088 Thomas Schwinge changed: What|Removed |Added CC||jakub at gcc dot gnu.org Ever con

[Bug target/101484] [12 Regression] trunk 20210717 ftbfs for amdgcn-amdhsa (gcn offload)

2022-03-21 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101484 Thomas Schwinge changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug target/105002] [12 regression] gcc.target/powerpc/float128-minmax-3.c fails starting with r12-7687-g3a7ba8fd0cda38

2022-03-21 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105002 seurer at gcc dot gnu.org changed: What|Removed |Added Host||powerpc64le-linux-gnu

[Bug target/105002] New: [12 regression] gcc.target/powerpc/float128-minmax-3.c fails starting with r12-7687-g3a7ba8fd0cda38

2022-03-21 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105002 Bug ID: 105002 Summary: [12 regression] gcc.target/powerpc/float128-minmax-3.c fails starting with r12-7687-g3a7ba8fd0cda38 Product: gcc Version: 12.0 Status: UNCONFIRME

[Bug c++/104994] extern thread_local declaration rejected in constexpr

2022-03-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104994 --- Comment #5 from Jakub Jelinek --- Created attachment 52657 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52657&action=edit gcc12-pr104994.patch Untested fix. This anticipates that CWG. If we wouldn't, we should temporarily revert t

[Bug middle-end/105001] New: If executing with non-nvptx offloading, but nvptx offloading compilation is enabled: FAIL: libgomp.c/pr104783.c execution test

2022-03-21 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105001 Bug ID: 105001 Summary: If executing with non-nvptx offloading, but nvptx offloading compilation is enabled: FAIL: libgomp.c/pr104783.c execution test Product: gcc

[Bug fortran/104999] [12 Regression] runtime error: pointer index expression with base 0x00000cf67720 overflowed to 0xffffffffea627728

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

[Bug target/105000] __attribute__((target("no-sse"))) doesn't disable AVX/SSE ISAs in ix86_isa_flags2

2022-03-21 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105000 --- Comment #1 from H.J. Lu --- #define OPTION_MASK_ISA2_AVX5124FMAPS (HOST_WIDE_INT_1U << 3) #define OPTION_MASK_ISA2_AVX5124VNNIW (HOST_WIDE_INT_1U << 4) #define OPTION_MASK_ISA2_AVX512BF16 (HOST_WIDE_INT_1U << 5) #define OPTION_MASK_ISA2_AVX5

[Bug target/105000] New: __attribute__((target("no-sse"))) doesn't disable AVX/SSE ISAs in ix86_isa_flags2

2022-03-21 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105000 Bug ID: 105000 Summary: __attribute__((target("no-sse"))) doesn't disable AVX/SSE ISAs in ix86_isa_flags2 Product: gcc Version: 11.2.1 Status: UNCONFIRMED Seve

[Bug analyzer/104997] [12 Regression] ICE in add_note, at analyzer/diagnostic-manager.cc:946 since r12-7677-g7fd6e36ea9aa8575

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

[Bug fortran/104999] New: [12 Regression] runtime error: pointer index expression with base 0x00000cf67720 overflowed to 0xffffffffea627728

2022-03-21 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104999 Bug ID: 104999 Summary: [12 Regression] runtime error: pointer index expression with base 0x0cf67720 overflowed to 0xea627728 Product: gcc Version: 1

[Bug lto/102426] [12 regression] Fix for PR 49664 breaks Solaris bootstrap with gld

2022-03-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102426 --- Comment #11 from Jakub Jelinek --- Created attachment 52656 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52656&action=edit gcc12-pr102426.patch So like this then?

[Bug c++/104994] extern thread_local declaration rejected in constexpr

2022-03-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104994 --- Comment #4 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #3) > We might have a defect in the > current draft, because it seems to forbid it. Oh, which Hubert already filed: https://cplusplus.github.io/CWG/issues/2552.ht

[Bug c++/104994] extern thread_local declaration rejected in constexpr

2022-03-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104994 --- Comment #3 from Jonathan Wakely --- Ville says that P2242 did not intend to add new restrictions, so this was valid in C++20, and should still be valid in C++23 even if control flow passes over that non-local declaration. We might have a def

[Bug target/104998] New: Incorrect __cpuid usage

2022-03-21 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104998 Bug ID: 104998 Summary: Incorrect __cpuid usage Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assig

[Bug target/102772] [12 regression] g++.dg/torture/pr80334.C FAILs

2022-03-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102772 --- Comment #15 from Jakub Jelinek --- There is a general question if we shouldn't give up in can_increase_alignment_p for all DECL_THREAD_LOCAL_P vars because increasing their alignment doesn't mean just a few wasted bytes per process due to th

[Bug c++/104996] [10/11/12 Regression] Overload resolution over rvalue/const lvalue array reference parameters for an init. list argument incorrectly picks the const lvalue ref. overload

2022-03-21 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104996 --- Comment #3 from Patrick Palka --- For the record, the full rejects-valid testcase is: // #g.1: rvalue reference function parameter constexpr bool g(int&&) { return true; } // #g.2: const lvalue reference function parameter constexpr

[Bug c++/104996] [10/11/12 Regression] Overload resolution over rvalue/const lvalue array reference parameters for an init. list argument incorrectly picks the const lvalue ref. overload

2022-03-21 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104996 Patrick Palka changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org,

[Bug target/102772] [12 regression] g++.dg/torture/pr80334.C FAILs

2022-03-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102772 --- Comment #14 from Jakub Jelinek --- If the movaps that it fails on are: movaps %xmm1, thr.1@ntpoff(%ebx) movdqu 16(%eax), %xmm2 movaps %xmm2, thr.1@ntpoff+16(%ebx) then I'd say it must be some Solaris bug, because:

[Bug analyzer/104997] ICE in add_note, at analyzer/diagnostic-manager.cc:946

2022-03-21 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104997 David Malcolm changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/104912] [12 Regression] 416.gamess regression after r12-7612-g69619acd8d9b58

2022-03-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104912 --- Comment #7 from Richard Biener --- I'm noting that for skylake cost we have _28 * _33 1 times scalar_stmt costs 16 in prologue and _28 * _33 1 times vector_stmt costs 16 in body but the load/store costs are just 12, compared to znver

[Bug tree-optimization/104970] [12 Regression] ICE in execute_todo, at passes.cc:2133 since r12-6480-gea19c8f33a3a8d2b

2022-03-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104970 Jakub Jelinek changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #

[Bug c++/88252] Deduction guide assume the constructor parameter is a forwarding reference if constructor defined outside class

2022-03-21 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88252 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/102772] [12 regression] g++.dg/torture/pr80334.C FAILs

2022-03-21 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102772 --- Comment #13 from Rainer Orth --- Created attachment 52655 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52655&action=edit i386-pc-solaris2.11 auto-host.h with gas

[Bug target/102772] [12 regression] g++.dg/torture/pr80334.C FAILs

2022-03-21 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102772 --- Comment #12 from Rainer Orth --- Created attachment 52654 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52654&action=edit 32-bit i386-pc-solaris2.11 pointer2.s with -O2

  1   2   >