]> gcc.gnu.org Git - gcc.git/log
gcc.git
26 years agoBump for snapshot
Jeffrey A Law [Thu, 22 Jan 1998 19:55:42 +0000 (12:55 -0700)]
Bump for snapshot

From-SVN: r17446

26 years agolose text after #endif
Brendan Kehoe [Thu, 22 Jan 1998 15:42:52 +0000 (10:42 -0500)]
lose text after #endif

From-SVN: r17445

26 years agoFix powerpc/rs6000 (subreg:SF (mem:SI ...)) reload problem.
Jim 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.

From-SVN: r17444

26 years agoregmove.c (find_matches): Initialize matches->earlyclobber too.
Jeffrey A Law [Thu, 22 Jan 1998 13:49:29 +0000 (13:49 +0000)]
regmove.c (find_matches): Initialize matches->earlyclobber too.

        * regmove.c (find_matches): Initialize matches->earlyclobber too.
Should fix pa bootstrap comparison failures.

From-SVN: r17443

26 years agonew
Jason Merrill [Thu, 22 Jan 1998 11:04:02 +0000 (06:04 -0500)]
new

From-SVN: r17442

26 years agopt.c (coerce_template_parms): Don't access elements of ARGLIST that is not really...
Kriang Lerdsuwanakij [Thu, 22 Jan 1998 11:03:56 +0000 (11:03 +0000)]
pt.c (coerce_template_parms): Don't access elements of ARGLIST that is not really present.

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.

From-SVN: r17441

26 years agoalpha.md (abssf2, absdf2): Disable in IEEE mode.
Richard Henderson [Thu, 22 Jan 1998 01:44:04 +0000 (17:44 -0800)]
alpha.md (abssf2, absdf2): Disable in IEEE mode.

* alpha.md (abssf2, absdf2): Disable in IEEE mode.
(negsf2, negdf2): Use proper subtract in IEEE mode.

From-SVN: r17440

26 years ago* configure.in: Revert 3 Jan change for alpha-linux-gnulibc1.
Richard Henderson [Thu, 22 Jan 1998 01:39:33 +0000 (17:39 -0800)]
* configure.in: Revert 3 Jan change for alpha-linux-gnulibc1.

From-SVN: r17439

26 years agoFix typo in yesterday's change.
Jeff Law [Wed, 21 Jan 1998 06:48:07 +0000 (23:48 -0700)]
Fix typo in yesterday's change.

From-SVN: r17438

26 years agoupdate
Jason Merrill [Wed, 21 Jan 1998 00:11:44 +0000 (19:11 -0500)]
update

From-SVN: r17437

26 years agoRemove more bytecode stuff.
Jeffrey A Law [Tue, 20 Jan 1998 17:02:10 +0000 (17:02 +0000)]
Remove more bytecode stuff.

From-SVN: r17436

26 years agoMore bytecode stuff disappears.
Jeffrey A Law [Tue, 20 Jan 1998 10:02:05 +0000 (10:02 +0000)]
More bytecode stuff disappears.

From-SVN: r17435

26 years agoRemove more bytecode stuff.
Jeffrey A Law [Tue, 20 Jan 1998 08:59:50 +0000 (08:59 +0000)]
Remove more bytecode stuff.

From-SVN: r17434

26 years agoMore bytecode stuff going away.
Jeff Law [Tue, 20 Jan 1998 08:57:27 +0000 (01:57 -0700)]
More bytecode stuff going away.

From-SVN: r17433

26 years agoMakefile.in: Remove all bytecode support.
Jeffrey A Law [Tue, 20 Jan 1998 08:55:07 +0000 (08:55 +0000)]
Makefile.in: Remove all bytecode support.

        * 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 :-)

From-SVN: r17432

26 years agoconfigure.in: Check for atol.
Jeffrey A Law [Tue, 20 Jan 1998 08:24:58 +0000 (08:24 +0000)]
configure.in: Check for atol.

        * configure.in: Check for atol.
Forgot to commit this one a few days ago.

From-SVN: r17431

