[Bug bootstrap/53902] make install fails on SunOS 5.11

2021-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53902 --- Comment #8 from Andrew Pinski --- https://www.illumos.org/issues/3800

[Bug bootstrap/53902] make install fails on SunOS 5.11

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

[Bug c++/93931] ICE using lambda capture in openMP parallel for reduction

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

[Bug c++/95028] ICE in g++ (Arch Linux 9.3.0-1) 9.3.0 with captured OMP reduce clause in lambda

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

[Bug c++/93931] ICE using lambda capture in openMP parallel for reduction

2021-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93931 Andrew Pinski changed: What|Removed |Added CC||fytch at protonmail dot com --- Comment

[Bug c++/54367] [meta-bug] lambda expressions

2021-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 95028, which changed state. Bug 95028 Summary: ICE in g++ (Arch Linux 9.3.0-1) 9.3.0 with captured OMP reduce clause in lambda https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95028 What|Removed

[Bug c++/98715] ICE in make_decl_rtl with double variable length array (VLA)

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

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

2021-10-01 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||alserkli at inbox dot ru --- Comment #14

[Bug c++/16994] [meta-bug] VLA and C++

2021-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16994 Bug 16994 depends on bug 98715, which changed state. Bug 98715 Summary: ICE in make_decl_rtl with double variable length array (VLA) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98715 What|Removed |Added ---

[Bug c++/102551] New: Failing compile-time comparison of std::type_info addresses

2021-10-01 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102551 Bug ID: 102551 Summary: Failing compile-time comparison of std::type_info addresses Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal P

[Bug c++/102551] Failing compile-time comparison of std::type_info addresses

2021-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102551 Andrew Pinski changed: What|Removed |Added Keywords||rejects-valid, wrong-code Known to

[Bug c++/102551] Failing compile-time comparison of std::type_info addresses

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

[Bug c++/102496] [11/12 regression] extern __thread and thread_local declaration in function scope produces a non-TLS reference

2021-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102496 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:701075864ac4d1c6cec936d10f9cfc2aeb8c1699 commit r12-4032-g701075864ac4d1c6cec936d10f9cfc2aeb8c1699 Author: Jakub Jelinek Date: F

[Bug c++/102548] [9/10/11/12 Regression] ICE with cdecl attribute on a builtin function since r7-4737-g48330c9355e32a41

2021-10-01 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102548 Martin Liška changed: What|Removed |Added CC||edlinger at gcc dot gnu.org,

[Bug c++/64697] C++11 thread_local: relocation truncated to fit: R_X86_64_PC32 against undefined symbol `TLS init function for N::ptd'

2021-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64697 --- Comment #25 from CVS Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:021ad8e5cf9ab66e1a0a41dce3a54586facb86e0 commit r12-4036-g021ad8e5cf9ab66e1a0a41dce3a54586facb86e0 Author: Eric Botcazou Date: F

[Bug c++/64697] C++11 thread_local: relocation truncated to fit: R_X86_64_PC32 against undefined symbol `TLS init function for N::ptd'

2021-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64697 --- Comment #26 from CVS Commits --- The releases/gcc-11 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:618b7cb3b3fb4d2d92434d31ea8b6746ffef2572 commit r11-9049-g618b7cb3b3fb4d2d92434d31ea8b6746ffef2572 Author: Eric Botcazou

[Bug c++/64697] C++11 thread_local: relocation truncated to fit: R_X86_64_PC32 against undefined symbol `TLS init function for N::ptd'

2021-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64697 --- Comment #27 from CVS Commits --- The releases/gcc-10 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:48e24ff39b16c072cd58bdad1a5668794453af5f commit r10-10158-g48e24ff39b16c072cd58bdad1a5668794453af5f Author: Eric Botcazou

[Bug c++/64697] C++11 thread_local: relocation truncated to fit: R_X86_64_PC32 against undefined symbol `TLS init function for N::ptd'

