Commit Graph

9315 Commits

Author SHA1 Message Date
Richard Kenner 2871d24f4a (record_constant_1): Handle NON_LVALUE_EXPR.
Rewrite to use switch instead of if/then/elseif/else.

From-SVN: r9141
1995-03-09 08:51:20 -05:00
Richard Kenner 9040d8731a Update copyright dates.
From-SVN: r9140
1995-03-09 06:45:13 -05:00
Richard Kenner 720e51b748 (do_include): Fix type typo: pcfbuflimit is char *, not int.
From-SVN: r9139
1995-03-08 18:21:34 -05:00
Richard Kenner a7a0564039 (force_fit_type): Always propagate OVERFLOW.
From-SVN: r9138
1995-03-08 17:49:48 -05:00
Richard Kenner a6108925a2 (gen_inline_header): Add new parm FORCED_LABELS.
From-SVN: r9137
1995-03-08 17:30:20 -05:00
Richard Kenner 5b0e2c7ddc (initialize_for_inline, output_inline_function): Handle FORCED_LABELS.
From-SVN: r9136
1995-03-08 17:29:43 -05:00
Richard Kenner 2fbb1ada27 (FORCED_LABELS): New field; other fields adjusted.
(gen_inline_header_rtx): New parm FORCED_LABELS.

From-SVN: r9135
1995-03-08 17:29:20 -05:00
Richard Kenner 1129c9f83e (INLINE_HEADER): Add new "e" field.
From-SVN: r9134
1995-03-08 17:28:34 -05:00
Michael Meissner 9890ad7a9e More typos
From-SVN: r9133
1995-03-08 21:29:44 +00:00
Jason Merrill b890f297ea Add -taso and -rpath to LINK_SPEC
From-SVN: r9132
1995-03-08 18:40:51 +00:00
Michael Meissner 81a5008ec3 fix typo.
From-SVN: r9131
1995-03-08 16:54:20 +00:00
Michael Meissner c2baf13392 Define _RELOCATABLE if -mrelocatable; Rewrite eabi.asm for use with -mrelocatable.
From-SVN: r9130
1995-03-08 16:42:26 +00:00
Michael Meissner 8a552066c6 Do not initialize the pointer variable __new_handler with an address.
From-SVN: r9129
1995-03-08 15:21:52 +00:00
Ian Lance Taylor c9040e2c81 Add support for #pragma align
From-SVN: r9128
1995-03-07 22:34:39 +00:00
Doug Evans ae8b85c2ad (TARGET_VERSION): Define.
(CPP_PREDEFINES): Delete sun, sparc, unix.  Delete OS assertions.
(ASM_SPEC): Define.
(LINK_SPEC): Delete solaris stuff, this is an embedded target.
(STARTFILE_SPEC, ENDFILE_SPEC): Define.

From-SVN: r9127
1995-03-07 17:16:54 +00:00
Doug Evans 94a8b9feee (install-common): Fix typo in installation of gcc-cross.
From-SVN: r9126
1995-03-07 16:56:39 +00:00
Doug Evans dcca7802b8 (install-common): Fix typo in installation of cpp.
From-SVN: r9125
1995-03-06 22:54:51 +00:00
Jeff Law 014a45652d * pa.md (movsicc): New expander.
From-SVN: r9124
1995-03-06 00:29:33 -07:00
Doug Evans cd681d1f89 Undo this patch, breaks libobjc builds.
* c-decl.c (pushdecl): When have a duplicate decl, and it is global,
	delete lookup_name name in test for return.
	(redeclaration_error_message): When newdecl is a block level
	declaration, use lookup_name_current_level instead of DECL_CONTEXT.

From-SVN: r9123
1995-03-05 23:27:16 +00:00
Michael Meissner d1b9d2aaf5 Pass -mrelocatable to assembler if passed to compiler.
From-SVN: r9122
1995-03-03 21:33:52 +00:00
Ian Lance Taylor 3d356a8c3e Handle VxWorks typedef macros
From-SVN: r9121
1995-03-03 17:11:06 +00:00
Ian Lance Taylor e571db9896 Patch some VxWorks header files
From-SVN: r9120
1995-03-03 17:10:48 +00:00
Richard Kenner 03285371a3 (dump_single_macro): Fix typo: % wasn't properly doubled in printf
formats.

From-SVN: r9119
1995-03-03 05:48:33 -05:00
Jason Merrill 8736e83608 Update CLEANUP_POINT_EXPR docs.
From-SVN: r9118
1995-03-03 03:45:02 +00:00
Jason Merrill f283f66b1f (expand_expr, CLEANUP_POINT_EXPR): Force the operand out
of memory before running cleanups.