26 years agomips.md (divsi3,divdi3,modsi3,moddi3,udivsi3,udivdi3, [...]): Handle mips16 div/mod...
Gavin Koch [Tue, 20 Jan 1998 08:01:08 +0000 (08:01 +0000)]
mips.md (divsi3,divdi3,modsi3,moddi3,udivsi3,udivdi3, [...]): Handle mips16 div/mod by a constant.

        * mips/mips.md (divsi3,divdi3,modsi3,moddi3,udivsi3,udivdi3,
        umodsi3,umoddi3): Handle mips16 div/mod by a constant.

From-SVN: r17430

26 years agoFix ChangeLog entry format.
Jeff Law [Tue, 20 Jan 1998 07:28:54 +0000 (00:28 -0700)]
Fix ChangeLog entry format.

From-SVN: r17429

26 years agoRebuilt.
Jeff Law [Tue, 20 Jan 1998 07:22:47 +0000 (00:22 -0700)]
Rebuilt.

From-SVN: r17428

26 years agotests from mark
Jason Merrill [Tue, 20 Jan 1998 00:57:39 +0000 (19:57 -0500)]
tests from mark

From-SVN: r17427

26 years agodecl.c (start_decl): Don't allow duplicate definitions of static data members.
Mark Mitchell [Mon, 19 Jan 1998 22:41:40 +0000 (22:41 +0000)]
decl.c (start_decl): Don't allow duplicate definitions of static data members.

* 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.

From-SVN: r17426

26 years agoi386.md (push): Prohibit symbolic constants if flag_pic.
Richard Henderson [Mon, 19 Jan 1998 21:54:09 +0000 (13:54 -0800)]
i386.md (push): Prohibit symbolic constants if flag_pic.

* i386.md (push): Prohibit symbolic constants if flag_pic.
(movsi+1): Likewise for move to non-register.

From-SVN: r17425

26 years agoFix 32 bit host alpha ev6 target failure.
Jim 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.

From-SVN: r17424

26 years agoFix build/host/target configure in settting of thread_file.
Jim 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.

From-SVN: r17423

26 years agocvt.c (build_up_reference): A TARGET_EXPR has side effects.
Jason Merrill [Mon, 19 Jan 1998 13:21:59 +0000 (13:21 +0000)]
cvt.c (build_up_reference): A TARGET_EXPR has side effects.

* cvt.c (build_up_reference): A TARGET_EXPR has side effects.
14507

From-SVN: r17422

26 years agoFix time/space problem when (const_int 1) occurs in conflict_list.
Jim 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.

From-SVN: r17421

26 years ago* unprotoize.c: Define UNPROTOIZE first, to actually take effect.
Andreas Schwab [Mon, 19 Jan 1998 10:12:31 +0000 (10:12 +0000)]
* unprotoize.c: Define UNPROTOIZE first, to actually take effect.

From-SVN: r17420

26 years agoconfigure.in: Add cpp stringify test.
Richard Henderson [Mon, 19 Jan 1998 10:09:47 +0000 (02:09 -0800)]
configure.in: Add cpp stringify test.

        * configure.in: Add cpp stringify test.
        * acconfig.h (HAVE_CPP_STRINGIFY): New tag.
        * gengenrtl.c: Use it.
        * configure, config.in: Rebuild.

From-SVN: r17419

26 years ago* Makefile.in (genrtl.c genrtl.h): Add dummy command for GNU make.
Andreas Schwab [Mon, 19 Jan 1998 09:39:38 +0000 (09:39 +0000)]
* Makefile.in (genrtl.c genrtl.h): Add dummy command for GNU make.

From-SVN: r17418

26 years agoconfigure.in: Find declaration for sbrk.
Richard Henderson [Mon, 19 Jan 1998 09:37:12 +0000 (01:37 -0800)]
configure.in: Find declaration for sbrk.

        * 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.

From-SVN: r17417

26 years ago* alpha.c (alpha_handle_trap_shadows): Ignore CLOBBERs.
Richard Henderson [Sun, 18 Jan 1998 20:15:24 +0000 (12:15 -0800)]
* alpha.c (alpha_handle_trap_shadows): Ignore CLOBBERs.

From-SVN: r17416

26 years agoTypo applying the last patch.
Richard Henderson [Sun, 18 Jan 1998 20:03:42 +0000 (12:03 -0800)]
Typo applying the last patch.

From-SVN: r17415

