[Bug c++/100557] [ICE] Internal compiler error: Error reporting routines re-entered.

2021-05-11 Thread ldalessandro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100557 --- Comment #1 from Luke Dalessandro --- Created attachment 50796 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50796=edit Preprocessed source (bzipped for size)

[Bug c++/100557] New: [ICE] Internal compiler error: Error reporting routines re-entered.

2021-05-11 Thread ldalessandro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100557 Bug ID: 100557 Summary: [ICE] Internal compiler error: Error reporting routines re-entered. Product: gcc Version: 11.1.1 Status: UNCONFIRMED Severity: normal

[Bug debug/100515] [12 Regression] ICE in output_rnglists, at dwarf2out.c:12294 since r12-574-ge69ac0203725fb8d

2021-05-11 Thread edlinger at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100515 --- Comment #4 from Bernd Edlinger --- Created attachment 50795 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50795=edit Proposed patch This is what I'm currently testing.

[Bug c/100556] New: ICE: in gimplify_expr, at gimplify.c:14868

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
-linux-gnu Configured with: /tmp/tmp.BriefQJ2R3-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.0 20210511

[Bug fortran/100555] New: [OPENMP] ICE in target parallel construct with if-clause

2021-05-11 Thread xiao.liu--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100555 Bug ID: 100555 Summary: [OPENMP] ICE in target parallel construct with if-clause Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/94331] Bind(C) corrupts array descriptors

2021-05-11 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94331 sandra at gcc dot gnu.org changed: What|Removed |Added CC||sandra at gcc dot gnu.org

[Bug rtl-optimization/100554] New: [9/10/11/12 Regression] -fcompare-debug failure w/ -Os -fmodulo-sched -fno-tree-loop-optimize

2021-05-11 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100554 Bug ID: 100554 Summary: [9/10/11/12 Regression] -fcompare-debug failure w/ -Os -fmodulo-sched -fno-tree-loop-optimize Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug c++/100553] New: [constexpr] new/delete matching fails when ref-counted pointers are stored in arrays

2021-05-11 Thread ldalessandro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100553 Bug ID: 100553 Summary: [constexpr] new/delete matching fails when ref-counted pointers are stored in arrays Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug middle-end/100537] Bootstrap-O3 and bootstrap-debug fail on 32-bit ARM after gcc-12-657-ga076632e274a

2021-05-11 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100537 Jiu Fu Guo changed: What|Removed |Added CC||guojiufu at gcc dot gnu.org --- Comment

[Bug lto/96455] Partial Linking (-r) with LTO issue

2021-05-11 Thread dongjianqiang2 at huawei dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96455 John Dong changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug bootstrap/100552] New: configure: 32208: Syntax error: Bad substitution

2021-05-11 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100552 Bug ID: 100552 Summary: configure: 32208: Syntax error: Bad substitution Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug middle-end/100477] Bogus -Wstringop-overflow warning on memset

2021-05-11 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100477 --- Comment #8 from Martin Sebor --- The PTRDOIFF_MAX limit is a general restriction implied by the language requirement that the difference between any two pointers must be representable in ptrdiff_t. In practical terms, GCC internally

[Bug web/100480] Where to file complaints re project-maintainers?

2021-05-11 Thread mrs at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100480 mrs at gcc dot gnu.org changed: What|Removed |Added CC||mrs at gcc dot gnu.org

[Bug inline-asm/100542] ICE: segmentation fault, at is_gimple_variable with void type statement expression

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

[Bug c/100501] ICE: segmentation fault on embedded asm code

2021-05-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100501 --- Comment #2 from Andrew Pinski --- *** Bug 100542 has been marked as a duplicate of this bug. ***

[Bug c/100528] ICE: tree check: expected string_cst, have plus_expr in get_attr_len, at multiple_target.c:198

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

[Bug c/100504] ICE: tree check: expected string_cst, have integer_cst in get_attr_len, at multiple_target.c:198

2021-05-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100504 --- Comment #4 from Andrew Pinski --- *** Bug 100528 has been marked as a duplicate of this bug. ***

[Bug c/100531] ICE: tree check: expected string_cst, have ne_expr in get_attr_len, at multiple_target.c:198

2021-05-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100531 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c/100504] ICE: tree check: expected string_cst, have integer_cst in get_attr_len, at multiple_target.c:198

