[Bug ipa/97576] New: [11 Regression] ICE: verify_cgraph_node failed (error: reference to dead statement)

2020-10-25 Thread asolokha at gmx dot com via Gcc-bugs
h_node failed 0x96b8d8 cgraph_node::verify_node() /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201025/work/gcc-11-20201025/gcc/cgraph.c:3783 0x95b3a4 symtab_node::verify() /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201025/work/gcc-11-20201025/gcc/symtab.c:1318 0xe44a5d expand_call_i

[Bug rtl-optimization/97459] __uint128_t remainder for division by 3

2020-10-25 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97459 Thomas Koenig changed: What|Removed |Added Attachment #49438|divisiontable.dat |divisiontable.txt filename|

[Bug ipa/97575] [11 Regression] ICE in try_make_edge_direct_simple_call, at ipa-prop.c:3671 or in propagate_controlled_uses, at ipa-prop.c:4073

2020-10-25 Thread asolokha at gmx dot com via Gcc-bugs
: internal compiler error: in propagate_controlled_uses, at ipa-prop.c:4073 17 | } | ^ 0x677dc7 propagate_controlled_uses /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201025/work/gcc-11-20201025/gcc/ipa-prop.c:4073 0x677dc7 ipa_propagate_indirect_call_infos(cgraph_edge*, vec*) /var

[Bug ipa/97575] New: [11 Regression] ICE in try_make_edge_direct_simple_call, at ipa-prop.c:3671

2020-10-25 Thread asolokha at gmx dot com via Gcc-bugs
/gcc-11.0.0_alpha20201025/work/gcc-11-20201025/gcc/ipa-prop.c:3671 0x73eaf7 update_indirect_edges_after_inlining /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201025/work/gcc-11-20201025/gcc/ipa-prop.c:3880 0x73eaf7 propagate_info_to_inlined_callees /var/tmp/portage/sys-devel

[Bug bootstrap/97124] ICE when bootstrapping GCC on x86_64-w64-mingw32

2020-10-25 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97124 --- Comment #6 from Liu Hao --- Today I got the same ICE when building mingw-w64. I am not clear why this error only happened with GCC previously.

[Bug analyzer/97568] -fanalyzer assumes that an extern const pointer is NULL

2020-10-25 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97568 --- Comment #1 from Vincent Lefèvre --- The bug has been introduced by commit af66094d037793773eb8a49597866457f2f6a104.

[Bug c++/97569] Declaring a struct in a field declaration of another struct. gcc and clang difference.

2020-10-25 Thread anders.granlund.0 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97569 --- Comment #2 from Anders Granlund --- (In reply to Jonathan Wakely from comment #1) > (In reply to Anders Granlund from comment #0) > > The interesting thing is that if we replace struct S with struct S {} > > both compilers agree on reject

[Bug c++/97574] New: Allow for nul output with Windows

2020-10-25 Thread svnpenn at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97574 Bug ID: 97574 Summary: Allow for nul output with Windows Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/97531] Improve type/non-type declaration diagnostic

2020-10-25 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97531 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/96817] __cxa_guard_acquire unsafe against dynamically loaded pthread

2020-10-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96817 --- Comment #19 from Jonathan Wakely --- I don't really care about test failures for non-standard configurations like that.