2021-10-01 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64697 Eric Botcazou changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/102546] [12 Regregression] Missed Dead Code Elimination regression (trunk vs 11.2.0) at -O3

2021-10-01 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102546 Aldy Hernandez changed: What|Removed |Added Last reconfirmed||2021-10-01 Status|UNCONFIR

[Bug tree-optimization/102546] [12 Regregression] Missed Dead Code Elimination regression (trunk vs 11.2.0) at -O3

2021-10-01 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102546 --- Comment #6 from Aldy Hernandez --- (In reply to Richard Biener from comment #4) > I think it's similar to in the other PR, with old EVRP when visiting BB 8 BTW, which is this other PR, so I may see if my work for this PR fixes that one?

[Bug tree-optimization/102546] [12 Regregression] Missed Dead Code Elimination regression (trunk vs 11.2.0) at -O3

2021-10-01 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102546 --- Comment #7 from Zhendong Su --- (In reply to Aldy Hernandez from comment #6) > (In reply to Richard Biener from comment #4) > > I think it's similar to in the other PR, with old EVRP when visiting BB 8 > > BTW, which is this other PR, so I

[Bug fortran/102460] fortran internal compile error in coverage.c

2021-10-01 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102460 --- Comment #7 from Martin Liška --- Thanks! So it's really a Fortran issue (gdb) p startloc.line $8 = 7 (gdb) p end_line $9 = 6 Can please anybody from Fortran FE guys help me here?

[Bug middle-end/102285] New flag -ftrivial-auto-var-init=zero causes crash in pr82421.c

2021-10-01 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102285 Eric Gallager changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org,

[Bug c++/85146] ICE with __direct_bases for declared but not defined struct

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

[Bug c++/77869] ICE on a code piece

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

[Bug c++/67164] ICE: tree check: expected class ‘expression’, have ‘exceptional’ (argument_pack_select) in tree_operand_check, at tree.h:3356

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

[Bug c++/91538] ICE with generic lambda.

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

[Bug c++/83138] ICE: Segfault expanding function parameter pack in subsequent sibling pack declaration

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

[Bug c++/97050] ICE with segfault in lambda overload resolution

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

[Bug c++/97468] gcc crashes when using __may_alias__ attribute

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

[Bug c++/89867] internal compiler error: in layout_type, at stor-layout.c:2578

2021-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89867 Andrew Pinski changed: What|Removed |Added CC||tangyixuan at mail dot dlut.edu.cn ---

[Bug c++/63578] ICE with may_alias and auto

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

[Bug c++/89867] internal compiler error: in layout_type, at stor-layout.c:2578

2021-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89867 Andrew Pinski changed: What|Removed |Added CC||ppluzhnikov at google dot com --- Commen

[Bug target/94437] Internal compiler error in avr-g++

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

[Bug c++/97377] Segmentation fault while compiling Marlin code

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

[Bug sanitizer/102515] UBSAN misses signed division instrumentation

2021-10-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102515 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug c++/99] Bug in template type in error message.

2021-10-01 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99 Eric Gallager changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org,

[Bug c++/71740] [9/10 Regression] ICE when defining a pointer to the `memcpy()` function with namespace scope using `auto` targeting i686

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

[Bug c++/71740] [9/10 Regression] ICE when defining a pointer to the `memcpy()` function with namespace scope using `auto` targeting i686

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

[Bug sanitizer/102515] UBSAN misses signed division instrumentation

2021-10-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102515 --- Comment #5 from Jakub Jelinek --- Created attachment 51529 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51529&action=edit gcc12-pr102515.patch I have one too, even bootstrapped/regtested overnight, just didn't get to writing new tes

[Bug c++/101914] internal compiler error: in tsubst, at cp/pt.c:15553

2021-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101914 --- Comment #2 from Andrew Pinski --- GCC 6 rejected the code.

[Bug c++/86661] [9 Regression] g++ ICE:tree check: expected tree that contains ‘decl minimal’ structure, have ‘overload’ in note_name_declared_in_class, at cp/class.c:8288

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

