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 pr23046


On Mon, Sep 19, 2005 at 06:27:14AM -0400, Richard Kenner wrote:
> It's not clear it can always be a V_C_E because we only really define that
> when two types have the same size, but there's no requirement that a subtype
> have the same size as its base type, so the conversion between the two needs
> to be a regular conversion, not a V_C_E.

You'd V_C_E to a type with the same precision but with bounds not
narrowed beyond what the bits can hold.  If that's the base type,
fine, but something else if not.


r~


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