Commit Graph

21880 Commits

Author SHA1 Message Date
Jason Merrill
802dbc3491 * pt.c (lookup_template_class): Look through implict typename.
From-SVN: r26370
1999-04-12 06:54:06 -04:00
Jason Merrill
660c731419 new
From-SVN: r26369
1999-04-12 06:53:36 -04:00
Richard Earnshaw
f9cc092ab4 arm.h (target_fp_name, [...]): Const-ify.
* arm.h (target_fp_name, structure_size_string, arm_cpu_select):
Const-ify.
* arm.c (target_fp_name, structure_size_string): Const-ify.
* arm.md (reload_inhi, reload_outhi): Make the scratch DImode.
* arm.c (arm_reload_in_hi): Handle cases when the input is still
a pseudo, make use of scratch registers for reloading the address
as appropriate.
(arm_reload_outhi): Similarly for when the output is still a pseudo.
* riscix.h (SUBTARGET_SWITCHES): Document.

From-SVN: r26368
1999-04-12 09:43:37 +00:00
Bruce Korb
c3c55f8632 make fixincludes behave like the scripts in fixinc/
From-SVN: r26367
1999-04-12 07:28:13 +00:00
Bruce Korb
f853036b41 ensure the SHELL value is that of the make
From-SVN: r26366
1999-04-12 07:21:36 +00:00
Bruce Korb
9ae0257f30 fixincl work
From-SVN: r26365
1999-04-12 07:18:18 +00:00
Bruce Korb
be02fa1a4e regenerated
From-SVN: r26364
1999-04-12 07:12:21 +00:00
Bruce Korb
7db774d2f1 1. the file name lists ought to be restricted to "*.h" anyway 2. C++ files may be named .../[a-z]++/...
1.  the file name lists ought to be restricted to "*.h" anyway
2.  C++ files may be named .../[a-z]++/... also
3.  the original egrep pattern was not finding "__MIPSEL".
    I am not enough of a regexp person to know why.
4.  Adding copyright year and attribution to output
5.  Add copyright date and attribution
6.  Clarify a bunch of comments
7.  Remove dead template text
8.  Correct the counting of regular expressions

From-SVN: r26363
1999-04-12 07:11:20 +00:00
Richard Henderson
96043e7e1c alpha.c (aligned_memory_operand): Handle out of range stack slots.
* alpha.c (aligned_memory_operand): Handle out of range stack slots.
        Take a new SCRATCH argument for the occasion.  Update all callers.
        (get_unaligned_address): Abort on out of range stack slots.
        * alpha.md (adddi3 splitter): Check s_p_rtx not REGNO.
        (reload_inqi): Check for aligned mems before unaligned.
        (reload_inhi): Likewise.

From-SVN: r26362
1999-04-11 20:11:37 -07:00
Jeffrey A Law
55a98783c8 flow.c (flow_delete_insn): If we delete a CODE_LABEL...
* flow.c (flow_delete_insn): If we delete a CODE_LABEL, also remove
	it from the nonlocal_goto_handler_labels list.
	* jump.c (delete_insn): Likewise.
	(jump_optimize_1): Also recompute LABEL_NUSES when we are just
	marking labels.
	* rtl.h (remove_node_from_expr_list): Declare.
	* rtlanal.c (remove_node_from_expr_list): New function.

From-SVN: r26361
1999-04-11 20:18:55 -06:00
Jan Hubicka
21b2cd7321 reg-stack.c: Update comment, include varray.h.
* reg-stack.c: Update comment, include varray.h.
        (stack_regs_mentioned_data): New global variable.
        (check_stack_regs_mentioned): New function.
        (stack_regs_mentioned): New function.
        (reg_to_stack): Initialize and free stack_regs_mentioned_data,
        use stack_regs_mentioned.
        (record_asm_reg_life): Change insn type cache for changed insn.
        (record_reg_life): Do not change the insn mode.
        (emit_pop_insn): Likewise.
        (emit_swap_insn): Likewise.
        (move_for_stack_reg): Likewise.
        (stack_reg_life_analysis): Use stack_regs_mentioned.
        (emit_swap_insn): Likewise.
        (subst_stack_regs): Likewise.
        (convert_regs): Likewise.
        * jump.c (find_cross_jump): Use stack_regs_mentioned.
        * rtl.h (stack_regs_mentioned): Declare.