[Bug sanitizer/102515] UBSAN misses signed division instrumentation

2021-10-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102515 --- Comment #6 from Richard Biener --- (In reply to Jakub Jelinek from comment #5) > Created attachment 51529 [details] > gcc12-pr102515.patch > > I have one too, even bootstrapped/regtested overnight, just didn't get to > writing new testcases

[Bug sanitizer/102515] UBSAN misses signed division instrumentation

2021-10-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102515 --- Comment #7 from Richard Biener --- Created attachment 51530 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51530&action=edit patch For reference, this is my patch.

[Bug c++/12277] eliminate and warn on dynamic casts with known NULL results

2021-10-01 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12277 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Comment

[Bug c++/101043] ICE in check_noexcept_r for lambda conditional noexcept via requires expression

2021-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101043 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2021-06-14 00:00:00 |2021-10-1 --- Comment #2 from Andrew Pi

[Bug libstdc++/102447] std::regex incorrectly accepts invalid bracket expression

2021-10-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102447 Jonathan Wakely changed: What|Removed |Added Resolution|INVALID |--- Status|RESOLVED

[Bug libstdc++/102445] [meta-bug] std::regex issues

2021-10-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102445 Bug 102445 depends on bug 102447, which changed state. Bug 102447 Summary: std::regex incorrectly accepts invalid bracket expression https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102447 What|Removed |Added -

[Bug c++/101043] ICE in check_noexcept_r for lambda conditional noexcept via requires expression

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

[Bug c++/101239] "Internal compiler error: Error reporting routines re-entered." in size_in_bytes_loc

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

[Bug c++/101343] ICE in tsubst_copy, at cp/pt.c:15732

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

[Bug c++/95317] [9/10 Regression] ICE on valid C++14 code, in tsubst_copy, at cp/pt.c:15649

2021-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95317 Andrew Pinski changed: What|Removed |Added CC||tim at ngus dot net --- Comment #8 from

[Bug target/102544] GCN offloading not working for 'amdgcn-amd-amdhsa--gfx906:sramecc+:xnack-'

2021-10-01 Thread ams at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102544 --- Comment #3 from Andrew Stubbs --- That output shows that we have the correct libgomp and rocm is installed and working. Libgomp initialized the GCN plugin, but did not attempt to initialize the device (the next message in the output should h

[Bug tree-optimization/102542] [12 Regression] ICE Segmentation fault since r12-3876-g4a960d548b7d7d94

2021-10-01 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102542 Aldy Hernandez changed: What|Removed |Added CC||jeffreyalaw at gmail dot com --- Comme

[Bug target/102552] New: i386 failing tests after r12-4038-g6de9f0c13b27c34336587da19d03200f8cc6bcd5

2021-10-01 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102552 Bug ID: 102552 Summary: i386 failing tests after r12-4038-g6de9f0c13b27c34336587da19d03200f8cc6bcd5 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: no

[Bug target/102552] i386 failing tests after r12-4038-g6de9f0c13b27c34336587da19d03200f8cc6bcd5

2021-10-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102552 --- Comment #1 from Andrew Pinski --- Maybe binutils version difference?

[Bug tree-optimization/102542] [12 Regression] ICE Segmentation fault since r12-3876-g4a960d548b7d7d94

2021-10-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102542 --- Comment #6 from Richard Biener --- (In reply to Aldy Hernandez from comment #5) > (In reply to rguent...@suse.de from comment #4) > > On Thu, 30 Sep 2021, aldyh at gcc dot gnu.org wrote: > > Thanks for the loop explanation. It's quite help

[Bug sanitizer/102515] UBSAN misses signed division instrumentation

2021-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102515 --- Comment #8 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:9c1a633d96926357155d4702b66f8a0ec856a81f commit r12-4042-g9c1a633d96926357155d4702b66f8a0ec856a81f Author: Jakub Jelinek Date: F

