This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: [3.3 branch] IA64 bootstrap failure
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 8 Jul 2003 23:19:13 -0400 (EDT)
- Subject: Re: PATCH: [3.3 branch] IA64 bootstrap failure
On Tue, 8 Jul 2003, H. J. Lu wrote:
> I am testing this patch now.
+int x [2] =
+{
+ __builtin_constant_p (10) ? 10 : -1,
All other issues aside, this part doesn't cause the intended
failure if __builtin_constant_p falsely returns false; it'll
just set that element to -1. You want two arrays or a
two-dimensional array, with those (negative or variable-indexed)
expressions in the []-parts.
brgds, H-P