Commit Graph

20917 Commits

Author SHA1 Message Date
Mark Mitchell
83fdb19109 tree.c (save_tree_status): Don't treat functions with no context as nested.
* tree.c (save_tree_status): Don't treat functions with no context
	as nested.

From-SVN: r25534
1999-03-02 07:42:49 +00:00
Robert Lipe
010deb4dea Makefile.in (MAKEINFO): Use makeinfo built from sibling tree when available.
* Makefile.in (MAKEINFO): Use makeinfo built from sibling
        tree when available.

From-SVN: r25533
1999-03-02 07:40:24 +00:00
Kaveh R. Ghazi
df45c7eab7 alpha.c (alpha_cpu_name, [...]): Add the `const' keyword.
* alpha.c (alpha_cpu_name, alpha_cpu_string, alpha_tp_string,
        alpha_fprm_string, alpha_fptm_string, alpha_mlat_string,
        current_function_file): Add the `const' keyword.
        (normal_memory_operand): Mark parameter `mode' with
        ATTRIBUTE_UNUSED.
        (alpha_expand_unaligned_load): Add a default case to a switch.
        * alpha.h (alpha_cpu_string, alpha_fprm_string, alpha_fptm_string,
        alpha_tp_string, alpha_mlat_string): Add the `const' keyword.
        (normal_memory_operand): Add prototype.
        * alpha.md: Cast an expression to `unsigned HOST_WIDE_INT' when
        comparing against one.

From-SVN: r25532
1999-03-02 07:21:47 +00:00
Kaveh R. Ghazi
e2fe6abaf2 mips.c (abort_with_insn): Make function static...
* mips.c (abort_with_insn): Make function static, add a prototype,
        constify 2nd parameter and mark with ATTRIBUTE_NORETURN.
        (current_function_file, mips_cpu_string, mips_isa_string,
        mips_abi_string, mips_no_mips16_string, mips_entry_string,
        mips_move_1word, mips_move_2words, output_block_move, load_store,
        override_options, make_temp_file, mips16_fp_args): Qualify a char*
        with the `const' keyword.
        * mips.h (current_function_file, mips_cpu_string, mips_isa_string,
        mips_abi_string, mips_entry_string, mips_no_mips16_string,
        mips_move_1word, mips_move_2words, output_block_move): Likewise.
        (abort_with_insn): Remove extern prototype.
        * mips.md: Qualify a char* with the `const' keyword.
        Remove many unused variables named `label'.

From-SVN: r25531
1999-03-02 07:07:33 +00:00
H.J. Lu
9fc9b82ad4 Makefile.in (cpp_install_dir, [...]): New variables.
�
        * Makefile.in (cpp_install_dir, INSTALL_CPP, UNINSTALL_CPP): New
        variables.
        (install-cpp, uninstall-cpp): New targets.
        (install-normal): Depend on $(INSTALL_CPP).
        (uninstall): Depend on $(UNINSTALL_CPP).
        * configure.in (cpp_install_dir): New, substitute.
        (tmake_file): Added t-install-cpp for --enable-cpp.
        * configure: Rebuilt.
        * cpp.sh: New cpp script.
        * config/t-install-cpp: New target fragment.

From-SVN: r25530
1999-03-01 17:59:35 -07:00
H.J. Lu
587a4ba62c Makefile.in (cpp_install_dir, [...]): New variables.
p
        * Makefile.in (cpp_install_dir, INSTALL_CPP, UNINSTALL_CPP): New
        variables.
        (install-cpp, uninstall-cpp): New targets.
        (install-normal): Depend on $(INSTALL_CPP).
        (uninstall): Depend on $(UNINSTALL_CPP).
        * configure.in (cpp_install_dir): New, substitute.
        (tmake_file): Added t-install-cpp for --enable-cpp.
        * configure: Rebuilt.
        * cpp.sh: New cpp script.
        * config/t-install-cpp: New target fragment.