[Bug c++/102496] [11 regression] extern __thread and thread_local declaration in function scope produces a non-TLS reference

2021-10-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102496 Jakub Jelinek changed: What|Removed |Added Summary|[11/12 regression] extern |[11 regression] extern

[Bug middle-end/102504] [12 Regression] ICE in build_outer_var_ref, at omp-low.c:746

2021-10-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102504 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/102546] [12 Regregression] Missed Dead Code Elimination regression (trunk vs 11.2.0) at -O3

2021-10-01 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102546 --- Comment #8 from Andrew Macleod --- On 10/1/21 5:18 AM, aldyh at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102546 > > Aldy Hernandez changed: > > What|Removed |Added > -

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

2021-10-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102538 --- Comment #3 from Jakub Jelinek --- Testcase for the wrong-code: struct X { union { char r8[8]; int r32[2]; }; }; struct Y { X v[1]; }; Y x = { { { .r32 = { 5, 6 } } } }; int main () { if (x.v[0].r32[0] != 5 || x.v[0].r32[1] != 6) __bui

[Bug target/102552] i386 failing tests after r12-4038-g6de9f0c13b27c34336587da19d03200f8cc6bcd5

2021-10-01 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102552 --- Comment #2 from Martin Liška --- No, it's related to fact that: bool parse_optimize_options (tree args, bool attr_p) { ... /* Build up argv vector. Just in case the string is stored away, use garbage collected strings. */ vec_saf

[Bug target/102552] i386 failing tests after r12-4038-g6de9f0c13b27c34336587da19d03200f8cc6bcd5

2021-10-01 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102552 --- Comment #3 from Martin Liška --- Oh, it's because it calls eventually decode_cmdline_options_to_array that skips the first argument (program name).

[Bug target/102552] i386 failing tests after r12-4038-g6de9f0c13b27c34336587da19d03200f8cc6bcd5

2021-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102552 --- Comment #4 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:5051fad8582fcbdd0844232b5a8c4e856be5e5a4 commit r12-4045-g5051fad8582fcbdd0844232b5a8c4e856be5e5a4 Author: Martin Liska Date: Fri

[Bug target/102552] i386 failing tests after r12-4038-g6de9f0c13b27c34336587da19d03200f8cc6bcd5

2021-10-01 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102552 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/102553] New: internal compiler error: Segmentation fault for struct based parameter of template

2021-10-01 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102553 Bug ID: 102553 Summary: internal compiler error: Segmentation fault for struct based parameter of template Product: gcc Version: 12.0 Status: UNCONFIRMED Sever

[Bug c++/102553] internal compiler error: Segmentation fault for struct based parameter of template

2021-10-01 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102553 cqwrteur changed: What|Removed |Added CC||unlvsur at live dot com --- Comment #1 from

[Bug c++/102553] internal compiler error: Segmentation fault for struct based parameter of template

2021-10-01 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102553 Martin Liška changed: What|Removed |Added Last reconfirmed||2021-10-01 Status|UNCONFIRME

[Bug debug/102507] ICE in btf_finalize when compiling with -gbtf

2021-10-01 Thread ibhagat at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102507 Indu Bhagat changed: What|Removed |Added CC||ibhagat at gcc dot gnu.org --- Comment #3

[Bug c++/102553] internal compiler error: Segmentation fault for struct based parameter of template

2021-10-01 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102553 Martin Liška changed: What|Removed |Added Status|NEW |WAITING --- Comment #3 from Martin Liška

[Bug tree-optimization/102542] [12 Regression] ICE Segmentation fault since r12-3876-g4a960d548b7d7d94

2021-10-01 Thread aldyh at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102542 --- Comment #7 from Aldy Hernandez --- On Fri, Oct 1, 2021 at 1:46 PM rguenth at gcc dot gnu.org wrote: > > Could I inconvenience you to tweak this function with your insight? It's a > > tiny function, and it seems you're much more qualified

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

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

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

