This is the mail archive of the gcc@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]

C++ Extension: Default argument circularity stuff


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


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