This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa/mainline] PR 14756
- From: "Joseph S. Myers" <jsm at polyomino dot org dot uk>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: Jan Hubicka <jh at suse dot cz>, gcc-patches at gcc dot gnu dot org, rth at redhat dot com
- Date: Sun, 28 Mar 2004 18:06:12 +0000 (UTC)
- Subject: Re: [tree-ssa/mainline] PR 14756
- References: <20040328170916.GG24463@kam.mff.cuni.cz> <873c7subzy.fsf@codesourcery.com>
On Sun, 28 Mar 2004, Zack Weinberg wrote:
> > Zack, perhaps we should issue warning when casting non-inlie to inline
> > and error when casting non-always-inline to always-inline?
>
> Why are casts which add/remove 'inline' allowed *at all*?
They aren't even meant to parse. inline is not part of a type and the
syntax doesn't allow storage class specifiers (which inline is presently
treated as) in type names.
What is the minimal testcase for this problem (which the patch should have
included)?
--
Joseph S. Myers
jsm@polyomino.org.uk