Kaveh R. Ghazi
59f406b7a3
configure.in (--enable-checking): Update --help doc to reflect new defaults.
...
* configure.in (--enable-checking): Update --help doc to reflect
new defaults. Ensure $ac_save_IFS is set before $IFS is changed.
From-SVN: r34596
2000-06-19 17:23:54 +00:00
Philipp Thomas
19abf5c879
POTFILES.in: change entries for dyn-string.[ch]
...
gcc/po:
2000-06-19 Philipp Thomas <pthomas@suse.de>
* POTFILES.in: change entries for dyn-string.[ch]
From-SVN: r34595
2000-06-19 07:59:20 +00:00
Jeff Law
7ab4bf3a61
Daily bump.
...
From-SVN: r34594
2000-06-19 01:45:12 -06:00
Benjamin Kosnik
c470c17d65
Makefile.am (string_sources): Simplify...
...
2000-06-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* src/Makefile.am (string_sources): Simplify, assuming that with
-ffunction-sections, -fdata-sections, -Wl,--gc-sections, all this
hacking is not necessary.
(wstring_sources): Same.
(OPTIMIZE_CXXFLAGS): Enable -fdata-sections -ffunction-sections
-Wl,--gc-sections.
* src/string-inst.cc: Remove macro blocks.
* mkcheck.in (CXX_FLAG): Add bits here.
* src/string-inst.cc: Remove iostream-related string instantiations.
* src/misc-inst.cc: Add here.
* acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change FMTFLAGS
to WFMT_FLAGS.
* aclocal.m4: Regenerate.
* configure.in: Change up.
* configure: Regenerate.
From-SVN: r34593
2000-06-19 03:14:40 +00:00
Richard Kenner
0a37799771
* gcse.c (insert_insn_end_bb): Always put after NOTE_INSN_BASIC_BLOCK.
...
From-SVN: r34592
2000-06-18 21:40:32 -04:00
Richard Kenner
c357082f8e
function.c (put_var_into_stack): Don't reference DECL_ fields if input is a SAVE_EXPR.
...
* function.c (put_var_into_stack): Don't reference DECL_ fields
if input is a SAVE_EXPR.
Use set_mem_attributes in COMPLEX case.
From-SVN: r34591
2000-06-18 21:33:32 -04:00
Tom Tromey
d4d17e95f1
re GNATS gcj/260 ("Klass.class" expression should cause Klass to be initialized)
...
* java/lang/natClass.cc (forName): Removed dead code. Initialize
returned class. For PR gcj/260.
From-SVN: r34590
2000-06-18 22:14:06 +00:00
Richard Henderson
3b572406c2
ia64-protos.h (process_for_unwind_directive): Declare.
...
* config/ia64/ia64-protos.h (process_for_unwind_directive): Declare.
(ia64_file_start): Declare.
* config/ia64/ia64.h (ADDL_REGNO_P): Don't compare unsigned against 0.
(GR_REGNO_P): Likewise.
* config/ia64/ia64.c: Many prototypes.
(ia64_reg_numbers): Constify.
(ia64_input_reg_names, ia64_local_reg_names): Likewise.
(ia64_section_threshold): Make unsigned.
(ia64_print_operand): Constify.
(fix_range): Constify.
(ia64_init_builtins): Don't compare signed vs unsigned.
(ia64_expand_builtin): Likewise.
* config/ia64/ia64.h (EXTRA_CONSTRAINT): New.
(CONSTRAINT_OK_FOR_Q): New.
* config/ia64/ia64.md (movdi_internal): Use Q for fp<->mem.
(movsf_internal, movdf_internal): Likewise.
(cmovdi_internal): Rewrite so that constraints and predicates match;
simplify splitters.
(cmovsi_internal): Likewise.
* config/ia64/ia64.h (ASM_SPEC): Add -x for gas.
(ASM_FILE_START): New.
* config/ia64/ia64.c (ia64_file_start): New.
(rtx_needs_barrier): Handle pred.rel.mutex.
(emit_predicate_relation_info): New.
* config/ia64/ia64.md (pred_rel_mutex): New.
* config/ia64/linux.h (ASM_SPEC): Define.
* config/ia64/sysv4.h (ASM_FILE_START): Define.
* config/ia64/ia64.c (ia64_encode_section_info): Fix thinko
filtering global register variables.
From-SVN: r34589
2000-06-18 11:54:43 -07:00
Kaveh R. Ghazi
5538e30f19
* c-common.c (add_c_tree_codes): Fix definition for traditional C.
...
From-SVN: r34588
2000-06-18 13:09:26 +00:00
Jeff Law
d5600cbe61
Daily bump.
...
From-SVN: r34587
2000-06-18 01:45:08 -06:00
Michael Meissner
289b3cc562
Fix spec %v3
...
From-SVN: r34586
2000-06-18 02:37:02 +00:00
Bruce Korb
c77b484a74
modified make check test output
...
From-SVN: r34585
2000-06-17 19:54:04 +00:00
Bruce Korb
2681618748
obsolete test result file
...
From-SVN: r34584
2000-06-17 19:48:41 +00:00
Bruce Korb
7be97c2c23
new test result files
...
From-SVN: r34583
2000-06-17 19:48:12 +00:00
Bruce Korb
c1fd153eb8
reorder some files= entries
...
From-SVN: r34582
2000-06-17 19:43:21 +00:00
Bruce Korb
33002945c1
finish the implementation of multiple tests per fix
...
From-SVN: r34581
2000-06-17 17:50:12 +00:00
Richard Kenner
c19bd6c073
* gcc.texi: Remove reference to stupid.c.
...
From-SVN: r34580
2000-06-17 10:26:30 -04:00
H.J. Lu
a45c41eb0e
Make-lang.in: Use a unique stamp for each target to support parallel make.
...
2000-05-17 H.J. Lu (hjl@gnu.org )
* Make-lang.in: Use a unique stamp for each target to support
parallel make.
From-SVN: r34579
2000-06-17 13:53:59 +00:00
Jeff Law
4c36e6b327
Daily bump.
...
From-SVN: r34578
2000-06-17 01:45:07 -06:00
Benjamin Chelf
c7d87c0a58
c-common.c (c_tree_code_type): New array.
...
* c-common.c (c_tree_code_type): New array.
(c_tree_code_length): Likewise.
(c_tree_code_name): Likewise.
(add_c_tree_codes): New function.
* c-common.h (add_c_tree_codes): Declare.
(enum c_tree_code): New enum.
* c-lex.c (init_parse): Added call to add_c_tree_codes.
* cp/cp-tree.h (enum cplus_tree_code): Changed __DUMMY to
CP_DUMMY_TREE_CODE. Remove #include "c-common.def".
* cp/lex.c (cplus_tree_code_type[]): Removed #include "c-common.def".
(cplus_tree_code_length[]): Likewise.
(cplus_tree_code_name[]): Likewise.
(init_parse): Added call to add_c_tree_codes. Changed
LAST_AND_UNUSED_TREE_CODE to LAST_C_TREE_CODE.
From-SVN: r34577
2000-06-16 19:37:23 -07:00
Kaveh R. Ghazi
cf6d5133a1
inclhack.def (ctrl_quotes_def, [...]): Modify select pattern to also match macro defs with only one argument.
...
* fixinc/inclhack.def (ctrl_quotes_def, io_quotes_def): Modify
select pattern to also match macro defs with only one argument.
From-SVN: r34576
2000-06-16 20:38:42 +00:00
Tom Tromey
3fff847575
re GNATS libgcj/261 (Macro-inconsistency)
...
Fix for PR libgcj/261:
* include/win32-signal.h (MAKE_THROW_FRAME): Added `_exception'
argument.
* include/sparc-signal.h (MAKE_THROW_FRAME): Added `_exception'
argument. (This is a patch from long ago that somehow went
missing.)
From-SVN: r34575
2000-06-16 15:52:24 +00:00
Mark Mitchell
bf3428d0b6
cp-tree.h (finish_mem_initializers): Declare.
...
* cp-tree.h (finish_mem_initializers): Declare.
(count_trees): Likewise.
* parse.y (base_init): Use finish_mem_initializers.
* semantics.c (finish_mem_initializers): New function.
* tree.c (count_trees_r): Prototype. Use DATA parameter to store
the number of trees.
(n_trees): Remove.
(count_trees): Don't use it.
From-SVN: r34574
2000-06-16 15:35:10 +00:00
Jakub Jelinek
22c40c28b3
* gcc.c-torture/execute/loop-6.c: New test.
...
From-SVN: r34573
2000-06-16 13:14:56 +02:00
Jeff Law
974ce8d39e
Daily bump.
...
From-SVN: r34572
2000-06-16 01:45:07 -06:00
Mark Mitchell
fd74ca0bf2
cp-tree.h (struct language_function): Remove x_base_init_list and x_member_init_list.
...
* cp-tree.h (struct language_function): Remove x_base_init_list
and x_member_init_list.
(current_base_init_list): Remove.
(current_member_init_list): Likewise.
(setup_vtbl_ptr): Change prototype.
(emit_base_init): Likewise.
(expand_member_init): Likewise.
(reinit_parse_for_function): Remove.
* decl.c (save_function_data): Don't clear x_base_init_list and
x_member_init_list.
(mark_language_function): Don't mark them.
* init.c (perform_member_init): Tweak comment.
(sort_member_init): Take the list of initializers as an argument.
(sort_base_init): Likewise.
(emit_base_init): Likewise.
(expand_member_init): Return the initializer. Don't use global
variables.
* lex.c (reinit_parse_for_function): Remove.
* method.c (build_template_parm_names): Correct substitution.
(do_build_copy_constructor): Don't use current_member_init_list
and current_base_init_list.
(synthesize_method): Likewise.
* parse.y (base_init): Split mem-initializers into
base-initializers and field-initializers.
(member_init_list): Build up the list here.
(member_init): Return the initializer.
(fn.depfn): Don't use reinit_parse_for_function.
* parse.c: Regenerated.
* pt.c (convert_nontype_argument): Don't make an ADDR_EXPR of the
ERROR_MARK.
(tsubst_expr): Don't use current_member_init_list
and current_base_init_list.
(tsubst_expr_values): Rename to ...
(tsubst_initializer_list): ... this. Use convert_from_reference.
* semantics.c (setup_vtbl_ptr): Don't use current_member_init_list
and current_base_init_list.
(begin_function_definition): Don't call reinit_parse_for_function.
* dump.c (dequeue_and_dump): Use TREE_VEC_LENGTH with vectors.
* error.c (dump_expr): Handle ADDR_EXPRs with REFERENCE_TYPE
correctly.
From-SVN: r34571
2000-06-16 07:34:51 +00:00
Tom Tromey
ff1c0096a1
natIconv.cc (iconv_adapter): New function.
...
* gnu/gcj/convert/natIconv.cc (iconv_adapter): New function.
(read): Use it.
(write): Likewise.
From-SVN: r34570
2000-06-16 01:11:12 +00:00
Jeffrey A Law
8bad71361f
i386.md: Create new [right,left] rotate and right shift patterns to optimize shift by 1...
...
* i386.md: Create new [right,left] rotate and right shift
patterns to optimize shift by 1 bit for certain ia32 processors.
Update patterns which perform left shifts to optimize shift by
1 bit for certain ia32 processors.
* i386.c (const_int_1_operand): New predicate.
* i386.h (PREDICATE_CODES): Handle const_int_1_operand.
* i386-protos.h (const_int_1_operand): Prototype.
From-SVN: r34569
2000-06-15 18:59:02 -06:00
Jason Merrill
297a5329dc
tree.c (count_trees): New debugging function.
...
* tree.c (count_trees): New debugging function.
* typeck.c (build_x_function_call): Use DECL_FUNCTION_TEMPLATE_P.
* init.c (build_member_call): Pull out the name of a DECL.
* Makefile.in (semantics.o, pt.o): Depend on TIMEVAR_H.
* semantics.c (expand_body): Push to TV_INTEGRATION here.
* optimize.c (optimize_function): Not here.
* pt.c (instantiate_decl): Push to TV_PARSE.
From-SVN: r34568
2000-06-15 17:24:39 -04:00
Mark Mitchell
f5e6b7bc9e
* cp-tree.h (DECL_PENDING_INLINE_P): Relax checking.
...
From-SVN: r34567
2000-06-15 18:24:04 +00:00
Kaveh R. Ghazi
ffb1f63d81
jcf-write.c (CHECK_PUT): Add static prototype.
...
* jcf-write.c (CHECK_PUT): Add static prototype. Make pointer
types the same in comparison.
(CHECK_OP): Add static prototype.
From-SVN: r34566
2000-06-15 18:08:44 +00:00
Kaveh R. Ghazi
cd9b42984e
* ste.c (gbe_block): Constify.
...
From-SVN: r34565
2000-06-15 18:05:03 +00:00
Jakub Jelinek
d2f7db1d9d
20000614-1.c: New test.
...
* gcc.dg/20000614-1.c: New test.
* gcc.dg/20000614-2.c: New test.
From-SVN: r34564
2000-06-15 17:25:52 +02:00
Bryce McKinlay
1bf8972740
2000-06-15 Bryce McKinlay <bryce@albatross.co.nz>
...
Fix for PR java.lang/258:
* prims.cc (_Jv_PrimClass): Set state of primitive class to
JV_STATE_DONE, to prevent accidental initialization.
* java/lang/natClass.cc (_Jv_IsAssignableFrom): Call
_Jv_InterfaceAssignableFrom if target is an interface and source is
an interface or an abstract class. Remove redundant initializeClass
calls. Remove duplicate if_idt test.
(_Jv_InterfaceAssignableFrom): New function.
* java/lang/Class.h (_Jv_InterfaceAssignableFrom): Prototype.
From-SVN: r34563
2000-06-15 13:04:50 +01:00
Bryce McKinlay
d655f87d6f
2000-06-15 Bryce McKinlay <bryce@albatross.co.nz>
...
Fix for PR java.lang/258:
* prims.cc (_Jv_PrimClass): Set state of primitive class to
JV_STATE_DONE, to prevent accidental initialization.
* java/lang/natClass.cc (_Jv_IsAssignableFrom): Call
_Jv_InterfaceAssignableFrom if target is an interface and source is
an interface or an abstract class. Remove redundant initializeClass
calls. Remove duplicate if_idt test.
* java/lang/Class.h (_Jv_InterfaceAssignableFrom): New function.
From-SVN: r34562
2000-06-15 12:58:18 +01:00
Jeff Law
ecb3185ea3
Daily bump.
...
From-SVN: r34561
2000-06-15 01:45:08 -06:00
Jason Merrill
b398ac304c
more 16-bit/h8300 tweaks
...
From-SVN: r34560
2000-06-14 20:14:08 -04:00
J"orn Rennecke
ddc2229625
* mips.c (machine_dependent_reorg): Fix braces for nested if.
...
From-SVN: r34559
2000-06-14 23:47:56 +01:00
Geoff Keating
e4a0656ff8
rs6000.c (toc_hash_eq): Use CODE_LABEL_NUMBER to compare LABEL_REFs.
...
2000-06-14 Geoff Keating <geoffk@cygnus.com>
* rs6000.c (toc_hash_eq): Use CODE_LABEL_NUMBER to compare
LABEL_REFs.
From-SVN: r34558
2000-06-14 17:45:43 -04:00
Richard Henderson
d98a8d38dd
conflict.c (conflict_graph_compute): Don't look for REG_INC.
...
* conflict.c (conflict_graph_compute): Don't look for REG_INC.
* config/ia64/ia64.c (ia64_setup_incoming_varargs): Don't emit
auto-inc code.
From-SVN: r34557
2000-06-14 14:08:15 -07:00
Richard Henderson
f6a0cc964a
* print-rtl.c (print_rtx): Emit space before mem alias set.
...
From-SVN: r34556
2000-06-14 14:04:42 -07:00
David Edelsohn
2eba1afa1b
rs6000.c (expand_block_move): Fix typo in earlier change.
...
* rs6000.c (expand_block_move): Fix typo in earlier change.
(print_operand): Remove unused variables neg and op.
(toc_hash_mark_entry): Fix prototype.
From-SVN: r34555
2000-06-14 16:26:17 -04:00
Hans-Peter Nilsson
adab192378
* g++.old-deja/g++.other/inline12.C: New test.
...
From-SVN: r34554
2000-06-14 19:04:08 +00:00
Ben Chelf
1d54a1dc52
* c-common.def: New file.
...
From-SVN: r34553
2000-06-14 11:21:44 -07:00
Benjamin Chelf
d7e7759d8c
c-common.h (IF_COND): Moved here from cp/cp-tree.h.
...
* c-common.h (IF_COND): Moved here from cp/cp-tree.h.
(THEN_CLAUSE): Likewise.
(ELSE_CLAUSE): Likewise.
(WHILE_COND): Likewise.
(WHILE_BODY): Likewise.
(DO_COND): Likewise.
(DO_BODY): Likewise.
(RETURN_EXPR): Likewise.
(EXPR_STMT_EXPR): Likewise.
(FOR_INIT_STMT): Likewise.
(FOR_COND): Likewise.
(FOR_EXPR): Likewise.
(FOR_BODY): Likewise.
(SWITCH_COND): Likewise.
(SWITCH_BODY): Likewise.
(CASE_LOW): Likewise.
(CASE_HIGH): Likewise.
(GOTO_DESTINATION): Likewise.
(COMPOUND_BODY): Likewise.
(ASM_CV_QUAL): Likewise.
(ASM_STRING): Likewise.
(ASM_OUTPUTS): Likewise.
(ASM_INPUTS): Likewise.
(ASM_CLOBBERS): Likewise.
(DECL_STMT_DECL): Likewise.
(STMT_EXPR_STMT): Likewise.
(LABEL_STMT_LABEL): Likewise.
(SCOPE_BEGIN_P): Likewise.
(SCOPE_END_P): Likewise.
(SCOPE_STMT_BLOCK): Likewise.
(SCOPE_NULLIFIED_P): Likewise.
(SCOPE_NO_CLEANUPS_P): Likewise.
(SCOPE_PARTIAL_P): Likewise.
(ASM_VOLATILE_P): Likewise.
(STMT_LINENO): Likewise.
(STMT_LINENO_FOR_FN_P): Likewise.
* c-common.def: Added SRCLOC, SIZEOF_EXPR, ARROW_EXPR,
ALIGNOF_EXPR, EXPR_STMT, COMPOUND_STMT, DECL_STMT, IF_STMT,
FOR_STMT, WHILE_STMT, DO_STMT, RETURN_STMT, BREAK_STMT,
CONTINUE_STMT, SWITCH_STMT, GOTO_STMT, LABEL_STMT, ASM_STMT,
SCOPE_STMT, CASE_LABEL, STMT_EXPR.
* gencheck.c (tree_codes[]): Added '#include "c-common.def"'.
* cp/cp-tree.h (IF_COND): Move to c-common.h.
(THEN_CLAUSE): Likewise.
(ELSE_CLAUSE): Likewise.
(WHILE_COND): Likewise.
(WHILE_BODY): Likewise.
(DO_COND): Likewise.
(DO_BODY): Likewise.
(RETURN_EXPR): Likewise.
(EXPR_STMT_EXPR): Likewise.
(FOR_INIT_STMT): Likewise.
(FOR_COND): Likewise.
(FOR_EXPR): Likewise.
(FOR_BODY): Likewise.
(SWITCH_COND): Likewise.
(SWITCH_BODY): Likewise.
(CASE_LOW): Likewise.
(CASE_HIGH): Likewise.
(GOTO_DESTINATION): Likewise.
(COMPOUND_BODY): Likewise.
(ASM_CV_QUAL): Likewise.
(ASM_STRING): Likewise.
(ASM_OUTPUTS): Likewise.
(ASM_INPUTS): Likewise.
(ASM_CLOBBERS): Likewise.
(DECL_STMT_DECL): Likewise.
(STMT_EXPR_STMT): Likewise.
(LABEL_STMT_LABEL): Likewise.
(SCOPE_BEGIN_P): Likewise.
(SCOPE_END_P): Likewise.
(SCOPE_STMT_BLOCK): Likewise.
(SCOPE_NULLIFIED_P): Likewise.
(SCOPE_NO_CLEANUPS_P): Likewise.
(SCOPE_PARTIAL_P): Likewise.
(ASM_VOLATILE_P): Likewise.
(STMT_LINENO): Likewise.
(STMT_LINENO_FOR_FN_P): Likewise.
* cp/cp-tree.def: Removed SRCLOC, SIZEOF_EXPR, ARROW_EXPR,
ALIGNOF_EXPR, EXPR_STMT, COMPOUND_STMT, DECL_STMT, IF_STMT,
FOR_STMT, WHILE_STMT, DO_STMT, RETURN_STMT, BREAK_STMT,
CONTINUE_STMT, SWITCH_STMT, GOTO_STMT, LABEL_STMT, ASM_STMT,
SCOPE_STMT, CASE_LABEL, STMT_EXPR.
* cp/Makefile.in (CXX_TREE_H): Added $(srcdir)/../c-common.def.
* cp/Make-lang.in (CXX_SRCS): Added $(srcdir)/c-common.def.
(cc1plus$(exeext)): Added $(srcdir)/c-common.def.
* cp/lex.c (cplus_tree_code_type[]): Added '#include "c-common.def"'.
(cplus_tree_code_length[]): Added '#include "c-common.def"'.
(cplus_tree_code_name[]): Added '#include "c-common.def"'.
From-SVN: r34552
2000-06-14 10:26:18 -07:00
Jeff Law
c809addafe
Thinko in last change.
...
From-SVN: r34551
2000-06-14 10:38:54 -06:00
David O'Brien
e9cefc3e99
gcc.c (main): Quiet compiler warnings.
...
* gcc.c (main): Quiet compiler warnings. argv is assumed to be
writable in parts of the GCC code.
From-SVN: r34550
2000-06-14 10:35:16 -06:00
Mark Mitchell
db3d8cded1
cp-tree.h (BINFO_OVERRIDE_ALONG_VIRTUAL_PATH): New macro.
...
* cp-tree.h (BINFO_OVERRIDE_ALONG_VIRTUAL_PATH): New macro.
* class.c (dfs_find_final_overrider): Set it appropriately.
(dfs_built_vtt_inits): Check BINFO_OVERRIDE_ALONG_VIRTUAL_PATH to
avoid unneeded secondary vptrs.
From-SVN: r34549
2000-06-14 16:10:14 +00:00
David O'Brien
33261b0a22
elfos.h (ASM_GENERATE_INTERNAL_LABEL): Make printf specification match cast.
...
* config/elfos.h (ASM_GENERATE_INTERNAL_LABEL): Make printf
specification match cast.
From-SVN: r34548
2000-06-14 10:08:28 -06:00
Jeffrey A Law
af889c6c7c
configure.in: Revert AC_TYPE_GETGROUPS patch from June 13.
...
* configure.in: Revert AC_TYPE_GETGROUPS patch from June 13.
* configure, config.in: Rebuilt.
* sys-protos.h: Similarly.
From-SVN: r34547
2000-06-14 09:30:12 -06:00