2021-05-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100504 --- Comment #3 from Andrew Pinski --- *** Bug 100531 has been marked as a duplicate of this bug. ***

[Bug c/100504] ICE: tree check: expected string_cst, have integer_cst in get_attr_len, at multiple_target.c:198

2021-05-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100504 --- Comment #2 from Andrew Pinski --- *** Bug 100534 has been marked as a duplicate of this bug. ***

[Bug c/100534] ICE: internal compiler error with a bad argument to the target_clones attribute

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

[Bug c/100550] [11/12 Regression] ICE: in fold_convert_loc with function call VLA argument

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

[Bug c/100550] [11/12 Regression] ICE: in fold_convert_loc with function call VLA argument

2021-05-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100550 Andrew Pinski changed: What|Removed |Added Summary|ICE: in fold_convert_loc, |[11/12 Regression] ICE: in

[Bug middle-end/100536] ICE: in expand_call with large union (1GB) argument

2021-05-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100536 --- Comment #1 from Andrew Pinski --- This most likely should really be rejected as over 1GB argument size is HUGE.

[Bug c/93239] Enhancement: allow unevaluated statement expressions at filescope

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

[Bug inline-asm/100542] ICE: segmentation fault, at is_gimple_variable with void type statement expression

2021-05-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100542 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-invalid-code

[Bug fortran/100551] New: [11/12 Regression] Passing return value of intrinsic to class(*) dummy argument can cause segfaults

2021-05-11 Thread bugs at colin dot moe via Gcc-bugs
ked correctly. Minimum working example attached. GCC Version (latest tested): Target: x86_64-pc-linux-gnu Configured with: ../configure --disable-multilib --enable-languages=c,c++,fortran --with-system-zlib --prefix=[]/gcc-12.0 gcc version 12.0.0 20210511 (experimental) (GCC) Command line: gfortran -W

[Bug c/100550] New: ICE: in fold_convert_loc, at fold-const.c:2429

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
-pc-linux-gnu Configured with: /tmp/tmp.FUbEknNORK-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.0 20210511

[Bug c/100549] New: ICE: Segmentation fault, gsi_insert_seq_nodes_before, during GIMPLE pass: lower

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
compression algorithms: zlib gcc version 12.0.0 20210511 (experimental) [master revision :7db32cac8:aa891c56f25baac94db004e309d1b6e40b770a95] (GCC) $ cat mutant.c typedef short v8hi __attribute__((vector_size(16))); f6(v8hi a) { __builtin_ia32_pcmpgtw128(a, a); } $ gcc-trunk -O0 mutant.c mutant.c:2:1

[Bug analyzer/100548] New: No GCC equivalent of built-in predefined macro __clang_analyzer__

2021-05-11 Thread andrew at ishiboo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100548 Bug ID: 100548 Summary: No GCC equivalent of built-in predefined macro __clang_analyzer__ Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal

