[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 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

[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

[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

[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

[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 =

[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 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/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 CC||unlvsur at live dot com --- Comment #4

[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||mikulas at artax dot karlin.mff.cu

[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

[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 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

[Bug ipa/105978] ICE: nodes with unreleased memory found since r9-4254-g12485662c00914ed

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

[Bug tree-optimization/105990] Dead code elimination failed at -O3

2022-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105990 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Last reconfirmed|

[Bug target/106038] x86_64 vectorization of ALU ops using xmm registers prematurely

2022-06-20 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106038 Hongtao.liu changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment #3

[Bug c++/105989] Coroutine frame space for temporaries in a co_await expression is not reused

2022-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105989 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/106040] gcc reports error in aggregate when member has explicit constructor

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

[Bug c++/106040] gcc reports error in aggregate when member has explicit constructor

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

[Bug c++/106040] New: gcc reports error in aggregate when member has explicit constructor

2022-06-20 Thread ldalessandro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106040 Bug ID: 106040 Summary: gcc reports error in aggregate when member has explicit constructor Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

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

2022-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106039 --- Comment #3 from Andrew Pinski --- I don't see an issue with the diagnostic here really. For the single line case (without the format as a macro): printf("%-21s %-16x %-16x %-18s %-18s\n", "GHI", (intptr_t) val1, (intptr_t) val1, "ABC",

[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 #2 from Jonathan Leffler --- Created attachment 53178 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53178=edit Output from gcc -v when compiling the test case

[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 #1 from Jonathan Leffler --- Created attachment 53177 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53177=edit Close to minimal source (4 format strings; 4 printf statements; some comments) Close to minimal source code. It

[Bug c/106039] New: 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 Bug ID: 106039 Summary: Inconsistent error reporting for printf() when format string is a macro Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity:

[Bug c++/105999] Wrong requires result inside lambda in a class

2022-06-20 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105999 --- Comment #3 from Egor Pugin --- See ms response https://developercommunity.visualstudio.com/t/C-Wrong-requires-result-inside-lambd/10073268#T-N10075675

[Bug c++/105999] Wrong requires result inside lambda in a class

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

[Bug c++/105999] Wrong requires result inside lambda in a class

2022-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105999 --- Comment #1 from Andrew Pinski --- clang prints x also

[Bug target/106038] x86_64 vectorization of ALU ops using xmm registers prematurely

2022-06-20 Thread goldstein.w.n at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106038 --- Comment #2 from Noah Goldstein --- (In reply to Andrew Pinski from comment #1) > Created attachment 53175 [details] > Testcase -O3 -march=icelake-client > > Next time attach the testcase and not link to godbolt without a testcase. Sorry.

[Bug target/106038] x86_64 vectorization of ALU ops using xmm registers prematurely

2022-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106038 --- Comment #1 from Andrew Pinski --- Created attachment 53175 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53175=edit Testcase -O3 -march=icelake-client Next time attach the testcase and not link to godbolt without a testcase.

[Bug target/106038] New: x86_64 vectorization of ALU ops using xmm registers prematurely

2022-06-20 Thread goldstein.w.n at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106038 Bug ID: 106038 Summary: x86_64 vectorization of ALU ops using xmm registers prematurely Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug c++/106024] [11/12/13 Regression] ICE on missing template keyword in template method call in pack expansion

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

[Bug c++/106024] [11/12/13 Regression] ICE on missing template keyword in template method call in pack expansion

2022-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106024 Andrew Pinski changed: What|Removed |Added Summary|ICE on missing template |[11/12/13 Regression] ICE

[Bug c++/98645] [modules] does not work on PowerPC with IEEE 128-bit long double

2022-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98645 Andrew Pinski changed: What|Removed |Added CC||seurer at gcc dot gnu.org --- Comment

[Bug c++/106034] internal compiler error: in type_node, at cp/module.cc:8736 using --with-long-double-format=ieee

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

[Bug ada/106037] New: ICE with Aggregate aspect

2022-06-20 Thread jesper.quorning at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106037 Bug ID: 106037 Summary: ICE with Aggregate aspect Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada

[Bug gcov-profile/106036] New: Missing stdint.h include in libgcc/libgcov.h

2022-06-20 Thread kacper.slominski72 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106036 Bug ID: 106036 Summary: Missing stdint.h include in libgcc/libgcov.h Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/105964] [12/13 Regression] Return type deduction fails during NTTP use of function dependent on template parameter

2022-06-20 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105964 Patrick Palka changed: What|Removed |Added Known to work||11.3.0 Ever confirmed|0

[Bug c++/105908] [12/13 Regression] out-of-class definition of templated method with decltype in trailing return type fails to compile

2022-06-20 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105908 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/105209] internal compiler error: in store_data_bypass_p_1

2022-06-20 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105209 Uroš Bizjak changed: What|Removed |Added Status|NEW |RESOLVED Assignee|unassigned

[Bug target/105209] internal compiler error: in store_data_bypass_p_1

2022-06-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105209 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:94cf9bfb4d269fa5a4e3eeda45f4eafe392bfd58 commit r10-10861-g94cf9bfb4d269fa5a4e3eeda45f4eafe392bfd58 Author: Uros Bizjak

[Bug target/105209] internal compiler error: in store_data_bypass_p_1

2022-06-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105209 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:380829dfd9d8a602322a7771f94616056ebbde21 commit r11-10085-g380829dfd9d8a602322a7771f94616056ebbde21 Author: Uros Bizjak

[Bug target/104829] [12 Regression] Pure 32-bit PowerPC build broken

2022-06-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104829 --- Comment #19 from CVS Commits --- The releases/gcc-11 branch has been updated by Sebastian Huber : https://gcc.gnu.org/g:d87e0e297b1cba73a0c055d2a3e9267d288f435a commit r11-10084-gd87e0e297b1cba73a0c055d2a3e9267d288f435a Author: Segher

[Bug target/105970] ICE in ix86_function_arg, at config/i386/i386.cc:3351

2022-06-20 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105970 Uroš Bizjak changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug c/105970] ICE in ix86_function_arg, at config/i386/i386.cc:3351

2022-06-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105970 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:570a6067ff6928fe76bb13cece38346d9a966a13 commit r10-10860-g570a6067ff6928fe76bb13cece38346d9a966a13 Author: Uros Bizjak

[Bug c/3885] Incorrect "invalid suffix on integer constant" error

2022-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3885 Andrew Pinski changed: What|Removed |Added CC||alt...@arts-union.ru --- Comment #17

[Bug c++/45184] integer lexem error-bug

2022-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45184 --- Comment #2 from Andrew Pinski --- . *** This bug has been marked as a duplicate of bug 3885 ***

[Bug c/3885] Incorrect "invalid suffix on integer constant" error

2022-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3885 Andrew Pinski changed: What|Removed |Added CC||j at uriah dot heep.sax.de --- Comment

[Bug preprocessor/33547] invalid suffix "+0x23" on integer constant

2022-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33547 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #3 from Andrew

[Bug c/3885] Incorrect "invalid suffix on integer constant" error

2022-06-20 Thread pavel.morozkin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3885 Pavel M changed: What|Removed |Added CC||pavel.morozkin at gmail dot com --- Comment

[Bug target/104829] [12 Regression] Pure 32-bit PowerPC build broken

2022-06-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104829 --- Comment #18 from CVS Commits --- The releases/gcc-10 branch has been updated by Sebastian Huber : https://gcc.gnu.org/g:58465d673bb21fc234f642166ec0cf9e621787c3 commit r10-10859-g58465d673bb21fc234f642166ec0cf9e621787c3 Author: Segher

[Bug c/105970] ICE in ix86_function_arg, at config/i386/i386.cc:3351

2022-06-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105970 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:84fe5ace4734cb0eeb342114e744455a7178b0e2 commit r11-10082-g84fe5ace4734cb0eeb342114e744455a7178b0e2 Author: Uros Bizjak

[Bug c++/106029] gcc doesn't report full stack trace for static_assert()

2022-06-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106029 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/106029] gcc doesn't report full stack trace for static_assert()

2022-06-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106029 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic

[Bug fortran/105954] ICE in gfc_element_size, at fortran/target-memory.cc:132

2022-06-20 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105954 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug target/105209] internal compiler error: in store_data_bypass_p_1

2022-06-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105209 --- Comment #4 from CVS Commits --- The releases/gcc-12 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:f8fc8a6ff7a6996fb7f12338c45d1c3450b7a397 commit r12-8499-gf8fc8a6ff7a6996fb7f12338c45d1c3450b7a397 Author: Uros Bizjak

[Bug middle-end/106016] [PowerPC] crash with attempt to initialize array of MMA accumulators

2022-06-20 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106016 Segher Boessenkool changed: What|Removed |Added Component|target |middle-end --- Comment #10 from

[Bug c++/106034] internal compiler error: in type_node, at cp/module.cc:8736 using --with-long-double-format=ieee

2022-06-20 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106034 --- Comment #1 from seurer at gcc dot gnu.org --- There are some more errors further along in the test case that appear related: spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-ieee-bootstrap/gcc/testsuite/g++/../../xg++

[Bug c/105970] ICE in ix86_function_arg, at config/i386/i386.cc:3351

2022-06-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105970 --- Comment #4 from CVS Commits --- The releases/gcc-12 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:ddc9b963ab9f267e8cc54be1fa6fcca2e8b0eb84 commit r12-8498-gddc9b963ab9f267e8cc54be1fa6fcca2e8b0eb84 Author: Uros Bizjak

[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 ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106033 --- Comment #1 from Ian Lance Taylor --- Created attachment 53173 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53173=edit Potential patch I haven't been able to recreate the problem, but does this patch fix it? Thanks.

[Bug fortran/106035] New: F2018 allows an IMPORT statement within the BLOCK construct.

2022-06-20 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106035 Bug ID: 106035 Summary: F2018 allows an IMPORT statement within the BLOCK construct. Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/69200] ICE on subsequent block statements with module imports

2022-06-20 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69200 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug c++/106034] New: internal compiler error: in type_node, at cp/module.cc:8736 using --with-long-double-format=ieee

2022-06-20 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106034 Bug ID: 106034 Summary: internal compiler error: in type_node, at cp/module.cc:8736 using --with-long-double-format=ieee Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug tree-optimization/105835] [13 Regression] Dead Code Elimination Regression at -O1 (trunk vs. 12.1.0)

2022-06-20 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105835 Roger Sayle changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

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

2022-06-20 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106019 rsandifo at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc

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

2022-06-20 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106022 --- Comment #7 from H.J. Lu --- Created attachment 53171 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53171=edit The v2 patch Handle vector store.

[Bug rtl-optimization/106032] [10/11/12/13 Regression] wrong code at -Os and above on x86_64-linux-gnu

2022-06-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106032 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug rtl-optimization/106032] [10/11/12/13 Regression] wrong code at -Os and above on x86_64-linux-gnu

2022-06-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106032 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug target/105960] [12/13 Regression] Crash in 32-bit mode

