Commit Graph

29784 Commits

Author SHA1 Message Date
Jeff Law
f72426550c Daily bump.
From-SVN: r35660
2000-08-13 01:45:08 -06:00
Geoff Keating
2f5c7f4522 tree.h (DECL_OFFSET_ALIGN): Make the off_align field of the tree structure an exponent rather than an...
* tree.h (DECL_OFFSET_ALIGN): Make the off_align field of
the tree structure an exponent rather than an explicit alignment
so it doesn't overflow.
(SET_DECL_OFFSET_ALIGN): New macro.
* stor-layout.c (place_union_field): Use SET_DECL_OFFSET_ALIGN
rather than DECL_OFFSET_ALIGN.
(place_field): Likewise.
* expmed.c (store_bit_field): Abort on align==0 to avoid
antisocial machine behaviour.

From-SVN: r35659
2000-08-12 22:45:05 +00:00
Alexandre Oliva
808d8c4171 config-ml.in (CC): Remove bogus duplicate quotation mark from previous delta.
* config-ml.in (CC): Remove bogus duplicate quotation mark from
previous delta.

From-SVN: r35658
2000-08-12 22:35:14 +00:00
Richard Henderson
055bcfeeda sibcall.c (uses_addressof): Accept both addressof and current_function_internal_arg_pointer inside a mem.
* sibcall.c (uses_addressof): Accept both addressof and
        current_function_internal_arg_pointer inside a mem.
        (optimize_sibling_and_tail_recursive_call): Fail tail recursion
        if current_function_uses_addressof.
        * stmt.c (expand_return): Kill tail recursion and HAVE_return
        optimizations.

From-SVN: r35657
2000-08-12 09:28:10 -07:00
Jeff Law
3ac597cb9a Daily bump.
From-SVN: r35656
2000-08-12 01:45:06 -06:00
Jason Merrill
babdef3603 tweak comment
From-SVN: r35655
2000-08-11 22:09:28 -04:00
Kriang Lerdsuwanakij
fa1f3ebcf4 parse.y (template_arg): Add rule for template qualified with global scope.
* parse.y (template_arg): Add rule for template qualified with
        global scope.

From-SVN: r35654
2000-08-11 22:09:02 -04:00
Theodore Papadopoulo
9845b52bfb decl2.c (add_function): Reorganize.
* decl2.c (add_function): Reorganize.
        (arg_assoc): Do not consider function template decls.

From-SVN: r35653
2000-08-11 21:30:06 -04:00
Daniel Berlin
3388651ce0 cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to if (AUTO_DEMANGLING || GNU_DEMANGLING)
* cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
        if (AUTO_DEMANGLING || GNU_DEMANGLING)

From-SVN: r35652
2000-08-11 20:55:05 -04:00
Jason Merrill
1fc8c51cd4 configure.in (CC_FOR_TARGET, [...]): Add -B$$r/gcc/ here.
* configure.in (CC_FOR_TARGET, CHILL_FOR_TARGET,
        CXX_FOR_TARGET): Add -B$$r/gcc/ here.
        (FLAGS_FOR_TARGET): Not here.
        (CHILL_FOR_TARGET, CXX_FOR_TARGET): Don't check the list of languages.

From-SVN: r35651
2000-08-11 20:48:46 -04:00
Jason Merrill
e69c807271 decl.c (lookup_name_real): Don't forget the TYPENAME_TYPE we're looking inside.
* decl.c (lookup_name_real): Don't forget the TYPENAME_TYPE we're
        looking inside.

From-SVN: r35650
2000-08-11 20:02:49 -04:00
Richard Henderson
058557c4d1 ia64.md (addsi3): Remove expander.
* config/ia64/ia64.md (addsi3): Remove expander.
        (subsi3, mulsi3, negsi2, one_cmplsi2): Likewise.
        (*addsi3_shladd): New.

From-SVN: r35649
2000-08-11 16:48:26 -07:00
Richard Henderson
870f9ec0bc ia64.c (do_spill): Pass cfa offset to move expander.
* config/ia64/ia64.c (do_spill): Pass cfa offset to move expander.
        (do_restore): Likewise.
        (gen_movdi_x, gen_fr_spill_x, gen_fr_restore_x): New.
        (ia64_expand_prologue, ia64_expand_epilogue): Use them.
        (rtx_needs_barrier): Track actual bit manipulation for
        ar.unat moves, gr_spill, and gr_restore.
        (emit_insn_group_barriers): Special case gr_spill/gr_restore.
        (process_set): Don't handle varargs spills.
        * config/ia64/ia64.md (gr_spill): Accept cfa offset.  Emit
        .mem.offset here instead of in process_set.
        (gr_restore): Likewise.

