This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/51420] [c++0x] ICE with invalid user-defined literals


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51420

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-12-07 15:41:08 UTC ---
Author: jason
Date: Wed Dec  7 15:41:03 2011
New Revision: 182083

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182083
Log:
    PR c++/51420
    * parser.c (lookup_literal_operator): Check that declaration is an
    overloaded function.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/pr51420.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]