[Bug fortran/99545] [11.0 regression] ICE in gfc_trans_assignment

2021-03-10 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99545 --- Comment #1 from Jürgen Reuter --- Obviously, it would be great if that regression doesn't make it into the 11.1 official release. [As it is with debug flags, that would be less dramatic than with default flags]

[Bug fortran/99545] New: [11.0 regression] ICE in gfc_trans_assignment

2021-03-10 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99545 Bug ID: 99545 Summary: [11.0 regression] ICE in gfc_trans_assignment Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fort

[Bug target/99544] New: [11 Regression] ICE in expand_mult, at expmed.c:3582

2021-03-10 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99544 Bug ID: 99544 Summary: [11 Regression] ICE in expand_mult, at expmed.c:3582 Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: openmp Severity: normal Pri

[Bug tree-optimization/95401] [10 Regression] GCC produces incorrect instruction with -O3 for AVX2 since r10-2257-g868363d4f52df19d

2021-03-10 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95401 --- Comment #9 from Alexandre Oliva --- It is definitely a problem in the dg infrastructure that compile mode doesn't work with additional sources, but fixing that seems quite involved, more than I can tackle right now. I've tried to duplicate t

[Bug c++/99543] New: ICE module compilation ../../gcc/toplev.c:327

2021-03-10 Thread ryan.burn at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99543 Bug ID: 99543 Summary: ICE module compilation ../../gcc/toplev.c:327 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/99542] New: [9/10/11 Regression] ICE in exact_div, at poly-int.h:2219

2021-03-10 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99542 Bug ID: 99542 Summary: [9/10/11 Regression] ICE in exact_div, at poly-int.h:2219 Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, ope

[Bug c++/99541] New: ICE when reading a module

2021-03-10 Thread ryan.burn at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99541 Bug ID: 99541 Summary: ICE when reading a module Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assigne

[Bug libstdc++/99172] Build failure with slibtool and vtv

2021-03-10 Thread ctice at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99172 --- Comment #11 from ctice at gcc dot gnu.org --- Created attachment 50360 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50360&action=edit Proposed patch to fix issue This patch fixes the issue, without breaking VTV, and is currently out f

[Bug target/99540] New: ICE: Segmentation fault in aarch64_add_offset

2021-03-10 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99540 Bug ID: 99540 Summary: ICE: Segmentation fault in aarch64_add_offset Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug c++/99539] New: Varargs are allowed in requires expression

2021-03-10 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99539 Bug ID: 99539 Summary: Varargs are allowed in requires expression Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/99538] New: ICE when lambda return requires clause

2021-03-10 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99538 Bug ID: 99538 Summary: ICE when lambda return requires clause Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug libstdc++/99537] New: Wrong memory_order used in stop_token ref-counting

2021-03-10 Thread lewissbaker.opensource at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99537 Bug ID: 99537 Summary: Wrong memory_order used in stop_token ref-counting Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug fortran/99506] internal compiler error: in record_reference, at cgraphbuild.c:64

2021-03-10 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99506 --- Comment #8 from Steve Kargl --- On Wed, Mar 10, 2021 at 10:59:39PM +, sgk at troutmask dot apl.washington.edu wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99506 > > --- Comment #7 from Steve Kargl --- > On Wed, Mar 10, 2021 at

[Bug c++/99536] New: unexplained warning on "uninitialized value"

2021-03-10 Thread wuz73 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99536 Bug ID: 99536 Summary: unexplained warning on "uninitialized value" Product: gcc Version: 5.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/99535] g++ rejects valid code in constexpr copy ctor and volatile submember

2021-03-10 Thread Darrell.Wright at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99535 --- Comment #1 from Darrell Wright --- I was wrong, http://eel.is/c++draft/expr.const#5.8

[Bug c++/99535] New: g++ rejects valid code in constexpr copy ctor and volatile submember

2021-03-10 Thread Darrell.Wright at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99535 Bug ID: 99535 Summary: g++ rejects valid code in constexpr copy ctor and volatile submember Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug c++/99534] New: bogus UDL diagnostic for header-name followed by macro

