[Bug c++/114854] New: [14 Regression] ICE with default initializer of const reference member at cp/cp-gimplify.cc:900

2024-04-25 Thread dani at danielbertalan dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114854 Bug ID: 114854 Summary: [14 Regression] ICE with default initializer of const reference member at cp/cp-gimplify.cc:900 Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug ipa/114784] [14 Regression] Inlining fails for always_inline inheriting constructor

2024-04-19 Thread dani at danielbertalan dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114784 --- Comment #5 from Daniel Bertalan --- I tried Jakub's patch (thank you for the super quick response!), it crashes if the constructor has non-type template parameters: template struct SpanImpl { template SpanImpl(); }; template struct

[Bug ipa/114784] [14 Regression] Inlining fails for always_inline inheriting constructor

2024-04-19 Thread dani at danielbertalan dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114784 --- Comment #1 from Daniel Bertalan --- Forgot to actually post the error message itself: In constructor 'ErrorOr::ErrorOr(int)', inlined from 'ErrorOr run()' at :29:10, inlined from 'int serenity_main()' at :32:8: :13:39: error:

[Bug ipa/114784] New: [14 Regression] Inlining fails for always_inline inheriting constructor

2024-04-19 Thread dani at danielbertalan dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114784 Bug ID: 114784 Summary: [14 Regression] Inlining fails for always_inline inheriting constructor Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug c++/109727] New: [13/14 Regression] -Warray-bounds false positive with -fsanitize=undefined

2023-05-04 Thread dani at danielbertalan dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109727 Bug ID: 109727 Summary: [13/14 Regression] -Warray-bounds false positive with -fsanitize=undefined Product: gcc Version: 13.1.0 Status: UNCONFIRMED Keywords:

[Bug c++/109683] New: [13/14 Regression] False cyclic dependency error reported for constraint

2023-05-01 Thread dani at danielbertalan dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109683 Bug ID: 109683 Summary: [13/14 Regression] False cyclic dependency error reported for constraint Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity:

[Bug c++/107363] New: Wrong caret location for "redundant move in return statement"

2022-10-23 Thread dani at danielbertalan dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107363 Bug ID: 107363 Summary: Wrong caret location for "redundant move in return statement" Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug c++/105130] gcc does not warn about unused return value of last expression of statement expr

2022-04-01 Thread dani at danielbertalan dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105130 --- Comment #1 from Daniel Bertalan --- Created attachment 52740 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52740=edit Proposed patch #2 Actually, my proposed patch was definitely incorrect. It didn't allow me to circumvent the

[Bug c++/105130] New: gcc does not warn about unused return value of last expression of statement expr

2022-04-01 Thread dani at danielbertalan dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105130 Bug ID: 105130 Summary: gcc does not warn about unused return value of last expression of statement expr Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug c++/104702] New: [12 Regression] False positive -Wunused-value warning with -fno-exceptions

2022-02-26 Thread dani at danielbertalan dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104702 Bug ID: 104702 Summary: [12 Regression] False positive -Wunused-value warning with -fno-exceptions Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug c++/104284] New: [9/10/11/12 Regression] ICE: unexpected expression '' of kind implicit_conv_expr

2022-01-29 Thread dani at danielbertalan dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104284 Bug ID: 104284 Summary: [9/10/11/12 Regression] ICE: unexpected expression '' of kind implicit_conv_expr Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug ipa/103819] [10/11/12 Regression] ICE in redirect_callee, at cgraph.c:1389 with __attribute__((flatten)) and -O2 since r11-7940-ge7fd3b783238d034

2022-01-24 Thread dani at danielbertalan dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103819 --- Comment #3 from Daniel Bertalan --- Here's an even smaller test case (https://gcc.godbolt.org/z/ee9GceMx3): === template struct Optional { ~Optional() { if (m_has_value) value(); } T value(); bool

[Bug tree-optimization/103858] New: [12 Regression] strlen() implementation is optimized into a call to strlen() at -O2, causing infinite recursion

2021-12-29 Thread dani at danielbertalan dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103858 Bug ID: 103858 Summary: [12 Regression] strlen() implementation is optimized into a call to strlen() at -O2, causing infinite recursion Product: gcc Version:

[Bug ipa/103819] New: [12 Regression] ICE in redirect_callee, at cgraph.c:1389 with __attribute__((flatten)) and -O2

2021-12-23 Thread dani at danielbertalan dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103819 Bug ID: 103819 Summary: [12 Regression] ICE in redirect_callee, at cgraph.c:1389 with __attribute__((flatten)) and -O2 Product: gcc Version: 12.0 Status: UNCONFIRMED