[Bug ipa/107931] [12/13 Regression] -Og causes always_inline to fail since r12-6677-gc952126870c92cf2

2022-12-01 Thread me at xenu dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107931 --- Comment #5 from Tomasz Konojacki --- To sum this thread up, there are undocumented rules that can cause a semantically identical program to be rejected by the compiler under certain optimisation levels (with an uninformative error message)

[Bug c/107931] [12 Regression] -Og causes always_inline to fail

2022-11-29 Thread me at xenu dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107931 --- Comment #1 from Tomasz Konojacki --- (In reply to Tomasz Konojacki from comment #0) > The error below occurs only with -Od. Sorry, -Og. PS. It seems that moving the definition of fun4 to the first line makes the error disappear.

[Bug c/107931] New: [12 Regression] -Od causes always_inline to fail

2022-11-29 Thread me at xenu dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107931 Bug ID: 107931 Summary: [12 Regression] -Od causes always_inline to fail Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/101537] New: -Wconversion false positive in ternary

2021-07-20 Thread me at xenu dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101537 Bug ID: 101537 Summary: -Wconversion false positive in ternary Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c/53277] -Wconversion cannot handle compound expressions

2021-07-20 Thread me at xenu dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53277 --- Comment #18 from Tomasz Konojacki --- Sorry, it still warns in C mode, but it doesn't in C++.

[Bug c++/93652] -Wconversion gives false warning with bitwise operations on reference types returned from function

2021-07-20 Thread me at xenu dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93652 Tomasz Konojacki changed: What|Removed |Added CC||me at xenu dot pl --- Comment #1

[Bug c/53277] -Wconversion cannot handle compound expressions

2021-07-20 Thread me at xenu dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53277 Tomasz Konojacki changed: What|Removed |Added CC||me at xenu dot pl --- Comment #17

[Bug c++/38522] -Wconversion does not handle complex bitwise expressions

2021-07-20 Thread me at xenu dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38522 Tomasz Konojacki changed: What|Removed |Added CC||me at xenu dot pl --- Comment #10