2021-03-10 Thread richard-gccbugzilla at metafoo dot co.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99534 Bug ID: 99534 Summary: bogus UDL diagnostic for header-name followed by macro Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug target/99279] ICE in rs6000_init_builtins when compiling using -mcpu=440

2021-03-10 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99279 --- Comment #5 from Peter Bergner --- Fixed in gcc10 too.

[Bug target/98959] ICE in extract_constrain_insn, at recog.c:2670

2021-03-10 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98959 Peter Bergner changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/99499] build failure for android bionic toolchains. error: '_U' was not declared in this scope

2021-03-10 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99499 --- Comment #9 from cqwrteur --- The only problem now is due to privilege issues, we cannot dynamic linking with libstdc++-6.so I think they can just use fast_io instead and that will avoid the bloating here.

[Bug target/99499] build failure for android bionic toolchains. error: '_U' was not declared in this scope

2021-03-10 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99499 --- Comment #8 from cqwrteur --- Created attachment 50359 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50359&action=edit Hello world runs successfully

[Bug target/99499] build failure for android bionic toolchains. error: '_U' was not declared in this scope

2021-03-10 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99499 --- Comment #7 from cqwrteur --- Created attachment 50358 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50358&action=edit The patch works. No issue. Jonathan, you can merge my patch to master now.

[Bug target/99492] double and double _Complex not aligned consistently on AIX

2021-03-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99492 --- Comment #3 from CVS Commits --- The master branch has been updated by David Edelsohn : https://gcc.gnu.org/g:4fa6356be14414957be05bdf5e22037fe1bea283 commit r11-7615-g4fa6356be14414957be05bdf5e22037fe1bea283 Author: David Edelsohn Date:

[Bug target/99041] combine creates invalid address which ICEs in decompose_normal_address

2021-03-10 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99041 Peter Bergner changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/98959] ICE in extract_constrain_insn, at recog.c:2670

2021-03-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98959 --- Comment #21 from CVS Commits --- The releases/gcc-10 branch has been updated by Peter Bergner : https://gcc.gnu.org/g:410ddbbc6612ca25f4a00120987921372937623e commit r10-9433-g410ddbbc6612ca25f4a00120987921372937623e Author: Peter Bergner

[Bug target/99279] ICE in rs6000_init_builtins when compiling using -mcpu=440

2021-03-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99279 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Peter Bergner : https://gcc.gnu.org/g:0a35ff4ecdd22745bda9afd8fe095fb469acd624 commit r10-9432-g0a35ff4ecdd22745bda9afd8fe095fb469acd624 Author: Peter Bergner D

[Bug target/99041] combine creates invalid address which ICEs in decompose_normal_address

2021-03-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99041 --- Comment #11 from CVS Commits --- The releases/gcc-10 branch has been updated by Peter Bergner : https://gcc.gnu.org/g:336cd08b65ea589bc4acc8c91a4a4c4873363989 commit r10-9430-g336cd08b65ea589bc4acc8c91a4a4c4873363989 Author: Peter Bergner

[Bug other/99496] [11 regression] g++.dg/modules/xtreme-header-3_c.C ICEs after r11-7557

2021-03-10 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99496 --- Comment #6 from Nathan Sidwell --- Oh, sorry. I guess it's not obvious. I need the preprocessed source from all of the xtreme-header-3 series. Test of the form ${BASENAME}_[a-z].[CHX] are a group compiled in ascending letter order. Scrape

[Bug debug/99490] -gdwarf-5 -gsplit-dwarf puts .debug_rnglists to main file, not .dwo file

2021-03-10 Thread jan.kratochvil at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99490 --- Comment #14 from Jan Kratochvil --- DW_AT_addr_base is for .debug_addr in the main file, I agree, my mistake. That should be inherited from the skeleton to the split-unit. But DW_AT_loclists_base, DW_AT_rnglists_base and DW_AT_str_offsets_ba

[Bug libstdc++/99533] New: "operation not permitted" error on recursive_directory_iterator despite skip_permission_denied

