[Bug c++/77338] [7 Regression] ICE on invalid C++11 code on x86_64-linux-gnu: Segmentation fault

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Aug 23 11:41:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77338

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpolacek at gcc dot gnu.org

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
I can't reproduce:

$ ./cc1plus -quiet q.C
q.C:3:51: error: no match for call to ‘(S) (S&)’
 template < typename > auto f (S s)->decltype (s (s));
                                                   ^
q.C:3:51: error: no match for call to ‘(S) (S&)’


More information about the Gcc-bugs mailing list