From-SVN: r26360
1999-04-11 19:39:00 -06:00
Jeff Law
6b1d78bf50 Forgot to cvs add this with Mumit's previous patch.
From-SVN: r26359
1999-04-11 19:26:16 -06:00
Mumit Khan
d2ec29fbf1 dtime_.c: Handle all variants of WIN32.
* libU77/dtime_.c: Handle all variants of WIN32.
        * libU77/etime_.c: Likewise.

From-SVN: r26358
1999-04-11 19:25:38 -06:00
Jeff Law
2206b47188 Daily bump.
From-SVN: r26357
1999-04-11 18:45:01 -06:00
Theodore Papadopoulo
c51262cf52 * integrate.c (INTEGRATE_THRESHOLD): Sync it with the comment.
From-SVN: r26356
1999-04-11 18:03:02 -06:00
Alexandre Oliva
e891fbfe34 config-ml.in: On mips*-*-*...
* config-ml.in: On mips*-*-*, if multidirs contains mabi=64, try to
        link a trivial program with -mabi=64.  If it fails, remove mabi=64
        from multidirs.

From-SVN: r26355
1999-04-11 17:00:24 -06:00
Jeffrey A Law
1bd0b556b4 * bitset: Re-install Alexandre's lost patch from 1998-11-27.
From-SVN: r26354
1999-04-11 16:53:05 -06:00
Mumit Khan
2bcf042cce aclocal.m4: New file.
* libU77/aclocal.m4: New file.
        * libU77/configure.in (LIBU77_HAVE_STRUCT_TIMEZONE): Add test.
        * libU77/acconfig.h (HAVE_STRUCT_TIMEZONE): Add macro.
        * libU77/datetime_c.c (G77_date_and_time_0): Use.
        * libU77/config.hin: Regenerate.
        * libU77/configure: Likewise.

From-SVN: r26353
1999-04-11 16:35:17 -06:00
Mumit Khan
36eb4217ac pexecute.c: Change all references to __UWIN__ to _UWIN.
* pexecute.c: Change all references to __UWIN__ to _UWIN.
        * xmalloc.c: Likewise.
        (xcalloc): UWIN has sbrk.
        (xrealloc): Fix guard macro.

From-SVN: r26352
1999-04-11 16:21:28 -06:00
Mark Mitchell
82bed8708b friend.c (add_friend): Deal gracefully with error_mark_node.
* friend.c (add_friend): Deal gracefully with error_mark_node.
	* method.c (build_overload_value): Handle pointers-to-members as
	template parameters.

From-SVN: r26351
1999-04-11 18:48:27 +00:00
Mark Mitchell
391cdef056 cplus-dem.c (demangle_template_value_parm): Handle pointers-to-members.
* cplus-dem.c (demangle_template_value_parm): Handle
	pointers-to-members.
	(do_type): Handle template parameters as qualifiers.

From-SVN: r26350
1999-04-11 18:46:52 +00:00
Mark Mitchell
c45df9c124 * decl.c (push_binding): Fix typo in comment.
From-SVN: r26349
1999-04-11 11:38:32 +00:00
Jeff Law
0383465ab5 Forgot to check in.
From-SVN: r26348
1999-04-11 05:35:44 -06:00
Mark Mitchell
10c5bca8f3 * rtl.h (rtx_def): Update documentation for jump and call.
From-SVN: r26347
1999-04-11 10:23:56 +00:00
Kaveh R. Ghazi
1ae5c6c2f7 jump.c (jump_optimize_1): Make the definition static to match the prototype.
* jump.c (jump_optimize_1): Make the definition static to match
        the prototype.