2021-03-10 Thread ssh at pobox dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99533 Bug ID: 99533 Summary: "operation not permitted" error on recursive_directory_iterator despite skip_permission_denied Product: gcc Version: 10.0 Statu

[Bug fortran/99506] internal compiler error: in record_reference, at cgraphbuild.c:64

2021-03-10 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99506 --- Comment #7 from Steve Kargl --- On Wed, Mar 10, 2021 at 10:22:45PM +, anlauf at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99506 > > --- Comment #6 from anlauf at gcc dot gnu.org --- > (In reply to Richard Bien

[Bug tree-optimization/99532] New: missing warning on placement new into smaller space

2021-03-10 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99532 Bug ID: 99532 Summary: missing warning on placement new into smaller space Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug target/99531] New: Performance regression since gcc 9 (argument passing / register allocation)

2021-03-10 Thread stefanrin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99531 Bug ID: 99531 Summary: Performance regression since gcc 9 (argument passing / register allocation) Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: no

[Bug fortran/99506] internal compiler error: in record_reference, at cgraphbuild.c:64

2021-03-10 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99506 --- Comment #6 from anlauf at gcc dot gnu.org --- (In reply to Richard Biener from comment #4) > I don't know fortran enough for what 'parameter' means in this context: > >real(double), parameter:: latt(jmax) = [(latt100(i)/100.d0, j=1,jmax)

[Bug debug/99490] -gdwarf-5 -gsplit-dwarf puts .debug_rnglists to main file, not .dwo file

2021-03-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99490 --- Comment #13 from Jakub Jelinek --- That sentence says that they should not be in the DW_TAG_compile_unit in .debug_info.dwo, but may be instead (if present at all) in DW_TAG_skeleton_unit in .debug_info. Haven't checked all, but DW_AT_addr_b

[Bug debug/99490] -gdwarf-5 -gsplit-dwarf puts .debug_rnglists to main file, not .dwo file

2021-03-10 Thread jan.kratochvil at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99490 --- Comment #12 from Jan Kratochvil --- That looks as a DWARF5 bug to me. DW_AT_str_offsets_base, DW_AT_addr_base and DW_AT_rnglists_base do not make any sense for a split unit. Split unit contains only one CompileUnit (and optionally one TypeUni

[Bug debug/99490] -gdwarf-5 -gsplit-dwarf puts .debug_rnglists to main file, not .dwo file

2021-03-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99490 --- Comment #11 from Jakub Jelinek --- DWARF5 3.1.3 says: The following attributes are not part of a split full compilation unit entry but instead are inherited (if present) from the corresponding skeleton compilation unit: DW_AT_low_pc, DW_AT_hi

[Bug target/99530] [i386] 'P' inline assembly operand modifier should obey -fno-plt

2021-03-10 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99530 --- Comment #1 from Thiago Macieira --- Matching Clang/LLVM bug report: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99530

[Bug c++/99018] Comparing address of array element not considered a constant expression in certain contexts

2021-03-10 Thread david at doublewise dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99018 --- Comment #2 from David Stone --- Simpler test case ``` struct s { constexpr ~s() { } }; constexpr bool f(s const (&)[1]) { return true; } static_assert(f({s()})); ``` Message ``` :10:16: error: non-constant conditi

[Bug fortran/99205] [10/11 Regression] Out of memory with undefined character length

2021-03-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99205 --- Comment #4 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:8c21bc6646dbe3365d7f89843a79eee823aa3b52 commit r11-7614-g8c21bc6646dbe3365d7f89843a79eee823aa3b52 Author: Harald Anlauf Date: We

[Bug target/99530] New: [i386] 'P' inline assembly operand modifier should obey -fno-plt

2021-03-10 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99530 Bug ID: 99530 Summary: [i386] 'P' inline assembly operand modifier should obey -fno-plt Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug target/99499] build failure for android bionic toolchains. error: '_U' was not declared in this scope

2021-03-10 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99499 --- Comment #6 from cqwrteur --- Created attachment 50357 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50357&action=edit Bionic ctype patch for libstdc++ It looks macros are defined differently on different versions of bionic. The latest

