[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 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 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++/115808] Different behavior with optimizations enabled and disabled.

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

[Bug c++/65608] [meta-bug] friend issues

2024-07-06 Thread linuxnyasha at tutanota dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65608 Bug 65608 depends on bug 115808, which changed state. Bug 115808 Summary: Different behavior with optimizations enabled and disabled. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115808 What|Removed |Added -

[Bug c++/115808] Different behavior with optimizations enabled and disabled.

2024-07-06 Thread linuxnyasha at tutanota dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115808 --- Comment #6 from linuxnyasha at tutanota dot com --- (In reply to Andrew Pinski from comment #5) > (In reply to linuxnyasha from comment #2) > > On clang works > > But 2 out of 3 compilers have the same error message which might mean this > i

[Bug c++/115811] gcc breaks and cannot parse code with templates

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

[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++/115808] Different behavior with optimizations enabled and disabled.

2024-07-06 Thread linuxnyasha at tutanota dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115808 --- Comment #4 from linuxnyasha at tutanota dot com --- (In reply to Andrew Pinski from comment #1) > MSVC rejects this code: > ``` > (46): error C3779: 'utempl::loopholes::Magic': a function that > returns 'auto' cannot be used before it is defi

[Bug c++/115808] Different behavior with optimizations enabled and disabled.

2024-07-06 Thread linuxnyasha at tutanota dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115808 --- Comment #3 from linuxnyasha at tutanota dot com --- (In reply to Andrew Pinski from comment #1) > MSVC rejects this code: > ``` > (46): error C3779: 'utempl::loopholes::Magic': a function that > returns 'auto' cannot be used before it is defi

[Bug c++/115808] Different behavior with optimizations enabled and disabled.

2024-07-06 Thread linuxnyasha at tutanota dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115808 --- Comment #2 from linuxnyasha at tutanota dot com --- (In reply to Andrew Pinski from comment #1) > MSVC rejects this code: > ``` > (46): error C3779: 'utempl::loopholes::Magic': a function that > returns 'auto' cannot be used before it is defi

[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++/115811] gcc breaks and cannot parse code with templates

2024-07-06 Thread linuxnyasha at tutanota dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115811 --- 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 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++/115811] New: gcc breaks and cannot parse code with templates

2024-07-06 Thread linuxnyasha at tutanota dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115811 Bug ID: 115811 Summary: gcc breaks and cannot parse code with templates Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug c++/115810] New: 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 Bug ID: 115810 Summary: Strange warning messages Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee:

[Bug c++/115809] New: Gcc can't parse code where the decltype is written, which depends on the runtime arguments passed to the function.

2024-07-06 Thread linuxnyasha at tutanota dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115809 Bug ID: 115809 Summary: Gcc can't parse code where the decltype is written, which depends on the runtime arguments passed to the function. Product: gcc Version:

[Bug c++/115808] New: Different behavior with optimizations enabled and disabled.

2024-07-06 Thread linuxnyasha at tutanota dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115808 Bug ID: 115808 Summary: Different behavior with optimizations enabled and disabled. Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal