Commit Graph

7078 Commits

Author SHA1 Message Date
Jim Wilson d61bee9595 (emit_library_call_value): New variable is_const.
(emit_library_call_value): New variable is_const.  Clear
it for functions that return an aggregate in memory.

From-SVN: r6991
1994-04-06 15:50:58 -07:00
Per Bothner 151f13beab Add -f[no-]vtable-thunks (for C++).
From-SVN: r6990
1994-04-06 14:25:11 -07:00
Jim Wilson 7e44eda6c2 (finish_decl): Correct typo in use of tree_int_cst_sgn.
From-SVN: r6989
1994-04-06 12:35:10 -07:00
Richard Kenner 3797f4d4d4 Add define_split to simplify "(unsigned) x > 0xffffff".
From-SVN: r6988
1994-04-06 08:46:56 -04:00
Richard Kenner bc97bfd804 Add ... to set current_function_varargs.
From-SVN: r6987
1994-04-06 07:51:24 -04:00
Richard Kenner 5d3fe1fed2 (function_cannot_inline_p): Use current_function_varargs.
From-SVN: r6986
1994-04-06 07:50:07 -04:00
Richard Kenner 91ab952c02 (struct function): New field for current_function_varargs.
From-SVN: r6985
1994-04-06 07:49:37 -04:00
Richard Kenner 17bbab26bb (expand_builtin): Allow builtin_next_arg for varargs functions as
well.

From-SVN: r6984
1994-04-06 07:48:06 -04:00
Richard Kenner 3b69d50e4d (push_function_context): Use current_function_varargs.
(pop_function_context): Likewise.
(assign_parms): Respect current_function_varargs.
Save args_so_far in any case.

From-SVN: r6983
1994-04-06 07:47:24 -04:00
Richard Kenner 4200c8de09 (lang_options): Group and alphabetize some options.
From-SVN: r6982
1994-04-06 07:39:36 -04:00
Richard Kenner 1474fe4665 (warn_missing_declarations): New variable.
(c_decode_option): -Wmissing-declarations.
(start_function): Actually do the checking.

From-SVN: r6981
1994-04-06 07:31:44 -04:00
Richard Kenner 812fe08e5a (lang_options): Add -Wmissing-declarations.
From-SVN: r6980
1994-04-06 07:31:08 -04:00
Richard Kenner f0c51a1e34 (expand_function_start): Delay copying static chain.
From-SVN: r6979
1994-04-06 07:21:12 -04:00
Richard Kenner 8b0f91011f (emit_library_call): Move the invocation of prepare_call_address before the assignments of the function arguments.
(emit_library_call): Move the invocation of prepare_call_address before the
assignments of the function arguments.
(emit_library_call_value): Likewise.

From-SVN: r6978
1994-04-06 07:14:17 -04:00
Richard Kenner 1923e516f4 (mark_target_live_regs): Avoid #ifdef HARD_REG_SET.
From-SVN: r6977
1994-04-06 07:09:32 -04:00
Richard Kenner ce940f3d1f (block_alloc): Avoid #ifdef HARD_REG_SET.
From-SVN: r6976
1994-04-06 07:08:16 -04:00
Richard Kenner 22d656b074 (global_conflicts): Avoid #ifdef HARD_REG_SET.
From-SVN: r6975
1994-04-06 07:07:48 -04:00
Richard Kenner 54bd7fd4f6 Avoid #ifdef HARD_REG_SET.
From-SVN: r6974
1994-04-06 07:07:02 -04:00
Richard Kenner b0ceea8c6d (DEBUG_PRINT_REG): Fix printing of coprocessor regs in QImode.
From-SVN: r6973
1994-04-06 07:03:07 -04:00
Richard Kenner e9de0fec0f Round to multiple of sizeof(short) on sysV68.
From-SVN: r6972
1994-04-06 06:51:28 -04:00
Richard Kenner a9d8c4de57 (update_headers): Copy stStatic symbols from the old local symbol table to the...
(update_headers): Copy stStatic symbols from the old local symbol
table to the new local symbol table if they did not get added via
debugging psuedo ops.