2021-10-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102538 --- Comment #5 from Jakub Jelinek --- Yeah, the above mentioned reshape* change results in the r32 index of d->cur being ignored when recursing into the anonymous union.

[Bug c++/102553] internal compiler error: Segmentation fault for struct based parameter of template

2021-10-01 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102553 --- Comment #4 from cqwrteur --- (In reply to Martin Liška from comment #3) > Can you compile it with clang? yes I can

[Bug c++/102553] internal compiler error: Segmentation fault for struct based parameter of template

2021-10-01 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102553 --- Comment #5 from cqwrteur --- (In reply to Martin Liška from comment #3) > Can you compile it with clang? msvc, clang they all work.

[Bug c++/101783] unnecessary error when top level cv qualifier is dropped

2021-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101783 --- Comment #10 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:7c99923f8c544ec07109e8333acb2c2388c38a1b commit r12-4051-g7c99923f8c544ec07109e8333acb2c2388c38a1b Author: qingzhe huang Date:

[Bug ipa/102554] New: [ 10/11/12 Regresion ] Inlining missed at -O3 with non-default --param=early-inlining-insns and pragma optimize

2021-10-01 Thread jschoen4 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102554 Bug ID: 102554 Summary: [ 10/11/12 Regresion ] Inlining missed at -O3 with non-default --param=early-inlining-insns and pragma optimize Product: gcc Version: 10.

[Bug target/86968] Unaligned big-endian (scalar_storage_order) access on armv7-a yields 4 ldrb instructions rather than ldr+rev

2021-10-01 Thread mkuvyrkov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86968 Maxim Kuvyrkov changed: What|Removed |Added CC||mkuvyrkov at gcc dot gnu.org

[Bug target/86968] Unaligned big-endian (scalar_storage_order) access on armv7-a yields 4 ldrb instructions rather than ldr+rev

2021-10-01 Thread mkuvyrkov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86968 Maxim Kuvyrkov changed: What|Removed |Added Status|ASSIGNED|UNCONFIRMED Ever confirmed|1

[Bug rtl-optimization/90378] [9/10/11/12 regression] -Os -flto miscompiles 454.calculix after r266385 on Arm

2021-10-01 Thread mkuvyrkov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90378 Maxim Kuvyrkov changed: What|Removed |Added Resolution|--- |WORKSFORME Status|NEW

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2021-10-01 Thread mkuvyrkov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 90378, which changed state. Bug 90378 Summary: [9/10/11/12 regression] -Os -flto miscompiles 454.calculix after r266385 on Arm https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90378 What|Removed

[Bug c/102555] New: missing -Waddress comparing &p[0] to zero

2021-10-01 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102555 Bug ID: 102555 Summary: missing -Waddress comparing &p[0] to zero Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug middle-end/102285] New flag -ftrivial-auto-var-init=zero causes crash in pr82421.c

2021-10-01 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102285 --- Comment #15 from qinzhao at gcc dot gnu.org --- (In reply to Richard Biener from comment #13) > Because the variable doesn't need to be addressable. > > OK, so the issue is likely that we're probing the lhs with EXPAND_WRITE but > when we ex

[Bug tree-optimization/102556] New: equality comparison of a [static N] parameter to null not folded

2021-10-01 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102556 Bug ID: 102556 Summary: equality comparison of a [static N] parameter to null not folded Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug ipa/102557] New: [12 Regression] ICE: Segmentation fault signal terminated program cc1plus (indefinite recursion in modref_ref_node::insert_access)

2021-10-01 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102557 Bug ID: 102557 Summary: [12 Regression] ICE: Segmentation fault signal terminated program cc1plus (indefinite recursion in modref_ref_node::insert_access) Product: gcc

[Bug c/102558] New: missing warning comparing T[static N] to null

2021-10-01 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102558 Bug ID: 102558 Summary: missing warning comparing T[static N] to null Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug middle-end/102285] New flag -ftrivial-auto-var-init=zero causes crash in pr82421.c

