H.J. Lu [Mon, 20 Apr 1998 00:01:15 +0000 (00:01 +0000)]
reg-stack.c (subst_asm_stack_regs): Change to return the last new insn generated by this function.
* reg-stack.c (subst_asm_stack_regs): Change to return the last
new insn generated by this function.
(subst_stack_regs): Likewise.
(convert_regs): Record the last newly generated insn and use
it for change_stack () instead of INSN.
From-SVN: r19328
Jeff Law [Sun, 19 Apr 1998 23:40:30 +0000 (17:40 -0600)]
New test from HJ.
From-SVN: r19326
H.J. Lu [Sun, 19 Apr 1998 21:14:32 +0000 (21:14 +0000)]
* isgetline.cc (istream::get): Fix a typo.
From-SVN: r19314
Dave Love [Sun, 19 Apr 1998 11:52:15 +0000 (11:52 +0000)]
* g77.f-torture/compile/980419-2.f (main): New test.
From-SVN: r19301
Dave Love [Sun, 19 Apr 1998 11:49:56 +0000 (11:49 +0000)]
New test.
From-SVN: r19300
Manfred Hollstein [Sun, 19 Apr 1998 06:48:08 +0000 (06:48 +0000)]
fix-header.c (enum special_file): Undefine enumerators if they are already defined by include files.
a
* fix-header.c (enum special_file): Undefine enumerators if they
are already defined by include files.
* fixproto (rel_source_file in unistd.h stdlib.h): Prefix file protection
macro with '__' to not pollute user namespace.
From-SVN: r19298
Manfred Hollstein [Sun, 19 Apr 1998 06:48:07 +0000 (06:48 +0000)]
fix-header.c (enum special_file): Undefine enumerators if they are already defined by include files.
d
* fix-header.c (enum special_file): Undefine enumerators if they
are already defined by include files.
* fixproto (rel_source_file in unistd.h stdlib.h): Prefix file protection
macro with '__' to not pollute user namespace.
From-SVN: r19297
Manfred Hollstein [Sun, 19 Apr 1998 06:48:05 +0000 (06:48 +0000)]
fix-header.c (enum special_file): Undefine enumerators if they are already defined by include files.
�
* fix-header.c (enum special_file): Undefine enumerators if they
are already defined by include files.
* fixproto (rel_source_file in unistd.h stdlib.h): Prefix file protection
macro with '__' to not pollute user namespace.
From-SVN: r19296
Dave Love [Sun, 19 Apr 1998 05:59:43 +0000 (05:59 +0000)]
970125-0.f: New test.
* g77.f-torture/compile/970125-0.f: New test.
* g77.f-torture/compile/980419-1.f: New test.
From-SVN: r19295
Dave Love [Sun, 19 Apr 1998 05:54:09 +0000 (05:54 +0000)]
New File.
From-SVN: r19294
Richard Henderson [Sun, 19 Apr 1998 02:45:34 +0000 (19:45 -0700)]
* haifa-sched.c (queue_to_ready): Fix typo in prototype.
From-SVN: r19293
Jeffrey A Law [Sat, 18 Apr 1998 23:52:37 +0000 (17:52 -0600)]
Bump for snapshot
From-SVN: r19291
Jeff Law [Sat, 18 Apr 1998 22:19:52 +0000 (16:19 -0600)]
i386.md (fix_truncsfdi2+[123]): Add + to operand 1 constraints.
* i386.md (fix_truncsfdi2+[123]): Add + to operand 1 constraints.
From-SVN: r19287
Jeff Law [Sat, 18 Apr 1998 22:19:50 +0000 (16:19 -0600)]
i386.md (fix_truncsfdi2+[123]): Add + to operand 1 constraints.
* i386.md (fix_truncsfdi2+[123]): Add + to operand 1 constraints.
From-SVN: r19286
Jim Wilson [Sat, 18 Apr 1998 18:36:11 +0000 (18:36 +0000)]
Patch from Ulrich to fix problems with default CPU defines.
* i386.h (CPP_CPU_DEFAULT): Renamed to CPP_CPU_DEFAULT_SPEC.
Add missing -Dpentium* options.
(CPP_CPU_SPEC): Delete redundant definition. Include cpp_cpu_default
instead of CPP_CPU_DEFAULT.
(EXTRA_SPECS): Add entry for cpp_cpu_default.
From-SVN: r19284
David Edelsohn [Sat, 18 Apr 1998 16:16:02 +0000 (16:16 +0000)]
rs6000.md (floatsidf2_loadaddr): rs6000_fpmem_offset will be negative in a stackless frame.
* rs6000.md (floatsidf2_loadaddr): rs6000_fpmem_offset will be
negative in a stackless frame.
* rs6000.c (rs6000_stack_info): Don't include fixed-size link area
in stackless frame size. Support 64-bit stackless frame size.
Combine fpmem offset calculations and don't add total_size to
offset if not pushing a stack frame.
From-SVN: r19283
Jim Wilson [Sat, 18 Apr 1998 15:42:48 +0000 (15:42 +0000)]
Fix regmove typos spotted by H.J. Lu.
* regmove.c (fixup_match_1): In three places, in flag_exceptions
check, change p to q.
From-SVN: r19282
Jim Wilson [Sat, 18 Apr 1998 15:31:36 +0000 (15:31 +0000)]
Patches to make g++/g77 give useful error when no files are given.
* gcc.c (lang_specific_driver): Add new parm type to prototype.
(added_libraries): New file scope static variable.
(process_command): Initialize added_libraries. Pass it to
lang_specific_driver.
(main): Use added_libraries in check for no input files.
From-SVN: r19281
Jim Wilson [Sat, 18 Apr 1998 15:30:09 +0000 (15:30 +0000)]
Patches to give useful error when no files given.
* g77spec.c (lang_specific_driver): New argument in_added_libraries.
New local added_libraries. Increment count when add library to
arglist.
From-SVN: r19280
Jim Wilson [Sat, 18 Apr 1998 15:26:22 +0000 (15:26 +0000)]
Patches to give useful error when no files specified.
* g++spec.c (lang_specific_driver): New argument in_added_libraries.
New local added_libraries. Increment count when add library to
arglist.
From-SVN: r19279
John Carr [Sat, 18 Apr 1998 01:24:59 +0000 (01:24 +0000)]
sparc.c, [...]: Many changes related to V9 code generation.
Sat Apr 18 01:23:11 1998 John Carr <jfc@mit.edu>
* sparc.c, sparc.h, sparc.md, sol2.h: Many changes related to V9
code generation. Use 64 bit instructions in 32 bit mode when
possible. Use V9 return instruction. UltraSPARC optimizations.
* sparc.h: Change gen_rtx (CODE to gen_rtx_CODE (.
From-SVN: r19278
Mark Mitchell [Sat, 18 Apr 1998 01:12:22 +0000 (01:12 +0000)]
New test
From-SVN: r19277
Jeffrey A Law [Sat, 18 Apr 1998 01:02:04 +0000 (01:02 +0000)]
global.c (global_alloc): Don't pass HARD_CONST (0) to find_reg, just pass zero.
* global.c (global_alloc): Don't pass HARD_CONST (0) to find_reg,
just pass zero. That will work regardless of the size of HARD_REG_SET.
From-SVN: r19276
Jeff Law [Fri, 17 Apr 1998 21:39:12 +0000 (15:39 -0600)]
libgcc2.c (__floatdisf): Fix a couple typos.
8
* libgcc2.c (__floatdisf): Fix a couple typos.
From-SVN: r19275
Jeff Law [Fri, 17 Apr 1998 21:39:10 +0000 (15:39 -0600)]
libgcc2.c (__floatdisf): Fix a couple typos.
�
* libgcc2.c (__floatdisf): Fix a couple typos.
From-SVN: r19274
Mark Mitchell [Fri, 17 Apr 1998 21:25:38 +0000 (21:25 +0000)]
cp-tree.h (type_as_string_real): New function.
Fri Apr 17 21:25:00 1998 Mark Mitchell <mmitchell@usa.net>
* cp-tree.h (type_as_string_real): New function.
* pt.c (mangle_class_name_for_template): Use it.
* error.c (dump_aggr_type): Change prototype.
(dump_type_prefix): Likewise.
(dump_type_suffix): Likewise.
(dump_type_real): Convert from dump_type. If desired, the
"canonica" name of a typedef, i.e., the name of the underlying
type, can be printed.
(dump_type): Call dump_type_real.
From-SVN: r19273
Jim Wilson [Fri, 17 Apr 1998 17:31:30 +0000 (17:31 +0000)]
Fix `make clean' bug with -da files.
* Makefile.in (mostlyclean): Delete *.mach and *.bp files.
From-SVN: r19272
Greg McGary [Fri, 17 Apr 1998 16:35:07 +0000 (16:35 +0000)]
* emit-rtl.c (gen_highpart): initialize `word' properly for pseudo.
From-SVN: r19271
Jason Merrill [Fri, 17 Apr 1998 15:52:17 +0000 (11:52 -0400)]
redo
From-SVN: r19270
Jason Merrill [Fri, 17 Apr 1998 15:32:57 +0000 (11:32 -0400)]
revert
From-SVN: r19269
Jason Merrill [Fri, 17 Apr 1998 15:29:46 +0000 (11:29 -0400)]
decl2.c (lang_decode_option): -fnew-abi implies -fvtable-thunks.
* decl2.c (lang_decode_option): -fnew-abi implies -fvtable-thunks.
* typeck.c (comp_target_types): Tweak pedantic case.
(comp_target_parms): Tweak pedantic case. Clean up somewhat.
Return -1 or 1 instead of 1 or 2.
(compparms): Remove STRICT handling.
* typeck.c (comp_target_types): Handle references like pointers.
(comp_target_parms): Note that return code from comp_target_types
can be negative to indicate failure.
From-SVN: r19268
John Carr [Fri, 17 Apr 1998 14:41:49 +0000 (14:41 +0000)]
Patch from John Carr to fix sparc v9 failure.
* emit-rtl.c (operand_subword_force): If a register can not be
accessed by words, copy it to a pseudo register.
From-SVN: r19267
Jim Wilson [Fri, 17 Apr 1998 14:32:23 +0000 (14:32 +0000)]
Fix vxworks-ppc build failure reported by SXTHREE.
* rs6000/vxppc.h (CPP_SPEC): Add support for mrelocatable*.
From-SVN: r19266
Michael Meissner [Fri, 17 Apr 1998 14:02:51 +0000 (14:02 +0000)]
Delete mark_seen_cases declaration
From-SVN: r19265
Jeff Law [Fri, 17 Apr 1998 12:32:43 +0000 (06:32 -0600)]
stmt.c (mark_seen_cases): Make static and add prototype.
8
* stmt.c (mark_seen_cases): Make static and add prototype.
From-SVN: r19264
Jeff Law [Fri, 17 Apr 1998 12:32:41 +0000 (06:32 -0600)]
stmt.c (mark_seen_cases): Make static and add prototype.
�
* stmt.c (mark_seen_cases): Make static and add prototype.
From-SVN: r19263
Jeff Law [Fri, 17 Apr 1998 08:32:50 +0000 (02:32 -0600)]
Typos in last checkin.
From-SVN: r19262
Kaveh R. Ghazi [Fri, 17 Apr 1998 08:26:33 +0000 (08:26 +0000)]
Zap some warnings in target files:
* frame.c: Include stdlib.h and unistd.h to possibly get various
function prototypes. The fixproto script guarantees these header
files exist on the target system.
* libgcc2.c: Likewise.
* gthr-single.h (__gthread_mutex_lock, __gthread_mutex_trylock,
__gthread_mutex_unlock): Add __attribute__ ((__unused__)) to the
function parameters.
* libgcc2.c (__udiv_w_sdiv): Likewise.
From-SVN: r19261
Andreas Schwab [Fri, 17 Apr 1998 08:12:14 +0000 (08:12 +0000)]
Make-lang.in (c++.all.build): Don't depend on $(DEMANGLER_PROG)...
* Make-lang.in (c++.all.build): Don't depend on $(DEMANGLER_PROG),
which requires a working target compiler to build.
From-SVN: r19260
Jeffrey A Law [Fri, 17 Apr 1998 08:05:26 +0000 (08:05 +0000)]
tree.c (avoid_overlap): Add prototype.
* tree.c (avoid_overlap): Add prototype.
* spew.c (num_tokens): Add prototype.
(nth_noken, add_token, consume_token, debug_yychar): Likewise.
* search.c (dfs_check_overlap): Add prototype.
(dfs_no_overlap_yet): Likewise.
* pt.c (original_template): Add prototype.
(inline_needs_template_parms): Likewise.
(push_inline_template_parms_recursive): Likewise.
(retrieve_specialization, register_specialization): Likewise.
(print_candidates, reduce_template_parm_level): Likewise.
(build_template_decl, mark_template_parm): Likewise.
(tsubst_friend_function, get_bindings_real): Likewise.
* method.c (start_squangling): Add prototype.
(end_squangling, check_ktype, issue_ktype): Likewise.
(build_overloaded_scope_ref, check_btype): Likewise.
(build_mangled_template_parm_index): Likewise.
* lex.c (init_cpp_parse): Add prototype.
(handle_cp_pragma, handle_sysv_pragma): Likewise.
(reduce_cmp, token_cmp): Likewise.
* except.c (call_eh_info): Add prototype.
(push_eh_info, get_eh_info, get_eh_value, get_eh_type): Likewise.
(get_eh_caught, get_eh_handlers, do_pop_exception): Likewise.
* decl2.c (is_namespace_ancestor): Add prototype.
(namespace_ancestor, add_using_namespace): Likewise.
(ambiguous_decl): Likewise.
* decl.c (indent): Add prototype.
* call.c (add_template_candidate_real): Add prototype.
From-SVN: r19259
Jeff Law [Fri, 17 Apr 1998 07:52:26 +0000 (01:52 -0600)]
Typo fix from mrs.
From-SVN: r19258
Jeffrey A Law [Fri, 17 Apr 1998 07:39:23 +0000 (07:39 +0000)]
Forgot to check in last night.
From-SVN: r19257
Jason Merrill [Fri, 17 Apr 1998 01:57:57 +0000 (01:57 +0000)]
* decl2.c (build_expr_from_tree): Just return a PMF.
From-SVN: r19256
Mark Mitchell [Fri, 17 Apr 1998 00:47:20 +0000 (00:47 +0000)]
typeck2.c (process_init_constructor): Don't strip cv-qualifiers when doing initializations.
* typeck2.c (process_init_constructor): Don't strip cv-qualifiers
when doing initializations.
From-SVN: r19255
Jeff Law [Fri, 17 Apr 1998 00:40:39 +0000 (18:40 -0600)]
varasm.c (asm_output_bss): Add prototype.
* varasm.c (asm_output_bss): Add prototype.
(asm_output_aligned_bss): Likewise.
* unroll.c (verify_addresses): Add prototype.
* toplev.c: Add many prototypes. Too many to mention here.
* stmt.c (check_seenlabel): Add prototype.
* rtlanal.c (reg_set_p_1): Add prototype.
(reg_set_last_1): Likewise.
* reorg.c (find_dead_or_set_registers): Add prototype.
* regmove (try_auto_increment): Add prototype.
* regstack.c (pop_stack): Add prototype.
From-SVN: r19254
Jeff Law [Fri, 17 Apr 1998 00:36:09 +0000 (18:36 -0600)]
Forgot to commit with last batch of prototype changes.
From-SVN: r19253
Jason Merrill [Fri, 17 Apr 1998 00:26:13 +0000 (00:26 +0000)]
decl.c (duplicate_decls): Fix check for when it's safe to free the new decl.
* decl.c (duplicate_decls): Fix check for when it's safe to free
the new decl.
* pt.c (mangle_class_name_for_template): Don't pass a typedef type
to type_as_string.
From Mark Mitchell:
(unify): Use comptypes to compare type args.
From-SVN: r19252
Jeff Law [Thu, 16 Apr 1998 23:56:12 +0000 (17:56 -0600)]
loop.c (regs_patch_p): Add prototype.
* loop.c (regs_patch_p): Add prototype.
(add_label_notes, count_nonfixed_reads): Likewise.
(find_single_use_in_loop): Likewise.
(express_from): Surround prototype with #ifdef.
(giv_sort): Similarly.
* jump.c (mark_modified_reg): Add prototype.
* haifa-sched.c (is_prisky): Add prototype.
(queue_to_ready): Likewise.
* genextract.c (gen_insn): Add prototype.
* genemit.c (max_operand_1): Add prototype.
(max_operand_vec, print_code, gen_exp, gen_insn): Likewise.
(gen_expand, gen_explit, output_add_clobbers): Likewise.
(output_init_mov_optab): Likewise.
* genattrtab.c (attr_hash_add_rtx): Add prototype.
(attr_hash_add_string, write_length_unit_log): Likewise.
* genattr.c (init_range): Add prototype.
* combine.c (sets_function_arg_p): Add prototype.
From-SVN: r19251
Jeff Law [Thu, 16 Apr 1998 23:07:05 +0000 (17:07 -0600)]
expr.c (store_constructor_field): Add prototype.
* expr.c (store_constructor_field): Add prototype.
(memory_use_mode): Likewise.
* expmed.c (synth_mult): Add prototype.
(choose_multiplier, invert_mod2n): Likewise.
From-SVN: r19250
Jeffrey A Law [Thu, 16 Apr 1998 22:57:50 +0000 (22:57 +0000)]
except.c (push_eh_entry): Add prototype.
* except.c (push_eh_entry): Add prototype.
(pop_eh_entry, enqueue_eh_entry, dequeu_eh_entry): Likewise.
(call_get_eh_context, start_dynamic_cleanup): Likewise.
(start_dynamic_handler, can_throw): Likewise.
(output_exception_table_entry, scan_region): Likewise.
(eh_regs, set_insn_eh_region): Likewise.
Also fix typo in previous dwarfout change.
From-SVN: r19249
Jeffrey A Law [Thu, 16 Apr 1998 22:46:15 +0000 (22:46 +0000)]
dwarfout.c (decl_class_context): Add prototype.
* dwarfout.c (decl_class_context): Add prototype.
(output_inheritance_die, type_ok_for_scope): Likewise.
From-SVN: r19248
Jeffrey A Law [Thu, 16 Apr 1998 22:22:43 +0000 (22:22 +0000)]
* c-lex.c (skip_white_space_on_line): Add prototype.
From-SVN: r19247
Jeffrey A Law [Thu, 16 Apr 1998 22:14:41 +0000 (22:14 +0000)]
alias.c (record_set): Add prototype.
* alias.c (record_set): Add prototype.
(find_base_term, base_alias_check): Likewise.
From-SVN: r19246
Jeffrey A Law [Thu, 16 Apr 1998 22:08:49 +0000 (22:08 +0000)]
* function.c (assign_outer_stack_local): Make static and add prototype.
From-SVN: r19245
Jeffrey A Law [Thu, 16 Apr 1998 22:00:09 +0000 (22:00 +0000)]
haifa-sched.c (build_control_flow): Accept raw data as inputs instead of computing it locally.
* haifa-sched.c (build_control_flow): Accept raw data as inputs
instead of computing it locally. Callers changed.
(find_rgns): Several new arguments. Callers changed.
Generally clean up and comment better. Use dominators to
identify reducible loops. Convert some flag arrays to bitmaps.
Convert most of the code to work on pred/succ lists instead of
an edge table. Add comments for future improvements.
(schedule_insns): Allocate temporary tables for flow data, call
routines to compute flow data and pass it along to children as
arguments.
(debug_control_flow): Delete. Use dump_bb_data instead.
General cleanup + fix a bug or two.
From-SVN: r19244
Jeffrey A Law [Thu, 16 Apr 1998 21:53:42 +0000 (21:53 +0000)]
* basic-block.h (compute_dominators): Declare.
From-SVN: r19243
Jeff Law [Thu, 16 Apr 1998 21:42:19 +0000 (15:42 -0600)]
flow.c (dump_sbitmap, [...]): New debugging functions.
8
* flow.c (dump_sbitmap, dump_sbitmap_vector): New debugging
functions.
* basic-block.h: Declare them.
From-SVN: r19242
Jeff Law [Thu, 16 Apr 1998 21:42:16 +0000 (15:42 -0600)]
flow.c (dump_sbitmap, [...]): New debugging functions.
�
* flow.c (dump_sbitmap, dump_sbitmap_vector): New debugging
functions.
* basic-block.h: Declare them.
From-SVN: r19241
Jeff Law [Thu, 16 Apr 1998 17:22:52 +0000 (11:22 -0600)]
pt.c (build_template_parm_index): Add prototype.
8
* pt.c (build_template_parm_index): Add prototype.
From-SVN: r19240
Jeff Law [Thu, 16 Apr 1998 17:22:50 +0000 (11:22 -0600)]
pt.c (build_template_parm_index): Add prototype.
�
* pt.c (build_template_parm_index): Add prototype.
From-SVN: r19239
Jeff Law [Thu, 16 Apr 1998 16:48:43 +0000 (10:48 -0600)]
search.c (my_tree_cons): Don't clear words outside the newly allocated node.
8
* search.c (my_tree_cons): Don't clear words outside the
newly allocated node.
From-SVN: r19238
Jeff Law [Thu, 16 Apr 1998 16:48:41 +0000 (10:48 -0600)]
search.c (my_tree_cons): Don't clear words outside the newly allocated node.
�
* search.c (my_tree_cons): Don't clear words outside the
newly allocated node.
From-SVN: r19237
Jim Wilson [Thu, 16 Apr 1998 13:46:40 +0000 (13:46 +0000)]
Patch to fix x86 gcc.dg/980226-1.c failure report by Manfred Hollstein.
* reg-stack.c (constrain_asm_operands): Set n_alternatives to zero if
no operands.
From-SVN: r19236
Alexandre Petit-Bianco [Thu, 16 Apr 1998 11:49:09 +0000 (04:49 -0700)]
tree.c (build_expr_wfl): Use NULL_TREE if the file name is NULL.
�
* tree.c (build_expr_wfl): Use NULL_TREE if the file name is NULL.
Propagate TREE_SIDE_EFFECTS and TREE_TYPE iff the encapsulated
node is non NULL. Cache last file name and file name identifier node.
From-SVN: r19235
Alexandre Petit-Bianco [Thu, 16 Apr 1998 11:49:07 +0000 (04:49 -0700)]
tree.c (build_expr_wfl): Use NULL_TREE if the file name is NULL.
�
* tree.c (build_expr_wfl): Use NULL_TREE if the file name is NULL.
Propagate TREE_SIDE_EFFECTS and TREE_TYPE iff the encapsulated
node is non NULL. Cache last file name and file name identifier node.
From-SVN: r19234
Mark Mitchell [Thu, 16 Apr 1998 00:12:43 +0000 (00:12 +0000)]
c-common.c (declare_hidden_char_array): Use TYPE_DOMAIN to get the length of an array, not TREE_TYPE.
1998-04-15 Mark Mitchell <mmitchell@usa.net>
* c-common.c (declare_hidden_char_array): Use TYPE_DOMAIN to get
the length of an array, not TREE_TYPE.
From-SVN: r19233
Jeffrey A Law [Wed, 15 Apr 1998 14:33:54 +0000 (14:33 +0000)]
flow.c (sbitmap_union_of_successors): New function.
* flow.c (sbitmap_union_of_successors): New function.
* basic-block.h (sbitmap_union_of_successors): Declare it.
For completeness, we already had the other 3 variants. This one
is useful for backwards lazy code motion.
From-SVN: r19232
Jeff Law [Wed, 15 Apr 1998 14:12:03 +0000 (08:12 -0600)]
Forgot to commit.
From-SVN: r19231
Jim Wilson [Wed, 15 Apr 1998 12:41:32 +0000 (12:41 +0000)]
Fix host/build confusion with gas and gnu_ld flags.
* configure.in (gnu_ld): Rename to gnu_ld_flag before main loop.
Set gnu_ld to gnu_ld_flag inside main loop.
(gas): Likewise.
From-SVN: r19230
Dave Brolley [Wed, 15 Apr 1998 12:36:14 +0000 (12:36 +0000)]
com.c (init_parse): Now returns char* containing filename;
Tue Apr 14 15:51:37 1998 Dave Brolley <brolley@cygnus.com>
* com.c (init_parse): Now returns char* containing filename;
From-SVN: r19229
Dave Brolley [Wed, 15 Apr 1998 12:35:16 +0000 (12:35 +0000)]
lex.c (init_parse): Now returns char* containing the filename.
Wed Apr 15 15:34:44 1998 Dave Brolley <brolley@cygnus.com>
* lex.c (init_parse): Now returns char* containing the filename.
From-SVN: r19228
Dave Brolley [Wed, 15 Apr 1998 12:31:38 +0000 (12:31 +0000)]
toplev.c (compile_file): Call init_parse using new interface.
Wed Apr 15 14:50:05 1998 Dave Brolley <brolley@cygnus.com>
* toplev.c (compile_file): Call init_parse using new interface.
(init_lex): Remove declaration.
* c-lex.c (init_parse): Now returns char* containing filename.
From-SVN: r19227
John Carr [Wed, 15 Apr 1998 12:22:03 +0000 (12:22 +0000)]
errfn.c: Rework to avoid problems when HOST_WIDE_INT is longer than a pointer.
* errfn.c: Rework to avoid problems when HOST_WIDE_INT is longer
than a pointer.
Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r19226
Jeffrey A Law [Wed, 15 Apr 1998 11:37:21 +0000 (11:37 +0000)]
* pa.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing if not optimizing.
From-SVN: r19225
Jeff Law [Wed, 15 Apr 1998 10:19:22 +0000 (04:19 -0600)]
configure: Define DEFAULT_M4 by searching PATH.
* configure: Define DEFAULT_M4 by searching PATH.
* Makefile.in: Use DEFAULT_M4.
Forgot to commit Makefile.in for this change.
From-SVN: r19223
Michael Meissner [Wed, 15 Apr 1998 09:23:14 +0000 (09:23 +0000)]
Link in print-rtl.o to all gen* programs except gengenrtl
From-SVN: r19222
K. Richard Pixley [Wed, 15 Apr 1998 09:17:24 +0000 (09:17 +0000)]
fixincludes: discard empty C++ comments, as found in sys/time.h on hpux-11.0.
* fixincludes: discard empty C++ comments, as found in sys/time.h
on hpux-11.0.
From-SVN: r19221
Andreas Schwab [Wed, 15 Apr 1998 01:49:23 +0000 (01:49 +0000)]
m68k.md (adddi3, subdi3): Optimize for constant operand.
* config/m68k/m68k.md (adddi3, subdi3): Optimize for constant
operand.
From-SVN: r19220
Jeff Law [Wed, 15 Apr 1998 00:26:35 +0000 (18:26 -0600)]
emit-rtl.c (operand_subword): Rework slightly to avoid bogus warning from previous change.
8
* emit-rtl.c (operand_subword): Rework slightly to avoid
bogus warning from previous change.
From-SVN: r19219
Jeff Law [Wed, 15 Apr 1998 00:26:34 +0000 (18:26 -0600)]
emit-rtl.c (operand_subword): Rework slightly to avoid bogus warning from previous change.
�
* emit-rtl.c (operand_subword): Rework slightly to avoid
bogus warning from previous change.
From-SVN: r19218
Craig Burley [Wed, 15 Apr 1998 00:19:01 +0000 (20:19 -0400)]
Changes from Craig. See ChangeLog for details.
From-SVN: r19217
Richard Henderson [Tue, 14 Apr 1998 23:50:17 +0000 (16:50 -0700)]
alpha.md: Revert Oct 27 change...
* alpha.md: Revert Oct 27 change, as it is superceeded by Kenner's
Nov 8 find_replacement change. Move decls of get_unaligned_address
* alpha.h: ... here.
From-SVN: r19216
John Carr [Tue, 14 Apr 1998 23:10:49 +0000 (23:10 +0000)]
function.c (assign_parms): Initialize unsignedp before passing its pointer to promote_mode.
* function.c (assign_parms): Initialize unsignedp before passing
its pointer to promote_mode.
From-SVN: r19215
Jeff Law [Tue, 14 Apr 1998 22:55:24 +0000 (16:55 -0600)]
Resync date for the benefit of the snapshot script.
From-SVN: r19214
John Carr [Tue, 14 Apr 1998 21:00:57 +0000 (21:00 +0000)]
genattrtab.c (check_attr_test): Handle MATCH_INSN like MATCH_OPERAND.
* genattrtab.c (check_attr_test): Handle MATCH_INSN like MATCH_OPERAND.
(write_test_expr): Allow MATCH_INSN.
From-SVN: r19213
Paul Eggert [Tue, 14 Apr 1998 20:58:42 +0000 (20:58 +0000)]
* install.texi: Update section on warnings that can be safely ignored.
From-SVN: r19212
Jeff Law [Tue, 14 Apr 1998 20:53:21 +0000 (14:53 -0600)]
Fix thinko.
From-SVN: r19211
Jim Wilson [Tue, 14 Apr 1998 14:56:05 +0000 (14:56 +0000)]
Fix mips64vr4100-elf build failure.
* mips.md (reload_outdi): Change the scratch mode from DImode to
TImode. New variable scratch, used instead of operand[2] in template.
Add code for MIPS16 HILO_REGNUM case where output reg is not M16_REG_P.
From-SVN: r19210
Michael Meissner [Tue, 14 Apr 1998 13:20:50 +0000 (13:20 +0000)]
If -Os, set MOVE_RATIO to 3, not 15
From-SVN: r19209
Krister Walfridsson [Tue, 14 Apr 1998 10:34:37 +0000 (12:34 +0200)]
configure: Define DEFAULT_M4 by searching PATH.
* configure: Define DEFAULT_M4 by searching PATH.
* Makfile.in: Use DEFAULT_M4.
From-SVN: r19208
Krister Walfridsson [Tue, 14 Apr 1998 10:33:09 +0000 (12:33 +0200)]
* i386/bsd386.h (ASM_OUTPUT_ALIGN): Redefine.
From-SVN: r19207
Jeffrey A Law [Tue, 14 Apr 1998 09:53:08 +0000 (09:53 +0000)]
svr4.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
* svr4.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
(ASM_FINISH_DECLARE_OBJECT): Likewise.
From-SVN: r19206
Jeffrey A Law [Tue, 14 Apr 1998 08:32:34 +0000 (08:32 +0000)]
* Idea and part of the patch from HJ.
* Makefile.in: auto-host.h renamed from auto-config.h. All references
changed.
(distclean): Remove auto-build.h too.
* configure.in: Rename host autoconf generated file to auto-host.h.
If host != build, then run autoconf to generate auto-build.h for
the build machine and include it in build_xm_files.
Check for wait.h and sys/wait.h.
From-SVN: r19205
Jeff Law [Tue, 14 Apr 1998 08:04:21 +0000 (02:04 -0600)]
combine.c (simplify_rtx, [...]): Respect value of TRULY_NOOP_TRUNCATION.
8
* combine.c (simplify_rtx, case TRUNCATE): Respect value of
TRULY_NOOP_TRUNCATION.
From-SVN: r19204
Jeff Law [Tue, 14 Apr 1998 08:04:17 +0000 (02:04 -0600)]
combine.c (simplify_rtx, [...]): Respect value of TRULY_NOOP_TRUNCATION.
�
* combine.c (simplify_rtx, case TRUNCATE): Respect value of
TRULY_NOOP_TRUNCATION.
From-SVN: r19203
Jason Merrill [Mon, 13 Apr 1998 11:38:16 +0000 (07:38 -0400)]
* tree.h (BINFO_OFFSET_ZEROP): Use integer_zerop.
From-SVN: r19199
Benjamin Kosnik [Mon, 13 Apr 1998 11:13:36 +0000 (11:13 +0000)]
decl.c (duplicate_decls): Don't warn for redundant decls if friend: let add_friend take care of it.
x
Fri Apr 10 12:16:49 1998 Benjamin Kosnik <bkoz@loony.cygnus.com>
* decl.c (duplicate_decls): Don't warn for redundant decls if
friend: let add_friend take care of it.
Fixes g++/15307
From-SVN: r19198
Benjamin Kosnik [Mon, 13 Apr 1998 11:13:34 +0000 (11:13 +0000)]
decl.c (duplicate_decls): Don't warn for redundant decls if friend: let add_friend take care of it.
�
Fri Apr 10 12:16:49 1998 Benjamin Kosnik <bkoz@loony.cygnus.com>
* decl.c (duplicate_decls): Don't warn for redundant decls if
friend: let add_friend take care of it.
Fixes g++/15307
From-SVN: r19197
Jason Merrill [Mon, 13 Apr 1998 11:05:58 +0000 (07:05 -0400)]
fix merge breakage
From-SVN: r19196
Jeff Law [Mon, 13 Apr 1998 01:32:01 +0000 (19:32 -0600)]
Initial revision
From-SVN: r19176