law [Thu, 22 Jan 1998 23:13:28 +0000 (23:13 +0000)]
1998-01-22 scott snyder <snyder@d0sgif.fnal.gov>
* mips.c (function_prologue): Use HARD_FRAME_POINTER_REGNUM in
.frame directive instead of FRAME_POINTER_REGNUM.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17451
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 22 Jan 1998 23:10:15 +0000 (23:10 +0000)]
* m68k.h (TARGET_SWITCHES): -mcpu32 now clears MASK_68881.
(MACHINE_STATE_m68010_up): Replaced __mc68332__ with __mcpu32__.
* m68k/m68k-none.h(CPP_FPU_SPEC): Update relative to TARGET_SWITCHES.
(CPP_SPEC, ASM_SPEC, CC1_SPEC): Likewise.
(CPP_SPEC): -m68332 defines both __mc68332 and __mcpu32__.
* m68k/t-m68kbare (MULTILIB_OPTIONS): Add mcpu32.
(MULTILIB_MATCHES): -m68332 now uses mcpu32 libraries, not m68000.
(MULTILIB_EXCEPTIONS): Don't build 68881 libraries for m68000,
mcpu32 or m5200.
* longlong.h: Replace __mc68332__ with __mcpu32__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17450
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 22 Jan 1998 22:24:37 +0000 (22:24 +0000)]
Add intel site.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17449
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 22 Jan 1998 22:08:11 +0000 (22:08 +0000)]
* decl2.c (grok_x_components): Always call grok_enum_decls.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17448
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 22 Jan 1998 19:55:42 +0000 (19:55 +0000)]
Bump for snapshot
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17446
138bc75d-0d04-0410-961f-
82ee72b054a4
brendan [Thu, 22 Jan 1998 15:42:52 +0000 (15:42 +0000)]
lose text after #endif
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17445
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 22 Jan 1998 14:48:58 +0000 (14:48 +0000)]
Fix powerpc/rs6000 (subreg:SF (mem:SI ...)) reload problem.
* reload.c (push_reload): In WORD_REGISTER_OPERATIONS code, add test
to require the SUBREG mode to be smaller than the SUBREG_REG mode.
* reload1.c (eliminate_regs): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17444
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 22 Jan 1998 13:49:29 +0000 (13:49 +0000)]
* regmove.c (find_matches): Initialize matches->earlyclobber too.
Should fix pa bootstrap comparison failures.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17443
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 22 Jan 1998 11:04:02 +0000 (11:04 +0000)]
new
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17442
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 22 Jan 1998 11:03:56 +0000 (11:03 +0000)]
Wed Jan 21 10:29:57 1998 Kriang Lerdsuwanakij <lerdsuwa@scf.usc.edu>
* pt.c (coerce_template_parms): Don't access elements of ARGLIST
that is not really present. Substitute default arguments in
template template arguments. Correctly convert TEMPLATE_DECL to
TEMPLATE_TEMPLATE_PARM.
(comp_template_args): TEMPLATE_DECL and TEMPLATE_TEMPLATE_PARM
are no longer treated specially here.
* parse.y (template_template_parm): Fix copy error.
* decl.c (grokdeclarator): Warn about missing `typename' for nested
type created from template template parameters.
* parse.y (bad_parm): Likewise
* class.c (finish_struct): Handle TEMPLATE_TEMPLATE_PARM.
(push_nested_class): Likewise.
* cp-tree.def (TEMPLATE_TEMPLATE_PARM): New tree code.
* cp-tree.h (DECL_TEMPLATE_TEMPLATE_PARM_P): New macro.
(copy_template_template_parm): Declare.
* decl.c (arg_looking_for_template): New variable.
(lookup_name_real): Handle TEMPLATE_TEMPLATE_PARM.
Try to return TEMPLATE_DECL or TEMPLATE_TEMPLATE_PARM
node if arg_looking_for_template is nonzero.
(pushdecl): Handle TEMPLATE_TEMPLATE_PARM.
(grok_op_properties, xref_tag, xref_basetypes): Likewise.
(grokdeclarator): Handle TEMPLATE_DECL.
* decl2.c (constructor_name_full): Handle TEMPLATE_TEMPLATE_PARM.
* error.c (dump_type): Add TEMPLATE_DECL and TEMPLATE_TEMPLATE_PARM.
(dump_type_prefix, dump_type_suffix) Handle TEMPLATE_TEMPLATE_PARM.
(dump_decl): Handle unnamed template type parameters.
Handle template template parameters.
(dump_function_name): Handle template template parameters.
* init.c (is_aggr_typedef, is_aggr_type, get_aggr_from_typedef):
Handle TEMPLATE_TEMPLATE_PARM.
* method.c (build_template_template_parm_names): New function.
(build_template_parm_names): Handle TEMPLATE_DECL.
(build_overload_nested_name, build_overload_name):
Handle TEMPLATE_TEMPLATE_PARM.
* parse.y (maybe_identifier): New nonterminal.
(template_type_parm): Use it.
(template_template_parm, template_arg1): New nonterminal.
(template_parm): Add template_template_parm rules.
(template_arg): Set processing_template_arg.
(template_arg1): Rules moved from template_arg.
(primary, nonnested_type): Set arg_looking_for_template if we are
processing template arguments.
* pt.c (begin_member_template_processing): Handle TEMPLATE_DECL.
(process_template_parm): Handle template template parameters.
(coerce_template_parms, comp_template_args): Likewise.
(mangle_class_name_for_template, lookup_template_class): Likewise.
(uses_template_parms): Handle TEMPLATE_DECL and
TEMPLATE_TEMPLATE_PARM.
(current_template_args): Handle TEMPLATE_DECL.
(tsubst, tsubst_copy, unify): Handle TEMPLATE_TEMPLATE_PARM.
* search.c (dfs_walk, dfs_record_inheritance):
Handle TEMPLATE_TEMPLATE_PARM.
* tree.c (copy_template_template_parm): New function.
(mapcar): Handle TEMPLATE_TEMPLATE_PARM.
* typeck.c (comptypes): Handle TEMPLATE_TEMPLATE_PARM.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17441
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 22 Jan 1998 01:44:04 +0000 (01:44 +0000)]
* alpha.md (abssf2, absdf2): Disable in IEEE mode.
(negsf2, negdf2): Use proper subtract in IEEE mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17440
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 22 Jan 1998 01:39:33 +0000 (01:39 +0000)]
* configure.in: Revert 3 Jan change for alpha-linux-gnulibc1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17439
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 21 Jan 1998 06:48:07 +0000 (06:48 +0000)]
Fix typo in yesterday's change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17438
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 21 Jan 1998 00:11:44 +0000 (00:11 +0000)]
update
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17437
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 20 Jan 1998 17:02:10 +0000 (17:02 +0000)]
Remove more bytecode stuff.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17436
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 20 Jan 1998 10:02:05 +0000 (10:02 +0000)]
More bytecode stuff disappears.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17435
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 20 Jan 1998 08:59:50 +0000 (08:59 +0000)]
Remove more bytecode stuff.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17434
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 20 Jan 1998 08:57:27 +0000 (08:57 +0000)]
More bytecode stuff going away.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17433
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 20 Jan 1998 08:55:07 +0000 (08:55 +0000)]
* Makefile.in: Remove all bytecode support.
(OBJS): Make sure last entry is a real object file, not EXTRA_OBJS.
* emit-rtl.c: Remove all bytecode support.
* expr.c, expr.h function.c, integrate.c: Likewise.
* output.h, regclass.c, rtl.h, stmt.c, toplev.c: Likewise.
* tree.h, varasm.c: Likewise.
* bi-*, bc-*: Delete bytecode related files.
Bytecode suppors disappears :-)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17432
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 20 Jan 1998 08:24:58 +0000 (08:24 +0000)]
* configure.in: Check for atol.
Forgot to commit this one a few days ago.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17431
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 20 Jan 1998 08:01:08 +0000 (08:01 +0000)]
* mips/mips.md (divsi3,divdi3,modsi3,moddi3,udivsi3,udivdi3,
umodsi3,umoddi3): Handle mips16 div/mod by a constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17430
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 20 Jan 1998 07:28:54 +0000 (07:28 +0000)]
Fix ChangeLog entry format.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17429
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 20 Jan 1998 07:22:47 +0000 (07:22 +0000)]
Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17428
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 20 Jan 1998 00:57:39 +0000 (00:57 +0000)]
tests from mark
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17427
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 19 Jan 1998 22:41:40 +0000 (22:41 +0000)]
* decl.c (start_decl): Don't allow duplicate definitions of static
data members.
* call.c (build_user_type_conversion_1): Handle user-defined
template conversion operators correctly.
* decl2.c (build_expr_from_tree): Issue an error message if the
object in a COMPONENT_REF is a TEMPLATE_DECL.
* typeck.c (incomplete_type_error): Handle TEMPLATE_TYPE_PARMs.
* class.c (is_local_class): New function.
* cp-tree.h (is_local_class): Declare it.
(last_tree): Likewise.
(begin_tree): Likewise.
(end_tree): Likewise.
(lookup_template_class): Change prototype.
* decl.c (cp_finish_decl): Check for NULL where necesary.
Consider FUNCTION_DECLS to declare objects with top-level binding,
when calling make_decl_rtl.
(grokdeclarator): Give members of local classes internal linkage.
(start_function): Remove declaration of last_tree.
(finish_function): Set flag_keep_inline_functions around call to
rest_of_compilation if we are processing a member function in a
local class.
(start_method): Call push_template_decl for member functions of
local classes in template functions.
* decl2.c (import_export_decl): Don't give external linkage to
instantiations of templates with internal linkage.
* parse.y (last_tree): Remove declaration.
(template_type): Pass extra parameter to lookup_template_class.
(self_template_type): Likewise.
(structsp): Move call to reset_specialization into left_curly.
(left_curly): Call reset_specialization, and begin_tree.
* pt.c (saved_trees): New variable.
(mangle_class_name_for_template): Change prototype. Use
additional function context to name local classes in templates
correctly.
(classtype_mangled_name): Pass the context.
(push_template_decl): Handle local classes and templates, and
member functions for such classes.
(convert_nontype_parameter): Fix handling of pointer-to-member
constants.
(lookup_template_class): Handle local classes in templates.
(tsubst): Likewise. Don't assume that template instantiations
have external linkage; pay attention to the template declaration.
(mark_decl_instantiated): Likewise.
(begin_tree): New function.
(end_tree): Likewise.
* decl.c (xref_basetypes): Don't call complete_type for basetypes
that involve template parameters; that can lead to infinite
recursion unnecessarily.
* pt.c (register_specialization): Do not register specializations
that aren't ready to be registered yet.
(check_explicit_specialization): Handle explicit specialization of
constructors and destructors.
(build_template_decl): New function.
(push_template_delc): Handle out-of-class specializations of
member templates.
* pt.c (check_explicit_specialization): Set up the template
information before registering the specialization.
(coerce_template_parms): Fix thinko.
(tsubst): Handle specializations of member templates correctly.
* class.c (finish_struct_methods): Remove calls to
check_explicit_specialization from here.
(finish_struct): And insert them here.
* cp-tree.h (perform_qualification_conversions): New function.
(perform_array_to_pointer_conversion): Likewise.
(begin_explicit_instantiation): Likewise.
(end_explicit_instantiation): Likewise.
(determine_specialization): Renamed from
determine_explicit_specialization.
(comp_template_parms): New function.
(processing_explicit_instantiation): New variable.
* cvt.c (perform_qualification_conversions): New function.
(perform_array_to_pointer_conversion): Likewise.
* decl.c (duplicate_decls): Don't consider template functions
alike unless they have the same parameters. Refine handling of
instantiation/specialization mismatches.
(start_decl): Don't call pushdecl for template specializations,
since they don't affect overloading.
(start_function): Likewise
(grokfndecl): Call check_explicit_specialization a little later.
Don't call duplicate_decls for memberm template specializations.
(grokdeclarator): Don't update template_count for classes that are
themselves specializations. Remove use of `2' as parameter to
grokfndecl since that value isn't used.
* lex.c (cons_up_default_function): Save and restore
processing_explicit_instantiation around calls to grokfield.
* parse.y (finish_member_template_decl): New function.
(component_decl_1): Use it.
(fn.def2): Likewise.
(template_arg_list_opt): New nonterminal.
(template_type): Use it.
(self_template_type): Likewise.
(template_id): Likewise.
(object_template_id): Likewise.
(notype_template_declarator): Likwise.
(begin_explicit_instantiation): Likewise.
(end_explicit_instantiation): Likewise.
(explicit_instantiation): Use them.
* pt.c (coerce_template_parms): Add parameters.
(processing_explicit_instantiation): New variable.
(convert_nontype_parameter): New function.
(determine_overloaded_function): Likewise.
(begin_explicit_instantiation): Likewise.
(end_explicit_instantiation): Likewise.
(retrieve_specialization): Likewise.
(register_specialization): Likewise.
(processing_explicit_specialization): Removed.
(determine_specialization): Handle specializations of member
functions of template class instantiations.
(check_explicit_specialization): Refine to conform to standard.
(comp_template_parms): New function.
(coerce_template_parms): Call convert_nontype_parameter.
(tsubst): Refine handling of member templates. Use
register_specialization.
(instantiate_template): Use retrieve_specialization.
(do_decl_instantiation): Likewise.
(instantiate_decl): Likewise.
(type_unification): Improve handling of explict template
arguments.
* tree.c (mapcar): Return error_mark_node, rather than aborting,
on VAR_DECLS, FUNCTION_DECLS, and CONST_DECLS.
* typeck.c (build_unary_op): Call determine_specialization, rather
than determine_explicit_specialization.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17426
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 19 Jan 1998 21:54:09 +0000 (21:54 +0000)]
* i386.md (push): Prohibit symbolic constants if flag_pic.
(movsi+1): Likewise for move to non-register.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17425
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Mon, 19 Jan 1998 18:32:48 +0000 (18:32 +0000)]
Fix 32 bit host alpha ev6 target failure.
* alpha.c (mode_mask_operand): Accept 0xffffffff on 32 bit host.
(print_operand): Handle 0xffffffff on 32 bit host.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17424
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Mon, 19 Jan 1998 13:57:04 +0000 (13:57 +0000)]
Fix build/host/target configure in settting of thread_file.
* configure.in (thread_file): Rename uses before main loop to
target_thread_file. Initialize to empty in main loop. Set thread_file
to target_thread_file after main loop if not set.
* configure: Rebuild.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17423
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 19 Jan 1998 13:21:59 +0000 (13:21 +0000)]
* cvt.c (build_up_reference): A TARGET_EXPR has side effects.
14507
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17422
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Mon, 19 Jan 1998 11:16:37 +0000 (11:16 +0000)]
Fix time/space problem when (const_int 1) occurs in conflict_list.
* genattrtab.c (find_and_mark_used_attributes): Handle CONST_INT.
(add_values_to_cover): Revert last change (which had no ChangeLog
entry).
(simplify_with_current_value_aux): Handle CONST_INT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17421
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 19 Jan 1998 10:12:31 +0000 (10:12 +0000)]
* unprotoize.c: Define UNPROTOIZE first, to actually take effect.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17420
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 19 Jan 1998 10:09:47 +0000 (10:09 +0000)]
* configure.in: Add cpp stringify test.
* acconfig.h (HAVE_CPP_STRINGIFY): New tag.
* gengenrtl.c: Use it.
* configure, config.in: Rebuild.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17419
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 19 Jan 1998 09:39:38 +0000 (09:39 +0000)]
* Makefile.in (genrtl.c genrtl.h): Add dummy command for GNU make.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17418
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 19 Jan 1998 09:37:12 +0000 (09:37 +0000)]
* configure.in: Find declaration for sbrk.
* acconfig.h (NEED_DECLARATION_SBRK): New tag.
* config.in, configure: Rebuild.
* mips-tfile.c: Properly protect declaration of sbrk and free.
* toplev.c: Properly protect declaration of sbrk.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17417
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 18 Jan 1998 20:15:24 +0000 (20:15 +0000)]
* alpha.c (alpha_handle_trap_shadows): Ignore CLOBBERs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17416
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 18 Jan 1998 20:03:42 +0000 (20:03 +0000)]
Typo applying the last patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17415
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 18 Jan 1998 20:02:04 +0000 (20:02 +0000)]
* f_back (f/runtime/libI77/backspace.c): use type `uiolen'
to determine size of record length specifier.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17414
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 18 Jan 1998 00:52:49 +0000 (00:52 +0000)]
* alpha/xm-winnt.h (HAS_INIT_SECTION): Undefine.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17413
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 18 Jan 1998 00:49:05 +0000 (00:49 +0000)]
Fix various bugs in previous change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17412
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 18 Jan 1998 00:32:36 +0000 (00:32 +0000)]
* lib/c-torture.exp: Look for .x files instead of .cexp files.
* lib/f-torture.exp: Similarly.
* gcc.c-torture: Rename all .cexp files to .x files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17411
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 18 Jan 1998 00:22:34 +0000 (00:22 +0000)]
New test from Joern.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17410
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 18 Jan 1998 00:01:22 +0000 (00:01 +0000)]
* emit_rtl.c (init_emit_once): Ensure that potential aliasing
between frame_pointer_rtx, hard_frame_pointer_rtx, and
arg_pointer_rtx is respected in initialization.
(init_emit_once): Use gen_rtx_raw_REG() to create
return_address_pointer_rtx.
* rtl.h: Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17409
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 17 Jan 1998 23:56:18 +0000 (23:56 +0000)]
* configure.in (i960-wrs-vxworks): Default to latest vxworks release.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17408
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 17 Jan 1998 23:52:16 +0000 (23:52 +0000)]
Flip expectedness
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17407
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 17 Jan 1998 23:48:34 +0000 (23:48 +0000)]
Rebuild configure files after recent changes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17406
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 17 Jan 1998 23:08:03 +0000 (23:08 +0000)]
* combine.c (force_to_mode, nonzero_bits): Correctly optimize
constant offset computations from objects with known alignment in
the presence of STACK_BIAS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17405
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 17 Jan 1998 23:00:46 +0000 (23:00 +0000)]
* acconifg.h (NEED_DECLARATION_ATOL): New declaration to check for.
* rtl.c (atol): Only provide the declaration if NEED_DECLARATION_ATOL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17404
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 17 Jan 1998 22:50:40 +0000 (22:50 +0000)]
* varasm.c (immed_double_const): Add casts to HOST_WIDE_INT where
necessary.
(const_hash): Hash val is unsigned long.
(SYMHASH): Likewise.
* tree.c (TYPE_HASH): Type of hash val is unsigned long.
* print-tree.c (print_node_brief): HOST_PTR_PRINTF format wants a
char pointer, not HOST_WIDE_INT.
(print_node): Likewise. Also hash is unsigned long not
HOST_WIDE_INT.
* cse.c (canon_hash): Hash is unsigned long not HOST_WIDE_INT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17403
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 17 Jan 1998 22:39:10 +0000 (22:39 +0000)]
* explow.c (optimize_save_area_alloca): New function for targets
where SETJMP_VIA_SAVE_AREA is true.
(allocate_dynamic_stack_space): On SETJMP_VIA_SAVE_AREA targets,
compute the amount of stack space needed should we find later that
setjmp is never called by this function, stuff rtl for this inside
a REG_NOTE of the final SET of stack_pointer_rtx.
* toplev.c (rest_of_compilation): If SETJMP_VIA_SAVE_AREA and
current_function_calls_alloca, call optimize_save_area_alloca.
CVS ----------------------------------------------------------------------
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17402
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 17 Jan 1998 22:20:32 +0000 (22:20 +0000)]
* i386.md: Remove redundant integer push patterns.
Don't bother checking for TARGET_PUSH_MEMORY when
pushing constants or registers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17401
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 17 Jan 1998 22:00:51 +0000 (22:00 +0000)]
* rtl.c (read_rtx): Initialize list_rtx to NULL, not NULL_RTX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17400
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 17 Jan 1998 21:50:05 +0000 (21:50 +0000)]
* loop.c (find_and_verify_loops): When attempting to move insns from
inside the loop outside the loop, create a BARRIER if no suitable
one was found.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17399
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 17 Jan 1998 21:39:07 +0000 (21:39 +0000)]
* libU77/configure.in (sys/param.h,sys/times.h): Check.
(times,alarm): Likewise.
* libU77/config.h.in (HAVE_SYS_PARAM_H, HAVE_SYS_TIMES_H,
HAVE_ALARM, HAVE_TIMES): New defs.
* libU77/alarm_.c: Conditionalize for target platform. Set errno
to ENOSYS if target libc doesn't have the function.
* libU77/dtime_.c: Likewise.
* libU77/etime_.c: Likewise.
* libU77/sys_clock_.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17398
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 17 Jan 1998 21:37:48 +0000 (21:37 +0000)]
* configure.in (NON_UNIX_STDIO): Define if MINGW32.
(NON_ANSI_RW_MODE): Do not define for CYGWIN32 or MINGW32.
* libI77/rawio.h: Don't providing conflicting declarations for
read() and write(). MINGW32 header files use "const" quals.
* libF77/s_paus.c: _WIN32 does not have pause().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17397
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 17 Jan 1998 21:33:56 +0000 (21:33 +0000)]
* pexecute.c (pexecute): New function for mingw32. Supports pipes.
(pwait): New function for mingw32.
* gcc.c (execute): Mingw32 pexecute() supports pipes, but cygwin32
pipe support is broken for now.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17396
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 17 Jan 1998 21:30:39 +0000 (21:30 +0000)]
Add mingw32 support.
* pexecute.c (pexecute): New function for mingw32. Supports pipes.
(pwait): New function for mingw32.
* config.table (i[3456]86-*-mingw32*): Support for i386-mingw32.
* config/mt-mingw32: New file.
* xmalloc.c (first_break): Not used for mingw32.
(xmalloc_set_program_name): Don't use sbrk on mingw32.
(xmalloc): Likewise.
(xrealloc): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17395
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 17 Jan 1998 21:23:29 +0000 (21:23 +0000)]
* choose-temp.c: Sync with gcc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17394
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 17 Jan 1998 20:37:23 +0000 (20:37 +0000)]
* reorg.c: #include "expr.h" for rtx prototypes.
* Makefile.in (reorg.o): Depend on expr.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17393
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 17 Jan 1998 20:29:12 +0000 (20:29 +0000)]
8
* Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and
local_prefix to sub-make invocations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17392
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 17 Jan 1998 20:28:35 +0000 (20:28 +0000)]
d
* Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and
local_prefix to sub-make invocations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17391
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 17 Jan 1998 20:28:11 +0000 (20:28 +0000)]
Sat Jan 17 21:28:08 1998 Pieter Nagel <pnagel@epiuse.co.za>
* Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and
local_prefix to sub-make invocations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17390
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 17 Jan 1998 20:23:59 +0000 (20:23 +0000)]
* objc-parse.c: Recognize protocol qualifiers in class definitions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17389
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 17 Jan 1998 20:20:09 +0000 (20:20 +0000)]
* jump.c (jump_optimize): Remove Dec 17, 1997 chance in
favor of an equivalent change from gcc-2.8.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17388
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 17 Jan 1998 20:15:48 +0000 (20:15 +0000)]
* i386/x-sco5 (CC): Remove trailing whitespace.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17387
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 17 Jan 1998 20:09:09 +0000 (20:09 +0000)]
* gengenrtl.c (type_from_format): De-ANSIfy function signature.
(accessor_from_format): Likewise.
(xmalloc): New function for use when linking with alloca.o.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17386
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 17 Jan 1998 20:04:38 +0000 (20:04 +0000)]
* configure.in: Check makefile fragments in the source
directory.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17385
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 16 Jan 1998 23:56:07 +0000 (23:56 +0000)]
* frame.c (find_fde): Correct FDE's upper bound.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17382
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 16 Jan 1998 23:55:44 +0000 (23:55 +0000)]
* error.c (dump_decl): For enum tags, output the tag, not its value.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17381
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 16 Jan 1998 16:21:54 +0000 (16:21 +0000)]
* gengenrtl.c (DEF_RTL_EXPR): Provide a K&R compliant version.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17380
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 16 Jan 1998 09:16:10 +0000 (09:16 +0000)]
`
* calls.c (expand_call): Move #ifdef code out of macro argument
lists.
(emit_library_call, emit_library_call_value): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17379
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 16 Jan 1998 09:16:09 +0000 (09:16 +0000)]
d
* calls.c (expand_call): Move #ifdef code out of macro argument
lists.
(emit_library_call, emit_library_call_value): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17378
138bc75d-0d04-0410-961f-
82ee72b054a4
brendan [Fri, 16 Jan 1998 08:59:59 +0000 (08:59 +0000)]
tweak comment
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17377
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 15 Jan 1998 23:46:28 +0000 (23:46 +0000)]
* config.shared (FLAGS_TO_PASS): Add SHELL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17376
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 15 Jan 1998 23:44:54 +0000 (23:44 +0000)]
* rtl.def (INLINE_HEADER): Fix bug exposed by gen_rtx_FOO changes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17375
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 15 Jan 1998 23:42:59 +0000 (23:42 +0000)]
Minor tweaks & updates.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17374
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 15 Jan 1998 23:39:59 +0000 (23:39 +0000)]
* configure.in: check whether host and target makefile
fragments exist before adding them to *_makefile_frag
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17373
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 15 Jan 1998 23:38:58 +0000 (23:38 +0000)]
Work around VxWorks bogus problems.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17372
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 15 Jan 1998 03:36:46 +0000 (03:36 +0000)]
Initial revision
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17365
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 15 Jan 1998 00:01:51 +0000 (00:01 +0000)]
Bump for snapshot.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17358
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 14 Jan 1998 23:10:50 +0000 (23:10 +0000)]
* alias.c: Change all uses of gen_rtx(FOO...) to gen_rtx_FOO;
change gen_rtx(expr...) to gen_rtx_fmt_foo(expr...).
* caller-save.c, calls.c, combine.c, cse.c: Likewise.
* dwarf2out.c, except.c, explow.c, expmed.c, expr.c: Likewise.
* final.c, flow.c, function.c, genpeep.c, haifa-sched.c: Likewise.
* halfpic.c, integrate.c, jump.c, local-alloc.c, loop.c: Likewise.
* profile.c, recog.c, reg-stack.c, regclass.c, regmove.c: Likewise.
* reload.c, reload1.c, reorg.c, sched.c, stmt.c, stupid.c: Likewise.
* unroll.c, varasm.c: Likewise.
* config/alpha/alpha.c, config/alpha/alpha.md: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17357
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 14 Jan 1998 21:44:01 +0000 (21:44 +0000)]
Fix minor lossage brought over in gcc-2.8.0 merge.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17356
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 14 Jan 1998 20:57:58 +0000 (20:57 +0000)]
Bring in final gcc-2.8.0 changes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17355
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 14 Jan 1998 18:34:35 +0000 (18:34 +0000)]
* mips.h: Fix some type-o's from a previous change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17353
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 14 Jan 1998 00:24:33 +0000 (00:24 +0000)]
* loop.c (check_dbra_loop): Make sure initial value is a
CONST_INT before trying to normalize it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17352
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 13 Jan 1998 22:27:40 +0000 (22:27 +0000)]
* sco5.h (ASM_OUTPUT_SECTION_NAME): Refresh from ../svr4.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17351
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 13 Jan 1998 21:45:28 +0000 (21:45 +0000)]
* cppexp.c: Include gansidecl.h
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17350
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 13 Jan 1998 21:43:41 +0000 (21:43 +0000)]
* svr4.h (LINK_SPEC): Never specify -h.
* ptx4.h (LINK_SPEC): Likewise.
* rs6000/sysv4.h (LINK_SPEC): Likewise.
* sparc/sol2.h (LINK_SPEC): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17349
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 13 Jan 1998 21:42:33 +0000 (21:42 +0000)]
Update copyrights.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17348
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 13 Jan 1998 21:40:27 +0000 (21:40 +0000)]
* c-typeck.c (comptypes): Exit early on NULL input.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17347
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 13 Jan 1998 21:38:31 +0000 (21:38 +0000)]
* haifa-sched.c (schedule_insns): Correctly remove inter-block
dependencies after reload.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17346
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 13 Jan 1998 21:21:05 +0000 (21:21 +0000)]
* rs6000/linux.h (CPP_PREDEFINES): Add -D__ELF__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17345
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 13 Jan 1998 21:13:28 +0000 (21:13 +0000)]
* alpha/vms.h (DIR_SEPARATOR): define
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17344
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 13 Jan 1998 21:10:35 +0000 (21:10 +0000)]
* Makefile.in (stamp-proto): Remove.
(protoize.o, unprotoize.o): Straightforward compile.
* unprotoize.c: Define UNPROTOIZE here, not in the Makefile.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17343
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 13 Jan 1998 21:06:08 +0000 (21:06 +0000)]
* lang-options.h: Add missing options.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17342
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 13 Jan 1998 21:01:03 +0000 (21:01 +0000)]
* config-ml.in (multi-do): LDFLAGS must include multilib
designator.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17341
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 13 Jan 1998 20:58:47 +0000 (20:58 +0000)]
* i386/cygwin32.h (STRIP_NAME_ENCODING): Define for Win32 to strip
off the trailing @[NUM] added by ENCODE_SECTION_INFO.
Also update copyright forgotten in last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17340
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 13 Jan 1998 20:54:16 +0000 (20:54 +0000)]
* arm/netbsd.h (DWARF2_UNWIND_INFO): Define as zero for now.
* i386/netbsd.h, m68k/netbsd.h, ns32k/netbsd.h: Likewise.
* sparc/netbsd.h, vax/netbsd.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17339
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 13 Jan 1998 20:35:41 +0000 (20:35 +0000)]
* i386/bsd386.h (DWARF2_UNWIND_INFO): Define as zero for now.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17338
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 13 Jan 1998 20:31:57 +0000 (20:31 +0000)]
* libtxi/Makefile.in (AR_FLAGS): Defined as "rc".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17337
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 13 Jan 1998 20:28:27 +0000 (20:28 +0000)]
* configure.in (CHECK_SUBDIRS): Set to testsuite only if
${srcdir}/../gcc exists.
(configdirs): Include testsuite only if ${srcdir}/../gcc exists.
* tests/Makefile.in (check): Depend on $(CHECK).
* tests/configure.in (CHECK): Set to "check-iostream
check-stdio" if ${srcdir}/../../gcc doesn't exists.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17336
138bc75d-0d04-0410-961f-
82ee72b054a4