From-SVN: r6971
1994-04-06 06:42:38 -04:00
Richard Kenner 2d0933a252 (output_function_prologue): pea/move: Fix typos.
asm_fprintf("add%.[wl] ...): Undo previous change.

From-SVN: r6970
1994-04-06 06:35:56 -04:00
Doug Evans a78a8d589e (process_command): Minor white space cleanups to last patch.
From-SVN: r6969
1994-04-06 00:07:56 +00:00
Doug Evans ea694f2d44 (process_command): Add "include" prefix for [blah/]stageN.
From-SVN: r6968
1994-04-06 00:04:56 +00:00
Jeff Law 5625b0521d pa-ghiux.h (LIB_SPEC): Link in /usr/lib/end.o
* pa-ghiux.h (LIB_SPEC): Link in /usr/lib/end.o
        * pa-ghpux.h, pa-hiux.h, pa-hpux.h (LIB_SPEC): Likewise.

From-SVN: r6967
1994-04-04 23:21:29 -06:00
Jim Wilson 9f27ca8bff (sdbout_begin_block): Don't output block for function level scope unless MIPS_DEBUGGING_INFO is defined.
(sdbout_begin_block): Don't output block for function
level scope unless MIPS_DEBUGGING_INFO is defined.
(sdbout_end_block): Likewise.  Add new parameter n for the block
number.

From-SVN: r6966
1994-04-04 14:39:19 -07:00
Jim Wilson bdbc824c46 (final_scan_insn): Pass new arg, block num, to sdbout_end_block.
From-SVN: r6965
1994-04-04 14:38:54 -07:00
Jim Wilson 0dd532dced (expand_call): If PCC_STATIC_STRUCT_RETURN defined, mark
function as addressable same time as we clear is_integrable.

From-SVN: r6964
1994-04-04 14:36:19 -07:00
Jason Merrill 2babb33b57 scan-types.sh: Use __WCHAR_TYPE__, __PTRDIFF_TYPE__, and __SIZE_TYPE__.
* scan-types.sh: Use __WCHAR_TYPE__, __PTRDIFF_TYPE__, and
        __SIZE_TYPE__.  Still deduce size_t so that it can be used for
        ssize_t if necessary.

From-SVN: r6963
1994-04-04 21:21:02 +00:00
Jason Merrill 3ff2f6ea9b * gstddef.h (wchar_t): Always define as __WCHAR_TYPE__.
From-SVN: r6962
1994-04-04 21:21:02 +00:00
Jason Merrill cf78b2a7bc Undefine __*_TYPE when preprocessing fixtmp.c
From-SVN: r6961
1994-04-04 21:21:02 +00:00
Jason Merrill 6c8ceeae0e fixincludes: Fix ptrdiff_t and wchar_t in system headers like we do size_t.
* fixincludes: Fix ptrdiff_t and wchar_t in system headers like we
        do size_t.

From-SVN: r6960
1994-04-04 21:21:02 +00:00
Jason Merrill f98e603e09 cccp.c (special_symbol, [...]): Output "__wchar_t" for C++.
* cccp.c (special_symbol, case T_WCHAR_TYPE): Output "__wchar_t"
        for C++.

From-SVN: r6959
1994-04-04 21:21:02 +00:00
Michael Meissner 4563275aa6 Correct -fpic ELF -pg code
From-SVN: r6958
1994-04-02 13:15:24 +00:00
Jason Merrill b6083bc9f8 Add missing fns to required list for string.h
From-SVN: r6957
1994-04-01 22:36:00 +00:00
Jim Wilson 6b98c8f4db Modify all uses of __attribute__ mode to use new syntax.
From-SVN: r6956
1994-04-01 09:06:56 -08:00
Jim Wilson eea77e5fef (USER_H): Files in ginclude now. Add stdarg.h,
stddef.h, varargs.h.
(all.cross, rest.encap): Move LIBGCC after stmp-headers.  Add
objc-runtime, and SYSCALLS.c.X.
(for-bootstrap): Delete.
(OBJC, OBJECTIVE-C): Delete objc-runtime.
(proto): Delete SYSCALLS.c.X.
(*.o): Delete gvarargs.h dependencies.
(stmp-int-hdrs): Delete gvarargs.h, gstdarg.h, gstddef.h deps, and
code to copy them.

From-SVN: r6955
1994-03-31 22:19:45 -08:00
Jeff Law 2822d96ec1 pa.h (ASM_OUTPUT_LABEL): TARGET_GAS no longer needs trailing colons.
* pa.h (ASM_OUTPUT_LABEL): TARGET_GAS no longer needs trailing colons.
        (ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_COMMON): Likewise.

        * pa.h (TARGET_PORTABLE_RUNTIME): Define.
        (TARGET_SWITCHES): Add -mportable-runtime and -mno-portable-runtime.
        (CUMULATIVE_ARGS): Now a "struct hppa_args" rathern than an int.
        All references changed.
        (INIT_CUMULATIVE_ARGS): Also initialize nargs_prototype.
        (INIT_CUMULATIVE_INCOMING_ARGS): Define.
        (FUNCTION_ARG_ADVANCE): Decrement nargs_prototype for each arg seen.
        (FUNCTION_ARG): Handle TARGET_PORTABLE_RUNTIME.
        (ASM_DECLARE_FUNCTION_NAME): Explicitly disallow argument relocations
        for TARGET_PORTABLE_RUNTIME.
        (ASM_OUTPUT_INT): Do not use a P% prefix for function references
        if TARGET_PORTABLE_RUNTIME.

        * pa.md (high and lo_sum for function addresses): Provide alternate
        definitions for TARGET_PORTABLE_RUNTIME.

        * pa.c (output_arg_descriptor): Explicitly disallow argument
        relocations for TARGET_PORTABLE_RUNTIME.

From-SVN: r6954
1994-03-31 23:09:25 -07:00
Jim Wilson 7848c2783d Modify comments that refer to gvarargs.h and gstddef.h.
From-SVN: r6953
1994-03-31 21:59:59 -08:00
Jim Wilson 5560c9b3d7 Modify comment referring to gvarargs.h.
From-SVN: r6952
1994-03-31 21:58:23 -08:00
Jim Wilson 6bf56493b8 (libgcc2.a, stdarg.h): Delete rules.
From-SVN: r6951
1994-03-31 21:56:20 -08:00
Jim Wilson 9cfda00055 (CPP_PREDEFINES): Update GCC_NEW_VARARGS comment.
From-SVN: r6950
1994-03-31 21:54:43 -08:00
Jim Wilson 39d05dae1b (pcfinclude): Modify comment referring to gstddef.h.
From-SVN: r6949
1994-03-31 21:52:18 -08:00
Jim Wilson d2a1b32f57 Delete use of IN_GCC to control stddef.h/gstddef.h include.
From-SVN: r6948
1994-03-31 21:50:23 -08:00
Jim Wilson dd96f41cc7 Change "gstddef.h" to <stddef.h>.
From-SVN: r6947
1994-03-31 21:45:49 -08:00
Jim Wilson cbd40acb39 Change "gstddef.h" to <stddef.h>. Change "gstdarg.h" to <stdarg.h>.
From-SVN: r6946
1994-03-31 21:44:11 -08:00
Jim Wilson c2ab36e655 Change "gstddef.h" to <stddef.h>. Change "gstdarg.h" to <stdarg.h>.
From-SVN: r6945
1994-03-31 21:33:24 -08:00
Jim Wilson cb55fc67b7 Change "gstdarg.h" to <stdarg.h>.
From-SVN: r6944
1994-03-31 21:31:21 -08:00
Jim Wilson 8717efcef1 Change "gstddef.h" to <stddef.h>.
From-SVN: r6943
1994-03-31 21:28:27 -08:00
Jim Wilson f62a12d07d Change "gstdarg.h" to <stdarg.h> and "gvarargs.h" to <varargs.h>.
From-SVN: r6942
1994-03-31 21:25:31 -08:00