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: PATCH: Add -fno-short-enums to Symbian OS configuration


On Fri, 6 Aug 2004, Mark Mitchell wrote:

> I've also added tests that -fshort-enums and -fshort-wchar do what
> they should, on all platforms.  (There didn't appear to be anything in
> the testsuite that did that.)

gcc.dg/init-string-2.c would fail if these options were broken, but that
certainly isn't the purpose of that test (nor does it go so far as to test
that we follow the documented (in implement-c.texi) rules for enum types)
so more specific tests are good.

-- 
Joseph S. Myers               http://www.srcf.ucam.org/~jsm28/gcc/
    jsm@polyomino.org.uk (personal mail)
    jsm28@gcc.gnu.org (Bugzilla assignments and CCs)


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