2006-02-28
2006-02-28 13:00:05 by Martin Stjernholm <mast@lysator.liu.se>
-
09fca81b6b8b1980a99a368f38bf67d5ca8cdad1
(18 lines)
(+12/-6)
[
Show
| Annotate
]
Branch: 7.9
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;