From-SVN: r26346
1999-04-11 04:51:57 +00:00
Jeff Law
b1d4fd8959 Daily bump.
From-SVN: r26345
1999-04-10 18:45:02 -06:00
Jeff Law
744aa133f4 Fix typo.
From-SVN: r26344
1999-04-10 18:34:02 -06:00
Jan Hubicka
11f246f6bb flow.c (life_analysis): New parameter remove_dead_code.
* flow.c (life_analysis): New parameter remove_dead_code.
        (life_analysis_1): Likewise.
        (propagate_block): Likewise; use it.
        * output.h: Update prototype.
        * toplev.c: Update calls to life_analysis.

From-SVN: r26343
1999-04-10 15:53:08 -07:00
Jan Hubicka
62674ffe2b recog.c (constrain_operands): Ignore unary operators when matching operands.
* recog.c (constrain_operands): Ignore unary operators when
        matching operands.  Recognize '5'..'9' as well.

From-SVN: r26342
1999-04-10 15:16:29 -07:00
Philipp Thomas
83f4345f44 configure.in: Set target_cpu_default2 for target_alias k6.
* configure.in: Set target_cpu_default2 for target_alias k6.
        * i386.h (TARGET_SWITCHES): Remove no-<cpu> entries.
        (CC1_CPU_SPEC): Likewise.
        (CPP_CPU_DEFAULT_SPEC): Streamline definition.  Add K6 version.
        (CPP_K6_SPEC): New.
        (CPP_CPU_SPEC): Add K6 variant.
        (EXTRA_SPECS): Likewise.

Co-Authored-By: Richard Henderson <rth@cygnus.com>

From-SVN: r26341
1999-04-10 15:00:04 -07:00
Philipp Thomas
f9ae47d652 * config.sub: Set basic_machine to i586 when target_alias = k6-*.
From-SVN: r26340
1999-04-10 14:50:51 -07:00
Richard Henderson
f5c14c21eb flow.c (merge_blocks_nomove): Rewrite to properly handle two blocks that vanish entirely during merging.
* flow.c (merge_blocks_nomove): Rewrite to properly handle two
        blocks that vanish entirely during merging.

From-SVN: r26339
1999-04-10 14:06:47 -07:00
John Wehle
6a4a5d954b i386.md (floatsisf2, [...]): Remove unused register constraints from the splitters.
* i386.md (floatsisf2, floatdisf2, floatsidf2, floatdidf2,
	floatsixf2, floatdixf2, movsicc, movhicc, movsfcc, movdfcc,
	movxfcc, movdicc): Remove unused register constraints from
	the splitters.
	* i386.md (fixuns_truncsfsi2, fixuns_truncdfsi2,
	fixuns_truncxfsi2): Delete.
	* reg-stack.c (delete_insn_for_stacker): Ensure that
	the only side effects of a PARALLEL are clobbers.
	(subst_stack_regs): Handle subst_stack_regs_pat deleting
	a PARALLEL.
	* i386.md (extendsfdf2, extenddfxf2,
	extendsfxf2): Rewrite using a splitter.
	* i386.c (output_op_from_reg): Remove.
	* i386.h: Likewise.

From-SVN: r26338
1999-04-10 17:18:08 +00:00
Zack Weinberg
d6470dd07e Make this test less fragile
From-SVN: r26337
1999-04-10 14:20:44 +00:00
Nick Clifton
e9c6b69b61 Allow SUBREGs in place of REGs in soft_df_operand and di_operand
From-SVN: r26336
1999-04-10 13:12:10 +00:00
Mark Mitchell
7ac7b28f2e error.c (dump_type_real): If a typename is a template-id, put out the template arguments.
* error.c (dump_type_real): If a typename is a template-id, put
	out the template arguments.
	(dump_expr): Handle TEMPLATE_ID_EXPR.
	* pt.c (lookup_template_class): Now that full arguments are
	available everywhere, remove code that tried to guess them.