[Bug c++/97563] undefined reference to `std::__cxx11::basic_string, std::allocator >::reserve()'

2020-10-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97563 Jonathan Wakely changed: What|Removed |Added Resolution|FIXED |INVALID

[Bug c++/97572] [c++ 20] Constraining is broken

2020-10-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97572 --- Comment #1 from Jonathan Wakely --- I think GCC is correct to reject this. any(t) is not a valid constraint.

[Bug c++/97569] Declaring a struct in a field declaration of another struct. gcc and clang difference.

2020-10-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97569 --- Comment #1 from Jonathan Wakely --- (In reply to Anders Granlund from comment #0) > The interesting thing is that if we replace struct S with struct S {} > both compilers agree on rejecting the program. I don't see any struct S in the ex

[Bug c++/97573] Implement C++20 [depr.arith.conv.enum]

2020-10-25 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97573 --- Comment #1 from Marek Polacek --- Likewise, [depr.array.comp] should be implemented too.

[Bug c++/97573] New: Implement C++20 [depr.arith.conv.enum]

2020-10-25 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97573 Bug ID: 97573 Summary: Implement C++20 [depr.arith.conv.enum] Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/97573] Implement C++20 [depr.arith.conv.enum]

2020-10-25 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97573 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/95132] Concept checked after auto return type deduction

2020-10-25 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95132 Patrick Palka changed: What|Removed |Added Status|WAITING |ASSIGNED Assignee|unassigned a

[Bug c++/97572] New: [c++ 20] Constraining is broken

2020-10-25 Thread dimitri.gorokhovik at free dot fr via Gcc-bugs
: candidate: ‘template requires Any constexpr int f(auto:1)’ 4 | constexpr static int f (Any auto) { return 42; }; | ^ bug-9.cpp:4:22: note: substitution of deduced template arguments resulted in errors seen above GCC version: g++ (GCC) 11.0.0 20201025 (experimental)

[Bug fortran/97571] New: long parsing phase for simple array constructor

2020-10-25 Thread rimvydas.jas at gmail dot com via Gcc-bugs
: fortran Assignee: unassigned at gcc dot gnu.org Reporter: rimvydas.jas at gmail dot com Target Milestone: --- gcc version 11.0.0 20201025 (experimental) [master revision d7ddd287c:9f8172cd7:47d13acbda9a5d8eb57ff169ba74857cd54108e4] (GCC) x86_64-unknown-linux $ cat init.f90

[Bug c++/97563] undefined reference to `std::__cxx11::basic_string, std::allocator >::reserve()'

2020-10-25 Thread dti--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97563 Damian changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/97570] New: avr-gcc: error: 'void* memalign' redeclared as different kind of entity

2020-10-25 Thread matwey.kornilov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97570 Bug ID: 97570 Summary: avr-gcc: error: 'void* memalign' redeclared as different kind of entity Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug c++/97569] New: Declaring a struct in a field declaration of another struct.

2020-10-25 Thread anders.granlund.0 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97569 Bug ID: 97569 Summary: Declaring a struct in a field declaration of another struct. Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug analyzer/97568] New: -fanalyzer assumes that an extern const pointer is NULL

2020-10-25 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97568 Bug ID: 97568 Summary: -fanalyzer assumes that an extern const pointer is NULL Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priorit

[Bug tree-optimization/97567] [11 Regression] wrong code at -Os and above on x86_64-pc-linux-gnu

2020-10-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97567 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2020-10-25 Target Milestone|---

[Bug fortran/97530] Segmentation fault compiling coarray program with option -fcoarray=shared (not with -fcoarray={lib,single})

2020-10-25 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97530 Thomas Koenig changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/88076] Shared Memory implementation for Coarrays

2020-10-25 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88076 Bug 88076 depends on bug 97530, which changed state. Bug 97530 Summary: Segmentation fault compiling coarray program with option -fcoarray=shared (not with -fcoarray={lib,single}) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97530 Wha

[Bug libstdc++/96817] __cxa_guard_acquire unsafe against dynamically loaded pthread

2020-10-25 Thread rimvydas.jas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96817 Rimvydas (RJ) changed: What|Removed |Added CC||rimvydas.jas at gmail dot com --- Commen

[Bug libgomp/88707] Random failures of libgomp.c++/task-reduction-(8|10|11|13).C

2020-10-25 Thread rimvydas.jas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88707 Rimvydas (RJ) changed: What|Removed |Added CC||rimvydas.jas at gmail dot com --- Commen

[Bug tree-optimization/97567] New: wrong code at -Os and above on x86_64-pc-linux-gnu

2020-10-25 Thread su at cs dot ucdavis.edu via Gcc-bugs
version 11.0.0 20201025 (experimental) [master revision 1aeb7d7d67d:7a48d67add1:d7ddd287ca76e87f431f43687de6d8cc48e52543] (GCC) [551] % [551] % gcctk -O1 small.c; ./a.out [552] % [552] % gcctk -Os small.c [553] % ./a.out Illegal instruction [554] % [554] % cat small.c int a, b, c, d; void k