[Bug testsuite/99352] check_effective_target_sqrt_insn for powerpc is wrong

2021-03-10 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99352 Segher Boessenkool changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug other/99496] [11 regression] g++.dg/modules/xtreme-header-3_c.C ICEs after r11-7557

2021-03-10 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99496 --- Comment #5 from seurer at gcc dot gnu.org --- Just running the compilation doesn't work as it requires some stuff that must be generated earlier. In module imported at /home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/modules/xtreme-header-3

[Bug target/98959] ICE in extract_constrain_insn, at recog.c:2670

2021-03-10 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98959 --- Comment #20 from Segher Boessenkool --- (In reply to Bill Schmidt from comment #14) > We should definitely not be allowing the AltiVec "& ~16" flavors into these > patterns. I'm not certain whether your fix is the best way to achieve that, >

[Bug fortran/99529] libgfortran I/O: Data races related to new unit / new unit calls for I/O to strings

2021-03-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99529 --- Comment #1 from Tobias Burnus --- Regarding calling newunit_alloc, that's due to libgfortran/io/unit.c's: get_unit (st_parameter_dt *dtp, int do_create) { gfc_unit *unit; if ((dtp->common.flags & IOPARM_DT_HAS_INTERNAL_UNIT) != 0) {

[Bug middle-end/99525] wrong location of implicitly generated assignment to polymorphic class

2021-03-10 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99525 --- Comment #1 from Martin Sebor --- The (otherwise untested) change below corrects the location: diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index 1dcb31c0267..c77745b788d 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -4938,7

[Bug other/99496] [11 regression] g++.dg/modules/xtreme-header-3_c.C ICEs after r11-7557

2021-03-10 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99496 --- Comment #4 from Nathan Sidwell --- -save-temps to the compile line scraped from .log should dtrt. but yeah, requires a bit more fidelity than before

[Bug target/99422] [11 Regression] ICE in extract_constrain_insn building glibc pthread_create

2021-03-10 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99422 --- Comment #22 from Vladimir Makarov --- Could you check the patch on the failed bootstraps. I have no access to solaris machines. Thank you.

[Bug target/99422] [11 Regression] ICE in extract_constrain_insn building glibc pthread_create

2021-03-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99422 --- Comment #21 from CVS Commits --- The master branch has been updated by Vladimir Makarov : https://gcc.gnu.org/g:d38bbb85117a9947797f10d459fe0c23ea479313 commit r11-7613-gd38bbb85117a9947797f10d459fe0c23ea479313 Author: Vladimir N. Makarov

[Bug c++/99528] [modules] ICE with iostream& vector

2021-03-10 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99528 --- Comment #1 from Nathan Sidwell --- // bug.h template class new_allocator { public: template new_allocator(const new_allocator<_Tp1>&) noexcept { } }; extern template class new_allocator; // bug_a.H #include "bug.h" // bug_b.H #include "b

[Bug fortran/99529] New: libgfortran I/O: Data races related to new unit / new unit calls for I/O to strings

2021-03-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99529 Bug ID: 99529 Summary: libgfortran I/O: Data races related to new unit / new unit calls for I/O to strings Product: gcc Version: 11.0 Status: UNCONFIRMED Severi

[Bug target/99499] build failure for android bionic toolchains. error: '_U' was not declared in this scope

2021-03-10 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99499 --- Comment #5 from cqwrteur --- Created attachment 50356 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50356&action=edit ctype.h ctype.h actually provides those macros. but they said "Internal implementation detail. Do not use." I try

[Bug target/99499] build failure for android bionic toolchains. error: '_U' was not declared in this scope

2021-03-10 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99499 --- Comment #4 from cqwrteur --- Hi, jonathan. I found something different from old versions of android compared to GCC source. https://android.googlesource.com/toolchain/gcc/+/refs/heads/ndk-r11-release/gcc-4.9/libstdc++-v3/config/os/bionic/cty

[Bug c++/99528] [modules] ICE with iostream& vector