From-SVN: r25529
1999-03-01 17:59:28 -07:00
H.J. Lu
5f90d01252 Makefile.in (cpp_install_dir, [...]): New variables.
�
        * Makefile.in (cpp_install_dir, INSTALL_CPP, UNINSTALL_CPP): New
        variables.
        (install-cpp, uninstall-cpp): New targets.
        (install-normal): Depend on $(INSTALL_CPP).
        (uninstall): Depend on $(UNINSTALL_CPP).
        * configure.in (cpp_install_dir): New, substitute.
        (tmake_file): Added t-install-cpp for --enable-cpp.
        * configure: Rebuilt.
        * cpp.sh: New cpp script.
        * config/t-install-cpp: New target fragment.

From-SVN: r25528
1999-03-01 17:59:26 -07:00
Franz Sirl
ac7ef8d56b cse.c (fold_rtx): Update comments for (const (minus (label) (label))) case.
* cse.c (fold_rtx): Update comments for (const (minus (label) (label)))
        case.
        (cse_insn): Avoid creating a bogus REG_EQUAL note for
        (const (minus (label) (label)))
        (record_jump_cond): Fix mismatched paren in comment.
Fixes powerpc label-label problem.
Bootstraps on the x86.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>

From-SVN: r25527
1999-03-01 17:45:45 -07:00
Jeff Law
560a78fc8a Daily bump.
From-SVN: r25526
1999-03-01 17:45:03 -07:00
Dan Nicolaescu
d7502074e4 final.c (end_final): There are 11 words in the "main header" structure, not 10.
* final.c (end_final): There are 11 words in the "main header"
        structure, not 10.

From-SVN: r25524
1999-03-01 17:08:51 -07:00
Marc Espie
6e6b05259d * extend.texi: Reference __extension__ in the index.
From-SVN: r25523
1999-03-01 16:11:13 -07:00
Jeffrey A Law
d3aca1d612 * g++.old-deja/g++.law/weak1.C: New test.
From-SVN: r25520
1999-03-01 15:30:22 -07:00
Zack Weinberg
813861ff57 Correct mistake in previous patch
From-SVN: r25519
1999-03-01 20:24:54 +00:00
Jim Wilson
027ea2a719 Patch to fix solaris2 float.h/limits.h conflict.
* Makefile.in (CROSS_FLOAT_H): Delete.
	(FLOAT_H): Use float_h_file.
	(rest.cross, stmp-int-hdrs): Delete gfloat.h dependency.
	(gfloat.h): Delete.
	(stmp-int-hdrs): Use FLOAT_H instead of gfloat.h.
	(mostlyclean): Delete gloat.h reference.
	(install-cross-rest, install-float-h-cross, stmp-headers): Update
	comments.
	* configure.in (sparcv9-*-solaris2*): Set float_format to none.
	(sparc-*-solaris2*): Set float_format to none for 2.5 and higher.
	(float_h_file): Set from float_format.  Substitute into Makefile.in.
	(float_format): No longer substitute into Makefile.in.
	* cross-make (FLOAT_H): Delete.
	* config/mips/t-cross64 (FLOAT_H): Delete.
	* configure: Rebuilt.

From-SVN: r25518
1999-03-01 11:15:49 -08:00
Jeffrey A Law
487f99d2ab mips.md (div_trap_normal, [...]): Require the dependent insn to be an INSN before looking at its pattern.
* mips.md (div_trap_normal, div_trap_mips16): Require the dependent
        insn to be an INSN before looking at its pattern.

From-SVN: r25517
1999-03-01 08:44:24 -07:00
Jim Wilson
03db53b18c Patch to fix coldfire bugs found by PlumHall testing.
* config/m68k/lb1sf68.asm (udivsi3): Change jmi to jcs.  Fix comments.
	* config/m68k/m68k.h (LEGITIMATE_INDEX_REG_P): Reject SIGN_EXTEND of
	HImode reg when TARGET_5200.

