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] Fix optimization regression in constant folder


On 10/15/07, Richard Kenner <kenner@vlsi1.ultra.nyu.edu> wrote:
> > Still I don't like at all that sizetype is a frontend-specific type.
>
> Why?  It has to be.  It needs to match the signedness and precision of
> size_t and figuring out what that is doesn't seem something that the
> middle end should take over from the C front end.
>
> More fundamentally, knowing what the valid range of sizes valid for types
> is more a *language* issue, which only the front end can know about,
> than one based on modes and sizes that are defined for the middle end.

I don't see a reason that sizetype has to match size_t.

Richard.


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