26 years agof_back (f/runtime/libI77/backspace.c): use type `uiolen' to determine size of record...
Toon Moene [Sun, 18 Jan 1998 20:02:04 +0000 (21:02 +0100)]
f_back (f/runtime/libI77/backspace.c): use type `uiolen' to determine size of record length specifier.

* f_back (f/runtime/libI77/backspace.c): use type `uiolen'
to determine size of record length specifier.

From-SVN: r17414

26 years ago* alpha/xm-winnt.h (HAS_INIT_SECTION): Undefine.
Jeffrey A Law [Sun, 18 Jan 1998 00:52:49 +0000 (00:52 +0000)]
* alpha/xm-winnt.h (HAS_INIT_SECTION): Undefine.

From-SVN: r17413

26 years agoFix various bugs in previous change.
Jeff Law [Sun, 18 Jan 1998 00:49:05 +0000 (17:49 -0700)]
Fix various bugs in previous change.

From-SVN: r17412

26 years agoc-torture.exp: Look for .x files instead of .cexp files.
Jeffrey A Law [Sun, 18 Jan 1998 00:32:36 +0000 (00:32 +0000)]
c-torture.exp: Look for .x files instead of .cexp files.

        * 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.

From-SVN: r17411

26 years agoNew test from Joern.
Jeff Law [Sun, 18 Jan 1998 00:22:34 +0000 (17:22 -0700)]
New test from Joern.

From-SVN: r17410

26 years agoemit_rtl.c (init_emit_once): Ensure that potential aliasing between frame_pointer_rtx...
Jeff Law [Sun, 18 Jan 1998 00:01:22 +0000 (17:01 -0700)]
emit_rtl.c (init_emit_once): Ensure that potential aliasing between frame_pointer_rtx...

        * 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.

From-SVN: r17409

26 years ago* configure.in (i960-wrs-vxworks): Default to latest vxworks release.
Mike Stump [Sat, 17 Jan 1998 23:56:18 +0000 (23:56 +0000)]
* configure.in (i960-wrs-vxworks): Default to latest vxworks release.

From-SVN: r17408

26 years agoFlip expectedness
Jeff Law [Sat, 17 Jan 1998 23:52:16 +0000 (16:52 -0700)]
Flip expectedness

From-SVN: r17407

26 years agoRebuild configure files after recent changes.
Jeff Law [Sat, 17 Jan 1998 23:48:34 +0000 (16:48 -0700)]
Rebuild configure files after recent changes.

From-SVN: r17406

26 years agocombine.c (force_to_mode, [...]): Correctly optimize constant offset computations...
David S. Miller [Sat, 17 Jan 1998 23:08:03 +0000 (23:08 +0000)]
combine.c (force_to_mode, [...]): Correctly optimize constant offset computations from objects with known...

        * combine.c (force_to_mode, nonzero_bits): Correctly optimize
        constant offset computations from objects with known alignment in
        the presence of STACK_BIAS.

From-SVN: r17405

26 years agoacconifg.h (NEED_DECLARATION_ATOL): New declaration to check for.
Jeffrey A Law [Sat, 17 Jan 1998 23:00:46 +0000 (23:00 +0000)]
acconifg.h (NEED_DECLARATION_ATOL): New declaration to check for.

        * acconifg.h (NEED_DECLARATION_ATOL): New declaration to check for.
        * rtl.c (atol): Only provide the declaration if NEED_DECLARATION_ATOL.

From-SVN: r17404

26 years agovarasm.c (immed_double_const): Add casts to HOST_WIDE_INT where necessary.
David S. Miller [Sat, 17 Jan 1998 22:50:40 +0000 (22:50 +0000)]
varasm.c (immed_double_const): Add casts to HOST_WIDE_INT where necessary.

        * 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.

From-SVN: r17403

26 years agoexplow.c (optimize_save_area_alloca): New function for targets where SETJMP_VIA_SAVE_...
David S. Miller [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.

        * 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 ----------------------------------------------------------------------

From-SVN: r17402

26 years agoi386.md: Remove redundant integer push patterns.
John Wehle [Sat, 17 Jan 1998 22:20:32 +0000 (22:20 +0000)]
i386.md: Remove redundant integer push patterns.

        * i386.md: Remove redundant integer push patterns.
        Don't bother checking for TARGET_PUSH_MEMORY when
        pushing constants or registers.

From-SVN: r17401

26 years ago* rtl.c (read_rtx): Initialize list_rtx to NULL, not NULL_RTX.
Jeffrey A Law [Sat, 17 Jan 1998 22:00:51 +0000 (22:00 +0000)]
* rtl.c (read_rtx): Initialize list_rtx to NULL, not NULL_RTX.

From-SVN: r17400

26 years agoloop.c (find_and_verify_loops): When attempting to move insns from inside the loop...
Jeffrey A 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...

        * 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.

From-SVN: r17399

26 years agoconfigure.in (sys/param.h,sys/times.h): Check.
Mumit Khan [Sat, 17 Jan 1998 21:39:07 +0000 (21:39 +0000)]
configure.in (sys/param.h,sys/times.h): Check.

* 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.

From-SVN: r17398

26 years agoconfigure.in (NON_UNIX_STDIO): Define if MINGW32.
Mumit Khan [Sat, 17 Jan 1998 21:37:48 +0000 (21:37 +0000)]
configure.in (NON_UNIX_STDIO): Define if MINGW32.

        * 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().

From-SVN: r17397

26 years agopexecute.c (pexecute): New function for mingw32.
Mumit Khan [Sat, 17 Jan 1998 21:33:56 +0000 (21:33 +0000)]
pexecute.c (pexecute): New function for mingw32.

        * 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.

Co-Authored-By: J.J. VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
From-SVN: r17396

26 years agoAdd mingw32 support.
Mumit Khan [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.

Co-Authored-By: J.J. VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
From-SVN: r17395

26 years ago* choose-temp.c: Sync with gcc.
Jeffrey A Law [Sat, 17 Jan 1998 21:23:29 +0000 (21:23 +0000)]
* choose-temp.c: Sync with gcc.

From-SVN: r17394

26 years agoreorg.c: #include "expr.h" for rtx prototypes.
Lee Iverson [Sat, 17 Jan 1998 20:37:23 +0000 (20:37 +0000)]
reorg.c: #include "expr.h" for rtx prototypes.

        * reorg.c: #include "expr.h" for rtx prototypes.
        * Makefile.in (reorg.o): Depend on expr.h.

From-SVN: r17393

26 years agoMakefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and local_prefix to sub-make...
Pieter Nagel [Sat, 17 Jan 1998 20:29:12 +0000 (22:29 +0200)]
Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and local_prefix to sub-make invocations.

8
        * Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and
        local_prefix to sub-make invocations.

From-SVN: r17392

26 years agoMakefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and local_prefix to sub-make...
Pieter Nagel [Sat, 17 Jan 1998 20:28:35 +0000 (13:28 -0700)]
Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and local_prefix to sub-make invocations.

d
        * Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and
        local_prefix to sub-make invocations.

From-SVN: r17391

26 years agoMakefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and local_prefix to sub-make...
Pieter Nagel [Sat, 17 Jan 1998 20:28:11 +0000 (22:28 +0200)]
Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and local_prefix to sub-make invocations.

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.

From-SVN: r17390

26 years ago* objc-parse.c: Recognize protocol qualifiers in class definitions.
David T. McWherter [Sat, 17 Jan 1998 20:23:59 +0000 (20:23 +0000)]
* objc-parse.c: Recognize protocol qualifiers in class definitions.

From-SVN: r17389

26 years agojump.c (jump_optimize): Remove Dec 17, 1997 chance in favor of an equivalent change...
Jeff Law [Sat, 17 Jan 1998 20:20:09 +0000 (13:20 -0700)]
jump.c (jump_optimize): Remove Dec 17, 1997 chance in favor of an equivalent change from gcc-2.8.

        * jump.c (jump_optimize): Remove Dec 17, 1997 chance in
        favor of an equivalent change from gcc-2.8.

From-SVN: r17388

26 years ago* i386/x-sco5 (CC): Remove trailing whitespace.
Jeffrey A Law [Sat, 17 Jan 1998 20:15:48 +0000 (20:15 +0000)]
* i386/x-sco5 (CC): Remove trailing whitespace.

From-SVN: r17387

26 years agogengenrtl.c (type_from_format): De-ANSIfy function signature.
Kaveh R. Ghazi [Sat, 17 Jan 1998 20:09:09 +0000 (20:09 +0000)]
gengenrtl.c (type_from_format): De-ANSIfy function signature.

        * gengenrtl.c (type_from_format): De-ANSIfy function signature.
        (accessor_from_format): Likewise.
        (xmalloc): New function for use when linking with alloca.o.

From-SVN: r17386

26 years agoconfigure.in: Check makefile fragments in the source directory.
H.J. Lu [Sat, 17 Jan 1998 20:04:38 +0000 (20:04 +0000)]
configure.in: Check makefile fragments in the source directory.

        * configure.in: Check makefile fragments in the source
        directory.

From-SVN: r17385

26 years ago* frame.c (find_fde): Correct FDE's upper bound.
Bruno Haible [Fri, 16 Jan 1998 23:56:07 +0000 (23:56 +0000)]
* frame.c (find_fde): Correct FDE's upper bound.

From-SVN: r17382

26 years ago* error.c (dump_decl): For enum tags, output the tag, not its value.
Bruno Haible [Fri, 16 Jan 1998 23:55:44 +0000 (23:55 +0000)]
* error.c (dump_decl): For enum tags, output the tag, not its value.

From-SVN: r17381

26 years ago* gengenrtl.c (DEF_RTL_EXPR): Provide a K&R compliant version.
Richard Henderson [Fri, 16 Jan 1998 16:21:54 +0000 (08:21 -0800)]
* gengenrtl.c (DEF_RTL_EXPR): Provide a K&R compliant version.

From-SVN: r17380

26 years agocalls.c (expand_call): Move #ifdef code out of macro argument lists.
Jeff Law [Fri, 16 Jan 1998 09:16:10 +0000 (02:16 -0700)]
calls.c (expand_call): Move #ifdef code out of macro argument lists.

`
        * calls.c (expand_call): Move #ifdef code out of macro argument
        lists.
        (emit_library_call, emit_library_call_value): Likewise.

