Branch: Tag:

2006-02-28

2006-02-28 13:00:05 by Martin Stjernholm <mast@lysator.liu.se>

Workaround for overoptimization bug in (at least) gcc 4.0.2 20050808.

Rev: src/interpret.c:1.369

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: interpret.c,v 1.368 2006/02/27 12:07:10 mast Exp $ + || $Id: interpret.c,v 1.369 2006/02/28 13:00:05 mast Exp $   */      #include "global.h"
1440:    return 0;    }    +  /* This else is important to avoid an overoptimization bug in (at +  * least) gcc 4.0.2 20050808 which caused the address to be stored +  * in do_inter_return_label to be at the CALL_MACHINE_CODE below. */ +  else {    CALL_MACHINE_CODE(pc);       /* This code is never reached, but will
1449: Inside #if defined(PIKE_DEBUG)
  #ifdef PIKE_DEBUG    fprintf(stderr,"We have reached the end of the world!\n");   #endif +  }      #ifdef __GNUC__    goto *dummy_label;