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

2021-06-19 Thread joey.dumont at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100431 --- Comment #5 from Joey Dumont --- I just started looking at these other cases (for some reason I didn't see them in my initial compilation), but I am not sure what format specifiers should be used. Are the format specifiers used by

[Bug c++/101137] New: std::conjunction result error

2021-06-19 Thread benni.probst at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101137 Bug ID: 101137 Summary: std::conjunction result error Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/101115] ld.bfd: warning: .init_array section has zero size

2021-06-19 Thread judge.packham at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101115 --- Comment #3 from Chris Packham --- An update[1]. It seems that --disable-tm-clone-registry is the option that results in crtbegin.o having a zero sized .init_array. I can't really follow crcstuff.c but I see USE_TM_CLONE_REGISTRY in the

[Bug c++/67302] [C++14] copy elision in return (expression)

2021-06-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67302 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org

[Bug fortran/100283] [11/12 Regression] Call to MIN0 with integer(8) arguments raises an ICE

2021-06-19 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100283 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug fortran/101123] [11/12 Regression] Invalid code for MAX0 with -fdefault-integer-8

2021-06-19 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101123 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED

[Bug fortran/101123] [11/12 Regression] Invalid code for MAX0 with -fdefault-integer-8

2021-06-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101123 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:e5220a731229eaa7be42232c6e9a9dd881fed2b9 commit r11-8624-ge5220a731229eaa7be42232c6e9a9dd881fed2b9 Author: Harald Anlauf

[Bug fortran/100283] [11/12 Regression] Call to MIN0 with integer(8) arguments raises an ICE

2021-06-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100283 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:e5220a731229eaa7be42232c6e9a9dd881fed2b9 commit r11-8624-ge5220a731229eaa7be42232c6e9a9dd881fed2b9 Author: Harald Anlauf

[Bug libstdc++/101136] msdosdjgpp toolchain cannot find std::wstring_view

2021-06-19 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101136 --- Comment #1 from cqwrteur --- However, std::basic_string_view works.

[Bug libstdc++/101136] New: msdosdjgpp toolchain cannot find std::wstring_view

2021-06-19 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101136 Bug ID: 101136 Summary: msdosdjgpp toolchain cannot find std::wstring_view Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/82632] copy deduction candidate erroneously preferred over deduction-guide

2021-06-19 Thread ldalessandro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82632 Luke Dalessandro changed: What|Removed |Added CC||ldalessandro at gmail dot com ---

[Bug rtl-optimization/51469] attr-ifunc-* tests fail on PowerPC if --enable-gnu-indirect-function is used

2021-06-19 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51469 Bug 51469 depends on bug 83782, which changed state. Bug 83782 Summary: [9/10/11/12 Regression] Inconsistent address for hidden ifunc in a shared library https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83782 What|Removed

[Bug target/83782] [9/10/11/12 Regression] Inconsistent address for hidden ifunc in a shared library

2021-06-19 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83782 H.J. Lu changed: What|Removed |Added Status|RESOLVED|REOPENED Blocks|

[Bug fortran/101135] New: Use of absent assumed-shape array argument as an actual argument for an optional dummy argument mistakenly flagged as error by UndefinedBehaviourSanitizer

2021-06-19 Thread marcel.jacobse at ewetel dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101135 Bug ID: 101135 Summary: Use of absent assumed-shape array argument as an actual argument for an optional dummy argument mistakenly flagged as error by

[Bug c++/98056] ICE tree check: expected record_type or union_type or qual_union_type, have array_type in build_special_member_call, at cp/call.c:9862 since r11-2183-g0f66b8486cea8668

2021-06-19 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98056 Iain Sandoe changed: What|Removed |Added CC||greed at ispsystem dot com --- Comment #9

[Bug c++/100901] "error: array used as initializer" on compiling coroutine with initializer list with shared_ptr in it

2021-06-19 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100901 Iain Sandoe changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug middle-end/101134] New: Bogus -Wstringop-overflow warning about non-existent overflow

2021-06-19 Thread dangelog at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101134 Bug ID: 101134 Summary: Bogus -Wstringop-overflow warning about non-existent overflow Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/101133] New: co_await doesn't accept a valid awaitable object if await_resume()'s return type is not a built-in type.

2021-06-19 Thread liuyaoxin1976 at qq dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101133 Bug ID: 101133 Summary: co_await doesn't accept a valid awaitable object if await_resume()'s return type is not a built-in type. Product: gcc Version: 11.1.0 Status:

[Bug middle-end/101132] [11/12 regression] [MIPS/MSA] internal compiler error: in do_store_flag, at expr.c:12541

2021-06-19 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101132 --- Comment #1 from Xi Ruoyao --- Forgot to mention: the flags triggering the ICE is -O3 -mmsa.

[Bug middle-end/101132] New: [11/12 regression] [MIPS/MSA] internal compiler error: in do_store_flag, at expr.c:12541

2021-06-19 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101132 Bug ID: 101132 Summary: [11/12 regression] [MIPS/MSA] internal compiler error: in do_store_flag, at expr.c:12541 Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug driver/47785] GCC with -flto does not pass -Wa/-Xassembler options to the assembler

2021-06-19 Thread gcc--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47785 --- Comment #21 from Thomas Weißschuh --- The commited fix produces false positives for assembler options that do not influence the compilation output directly. For example "-a=$FILE" to create assembler listings. (Whose target files have to

[Bug target/100760] [mips + msa] ICE: maximum number of generated reload insns per insn achieved

2021-06-19 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100760 Xi Ruoyao changed: What|Removed |Added CC||xry111 at mengyan1223 dot wang --- Comment

[Bug target/100761] [mips+msa] ICE when using __builtin_convertvector to convert from u8x8 to u8x16

2021-06-19 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100761 Xi Ruoyao changed: What|Removed |Added CC||xry111 at mengyan1223 dot wang --- Comment

[Bug target/100762] [mips+msa] ICE when comparing 64 bit vectors

2021-06-19 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100762 --- Comment #4 from Xi Ruoyao --- Patch proposed: https://gcc.gnu.org/pipermail/gcc-patches/2021-June/573213.html

[Bug libstdc++/95833] Incorrect static_assert in std::reduce overload taking a binary functor

2021-06-19 Thread TonyELewis at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95833 --- Comment #9 from Tony E Lewis --- Great. I confirm my original example code now compiles and runs cleanly on Compiler Explorer. Thanks very much for this. And thanks to OP for the report.