Commit Graph

13383 Commits

Author SHA1 Message Date
Richard Kenner
1974bfb11f (pushcase_range): Check for null range first.
From-SVN: r13977
1997-04-24 16:39:21 -04:00
Jason Merrill
469b759e8c Formerly extend.texi.~114~
From-SVN: r13976
1997-04-24 07:25:19 +00:00
Ian Lance Taylor
9e148ceb90 Use push_operand to check for changes to the stack pointer
From-SVN: r13975
1997-04-24 03:09:29 +00:00
Jason Merrill
173cd503de x
From-SVN: r13974
1997-04-24 02:55:16 +00:00
Jeff Law
4c7428133b mn10300.c (secondary_reload_class): Handle more cases where we need secondary reloads.
* mn10300.c (secondary_reload_class): Handle more cases where we
        need secondary reloads.
        (impossible_plus_operand): Accept anything that involves addition
        of the stack pointer.
        * mn10300.md (reload_insi): Always load the stack pointer into
        the destination (which is always an address register).
        * mn10300.h (STORE_FLAG_VALUE): Remove definition.
        * xm-mn10300.h: Declare malloc, realloc, calloc and free.

From-SVN: r13973
1997-04-23 17:54:59 -06:00
Mike Stump
cd1bbde17b 91th Cygnus<->FSF merge
From-SVN: r13972
1997-04-23 22:45:03 +00:00
Mike Stump
eb66be0e6c 91th Cygnus<->FSF merge
From-SVN: r13971
1997-04-23 22:39:53 +00:00
Ian Lance Taylor
2ec43107c9 Don't assume a SUBREG can not conflict with a MEM
From-SVN: r13970
1997-04-23 21:27:40 +00:00
Mike Stump
27a367780a Add setjmp/longjmp exception handling.
From-SVN: r13969
1997-04-23 20:11:52 +00:00
Mike Stump
e976b8b277 Add setjmp/longjmp exception handling.
From-SVN: r13968
1997-04-23 20:04:25 +00:00
Doug Evans
2284f91b11 Initial revision
From-SVN: r13967
1997-04-23 13:50:37 +00:00
Richard Kenner
263967e71d (DUCR.M,DUC.M): Defined.
From-SVN: r13966
1997-04-23 09:48:57 -04:00
Richard Kenner
36f94c9cb3 (FRAME_POINTER_REQUIRED): Not required.
(INITIAL_FRAME_POINTER_OFFSET,FIX_FRAME_POINTER_ADDRESS): Undefine.
(FUNCTION_PROLOGUE,FUNCTION_EPILOGUE): Honor -fomit-frame-pointer.
(ELIMINABLE_REGS,CAN_ELIMINATE,INITIAL_ELIMINATION_OFFSET): Defined.
(PREFERRED_RELOAD_CLASS): Corrected.
(CONST_COSTS,ADDRESS_COST,REGISTER_MOVE_COST,MEMORY_MOVE_COST):
Slight adjustments.
(ASM_APP_ON,ASM_APP_OFF): Corrected.

From-SVN: r13965
1997-04-23 09:48:20 -04:00
Richard Kenner
7bbf567063 (memop_valid): Memory indirection now valid.
(nonindirect_operand): Remove.
(print_operand): Fix 'J' output modifier.

From-SVN: r13964
1997-04-23 09:47:57 -04:00
Richard Kenner
fd07302117 (cmphi): Fixed when next CC user is unsigned.
(mov[hq]i-[23]): New patterns for mem-indirect moves.
(movhf,movtqf): Corrected.