From-SVN: r35648
2000-08-11 16:10:10 -07:00
Jason Merrill
dc329d2938 straits.h (is_del): Boolify with !!.
* std/straits.h (is_del): Boolify with !!.

        * std/bastring.cc (compare to charT*): Add rlen==n check.
        * std/bastring.h (Rep::grab): Add x86 atomic version.

From-SVN: r35647
2000-08-11 18:41:38 -04:00
Richard Henderson
dcf6e6746d * config/ia64/ia64.h (PROMOTE_MODE): Only extend to SImode.
From-SVN: r35646
2000-08-11 15:25:22 -07:00
Geoff Keating
85804ec662 configure.in (CHILL_FOR_TARGET, [...]): Use slightly more portable shell script to convert blanks to commas in $LANGUAGES.
* configure.in (CHILL_FOR_TARGET, CXX_FOR_TARGET): Use slightly more
portable shell script to convert blanks to commas in $LANGUAGES.

From-SVN: r35645
2000-08-11 22:02:04 +00:00
Alexandre Petit-Bianco
34d4df0620 class.c (maybe_layout_super_class): Fixed indentation.
2000-08-10  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * class.c (maybe_layout_super_class): Fixed indentation.
        * java-tree.h (CLASS_METHOD_CHECKED_P): New macro.
        (java_check_methods): New function declaration.
        * jcf-parse.c (get_constant): Let `char_len' go up to 3. Use `str'
        instead of `str_ptr'.
        * jcf-write.c (generate_bytecode_insns): Emit number the of args
        of a `invokeinterface' at the right time.
        * parse.h (WFL_STRIP_BRACKET): New macro.
        (SET_TYPE_FOR_RESOLUTION): Use it.
        * parse.y (build_unresolved_array_type): Reuse `type_or_wfl.'
        (check_class_interface_creation): Don't check for cross package
        innerclass name clashes.
        (method_header): Behave properly if MDECL is `error_mark_node.'
        (method_declarator): Return `error_mark_node' if bogus current
        class.
        (resolve_class): Apply WFL_STRIP_BRACKET on `cl' if necessary.
        (resolve_and_layout): New local `decl_type', set and used. Call
        java_check_methods.
        (java_check_methods): New method.
        (java_layout_classes): Use it.
        (resolve_qualified_expression_name): No EH check necessary in
        access$<n>.
        (java_complete_lhs): Use VAR_DECL's DECL_INITIAL when evaluating
        `case' statement.
        (patch_assignment): Set DECL_INITIAL on integral final local.

(http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00516.html)

From-SVN: r35644
2000-08-11 15:01:37 -07:00
Manfred Hollstein
82fbe83592 * objc-features.texi: Move @node Top before @menu.
From-SVN: r35643
2000-08-11 15:25:29 -06:00
Mark Elbrecht
d9673c7951 gcc.texi (The Configuration File): Document COLLECT2_HOST_INITIALIZATION...
* gcc.texi (The Configuration File): Document
        COLLECT2_HOST_INITIALIZATION, GCC_DRIVER_HOST_INITIALIZATION, and
        UPDATE_PATH_HOST_CANONICALIZATION.

From-SVN: r35642
2000-08-11 15:23:00 -06:00
Kaveh R. Ghazi
402d11e13f c-parse.in (cast_expr): Avoid -Wstrict-prototype warnings for unprototyped function pointer casts on...
* c-parse.in (cast_expr): Avoid -Wstrict-prototype warnings for
	unprototyped function pointer casts on integer constants.

From-SVN: r35638
2000-08-11 16:25:02 +00:00
G. Helffrich
a8e2bb7666 com.c (ffecom_transform_equiv_): Make EQUIVALENCEs addressable so that debug info can be attached to their storage.
2000-08-11  G. Helffrich  <george@gly.bris.ac.uk>
            Toon Moene  <toon@moene.indiv.nluug.nl>

	* com.c (ffecom_transform_equiv_): Make EQUIVALENCEs addressable
	so that debug info can be attached to their storage.
	Unconditionally list the storage set aside for them.

Co-Authored-By: Toon Moene <toon@moene.indiv.nluug.nl>

