Commit Graph

15224 Commits

Author SHA1 Message Date
Jeff Law
ac2f83cb38 Tweak.
From-SVN: r17489
1998-01-26 09:15:46 -07:00
Jeff Law
0cbef98f40 Remove Gavin for now.
From-SVN: r17488
1998-01-26 01:38:23 -07:00
Jeff Law
04afd9d6b7 Tweaks from Andreas.
From-SVN: r17487
1998-01-26 01:31:47 -07:00
Jeffrey A Law
808fbfacde h8300.c (print_operand): Handle CONST_DOUBLE for 'e', 'f', and the default case.
* h8300.c (print_operand): Handle CONST_DOUBLE for 'e', 'f', and
        the default case.
        (get_shift_alg): Fix typo.

From-SVN: r17486
1998-01-25 17:44:02 -07:00
Richard Henderson
1538907587 * alpha.c (alpha_expand_block_move): Copy ADDRESSOF to reg.
From-SVN: r17485
1998-01-25 14:22:29 -08:00
Richard Henderson
83c8ddef65 * toplev.c (get_run_time): Make sure each case gets its variables.
From-SVN: r17484
1998-01-25 14:14:54 -08:00
Richard Henderson
db81d74a81 configure.in (build_xm_file): Add auto-config.h if host=build.
* configure.in (build_xm_file): Add auto-config.h if host=build.
(host_xm_file_list): Don't add $(srcdir) to auto-config.h.
(build_xm_file_list): Likewise.
* configure: Rebuild.

From-SVN: r17483
1998-01-25 14:11:32 -08:00
Alasdair Baird
f745c7a273 recog.c (validate_replace_rtx_1): Only perform substitutions of arguments to commutative and comparison operators...
* recog.c (validate_replace_rtx_1): Only perform substitutions
        of arguments to commutative and comparison operators once.

From-SVN: r17482
1998-01-25 14:00:42 -07:00
Jeff Law
6a093053a3 Add some stuff
From-SVN: r17481
1998-01-25 13:19:15 -07:00
Jeff Law
029bff0a09 Tweak.
From-SVN: r17479
1998-01-25 10:13:31 -07:00
Jason Merrill
5f79cea1ef bastring.h (unique): We only need length bytes.
* std/bastring.h (unique): We only need length bytes.
	(c_str): Avoid writing over random memory.
	#include <std/bastring.cc>.
	Lose _G_ALLOC_CONTROL.
	* std/bastring.cc: Likewise.
 	(nilRep): Add initializer for selfish.
	* sinst.cc: Just #include <string>.
Fix a couple of bugs, linux undefined symbol problem.

From-SVN: r17478
1998-01-25 11:45:02 -05:00
Jason Merrill
be34355626 decl.c (cp_finish_decl): When bailing on a comdat variable, also unset DECL_NOT_REALLY_EXTERN.
* decl.c (cp_finish_decl): When bailing on a comdat variable, also
	unset DECL_NOT_REALLY_EXTERN.

