This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
C++ Extension: Default argument circularity stuff
- From: Mark Mitchell <mark at codesourcery dot com>
- To: gcc at gcc dot gnu dot org
- Cc: jason at redhat dot com, nathan at codesourcery dot com
- Date: Thu, 19 Sep 2002 15:45:25 -0700
- Subject: C++ Extension: Default argument circularity stuff
- Reply-to: mark at codesourcery dot com
G++ has some special code to try to make sure that it doesn't make any
difference in what order functions with default arguments are
processed. (This is the stuff in do_pending_defargs involving
defarg_depfns.)
I never understood the motivation for that change in the first place
(as far as I can tell, the standard does not require us to jump
through these hoops, nor does any other compiler behave like G++).
Do we need to keep this stuff, or can it go away in the new parser?
Thanks,
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com