gimplify.c - missing tree codes

Ian Lance Taylor iant@google.com
Sat Mar 6 00:26:00 GMT 2010


Steve Teale <steve.teale@britseyeview.com> writes:

> In 4.3.4,the switch in function gimplify_expr(...) included:
>
>
> 	case STATIC_CHAIN_EXPR:
> 	  /* The argument is used as information only.  No need to
> 	     gimplify */
> 	case STATIC_CHAIN_DECL:  
> 	  ret = GS_ALL_DONE;
> 	  break;
>
> 4.4.3 does not mention these codes, so any front end that generates them
> fails at a later catch-all with an Internal compiler error.
>
> What was the rationale for removing them? Is it a big deal to put them
> back?

I can't see any reference to STATIC_CHAIN_EXPR or STATIC_CHAIN_DECL in
any gcc versions from 4.2 on.  Nor can I find that specific code.
Could this be a local patch in your gcc 4.3.4?

Ian



More information about the Gcc-help mailing list