Nonlocal gotos on s390
Frank Heckenbach
frank@g-n-u.de
Mon Sep 29 14:37:00 GMT 2003
> The latest Debian gcc 3.3 version plus the nonlocal goto patch gives the
> results below. If this is okay I will commit the patch to the Debian gcc
> cvs.
That's fine.
For the one remaining failure (mir029el.pas), the following patch
should help (this one seems to occur on all targets). If you can
commit this too, it would be fine, but it's independent of the
nonlocal goto bug.
*** gcc/tree.c.orig Wed Aug 20 03:07:35 2003
--- gcc/tree.c Sat Sep 13 13:23:49 2003
***************
*** 4920,4925 ****
--- 4920,4929 ----
&& ! REAL_VALUE_MINUS_ZERO (TREE_REAL_CST (TREE_IMAGPART (init))));
case CONSTRUCTOR:
{
+ /* A set constructor `[0]' is not the same as `[]'. */
+ if (TREE_CODE (TREE_TYPE (init)) == SET_TYPE && TREE_OPERAND (init, 1))
+ return false;
+
if (AGGREGATE_TYPE_P (TREE_TYPE (init)))
{
tree aggr_init = TREE_OPERAND (init, 1);
Frank
--
Frank Heckenbach, frank@g-n-u.de
http://fjf.gnu.de/
GnuPG and PGP keys: http://fjf.gnu.de/plan (7977168E)
More information about the Gcc
mailing list