This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fix pr23046
- From: Richard Henderson <rth at redhat dot com>
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 19 Sep 2005 11:09:21 -0700
- Subject: Re: [patch] Fix pr23046
- References: <10509191027.AA08266@vlsi1.ultra.nyu.edu>
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~