From-SVN: r35637
2000-08-11 16:11:08 +00:00
Laurynas Biveinis
87cf27fece * fixproto: Recognize DOS paths with drive letters as absolute paths.
From-SVN: r35636
2000-08-11 09:20:10 -06:00
Alexandre Oliva
2569888781 * config-ml.in (CC, CXX): Don't introduce a leading space.
From-SVN: r35635
2000-08-11 14:55:08 +00:00
Nathan Sidwell
5c1e54768f cp-tree.h (resolve_scope_to_name): Remove unused prototype.
* cp-tree.h (resolve_scope_to_name): Remove unused prototype.
	(lookup_nested_tag): Likewise.

	* decl2.c (grokfield): Fix comment to reflect many types of _DECLs
	can be produced.

From-SVN: r35634
2000-08-11 14:09:15 +00:00
Nathan Sidwell
5426aa7faf parse.y (named_complex_class_head_sans_basetype): Remove always true if.
* parse.y (named_complex_class_head_sans_basetype): Remove
	always true if.

From-SVN: r35633
2000-08-11 13:53:39 +00:00
Nathan Sidwell
8117da65db * extend.texi (Volatiles): Fix typos.
From-SVN: r35632
2000-08-11 13:42:32 +00:00
Kazu Hirata
c9bacfdb84 * flow.c: Fix formatting.
From-SVN: r35631
2000-08-11 06:45:05 -06:00
Nathan Sidwell
b333f246e4 * g++.old-deja/g++.pt/explicit81.C: New test.
From-SVN: r35630
2000-08-11 09:28:08 +00:00
Nathan Sidwell
fd037e0d44 decl2.c (build_expr_from_tree, [...]): Build explicit TEMPLATE_ID_EXPR args.
* decl2.c (build_expr_from_tree, case METHOD_CALL_EXPR): Build
	explicit TEMPLATE_ID_EXPR args.
	(build_expr_from_tree, case CALL_EXPR): Likewise.

From-SVN: r35629
2000-08-11 09:28:01 +00:00
Nathan Sidwell
9104081d78 * g++.old-deja/g++.pt/typename26.C: New test.
From-SVN: r35628
2000-08-11 09:12:43 +00:00
Nathan Sidwell
73ae5c34ab decl.c (check_tag_decl): Diagnose typename's which don't declare anything.
* decl.c (check_tag_decl): Diagnose typename's which don't
	declare anything.

From-SVN: r35627
2000-08-11 09:12:31 +00:00
Richard Henderson
9eba0801b6 reload.c (push_secondary_reload): When invoking a reload_{in,out} pattern...
* reload.c (push_secondary_reload): When invoking a reload_{in,out}
        pattern, always allocate a tertiary scratch register.

        * config/alpha/alpha.md (reload_inqi): Use a DImode scratch.
        (reload_inhi): Likewise.

From-SVN: r35626
2000-08-11 01:52:58 -07:00
Richard Henderson
8b4944fbce function.c (put_reg_into_stack): Allow type to be NULL.
* function.c (put_reg_into_stack): Allow type to be NULL.
        (schedule_fixup_var_refs): Likewise.
        (gen_mem_addressof): Allow decl to be NULL.
        (put_addressof_into_stack): Likewise.

From-SVN: r35625
2000-08-11 00:49:07 -07:00
Jeff Law
6481aabdb4 Daily bump.
From-SVN: r35624
2000-08-11 01:45:09 -06:00
Richard Henderson
8416f80a8a flow.c (merge_blocks_nomove): Be more careful about locating the beginning of block A.
* flow.c (merge_blocks_nomove): Be more careful about
        locating the beginning of block A.

From-SVN: r35623
2000-08-11 00:39:55 -07:00
Richard Henderson
f94d0f60d3 * combine.c (simplify_shift_const): Obey SHIFT_COUNT_TRUNCATED.
From-SVN: r35622
2000-08-11 00:38:23 -07:00
Benjamin Kosnik
9c683c2adc locale_facets.tcc: Formatting tweaks.
2000-08-10  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

        * bits/locale_facets.tcc: Formatting tweaks.
        * bits/locale_facets.h (__enc_traits): Start integrating this
        into codecvt, ctype. Formatting tweaks.