From-SVN: r17379

26 years agocalls.c (expand_call): Move #ifdef code out of macro argument lists.
Jeff Law [Fri, 16 Jan 1998 09:16:09 +0000 (02:16 -0700)]
calls.c (expand_call): Move #ifdef code out of macro argument lists.

d
        * calls.c (expand_call): Move #ifdef code out of macro argument
        lists.
        (emit_library_call, emit_library_call_value): Likewise.

From-SVN: r17378

26 years agotweak comment
Brendan Kehoe [Fri, 16 Jan 1998 08:59:59 +0000 (03:59 -0500)]
tweak comment

From-SVN: r17377

26 years ago* config.shared (FLAGS_TO_PASS): Add SHELL.
Manfred Hollstein [Thu, 15 Jan 1998 23:46:28 +0000 (23:46 +0000)]
* config.shared (FLAGS_TO_PASS): Add SHELL.

From-SVN: r17376

26 years ago* rtl.def (INLINE_HEADER): Fix bug exposed by gen_rtx_FOO changes.
Jeffrey A Law [Thu, 15 Jan 1998 23:44:54 +0000 (23:44 +0000)]
* rtl.def (INLINE_HEADER): Fix bug exposed by gen_rtx_FOO changes.

From-SVN: r17375

26 years agoMinor tweaks & updates.
Jeff Law [Thu, 15 Jan 1998 23:42:59 +0000 (16:42 -0700)]
Minor tweaks & updates.

