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++/29632] [4.0/4.1/4.2 Regression] ICE on invalid code: regenerate_decl_from_template, at cp/pt.c:10969



------- Comment #3 from mmitchel at gcc dot gnu dot org  2006-12-04 22:14 -------
Subject: Bug 29632

Author: mmitchel
Date: Mon Dec  4 22:14:42 2006
New Revision: 119512

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119512
Log:
        PR c++/29632
        * call.c (add_builtin_candidate): Do not permit NULL pointer
        constants to be compared with template parameters.
        PR c++/29632
        * g++.dg/template/error23.C: New test.

Added:
    branches/gcc-4_2-branch/gcc/testsuite/g++.dg/template/error23.C
Modified:
    branches/gcc-4_2-branch/gcc/cp/ChangeLog
    branches/gcc-4_2-branch/gcc/cp/call.c
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


-- 


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


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