From-SVN: r13963
1997-04-23 09:47:27 -04:00
Richard Kenner
31c21e0c02 (push_reload): Fix last argument of the call to find_dummy_reload.
From-SVN: r13962
1997-04-23 09:41:32 -04:00
Richard Kenner
667d88ab01 entered into RCS
From-SVN: r13961
1997-04-23 09:34:56 -04:00
Richard Kenner
1101bba443 Remove include of machmode.h.
From-SVN: r13960
1997-04-23 09:29:12 -04:00
Richard Kenner
99de49d4c0 (nextstep.o): New rule.
From-SVN: r13959
1997-04-23 09:28:42 -04:00
Richard Kenner
5646e8683c Add includes for config.h, stdio.h, and flags.h.
From-SVN: r13958
1997-04-23 09:28:09 -04:00
Jason Merrill
5bcb3f1345 x
From-SVN: r13957
1997-04-23 00:39:04 +00:00
Jim Wilson
f76b8156d9 (gen_variable_dir): Add test for DW_AT_declaration to the old_die if statement, and delete assertion for it.
(gen_variable_dir):  Add test for DW_AT_declaration to
the old_die if statement, and delete assertion for it.
(decl_ultimate_origin): Remove last change.

From-SVN: r13956
1997-04-22 15:19:47 -07:00
Jeff Law
6c0870b896 mn10300.c (expand_prologue): End the current sequence before counting the tst insns in the current function.
* mn10300.c (expand_prologue): End the current sequence before
        counting the tst insns in the current function.  Start a new
        one before emitting any prologue instructions.

        * mn10300.h (REGISTER_MOVE_COST): Bump up cost of moves in the
        same class.

        * mn10300.md (untyped_call): New expander.

From-SVN: r13955
1997-04-22 10:29:04 -06:00
Jim Wilson
9ae69d8b9d Set TARGET_LIBGCC2_CFLAGS instead of LIBGCC2_CFLAGS.
From-SVN: r13954
1997-04-21 14:51:13 -07:00
Richard Kenner
5d595063ff (fold_rtx, case PLUS): When seeing if negative of constant is around,
make sure not dealing with largest negative.

From-SVN: r13953
1997-04-21 16:30:16 -04:00
Jim Wilson
9ee3c68737 (output_addsi3): New function. From addsi3 pattern.
From-SVN: r13952
1997-04-21 10:57:09 -07:00
Jim Wilson
079e639f76 (movqi+2): Add address registers.
(movxf+1): Disable for TARGET_5200.
(movxf+2): New pattern for TARGET_5200.
(addsi3): Add define_expand.  Move code to output_addsi3.
(addsi3_internal): Renamed from addsi3.  Disable for TARGET_5200.
(addsi3_5200): New pattern for TARGET_5200.

From-SVN: r13951
1997-04-21 10:56:17 -07:00
Jim Wilson
dfcce277a0 (output_addsi3): Add declaration.
From-SVN: r13950
1997-04-21 10:55:28 -07:00
Richard Kenner
3c9b009121 (operand_equal_p): Constants are not equal if there has been an overflow.
From-SVN: r13949
1997-04-20 21:27:07 -04:00
Richard Kenner
116758a727 (compile_file): Shorten "branch-probabilities" in output of times.
From-SVN: r13948
1997-04-20 20:00:04 -04:00
Richard Kenner
388320a570 (DWARF2_DEBUGGING_INFO): Define.
From-SVN: r13947
1997-04-20 18:07:19 -04:00
Richard Kenner
3235ec4403 Delete junk comment.
From-SVN: r13946
1997-04-20 17:59:58 -04:00
Richard Kenner
25d5a07249 (MOD[SD]I_LIBCALL): Call ots$rem, not ots$mod.
From-SVN: r13945
1997-04-20 17:50:20 -04:00
Richard Kenner
9398dc2742 (alpha_need_linkage): Call get_identifier.
From-SVN: r13944
1997-04-20 17:48:27 -04:00
Richard Kenner
f0f6a2233f (nonlocal_goto_receiver): New pattern.
From-SVN: r13943
1997-04-20 17:44:57 -04:00
Richard Kenner
c7ca610ed5 (rs6000_output_load_toc_table): New function.
(output_prolog): Call it instead of doing it directly.