From-SVN: r26335
1999-04-10 10:51:09 +00:00
Jan Hubicka
fe0ce42629 extend.texi (Assembler Instructions with C Expression Operands): Document the i386 floating point operands.
* extend.texi (Assembler Instructions with C Expression Operands):
        Document the i386 floating point operands.

From-SVN: r26334
1999-04-09 23:19:58 -06:00
Mike Stump
28897609cf configure.in (*-*-vxworks): Add vxWorks thread support for all vxWorks targets.
* configure.in (*-*-vxworks): Add vxWorks thread support for all
        vxWorks targets.
        * configure.in (thumb-wrs-xvworks): Add vxWorks support for thumb.
        * configure: Rebuilt.

From-SVN: r26333
1999-04-09 23:17:32 -06:00
Donn Terry
97ad1d43e9 t-interix: Use mostly system headers unchanged.
* i386/t-interix: Use mostly system headers unchanged.
        Use system assert.h
        * fixinc/fixinc.interix: Ditto (make almost no-op).
        * config/x-interix.h (_ALL_SOURCE): add -D
        * config/x-interix.h (crti.o): Delete dependency.
        * config/xm-interix.h (ONLY_INT_FIELDS): Define only when bootstrapping.
        * i386/xm-i386-interix.h: New file.
        * i386/interix.h (ASM_OUTPUT_LIMITED_STRING): Fix warnings.
        * i386/i386-interix.h: Renamed from interix.h.
        * configure.in (interix): Use new files.
        * configure: Rebuilt.

From-SVN: r26332
1999-04-09 23:15:27 -06:00
Mark Elbrecht
e6cfbc9e44 cccp.c (DIR_SEPARATOR): Move to the top of the file.
* cccp.c (DIR_SEPARATOR): Move to the top of the file.
        (is_dir_separator): New function.
        (simplify_filename): Use it.
Last bit of the dir separator patches.

From-SVN: r26331
1999-04-09 23:07:32 -06:00
Mark Elbrecht
9ee9f4f066 * i386/djgpp.h (SET_ASM_OP): Define.
From-SVN: r26330
1999-04-09 22:34:36 -06:00
Daniel Jacobowitz
f58f945066 sysv4.h (CPP_OS_LINUX_SPEC): Fix conditions for -Dunix and -Dlinux, and remove duplicate definition.
* rs6000/sysv4.h (CPP_OS_LINUX_SPEC): Fix conditions
        for -Dunix and -Dlinux, and remove duplicate definition.
        Change -Asystem(linux) to -Asystem(posix).
        (CPP_OS_SOLARIS_SPEC): Fix conditions for -Dunix, -Dsun,
        -DSVR4, -D__EXTENSIONS__.
        * rs6000/linux.h (CPP_PREDEFINES): Remove -Dunix,
        -Dlinux, -Asystem(linux), and -Asystem(unix).

