Richard Kenner [Thu, 23 Feb 1995 11:50:00 +0000 (06:50 -0500)]
Fix formatting.
From-SVN: r9046
Jason Merrill [Thu, 23 Feb 1995 08:14:12 +0000 (08:14 +0000)]
Fix signed/unsigned comparison warning.
From-SVN: r9045
Richard Kenner [Thu, 23 Feb 1995 02:32:41 +0000 (21:32 -0500)]
(DBX_OUTPUT_MAIN_SOURCE_FILE_END): New macro.
From-SVN: r9044
Richard Kenner [Thu, 23 Feb 1995 01:28:17 +0000 (20:28 -0500)]
Removed __NetBSD__ from conditional.
Declare strerror if HAVE_STRERROR is defined; otherwise declare sys_errlist
and sys_nerr.
From-SVN: r9043
Richard Kenner [Thu, 23 Feb 1995 01:26:51 +0000 (20:26 -0500)]
Removed __NetBSD__ from conditional.
From-SVN: r9042
Jason Merrill [Thu, 23 Feb 1995 01:23:53 +0000 (01:23 +0000)]
Update SunOS 4 code
From-SVN: r9041
Richard Kenner [Thu, 23 Feb 1995 00:08:39 +0000 (19:08 -0500)]
Recognize NetBSD/Amiga as m68k-cbm-netbsd.
From-SVN: r9039
Richard Kenner [Thu, 23 Feb 1995 00:06:57 +0000 (19:06 -0500)]
(libgcc1.a): Run ranlib.
From-SVN: r9038
Richard Kenner [Wed, 22 Feb 1995 23:46:44 +0000 (18:46 -0500)]
(memory_address): Add missing "else".
From-SVN: r9037
Richard Kenner [Wed, 22 Feb 1995 23:26:54 +0000 (18:26 -0500)]
(enum sharp_token_type): New type.
(stringify, raw_before, raw_after): Use this type instead of char.
(collect_expansion, dump_single_macro): Keep track of white space
after # and around ## tokens, since the C Standard requires a
diagnostic if the white space doesn't match during a redefinition.
(sharp_token, sharp_sharp_token): Labels renamed from hash_token and
hash_hash_token for naming consistency.
From-SVN: r9036
Richard Kenner [Wed, 22 Feb 1995 22:37:01 +0000 (17:37 -0500)]
(SWITCH_TAKES_ARG): Add `x'.
(process_command): -Wl, -Xlinker, and -lm values always go to linker
even if -x was specified.
From-SVN: r9035
Jason Merrill [Wed, 22 Feb 1995 17:35:09 +0000 (17:35 +0000)]
Support CLEANUP_POINT_EXPRs.
From-SVN: r9034
Richard Kenner [Wed, 22 Feb 1995 13:53:51 +0000 (08:53 -0500)]
(print_operand, case 'H', 'S'): Delete unused.
From-SVN: r9033
Richard Kenner [Wed, 22 Feb 1995 13:49:41 +0000 (08:49 -0500)]
(ffssi2): Use gpc_reg_operand predicate.
(Some maskir patterns): Likewise.
(ffsdi2): Likewise.
From-SVN: r9032
Richard Kenner [Wed, 22 Feb 1995 13:40:06 +0000 (08:40 -0500)]
(movsfcc, movdfcc): New standard patterns.
(fselsfsf4, fseldfsf4, fseldfdf4, fselsfdf4): Name and create variants of
existing anonymous patterns for movsfcc and movdfcc.
From-SVN: r9031
Richard Kenner [Wed, 22 Feb 1995 13:12:44 +0000 (08:12 -0500)]
(output_asm_name): New function, using code taken from output_asm_insn.
(output_asm_insn): If flag_print_asm_name, print the comment after the
first assembler instruction even in multi-instruction templates.
From-SVN: r9030
Richard Kenner [Wed, 22 Feb 1995 12:53:15 +0000 (07:53 -0500)]
(output_move_double): Let split_double extract any constant in op 1;
take size from op 0.
From-SVN: r9029
Richard Kenner [Wed, 22 Feb 1995 12:52:50 +0000 (07:52 -0500)]
(split_double): Handle CONST_INT that holds both words.
From-SVN: r9028
Richard Kenner [Wed, 22 Feb 1995 12:05:12 +0000 (07:05 -0500)]
(REAL_WORDS_BIG_ENDIAN): New macro.
(REAL_WORDS_BIG_ENDIAN): New macro. Define as either
FLOAT_WORDS_BIG_ENDIAN or HOST_FLOAT_WORDS_BIG_ENDIAN. Use it instead
of FLOAT_WORDS_BIG_ENDIAN.
(m16m, edivm, emulm): Change `short' to `EMUSHORT', and `long' to `EMULONG'.
Clean up comments.
From-SVN: r9027
Jeff Law [Wed, 22 Feb 1995 05:54:11 +0000 (22:54 -0700)]
pa.h (ASM_DECLARE_FUNCTION_NAME): Handle invisible reference arguments passed in registers.
* pa.h (ASM_DECLARE_FUNCTION_NAME): Handle invisible reference
arguments passed in registers.
From-SVN: r9026
Richard Kenner [Wed, 22 Feb 1995 00:25:17 +0000 (19:25 -0500)]
(default_compilers): Remove rule for ".ada".
Pass .ads or .adb suffix to -dumpbase, depending on input filename.
From-SVN: r9025
Richard Kenner [Wed, 22 Feb 1995 00:07:50 +0000 (19:07 -0500)]
Initial revision
From-SVN: r9024
Richard Kenner [Wed, 22 Feb 1995 00:02:59 +0000 (19:02 -0500)]
Added {} around file variable.
From-SVN: r9023
Richard Kenner [Wed, 22 Feb 1995 00:00:04 +0000 (19:00 -0500)]
(make_decl_rtl): Call MODIFY_ASSEMBLER_NAME if defined.
From-SVN: r9022
Richard Kenner [Tue, 21 Feb 1995 23:59:24 +0000 (18:59 -0500)]
(union tree_decl): New field MACHINE_ATTRIBUTES.
(DECL_MACHINE_ATTRIBUTES): New macro.
From-SVN: r9021
Richard Kenner [Tue, 21 Feb 1995 23:58:27 +0000 (18:58 -0500)]
(chain_member_value, decl_attribute_variant): New functions.
(valid_machine_attribute): Moved here from c-common.c.
From-SVN: r9020
Richard Kenner [Tue, 21 Feb 1995 23:57:45 +0000 (18:57 -0500)]
(get_run_time): Return an approximate value for NT.
From-SVN: r9019
Richard Kenner [Tue, 21 Feb 1995 23:57:15 +0000 (18:57 -0500)]
Added #ifdef's WINNT.
From-SVN: r9018
Richard Kenner [Tue, 21 Feb 1995 23:56:31 +0000 (18:56 -0500)]
(print_node{,_brief}): Print machine attributes.
From-SVN: r9017
Richard Kenner [Tue, 21 Feb 1995 23:55:37 +0000 (18:55 -0500)]
(atexit): Prototype now works with NT.
From-SVN: r9016
Richard Kenner [Tue, 21 Feb 1995 23:53:57 +0000 (18:53 -0500)]
Test _SIZE_T_DEFINED and _WCHAR_T_DEFINED.
From-SVN: r9015
Richard Kenner [Tue, 21 Feb 1995 23:53:15 +0000 (18:53 -0500)]
Test _VA_LIST_DEFINED macro.
From-SVN: r9014
Richard Kenner [Tue, 21 Feb 1995 23:52:14 +0000 (18:52 -0500)]
(fix_argv): Rewrite.
From-SVN: r9013
Richard Kenner [Tue, 21 Feb 1995 23:49:31 +0000 (18:49 -0500)]
(atexit): Prototype now works with NT.
From-SVN: r9012
Richard Kenner [Tue, 21 Feb 1995 23:48:03 +0000 (18:48 -0500)]
(assign_parms): Added arg to RETURN_POPS_ARGS.
From-SVN: r9011
Douglas Rupp [Tue, 21 Feb 1995 23:46:55 +0000 (18:46 -0500)]
drupp@cs.washington.edu
From-SVN: r9010
Douglas Rupp [Tue, 21 Feb 1995 23:41:16 +0000 (18:41 -0500)]
(cplus_decl_attribute): Add arg to decl_attributes.
From-SVN: r9009
Douglas Rupp [Tue, 21 Feb 1995 23:40:53 +0000 (18:40 -0500)]
(decl_attributes): Added argument.
From-SVN: r9008
Douglas Rupp [Tue, 21 Feb 1995 23:39:19 +0000 (18:39 -0500)]
($exeext, $objext, $oldobjext): New macros.
From-SVN: r9007
Douglas Rupp [Tue, 21 Feb 1995 23:38:37 +0000 (18:38 -0500)]
Modify "ln" commands to try a "cp" if "ln" fails.
($exeext, $objext, $oldobjext): New macros.
From-SVN: r9006
Richard Kenner [Tue, 21 Feb 1995 23:33:40 +0000 (18:33 -0500)]
Take arg specifying msdos or winnt batch file config.
From-SVN: r9005
Richard Kenner [Tue, 21 Feb 1995 23:30:53 +0000 (18:30 -0500)]
Reflect features/functions available in NT.
From-SVN: r9004
Richard Kenner [Tue, 21 Feb 1995 23:30:05 +0000 (18:30 -0500)]
(CPP_SPEC): Accept c++ style comments.
From-SVN: r9003
Richard Kenner [Tue, 21 Feb 1995 23:29:02 +0000 (18:29 -0500)]
(expand_lib): Look for both libfoo.a and foo.lib.
Modified to support linking with Windows NT graphics libraries.
From-SVN: r9002
Richard Kenner [Tue, 21 Feb 1995 23:23:48 +0000 (18:23 -0500)]
Support NT Graphics programs; also bug fixes.
From-SVN: r9001
Richard Kenner [Tue, 21 Feb 1995 23:22:35 +0000 (18:22 -0500)]
Updated to Windows NT 3.5.
From-SVN: r9000
Richard Kenner [Tue, 21 Feb 1995 23:21:14 +0000 (18:21 -0500)]
Added arg to RETURN_POPS_ARGS.
From-SVN: r8999
Richard Kenner [Tue, 21 Feb 1995 23:01:08 +0000 (18:01 -0500)]
(main): Don't set "Include" environment variable for NT.
From-SVN: r8998
Richard Kenner [Tue, 21 Feb 1995 22:59:56 +0000 (17:59 -0500)]
(emit_call_1): Added function declaration node argument passed to
RETURN_POPS_ARGS; also effects calls to emit_call_1.
From-SVN: r8997
Richard Kenner [Tue, 21 Feb 1995 22:59:00 +0000 (17:59 -0500)]
(decl_attributes): Added argument.
From-SVN: r8996
Richard Kenner [Tue, 21 Feb 1995 22:58:19 +0000 (17:58 -0500)]
New rules to allow attributes in a prefix position.
From-SVN: r8995
Richard Kenner [Tue, 21 Feb 1995 22:56:58 +0000 (17:56 -0500)]
(grokdeclarator): Added code to support machine attributes.
(duplicate_decls): Pass DECL_MACHINE_ATTRIBUTES to descendent typedef;
make duplicate typedefs that are identical generate a warning if they
are both in system header files.
(redeclaration_error_message): Make duplicate typedefs that are
identical not an error if they are both in system header files.
From-SVN: r8994
Richard Kenner [Tue, 21 Feb 1995 22:55:41 +0000 (17:55 -0500)]
(decl_attributes): Add third argument prefix_attributes.
(valid_machine_attribute): Deleted; moved to tree.c.
From-SVN: r8993
Richard Kenner [Tue, 21 Feb 1995 22:54:50 +0000 (17:54 -0500)]
Copy config.status to config.run and then execute.
Modify "ln" commands to try a "cp" if "ln" fails.
($exeext, $objext, $oldobjext): New macros.
From-SVN: r8992
Jeff Law [Tue, 21 Feb 1995 17:42:19 +0000 (10:42 -0700)]
* integrate.c (finish_inline): Don't set DECL_INLINE.
From-SVN: r8991
Jeff Law [Tue, 21 Feb 1995 17:41:05 +0000 (10:41 -0700)]
local-alloc.c (block_alloc): Stop looping over the input operands once we find an input/output register pair...
* local-alloc.c (block_alloc): Stop looping over the input
operands once we find an input/output register pair which can
be combined into a single qty.
From-SVN: r8990
Michael Meissner [Tue, 21 Feb 1995 15:21:51 +0000 (15:21 +0000)]
Fix bad patch
From-SVN: r8989
Doug Evans [Tue, 21 Feb 1995 15:09:36 +0000 (15:09 +0000)]
(OVERRIDE_OPTIONS): Add missing ';' to SUBTARGET_OVERRIDE_OPTIONS.
From-SVN: r8988
Richard Kenner [Tue, 21 Feb 1995 13:15:01 +0000 (08:15 -0500)]
Initial revision
From-SVN: r8987
Richard Kenner [Tue, 21 Feb 1995 12:30:00 +0000 (07:30 -0500)]
(REAL_ARITHMETIC): Define.
From-SVN: r8986
Richard Kenner [Tue, 21 Feb 1995 12:29:42 +0000 (07:29 -0500)]
(output_toc): Use REAL_VALUE_* macros.
From-SVN: r8985
Richard Kenner [Tue, 21 Feb 1995 11:48:19 +0000 (06:48 -0500)]
(expand_value_return): Make function static.
From-SVN: r8984
Richard Kenner [Tue, 21 Feb 1995 11:42:06 +0000 (06:42 -0500)]
(rescan): Add support for %: and %:%: digraphs.
(collect_expansion, skip_if_group, dump_single_macro): Likewise.
(union hashval): Remove ival member; it doesn't suffice for `199409L'.
(special_symbol): Use cpval instead of ival for T_CONST macros.
(install): Remove ivalue argument, since string value now suffices.
All callers changed.
(initialize_builtins): Switch from int to string values for T_CONST.
If not traditional, initialize __STDC_VERSION__ to 199409L.
(STDC_VALUE): Remove no-longer-used configuration macro.
From-SVN: r8983
Richard Kenner [Tue, 21 Feb 1995 11:41:31 +0000 (06:41 -0500)]
(yylex): Add support for <: :> <% %> digraphs.
From-SVN: r8982
Richard Kenner [Tue, 21 Feb 1995 11:39:40 +0000 (06:39 -0500)]
(USER_H): Add iso646.h.
From-SVN: r8981
Richard Kenner [Tue, 21 Feb 1995 11:16:29 +0000 (06:16 -0500)]
(yylex): For float, build constant in long double.
From-SVN: r8980
Richard Kenner [Tue, 21 Feb 1995 11:16:06 +0000 (06:16 -0500)]
(read_specs): Use length read when inserting zero.
From-SVN: r8979
Richard Kenner [Tue, 21 Feb 1995 11:04:21 +0000 (06:04 -0500)]
(lang_options): Add options for Fortran.
From-SVN: r8978
Richard Kenner [Tue, 21 Feb 1995 10:57:30 +0000 (05:57 -0500)]
(default_compilers): Add entries for .f and .F.
From-SVN: r8977
Richard Kenner [Tue, 21 Feb 1995 10:37:13 +0000 (05:37 -0500)]
(check_newline): Give warning if unrecognized data on #line.
(yylex): Give error for unterminated string constant.
From-SVN: r8976
Richard Kenner [Tue, 21 Feb 1995 10:36:34 +0000 (05:36 -0500)]
(compile_file): Initialize input_file_stack before calling lang_init,
not after.
From-SVN: r8975
Per Bothner [Tue, 21 Feb 1995 00:41:08 +0000 (16:41 -0800)]
varasm.c (output_constant): Strip NOP_EXPRs for SET_TYPE too, by using AGGREGATE_TYPE_P macro.
* varasm.c (output_constant): Strip NOP_EXPRs for SET_TYPE too,
by using AGGREGATE_TYPE_P macro.
From-SVN: r8974
Per Bothner [Tue, 21 Feb 1995 00:40:44 +0000 (16:40 -0800)]
* config/svr4.h (ASM_OUTPUT_SOURCE_LINE): Use assemble_name.
From-SVN: r8973
Doug Evans [Mon, 20 Feb 1995 20:25:48 +0000 (20:25 +0000)]
(sun4sol2): Alias for sparc-sun-solaris2.
From-SVN: r8972
Mike Stump [Sat, 18 Feb 1995 22:06:40 +0000 (22:06 +0000)]
57 Cygnus<->FSF merge
From-SVN: r8971
Mike Stump [Sat, 18 Feb 1995 21:05:17 +0000 (21:05 +0000)]
rs6000 exception handling support
From-SVN: r8970
Mike Stump [Sat, 18 Feb 1995 20:52:11 +0000 (20:52 +0000)]
tweak __unwind_function for bsdi
From-SVN: r8969
Doug Evans [Sat, 18 Feb 1995 18:54:34 +0000 (18:54 +0000)]
(output_constructor): Fix typo byte_size -> size.
From-SVN: r8968
Doug Evans [Sat, 18 Feb 1995 18:53:51 +0000 (18:53 +0000)]
(get_set_constructor_bytes): Fix prototype.
From-SVN: r8967
Doug Evans [Sat, 18 Feb 1995 17:35:43 +0000 (17:35 +0000)]
Initial revision
From-SVN: r8966
Doug Evans [Sat, 18 Feb 1995 17:33:02 +0000 (17:33 +0000)]
rs6000.h (SUBTARGET_OVERRIDE_OPTIONS): Define.
* rs6000/rs6000.h (SUBTARGET_OVERRIDE_OPTIONS): Define.
(OVERRIDE_OPTIONS): Call it.
From-SVN: r8965
Doug Evans [Sat, 18 Feb 1995 17:26:23 +0000 (17:26 +0000)]
lynx.h (FUNCTION_VALUE): Redefine.
* m68k/lynx.h (FUNCTION_VALUE): Redefine.
(LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P, NEEDS_UNTYPED_CALL): Likewise.
From-SVN: r8964
Doug Evans [Sat, 18 Feb 1995 17:21:20 +0000 (17:21 +0000)]
t-i386bare (LIBGCC1): Define to empty instead of libgcc1.null.
* i386/t-i386bare (LIBGCC1): Define to empty instead of libgcc1.null.
(CROSS_LIBGCC1): Likewise.
From-SVN: r8963
Doug Evans [Sat, 18 Feb 1995 17:20:28 +0000 (17:20 +0000)]
xm-lynx.h (HOST_BITS_PER_CHAR): Delete.
* config/xm-lynx.h (HOST_BITS_PER_CHAR): Delete.
(HOST_BITS_PER_{SHORT,INT,LONG,LONGLONG}): Likewise.
(mktemp): Provide our own, lynx's definition isn't standard.
From-SVN: r8962
Doug Evans [Sat, 18 Feb 1995 17:19:55 +0000 (17:19 +0000)]
lynx.h (LIB_SPEC, [...]): Update to LynxOS 2.2.2.
* config/lynx.h (LIB_SPEC, STARTFILE_SPEC): Update to LynxOS 2.2.2.
(FUNCTION_PROFILE): Undef.
From-SVN: r8961
Doug Evans [Sat, 18 Feb 1995 17:18:21 +0000 (17:18 +0000)]
Recognize lynx* as lynxos.
From-SVN: r8960
Ian Lance Taylor [Thu, 16 Feb 1995 22:01:16 +0000 (22:01 +0000)]
Add r4650 functional units and r4650 mul instruction
From-SVN: r8959
Michael Meissner [Thu, 16 Feb 1995 16:49:44 +0000 (16:49 +0000)]
Add -m{,no-}strict-align support.
From-SVN: r8958
Mike Stump [Thu, 16 Feb 1995 15:24:37 +0000 (15:24 +0000)]
56th Cygnus<->FSF merge
From-SVN: r8957
Richard Kenner [Wed, 15 Feb 1995 18:03:30 +0000 (13:03 -0500)]
Repair botch in application of patch.
From-SVN: r8956
Per Bothner [Wed, 15 Feb 1995 06:41:25 +0000 (22:41 -0800)]
varasm.c (const_hash): Add support for SET_TYPE constructors.
* varasm.c (const_hash): Add support for SET_TYPE constructors.
(record_constant_1), (copy_constant): Likewise.
(output_constant): Likewise. (Also SET_TYPE INTEGER_CSTs.)
From-SVN: r8955
Per Bothner [Wed, 15 Feb 1995 06:40:27 +0000 (22:40 -0800)]
* expr.c (store_constructor): Don't use get_set_constructor_words.
From-SVN: r8954
Per Bothner [Wed, 15 Feb 1995 06:40:11 +0000 (22:40 -0800)]
* tree.h: get_set_constructor_words -> get_set_constructor_bytes.
From-SVN: r8953
Per Bothner [Wed, 15 Feb 1995 06:39:19 +0000 (22:39 -0800)]
tree.c (get_set_constructor_bytes): New function. Replaces ...
(get_set_constructor_words): ... removed old function.
From-SVN: r8952
Richard Kenner [Tue, 14 Feb 1995 13:04:52 +0000 (08:04 -0500)]
(stabilize_reference_1): No longer static.
From-SVN: r8951
Richard Kenner [Tue, 14 Feb 1995 13:04:23 +0000 (08:04 -0500)]
(stabilize_reference_1): Add declaration.
From-SVN: r8950
Roland McGrath [Tue, 14 Feb 1995 00:40:16 +0000 (00:40 +0000)]
Written to use ELF object format.
From-SVN: r8949
Roland McGrath [Tue, 14 Feb 1995 00:38:07 +0000 (00:38 +0000)]
(GNU_CPP_PREDEFINES): New macro.
From-SVN: r8948
Roland McGrath [Tue, 14 Feb 1995 00:37:09 +0000 (00:37 +0000)]
(CPP_PREDEFINES): Use GNU_CPP_PREDEFINES macro.
From-SVN: r8947
Doug Evans [Mon, 13 Feb 1995 23:22:38 +0000 (23:22 +0000)]
(exit): Don't call __do_global_dtors if
INIT_SECTION_ASM_OP and OBJECT_FORMAT_ELF.
From-SVN: r8946