[Bug c++/115810] Strange warning messages

2024-07-08 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115810 Sam James changed: What|Removed |Added CC||doko at gcc dot gnu.org --- Comment #17 fro

[Bug c++/115810] Strange warning messages

2024-07-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115810 --- Comment #16 from Jonathan Wakely --- Created attachment 58607 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58607&action=edit Preprocessed source This all_meta.cpp.ii.gz file repros the problem with Ubuntu's g++-14 14.0.1 compiler, u

[Bug c++/115810] Strange warning messages

2024-07-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115810 --- Comment #15 from Jonathan Wakely --- (In reply to linuxnyasha from comment #7) > It doesn't work like that for me when I compile using preprocessed sources. > The bug only appears when I simply compile. (ubuntu-24.04 Github Actions) Are you

[Bug c++/115810] Strange warning messages

2024-07-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115810 --- Comment #14 from Jonathan Wakely --- Like Andrew showed in comment 6, the confusing lines in the ubuntu output should be showing the context: 550 | return [&]( | ~~~

[Bug c++/115810] Strange warning messages

2024-07-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115810 --- Comment #13 from Jonathan Wakely --- NOT reproduced with gcc 14 in a Fedora 40 container though. So this could be an Ubuntu-specific patch to GCC, or something fixed between the Ubuntu g++-14: gcc version 14.0.1 20240412 (experimental) [mast

[Bug c++/115810] Strange warning messages

2024-07-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115810 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|2024-07-06 00:00

[Bug c++/115810] Strange warning messages

2024-07-07 Thread linuxnyasha at tutanota dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115810 --- Comment #11 from linuxnyasha at tutanota dot com --- If I just compile manually in docker, it works the same way.(In reply to Andrew Pinski from comment #10) > Can you provide the exact version of gcc you are using? The trunk works > correctl

[Bug c++/115810] Strange warning messages

2024-07-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115810 --- Comment #10 from Andrew Pinski --- Can you provide the exact version of gcc you are using? The trunk works correctly.

[Bug c++/115810] Strange warning messages

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

[Bug c++/115810] Strange warning messages

2024-07-06 Thread linuxnyasha at tutanota dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115810 linuxnyasha at tutanota dot com changed: What|Removed |Added Resolution|INVALID |--- Status

[Bug c++/115810] Strange warning messages

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

[Bug c++/115810] Strange warning messages

2024-07-06 Thread linuxnyasha at tutanota dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115810 --- Comment #7 from linuxnyasha at tutanota dot com --- (In reply to Andrew Pinski from comment #6) > Can you show the exact command needed to reproduce this? > > I am suspecting this might be an artifact of the IDE you are using. > > What GCC

[Bug c++/115810] Strange warning messages

2024-07-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115810 --- Comment #6 from Andrew Pinski --- Can you show the exact command needed to reproduce this? I am suspecting this might be an artifact of the IDE you are using. What GCC diagnostic produces is (when I remove the line markers): t.cc: In insta

[Bug c++/115810] Strange warning messages

2024-07-06 Thread linuxnyasha at tutanota dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115810 --- Comment #5 from linuxnyasha at tutanota dot com --- Created attachment 58602 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58602&action=edit Preprocessed file

[Bug c++/115810] Strange warning messages

2024-07-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115810 --- Comment #4 from Andrew Pinski --- (In reply to linuxnyasha from comment #3) > (In reply to Andrew Pinski from comment #1) > > Can you provide the preprocessed source? > > https://transfiles.ru/zjfer This is not attached. I should have writ

[Bug c++/115810] Strange warning messages

2024-07-06 Thread linuxnyasha at tutanota dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115810 --- Comment #3 from linuxnyasha at tutanota dot com --- (In reply to Andrew Pinski from comment #1) > Can you provide the preprocessed source? https://transfiles.ru/zjfer

[Bug c++/115810] Strange warning messages

2024-07-06 Thread linuxnyasha at tutanota dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115810 --- Comment #2 from linuxnyasha at tutanota dot com --- (In reply to Andrew Pinski from comment #1) > Can you provide the preprocessed source? https://transfiles.ru/zjfer

[Bug c++/115810] Strange warning messages

2024-07-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115810 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-07-06 Status|UNCONFIRM