This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: A patch for g77.f-torture/compile/980424-0.f
- To: hjl at lucon dot org (H.J. Lu)
- Subject: Re: A patch for g77.f-torture/compile/980424-0.f
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 01 Jun 1998 08:56:07 -0600
- cc: burley at gnu dot org, egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <m0ygVNw-000268C@ocean.lucon.org>you write:
> Here is my new patch. Basically, only constant 0 may have the same
> bit representation for INT, FLOAT and COMPLEX. Anything else is a bug.
> But it is incorrect on machine where constant 0 has different bit
> representation for INT, FLOAT and COMPLEX. But gcc should know which
> machine does that. We can add
Your patch is wrong. Any attempt to special case const0, const1, etc
is wrong in this hunk of code. Period. This is a generic problem
and must be solved with a more general solution.
I believe I know how to fix this correctly, but I want to run it by
someone first.
jeff