2021-03-10 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99528 Nathan Sidwell changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Assignee|unassigned

[Bug c++/99528] New: [modules] ICE with iostream& vector

2021-03-10 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99528 Bug ID: 99528 Summary: [modules] ICE with iostream& vector Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug other/99496] [11 regression] g++.dg/modules/xtreme-header-3_c.C ICEs after r11-7557

2021-03-10 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99496 --- Comment #3 from seurer at gcc dot gnu.org --- I only saw the xtreme 3 ICE on a power 9 and the xtreme 4 ICEs on a power 7. Ugh. Generating a .i is not straightforward for this.

[Bug c++/99227] [meta] [modules] Bugs relating to header-units of STL header files

2021-03-10 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227 Bug 99227 depends on bug 99423, which changed state. Bug 99423 Summary: [modules] ICE tree check: expected tree_vec, have ggc_freed in lookup_template_class_1, at cp/pt.c:9803 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99423 What

[Bug c++/99423] [modules] ICE tree check: expected tree_vec, have ggc_freed in lookup_template_class_1, at cp/pt.c:9803

2021-03-10 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99423 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/99423] [modules] ICE tree check: expected tree_vec, have ggc_freed in lookup_template_class_1, at cp/pt.c:9803

2021-03-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99423 --- Comment #2 from CVS Commits --- The master branch has been updated by Nathan Sidwell : https://gcc.gnu.org/g:1f428775acc391c8ce4fcf79b243043fcc99 commit r11-7610-g1f428775acc391c8ce4fcf79b243043fcc99 Author: Nathan Sidwell Date:

[Bug ipa/95859] [10/11 regression] Statically true asserts not recognized as such with -O2, but with -O1, -Og, -O3

2021-03-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95859 --- Comment #10 from Jakub Jelinek --- Honza, could you please have a look?

[Bug c++/99527] New: ICE when using nested lambdas

2021-03-10 Thread janekb04 at icloud dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99527 Bug ID: 99527 Summary: ICE when using nested lambdas Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assign

[Bug target/98959] ICE in extract_constrain_insn, at recog.c:2670

2021-03-10 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98959 --- Comment #19 from Peter Bergner --- Fixed on trunk. Needs backporting to GCC10.

[Bug c/99526] New: Casts should retain typedef information

2021-03-10 Thread equinox-gccbugs at diac24 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99526 Bug ID: 99526 Summary: Casts should retain typedef information Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug middle-end/99525] New: wrong location of implicitly generated assignment to polymorphic class

2021-03-10 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99525 Bug ID: 99525 Summary: wrong location of implicitly generated assignment to polymorphic class Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug target/99422] [11 Regression] ICE in extract_constrain_insn building glibc pthread_create

2021-03-10 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99422 --- Comment #20 from Vladimir Makarov --- I started to work on another, more safe approach to solve the problems. I hope the patch will be ready today or tomorrow.

[Bug other/99496] [11 regression] g++.dg/modules/xtreme-header-3_c.C ICEs after r11-7557

2021-03-10 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99496 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org --- Comme

[Bug c++/99524] New: initializer_list storage considered a temporary when accessed through NTTP

2021-03-10 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99524 Bug ID: 99524 Summary: initializer_list storage considered a temporary when accessed through NTTP Product: gcc Version: 11.0 URL: https://godbolt.org/z/aWGr3P

[Bug target/99492] double and double _Complex not aligned consistently on AIX

2021-03-10 Thread dje at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99492 David Edelsohn changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug middle-end/99520] Failure to detect bswap pattern

2021-03-10 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99520 --- Comment #6 from ktkachov at gcc dot gnu.org --- FWIW the version in the initial comment is what appears in 525.x264_r in SPEC2017

[Bug c++/99423] [modules] ICE tree check: expected tree_vec, have ggc_freed in lookup_template_class_1, at cp/pt.c:9803

2021-03-10 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99423 --- Comment #1 from Nathan Sidwell --- // bug_a.ii template struct pair { pair() { } }; inline pair blob () { return {}; } // bug_b.ii import "bug_a.ii"; pair boom(); ./cc1plus -fmodule-header=system -std=c++20 bug_a.ii -fpreprocessed -q

