This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Multiple FUNCTION_DECLS for __cxa_begin_catch
- From: Andrew Pinski <pinskia at gmail dot com>
- To: Brendon Costa <bcosta at avdat dot com dot au>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 30 Nov 2006 02:39:53 -0800
- Subject: Re: Multiple FUNCTION_DECLS for __cxa_begin_catch
- References: <456E675A.8050601@avdat.com.au>
On Thu, 2006-11-30 at 16:08 +1100, Brendon Costa wrote:
> Hi again,
> Is it safe to assume in the C++ front end that two functions declared in
> such a manner will always share the same implementation in which case it
> is kind-of like a "using" statement?
The C++ front-end is broken and needs to be fixed ...
Any front-end that produces two FUNCTION_DECLs (or any kind of decl)
that point to the same function (or decl) is now broken.
-- Pinski