From-SVN: r13942
1997-04-20 17:44:06 -04:00
Richard Kenner
229558eea3 (dwarf2out.o): Includes expr.h.
From-SVN: r13941
1997-04-20 17:10:38 -04:00
Richard Kenner
71dfc51fa0 Major cleanup; mostly reformatting.
Include expr.h.
Undefine inline ifndef __GNUC__; never define to include static.
Add "static" to header of all inlined functions.
Add declarations for all static functions, with prototypes.
(addr_const_to_string): Use HOST_WIDE_INT_PRINT_* macros.
(add_AT_*, new_{die,loc_descr,cfi): Don't check for xmalloc returning zero.
(modified_type_die): Add missing parm on recursive call.
({reg,based}_loc_descriptor): Add missing arg to call to new_loc_descr.
(add_const_value_attribute): Use REAL_VALUE_TYPE for fp calculations.
(output_call_frame_info): Add missing arg to output_cfi call.
(dwarf2out_def_cfa): Local variable OLD_REG must be unsigned long.

From-SVN: r13940
1997-04-20 17:10:19 -04:00
Richard Kenner
b1ccbc24f4 Cast first arg in all calls to bzero to char *.
(decl_ultimate_origin): Return NULL if equal to decl.
(constant_size): Never return more than 4.
(value_format, case 8): New case.
(dwarf2out_frame_debug): Use HARD_FRAME_POINTER_REGNUM.
(based_loc_descr): Likewise.
(add_bound_info): Delete default case.
Add cases for CONVERT_EXPR and NON_LVALUE_EXPR; treat like NOP_EXPR.
Change NOP_EXPR to to recursive call.
(add_type_attribute): Ignore unnamed subtype of integral or FP.
(gen_subprogram_die): Use reg_loc_descriptor.
(dwarf2out_decl): Ignore nested functions.

From-SVN: r13939
1997-04-20 12:54:50 -04:00
Richard Kenner
2e3f9f3d62 Use symbolic codes for exit.
From-SVN: r13938
1997-04-20 12:39:28 -04:00
Richard Kenner
65ed39df89 (profile_function): Only call ASM_OUTPUT_REG_{PUSH,POP} if defined.
From-SVN: r13937
1997-04-20 12:25:03 -04:00
Richard Kenner
effbcc6a9e ({move,clear}_by_pieces_1, expand_assignment): Ensure we have unshared rtx before changing flags.
({move,clear}_by_pieces_1, expand_assignment): Ensure we have unshared rtx
before changing flags.
(store_{constructor,field}): Likewise.
(expand_expr, case COMPONENT_REF): Likewise.
(store_expr): Check if TEMP and TARGET are same with rtx_equal_p.

From-SVN: r13936
1997-04-20 12:19:20 -04:00
Richard Kenner
64cd4fdb75 (change_address, init_emit): Delete forward references.
(rtl_obstack, stack_depth, max_stack_depth): Delete extern decls.

From-SVN: r13935
1997-04-20 10:45:33 -04:00
Jason Merrill
466446b079 x
From-SVN: r13934
1997-04-20 10:25:49 +00:00
Jim Wilson
ce717ce4d3 (instantiate_decls): For DECL_INCOMING_RTL, use max
of type size and mode size in instantiate_decl call.

From-SVN: r13933
1997-04-18 15:40:55 -07:00
Jim Wilson
09817d8cf8 (sys/lc_core.h): Fix OSF1/4.x namespace pollution.
From-SVN: r13932
1997-04-18 15:25:17 -07:00
Paul Eggert
732b08f1e9 automatically generated from GPLed version
From-SVN: r13929
1997-04-18 00:47:55 +00:00
Ian Lance Taylor
d0c2f17668 Fixes for MIPS OpenBSD systems (from Per Fogelstrom
<pefo@openbsd.org>)

From-SVN: r13910
1997-04-17 18:00:12 +00:00
Jason Merrill
83b853c9fc x
From-SVN: r13909
1997-04-17 11:33:02 +00:00
Jeff Law
fc99085612 Fix typo in last change.
From-SVN: r13908
1997-04-15 12:51:06 -06:00