[Bug c/100547] New: ICE with "-g -O1": Segmentation fault signal terminated program cc1, during RTL pass: expand

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
Supported LTO compression algorithms: zlib gcc version 12.0.0 20210511 (experimental) [master revision :7db32cac8:aa891c56f25baac94db004e309d1b6e40b770a95] (GCC) $ cat mutant.c typedef __attribute__((vector_size( ((8 * sizeof(short)) * si

[Bug analyzer/100546] New: -Wanayzer-null-dereference false positive through noreturn function pointer

2021-05-11 Thread andrew at ishiboo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100546 Bug ID: 100546 Summary: -Wanayzer-null-dereference false positive through noreturn function pointer Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity:

[Bug c/100545] New: ICE with -g: in gen_typedef_die, at dwarf2out.c:25714

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
: x86_64-pc-linux-gnu Configured with: /tmp/tmp.FUbEknNORK-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.0 20210511

[Bug c/100544] New: ICE: in default_conversion, at c/c-typeck.c:2242

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
: zlib gcc version 12.0.0 20210511 (experimental) [master revision :7db32cac8:aa891c56f25baac94db004e309d1b6e40b770a95] (GCC) $ cat mutant.c void A(); void fn4() __attribute__((destructor(A))); $ gcc-trunk mutant.c mutant.c:2:1: internal compiler error: in default_conversion, at c/c-typeck.c:2242

[Bug analyzer/100543] New: -Wanalyzer-free-of-non-heap false positive / delete false positive due to constructor conditional

2021-05-11 Thread andrew at ishiboo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100543 Bug ID: 100543 Summary: -Wanalyzer-free-of-non-heap false positive / delete false positive due to constructor conditional Product: gcc Version: 11.1.0 Status:

[Bug c/100542] New: ICE: segmentation fault, at is_gimple_variable, gimple-expr.h:84

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
: zlib gcc version 12.0.0 20210511 (experimental) [master revision :7db32cac8:aa891c56f25baac94db004e309d1b6e40b770a95] (GCC) $ cat mutant.c ldt_add_entry() { __asm__ ( "" : : "m" ( ( { } ) ) ) ; } $ gcc-trunk mutant.c mutant.c:1:1: warning: return type defaults to ‘int’ [-

[Bug fortran/100440] allocated() gives True for unallocated variable

2021-05-11 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100440 --- Comment #12 from anlauf at gcc dot gnu.org --- A small variation of the testcase in comment#9 suggests that there are actually two underlying issues: lack of initialization and a missing temporary. program p implicit none type fm

[Bug c++/99032] GCC accepts attributes on friend declarations (not definitions)

2021-05-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99032 --- Comment #2 from Marek Polacek --- Current test: class X { }; template void foo (T1, T2); struct S { [[deprecated]] friend void f(); // error [[deprecated]] friend void f2() { } friend void f3 [[deprecated]] (); // error friend void

[Bug middle-end/21433] The COMPONENT_REF case of expand_expr_real_1 is probably wrong

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

[Bug libstdc++/99453] libstdc++*-gdb.py installation depends on library naming

2021-05-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99453 Jonathan Wakely changed: What|Removed |Added Target Milestone|12.0|11.2

[Bug middle-end/21433] The COMPONENT_REF case of expand_expr_real_1 is probably wrong

2021-05-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21433 --- Comment #5 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:de09c0ddb81e2dc0e35c2e362532e93ca417200c commit r12-728-gde09c0ddb81e2dc0e35c2e362532e93ca417200c Author: Martin Sebor Date: Tue

[Bug fortran/100440] allocated() gives True for unallocated variable

2021-05-11 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100440 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug libstdc++/78052] [5/6/7 Regression] allocator_traits> partial specialization vs allocator

2021-05-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78052 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:db9dec545bf7c5be3120412444553ff993c7200d commit r11-8397-gdb9dec545bf7c5be3120412444553ff993c7200d Author: Jonathan

[Bug middle-end/93100] gcc -fsanitize=address inhibits -Wuninitialized

2021-05-11 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93100 Martin Sebor changed: What|Removed |Added Target Milestone|--- |12.0 Known to fail|11.0

[Bug middle-end/98583] missing -Wuninitialized reading from a second VLA in its own block

2021-05-11 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98583 Martin Sebor changed: What|Removed |Added Keywords||patch Target Milestone|---

[Bug libstdc++/99006] make_shared silently works

2021-05-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99006 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:ddfba2359d57167ed7a1efd184cae0cd5be2f31b commit r11-8382-gddfba2359d57167ed7a1efd184cae0cd5be2f31b Author: Jonathan

[Bug libstdc++/99453] libstdc++*-gdb.py installation depends on library naming

2021-05-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99453 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:dbb87d6a9c37c8eca80d77782717a8144515c16d commit r11-8381-gdbb87d6a9c37c8eca80d77782717a8144515c16d Author: Philippe

[Bug tree-optimization/100512] [12 Regression] ICE during GIMPLE pass: cddce in mark_operand_necessary, at tree-ssa-dce.c:173 (under -O2 to -Os) since r12-623-g1416a1434c43de0b

2021-05-11 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100512 --- Comment #4 from Aldy Hernandez --- After the mentioned commit, e_27(D) is considered undefined, and since _3 is [0,0], e_26 folds to [0,0] and the PHI is marked for removal: # e_26 = PHI However, when propagating to the uses of e_26

[Bug debug/100541] New: [12 Regression] -fcompare-debug failure (length) with -O3 -fno-expensive-optimizations -fno-tree-dce -fno-tree-dominator-opts

2021-05-11 Thread zsojka at seznam dot cz via Gcc-bugs
le-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r12-727-20210511185432-g3e3fdf3d521-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.0 20210511 (experimental) (GCC)

[Bug analyzer/100540] -Wanalyzer-file-leak false positive due to conditionals

2021-05-11 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100540 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug analyzer/100540] New: -Wanalyzer-file-leak false positive due to conditionals

2021-05-11 Thread andrew at ishiboo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100540 Bug ID: 100540 Summary: -Wanalyzer-file-leak false positive due to conditionals Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/100537] Bootstrap-O3 and bootstrap-debug fail on 32-bit ARM after gcc-12-657-ga076632e274a

2021-05-11 Thread mkuvyrkov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100537 --- Comment #2 from Maxim Kuvyrkov --- So far I managed to reproduce this only with armhf Go build, so one needs go1 binary from either a native armhf system or an armhf cross-toolchain to reproduce. To reproduce on a native system configure

[Bug target/100445] [12 Regression] ice during RTL pass: vregs

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

[Bug target/100445] [12 Regression] ice during RTL pass: vregs

2021-05-11 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100445 --- Comment #14 from David Binderman --- AFAIK, yes. I didn't try out the gcc/testsuite, but I did try out all the places (about 20) where fedora rawhide failed to build.

[Bug c++/100502] [11/12 Regression] ICE in enforce_access at cp/semantics.c:368 since r11-6800-g29853c653245c37e

2021-05-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100502 --- Comment #2 from Patrick Palka --- Extended testcase that also instantiates the friend function: template struct EnumeratorRange { struct Iterator { EnumeratorRange range_; friend bool f(Iterator i) { return

[Bug c++/100502] [11/12 Regression] ICE in enforce_access at cp/semantics.c:368 since r11-6800-g29853c653245c37e

2021-05-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100502 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug debug/100515] [12 Regression] ICE in output_rnglists, at dwarf2out.c:12294 since r12-574-ge69ac0203725fb8d

2021-05-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100515 --- Comment #3 from Martin Liška --- I noticed the same problem with Ada bootstrap: [ 128s] +===GNAT BUG DETECTED==+ [ 128s] | 12.0.0 20210511 (experimental) [revision

[Bug tree-optimization/100539] New: wrong code at -Os and above with "-fno-dce -fno-inline-small-functions -fno-tree-dce"

2021-05-11 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
lib Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.0 20210511 (experimental) [master revision 15e6b45c9ad:45dc47d4720:cf43636a74a028daf2024b33d1915274a2ff9655] (GCC) [515] % [515] % gcctk -Os small.c; ./a.out [516] % [516] % gcctk -Os -fno-dce -fno-inline-small

[Bug c++/100538] New: g++ miscompile / ICE with variadic member function pointer argument list

2021-05-11 Thread profclonk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100538 Bug ID: 100538 Summary: g++ miscompile / ICE with variadic member function pointer argument list Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity:

[Bug middle-end/100537] Bootstrap-O3 and bootstrap-debug fail on 32-bit ARM after gcc-12-657-ga076632e274a

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

[Bug middle-end/100537] New: Bootstrap-O3 and bootstrap-debug fail on 32-bit ARM after gcc-12-657-ga076632e274a

2021-05-11 Thread mkuvyrkov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100537 Bug ID: 100537 Summary: Bootstrap-O3 and bootstrap-debug fail on 32-bit ARM after gcc-12-657-ga076632e274a Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug libstdc++/100249] missing forwarding std::__invoke result in ranges::is_permutation and ranges::clamp

