Commit Graph

27883 Commits

Author SHA1 Message Date
Richard Henderson
cf889600be configure.in (alpha*-*-linux-gnulibc1*): Remove reference to alpha/t-linux.
* configure.in (alpha*-*-linux-gnulibc1*) [tmake_file]: Remove
        reference to alpha/t-linux.
        (alpha*-*-linux-gnu*): Likewise.
        * configure: Rebuild.

From-SVN: r33598
2000-05-01 17:15:28 -07:00
Richard Henderson
1868a0d4da flow.c (calculate_global_regs_live): Skip for_each_successor_phi if not in SSA form.
* flow.c (calculate_global_regs_live): Skip for_each_successor_phi
        if not in SSA form.

From-SVN: r33597
2000-05-01 17:02:24 -07:00
Richard Henderson
8be9eb00e5 * calls.c (expand_call): Don't emit reg notes for a sibcall.
From-SVN: r33596
2000-05-01 16:59:00 -07:00
Jason Merrill
5062dbd5ae tree.c (build_target_expr_with_type): If we already have a TARGET_EXPR, just return it.
* tree.c (build_target_expr_with_type): If we already have a
        TARGET_EXPR, just return it.

        * optimize.c (initialize_inlined_parameters): Don't generate an
        EXPR_STMT if we can just use DECL_INITIAL.
        * decl.c (emit_local_var): Only make the initialization a
        full-expression if stmts_are_full_exprs_p.

From-SVN: r33595
2000-05-01 19:51:37 -04:00
Benjamin Kosnik
cde28f0da4 Makefile.am (AC_CXXFLAGS): Add CPUFLAGS here.
2000-05-01  Benjamin Kosnik  <bkoz@haight.constant.com>

	* src/Makefile.am (AC_CXXFLAGS): Add CPUFLAGS here.
	* src/Makefile.in: Regenerate.
	* acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Revert.

From-SVN: r33593
2000-05-01 23:47:31 +00:00
Alexandre Petit-Bianco
c6c4a70b9e (The patch contained impurities -- this should fix the situation.)
From-SVN: r33591
2000-05-01 15:32:20 -07:00
Richard Henderson
7aa88bcf41 * ifcvt.c (if_convert): Only verify_flow_info if ENABLE_CHECKING.
From-SVN: r33590
2000-05-01 15:25:54 -07:00
Jason Merrill
8eec72ec41 integrate.c (copy_decl_for_inlining): Copy TREE_READONLY and TREE_THIS_VOLATILE.
* integrate.c (copy_decl_for_inlining): Copy TREE_READONLY and
        TREE_THIS_VOLATILE.

From-SVN: r33589
2000-05-01 17:49:37 -04:00
Alexandre Petit-Bianco
e803d3b218 re GNATS gcj/195: (gcj fail on code to implement an inner interface.)
2000-04-25  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * parse.y (register_incomplete_type): Handle JDEP_ANONYMOUS.

