[Bug c/106039] Inconsistent error reporting for printf() when format string is a macro

2022-06-20 Thread jonathan.leffler at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106039 --- Comment #4 from Jonathan Leffler --- Thank you for looking at this. In the second and subsequent errors, the line number of the macro is used in all three lines of the error report, whereas in the first, the second line of the messages is t

[Bug tree-optimization/105965] [10/11/12 Regression] x86: single-element vectors don't have scalar FMA insns used anymore

2022-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105965 Andrew Pinski changed: What|Removed |Added Component|target |tree-optimization See Also|

[Bug target/105955] ICE when using __attribute__((__sysv_abi__)) on Cygwin

2022-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105955 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug target/97822] internal compiler error: in choose_baseaddr

2022-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97822 Andrew Pinski changed: What|Removed |Added CC||mikulas at artax dot karlin.mff.cu

[Bug target/99719] ICE during RTL pass: pro_and_epilogue on MinGW-w64

2022-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99719 Andrew Pinski changed: What|Removed |Added Status|SUSPENDED |RESOLVED Resolution|---

[Bug target/97822] internal compiler error: in choose_baseaddr

2022-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97822 Andrew Pinski changed: What|Removed |Added CC||unlvsur at live dot com --- Comment #4 f

[Bug target/99719] ICE during RTL pass: pro_and_epilogue on MinGW-w64

2022-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99719 --- Comment #10 from Andrew Pinski --- Note the issue is [[gnu::sysv_abi]] really. It is a known issue with x86_64-mingw and cygwin64.

[Bug target/97822] internal compiler error: in choose_baseaddr

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

[Bug target/105941] --enable-fix-cortex-a53-835769 fails with -fuse-ld=lld

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

[Bug c++/105864] storing nullptr_t to memory should not generate any instructions

2022-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105864 --- Comment #4 from Andrew Pinski --- A testcase where not doing the storing would might give wrong code: using nullptr_t = decltype(nullptr); [[gnu::noipa]] void test(nullptr_t* p) { *p = nullptr; } int main(void) { nullptr_t t, t1 = n

[Bug tree-optimization/105740] missed optimization switch transformation for conditions with duplicate conditions

2022-06-20 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105740 --- Comment #2 from luoxhu at gcc dot gnu.org --- Run if_to_switch and convert_switch again after copyprop2 could remove the redundant statement and expose opportunity for if-to-switch again, is this reasonable or just move if-to-switch/switch-co

[Bug c/106039] Inconsistent error reporting for printf() when format string is a macro

2022-06-20 Thread jonathan.leffler at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106039 --- Comment #5 from Jonathan Leffler --- I got an email from pinskia — thank you. I responded from an iPhone and got a message back about 'HTML attachments are not allowed'. I'm not sure if that got through. Anyway, what I said (tried to say)

[Bug c++/105921] internal compiler error: in cp_parser_template_id, at cp/parser.cc:18362

2022-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105921 Andrew Pinski changed: What|Removed |Added Known to fail||11.1.0, 6.1.0, 9.1.0 Keywords

[Bug rtl-optimization/105910] ICE: with -O1 optimization level and code calling __builtin_return_address

2022-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105910 Andrew Pinski changed: What|Removed |Added Component|middle-end |rtl-optimization --- Comment #3 from An

[Bug tree-optimization/105918] [12/13 Regression] Spurious Warray-bounds in std::to_chars

2022-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105918 Andrew Pinski changed: What|Removed |Added Summary|Spurious Warray-bounds in |[12/13 Regression] Spurious

[Bug c++/106041] New: Long/infinite compile time for Arm SIMD -O1 or -O2 but not -O0

2022-06-20 Thread jan.wassenberg at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106041 Bug ID: 106041 Summary: Long/infinite compile time for Arm SIMD -O1 or -O2 but not -O0 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/106041] Long/infinite compile time for Arm SIMD -O1 or -O2 but not -O0

2022-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106041 Andrew Pinski changed: What|Removed |Added Component|target |rtl-optimization --- Comment #1 from An

[Bug rtl-optimization/106041] infinite loop in fast_dce at -O1 with aarch64

2022-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106041 Andrew Pinski changed: What|Removed |Added Summary|Long/infinite compile time |infinite loop in fast_dce

[Bug rtl-optimization/106041] infinite loop in fast_dce at -O1 with aarch64

2022-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106041 Andrew Pinski changed: What|Removed |Added Keywords||needs-reduction --- Comment #3 from And

[Bug tree-optimization/105875] Toggling an atomic_bool is inefficient

2022-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105875 --- Comment #1 from Andrew Pinski --- clang/LLVM produces the same

[Bug libstdc++/106042] New: std::__once_call abi umatch for clang and gcc on windows targets

2022-06-20 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106042 Bug ID: 106042 Summary: std::__once_call abi umatch for clang and gcc on windows targets Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/106042] std::__once_call abi unmatch for clang and gcc on windows targets

2022-06-20 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106042 --- Comment #1 from cqwrteur --- https://godbolt.org/z/bfeq935b6 https://godbolt.org/z/MjKsTPPfP clang has exactly the same behavior for x86_64-windows-gnu and x86_64-windows-msvc (only name mangling is different.) However x86_64-windows-gnu i

[Bug target/106022] [12/13 Regression] Enable vectorizer generates extra load

2022-06-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106022 --- Comment #8 from Richard Biener --- (In reply to H.J. Lu from comment #6) > Created attachment 53169 [details] > A patch > > This patch multiplies the vector store cost by the number of scalar elements > in > a word to properly compare scala

[Bug libstdc++/106042] std::__once_call abi unmatch for clang and gcc on windows targets

2022-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106042 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Build|x86_64-linu

[Bug tree-optimization/106019] Surprising SLP failure on trivial code

2022-06-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106019 --- Comment #3 from Richard Biener --- (In reply to rsand...@gcc.gnu.org from comment #2) > Created attachment 53172 [details] > Candidate patch > > Huh, yeah, surprising this has been present so long. > > Running aff_combination_expand on off

[Bug go/106033] [13 Regression] libgo fails with error: reference to undefined name ‘_libgo_loff_t_type’ since r13-1159-g7f195a2270910a

2022-06-20 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106033 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug tree-optimization/105965] [10/11/12 Regression] x86: single-element vectors don't have scalar FMA insns used anymore

2022-06-20 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105965 --- Comment #6 from rguenther at suse dot de --- On Tue, 21 Jun 2022, pinskia at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105965 > > Andrew Pinski changed: > >What|Removed |Add

<    1   2