Index: rs6000.c =================================================================== RCS file: /home/ncvs/src/contrib/gcc/config/rs6000/rs6000.c,v retrieving revision 1.1.1.10 diff -u -r1.1.1.10 rs6000.c --- rs6000.c 28 Jul 2004 03:11:36 -0000 1.1.1.10 +++ rs6000.c 7 Jan 2005 13:07:14 -0000 @@ -3946,6 +3946,9 @@ && lookup_attribute ("longcall", TYPE_ATTRIBUTES (fntype)) && !lookup_attribute ("shortcall", TYPE_ATTRIBUTES (fntype))) cum->call_cookie = CALL_LONG; + else if (!fntype) + if (rs6000_default_long_calls) + cum->call_cookie = CALL_LONG; if (TARGET_DEBUG_ARG) {