2021-05-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100249 --- Comment #9 from Patrick Palka --- (In reply to 康桓瑋 from comment #8) > (In reply to Patrick Palka from comment #6) > > > Maybe this can help: > > > > > > auto&& __proj_val = std::__invoke(__proj, __val); > > > if

[Bug libstdc++/100475] semiregular-box's constructor uses wrong list-initialization

2021-05-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100475 --- Comment #5 from Patrick Palka --- (In reply to 康桓瑋 from comment #4) > (In reply to 康桓瑋 from comment #3) > > Also, the operator->() simply uses operator& instead of std::__addressof. > > > > https://godbolt.org/z/zfGnEoePG Good catch,

[Bug libstdc++/78052] [5/6/7 Regression] allocator_traits> partial specialization vs allocator

2021-05-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78052 --- Comment #5 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:5e3a1ea3d89d62972e1f036b2ede37a80b880bdf commit r12-723-g5e3a1ea3d89d62972e1f036b2ede37a80b880bdf Author: Jonathan Wakely Date:

[Bug c/100536] New: ICE: in expand_call, at calls.c:4980

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
-gnu Configured with: /tmp/tmp.FUbEknNORK-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.0 20210511 (experimental

[Bug c/100535] New: ICE: tree check: expected function_type or method_type, have integer_type in gimplify_call_expr, at gimplify.c:3457

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
--disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.0 20210511 (experimental) [master revision :7db32cac8:aa891c56f25baac94db004e309d1b6e40b770a95] (GCC) $ cat mutant.c __GIMPLE foo() { int t1; t1_1 = __builtin_abs(__builtin_abs()); } $ gcc-trunk

[Bug c/100534] New: ICE: internal compiler error: tree check: expected string_cst, have call_expr in get_attr_len, at multiple_target.c:198

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
--disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.0 20210511 (experimental) [master revision :7db32cac8:aa891c56f25baac94db004e309d1b6e40b770a95] (GCC) $ cat mutant.c __attribute__((target_clones(foo( baz() {} $ gcc-trunk mutant.c mutant.c:1:30

[Bug c++/100516] [11 Regression] Unexpected -Wstringop-overread in deque initialization from empty initializer_list

2021-05-11 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100516 Martin Sebor changed: What|Removed |Added Blocks||97048 Status|UNCONFIRMED

[Bug c/100532] ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in useless_type_conversion_p, at gimple-expr.c:259

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100532 --- Comment #1 from Chengnian Sun --- Another duplicate. $ cat mutant.c void *memcpy(void[], const void *, __SIZE_TYPE__); f(x) { if (f) memcpy(x, x, x); } $ gcc-trunk mutant.c mutant.c:1:18: error: declaration of type name as array

[Bug rtl-optimization/100533] New: [10/11/12 Regression] aarch64: -fcompare-debug failure with -O -fmodulo-sched

2021-05-11 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100533 Bug ID: 100533 Summary: [10/11/12 Regression] aarch64: -fcompare-debug failure with -O -fmodulo-sched Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug c/100532] New: ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in useless_type_conversion_p, at gimple-expr.c:259

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
--prefix=/scratch/software/gcc-trunk --disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.0 20210511 (experimental) [master revision :7db32cac8:aa891c56f25baac94db004e309d1b6e40b770a95] (GCC) $ cat mutant.c typedef __SIZE_TYPE__ size_t; void *memcpy(void

[Bug c/100531] New: ICE: tree check: expected string_cst, have ne_expr in get_attr_len, at multiple_target.c:198

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
LTO compression algorithms: zlib gcc version 12.0.0 20210511 (experimental) [master revision :7db32cac8:aa891c56f25baac94db004e309d1b6e40b770a95] (GCC) $ cat mutant.c __attribute__((target_clones(foo() != 3))) foo() {} $ gcc-trunk mutant.c mutant.c:1:30: warning: implicit declaration of function

[Bug c/100530] New: ICE with -g: in add_dwarf_attr, at dwarf2out.c:4493

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
: x86_64-pc-linux-gnu Configured with: /tmp/tmp.FUbEknNORK-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.0 20210511

[Bug c/100529] ICE at -O3: in force_constant_size, at gimplify.c:733

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
-gnu Configured with: /tmp/tmp.FUbEknNORK-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.0 20210511 (experimental

[Bug c/100529] New: ICE at -O3: in force_constant_size, at gimplify.c:733

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
: x86_64-pc-linux-gnu Configured with: /tmp/tmp.FUbEknNORK-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.0 20210511

[Bug c/100528] New: ICE: tree check: expected string_cst, have plus_expr in get_attr_len, at multiple_target.c:198

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
LTO compression algorithms: zlib gcc version 12.0.0 20210511 (experimental) [master revision :7db32cac8:aa891c56f25baac94db004e309d1b6e40b770a95] (GCC) $ cat mutant.c a; __attribute__((target_clones(a + 0x12345U))) fast_clamp() {} $ gcc-trunk -O0 mutant.c mutant.c:1:1: warning: data definition

[Bug c/100527] New: ICE: Segmentation fault, flags_from_decl_or_type(tree_node const*)

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
: zlib gcc version 12.0.0 20210511 (experimental) [master revision :7db32cac8:aa891c56f25baac94db004e309d1b6e40b770a95] (GCC) $ cat mutant.c __GIMPLE foo() { int __builtin_abs; __builtin_abs(); } $ gcc-trunk -O0 mutant.c mutant.c:1:1: error: ‘__GIMPLE’ only valid with ‘-fgimple’ 1

[Bug libstdc++/100479] range adaptors handle cached iterators incorrectly

2021-05-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100479 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c/100526] New: ICE: segmentation fault in gimple-parser.c2049

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
-pc-linux-gnu Configured with: /tmp/tmp.FUbEknNORK-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.0 20210511

[Bug c/100525] New: ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in useless_type_conversion_p, at gimple-expr.c:87

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
--disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.0 20210511 (experimental) [master revision :7db32cac8:aa891c56f25baac94db004e309d1b6e40b770a95] (GCC) $ cat mutant.c __GIMPLE foo() { __builtin_abs(a); } $ gcc-trunk -O0 mutant.c mutant.c:1:1: error

[Bug target/99988] aarch64: GCC generates excessive consecutive bti j instructions

2021-05-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99988 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Alex Coplan : https://gcc.gnu.org/g:1011bb8bc67cf34c45a9237d72a801a14ad9ef0f commit r11-8379-g1011bb8bc67cf34c45a9237d72a801a14ad9ef0f Author: Alex Coplan

[Bug analyzer/100524] New: pragma GCC diagnostic ignored "-Wanalyzer-too-complex" ignored by cc1

2021-05-11 Thread andrew at ishiboo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100524 Bug ID: 100524 Summary: pragma GCC diagnostic ignored "-Wanalyzer-too-complex" ignored by cc1 Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity:

[Bug debug/100523] New: [11/12 Regression] armv8.1-m.main -fcompare-debug failure with -O -fmodulo-sched -mtune=cortex-a53

2021-05-11 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100523 Bug ID: 100523 Summary: [11/12 Regression] armv8.1-m.main -fcompare-debug failure with -O -fmodulo-sched -mtune=cortex-a53 Product: gcc Version: 12.0 Status:

[Bug c/100522] New: ICE: in extract_ops_from_tree, at gimple-expr.c:556

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
: x86_64-pc-linux-gnu Configured with: /tmp/tmp.FUbEknNORK-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.0 20210511

[Bug c/100521] New: ICE at -O2 and above: in verify_range, at value-range.cc:384

2021-05-11 Thread cnsun at uwaterloo dot ca via Gcc-bugs
gcc version 12.0.0 20210511 (experimental) [master revision :7db32cac8:aa891c56f25baac94db004e309d1b6e40b770a95] (GCC) $ cat mutant.c __builtin_clz(int a) { return __builtin_clz(a); } $ gcc-trunk -O2 mutant.c mutant.c:1:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1

[Bug c++/100517] [12 Regression] ICE in rvalue, at cp/tree.c:946 since r12-620-g7a5dd3ed49d1b328

2021-05-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100517 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/100517] [12 Regression] ICE in rvalue, at cp/tree.c:946 since r12-620-g7a5dd3ed49d1b328

2021-05-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100517 --- Comment #2 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:010d4a5047166037b316ed22331f3d99742f1f1d commit r12-721-g010d4a5047166037b316ed22331f3d99742f1f1d Author: Jason Merrill Date:

[Bug bootstrap/100431] Fixes to enable compiling with -Werror=format-security

2021-05-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100431 --- Comment #4 from Jakub Jelinek --- %< and %> are GCC diagnostics format specifiers, not printf. They are more similar to e.g. GNU printf %m , something that doesn't take any va_arg, but is interpreted. Try printf ("%m\n"); vs. printf ("%s",

[Bug debug/100520] New: [11/12 Regression] aarch64: ‘-fcompare-debug’ failure with -fprofile-generate

2021-05-11 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100520 Bug ID: 100520 Summary: [11/12 Regression] aarch64: ‘-fcompare-debug’ failure with -fprofile-generate Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug ipa/100513] [10/11 Regression] ICE: Segmentation fault (in lookup_page_table_entry) for bootstrap-O3 since r11-6411-gae99b315ba5b9e1c

2021-05-11 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100513 --- Comment #24 from Jiu Fu Guo --- (In reply to rguent...@suse.de from comment #22) > On Tue, 11 May 2021, guojiufu at gcc dot gnu.org wrote: > cut.. > > Makefile:3001: recipe for target 'syscall.lo' failed > > Yes, this was reported by

[Bug c++/100516] Unexpected -Wstringop-overread in deque initialization from empty initializer_list

2021-05-11 Thread vopl at bk dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100516 --- Comment #2 from vopl at bk dot ru --- minimal reproduce code I have: using size_t = decltype(sizeof(char)); class initializer { const char* _array; size_t _len; public: constexpr initializer() : _array{}, _len{} { }

[Bug ipa/100513] [10/11 Regression] ICE: Segmentation fault (in lookup_page_table_entry) for bootstrap-O3 since r11-6411-gae99b315ba5b9e1c

2021-05-11 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100513 --- Comment #23 from Jiu Fu Guo --- Created attachment 50791 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50791=edit the command to build syscall.o

[Bug bootstrap/100431] Fixes to enable compiling with -Werror=format-security

2021-05-11 Thread joey.dumont at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100431 --- Comment #3 from Joey Dumont --- I had tested with a simple printf: #include #ifndef N_ # define N_(msgid) msgid #endif int main(int argc, char* argv[]) { printf(N_("use of C++23 % integer constant")); printf(N_("use of C++23 %%>

[Bug ipa/100513] [10/11 Regression] ICE: Segmentation fault (in lookup_page_table_entry) for bootstrap-O3 since r11-6411-gae99b315ba5b9e1c

2021-05-11 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100513 --- Comment #22 from rguenther at suse dot de --- On Tue, 11 May 2021, guojiufu at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100513 > > --- Comment #21 from Jiu Fu Guo --- > When build the go on trunk with the

[Bug ipa/100513] [10/11 Regression] ICE: Segmentation fault (in lookup_page_table_entry) for bootstrap-O3 since r11-6411-gae99b315ba5b9e1c

2021-05-11 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100513 --- Comment #21 from Jiu Fu Guo --- When build the go on trunk with the patch, an error occur: In function 'syscall.forkExec': go1: error: address taken, but ADDRESSABLE bit not set PHI argument for PHI node err$__object_77 = PHI during

[Bug tree-optimization/100400] ICE in visit_loops_in_gang_single_region

2021-05-11 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100400 Martin Liška changed: What|Removed |Added Status|WAITING |NEW CC|

[Bug tree-optimization/100400] ICE in visit_loops_in_gang_single_region

2021-05-11 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100400 --- Comment #3 from Arseny Solokha --- % cat .c.008t.omp_oacc_kernels_decompose ;; Function foo (_Z3foov, funcdef_no=0, decl_uid=2487, cgraph_uid=1, symbol_order=1) EMERGENCY DUMP: void foo () { # DEBUG BEGIN_STMT #pragma omp

[Bug tree-optimization/100400] ICE in visit_loops_in_gang_single_region

2021-05-11 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100400 --- Comment #2 from Arseny Solokha --- % g++-12.0.0 -v Using built-in specs. COLLECT_GCC=g++-12.0.0 COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-unknown-linux-gnu/12.0.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with:

[Bug ipa/100513] [10/11 Regression] ICE: Segmentation fault (in lookup_page_table_entry) for bootstrap-O3 since r11-6411-gae99b315ba5b9e1c

2021-05-11 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100513 --- Comment #20 from Jiu Fu Guo --- Yes, with the patch, bootstrap-O3 pass on ppc64le too. Thanks!

[Bug target/100497] [OpenMP][nvptx] libgomp.c-c++-common/reduction-5.c - fails on some nvptx systems

2021-05-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100497 --- Comment #11 from Jakub Jelinek --- (In reply to Tobias Burnus from comment #10) > Oddly, if one replaces > > #pragma omp target teams distribute parallel for reduction(||: orfc) > map(orfc) > > by > > #pragma omp target map(orfc) > {

  1   2   >