Commit Graph

10960 Commits

Author SHA1 Message Date
Jim Wilson
8516af9302 (scan_loop): Correct comment.
(strength_reduce): Correct comments.  Don't set maybe_multiple when
pass branch to scan_start.  Don't set not_every_iteration after
passing a CODE_LABEL, or after passing a branch out of the loop.
When outputting DEST_ADDR giv increments, put them next to the memory
address on machines with auto-increment addresses.
(record_biv): Set new field always_executed.
(record_giv): Set new fields always_executed and auto_inc_opt.
(maybe_eliminate_biv_1): Reject biv with auto_inc_opt optimization
in some cases.

From-SVN: r11090
1996-01-24 11:54:41 -08:00
Jim Wilson
125e4dcf94 (struct induction): New fields always_executed and
auto_inc_opt.

From-SVN: r11089
1996-01-24 11:54:00 -08:00
Jim Wilson
b200d1aa65 (pointer_int_sum): Use TYPE_PRECISION (sizetype) not
POINTER_SIZE to agree with expr.c.

From-SVN: r11088
1996-01-24 11:31:38 -08:00
Doug Evans
92acadfe28 (ASM_OUTPUT_ALIGNED_LOCAL): Delete, use svr4.h's.
From-SVN: r11087
1996-01-23 20:14:31 +00:00
Paul Eggert
e12ba0642d Use preprocessor arithmetic instead of C arithmetic to avoid warnings on some compilers.
Use preprocessor arithmetic instead of C arithmetic
to avoid warnings on some compilers.
(HOST_WIDE_INT_MASK): Remove.
(MAX_CHAR_TYPE_MASK, MAX_WCHAR_TYPE_MASK): New macros.
(yylex): Use them.

From-SVN: r11086
1996-01-23 03:28:01 +00:00
Per Bothner
52529158ea cppexp.c (cpp_parse_expr): Set HAVE_VALUE flag for unary minus, even if skip_evaluation is true.
* cppexp.c (cpp_parse_expr):  Set HAVE_VALUE flag for unary
minus, even if skip_evaluation is true.

From-SVN: r11085
1996-01-22 15:40:12 -08:00
David Edelsohn
de5529c85d Use Pmode
From-SVN: r11084
1996-01-22 21:52:06 +00:00
David Edelsohn
0a90c33620 Use Pmode and cleanup
From-SVN: r11083
1996-01-22 21:51:28 +00:00
Mike Stump
455376771f 79th Cygnus<->FSF merge
From-SVN: r11082
1996-01-22 19:49:02 +00:00
David Edelsohn
f589b741f9 undef BIGGEST_FIELD_ALIGNMENT inherited from rs6000.h
From-SVN: r11081
1996-01-22 19:16:32 +00:00
David Edelsohn
266eb58af3 PowerPC64 DImode patterns
From-SVN: r11080
1996-01-22 19:12:22 +00:00
David Edelsohn
b73fd26c62 update alignment
From-SVN: r11079
1996-01-22 18:55:08 +00:00
Ian Lance Taylor
753eae35b5 Include <string.h>
From-SVN: r11078
1996-01-22 04:34:18 +00:00
Per Bothner
003846d14c * tree.h (CONSTRUCTOR_TARGET_CLEARED_P): Removed.
From-SVN: r11077
1996-01-19 17:43:18 -08:00
Per Bothner
e1a43f7338 Merged in a bunch of stuff related to store_constructor. See ChangeLog.
From-SVN: r11076
1996-01-19 17:41:05 -08:00
Per Bothner
69b4bf9847 CONSTRUCTOR: Add comments.
From-SVN: r11075
1996-01-19 17:40:09 -08:00
Doug Evans
b650314b84 * sparc/sol2.h (SWITCH_TAKES_ARG): Likewise.
From-SVN: r11074
1996-01-19 21:50:59 +00:00
Doug Evans
38c27e228e * svr4.h (SWITCH_TAKES_ARG): Add 'x'.
From-SVN: r11073
1996-01-19 21:50:07 +00:00
Ian Lance Taylor
e663b41c30 Avoid minimal C++ debugging in a couple of cases where it doesn't work
From-SVN: r11072
1996-01-19 20:21:04 +00:00
Michael Meissner
6547b72078 Work with new linker
From-SVN: r11071
1996-01-19 16:53:29 +00:00
Richard Earnshaw
bd28bf5a41 arm/lib1funcs.asm (__divsi3, __modsi3, __udivsi3, __umodsi3): Replace
with smaller, faster versions.

