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

Re: [tree-ssa/mainline] PR 14756


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


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