This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/5132: NaN = 0.0 * HUGE_VAL fails to compile in templates
- From: nathan at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nathan at gcc dot gnu dot org, wwcopt at optonline dot net
- Date: 29 Jan 2002 09:53:27 -0000
- Subject: Re: c++/5132: NaN = 0.0 * HUGE_VAL fails to compile in templates
- Reply-to: nathan at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nathan at gcc dot gnu dot org, wwcopt at optonline dot net, gcc-gnats at gcc dot gnu dot org
Synopsis: NaN = 0.0 * HUGE_VAL fails to compile in templates
State-Changed-From-To: analyzed->closed
State-Changed-By: nathan
State-Changed-When: Tue Jan 29 01:53:26 2002
State-Changed-Why:
2002-01-29 Nathan Sidwell <nathan@codesourcery.com>
PR c++/5132
* typeck2.c (digest_init): Make sure non-array core type is
instantiated.
* decl2.c (reparse_absdcl_as_casts): Just store the type in the
constructor, rather than build a new one.
(build_expr_from_tree, CONSTRUCTOR case): Be careful with the
PURPOSE of constructor elts.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5132