[Bug c++/96311] [8/9/10/11 Regression] false positive for -Wunused-but-set-variable (const/constexpr identifier used in generic lambda)

2021-03-10 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96311 康桓瑋 changed: What|Removed |Added CC||hewillk at gmail dot com --- Comment #5 from 康桓瑋

[Bug c++/99361] "unused variable" warning on a used variable in template lambda

2021-03-10 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99361 康桓瑋 changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug tree-optimization/99523] New: Declarations for variable names missing in GIMPLE dump

2021-03-10 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99523 Bug ID: 99523 Summary: Declarations for variable names missing in GIMPLE dump Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug other/99496] [11 regression] g++.dg/modules/xtreme-header-3_c.C ICEs after r11-7557

2021-03-10 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99496 --- Comment #1 from Nathan Sidwell --- I am not seeing this on the compile farm's 2 ppc systems I use (gcc1-power7 and gcc2-power8). Can you extract preprocessed source for that set of header tests?

[Bug analyzer/96374] Analyzer erroneously rejects certain diagnostics due to path-feasibility being used on shortest path

2021-03-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96374 --- Comment #5 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:44fd4dc0b684e06c6c6d08b3994df23135bf2fbc commit r11-7609-g44fd4dc0b684e06c6c6d08b3994df23135bf2fbc Author: David Malcolm Date: We

[Bug fortran/99506] internal compiler error: in record_reference, at cgraphbuild.c:64

2021-03-10 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99506 --- Comment #5 from Steve Kargl --- On Wed, Mar 10, 2021 at 08:39:19AM +, rguenth at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99506 > > --- Comment #4 from Richard Biener --- > This is a frontend issue, the FE p

[Bug testsuite/99498] [11 regression] new test case g++.dg/opt/pr99305.C in r11-7587 fails

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

[Bug testsuite/99498] [11 regression] new test case g++.dg/opt/pr99305.C in r11-7587 fails

2021-03-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99498 --- Comment #2 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:5bf998275aff311b9804c1de944a88c219f35db6 commit r11-7607-g5bf998275aff311b9804c1de944a88c219f35db6 Author: Jakub Jelinek Date: We

[Bug tree-optimization/99305] [11 Regression] range condition simplification after inlining

2021-03-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99305 --- Comment #7 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:5bf998275aff311b9804c1de944a88c219f35db6 commit r11-7607-g5bf998275aff311b9804c1de944a88c219f35db6 Author: Jakub Jelinek Date: We

[Bug middle-end/99520] Failure to detect bswap pattern

2021-03-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99520 --- Comment #5 from Jakub Jelinek --- Not sure it is worth bothering except making sure we don't miscompile valid weird code. BTW, for testing, one can also mix the |s and +s in the expressions randomly to get the result.

[Bug target/99499] build failure for android bionic toolchains. error: '_U' was not declared in this scope

2021-03-10 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99499 --- Comment #3 from cqwrteur --- (In reply to Jonathan Wakely from comment #2) > Obviously _U worked at some point when that file was added. CCing Maxim to > figure out what changed and whether we want to support the old ctype > constants as well

[Bug middle-end/99520] Failure to detect bswap pattern

2021-03-10 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99520 --- Comment #4 from ktkachov at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #3) > Consider e.g. > unsigned foo (unsigned x) > { > return (x<<24) + ((x<<8)&0xff) + ((x>>8)&0xff00) + (x>>24) + > (((x&0xff00)<<16)>>8); > } > as

[Bug middle-end/99520] Failure to detect bswap pattern

2021-03-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99520 --- Comment #3 from Jakub Jelinek --- Consider e.g. unsigned foo (unsigned x) { return (x<<24) + ((x<<8)&0xff) + ((x>>8)&0xff00) + (x>>24) + (((x&0xff00)<<16)>>8); } as example that should not be optimized into __builtin_bswap32 (but should

[Bug middle-end/99520] Failure to detect bswap pattern

