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] |

*From*: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)*To*: richard dot guenther at gmail dot com*Cc*: ebotcazou at adacore dot com, gcc-patches at gcc dot gnu dot org, iant at google dot com, mark at codesourcery dot com, matz at suse dot de*Date*: Mon, 15 Oct 2007 07:05:57 EDT*Subject*: Re: [PATCH] Fix optimization regression in constant folder*References*: <200709171539.26653.ebotcazou@adacore.com> <10710120240.AA03734@vlsi1.ultra.nyu.edu> <m3wsttymh6.fsf@localhost.localdomain> <200710141225.08559.ebotcazou@adacore.com> <84fc9c000710140331t5b1bf94cr3a19b395c19faa22@mail.gmail.com> <m3bqb1r972.fsf@localhost.localdomain> <84fc9c000710140901x53b621cbhb453eb148925f6f9@mail.gmail.com> <10710150219.AA22477@vlsi1.ultra.nyu.edu> <84fc9c000710150159t3bd4ce17r22da65d88265982@mail.gmail.com>

> I don't see a reason that sizetype has to match size_t. I'm not sure I correctly remember what the original reason for that is, but the one that I'm aware of is this: it can't be smaller than size_t because then you can't represent all sizes that are valid in the language (which is what the range of size_t is supposed to mean). But if it's larger than size_t, you are doing run-time calculations in a wider mode and that's (usually) less efficient. Since it can't be smaller and shouldn't be wider, it has to be the same size.

**Follow-Ups**:**Re: [PATCH] Fix optimization regression in constant folder***From:*Richard Guenther

**References**:**Re: [PATCH] Fix optimization regression in constant folder***From:*Richard Kenner

**Re: [PATCH] Fix optimization regression in constant folder***From:*Ian Lance Taylor

**Re: [PATCH] Fix optimization regression in constant folder***From:*Eric Botcazou

**Re: [PATCH] Fix optimization regression in constant folder***From:*Richard Guenther

**Re: [PATCH] Fix optimization regression in constant folder***From:*Ian Lance Taylor

**Re: [PATCH] Fix optimization regression in constant folder***From:*Richard Guenther

**Re: [PATCH] Fix optimization regression in constant folder***From:*Richard Kenner

**Re: [PATCH] Fix optimization regression in constant folder***From:*Richard Guenther

Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|

Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |