This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch,middle-end] Fix problem with constant doubles in emit_group_load_1
- From: "Diego Novillo" <dnovillo at google dot com>
- To: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>, "Ian Lance Taylor" <iant at google dot com>, "Richard Guenther" <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 26 Sep 2007 13:26:04 -0400
- Subject: Re: [patch,middle-end] Fix problem with constant doubles in emit_group_load_1
- References: <200709250049.l8P0nXUh021994@hiauly1>
On 9/24/07, John David Anglin <dave@hiauly1.hia.nrc.ca> wrote:
> 2007-09-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
>
> PR middle-end/33436
> * expr.c (emit_group_load_1): Split constant double when destination
> length is half source length.
I'm wondering whether this shouldn't be handled in the backend itself?
How do other backends handle cases where constants do not fit their
widest type?
I haven't been in this area for a while, so your patch may make better
sense than forcing the backend to split the constant. Ian? Richard?
Thanks.