This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Nonlocal gotos on s390
- From: Frank Heckenbach <frank at g-n-u dot de>
- To: GerhardTonn at gammatau dot de, weigand at i1 dot informatik dot uni-erlangen dot de, doko at cs dot tu-berlin dot de, hebisch at math dot uni dot wroc dot pl, krebbel1 at de dot ibm dot com, gcc at gcc dot gnu dot org
- Date: Mon, 29 Sep 2003 15:20:38 +0200
- Subject: Re: Nonlocal gotos on s390
- References: <200309282329.h8SNT1f14524@faui1g.informatik.uni-erlangen.de><3F781D48.9030606@gammatau.de>
> 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)