Commit Graph

21108 Commits

Author SHA1 Message Date
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
Per Bothner
2d9e5c79ff typeck.c (convert_ieee_real_to_integer): Use save_expr instead of explicit build_decl.
�
	* typeck.c (convert_ieee_real_to_integer):  Use save_expr instead of
	explicit build_decl.  (Avoids crash in reload when optimizing.)
	* decl.c (complete_start_java_method):  Handle synchronized method
	even when compiling from bytecode.

From-SVN: r25469
1999-02-26 06:43:30 -08:00
Per Bothner
37a08adb75 typeck.c (convert_ieee_real_to_integer): Use save_expr instead of explicit build_decl.
�
	* typeck.c (convert_ieee_real_to_integer):  Use save_expr instead of
	explicit build_decl.  (Avoids crash in reload when optimizing.)
	* decl.c (complete_start_java_method):  Handle synchronized method
	even when compiling from bytecode.

From-SVN: r25468
1999-02-26 06:43:29 -08:00
Tom Tromey
686fb23678 gjavah.c (add_class_decl): Only generate `#include' if outer class is not the name of the class we are...
* gjavah.c (add_class_decl): Only generate `#include' if outer
	class is not the name of the class we are processing.  Correctly
	append `.h' in #include.
	(process_file): Clean up newlines around generated `#include's.
	(decode_signature_piece): Correctly handle inner classes.
	(struct include): New structure.
	(all_includes): New global.
	(print_include): New function.
	(add_class_decl): Use it.
	(process_file): Likewise.
	(add_class_decl): Generate include for java-array.h if array
	seen.
	(process_file): Don't generate java-array.h include.

From-SVN: r25460
1999-02-26 12:49:52 +00:00
Mark Mitchell
5f56af5a8d typeck.c (decay_conversion): Don't confuse constant array variables with their intiailizers.
* typeck.c (decay_conversion): Don't confuse constant array
	variables with their intiailizers.

From-SVN: r25459
1999-02-26 12:15:37 +00:00
Mark Mitchell
2b0a63a35b decl.c (duplicate_decls): Copy DECL_TEMPLATE_INSTANTIATED when merging decls.
* decl.c (duplicate_decls): Copy DECL_TEMPLATE_INSTANTIATED when
	merging decls.
	* pt.c (regenerate_decl_from_template): Tweak for clarity.
	(instantiate_decl): Mark a decl instantiated before regenerating
	it to avoid recursion.
	* tree.c (mapcar): Don't call decl_constant_value unless we know
	something is TREE_READONLY_DECL_P.

From-SVN: r25458
1999-02-26 12:11:43 +00:00
Mark Mitchell
ed70c42623 class.c (check_for_override): Don't stop checking when we find the first overridden function.
* class.c (check_for_override): Don't stop checking when we find
	the first overridden function.  Delete #if 0'd code.
	* search.c (get_matching_virtual): Likewise.

From-SVN: r25457
1999-02-26 12:00:10 +00:00
Tom Tromey
f3d50f4227 gjavah.c (add_namelet): Check for standard package names here.
* gjavah.c (add_namelet): Check for standard package names here.
	(add_class_decl): Don't check for standard package names here.

From-SVN: r25456
1999-02-26 11:33:53 +00:00
Zack Weinberg
7c11f9d50f Don't shift signed positive integers into the sign bit
From-SVN: r25455
1999-02-26 06:00:48 +00:00
Jeffrey A Law
0e9264a2d4 * c-pragma.c (add_weak); Delete. Moved into...
* varasm.c (add_weak): New external function.
        (declare_weak): If HANDLE_PRAGMA_WEAK, then add the function to
        the list of weak functions.
        * c-pragma (add_weak): Declare.

From-SVN: r25454
1999-02-25 18:29:21 -07:00