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++/52521] [C++11] user defined literals and order of declaration


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

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-22 10:10:29 UTC ---
Author: jakub
Date: Thu Mar 22 10:10:24 2012
New Revision: 185683

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185683
Log:
    Backported from mainline
    2012-03-14  Jakub Jelinek  <jakub@redhat.com>

    PR c++/52521
    * parser.c (lookup_literal_operator): Return fn only if
    processed all arguments from args vector and argtypes is
    void_list_node.

    * g++.dg/cpp0x/udlit-args2.C: New test.

Added:
    branches/gcc-4_7-branch/gcc/testsuite/g++.dg/cpp0x/udlit-args2.C
Modified:
    branches/gcc-4_7-branch/gcc/cp/ChangeLog
    branches/gcc-4_7-branch/gcc/cp/parser.c
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog


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