2022-06-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105960 --- Comment #9 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:fe9765c0b97e6b4ce2cd226631d329fc05ba2aa5 commit r13-1180-gfe9765c0b97e6b4ce2cd226631d329fc05ba2aa5 Author: H.J. Lu Date: Tue Jun 14

[Bug rtl-optimization/106032] [10/11/12/13 Regression] wrong code at -Os and above on x86_64-linux-gnu

2022-06-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106032 --- Comment #7 from Jakub Jelinek --- This one seems to be very old: __attribute__((noipa, noinline, noclone)) int foo (int x, int *y) { int a = 0; if (x < 0) a = *y; return a; } int main () { int a = 42; if (foo (0, 0) != 0

[Bug middle-end/106030] [13 Regression] ice in emit_move_insn, at expr.cc:4026

2022-06-20 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106030 --- Comment #6 from David Binderman --- Around 22,000 executions of csmith per 24 hours and feeding the results to trunk gcc are proving their value in flushing out bugs in gcc.

[Bug middle-end/106030] [13 Regression] ice in emit_move_insn, at expr.cc:4026

2022-06-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106030 --- Comment #5 from Jakub Jelinek --- Still it is latent on the release branches.

[Bug middle-end/106030] [13 Regression] ice in emit_move_insn, at expr.cc:4026