From-SVN: r11070
1996-01-19 10:11:00 +00:00
Jim Wilson
b920730aaf Clean up CONST_DOUBLE_OK_FOR_LETTER_P definition.
From-SVN: r11069
1996-01-18 14:43:49 -08:00
Jim Wilson
1a95a96373 (ctype.h): Delete.
(regno_reg_class, reg_class_from_letter, prepare_scc_operands,
broken_move, push, pop, push_regs, calc_live_regs, sh_expand_prologue,
sh_expand_epilogue, initial_elimination_offset, arith_reg_operand):
Add SH3e support.
(sh_builtin_saveregs, fp_zero_operand, fp_one_operand): New functions.
(sh_function_arg, sh_function_arg_partial_nregs): Delete.

From-SVN: r11068
1996-01-18 14:41:00 -08:00
Jim Wilson
5c3ea80546 (CPP_SPEC, CONDITIONAL_REGISTER_USAGE, TARGET_SWITCHES,
OVERRIDE_OPTIONS, FIRST_PSEUDO_REGISTER, FIXED_REGISTERS,
CALL_USED_REGISTERS, HARD_REGNO_MODE_OK, enum reg_class,
REG_CLASS_NAMES, REG_CLASS_CONTENTS, REG_ALLOC_ORDER,
CONST_DOUBLE_OK_FOR_LETTER_P, NPARM_REGS, FUNCTION_VALUE,
LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P, FUNCTION_ARG_REGNO_P,
CUMULATIVE_ARGS, ROUND_REG, INIT_CUMULATIVE_ARGS, FUNCTION_ARG_ADVANCE,
FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, LEGITIMATE_CONSTANT_P,
MODE_DISP_OK_4, REGISTER_MOVE_COST, REGISTER_NAMES,
DBX_REGISTER_NUMBER, enum processor_type): Add SH3E support.
(SH3E_BIT, TARGET_SH3E, FPUL_REG, FIRST_FP_REG, LAST_FP_REG,
FIRST_FP_PARM_REG, FIRST_FP_RET_REG, BASE_RETURN_VALUE_REG,
BASE_ARG_REG, enum sh_arg_class, struct sh_args, GET_SH_ARG_CLASS,
PASS_IN_REG_P, sh_builtin_saveregs, EXPAND_BUILTIN_SAVEREGS,
DOUBLE_TYPE_SIZE): New.
(TARGET_SWITCHES): Delete broken -m3l option.

From-SVN: r11067
1996-01-18 14:40:12 -08:00
Jim Wilson
1979c66c4e (MULTILIB_OPTIONS): Add SH3E support.
(MULTILIB_DIRNAMES): Define to empty.

From-SVN: r11066
1996-01-18 14:38:57 -08:00
Jim Wilson
45348d9eef (cpu, movsi_i, movsf_i, blt, bge, sle, sge): Add SH3E support.
(cpu, movsi_i, movsf_i, blt, bge, sle, sge): Add SH3E
support.
(push_e, pop_e, movsi_ie, movsf_ie, addsf3, subsf3, mulsf3, macsf3,
divsf3, floatsisf2, fix_truncsfsi2, cmpgtsf_t, cmpqesf_t, cmpsf,
negsf2, sqrtsf2, abssf2): New patterns.
(abssf2+9, abssf2+10): Add SH3e support to peepholes
(abssf2+11, abssf2+12): New peepholes for SH3e.

From-SVN: r11065
1996-01-18 14:37:48 -08:00
Ian Lance Taylor
47fd14f4df Add const where appropriate
From-SVN: r11064
1996-01-18 16:30:48 +00:00
Michael Meissner
841faeeddd EXTRA_SPECS addition
From-SVN: r11063
1996-01-18 15:19:51 +00:00
Doug Evans
4a5891aff9 (v9 INIT_CUMULATIVE_ARGS): Fix typos.
From-SVN: r11062
1996-01-18 00:14:51 +00:00
Paul Eggert
78ae7d8040 (HOST_WIDE_INT_MASK): Renamed from LONG_MASK; use HOST_WIDE_INT.
(HOST_WIDE_INT, HOST_BITS_PER_WIDE_INT): New (actually resuscitated) macros.
(parse_c_expression, expression_value, parse_escape, left_shift, right_shift,
struct constant, exp, parse_number, yylex): Replace `long' with
`HOST_WIDE_INT'.

From-SVN: r11061
1996-01-18 00:12:52 +00:00
Paul Eggert
047380ca13 (PTR_INT_TYPE): Remove obsolete define to `long'.
(parse_escape, parse_c_expression, eval_if_expression, get_lintcmd, do_line,
do_if, do_elif): Replace `long' with `HOST_WIDE_INT'.
(trigraph_pcp): Don't assume a pointer difference fits in an int.