From-SVN: r25516
1999-03-01 07:06:46 -08:00
J"orn Rennecke
b4d34be1f3 From Toshiyasu Morita:
* sh.h (CACHE_LOG): SH2 has cache, too.

From-SVN: r25515
1999-03-01 13:49:34 +00:00
Catherine Moore
1746404be2 toplev.c (compile_file): Disable -ffunction-sections and debugging warning if the object format is elf.
Mon Mar  1 14:06:36 1999  Catherine Moore  <clm@cygnus.com>
        * toplev.c (compile_file):  Disable -ffunction-sections and
        debugging warning if the object format is elf.

From-SVN: r25514
1999-03-01 07:29:35 -05:00
Vladimir N. Makarov
a653b93fbd h8300.c (print_operand): Use 16 bit addressing when the data in 8-bit area and can not be addressed by 8-bit.
Mon Mar  1 11:46:25 1999  Vladimir N. Makarov  <vmakarov@cygnus.com>
	* config/h8300/h8300.c (print_operand):  Use 16 bit addressing
	when the data in 8-bit area and can not be addressed by 8-bit.

From-SVN: r25513
1999-03-01 08:53:02 +00:00
Zack Weinberg
d45c91d3a2 noncompile.exp (951025-1.c): Accept an error message on line 1 or line 2; cccp and cpplib do this differently.
1999-03-01 Zack Weinberg  <zack@rabi.columbia.edu>
	* noncompile/noncompile.exp (951025-1.c): Accept an error
	message on line 1 or line 2; cccp and cpplib do this differently.

From-SVN: r25512
1999-03-01 07:10:45 +00:00
Jeff Law
d6d32ef98c Daily bump.
From-SVN: r25511
1999-02-28 17:45:05 -07:00
Richard Henderson
b3bf5bde78 * flow.c (create_basic_block): Disregard integrated bb notes.
From-SVN: r25510
1999-02-28 08:41:04 -08:00
Richard Henderson
532eedf4ed * sparc.md (blockage, nonlocal_goto_receiver): Set length to 0.
From-SVN: r25509
1999-02-28 07:58:15 -08:00
Zack Weinberg
456bf3e3b3 Minor tweaks to testing harness
From-SVN: r25508
1999-02-28 15:05:41 +00:00
Zack Weinberg
6efbe8353c New test; derived from glibc regression
From-SVN: r25507
1999-02-28 15:05:16 +00:00
Zack Weinberg
5762f506e7 990119-1.c: Renamed to...
1999-02-28 17:59 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
	* gcc.c-torture/execute/990119-1.c: Renamed to...
	* gcc.dg/990119-1.c: this, so it will only be tested once
	(it's a preprocessor test, it doesn't need to be run at
	multiple optimization levels).

From-SVN: r25506
1999-02-28 15:03:13 +00:00
Arturo Montes
9b0bdc3c9e t-sco5gas (crti.o): New target.
h
Sun Feb 28 14:47:53 1999  Arturo Montes  <mitosys@colomsat.com.co>
        * config/i386/t-sco5gas (crti.o): New target.

From-SVN: r25503
1999-02-28 12:49:37 +00:00
Arturo Montes
f81005dec6 t-sco5gas (crti.o): New target.
�
Sun Feb 28 14:47:53 1999  Arturo Montes  <mitosys@colomsat.com.co>
        * config/i386/t-sco5gas (crti.o): New target.

From-SVN: r25502
1999-02-28 12:49:34 +00:00
David Edelsohn
52d3af72b2 [multiple changes]
Sun Feb 28 15:10:17 1999  David Edelsohn  <edelsohn@mhpcc.edu>
        * rs6000.md (elf_high, movsi_got, *movsi_got_internal,
        *movsi_got_internal_mem, GOT splitter, movdf_hardfloat32,
        movdf_softfloat32, movdf_hardfloat64, movdf_softfloat64,
        load_multiple, allocate_stack, call_indirect_aix32,
        call_indirect_aix64, call_value_indirect_aix32,
        call_value_indirect_aix64, call_indirect_nt,
        call_value_indirect_nt): Use gpc_reg_operand instead of
        register_operand.