2022-06-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106030 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 Summary|ice in

[Bug middle-end/106030] ice in emit_move_insn, at expr.cc:4026

2022-06-20 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106030 --- Comment #4 from Alex Coplan --- Started with r13-673-gd863ba23fb16122bb0547b0c678173be0d98f43c : commit d863ba23fb16122bb0547b0c678173be0d98f43c Author: Roger Sayle Date: Thu May 19 17:54:38 2022 +0100 PR middle-end/98865: Expand

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

2022-06-20 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106022 --- Comment #6 from H.J. Lu --- Created attachment 53169 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53169=edit A patch This patch multiplies the vector store cost by the number of scalar elements in a word to properly compare scalar

[Bug middle-end/106027] [11/12 Regression] ICE: 'verify_gimple' failed (error: mismatching comparison operand types) since r11-2450-g10231958fcfb13bc

2022-06-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106027 Richard Biener changed: What|Removed |Added Component|tree-optimization |middle-end Known to fail|13.0

[Bug tree-optimization/106027] [11/12/13 Regression] ICE: 'verify_gimple' failed (error: mismatching comparison operand types) since r11-2450-g10231958fcfb13bc

2022-06-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106027 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:713f2fd923442b1be620a44240ddf786ae0ab476 commit r13-1174-g713f2fd923442b1be620a44240ddf786ae0ab476 Author: Richard Biener Date:

[Bug c++/105956] [13 Regression] internal compiler error: in iterative_hash_template_arg, at cp/pt.cc:1819

