Commit Graph

12437 Commits

Author SHA1 Message Date
Doug Evans
ad9e9cfb39 cygwin32.h (CPP_PREDEFINES): Define _WIN32, not WIN32.
* i386/cygwin32.h (CPP_PREDEFINES): Define _WIN32, not WIN32.
	Define only __CYGWIN32__, not CYGWIN32 or __CYGWIN32.
	* rs6000/cygwin32.h (CPP_PREDEFINES): Likewise.

From-SVN: r12653
1996-08-18 01:35:50 +00:00
Doug Evans
b8a8c83b10 gcc.c: Change ifndef _WIN32 to ifndef NO_SYS_FILE_H when...
* gcc.c: Change ifndef _WIN32 to ifndef NO_SYS_FILE_H when deciding
	whether to include sys/file.h.
	(execute): -pipe is supported for cygwin32.

From-SVN: r12652
1996-08-18 01:32:53 +00:00
Doug Evans
1143a698bd stdarg.h: Change __WIN32__ to _WIN32.
* ginclude/stdarg.h: Change __WIN32__ to _WIN32.
	* ginclude/varargs.h: Likewise.
	* ginclude/va-ppc.h: Likewise.

From-SVN: r12651
1996-08-18 01:31:48 +00:00
Doug Evans
7b004ab55f protoize.c: Update test for win32 (&& ! cygwin32).
* protoize.c: Update test for win32 (&& ! cygwin32).
	(kill): Delete decl.

From-SVN: r12650
1996-08-18 01:29:32 +00:00
Doug Evans
876ac40dfc * toplev.c: Update test for win32 (&& ! cygwin32).
From-SVN: r12649
1996-08-18 01:27:54 +00:00
Michael Meissner
da39823a4c Make -fpic work with -O3
From-SVN: r12648
1996-08-16 20:14:24 +00:00
Stan Cox
c8babb3977 Remove CLASS_LIKELY_SPILLED_P
Remove CLASS_LIKELY_SPILLED_P
(STARTFILE_SPEC): Insert crtbegin.o in correct place, and correctversions of values-X?.o
(SWITCH_TAKES_ARG): Extend DEFAULT_SWITCH_TAKES_ARG, not replace.
(CPP_SPEC): Add -Di386, and correctly include extra directories.
Define HAVE_ATEXIT in ELF mode for global destructors.

From-SVN: r12647
1996-08-16 20:09:49 +00:00
Mike Stump
843e83356c libgcc2.c (__throw): New routine.
* libgcc2.c (__throw): New routine.
        (__eh_pc): New data object for exception handling.

        * except.c (eh_saved_pc): New object so we can call
        assemble_external.
        (expand_internal_throw_indirect): Call assemble_external for
        __eh_pc.
        (end_eh_unwinder): Ditto.
        (init_eh): Initialize eh_saved_pc.
fixes eh6.C on rs6000 and alpha

From-SVN: r12646
1996-08-16 00:52:06 +00:00
Mike Stump
6a5d752611 * arm.h (RETURN_ADDR_RTX): Define.
From-SVN: r12645
1996-08-15 20:00:54 +00:00
Mike Stump
75bb87ea21 * expr.c (expand_builtin_return_addr): Fix order of parameters.
From-SVN: r12644
1996-08-15 19:59:00 +00:00
Doug Evans
5ab7138b86 sparc.c (label_ref_operand): New function.
* sparc/sparc.c (label_ref_operand): New function.
	(emit_move_sequence): Pass label_ref to gen_move_label_di to not
	lose flags.
	* sparc/sparc.md (move_label_di): Operand one is label_ref now.
	* genattrtab.c (write_test_expr): Allow label_ref in match_dup.

From-SVN: r12643
1996-08-15 19:05:21 +00:00
Doug Evans
1271a76a07 sys-protos.h (gethostid): Make return type `int' ifdef __alpha__.
* sys-protos.h (gethostid): Make return type `int' ifdef __alpha__.
	* gen-protos.c: Delete support for SYS_PROTO_OVERRIDES.
	* alpha/alpha.h (SYS_PROTO_OVERRIDES): Delete.

