This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: 3.2 critical bug?
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: Stefano Barbato <barbato at inquare dot com>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 24 Oct 2002 13:14:32 +0100
- Subject: Re: 3.2 critical bug?
- Organization: Codesourcery LLC
- References: <200210241329.36716.barbato@inquare.com>
Stefano Barbato wrote:
this seem to be a bug, hope I'm not missing something:
int main()
{
test p(type_2());
// a declaration of a fn called 'p' returning a test and taking a type_2
why this compiles without errors!?
because it is well formed.
--
Dr Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org