(This is a fix for the Java PR #195:
 http://sourceware.cygnus.com/ml/java-prs/2000-q2/msg00009.html)

From-SVN: r33588
2000-05-01 14:46:29 -07:00
Jakub Jelinek
1f57788658 Makefile.am (GCJCOMPILE, [...]): Move -L option out of FLAGS.
2000-04-28  Jakub Jelinek  <jakub@redhat.com>

	* Makefile.am (GCJCOMPILE, JCFLAGS, JF1CLAGS, jv_convert_LINK,
	gij_LINK, libgcj.zip, .java=.class): Move -L option out of FLAGS.
	(libgcj_la_LDFLAGS): Add -L../libstdc++ for in-gcc builds.
	(jv_convert_LDFLAGS, gij_LDFLAGS): Add `pwd`/../libstdc++ to
	-rpath for in-gcc builds.
	* Makefile.in: Rebuilt.

From-SVN: r33587
2000-05-01 21:36:39 +00:00
Jakub Jelinek
91bffbe9d6 Makefile.am (SUBDIRS): Define.
2000-04-28  Jakub Jelinek  <jakub@redhat.com>

	* Makefile.am (SUBDIRS): Define.
	(AM_MAKEFLAGS): Likewise.
	(Multilib support.): Add section.
	* Makefile.in: Rebuilt.
	* ltconfig (extra_compiler_flags, extra_compiler_flags_value):
        New variables. Set for gcc using -print-multi-lib. Export them
        to libtool.
        (sparc64-*-linux-gnu*): Use libsuff 64 for search paths.
        * ltmain.sh (B|b|V): Don't throw away gcc's -B, -b and -V options
        for -shared links.
        (extra_compiler_flags_value, extra_compiler_flags): Check these
        for extra compiler options which need to be passed down in
        compiler_flags.

From-SVN: r33586
2000-05-01 21:35:35 +00:00
Richard Henderson
7e04d3c7e3 ifcvt.c (noce_emit_cmove): Conditionally compile call to emit_conditional_move.
* ifcvt.c (noce_emit_cmove): Conditionally compile call to
        emit_conditional_move.

From-SVN: r33585
2000-05-01 14:21:44 -07:00
Jakub Jelinek
f0b0e152ed Change dynamic linker name to conform to current glibc. From Jakub Jelinek.
* config/ia64/linux.h (LINK_SPEC): Use /lib/ld-linux-ia64.so.1
	as the dynamic linker.

From-SVN: r33584
2000-05-01 13:23:37 -07:00
Zack Weinberg
10e5650699 cppfiles.c (open_include_file): Open file in blocking mode.
* cppfiles.c (open_include_file): Open file in blocking mode.
	(read_include_file): Don't fcntl(fd, F_SETFL, 0) anymore.
	Only exclude block devices and directories.

From-SVN: r33583
2000-05-01 20:05:11 +00:00
Zack Weinberg
cc93392367 Oops, forgot to commit this with the last change
From-SVN: r33582
2000-05-01 18:23:07 +00:00
Zack Weinberg
a7abcbbf92 cpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now static.
* cpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now
	static.  Allocate the hashnode and its string in the same
	block of memory.
	(del_HASHNODE): Don't free h->name.
	(_cpp_lookup): If there is no entry for this string, create
	one, of type T_VOID.
	(_cpp_lookup_slot): Delete.
	* cpphash.h: Update prototypes.

	* cpplex.c (maybe_macroexpand): Check for hp->type == T_VOID,
	not hp == NULL.
	* cpplib.c (do_define, do_undef, do_pragma_poison, do_assert,
	do_unassert, cpp_defined): Use _cpp_lookup.  Don't create a
	node here, just fill in the value field properly.  "Delete"
	entries by setting the value field to T_VOID.  Check for
	hp->type == T_VOID, not hp == NULL.

	* Makefile.in (cpplib.o): Don't depend on $(HASHTAB_H).
	* cpperror.c, cppexp.c, cpplex.c, cpplib.c:  Don't include
	hashtab.h.

From-SVN: r33581
2000-05-01 18:20:10 +00:00
Benjamin Kosnik
b7fe530c1e atomicity.h: Fix typo.
2000-04-30  Benjamin Kosnik  <bkoz@gnu.org>

	* config/cpu/powerpc/bits/atomicity.h: Fix typo.
	* mknumeric_limits (trait_name): Fix copyright notice.
	* src/gen-num-limits.cc: Explicitly instantiate epsilon and
	round_error data members of struct value. This works around
	weak-linking issues on AIX, HPUX.

From-SVN: r33580
2000-05-01 18:14:03 +00:00
Jeff Law
2f9b43773f Update copyrights.
From-SVN: r33579
2000-05-01 11:32:22 -06:00
Jeff Law
0d1cd67541 Update copyright.
From-SVN: r33578
2000-05-01 11:31:40 -06:00
Alexandre Oliva
79e4122c87 mn10300.c (print_operand_address): Do not add zero to SP.
* config/mn10300/mn10300.c (print_operand_address): Do not add
zero to SP.

From-SVN: r33577
2000-05-01 17:28:26 +00:00
Jeff Law
c30b633064 Update copyrights.
From-SVN: r33576
2000-05-01 11:24:23 -06:00
Jeff Law
694805a8c1 Update copyright
From-SVN: r33575
2000-05-01 11:18:52 -06:00
Jeff Law
a864ec13a6 Update copyright.
From-SVN: r33574
2000-05-01 11:17:55 -06:00
Alexandre Oliva
ed6089d61b mn10300.c (expand_epilogue): If SP is to be adjusted by less than 256 bytes...
* config/mn10300/mn10300.c (expand_epilogue): If SP is to be
adjusted by less than 256 bytes, use ret regardless of having any
callee-saved register to restore.

From-SVN: r33573
2000-05-01 17:09:05 +00:00
Laurynas Biveinis
7c714ee1c3 * tm.texi (TARGET_HAS_F_SETFLKW): Fix typo.
From-SVN: r33572
2000-05-01 10:53:03 -06:00
Mark Mitchell
9edc391342 cp-tree.h (same_type_ignoring_top_level_qualifiers_p): New macro.
* cp-tree.h (same_type_ignoring_top_level_qualifiers_p): New
	macro.
	* call.c (standard_conversion): Use it.
	(direct_reference_binding): Likewise.
	(build_over_call): Likewise.
	(is_properly_derived_from): Likewise.
	(compare_ics): Likewise.
	* class.c (resolves_to_fixed_type_p): Likewise.
	* optimize.c (declare_return_variable): Likewise.
	* pt.c (is_specialization_of): Likewise.
	(unify): Likewise.
	* typeck.c (comp_target_parms): Likeiwse.
	(build_static_cast): Likewise.
	(build_reinterpret_cast): Likewise.
	(build_const_cast): Likewise.
	(comp_ptr_ttypes_real): Likewise.
	(comp_ptr_ttypes_const): Likewise.
	* typeck2.c (process_init_constructor): Likewise.

From-SVN: r33571
2000-05-01 16:51:17 +00:00
Mark Elbrecht
52e45a606d djgpp.h (INT_ASM_OP): Define.
* config/i386/djgpp.h (INT_ASM_OP): Define.
        (CPP_PREDEFINES): Rename MSDOS to __MSDOS__.
        (ASM_WEAKEN_LABEL): Define.
        (MASK_BNU210): Define.
        (SUBTARGET_SWITCHES): Define.
        (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Define.
        (MAKE_DECL_ONE_ONLY): Define.
        (UNIQUE_SECTION_P, UNIQUE_SECTION): Define.

From-SVN: r33570
2000-05-01 10:50:49 -06:00
Mumit Khan
eb70f6289c * i386/cygwin.h (INT_ASM_OP): Define.
From-SVN: r33569
2000-05-01 10:47:22 -06:00
Denis Chertykov
afd1bb919d avr.c (address_cost): renamed to avr_address_cost.
* config/avr/avr.c (address_cost): renamed to avr_address_cost.
	* config/avr/avr.h (ADDRESS_COST): use avr_address_cost.

From-SVN: r33568
2000-05-01 18:37:11 +04:00
Denis Chertykov
368256d894 avr.c (asm_file_start): output 0 as r0 and 1 as r1 in __tmp_reg__ and __zero_reg__ initialization.
* config/avr/avr.c (asm_file_start): output 0 as r0 and 1 as r1 in
	__tmp_reg__ and __zero_reg__ initialization.

From-SVN: r33567
2000-05-01 18:11:51 +04:00
Martin v. Löwis
a47ad784b1 New file
From-SVN: r33566
2000-05-01 11:15:22 +00:00
Jeff Law
cac50545ec Daily bump.
From-SVN: r33565
2000-05-01 01:45:07 -06:00
Richard Henderson
5e9e738cd2 * flow.c (propagate_one_insn): Mark sets even when the insn is dead.
From-SVN: r33564
2000-05-01 00:21:29 -07:00
Richard Henderson
c4686982aa ifcvt.c (noce_process_if_block): Fail the conversion if X is referenced bewteen the condition and the jump.
* ifcvt.c (noce_process_if_block): Fail the conversion if X is
        referenced bewteen the condition and the jump.  Don't delete
        anything but the jump.

From-SVN: r33563
2000-04-30 23:55:44 -07:00
Scott Snyder
5724a0e641 decl.c (finish_destructor_body): Use the base destructor when destroying virtual bases.
* decl.c (finish_destructor_body): Use the base destructor when
	destroying virtual bases.

From-SVN: r33562
2000-05-01 06:01:33 +00:00
Mark Mitchell
738e281059 expr.c (cplus_expand_expr): Preserve temporaries when expanding STMT_EXPRs.
* expr.c (cplus_expand_expr): Preserve temporaries when expanding
	STMT_EXPRs.
	* optimize.c (struct inline_data): Add target_exprs field.
	(declare_return_variable): When a function returns an aggregate,
	use the variable declared in the TARGET_EXPR as the remapped
	DECL_RESULT.
	(expand_call_inline): Update the pending target_exprs stack.
	(optimize_function): Initialize the stack.

From-SVN: r33561
2000-05-01 05:50:40 +00:00
Jason Eckhardt
e3fdc58a35 bb-reorder.c (scope_def): New struct.
Sun Apr 30 22:48:24 2000  Jason Eckhardt  <jle@cygnus.com>

	* bb-reorder.c (scope_def): New struct.
	(scope_forest_info): New struct.
	(struct reorder_block_def): New member "scope".
	(REORDER_BLOCK_SCOPE): New macro.
	(relate_bbs_with_scopes): New function and prototype.
	(make_new_scope): Likewise.
	(build_scope_forest): Likewise.
	(remove_scope_notes): Likewise.
	(insert_intra_1): Likewise.
	(insert_intra_bb_scope_notes): Likewise.
	(insert_inter_bb_scope_notes): Likewise.
	(rebuild_scope_notes): Likewise.
	(free_scope_forest_1): Likewise.
	(free_scope_forest): Likewise.
	(dump_scope_forest): Likewise.
	(dump_scope_forest_1): Likewise.
	(chain_reorder_blocks): Set REORDER_BLOCK_SCOPE for new block.
	Update REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for new
	block.
	(reorder_basic_blocks): Added calls to build_scope_scope_forest
	and remove_scope_notes before reordering is done. Added calls to
	rebuild_scope_notes, free_scope_forest, and reorder_blocks after
	after reordering is done.

From-SVN: r33560
2000-05-01 03:46:21 +00:00
Mark Mitchell
4c0aad2c08 * decl2.c (finish_file): Fix typo in comment.
From-SVN: r33559
2000-05-01 01:43:24 +00:00
Benjamin Kosnik
6dd4c3fd8f mknumeric_limits (trait_name): Fix copyright notice.
2000-04-30  Benjamin Kosnik  <bkoz@gnu.org>

	* mknumeric_limits (trait_name): Fix copyright notice.
	* src/gen-num-limits.cc: Explicitly instantiate epsilon and
	round_error data members of struct value. This works around
	weak-linking issues on AIX, HPUX.

From-SVN: r33558
2000-05-01 00:14:10 +00:00
Bruce Korb
82c3a53ec9 removed two stale entries
From-SVN: r33557
2000-04-30 23:59:45 +00:00
Bruce Korb
4c1880265e Added definitions needed by OSR5
From-SVN: r33556
2000-04-30 23:30:15 +00:00
Richard Henderson
0ca4f243d7 ifcvt.c (dead_or_predicable): Manually squeeze non-movable notes from the last insn in the sequence.
* ifcvt.c (dead_or_predicable): Manually squeeze non-movable notes
        from the last insn in the sequence.

From-SVN: r33555
2000-04-30 11:41:37 -07:00
Mark Mitchell
baf05df059 * method.c (emit_thunk): Don't try to return a `void' value.
From-SVN: r33554
2000-04-30 18:03:36 +00:00
Mark Mitchell
04dfcc8fbe optimize.c (initialize_inlined_parameters): If the parameter is addressable...
* optimize.c (initialize_inlined_parameters): If the parameter is
	addressable, we need to make a new VAR_DECL, even if the
	initializer is constant.

From-SVN: r33553
2000-04-30 18:02:10 +00:00
Zack Weinberg
6d2c2047b5 cpplex.c (cpp_idcmp): New function.
* cpplex.c (cpp_idcmp): New function.
	* cpplib.h: Prototype it.
	* scan_decls.c (scan_decls): Use it to inspect token names.
	* fix-header.c (read_scan_file): Likewise.  Set system_header_p on
	the file being run through the preprocessor.
	(check_macro_names): Provide length of token to cpp_defined.

	* Makefile.in: Remove stale warning message.

From-SVN: r33552
2000-04-30 17:30:25 +00:00
Zack Weinberg
638d694d84 cppfiles.c (redundant_include_p): Provide length of token to cpp_defined.
* cppfiles.c (redundant_include_p): Provide length of token to
	cpp_defined.
	* cpphash.c (_cpp_make_hashnode, _cpp_lookup_slot): Hash
	values are unsigned int.
	(_cpp_lookup, _cpp_lookup_slot): Do not calculate the length.
	(_cpp_lookup_slot): Do not calculate the hash, either.
	* cpphash.h: Update prototypes.
	* cpplib.c (do_define, do_undef, do_pragma_poison, do_assert):
	Hashes are unsigned int.  Calculate hash here, pass by value
	to _cpp_lookup_slot.

From-SVN: r33551
2000-04-30 17:11:25 +00:00
Benjamin Kosnik
3f49b8429c mkcheck.in: Rely on exit status instead of the presence of a core file.
2000-04-28  Loren J. Rittle  <ljrittle@acm.org>

        * mkcheck.in: Rely on exit status instead of the presence of a
        core file.  Added comments on how/where to save core and exe
        files.  Move shell wildcards outside quotes and fix core path.

From-SVN: r33550
2000-04-30 16:12:56 +00:00
Bernd Schmidt
4d0482f6eb Fix memory corruption bug
From-SVN: r33549
2000-04-30 13:37:15 +00:00
Richard Henderson
a5c874cb02 d30v: New port.
* config/d30v: New port.

        * configure.in (d30v-*): Set fp format.
        * configure: Rebuild.

From-SVN: r33548
2000-04-30 04:17:13 -07:00
Richard Henderson
9ec6d7ab0f ifcvt.c: New file.
* ifcvt.c: New file.
        * Makefile.in (OBJS): Add it.
        (ifcvt.o): New target.
        * jump.c (jump_optimize_1): Remove all code related to if-conversion,
        and conditional arithmetic.
        (find_insert_position): Remove.
        * timevar.def (TV_IFCVT, TV_IFCVT2): New.
        * toplev.c (DFI_ce, DFI_ce2): New.
        (dump_file): Add ce and ce2 dumps.
        (rest_of_compilation): Run if_convert a couple o times.  Set
        cse_not_expected after cse2.  Don't set no_new_pseudos until
        after sched1 or recompute_reg_usage.

From-SVN: r33547
2000-04-30 04:01:53 -07:00