Richard Kenner
c71ebae3c4
(jump_optimize): Properly make jump into store-flag sequence when...
...
(jump_optimize): Properly make jump into store-flag sequence when the
jump can't be reversed but the TRUE branch is const0_rtx.
From-SVN: r4715
1993-06-23 07:52:14 -04:00
Richard Kenner
dd27116b8f
(expand_expr): Set IGNORE if target is const0_rtx or result type is VOID.
...
Move most IGNORE processing to one place to avoid expanding things that don't
need to be expanded.
(expand_expr, case CONSTRUCTOR, case COND_EXPR): If IGNORE, don't expand
anything we don't have to.
(expand_expr, case CONVERT_EXPR): Don't deal with IGNORE here.
From-SVN: r4714
1993-06-23 07:50:02 -04:00
Richard Kenner
bd5f197aa1
(scratch_block, scratch_list{,_length}, scratch_index): New variables.
...
(local_alloc): Allocate and initialize them.
(block_alloc): Only allocate a SCRATCH if it can fit in the block we make.
Don't mark regs used in SCRATCH live here; instead, make entry in new tables.
From-SVN: r4713
1993-06-23 07:47:16 -04:00
Richard Kenner
c307c23778
(mark_scratch_live): New function.
...
(reload): Call it on each SCRATCH.
Free scratch list and block.
(spill_hard_reg): Reallocate any SCRATCH whose register we want to spill.
From-SVN: r4712
1993-06-23 07:46:27 -04:00
Richard Kenner
a65b6597c4
(scratch_list, scratch_block, scratch_list_length): New vars.
...
From-SVN: r4711
1993-06-23 07:45:47 -04:00
Brendan Kehoe
6b46c09032
toplev.c (report_error_function): Change format of the included-file stack to be more readable.
...
* toplev.c (report_error_function): Change format of the
included-file stack to be more readable.
* cccp.c (print_containing_files): Likewise.
From-SVN: r4710
1993-06-22 13:56:40 -04:00
Brendan Kehoe
e5301904b9
toplev.c (report_error_function): Change format of the included-file stack to be more readable.
...
* toplev.c (report_error_function): Change format of the
included-file stack to be more readable.
* cccp.c (print_containing_files): Likewise.
* toplev.c (report_error_function): Change format of the
included-file stack to be more readable.
* cccp.c (print_containing_files): Likewise.
From-SVN: r4709
1993-06-22 13:56:40 -04:00
Richard Stallman
f537a5c50f
(grokdeclarator): Avoid the use of macros for ..._TYPE
...
nodes in cases where a parameter's type is error_mark_node.
From-SVN: r4708
1993-06-22 06:07:19 +00:00
Richard Kenner
a0466a6824
(print_operand, case 'J'): Write out shift count of 0, not 32 for bit
...
31 of CCR.
From-SVN: r4707
1993-06-21 19:21:04 -04:00
Richard Stallman
184be4bfab
(extraclean): Delete *.gz, and other diff and tar files.
...
From-SVN: r4706
1993-06-20 23:44:07 +00:00
Richard Stallman
6d8b61b9e7
(expand_call): In last change, preserve the temp slot.
...
From-SVN: r4705
1993-06-20 22:21:49 +00:00
Richard Stallman
69d6b01d68
(type_main_variant): New function.
...
Use it in place of TYPE_MAIN_VARIANT everywhere in dwarfout.c.
From-SVN: r4704
1993-06-20 18:08:53 +00:00
Richard Stallman
630ef4bf34
(MAYBE_VMS_FUNCTION_PROLOGUE): Adjust stack pointer by 4 prior to calling C$MAIN_ARGS...
...
(MAYBE_VMS_FUNCTION_PROLOGUE): Adjust stack pointer by 4 prior
to calling C$MAIN_ARGS, otherwise POSIX edition of that routine dies.
From-SVN: r4703
1993-06-19 22:34:57 +00:00
Richard Stallman
aaf44ca2f1
(compile_file): For static decl never defined,
...
use just warning, not pedwarn.
From-SVN: r4702
1993-06-19 22:34:05 +00:00
Richard Stallman
4f2c8ebb15
(call_insn_operand): Require constant address be a general_operand.
...
(expander_call_insn_operand): New fn (what call_insn_operand was).
From-SVN: r4701
1993-06-19 22:33:36 +00:00
Richard Stallman
0eb60d83ec
(call_pop, call, call_value_pop, call_value)
...
(call_pop, call, call_value_pop, call_value)
(untyped_call): Use expander_call_insn_operand.
From-SVN: r4700
1993-06-19 22:33:04 +00:00
Richard Stallman
9623736278
(stack_result_p): New function.
...
(stack_reg_life_analysis): Use that.
From-SVN: r4699
1993-06-19 22:32:28 +00:00
Richard Stallman
af0da0b8cb
(dbxout_type): Reinstall #if 0 around code for
...
outputting structure types, that confused GDB.
From-SVN: r4698
1993-06-19 09:57:10 +00:00
Richard Stallman
9f323d310f
(MAYBE_VMS_FUNCTION_PROLOGUE): adjust stack pointer by 4 prior to calling C$MAIN_ARGS...
...
(MAYBE_VMS_FUNCTION_PROLOGUE): adjust stack pointer by 4 prior
to calling C$MAIN_ARGS, otherwise POSIX edition of that routine dies.
From-SVN: r4697
1993-06-19 08:14:23 +00:00
Richard Stallman
adb65c99a6
(clean): Delete objc-headers subdir.
...
From-SVN: r4696
1993-06-19 01:19:32 +00:00
Richard Stallman
5066162332
(TARGET_SWITCHES): For -m68020, -m68000 and
...
-msoft-float, turn off 01400 bits.
From-SVN: r4695
1993-06-18 21:58:49 +00:00
Richard Stallman
cadb41d5bc
(gcc.xtar.gz): Renamed from gcc.tar.z.
...
(dist): Change the dependency.
(mostlyclean): Delete tmp-gcc.xtar.gz.
From-SVN: r4694
1993-06-18 21:43:40 +00:00
Richard Stallman
09aab2de6b
(save_exprs): New variable.
...
(collect_iterators): Don't process a SAVE_EXPR twice.
(iterator_expand): Clear save_exprs.
From-SVN: r4693
1993-06-18 20:23:51 +00:00
Richard Stallman
1c0015c23b
(gcc.info, cpp.info): Actually cd to srcdir.
...
From-SVN: r4692
1993-06-18 18:52:56 +00:00
Michael Meissner
4bb89a8e5c
deal with block move input reg also being a scratch reg.
...
From-SVN: r4691
1993-06-18 17:36:27 +00:00
Richard Stallman
aa8642c95d
(decrement_and_branch_until_zero): Pattern disabled.
...
From-SVN: r4690
1993-06-17 21:58:38 +00:00
Richard Stallman
6511b4f8b1
(calculate_giv_inc): Add new variables increment_total and tries...
...
(calculate_giv_inc): Add new variables increment_total
and tries, and new label retry, to handle case where increment is
two add instructions.
From-SVN: r4689
1993-06-17 21:31:32 +00:00
Richard Stallman
5b0f630bee
(USE_GAS): New define.
...
From-SVN: r4688
1993-06-17 20:26:46 +00:00
Richard Stallman
babbe1eb8c
Changes for non gas gcc.
...
(ASM_FILE_START_1): Always output .noopt because /bin/as is buggy.
Added #undef to {INIT,FINI,CTORS,DTORS}_SECTION_ASM_OP, ... when
not using GAS.
(CONST_SECTION_FUNCTION): Override svr3 default.
(EXTRA_SECTION_FUNCTIONS): Override svr3 default.
(OBJECT_FORMAT_COFF): Added define for collect2.
(MY_ISCOFF): For collect2 to handle aix and svr3 object file.
From-SVN: r4687
1993-06-17 20:26:23 +00:00
Richard Kenner
5f6be9da2e
Fix typo in copyright line.
...
From-SVN: r4686
1993-06-17 15:16:45 -04:00
Richard Stallman
78778b9db9
(LEGITIMATE_CONSTANT_P): Reject function addresses for now.
...
From-SVN: r4685
1993-06-17 07:15:25 +00:00
Richard Stallman
4e75433b46
(output_addr_const): Don't insert a leading space
...
in the CONST_DOUBLE_HIGH != 0 case.
From-SVN: r4684
1993-06-17 04:44:04 +00:00
Richard Stallman
7ae4fbf9e3
(SMALL_ARG_MAX): Defined.
...
From-SVN: r4683
1993-06-16 21:09:23 +00:00
Richard Stallman
d6272e453d
(check_format): Don't crash if cur_type is an error_mark.
...
Handle identifier_node as the TYPE_NAME.
From-SVN: r4682
1993-06-16 20:27:18 +00:00
Richard Stallman
4ab08223d1
Comment change.
...
From-SVN: r4681
1993-06-16 19:45:41 +00:00
Richard Stallman
7729f1ca50
(ltoe, ultoe, eifrac, euifrac): Handle 64-bit longs.
...
(SFMODE_NAN, DFMODE_NAN, XFMODE_NAN, TFMODE_NAN): New macros
permit definitions of NaN patterns to be overridden in tm.h.
From-SVN: r4680
1993-06-16 06:48:10 +00:00
Richard Stallman
ffcf63937c
(invalidate_skipped_set): Promote "nonscalar" to "all".
...
From-SVN: r4679
1993-06-14 23:16:31 +00:00
Richard Stallman
315198ab9d
(stdio.h math.h ctype.h sys/{limits.h,fcntl.h,dirent.h}):
...
Fix STDC/POSIX and other things for Interactive Unix 2.2 or later.
From-SVN: r4678
1993-06-14 21:48:40 +00:00
Richard Stallman
3008222343
(expand_call): If PCC_STATIC_STRUCT_RETURN and TARGET
...
is zero, copy result from static location.
From-SVN: r4677
1993-06-14 21:40:37 +00:00
Richard Stallman
34f921d8b8
(iorsi3): Explicitly set length to 1.
...
(andsi3, lshrsi3, rotrsi3, rotlsi3): Likewise.
(ashift and ashiftrt by const_int_operand): Likewise.
((and (ashift)) optimizer): Likewise.
From-SVN: r4676
1993-06-14 18:06:44 +00:00
Richard Stallman
dbf85761b5
(make_memloc): Don't reuse a memloc.
...
From-SVN: r4675
1993-06-14 08:47:36 +00:00
Richard Stallman
2937cf8796
(expand_expr, case COND_EXPR): Fix typo; const1_rtx should
...
be const0_rtx when ignoring expression.
From-SVN: r4674
1993-06-13 18:15:58 +00:00
Richard Stallman
ed58a12821
(optabs): For strlen_optab, don't look for `2' in name.
...
From-SVN: r4673
1993-06-13 04:16:47 +00:00
Richard Stallman
b6a524cb2a
(gen_lowpart_common): Use those macros if REAL_ARITHMETIC.
...
From-SVN: r4672
1993-06-13 00:25:33 +00:00
Richard Stallman
543758c6c4
(REAL_VALUE_FROM_TARGET_SINGLE): New macro.
...
(REAL_VALUE_FROM_TARGET_DOUBLE): Likewise.
From-SVN: r4671
1993-06-13 00:25:05 +00:00
Richard Stallman
b31c244f31
(ereal_from_float, ereal_from_double): New functions.
...
From-SVN: r4670
1993-06-13 00:24:44 +00:00
Richard Stallman
5d5ea90929
(record_jump_cond): Look up op1 again after inserting op0.
...
From-SVN: r4669
1993-06-12 23:42:59 +00:00
Richard Stallman
9e69dd9f3a
(movqi): Handle copying an address register to or
...
from memory when the address uses the address register.
From-SVN: r4668
1993-06-12 20:23:42 +00:00
Jim Wilson
09d6547996
(add_dependence): Reject CODE_LABELs when searching for
...
last insn of a sched group.
From-SVN: r4667
1993-06-12 10:43:42 -07:00
Richard Kenner
785e6a26da
(movsf, movdf): Handle a move from an integer register before reload.
...
This can happen if the user uses asm to put a floating point variable
in an integer register.
From-SVN: r4666
1993-06-11 21:49:20 -04:00