From-SVN: r17477
1998-01-25 08:33:39 -05:00
Jason Merrill
d3959d607e * parse.y (typename_sub*): Fix std::.
From-SVN: r17476
1998-01-25 07:54:44 -05:00
Kaveh R. Ghazi
91a5195111 sparc.c (output_cbranch): Add default case in enumeration switch.
* config/sparc/sparc.c (output_cbranch): Add default case in
        enumeration switch.
        * reorg.c (insn_sets_resource_p): Correct typo in prototype.
        (emit_delay_sequence): Eliminate unused parameter, all callers
        changed.
        (fill_simple_delay_slots): Likewise.
        (fill_slots_from_thread): Likewise.
        (fill_eager_delay_slots):  Likewise.
        (mark_referenced_resources): Add default case in enumeration switch.
        (mark_set_resources): Likewise.
        (rare_destination): Likewise.
        (mostly_true_jump): Likewise.
        (find_dead_or_set_registers): Likewise.
        (redirect_with_delay_slots_safe_p): Remove unused variable `slots'.
        (update_reg_unused_notes): Remove unused variable `p'.
        (mark_target_live_regs): Remove unused variables `next' and
        `jump_count'.
        (fill_simple_delay_slots): Remove unused variable `j'.
        (fill_slots_from_thread): Add parentheses around assignment used
        as truth value.
        (dbr_schedule): Likewise.

From-SVN: r17475
1998-01-25 04:34:22 -07:00
Kaveh R. Ghazi
eb1d4d913f Make-lang.in (f77.stage1): Depend on stage1-start so parallel make works better.
* Make-lang.in (f77.stage1): Depend on stage1-start so parallel
        make works better.
        * (f77.stage2): Likewise for stage2-start.
        * (f77.stage3): Likewise for stage3-start.
        * (f77.stage4): Likewise for stage4-start.

From-SVN: r17474
1998-01-25 04:30:32 -07:00
Kaveh R. Ghazi
963f4057da Make-lang.in (objc.stage1): Depend on stage1-start.
* objc/Make-lang.in (objc.stage1): Depend on stage1-start.
        (objc.stage2, objc.stage3, objc.stage4): Likewise.

From-SVN: r17473
1998-01-25 04:29:50 -07:00
Michael Tiemann
e82ad93d64 cse.c (simplify_ternary_operation): Don't try to simplify IF_THEN_ELSE expressions (created by combine) that don't...
* cse.c (simplify_ternary_operation): Don't try to simplify
        IF_THEN_ELSE expressions (created by combine) that don't use
        relational operators.

From-SVN: r17472
1998-01-25 04:12:26 -07:00
Jeff Law
f69eecfbd5 Fix mismatched parens.
From-SVN: r17471
1998-01-25 02:00:18 -07:00
Jason Merrill
67c2a92854 error.c (dump_decl): Fix type default template args.
* error.c (dump_decl): Fix type default template args.
	(dump_type): Hand TEMPLATE_DECL off to dump_decl.

From-SVN: r17470
1998-01-24 07:26:46 -05:00
Jason Merrill
b7a290122f tweak
From-SVN: r17469
1998-01-23 22:04:11 -05:00
Jeff Law
19428ce400 New file. Empty until we start adding stuff to it.
From-SVN: r17468
1998-01-23 18:14:26 -07:00
Manfred Hollstein
efd4c0ba20 configure (package_makefile_frag): Move inserting the ${package_makefile_frag} to where it should be according to...
* configure (package_makefile_frag): Move inserting the
        ${package_makefile_frag} to where it should be according
        to the comment.

From-SVN: r17467
1998-01-23 17:58:07 -07:00
Jeff Law
3a0120cfe2 Tweak SCO5 stuff.
From-SVN: r17466
1998-01-23 17:31:38 -07:00
Jeffrey A Law
ed1ecb1930 cse.c (simplify_ternary_operation): Handle more IF_THEN_ELSE simplifications.
* cse.c (simplify_ternary_operation): Handle more IF_THEN_ELSE
        simplifications.

From-SVN: r17465
1998-01-23 16:06:03 -07:00
Jeffrey A Law
b4b04bf97f crtstuff.c (init_dummy): Keep the epilogue in the init section for non-ELF systems.
* crtstuff.c (init_dummy): Keep the epilogue in the init
        section for non-ELF systems.

From-SVN: r17464
1998-01-23 14:47:43 -07:00
J"orn Rennecke
deeef0aca0 * sh.md (movqi_i+1): New peephole.
From-SVN: r17463
1998-01-23 14:27:50 -07:00
Jeff Law
2645224970 Finish .cexp -> .x conversion.
From-SVN: r17462
1998-01-23 14:13:16 -07:00
Mumit Khan
ab535daca9 lex.c (DIR_SEPARATOR): Define to be '/' if not already defined.
* lex.c (DIR_SEPARATOR): Define to be '/' if not already defined.
	(file_name_nondirectory): Use.

From-SVN: r17461
1998-01-23 13:35:06 -05:00
Jason Merrill
d1fefbce9d revert last change
From-SVN: r17460
1998-01-23 13:33:28 -05:00
Jim Wilson
03566575a9 Remove rest of bytecode stuff, except for the VMS *.com files.
* Makefile.in: Remove remaining bytecode stuff.
	* emit-rtl.c, expr.c: Likewise.

From-SVN: r17459
1998-01-23 07:43:01 -08:00
Nick Clifton
eb96c1209c * toplev.c (lang_options): Add unknown-pragma options.
From-SVN: r17458
1998-01-23 04:39:49 -07:00
Per Bothner
f03204e956 dwarfout.c (byte_size_attribute): Simplify and fix - don't need special (and incomplete) handling for Chill arrays.
�
	* dwarfout.c (byte_size_attribute):  Simplify and fix - don't need
	special (and incomplete) handling for Chill arrays.

From-SVN: r17457
1998-01-22 15:48:23 -08:00
Per Bothner
fa4056256a dwarfout.c (byte_size_attribute): Simplify and fix - don't need special (and incomplete) handling for Chill arrays.
8
	* dwarfout.c (byte_size_attribute):  Simplify and fix - don't need
	special (and incomplete) handling for Chill arrays.

From-SVN: r17456
1998-01-22 15:48:22 -08:00
Philip Blundell
6eef3189b8 * config.guess: Add support for Linux/ARM.
From-SVN: r17455
1998-01-22 16:28:32 -07:00
John Carr
4e762a3831 toplev.c (get_run_time): Call sysconf(_SC_CLK_TCK), when available, to get clock rate.
* toplev.c (get_run_time): Call sysconf(_SC_CLK_TCK), when available,
        to get clock rate.

From-SVN: r17454
1998-01-22 16:26:28 -07:00
Gavin Koch
319f217eca * mips.md (muldi3_internal2): Reverse test for TARGET_MIPS16.
From-SVN: r17453
1998-01-22 16:18:55 -07:00
Jeff Law
40687a9e89 Tweak.
From-SVN: r17452
1998-01-22 16:16:12 -07:00
Scott Snyder
19f673ebcd mips.c (function_prologue): Use HARD_FRAME_POINTER_REGNUM in .frame directive instead of FRAME_POINTER_REGNUM.
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.

From-SVN: r17451
1998-01-22 16:13:28 -07:00
Robin Kirkham
74cf1c6d68 m68k.h (TARGET_SWITCHES): -mcpu32 now clears MASK_68881.
* 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__.

From-SVN: r17450
1998-01-22 16:10:15 -07:00
Jeff Law
77474480a4 Add intel site.
From-SVN: r17449
1998-01-22 15:24:37 -07:00
Mark Mitchell
d29ab3764b * decl2.c (grok_x_components): Always call grok_enum_decls.
From-SVN: r17448
1998-01-22 17:08:11 -05:00
Jeffrey A Law
e1402e7d13 Bump for snapshot
From-SVN: r17446
1998-01-22 12:55:42 -07:00
Brendan Kehoe
e8c9459c16 lose text after #endif
From-SVN: r17445
1998-01-22 10:42:52 -05:00
Jim Wilson
6d49a073b4 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
1998-01-22 06:48:58 -08:00
Jeffrey A Law
c485e6a0c9 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
1998-01-22 06:49:29 -07:00
Jason Merrill
ff7620c005 new
From-SVN: r17442
1998-01-22 06:04:02 -05:00
Kriang Lerdsuwanakij
73b0fce8fd 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
1998-01-22 06:03:56 -05:00
Richard Henderson
84303d9a68 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
1998-01-21 17:44:04 -08:00
Richard Henderson
48464ebfef * configure.in: Revert 3 Jan change for alpha-linux-gnulibc1.
From-SVN: r17439
1998-01-21 17:39:33 -08:00
Jeff Law
406b9925fa Fix typo in yesterday's change.
From-SVN: r17438
1998-01-20 23:48:07 -07:00