From-SVN: r17374

26 years agoconfigure.in: check whether host and target makefile fragments exist before adding...
Alexandre Oliva [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...

        * configure.in: check whether host and target makefile
        fragments exist before adding them to *_makefile_frag

From-SVN: r17373

26 years agoWork around VxWorks bogus problems.
Jeff Law [Thu, 15 Jan 1998 23:38:58 +0000 (16:38 -0700)]
Work around VxWorks bogus problems.

From-SVN: r17372

26 years agoInitial revision
Jeff Law [Thu, 15 Jan 1998 03:36:46 +0000 (20:36 -0700)]
Initial revision

From-SVN: r17365

26 years agoBump for snapshot.
Jeffrey A Law [Thu, 15 Jan 1998 00:01:51 +0000 (00:01 +0000)]
Bump for snapshot.

From-SVN: r17358

26 years agoalias.c: Change all uses of gen_rtx(FOO...) to gen_rtx_FOO...
Richard Henderson [Wed, 14 Jan 1998 23:10:50 +0000 (15:10 -0800)]
alias.c: Change all uses of gen_rtx(FOO...) to gen_rtx_FOO...

* 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.

From-SVN: r17357

26 years agoFix minor lossage brought over in gcc-2.8.0 merge.
Jeff Law [Wed, 14 Jan 1998 21:44:01 +0000 (14:44 -0700)]
Fix minor lossage brought over in gcc-2.8.0 merge.

From-SVN: r17356

26 years agoBring in final gcc-2.8.0 changes.
Jeff Law [Wed, 14 Jan 1998 20:57:58 +0000 (13:57 -0700)]
Bring in final gcc-2.8.0 changes.

From-SVN: r17355

26 years ago* mips.h: Fix some type-o's from a previous change.
Gavin Koch [Wed, 14 Jan 1998 18:34:35 +0000 (11:34 -0700)]
* mips.h: Fix some type-o's from a previous change.

From-SVN: r17353

26 years agoloop.c (check_dbra_loop): Make sure initial value is a CONST_INT before trying to...
Jeffrey A 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.

* loop.c (check_dbra_loop): Make sure initial value is a
CONST_INT before trying to normalize it.

From-SVN: r17352

26 years ago* sco5.h (ASM_OUTPUT_SECTION_NAME): Refresh from ../svr4.h.
Robert Lipe [Tue, 13 Jan 1998 22:27:40 +0000 (22:27 +0000)]
* sco5.h (ASM_OUTPUT_SECTION_NAME): Refresh from ../svr4.h.

From-SVN: r17351

26 years ago* cppexp.c: Include gansidecl.h
Herman ten Brugge [Tue, 13 Jan 1998 21:45:28 +0000 (22:45 +0100)]
* cppexp.c: Include gansidecl.h

From-SVN: r17350

26 years agosvr4.h (LINK_SPEC): Never specify -h.
Ian Lance Taylor [Tue, 13 Jan 1998 21:43:41 +0000 (21:43 +0000)]
svr4.h (LINK_SPEC): Never specify -h.

        * svr4.h (LINK_SPEC): Never specify -h.
        * ptx4.h (LINK_SPEC): Likewise.
        * rs6000/sysv4.h (LINK_SPEC): Likewise.
        * sparc/sol2.h (LINK_SPEC): Likewise.

From-SVN: r17349

26 years agoUpdate copyrights.
Jeff Law [Tue, 13 Jan 1998 21:42:33 +0000 (14:42 -0700)]
Update copyrights.

From-SVN: r17348

26 years ago* c-typeck.c (comptypes): Exit early on NULL input.
Richard Henderson [Tue, 13 Jan 1998 21:40:27 +0000 (13:40 -0800)]
* c-typeck.c (comptypes): Exit early on NULL input.

From-SVN: r17347

26 years agohaifa-sched.c (schedule_insns): Correctly remove inter-block dependencies after reload.
Richard Henderson [Tue, 13 Jan 1998 21:38:31 +0000 (13:38 -0800)]
haifa-sched.c (schedule_insns): Correctly remove inter-block dependencies after reload.

        * haifa-sched.c (schedule_insns): Correctly remove inter-block
        dependencies after reload.

From-SVN: r17346

26 years ago* rs6000/linux.h (CPP_PREDEFINES): Add -D__ELF__.
Franz Sirl [Tue, 13 Jan 1998 21:21:05 +0000 (14:21 -0700)]
* rs6000/linux.h (CPP_PREDEFINES): Add -D__ELF__.

From-SVN: r17345

26 years ago* alpha/vms.h (DIR_SEPARATOR): define
Jeff Law [Tue, 13 Jan 1998 21:13:28 +0000 (14:13 -0700)]
* alpha/vms.h (DIR_SEPARATOR): define

From-SVN: r17344

26 years agoMakefile.in (stamp-proto): Remove.
Bruno Haible [Tue, 13 Jan 1998 21:10:35 +0000 (21:10 +0000)]
Makefile.in (stamp-proto): Remove.

        * Makefile.in (stamp-proto): Remove.
        (protoize.o, unprotoize.o): Straightforward compile.
        * unprotoize.c: Define UNPROTOIZE here, not in the Makefile.

From-SVN: r17343

26 years ago* lang-options.h: Add missing options.
Jeffrey A Law [Tue, 13 Jan 1998 21:06:08 +0000 (21:06 +0000)]
* lang-options.h: Add missing options.

From-SVN: r17342

26 years agoconfig-ml.in (multi-do): LDFLAGS must include multilib designator.
Lee Iverson [Tue, 13 Jan 1998 21:01:03 +0000 (21:01 +0000)]
config-ml.in (multi-do): LDFLAGS must include multilib designator.

        * config-ml.in (multi-do): LDFLAGS must include multilib
        designator.

From-SVN: r17341

26 years agocygwin32.h (STRIP_NAME_ENCODING): Define for Win32 to strip off the trailing @[NUM...
Mumit Khan [Tue, 13 Jan 1998 20:58:47 +0000 (20:58 +0000)]
cygwin32.h (STRIP_NAME_ENCODING): Define for Win32 to strip off the trailing @[NUM] added by ENCODE_SECTION_INFO.

        * 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.

From-SVN: r17340

26 years agonetbsd.h (DWARF2_UNWIND_INFO): Define as zero for now.
Jeffrey A Law [Tue, 13 Jan 1998 20:54:16 +0000 (20:54 +0000)]
netbsd.h (DWARF2_UNWIND_INFO): Define as zero for now.

        * 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.

From-SVN: r17339

26 years ago* i386/bsd386.h (DWARF2_UNWIND_INFO): Define as zero for now.
Shigeya Suzuki [Tue, 13 Jan 1998 20:35:41 +0000 (05:35 +0900)]
* i386/bsd386.h (DWARF2_UNWIND_INFO): Define as zero for now.

From-SVN: r17338

26 years ago* libtxi/Makefile.in (AR_FLAGS): Defined as "rc".
H.J. Lu [Tue, 13 Jan 1998 20:31:57 +0000 (20:31 +0000)]
* libtxi/Makefile.in (AR_FLAGS): Defined as "rc".

From-SVN: r17337

26 years agoconfigure.in (CHECK_SUBDIRS): Set to testsuite only if ${srcdir}/../gcc exists.
H.J. Lu [Tue, 13 Jan 1998 20:28:27 +0000 (20:28 +0000)]
configure.in (CHECK_SUBDIRS): Set to testsuite only if ${srcdir}/../gcc exists.

* 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.

From-SVN: r17336

26 years agoconfigure.in (configdirs): Include testsuite only if ${srcdir}/../gcc exists.
H.J. Lu [Tue, 13 Jan 1998 20:24:06 +0000 (20:24 +0000)]
configure.in (configdirs): Include testsuite only if ${srcdir}/../gcc exists.


        * configure.in (configdirs): Include testsuite only if
        ${srcdir}/../gcc exists.
        * tests/configure.in (check): Set to ${CHECK} if
        ${srcdir}/../../gcc doesn't exists.

From-SVN: r17335

26 years agoconfigure.in (configdirs): Include testsuite only if ${srcdir}/../gcc exists.
Jeff Law [Tue, 13 Jan 1998 20:24:04 +0000 (13:24 -0700)]
configure.in (configdirs): Include testsuite only if ${srcdir}/../gcc exists.


        * configure.in (configdirs): Include testsuite only if
        ${srcdir}/../gcc exists.
        * tests/configure.in (check): Set to ${CHECK} if
        ${srcdir}/../../gcc doesn't exists.

From-SVN: r17334

26 years agoAvoid shell errors when target_cpu_default* contains a | character.
Jim Wilson [Tue, 13 Jan 1998 18:01:56 +0000 (18:01 +0000)]
Avoid shell errors when target_cpu_default* contains a | character.

* configure.in (target_cpu_default, target_cpu_default2): Use double
quotes around them when testing their value.
* configure: Rebuilt.

From-SVN: r17333

26 years agoundo test change
Jeff Law [Tue, 13 Jan 1998 16:40:20 +0000 (09:40 -0700)]
undo test change

From-SVN: r17332

This page took 0.089632 seconds and 5 git commands to generate.