From-SVN: r9117
1995-03-03 03:45:02 +00:00
Richard Kenner f7393e851a Fix formatting.
From-SVN: r9116
1995-03-02 19:20:50 -05:00
Richard Kenner 15e779e88c (rescan): Prevent accidental token-pasting to get !=, *=, /=, ==, or ^=.
From-SVN: r9115
1995-03-02 19:15:06 -05:00
Richard Kenner e4a4d31146 (ASM_OUTPUT_ADDR_DIFF_ELT): Fix typo in label name.
From-SVN: r9114
1995-03-02 19:08:45 -05:00
Jason Merrill 912b4fc3a4 (build_binary_op): Avoid spurious warning
|        comparing enumerator to unsigned variable.

From-SVN: r9113
1995-03-02 23:39:09 +00:00
Richard Kenner f590249e80 (sqrtsf2,sqrtdf2): Use fp precision specifiers.
From-SVN: r9112
1995-03-02 18:18:24 -05:00
Richard Kenner eadaebabd3 Fix typo in last change.
From-SVN: r9111
1995-03-02 18:13:29 -05:00
Richard Kenner abfe15243c (yylex, case !NOT_FLOAT): Remove previous change.
From-SVN: r9110
1995-03-02 18:08:54 -05:00
Richard Kenner fa4f1d3636 Update shift/reduce conflict documentation.
From-SVN: r9109
1995-03-02 15:51:00 -05:00
Richard Kenner 648300d764 (bootstrap*): Pass new STAGE_PREFIX to recursive makes.
From-SVN: r9108
1995-03-02 15:26:39 -05:00
Per Bothner 6f09c35cde Remove Feb 13's FUNCTION_NEEDS_STATIC_CHAIN changes.
From-SVN: r9107
1995-03-01 19:40:59 -08:00
Per Bothner b001a02f29 Remove Feb 28's FUNCTION_NEEDS_STATIC_CHAIN changes.
From-SVN: r9106
1995-03-01 19:33:25 -08:00
Michael Meissner 874a07447a Move -mrelocatable word before function prologue.
From-SVN: r9105
1995-03-02 01:07:59 +00:00
Michael Meissner a6d8d7ae86 Define cpu/machine as powerpc, not rs6000
From-SVN: r9104
1995-03-02 01:07:14 +00:00
Michael Meissner bf18d0315a Clone unwind_function for powerpc
From-SVN: r9103
1995-03-01 20:30:14 +00:00
Ian Lance Taylor b099377f9e Add cpp predefines for VxWorks, and default to -mca
From-SVN: r9102
1995-03-01 19:54:15 +00:00
Ian Lance Taylor 2038d7efaa Add support for COFF style constructors
From-SVN: r9101
1995-03-01 19:54:01 +00:00
Michael Meissner bb68ff55b1 Silence warnings on uminsi3, umaxsi3.
From-SVN: r9100
1995-03-01 19:09:39 +00:00
Richard Kenner 021035770a (decode_field_reference): Don't check TREE_CODE of EXP; let get_inner_reference decide if have reference.
(decode_field_reference): Don't check TREE_CODE of EXP; let
get_inner_reference decide if have reference.
Allow no bit reference if have AND_MASK.
(all_ones_mask_p): Use tree_int_cst_equal, not operand_equal_p.
(unextend): New function.
(fold_truthop): For constant cases, use new function, rework
conversion, and warn if comparison can never be true.

From-SVN: r9099
1995-03-01 06:48:17 -05:00
Richard Kenner f635a84d96 (store_expr): Do conversion in two steps for promoted lhs.
From-SVN: r9098
1995-03-01 06:39:01 -05:00
Per Bothner d72471fd1a * tree.c (staticp): Use FUNCTION_NEEDS_STATIC_CHAIN.
From-SVN: r9097
1995-02-28 15:06:49 -08:00
Per Bothner 7ad8c4bf11 function.c (lookup_static_chain): Check for a static chain using FUNCTION_NEEDS_STATIC_CHAIN.
* function.c (lookup_static_chain):  Check for a static chain
using FUNCTION_NEEDS_STATIC_CHAIN.
(init_function_start):  Set current_function_needs_context depending
on FUNCTION_NEEDS_STATIC_CHAIN rather than decl_function_context.

From-SVN: r9096
1995-02-28 15:06:03 -08:00
Per Bothner 7c38c3ad5e expr.c (expand_expr): If non-local variable is expanded...
* expr.c (expand_expr):  If non-local variable is expanded,
set FUNCTION_NEEDS_STATIC_CHAIN (current_function_decl).
* expr.c (expand_expr case ADDR_EXPR):  Check for trampoline
using FUNCTION_NEEDS_STATIC_CHAIN, instead of decl_function_context.

From-SVN: r9095
1995-02-28 15:05:01 -08:00
Michael Meissner dc4f83ca6a More soft-float/powerpc patches.
From-SVN: r9094
1995-02-28 22:16:31 +00:00
Michael Meissner 6e5ea9350f Correctly reload r30 if -mrelocatable
From-SVN: r9093
1995-02-28 21:39:57 +00:00
Doug Evans 2039696776 (rest_of_compilation): Defer output of static inlines
even if not optimizing, they may never be referenced.

From-SVN: r9092
1995-02-28 19:46:31 +00:00