From-SVN: r26329
1999-04-09 22:32:43 -06:00
Mark Elbrecht
509781a4d1 collect2.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM in place of the DIR_SEPARATOR test.
* collect2.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM in place
        of the DIR_SEPARATOR test.
        Consider any file starting with a drivename to be absolute.
        If the absolute filename test fails and EXECUTABLE_SUFFIX is
        defined, append EXECUTABLE_SUFFIX to the file and try again.
        * cppinit.c (base_name): Use HAVE_DOS_BASED_FILE_SYSTEM
        in place of __MSDOS__ and _WIN32.
        * cppfiles.c (simplify_pathname): Likewise.
        * gcc.c (IS_DIR_SEPARATOR): Define new macro. Returns true if a
        character is a directory separator.
        (find_a_file): Use it.
        (convert_filename): Likewise.
        (process_command): Likewise.
        (do_spec_1): Likewise.
        (is_directory): Likewise.
        (main): Likewise.
        * prefix.c (IS_DIR_SEPARATOR): Define. Tests whether a character is
        a directory separator.
        (translate_name): Use it.
        (update_path): Change DIR_SEPARATOR_2 to DIR_SEPARATOR. Fix
        warning in block where '/' is changed to DIR_SEPARATOR.
        * i386/xm-djgpp.h (DIR_SEPARATOR): Set to '/'.
        (DIR_SEPARATOR_2): New macro. Set to '\'.
        (HAVE_DOS_BASED_FILESYS): Define.
        * i386/xm-mingw32.h: Updated copyright. Set
        DIR_SEPARATOR_2 to '/'. Define HAVE_DOS_BASED_FILE_SYSTEM.
        * i386/xm-os2.h: Likewise.
        * winnt/xm-winnt.h: Likewise.
        * i386/xm-dos.h: Likewise.  Add copyright.

From-SVN: r26328
1999-04-09 22:27:16 -06:00
Jeffrey A Law
c44033714b rtl.h (rebuild_jump_labels): Declare.
* rtl.h (rebuild_jump_labels): Declare.
        * jump.c (jump_optimize_1): Renamed from jump_optimize.  Make static.
        Add new argument MARK_LABELS_ONLY.  Quit after mark_all_labels if
        requested.
        (jump_optimize, rebuild_jump_labels): New wrapper functions for
        jump_optimize_1.
        * toplev.c (rest_of_compilation): Use rebuild_jump_labels instead of
        running the entire jump optimizer.

From-SVN: r26327
1999-04-09 22:17:51 -06:00
Jeff Law
5d90cd8ff3 Fix thinko in last ChangeLog entry.
From-SVN: r26326
1999-04-09 21:45:15 -06:00
Joseph Myers
d14ff9bda2 pdp11.h (TARGET_SWITCHES): Add option to vary assembler syntax.
1999-04-09  Joseph S. Myers  <jsm28@cam.ac.uk>
	* pdp11.h (TARGET_SWITCHES): Add option to vary assembler syntax.
	(TARGET_DEFAULT): Possibly use UNIX syntax.
	(TARGET_UNIX_ASM, TARGET_UNIX_ASM_DEFAULT): New macros.
	(REGISTER_NAMES): Use "r5" instead of "fp".
	(ASM_OUTPUT_ALIGN): Use ".even" directive, and abort for any
	greater alignment.
	* 2bsd.h (TARGET_UNIX_ASM_DEFAULT): Default to UNIX assembler
	syntax for 2BSD.
	* pdp11.c (output_ascii): Use working syntax for ".byte".
	(print_operand_address): Use "*" instead of "@" when using UNIX
	assembler syntax.

From-SVN: r26325
1999-04-09 21:09:40 -06:00
Jeffrey A Law
3f1b9b1b90 rtl.h (local_alloc): Returns an integer now.
* rtl.h (local_alloc): Returns an integer now.
        * local-alloc.c (recorded_label_ref): New file scoped variable.
        (local_alloc): Initialize recorded_label_ref to zero.  Return its
        value when local allocation has completed.
        (update_equiv_regs); If we create an equivalence for a LABEL_REF,
        set recorded_label_ref.
        * toplev.c (rest_of_compilation): Run the loop optimizer after
        register allocation and reloading if needed.

From-SVN: r26324
1999-04-09 20:55:36 -06:00
Jeff Law
d1c13bdab5 Daily bump.
From-SVN: r26323
1999-04-09 18:45:04 -06:00
Jeff Law
f4f30aa199 Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
From-SVN: r26322
1999-04-09 16:26:17 -06:00
Krister Walfridsson
a059f76b59 gas.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Fix typo.
* i386/gas.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Fix typo.
        * i386/freebsd-elf.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.

From-SVN: r26321
1999-04-09 14:31:32 -06:00