[Bug c++/121172] New: error: use of 'static constexpr method...' before deduction of 'auto' WHEN upgrade to 15.1.0 : different writing order have different impact

2025-07-18 Thread terryinzaghi at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121172 Bug ID: 121172 Summary: error: use of 'static constexpr method...' before deduction of 'auto' WHEN upgrade to 15.1.0 : different writing order have different impact Produc

[Bug bootstrap/121147] ../.././gcc/c/c-decl.cc:6192:21: error: ‘ENABLE_OFFLOADING’ was not declared in this scope

2025-07-18 Thread terryinzaghi at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121147 --- Comment #14 from terryinzaghi --- (In reply to terryinzaghi from comment #13) > (In reply to Jonathan Wakely from comment #12) > > (In reply to Jonathan Wakely from comment #3) > > > As it says at https://gcc.gnu.org/wiki/InstallingGCC "If y

[Bug bootstrap/121147] ../.././gcc/c/c-decl.cc:6192:21: error: ‘ENABLE_OFFLOADING’ was not declared in this scope

2025-07-18 Thread terryinzaghi at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121147 --- Comment #13 from terryinzaghi --- (In reply to Jonathan Wakely from comment #12) > (In reply to Jonathan Wakely from comment #3) > > As it says at https://gcc.gnu.org/wiki/InstallingGCC "If your build fails > > and your configure command has

[Bug bootstrap/121147] ../.././gcc/c/c-decl.cc:6192:21: error: ‘ENABLE_OFFLOADING’ was not declared in this scope

2025-07-18 Thread terryinzaghi at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121147 --- Comment #10 from terryinzaghi --- Created attachment 61906 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61906&action=edit error-and-warning-logWHEN do make -j AFTER ./configure --disable-multilib

[Bug bootstrap/121147] ../.././gcc/c/c-decl.cc:6192:21: error: ‘ENABLE_OFFLOADING’ was not declared in this scope

2025-07-18 Thread terryinzaghi at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121147 --- Comment #9 from terryinzaghi --- (In reply to Andrew Pinski from comment #8) > (In reply to terryinzaghi from comment #5) > > Created attachment 61900 [details] > > auto-host.hWHEN do ./configure --disable-multilib > > This looks correc

[Bug bootstrap/121147] ../.././gcc/c/c-decl.cc:6192:21: error: ‘ENABLE_OFFLOADING’ was not declared in this scope

2025-07-17 Thread terryinzaghi at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121147 --- Comment #5 from terryinzaghi --- Created attachment 61900 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61900&action=edit auto-host.hWHEN do ./configure --disable-multilib

[Bug bootstrap/121147] ../.././gcc/c/c-decl.cc:6192:21: error: ‘ENABLE_OFFLOADING’ was not declared in this scope

2025-07-17 Thread terryinzaghi at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121147 --- Comment #7 from terryinzaghi --- Created attachment 61902 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61902&action=edit config.log WHEN do ./configure --disable-multilib

[Bug bootstrap/121147] ../.././gcc/c/c-decl.cc:6192:21: error: ‘ENABLE_OFFLOADING’ was not declared in this scope

2025-07-17 Thread terryinzaghi at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121147 --- Comment #6 from terryinzaghi --- Created attachment 61901 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61901&action=edit config.status WHEN do ./configure --disable-multilib

[Bug c++/121147] New: ../.././gcc/c/c-decl.cc:6192:21: error: ‘ENABLE_OFFLOADING’ was not declared in this scope

2025-07-17 Thread terryinzaghi at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121147 Bug ID: 121147 Summary: ../.././gcc/c/c-decl.cc:6192:21: error: ‘ENABLE_OFFLOADING’ was not declared in this scope Product: gcc Version: 15.1.0 Status: UNCONFIRMED

[Bug c++/119111] [[deprecated]] attribute NOT work IF be placed between () and {}

2025-03-04 Thread terryinzaghi at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119111 --- Comment #2 from terryinzaghi --- (In reply to Jakub Jelinek from comment #1) > Why do you think this is a bug? > https://eel.is/c++draft/dcl.decl#dcl.fct-1.sentence-5 > says that the attribute-specifier-seq in your old{4,5,6,7} declarations

