Commit Graph

9315 Commits

Author SHA1 Message Date
Jason Merrill 28aaf32b33 Update SunOS 4 code
From-SVN: r9041
1995-02-23 01:23:53 +00:00
Richard Kenner 49be3a59ff Recognize NetBSD/Amiga as m68k-cbm-netbsd.
From-SVN: r9039
1995-02-22 19:08:39 -05:00
Richard Kenner bc314d533b (libgcc1.a): Run ranlib.
From-SVN: r9038
1995-02-22 19:06:57 -05:00
Richard Kenner e475ed2aec (memory_address): Add missing "else".
From-SVN: r9037
1995-02-22 18:46:44 -05:00
Richard Kenner 5bdc151289 (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
1995-02-22 18:26:54 -05:00
Richard Kenner 34dd383844 (SWITCH_TAKES_ARG): Add `x'.
(process_command): -Wl, -Xlinker, and -lm values always go to linker
even if -x was specified.

From-SVN: r9035
1995-02-22 17:37:01 -05:00
Jason Merrill 56c98e5b32 Support CLEANUP_POINT_EXPRs.
From-SVN: r9034
1995-02-22 17:35:09 +00:00
Richard Kenner a092957f96 (print_operand, case 'H', 'S'): Delete unused.
From-SVN: r9033
1995-02-22 08:53:51 -05:00
Richard Kenner 242e8072bb (ffssi2): Use gpc_reg_operand predicate.
(Some maskir patterns): Likewise.
(ffsdi2): Likewise.

From-SVN: r9032
1995-02-22 08:49:41 -05:00
Richard Kenner 94d7001a79 (movsfcc, movdfcc): New standard patterns.
(fselsfsf4, fseldfsf4, fseldfdf4, fselsfdf4): Name and create variants of
existing anonymous patterns for movsfcc and movdfcc.

From-SVN: r9031
1995-02-22 08:40:06 -05:00
Richard Kenner cb64953075 (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
1995-02-22 08:12:44 -05:00
Richard Kenner 57e1b65caa (output_move_double): Let split_double extract any constant in op 1;
take size from op 0.

From-SVN: r9029
1995-02-22 07:53:15 -05:00
Richard Kenner 5a1a6efdc8 (split_double): Handle CONST_INT that holds both words.
From-SVN: r9028
1995-02-22 07:52:50 -05:00
Richard Kenner 8c35bbc594 (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
1995-02-22 07:05:12 -05:00
Jeff Law 0ed5f250a1 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
1995-02-21 22:54:11 -07:00
Richard Kenner 278479ede5 (default_compilers): Remove rule for ".ada".
Pass .ads or .adb suffix to -dumpbase, depending on input filename.

From-SVN: r9025
1995-02-21 19:25:17 -05:00
Richard Kenner 30c7130834 Initial revision
From-SVN: r9024
1995-02-21 19:07:50 -05:00
Richard Kenner 8c4caa3de9 Added {} around file variable.
From-SVN: r9023
1995-02-21 19:02:59 -05:00
Richard Kenner 829bd124b1 (make_decl_rtl): Call MODIFY_ASSEMBLER_NAME if defined.
From-SVN: r9022
1995-02-21 19:00:04 -05:00
Richard Kenner 77cf75a8ef (union tree_decl): New field MACHINE_ATTRIBUTES.
(DECL_MACHINE_ATTRIBUTES): New macro.

From-SVN: r9021
1995-02-21 18:59:24 -05:00
Richard Kenner 1a2927d261 (chain_member_value, decl_attribute_variant): New functions.
(valid_machine_attribute): Moved here from c-common.c.

From-SVN: r9020
1995-02-21 18:58:27 -05:00
Richard Kenner 15f000972d (get_run_time): Return an approximate value for NT.
From-SVN: r9019
1995-02-21 18:57:45 -05:00
Richard Kenner d4bb0623b4 Added #ifdef's WINNT.
From-SVN: r9018
1995-02-21 18:57:15 -05:00
Richard Kenner 38d6864506 (print_node{,_brief}): Print machine attributes.
From-SVN: r9017
1995-02-21 18:56:31 -05:00
Richard Kenner c84b672ea9 (atexit): Prototype now works with NT.
From-SVN: r9016
1995-02-21 18:55:37 -05:00
Richard Kenner a2a8c03cad Test _SIZE_T_DEFINED and _WCHAR_T_DEFINED.
From-SVN: r9015
1995-02-21 18:53:57 -05:00
Richard Kenner c4f0e4979f Test _VA_LIST_DEFINED macro.
From-SVN: r9014
1995-02-21 18:53:15 -05:00
Richard Kenner 6ce3c2a19a (fix_argv): Rewrite.
From-SVN: r9013
1995-02-21 18:52:14 -05:00
Richard Kenner 3709124dc1 (atexit): Prototype now works with NT.
From-SVN: r9012
1995-02-21 18:49:31 -05:00
Richard Kenner 64e6d9cc49 (assign_parms): Added arg to RETURN_POPS_ARGS.
From-SVN: r9011
1995-02-21 18:48:03 -05:00
Douglas Rupp 1b65f56da2 drupp@cs.washington.edu
From-SVN: r9010
1995-02-21 18:46:55 -05:00
Douglas Rupp 7412329721 (cplus_decl_attribute): Add arg to decl_attributes.
From-SVN: r9009
1995-02-21 18:41:16 -05:00
Douglas Rupp 820b778a15 (decl_attributes): Added argument.
From-SVN: r9008
1995-02-21 18:40:53 -05:00
Douglas Rupp 743b8433b7 ($exeext, $objext, $oldobjext): New macros.
From-SVN: r9007
1995-02-21 18:39:19 -05:00
Douglas Rupp be81d4d77c Modify "ln" commands to try a "cp" if "ln" fails.
($exeext, $objext, $oldobjext): New macros.

From-SVN: r9006
1995-02-21 18:38:37 -05:00
Richard Kenner 1f12ca9d5b Take arg specifying msdos or winnt batch file config.
From-SVN: r9005
1995-02-21 18:33:40 -05:00
Richard Kenner 3c76970537 Reflect features/functions available in NT.
From-SVN: r9004
1995-02-21 18:30:53 -05:00
Richard Kenner eee1db092b (CPP_SPEC): Accept c++ style comments.
From-SVN: r9003
1995-02-21 18:30:05 -05:00
Richard Kenner 976ac3efa8 (expand_lib): Look for both libfoo.a and foo.lib.
Modified to support linking with Windows NT graphics libraries.

From-SVN: r9002
1995-02-21 18:29:02 -05:00
Richard Kenner f795fb5b74 Support NT Graphics programs; also bug fixes.
From-SVN: r9001
1995-02-21 18:23:48 -05:00
Richard Kenner bb5d01e5ac Updated to Windows NT 3.5.
From-SVN: r9000
1995-02-21 18:22:35 -05:00
Richard Kenner 8b109b37fc Added arg to RETURN_POPS_ARGS.
From-SVN: r8999
1995-02-21 18:21:14 -05:00
Richard Kenner 330e1b6be9 (main): Don't set "Include" environment variable for NT.
From-SVN: r8998
1995-02-21 18:01:08 -05:00
Richard Kenner 2c8da02578 (emit_call_1): Added function declaration node argument passed to
RETURN_POPS_ARGS; also effects calls to emit_call_1.

From-SVN: r8997
1995-02-21 17:59:56 -05:00
Richard Kenner 2a4f6a6151 (decl_attributes): Added argument.
From-SVN: r8996
1995-02-21 17:59:00 -05:00
Richard Kenner 347248143d New rules to allow attributes in a prefix position.
From-SVN: r8995
1995-02-21 17:58:19 -05:00
Richard Kenner 4b4e340710 (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
1995-02-21 17:56:58 -05:00
Richard Kenner 1228e2a6b2 (decl_attributes): Add third argument prefix_attributes.
(valid_machine_attribute): Deleted; moved to tree.c.

From-SVN: r8993
1995-02-21 17:55:41 -05:00
Richard Kenner 173712fb10 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
1995-02-21 17:54:50 -05:00
Jeff Law 535d0d1720 * integrate.c (finish_inline): Don't set DECL_INLINE.
From-SVN: r8991
1995-02-21 10:42:19 -07:00