]> gcc.gnu.org Git - gcc.git/commit
re PR c++/5132 (NaN = 0.0 * HUGE_VAL fails to compile in templates)
authorNathan Sidwell <nathan@codesourcery.com>
Wed, 2 Jan 2002 11:29:15 +0000 (11:29 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 2 Jan 2002 11:29:15 +0000 (11:29 +0000)
commit903c623438e8f4ce15639fffed80f9ced73a8bf7
tree0a2878924eb6d120753fa4ffd96b1754db925d14
parent477558bf39db7da00236fc414e0ac53a5712f577
re PR c++/5132 (NaN = 0.0 * HUGE_VAL fails to compile in templates)

cp:
PR c++/5132
* decl2.c (reparse_absdcl_as_casts): Don't digest_init if we
are processing a template decl.
testsuite:
* g++.dg/template/ctor1.C: New test.

From-SVN: r48464
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/ctor1.C [new file with mode: 0644]
This page took 0.061817 seconds and 5 git commands to generate.