Sun Feb 28 15:10:17 1999  Michael Meissner  <meissner@cygnus.com>
        * rs6000.md (one_cmplsi2, andsi3, iorsi3, xorsi3, *eqvsi3,
        *andcsi3, *iorcsi3, *nandsi3, *norsi3): Add alternatives to use CR
        other than cr0.
        * rs6000.c (and{,64}_operand): If the user did -ffixed-cr0, don't
        allow andi. or andis. which always set cr0.

From-SVN: r25501
1999-02-28 07:27:05 -05:00
Arturo Montes
85397055b2 Revisionist history.
Revisionist history.   When committing the patch from Arturo, I
(mistakenly) didn't commit the ChangeLog.   Since the change happened
before the snapshot, I'm putting the entry where it occurred in time,
not at the top.

From-SVN: r25500
1999-02-28 12:23:40 +00:00
Martin v. Löwis
c13861594e Fix bug, mark expected failure
From-SVN: r25499
1999-02-28 09:56:05 +00:00
Martin v. Löwis
994de9dd71 New test cases.
From-SVN: r25498
1999-02-28 09:07:01 +00:00
Geoffrey Noer
282e5df8f1 * config.sub: Check for "cygwin*" rather than "cygwin32*"
From-SVN: r25497
1999-02-27 18:23:55 -07:00
Jeffrey A Law
23a7f9f2fd Bump for snapshot
From-SVN: r25495
1999-02-27 18:15:08 -07:00
Jeffrey A Law
732135bf1c * invoke.texi: Update information for PA scheduling.
From-SVN: r25494
1999-02-27 18:05:37 -07:00
Jerry Quinn
439cfa45b9 pa.c (override_options): Change default to 7100LC
* pa.c (override_options): Change default to 7100LC

Co-Authored-By: Mike Stump <mrs@wrs.com>

From-SVN: r25493
1999-02-27 18:01:34 -07:00
Jeff Law
4b3528d1ce Daily bump.
From-SVN: r25492
1999-02-27 17:45:03 -07:00
Jason Merrill
4cfa922359 update
From-SVN: r25491
1999-02-27 19:22:44 -05:00
Jerry Quinn
2faa455b71 pa.h (REG_ALLOC_ORDER): Change order to allocate left half of float regs before right half of float regs.
* pa.h (REG_ALLOC_ORDER): Change order to allocate left half of
        float regs before right half of float regs.

Co-Authored-By: Mike Stump <mrs@wrs.com>

From-SVN: r25488
1999-02-27 15:23:31 -07:00
H.J. Lu
8f08ea1e47 frame.h: Update some comments.
* frame.h: Update some comments.
        * defaults.h (TARGET_ATTRIBUTE_WEAK): Define.
        * crtstuff.c (__register_frame_info, __deregister_frame_info): Declare
        using TARGET_WEAK_ATTRIBUTE.
        (__do_global_dtors_aux): Check if __deregister_frame_info is
        zero before calling it.
        (__do_global_dtors): Likewise.
        (frame_dummy): Check if __register_frame_info is zero before
        calling it.
        (__frame_dummy): Likewise.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>

From-SVN: r25487
1999-02-27 15:21:58 -07:00
Jeffrey A Law
b78abfe951 * SERVICE: Update from the FSF.
From-SVN: r25481
1999-02-27 11:19:40 -07:00
Arturo Montes
42902a7288 conifgure: regenerate
conifgure: regenerate
        * config/i386/t-sco5 (crti.o): New target.
        * config/i386/sco5.h (STARTFILE_SPEC): Include crti.o when
        linking -shared.
        * configure.in (i[34567]86-*-sco3.2v5*): Add crti.o.

