[Bug middle-end/110194] GCC shouldn't warn for inline functions when -g provided.

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

[Bug middle-end/110194] GCC shouldn't warn for inline functions when -g provided.

2023-06-09 Thread umesh.kalappa0 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110194 --- Comment #5 from Umesh Kalappa --- Ok thank you @Jakub and @Andrew for the quick reply , >>-Winline Option triggers this diagnostic ,so it better not to use this option in the debug build ?

[Bug middle-end/110194] GCC shouldn't warn for inline functions when -G provided.

2023-06-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110194 --- Comment #4 from Jakub Jelinek --- Note, I think -Og only does early inlining and not IPA inlining, so it will inline far fewer functions than -O1, -O2, -Os etc.

[Bug middle-end/110194] GCC shouldn't warn for inline functions when -G provided.

2023-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110194 --- Comment #3 from Andrew Pinski --- Also -G and -g are different options. I was thinking you saying gcc should not warn when you specify the small data size on some targets (-G). Oh -g is independent from optimization level too.

[Bug middle-end/110194] GCC shouldn't warn for inline functions when -G provided.

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