2022-06-20 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105956 --- Comment #7 from Martin Liška --- And I reduced to the pretty same code snippet as Marek did.

[Bug middle-end/106030] ice in emit_move_insn, at expr.cc:4026

2022-06-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106030 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug tree-optimization/105940] suggested_unroll_factor applying place looks wrong

2022-06-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105940 --- Comment #9 from CVS Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:86882d9feb6a534325d7162216696266898e36d0 commit r13-1173-g86882d9feb6a534325d7162216696266898e36d0 Author: Kewen Lin Date: Mon Jun

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

2022-06-20 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106022 --- Comment #5 from Hongtao.liu --- (In reply to Richard Biener from comment #3) > We already put the const_vector into the constant pool at RTL expansion time, > possibly because the move patterns do not allow vector constants fitting into >

[Bug middle-end/106030] ice in emit_move_insn, at expr.cc:4026

2022-06-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106030 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug target/106030] ice in emit_move_insn, at expr.cc:4026

2022-06-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106030 --- Comment #2 from Jakub Jelinek --- Deobfuscated: int a, b, c; char foo (int x, int y) { return x * y; } void bar (void) { char d = (foo <= b) * a; c = foo (2 != bar, d); }

[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 rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106033 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.0

[Bug rtl-optimization/106032] [10/11/12/13 Regression] wrong code at -Os and above on x86_64-linux-gnu

2022-06-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106032 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug tree-optimization/106027] [11/12/13 Regression] ICE: 'verify_gimple' failed (error: mismatching comparison operand types) since r11-2450-g10231958fcfb13bc

2022-06-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106027 --- Comment #3 from Richard Biener --- So the issue seems to be that #4 0x00f82be3 in fold_binary_loc (loc=2147483656, code=TRUTH_ANDIF_EXPR, type=, op0=, op1=) at /space/rguenther/src/gcc/gcc/fold-const.cc:12044

[Bug tree-optimization/106027] [11/12/13 Regression] ICE: 'verify_gimple' failed (error: mismatching comparison operand types) since r11-2450-g10231958fcfb13bc

2022-06-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106027 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug tree-optimization/106025] [13 Regression] Incorrect optimization at -O2 leads to infinite test execution time since r13-469-g9a53101caadae1b5

2022-06-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106025 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.0 Status|NEW

[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 #4 from Richard Biener --- (In reply to H.J. Lu from comment #1) > SLP thinks that it needs 4 stores to store 4 bytes of integer constant. > But it takes only 1 4-byte store. Yes, SLP looks at the GIMPLE IL, if you disable

[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 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.2 Ever confirmed|0

[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 Richard Biener changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org ---

[Bug tree-optimization/105739] [10 Regression] Miscompilation of Linux kernel update.c

2022-06-20 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105739 --- Comment #17 from hubicka at kam dot mff.cuni.cz --- > Fixed (Honza, hope you don't mind the backports I've done, did that so that it > is on time for 10.4). Thanks. I don't mind: I was planning to do them this week anyway and also extra

[Bug c++/90670] const& template parameter in a header trips -Wsubobject-linkage

2022-06-20 Thread Kitsune-Ral at users dot sf.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90670 Alexey Rusakov changed: What|Removed |Added CC||Kitsune-Ral at users dot sf.net ---

[Bug c++/105956] [13 Regression] internal compiler error: in iterative_hash_template_arg, at cp/pt.cc:1819

2022-06-20 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105956 --- Comment #6 from Martin Liška --- Note I see the same error for inkscape package.

[Bug c/106018] Feature Request: Add function attribute fn_enter, and fn_exit

2022-06-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106018 --- Comment #1 from Richard Biener --- it's going to be "interesting" if the arguments or return types need construction (C++).

[Bug target/106012] rsqrtps and rcpps instructions generated even if -fno-reciprocal-math specified

2022-06-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106012 --- Comment #5 from Richard Biener --- (In reply to Uroš Bizjak from comment #1) > recip pass is converting to .RSQRT, target is just expanding what it gets. But it queries the target for support for RSQRT, but yeah, we lack to ask for

[Bug target/106012] rsqrtps and rcpps instructions generated even if -fno-reciprocal-math specified

2022-06-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106012 Richard Biener changed: What|Removed |Added Target||x86_64-*-*

[Bug middle-end/106010] Miss vectorization for complex type copy.

2022-06-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106010 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Target|

[Bug middle-end/106008] [11/12/13 Regression] warning: ‘(((char *)loadcmds.113_68 + _933 + 16))[329406144173384849].mapend’ may be used uninitialized [-Wmaybe-uninitialized]

2022-06-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106008 Richard Biener changed: What|Removed |Added Keywords||diagnostic Target Milestone|---

  1   2   >