From-SVN: r12642
1996-08-15 18:59:44 +00:00
Torbjorn Granlund
3f8b69de79 (expand_return): In code for doing scc with jumps,
stick to default handling if we have corresponding scc pattern.

From-SVN: r12641
1996-08-14 23:46:53 +00:00
Jeff Law
3aba034bf0 pa.c (override_options): Treat TARGET_FAST_INDIRECT_CALLS just like TARGET_NO_SPACE_REGS.
* pa/pa.c (override_options): Treat TARGET_FAST_INDIRECT_CALLS
        just like TARGET_NO_SPACE_REGS.
        (output_millicode_call): Likewise.
        * pa/pa.h (TARGET_FAST_INDIRECT_CALLS): Define.
        (TARGET_SWITCHES): Add "fast-indirect-calls".
        * pa/pa.md: Treat TARGET_FAST_INDIRECT_CALLS just like
        TARGET_NO_SPACE_REGS in various call/millicode call patterns.

From-SVN: r12640
1996-08-14 16:17:25 -06:00
Jeff Law
7cda284aaf pa.c (print_operand): Use the right comparison operator for reversed EQ and NE comparisons.
* pa/pa.c (print_operand): Use the right comparison operator
        for reversed EQ and NE comparisons.

From-SVN: r12639
1996-08-14 11:40:57 -06:00
Jeff Law
e38fd454ac * pa/pa.h (OUTPUT_MI_THUNK): Define.
From-SVN: r12638
1996-08-14 10:34:30 -06:00
Michael Meissner
06737be4a3 Fix varargs/stdarg on PowerPC Windows NT
From-SVN: r12637
1996-08-14 15:49:57 +00:00
Ian Lance Taylor
c7c27cd3e2 Remove duplicate volatile from sig_atomic_t in AIX sys/signal.h
From-SVN: r12636
1996-08-13 22:30:02 +00:00
Michael Meissner
f7fba6aa12 mp/load version # in specs file so __GNUC_MINOR__ will be correct
From-SVN: r12635
1996-08-13 22:21:04 +00:00
Jim Wilson
2ebb804445 (LIB_SPEC): Undef.
From-SVN: r12634
1996-08-13 14:28:50 -07:00
Michael Meissner
2a50d6bc50 Correctly handle stack probes of more than one function in an object file under
NT.

From-SVN: r12633
1996-08-13 21:26:31 +00:00
Michael Meissner
3807773bc4 Build fewer multilibs
From-SVN: r12632
1996-08-13 20:51:55 +00:00
Jim Wilson
d59c4c8e37 (PROFILE_BEFORE_PROLOGUE): Define.
From-SVN: r12631
1996-08-13 13:48:43 -07:00
Jason Merrill
73aad9b9ff 87th Cygnus<->FSF quick merge
From-SVN: r12630
1996-08-13 15:39:22 +00:00
Michael Meissner
c8c2dcdce1 Fix typo
From-SVN: r12629
1996-08-12 22:15:13 +00:00
Jim Wilson
d1405d8907 (RAP_REG, RETURN_ADDRESS_POINTER_REGNUM): Define.
(ELIMINABLE_REGS): Add RETURN_ADDRESS_POINTER_REGNUM support.
(RETURN_ADDR_RTX): Define.
(REGISTER_NAMES): Add rap.

From-SVN: r12628
1996-08-12 14:44:14 -07:00
Jim Wilson
2afeea0fa3 (regno_reg_class): Change entry 23 from NO_REGS to GENERAL_REGS.
(initial_elimination_offset): New variable live_regs_mask.  Add
code to handle RETURN_ADDRESS_POINTER_REGNUM.

