Per Bothner
a94c94be24
cpplib.c (init_parse_option): Renamed to cpp_options_init.
...
* cpplib.c (init_parse_option): Renamed to cpp_options_init.
(push_parse_file): Renamed to ...
(cpp_start_read): Change to return 1 on success, 0 on failure.
(init_parse_file): Renamed to cpp_reader_init.
* cpplib.c (cpp_start_read, cpp_handle_options, cpp_finish,
parse_goto_mark, parse_move_mark): Use cpp_fatal rather than fatal.
* cpplib.c (newline_fix): Remove unused function.
From-SVN: r12202
1996-06-06 20:05:31 -07:00
Per Bothner
05a2b36fad
cpperror.c (cpp_message): Generalize for "fatal" errors.
...
* cpperror.c (cpp_message): Generalize for "fatal" errors.
(cpp_fatal): New function (just calls cpp_message).
From-SVN: r12201
1996-06-06 20:04:54 -07:00
Per Bothner
b23378c8ab
* cpphash.c (cpp_lookup): Change struct parse_file -> cpp_reader.
...
From-SVN: r12200
1996-06-06 20:04:29 -07:00
Per Bothner
194d74937d
cpplib.h (struct parse_file): Removed.
...
* cpplib.h (struct parse_file): Removed.
(CPP_FATAL_LIMIT, CPP_FATAL_ERRORS, CPP_OUT_BUFFER): New macros.
From-SVN: r12199
1996-06-06 20:04:04 -07:00
Jim Wilson
1c20ae99ca
(init_cumulative_args): Change EXPR_LIST to PARALLEL in comments.
...
(init_cumulative_args): Change EXPR_LIST to PARALLEL
in comments.
(function_arg): Generate PARALLEL instead of EXPR_LIST.
From-SVN: r12198
1996-06-06 16:44:49 -07:00
Jim Wilson
bd625e2114
(FUNCTION_ARG): General PARALLEL instead of EXPR_LIST.
...
From-SVN: r12197
1996-06-06 16:40:38 -07:00
Jim Wilson
bd16a708b9
(call_value): Handle PARALLEL in operands[0].
...
(call_value_multiple_internal2): New pattern.
From-SVN: r12196
1996-06-06 16:34:44 -07:00
Jim Wilson
a20b7b051e
(function_arg): Return PARALLEL for structure with aligned double fields.
...
(function_arg): Return PARALLEL for structure with
aligned double fields.
(type_dependent_reg): Delete.
(mips_function_value): Return PARALLEL for structure
with two floating point fields.
From-SVN: r12195
1996-06-06 16:29:34 -07:00
Jim Wilson
45afe7a2f5
(TYPE_DEPENDENT_REG): Delete.
...
From-SVN: r12194
1996-06-06 16:24:53 -07:00
Richard Kenner
d653961594
(TARGET_SWITCHES): Group all floating point options.
...
When an fp option is selected, unset bits used for other mutually
exclusive fp options.
(OVERRIDE_OPTIONS): No longer need special case for SUPPORT_SUN_FPA, as the
bits used for 68881 and SKY are cleared by new entries in TARGET_SWITCHES.
From-SVN: r12193
1996-06-06 19:24:31 -04:00
Jim Wilson
e5eeae6506
(expand_value_return): Handle PARALLEL return_reg.
...
From-SVN: r12192
1996-06-06 16:14:12 -07:00
Jim Wilson
5c4cdc9fdf
(assign_parms): Handle PARALLEL parameter in ENTRY_PARM.
...
From-SVN: r12191
1996-06-06 16:13:24 -07:00
Jim Wilson
ae73d3bec5
(emit_group_load, emit_group_store, use_group_regs): New
...
declarations.
From-SVN: r12190
1996-06-06 16:12:26 -07:00
Jim Wilson
fffa9c1d2e
(emit_group_load, emit_group_store): New functions.
...
(use_group_regs): New function.
(emit_push_insn): Handle PARALLEL parameter in REG.
(expand_assignment): Handle PARALLEL to_rtx.
(store_expr): Handle PARALLEL target.
From-SVN: r12189
1996-06-06 16:04:56 -07:00
Jim Wilson
cacbd53270
(expand_call): Handle NIL in PARALLEL.
...
(expand_call): Handle NIL in PARALLEL. Handle PARALLEL
parameter in REG. Handle PARALLEL return value in VALREG.
(emit_library_call, emit_library_call_value): Abort for PARALLEL.
(store_one_arg): Delete code for handling EXPR_LIST.
From-SVN: r12188
1996-06-06 16:02:02 -07:00
Richard Kenner
1853aadde2
Whitespace, formatting, and spelling fixes in comments.
...
From-SVN: r12187
1996-06-06 18:44:52 -04:00
Richard Kenner
69685820b3
(assign_parms): Tighten up code that makes REG_EQUIV notes for parms.
...
From-SVN: r12186
1996-06-06 18:38:13 -04:00
Richard Kenner
5fd7f37d2e
(fold): Don't do anything with evaluated SAVE_EXPR.
...
From-SVN: r12185
1996-06-06 18:21:16 -04:00
Richard Kenner
6db59ad5ad
(movsi_const0, movhi): Favor clr with TARGET_5200.
...
(add[qhs]3): Don't use two addqw/subqw insns to add small integers to
an address register with TARGET_68060.
(stack push peephole): Use moveq.l with TARGET_5200 (when appropriate).
From-SVN: r12184
1996-06-06 17:53:49 -04:00
Richard Kenner
0d0dd44d1e
(CPU_FPU_SPEC, CPP_SPEC, ASM_SPEC): Support m5200.
...
From-SVN: r12183
1996-06-06 17:42:11 -04:00
Richard Kenner
15338c41de
Disable byte and word arithmetic, rotate, integer divide, dbcc,
...
etc. insns for TARGET_5200.
From-SVN: r12182
1996-06-06 17:41:07 -04:00
Richard Kenner
240922421d
(const_method): Do not synthesize long constants with byte or word
...
operations with TARGET_5200.
From-SVN: r12181
1996-06-06 17:40:30 -04:00
Richard Kenner
106bee4b93
(MASK_5200, TARGET_5200): New macros.
...
(TARGET_SWITCHES): Add "m5200".
(LEGITIMATE_INDEX_P): Add TARGET_5200 to conditional expression.
From-SVN: r12180
1996-06-06 17:40:02 -04:00
Paul Eggert
b9a48d63c5
(subdirs): Work around Solaris 2.5
...
/usr/xpgr/bin/sed problem with \+\+.
From-SVN: r12179
1996-06-06 21:31:55 +00:00
Jim Wilson
e6f379d049
(grokdeclarator): Call pop_obstacks after creating
...
TYPE_DECL.
From-SVN: r12178
1996-06-06 12:15:24 -07:00
Mike Stump
a0128b67f4
86th Cygnus<->FSF quick merge
...
From-SVN: r12177
1996-06-06 19:10:27 +00:00
Jim Wilson
bb91b814bd
(strength_reduce): If HAVE_cc0 defined, disable auto_inc_opt
...
if it would put an insn between a cc0 setter/user pair.
From-SVN: r12176
1996-06-06 12:05:21 -07:00
Michael Meissner
7d473b076d
Make sure Solaris is recognized as little endian.
...
From-SVN: r12175
1996-06-06 17:04:03 +00:00
Michael Meissner
d6a2af956f
Fix typo.
...
From-SVN: r12174
1996-06-06 14:07:56 +00:00
Jim Wilson
3ddf29dea4
(ROUND_TYPE_ALIGN): Add check for TYPE_PACKED.
...
From-SVN: r12173
1996-06-05 17:44:38 -07:00
Jim Wilson
564890c985
(branch_true): Add comment about T-bit compares.
...
From-SVN: r12172
1996-06-05 17:19:36 -07:00
Jim Wilson
211a0f8598
(SHORT_IMMEDIATES_SIGN_EXTEND): Define.
...
From-SVN: r12171
1996-06-05 17:04:32 -07:00
Per Bothner
d013f05e2d
cpplib.h, cpplib.c: Remove support for !STATIC_BUFFERS.
...
* cpplib.h, cpplib.c: Remove support for !STATIC_BUFFERS.
* cpplib.c (special_symbol, do_once, do_include, cpp_get_token):
Compare cpp_buffer against CPP_NULL_BUFFER, not NULL.
* cpplib.c (dump_special_to_buffer): New function.
(initialize_builtins): Use it.
From-SVN: r12170
1996-06-05 16:25:48 -07:00
Per Bothner
af453bb064
cpplib.h, cpplib.c: Remove support for !STATIC_BUFFERS.
...
* cpplib.h, cpplib.c: Remove support for !STATIC_BUFFERS.
* cpplib.h: Use unsigned char rather than U_CHAR.
* cpplib.h (cpp_reader): Add destructor #ifdef __cplusplus.
(cpp_cleanup): New prototype.
From-SVN: r12169
1996-06-05 16:24:48 -07:00
Jeff Law
c003becada
* pa/pa.h (TEXT_SPACE_P): Fix thinko in last change.
...
From-SVN: r12168
1996-06-05 17:11:46 -06:00
Michael Meissner
fba29a8c1e
Turn off ELF shared libs for now by default; Add linker OS switch; more Solaris work
...
From-SVN: r12167
1996-06-05 20:37:49 +00:00
Ian Lance Taylor
25e0447f75
Fix typo: TYPE_ptrdiff_t to _TYPE_ptrdiff_t.
...
From-SVN: r12166
1996-06-05 20:36:21 +00:00
Per Bothner
8311a11f17
* varasm.c (output_constructor): Handle RANGE_EXPR in array index.
...
From-SVN: r12165
1996-06-05 12:55:01 -07:00
Richard Kenner
7d49f59f4f
(*call_{address,symbolic}_struct_value_sp32): Allow operand 2 to be
...
const0_rtx.
From-SVN: r12164
1996-06-05 13:45:36 -04:00
Jason Merrill
6c931fc0f5
(make_decl_rtl): Don't update DECL_ASSEMBLER_NAME for
...
local statics.
From-SVN: r12163
1996-06-05 05:15:57 +00:00
Per Bothner
486086f342
config.guess: Combine mips-mips-riscos cases, and use cpp to distinguish sysv/svr4/bsd variants.
...
* config.guess: Combine mips-mips-riscos cases, and use cpp to
distinguish sysv/svr4/bsd variants.
From-SVN: r12159
1996-06-04 21:12:46 -07:00
Jason Merrill
f537695d63
(start_decl): Always set DECL_COMMON on statics.
...
From-SVN: r12158
1996-06-04 23:42:33 +00:00
Jason Merrill
cd98bf12d5
(assemble_variable): Only treat vars with DECL_COMMON
...
as common.
From-SVN: r12157
1996-06-04 23:42:33 +00:00
Jeff Law
c77c286a72
pa.c (reloc_needed): New function.
...
* pa/pa.c (reloc_needed): New function.
* pa/pa.h (TEXT_SPACE_P): Variables/constants with initializers
requiring relocs never live in the text space.
From-SVN: r12156
1996-06-04 12:58:08 -06:00
Ian Lance Taylor
e4fa6b06f0
Align code at the start of loops and after branches.
...
Align code at the start of loops and after branches. Don't accept
negative zero in fp_zero_operand.
From-SVN: r12155
1996-06-04 18:13:21 +00:00
Ian Lance Taylor
446b03afbb
Align code at the start loops and after unconditional branches
...
From-SVN: r12154
1996-06-04 18:12:36 +00:00
Michael Meissner
24b867d8be
Pass -mno-regnames to assembler.
...
From-SVN: r12153
1996-06-04 15:05:05 +00:00
Michael Meissner
f7856bbc82
Touch up solaris port
...
From-SVN: r12152
1996-06-04 14:02:51 +00:00
Jim Wilson
2777975438
(CPP_SPEC): Make -mabi=n32 the default.
...
From-SVN: r12151
1996-06-03 16:38:47 -07:00
Jim Wilson
a4dbf02d62
(MIPS_ISA_DEFAULT, MIPS_ABI_DEFAULT, MULTILIB_DEFAULTS,
...
ASM_SPEC, STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC): Likewise.
From-SVN: r12150
1996-06-03 16:37:46 -07:00