2021-03-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99520 --- Comment #2 from Jakub Jelinek --- Bet handling PLUS_EXPR next to BIT_IOR_EXPR in find_bswap_or_nop_1 and pass_optimize_bswap::execute could do the trick. Though, I guess for PLUS_EXPR one needs stronger tests in perform_symbolic_merge. Becaus

[Bug libstdc++/99522] New: Using the unseq execution policy in min_element requires the sequence value type to be copy assignable

2021-03-10 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99522 Bug ID: 99522 Summary: Using the unseq execution policy in min_element requires the sequence value type to be copy assignable Product: gcc Version: 10.2.0 Status: UNCONFI

[Bug c++/99465] Segmentation fault when put lambda into requires clause

2021-03-10 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99465 --- Comment #3 from 康桓瑋 --- *** Bug 99521 has been marked as a duplicate of this bug. ***

[Bug c++/99521] ICE Segmentation fault when decltype lambda in requires clause

2021-03-10 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99521 康桓瑋 changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/99422] [11 Regression] ICE in extract_constrain_insn building glibc pthread_create

2021-03-10 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99422 --- Comment #19 from Eric Botcazou --- > a-ztflau.adb: In function 'Ada.Float_Wide_Wide_Text_Io.Aux_Float.Puts': > a-ztflau.adb:132:8: error: insn does not satisfy its constraints: > (insn 174 39 180 2 (set (mem/c:DF (plus:SI (reg/f:SI 30 %fp) >

[Bug c++/99511] default arguments are allowed for parameters of a requires expression

2021-03-10 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99511 Marek Polacek changed: What|Removed |Added Keywords||accepts-invalid Ever confirmed|0

[Bug middle-end/99520] Failure to detect bswap pattern

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

[Bug c++/99521] New: ICE Segmentation fault when decltype lambda in requires clause

2021-03-10 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99521 Bug ID: 99521 Summary: ICE Segmentation fault when decltype lambda in requires clause Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice-on-invalid-co

[Bug c++/99508] [11 Regression] Asm labels declared inside a function are ignored

2021-03-10 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99508 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/99520] New: Failure to detect bswap pattern

2021-03-10 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99520 Bug ID: 99520 Summary: Failure to detect bswap pattern Product: gcc Version: unknown Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority

[Bug c++/99508] [11 Regression] Asm labels declared inside a function are ignored

2021-03-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99508 --- Comment #4 from CVS Commits --- The master branch has been updated by Nathan Sidwell : https://gcc.gnu.org/g:b97af562b574697a4fff7fb8c69f579c01e70dec commit r11-7605-gb97af562b574697a4fff7fb8c69f579c01e70dec Author: Nathan Sidwell Date:

[Bug c++/99518] trailing requires clause adds nonexistent reference declarator to function parameter

2021-03-10 Thread nickgray0 at brown dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99518 nickgray0 at brown dot edu changed: What|Removed |Added Resolution|--- |INVALID Status|U

[Bug c++/99518] trailing requires clause adds nonexistent reference declarator to function parameter

2021-03-10 Thread nickgray0 at brown dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99518 --- Comment #1 from nickgray0 at brown dot edu --- I just looked up the standard and it seems GCC is correct to reject the code and Clang's implementation (which happily compiles the code) is incorrect. the compound requirement requires the parent

[Bug fortran/86470] [8/9/10/11 Regression] [OOP] ICE with OMP

2021-03-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86470 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #1

[Bug libstdc++/93628] ranges::equal_to doesn't work for types convertible to function pointers

2021-03-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93628 --- Comment #2 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:03b6ceede733d7ae33eca695c06b181b commit r11-7603-g03b6ceede733d7ae33eca695c06b181b Author: Jonathan Wakely Date:

[Bug libstdc++/99413] internal library headers are not header-unit ready

2021-03-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99413 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:47cca0288d06bd851e5801d13bbee7d9374b685d commit r11-7604-g47cca0288d06bd851e5801d13bbee7d9374b685d Author: Jonathan Wakely Date:

  1   2   >