Richard Kenner
053da6b50d
(convert_arguments): Truncate and reextend for PROMOTE_PROTOTYPES so
...
we can give error on overflow.
From-SVN: r7004
1994-04-09 09:39:42 -04:00
Richard Kenner
d5757bb45f
(STRUCT_VALUE{,_INCOMING,_REGNUM}): Redefine for calling conventions
...
of native cc.
From-SVN: r7003
1994-04-09 09:13:06 -04:00
Richard Kenner
351aa1c1a0
(reload_conflicts): Rewrite to clean up and fix numerous bugs; move to
...
later in file.
From-SVN: r7002
1994-04-09 09:09:59 -04:00
Richard Kenner
46b1c39385
(duplicate_decls): Put new type in same obstack as old ones, or
...
permanent is old ones in different obstacks.
From-SVN: r7001
1994-04-09 08:25:26 -04:00
Richard Kenner
34b1b41f3b
Fix typo in comment of last change.
...
From-SVN: r7000
1994-04-08 18:35:23 -04:00
Richard Kenner
e92d30482e
(fold, case GT_EXPR): Simplify X < (1 << Y) into X >> Y == 0.
...
From-SVN: r6999
1994-04-08 18:18:08 -04:00
Richard Kenner
69887ad921
Remove previous Berg change.
...
From-SVN: r6998
1994-04-08 18:08:42 -04:00
Ian Lance Taylor
e0bfcea5c9
Add support for -membedded-pic
...
From-SVN: r6997
1994-04-08 15:23:06 +00:00
Mike Stump
8926095fe7
31th Cygnus<->FSF merge.
...
From-SVN: r6996
1994-04-08 06:08:43 +00:00
Jim Wilson
779c643ac3
(emit_library_call_value): Move is_const set after ifdef.
...
From-SVN: r6995
1994-04-07 19:19:54 -07:00
Richard Kenner
e4493c0410
(expand_builtin, case BUILT_IN_NEXT_ARG): Test whether an argunment
...
has been passed to __builtin_next_arg; warn if not.
From-SVN: r6994
1994-04-06 21:33:57 -04:00
Jim Wilson
18e2b1c06e
(discard_comments): Replace comments with a single space.
...
From-SVN: r6993
1994-04-06 16:01:45 -07:00
Jim Wilson
1e0181030e
(USER_H): Add $(srcdir)/ before every ginclude use.
...
From-SVN: r6992
1994-04-06 15:52:58 -07:00
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