https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116366
--- Comment #4 from Yi Qingliang ---
(In reply to Andrew Pinski from comment #3)
> Note it is unrelated to member objects too as shown by:
> ```
>
> template
> auto declval() -> T&;
>
> static int x;
>
> template
> using mem_type = decltype(*
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: niqingliang2003 at gmail dot com
Target Milestone: ---
Created attachment 58929
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58929&action=edit
test cod
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67935
--- Comment #3 from Yi Qingliang ---
Created attachment 36493
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36493&action=edit
the array version 'save-temps' result
the array version 'save-temps' result
||
CC||niqingliang2003 at gmail dot
com
--- Comment #2 from Yi Qingliang ---
Created attachment 36492
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36492&action=edit
the array version
the array version compile result:
$ gcc -
++
Assignee: unassigned at gcc dot gnu.org
Reporter: niqingliang2003 at gmail dot com
Target Milestone: ---
Created attachment 36484
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36484&action=edit
compiled with command: g++ -std=c++11 main.cpp
main.cpp is the s