2021-10-01 Thread qing.zhao at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102285 --- Comment #16 from Qing Zhao --- > On Oct 1, 2021, at 1:51 AM, rguenth at gcc dot gnu.org > wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102285 > > --- Comment #13 from Richard Biener --- > Because the variable doesn't need to

[Bug ipa/102557] [12 Regression] ICE: Segmentation fault signal terminated program cc1plus (indefinite recursion in modref_ref_node::insert_access)

2021-10-01 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102557 --- Comment #1 from Arseny Solokha --- Semi-reduced testcase for the reference: #include void test01 (char *mname) { std::istringstream iss; iss.str (mname); iss.str (mname); } % g++-12.0.0 -std=c++20 -O3 -fopenacc --param max-inline-

[Bug c/102559] New: missing warning comparing result of a nonnull function to null

2021-10-01 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102559 Bug ID: 102559 Summary: missing warning comparing result of a nonnull function to null Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug target/102544] GCN offloading not working for 'amdgcn-amd-amdhsa--gfx906:sramecc+:xnack-'

2021-10-01 Thread miko at predsci dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102544 --- Comment #4 from miko at predsci dot com --- The result is: v is -1

[Bug target/100734] [12 Regression] /test/gnu/gcc/objdir/gcc/include-fixed/stdlib.h:291:8: internal compiler error: in from_mode_char, at attribs.h:304

2021-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100734 --- Comment #15 from CVS Commits --- The releases/gcc-11 branch has been updated by John David Anglin : https://gcc.gnu.org/g:356390c14aa70a95c15845512f2381b627cf9a96 commit r11-9051-g356390c14aa70a95c15845512f2381b627cf9a96 Author: John David

[Bug target/102544] GCN offloading not working for 'amdgcn-amd-amdhsa--gfx906:sramecc+:xnack-'

2021-10-01 Thread ams at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102544 --- Comment #5 from Andrew Stubbs --- Sorry, I should have said to compile with -fopenacc. If you did do that, please post the GCN_DEBUG output.

[Bug c++/102283] Inconsistent/wrong overload resolution when using an initializer list and a defaulted template parameter

2021-10-01 Thread dangelog at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102283 --- Comment #5 from Giuseppe D'Angelo --- (Sorry for the delay) Thank you for the analysis. I'm now not really sure if GCC is doing something wrong (vs Clang/MSVC). Feel free to close/suspend this task if you strongly believe GCC is right here.

[Bug debug/102373] Segmentation fault in dwarf2out.c, line 32744

2021-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102373 --- Comment #6 from CVS Commits --- The master branch has been updated by John David Anglin : https://gcc.gnu.org/g:f1710910087fb1f4a7706e9ce838163ffcbc50b4 commit r12-4058-gf1710910087fb1f4a7706e9ce838163ffcbc50b4 Author: John David Anglin D

[Bug debug/102373] Segmentation fault in dwarf2out.c, line 32744

2021-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102373 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by John David Anglin : https://gcc.gnu.org/g:aac3b6a7e3a7b810005343e62e6822338fcb85d4 commit r11-9052-gaac3b6a7e3a7b810005343e62e6822338fcb85d4 Author: John David

[Bug debug/102373] Segmentation fault in dwarf2out.c, line 32744

2021-10-01 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102373 John David Anglin changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/102103] missing warning comparing array address to null

2021-10-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102103 --- Comment #3 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:4dc7ce6fb3917958d1a6036d8acf2953b9c1b868 commit r12-4059-g4dc7ce6fb3917958d1a6036d8acf2953b9c1b868 Author: Martin Sebor Date: Fri

[Bug c/102103] missing warning comparing array address to null

2021-10-01 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102103 Martin Sebor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/33925] gcc -Waddress lost some useful warnings

2021-10-01 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33925 Martin Sebor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org

  1   2   >