From-SVN: r12627
1996-08-12 14:43:22 -07:00
Jim Wilson
f434403dd7 (DOLLARS_IN_IDENTIFIERS): Undefine.
From-SVN: r12626
1996-08-12 14:35:23 -07:00
Jim Wilson
03fd6b9862 (LIB_SPEC): Always emit -lc.
From-SVN: r12625
1996-08-12 12:54:22 -07:00
Michael Meissner
2954cae083 Check current_function_uses_pic_offset_table, not pic_offset_table_rtx
From-SVN: r12624
1996-08-12 18:59:09 +00:00
Michael Meissner
961b7009ee Speed up genmultilib; Add MULTIB_EXTRA_OPTS
From-SVN: r12623
1996-08-12 16:36:42 +00:00
Richard Kenner
4e05a62cb7 (expand_end_bindings): Add test and call for nonlocal_goto_receiver pattern.
(expand_end_bindings): Add test and call for nonlocal_goto_receiver
pattern.
(expand_asm_operands): Fix off-by-one error when scanning constraints.

From-SVN: r12622
1996-08-12 07:46:32 -04:00
Richard Kenner
32ccb0aca0 (expand_builtin, case BUILT_IN_SETJMP): Add test and call for
nonlocal_goto_receiver pattern.

From-SVN: r12621
1996-08-12 07:44:42 -04:00
Jason Merrill
a3a58acc27 (store_expr): Handle COND_EXPR cleanups like expand_expr.
From-SVN: r12620
1996-08-12 05:52:13 +00:00
Richard Kenner
5c0bf7476e (expand_abs): When OP0 and TARGET are the same pseudo register, it is
safe to use TARGET.

From-SVN: r12619
1996-08-11 23:12:40 -04:00
Richard Kenner
68342d36e0 (reg_equiv_replace): New variable.
(update_equiv_regs): Set reg_equiv_replacement for all REG_EQUIV
notes encountered or generated.

From-SVN: r12618
1996-08-11 22:42:27 -04:00
Richard Kenner
6a305f32b2 Formatting changes.
From-SVN: r12617
1996-08-11 22:27:09 -04:00
Richard Kenner
2a7c93ee56 Formattign changes.
From-SVN: r12616
1996-08-11 22:26:19 -04:00
Richard Kenner
ca4da59718 Formtting changes.
From-SVN: r12615
1996-08-11 22:25:33 -04:00
Richard Kenner
f92076037c (hash_is_key_in_hash): Function somehow got lost.
From-SVN: r12614
1996-08-11 22:25:20 -04:00
Richard Kenner
3e2b54f56d (__need_wint_t): Move #undef to right place.
From-SVN: r12613
1996-08-11 21:43:10 -04:00
Richard Kenner
9590fa7214 (finish_struct): If pedantic, also warn if struct/union has no named
members.

From-SVN: r12612
1996-08-11 17:46:05 -04:00
Richard Kenner
d3d3fba0ea Initial revision
From-SVN: r12611
1996-08-11 17:32:41 -04:00
Stan Cox
88b1b95551 (untyped_call) Avoid SIGFPE.
From-SVN: r12610
1996-08-09 20:51:08 +00:00
Stan Cox
66050251ac (output_float_compare): Don't try to initialize aggregate local variable; use assignment statements instead.
From-SVN: r12609
1996-08-09 20:51:08 +00:00
Stan Cox
3d5c883bbf (gen_stdcall_suffix): Round parameter size up to
PARM_BOUNDARY.

From-SVN: r12608
1996-08-09 20:51:08 +00:00
Stan Cox
a1a478c5fe (RTX_COSTS): rtx_cost should pass two parameters.
From-SVN: r12607
1996-08-09 20:51:08 +00:00
Mike Stump
c73964b2fb 87th Cygnus<->FSF quick merge
From-SVN: r12606
1996-08-08 22:54:56 +00:00
Michael Meissner
581bc4de55 Fix for G++ not knowing whether a vtable will be private or public when the TOC reference is updated
From-SVN: r12605
1996-08-08 22:26:12 +00:00
Michael Meissner
2eee5e3abb Remove code that disabled vtable heuristic on systems with ASM_OUTPUT_EXTERNAL.
From-SVN: r12604
1996-08-08 22:22:37 +00:00