This is the mail archive of the gcc@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: Nonlocal gotos on s390


> 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)


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