From-SVN: r11060
1996-01-18 00:12:52 +00:00
Jim Wilson
34ea783bd5 (extract_bit_field): For multi-word bitfield, clobber target before
storing to it.

From-SVN: r11059
1996-01-17 15:56:06 -08:00
Doug Evans
b52ef430a3 Recognize go32* as an os.
From-SVN: r11044
1996-01-17 23:54:58 +00:00
Doug Evans
f8743a9303 Update copyright address.
From-SVN: r11043
1996-01-17 23:53:33 +00:00
Doug Evans
85a9f41b14 Initial revision
From-SVN: r11042
1996-01-17 23:52:27 +00:00
Richard Stallman
82732e5f7a Default OS to nextstep if machine vendor is Next.
-ns2 is an alias for -nextstep.

From-SVN: r11041
1996-01-17 22:40:42 +00:00
Doug Evans
47851d2ccd {t-sol2,t-sunos40,t-sunos41}: Define away LIBGCC1_TEST so that cross compilers targeted at these systems will...
* sparc/{t-sol2,t-sunos40,t-sunos41}: Define away LIBGCC1_TEST
	so that cross compilers targeted at these systems will build.

From-SVN: r11040
1996-01-17 22:38:27 +00:00
Mike Stump
be99da7733 78th Cygnus<->FSF merge
From-SVN: r11039
1996-01-17 18:57:55 +00:00
Doug Evans
3a26543176 gcc.c (process_command): New local lang_n_files, and use it in test of -c with -o.
* gcc.c (process_command): New local lang_n_files, and use
	it in test of -c with -o.  Move test of -save-temps.
	Test for trailing NUL in -c.

From-SVN: r11038
1996-01-17 14:51:41 +00:00
Richard Kenner
5b65a74fb5 (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Put back.
(pcfinclude): Use HOST_WIDE_INT for casting pointer to integer.

From-SVN: r11037
1996-01-17 07:47:23 -05:00
Richard Kenner
e18c4cfeb8 Update comments.
From-SVN: r11036
1996-01-17 07:28:48 -05:00
Jeff Law
7b5311b193 * va-pa.h (__gnuc_va_list): Use a "void *".
From-SVN: r11035
1996-01-17 03:26:27 -07:00
Per Bothner
a4a315ef52 cppexp.c (cpp_lex): Do cpp_pop_buffer after CPP_POP so retried cpp_skip_hspace will actually work.
* cppexp.c (cpp_lex):  Do cpp_pop_buffer after CPP_POP so retried
cpp_skip_hspace will actually work.
* cppexp.c (SKIP_OPERAND):  New macro.
(cpp_parse_expr):  Suppress evaluation and diagnostics in
unevaluated subexpressions.

From-SVN: r11034
1996-01-16 15:46:59 -08:00
Mike Stump
9ba73d3880 expr.c (expand_expr, [...]): Make sure cleanups live on the function_obstack as they are used by the...
* expr.c (expand_expr, case COND_EXPR): Make sure cleanups live on
	the function_obstack as they are used by the exception handling code.
	(defer_cleanups_to): Ditto.
	(TRUTH_ANDIF_EXPR): Ditto.
	(TRUTH_ORIF_EXPR): Ditto.
Fixes eh43.C

From-SVN: r11033
1996-01-16 22:40:15 +00:00
Jim Wilson
f14c3e3d87 (new_include_prefix): Ignore ENOTDIR error from stat.
From-SVN: r11032
1996-01-16 10:56:29 -08:00
Doug Evans
7e245bad44 t-sol2 (crt[1in].o): Add missing -c.
* i386/t-sol2 (crt[1in].o): Add missing -c.
	* sparc/t-sol2 (crt[1in].o,gcrt1.o): Likewise.
	Source files are assembler.

From-SVN: r11031
1996-01-16 18:51:39 +00:00
Doug Evans
ed846da308 (do_spec_1, case 'W'): Rename local index' to cur_index' to avoid warning
on solaris.

From-SVN: r11030
1996-01-16 17:18:36 +00:00
Ian Lance Taylor
3c35520e75 Use dbxcoff.h
From-SVN: r11029
1996-01-16 16:51:49 +00:00
Ian Lance Taylor
1c940b476e Update copyright
From-SVN: r11028
1996-01-16 16:49:43 +00:00
Ian Lance Taylor
9480420717 Use dbxcoff.h
From-SVN: r11027
1996-01-16 16:44:22 +00:00