From-SVN: r25480
1999-02-27 12:48:26 +00:00
Zack Weinberg
7126c249f2 g++.exp: Don't add incdir=$base_dir/../include to ALWAYS_CXXFLAGS.
1999-02-27 13:34 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
	* lib/g++.exp: Don't add incdir=$base_dir/../include to
        ALWAYS_CXXFLAGS.

From-SVN: r25479
1999-02-27 10:37:09 +00:00
Jeff Law
8d64952899 Daily bump.
From-SVN: r25478
1999-02-26 17:45:05 -07:00
Jeff Law
0b433de68e [multiple changes]
Sat Feb 27 01:12:40 1999  Jeffrey A Law  (law@cygnus.com)
        * md.texi (prologue,epilogue): Document named patterns.
Fri Feb 26 19:31:25 1999  Dave Love  <fx@gnu.org>
        * md.texi, invoke.texi: Fix unterminated @xrefs.

From-SVN: r25477
1999-02-26 17:16:01 -07:00
Nathan Sidwell
6654316990 typeck.c (complete_type_or_else): Add VALUE arg, for helpful diagnostics.
* typeck.c (complete_type_or_else): Add VALUE arg, for helpful
	diagnostics.
	cp-tree.h (complete_type_or_else): Added VALUE parameter.
	* init.c (build_new_1): Extra arg to complete_type_or_else.
	(build_delete): Likewise.
	* typeck.c (require_complete_type): Likewise.
	(pointer_int_sum): Likewise.
	(pointer_diff): Likewise.
	(build_component_ref): Likewise.
	* typeck2.c (incomplete_type_error): Always use cp_error.
	Show declaration of undefined type, if appropriate.
	Deal with UNKNOWN_TYPE nodes.
	* typeck.c (require_complete_type): Use TYPE_SIZE as
	size_zero_node to mean incomplete type.
	(require_complete_type_in_void): New function.
	(build_compound_expr): Call complete_type_in_void for LHS.
	(build_c_cast): Call complete_type_in_void for void cast.
	* cvt.c (ocp_convert): Call complete_type_in_void for void cast.
	* decl.c (cplus_expand_expr_stmt): Void expression checks moved to
	require_complete_type_in_void. Call it.
	* cp-tree.h (require_complete_type_in_void): Prototype new function.
	* typeck.c (convert_arguments): Use alternative format for function
	decls. Don't require_complete_type here. Simplify diagnostic printing.
	(convert_for_initialization): Don't require_complete_type on RHS yet.
	* call.c (convert_arg_to_ellipsis): Call require_complete_type.
	* call.c (build_over_call): Cope with qualified void return type.
	* semantics.c (finish_call_expr): Likewise
	* typeck.c (build_function_call_real): Likewise
	(c_expand_return): Likewise
	* decl2.c (reparse_absdcl_as_expr): Cope with qualified void type.
	* call.c (print_z_candidates): Use alternate print format, to be
	consistant with (pt.c) print_candidates.
	method.c (hack_identifier): List candidate members.
	search.c (lookup_field): Build ambiguous list, and show it, if
	ambiguous.

From-SVN: r25474
1999-02-26 18:37:04 -05:00
Richard Henderson
99f25d8ea8 * genextract.c (main): Clear recog_operands before extracting.
From-SVN: r25473
1999-02-26 08:00:08 -08:00
Richard Henderson
6166aa0143 genattrtab.c (simplify_knowing): Fix uninitialized read in Feb 21 change.
* genattrtab.c (simplify_knowing): Fix uninitialized read
        in Feb 21 change.

From-SVN: r25472
1999-02-26 07:35:21 -08:00
Per Bothner
afe81dd650 check-init.c (check_init): COPYN takes word count, not bit count.
0
	*  check-init.c (check_init):  COPYN takes word count, not bit count.

From-SVN: r25471
1999-02-26 06:50:21 -08:00
Per Bothner
5721db78f1 check-init.c (check_init): COPYN takes word count, not bit count.
�
	*  check-init.c (check_init):  COPYN takes word count, not bit count.

From-SVN: r25470
1999-02-26 06:50:20 -08:00