From-SVN: r35621
2000-08-11 07:32:37 +00:00
Ovidiu Predescu
4b48731a0d Reverted the check for <sched.h>.
From-SVN: r35620
2000-08-11 05:51:12 +00:00
Geoff Keating
be875f8044 * gcc.dg/920413-1.c: Allow for 'traditional C rejects 'U' suffix' warning.
From-SVN: r35619
2000-08-11 03:58:55 +00:00
Chris Demetriou
204772eb9c elf.h (CTOR_SECTION_NAME, [...]): New macros define the name of CTOR and DTOR sections.
* mips/elf.h (CTOR_SECTION_NAME, DTOR_SECTION_NAME): New
	macros define the name of CTOR and DTOR sections.
	(CTOR_LIST_BEGIN, CTOR_LIST_END, DTOR_LIST_BEGIN,
	DTOR_LIST_END): Change to use attributes to specify
	sections.
        * mips/elf64.h (CTOR_SECTION_NAME, DTOR_SECTION_NAME,
	(CTOR_LIST_BEGIN, CTOR_LIST_END, DTOR_LIST_BEGIN,
	DTOR_LIST_END): Same as in mips/elf.h.

From-SVN: r35618
2000-08-10 21:18:05 -06:00
Tom Tromey
366a0fd804 natPlainSocketImpl.cc (bind): Don't go to error case when errno not set.
* java/net/natPlainSocketImpl.cc (bind): Don't go to error case
	when errno not set.
	(connect): Likewise.
	(accept): Likewise.
	(getOption): Likewise.
	* java/net/natPlainDatagramSocketImpl.cc (bind): Don't go to error
	case when errno not set.
	(peek): Likewise.
	(send): Likewise.
	(receive): Likewise.
	(mcastGrp): Likewise.
	(setOption): Likewise.
	(getOption): Likewise.

From-SVN: r35617
2000-08-11 03:07:59 +00:00
Kazu Hirata
edd71f0f6c h8300.c (expand_a_rotate): New.
* h8300.c (expand_a_rotate): New.
        (emit_a_rotate): Likewise.
        (h8300_adjust_insn_length): Add support for the rotate insns.
        * h8300.md (rotlqi3): New.
        (*rotlqi3_1): Likewise.
        (rotlhi3): Likewise.
        (*rotlhi3_1): Likewise.
        (rotlhi3): Likewise.
        (*rotlhi3_1): Likewise.
        * h8300-proto.h: Add prototypes for expand_a_rotate and
        emit_a_rotate.

From-SVN: r35616
2000-08-10 19:43:47 -06:00
Drew Moseley
dff55dbc71 mn10300.h: Added no-crt0 option for explicitly disabling just crt0.o.
* config/mn10300/mn10300.h: Added no-crt0 option for explicitly
disabling just crt0.o.

From-SVN: r35615
2000-08-11 01:31:14 +00:00
Richard Earnshaw
6dcd26ea33 Fix interworking support of functions in lib1funcs.asm.
From-SVN: r35610
2000-08-11 00:30:55 +00:00
Kazu Hirata
64530b8273 h8300.c: Fix comment typos.
* h8300.c: Fix comment typos.
        (dosize): Declare the variable amount as unsigned.
        (get_shift_alg): Fix a comparison between signed and unsigned.
        (emit_a_shift): Likewise.
        (h8300_adjust_insn_length): Simplify the code.

From-SVN: r35609
2000-08-10 17:21:52 -06:00
Kazu Hirata
6645c3fac8 * c-decl.c: Fix formatting.
From-SVN: r35608
2000-08-10 16:01:22 -06:00
Kaveh R. Ghazi
7da92c086f c-lex.c (parse_float, yylex): For -Wtraditional, issue a warning about non-traditional numeric constant suffixes.
* c-lex.c (parse_float, yylex): For -Wtraditional, issue a
	warning about non-traditional numeric constant suffixes.

	* cppexp.c (parse_number): Likewise.

	* invoke.texi: (-Wtraditional): Document new behavior.

From-SVN: r35607
2000-08-10 15:21:18 +00:00
Nathan Sidwell
b498d041fa * g++.old-deja/g++.other/array3.C: New test.
From-SVN: r35606
2000-08-10 12:33:45 +00:00
Nathan Sidwell
aa54df0901 init.c (build_aggr_init): Reject bogus array initializers early.
* init.c (build_aggr_init): Reject bogus array initializers
	early.

From-SVN: r35605
2000-08-10 12:32:40 +00:00
Bryce McKinlay
af65739581 cvs commit ChangeLog
From-SVN: r35604
2000-08-10 10:10:58 +01:00