------- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-13 19:36 ------- This also effects some C code too like:
int f(int (*fptr)(void)) { return fptr(); } int main(void) { int t; int g(void){ return t; } t = 2; f(&g); } Compile at -O0 and you will see that it fails too. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Component|ada |target GCC build triplet|hppa2.0w-hp-hpux11.23 | GCC host triplet|hppa2.0w-hp-hpux11.23 | Keywords| |build http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24355