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: [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


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