[Bug c++/119111] New: [[deprecated]] attribute NOT work IF be placed between () and {}

2025-03-04 Thread terryinzaghi at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119111 Bug ID: 119111 Summary: [[deprecated]] attribute NOT work IF be placed between () and {} Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal

[Bug c++/119008] for token(>): compiler can NOT distinguish close-template-block(>) from operator(>):

2025-02-24 Thread terryinzaghi at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119008 --- Comment #3 from terryinzaghi --- (In reply to Andrew Pinski from comment #1) > Dup. The problem is GCC thinks > ends the template argument even though it > is still inside a lambda definition. > > *** This bug has been marked as a duplicate

[Bug c++/119008] for token(>): compiler can NOT distinguish close-template-block(>) from operator(>):

2025-02-24 Thread terryinzaghi at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119008 --- Comment #2 from terryinzaghi --- x86-64 gcc 14.2 -std=c++23 -O3

[Bug c++/119008] New: for token(>): compiler can NOT distinguish close-template-block(>) from operator(>):

2025-02-24 Thread terryinzaghi at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119008 Bug ID: 119008 Summary: for token(>): compiler can NOT distinguish close-template-block(>) from operator(>): Product: gcc Version: 14.2.0 Status: UNCONFIRMED

[Bug c++/118296] ICE with invalid deduction of template arguments for operator[] with constexpr

2025-01-05 Thread terryinzaghi at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118296 --- Comment #5 from terryinzaghi --- Yes, i think this wrong syntax should output a error(indicating cant deduce {...}) instead of output internal compiler error.

[Bug c++/118296] internal compiler error: in cxx_eval_bare_aggregate, at cp/constexpr.cc WHEN block{...}appeared in [...]

2025-01-04 Thread terryinzaghi at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118296 --- Comment #1 from terryinzaghi --- https://godbolt.org/z/rxad6MMWe

[Bug c++/118296] New: internal compiler error: in cxx_eval_bare_aggregate, at cp/constexpr.cc WHEN block{...}appeared in [...]

2025-01-04 Thread terryinzaghi at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118296 Bug ID: 118296 Summary: internal compiler error: in cxx_eval_bare_aggregate, at cp/constexpr.cc WHEN block{...}appeared in [...] Product: gcc Version: 14.2.0 Status: UN

[Bug c++/118245] [14/15 Regression] ICE: in convert_nontype_argument, Passing a lambda as a template argument and base class

2024-12-30 Thread terryinzaghi at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118245 --- Comment #6 from terryinzaghi --- x86-64 gcc 14.2 -std=c++23 -O3 https://godbolt.org/z/PcM9aMM95

[Bug c++/118245] [14/15 Regression] ICE: in convert_nontype_argument, Passing a lambda as a template argument and base class

2024-12-30 Thread terryinzaghi at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118245 --- Comment #5 from terryinzaghi --- /*Minimize Reproduce Code Based On Andrew Pinski's Example:*/ //-- can NOT work template struct Cask {}; struct CanNOTWork : Cask<([]{})> { Cask<([]{})> c10{}; }; //-- can work struct CanWork

[Bug c++/118245] internal compiler error: in convert_nontype_argument, at cp/pt.cc:7881 WHEN use lambda AS template-arg

2024-12-30 Thread terryinzaghi at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118245 --- Comment #1 from terryinzaghi --- (In reply to terryinzaghi from comment #0) > /*using gcc 14.2 */ > /*sample code will trigger the error: */ > > > template struct Cask { > Cask() { std::cout<< name() << " start" << std::endl

[Bug c++/118245] New: internal compiler error: in convert_nontype_argument, at cp/pt.cc:7881 WHEN use lambda AS template-arg

2024-12-30 Thread terryinzaghi at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118245 Bug ID: 118245 Summary: internal compiler error: in convert_nontype_argument, at cp/pt.cc:7881 WHEN use lambda AS template-arg Product: gcc Version: 14.2.0 Status: UNC