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: __SIZE_TYPE__ and friends out of specs


Zack Weinberg wrote:-

> Okay.  I'm going to go with a macro, since that avoids introducing a
> hidden ordering dependency between c_common_nodes_and_builtins and
> cb_register_builtins.

OK.  Sadly we already have a dependency though (at the top of
c_common_init to set CPP's idea of whether wchar_type is signed or not, as
I commented there).  This made me want to find a better way of defining
the target types rather than textually like now (and somehow making
the *_TYPE_SIZE versions redundant, which they are, at the same time).
However, I couldn't immediately think of anything as a replacement that
would allow us to easily determine its size from the target macros giving
the sizes of the basic types.

You're good at that kind of thing, any ideas?

> MODIFIED_WCHAR_TYPE sound good to you?

Sure.

Neil.


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