tromey [Wed, 13 Oct 2004 17:04:57 +0000 (17:04 +0000)]
PR java/15578:
* lang.opt (--extdirs): Document.
* jvspec.c (lang_specific_driver): Recognize -encoding and
-extdirs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88991
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 13 Oct 2004 17:03:56 +0000 (17:03 +0000)]
PR java/15578:
* gcc.c (option_map): Added --extdirs and --encoding.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88990
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Wed, 13 Oct 2004 14:09:05 +0000 (14:09 +0000)]
Fix incomplete commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88986
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Wed, 13 Oct 2004 14:04:32 +0000 (14:04 +0000)]
PR target/14454
* config/sparc/sparc.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Set to
sparc_can_output_mi_thunk.
(sparc_output_mi_thunk): Simplify handling of delta offset. Add
handling of vcall offset.
(sparc_can_output_mi_thunk): New predicate.
* doc/tm.texi (TARGET_ASM_OUTPUT_MI_THUNK): Document VCALL_OFFSET.
(TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Delete.
(TARGET_ASM_CAN_OUTPUT_MI_THUNK): New target hook.
* config/sparc/sparc.c (emit_and_preserve): Preserve stack alignment.
* config/sparc/sparc.md (movdi): Remove redundant test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88985
138bc75d-0d04-0410-961f-
82ee72b054a4
bonzini [Wed, 13 Oct 2004 13:48:16 +0000 (13:48 +0000)]
2004-10-13 Paolo Bonzini <bonzini@gnu.org>
* tree-dump.c (dump_options): Remove TDF_TREE, TDF_RTL,
TDF_IPA from -fdump-tree-*-all.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88984
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Wed, 13 Oct 2004 12:48:03 +0000 (12:48 +0000)]
* config/arm/arm-protos.h (arm_load_pic_register): Update prototype.
* config/arm/arm.c (thumb_find_work_register): Update comments.
(arm_load_pic_register): Add argument for scratch register.
(arm_expand_prologue, thumb_expand_prologue): Pass extra argument.
* config/arm/arm.md (builtin_setjmp_receiver): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88982
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 13 Oct 2004 12:02:25 +0000 (12:02 +0000)]
* search.c: Fix a comment typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88981
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 13 Oct 2004 11:58:10 +0000 (11:58 +0000)]
* tree-data-ref.c: Fix comment typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88980
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 13 Oct 2004 11:27:01 +0000 (11:27 +0000)]
PR tree-optimization/17724
* tree-cfg.c (tree_purge_dead_eh_edges): Free dominance info.
* g++.dg/opt/pr17724-1.C: New test.
* g++.dg/opt/pr17724-2.C: New test.
* g++.dg/opt/pr17724-3.C: New test.
* g++.dg/opt/pr17724-4.C: New test.
* g++.dg/opt/pr17724-5.C: New test.
* g++.dg/opt/pr17724-6.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88979
138bc75d-0d04-0410-961f-
82ee72b054a4
dorit [Wed, 13 Oct 2004 11:04:24 +0000 (11:04 +0000)]
2004-10-13 Dorit Naishlos <dorit@il.ibm.com>
* rs6000.c (altivec_builtin_mask_for_load): Made static GTY(()).
(altivec_builtin_mask_for_store): Likewise.
(altivec_init_builtins): Use lang_hooks.builtin_function to
create the decls for builtin_altivec_mask_for_load/store.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88978
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Wed, 13 Oct 2004 10:50:30 +0000 (10:50 +0000)]
Remove inclusion of loop.h
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88977
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Wed, 13 Oct 2004 10:34:21 +0000 (10:34 +0000)]
Add support for M32R
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88976
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Wed, 13 Oct 2004 08:58:41 +0000 (08:58 +0000)]
2004-10-13 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.tcc (_S_create): Use consistently
the exponential policy, simplify.
* testsuite/performance/21_strings/string_append_2.cc: New.
* include/ext/array_allocator.h (allocate): Fix bad_alloc check.
* testsuite/ext/array_allocator/2.cc: Fix wrt 64-bit archs (in
that case sizeof(_Rep) == 24).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88972
138bc75d-0d04-0410-961f-
82ee72b054a4
bje [Wed, 13 Oct 2004 04:33:28 +0000 (04:33 +0000)]
* basic-block.h (edge_iterator): Keep the address of VEC(edge) *.
(ei_container): New; renamed.
(ei_start, ei_last): New macros.
(ei_start_1, ei_last_1): Renamed from ei_start.
(ei_last_1, ei_end_p): Use ei_container() where applicable.
(ei_one_before_end_p, ei_next, ei_edge): Likewise.
* gcse.c (remove_reachable_equiv_notes): Use ei_container().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88966
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Wed, 13 Oct 2004 03:48:03 +0000 (03:48 +0000)]
2004-10-11 Sebastian Pop <pop@cri.ensmp.fr>
* Makefile.in (tree-ssa-loop-niter.o): Depends on tree-data-ref.h.
* cfgloop.c (initialize_loops_parallel_p): New.
(flow_loops_find): Initialize the parallel_p field to true for all
the loops.
* tree-ssa-loop-niter.c: Include "tree-data-ref.h".
(estimate_numbers_of_iterations_loop): Infers the loop bounds from
the size of the data accessed in the loop.
(struct nb_iter_bound): Moved...
* cfgloop.h (struct nb_iter_bound): ... here.
(estimated_nb_iterations, parallel_p): New fields in struct loop.
(record_estimate): Declare extern here.
* tree-chrec.c: Fix comments.
(nb_vars_in_chrec): New function.
* tree-chrec.h (nb_vars_in_chrec): Declared here.
* tree-data-ref.c: Don't include lambda.h, that is already included
in tree-data-ref.h.
(tree_fold_divides_p): Don't check for integer_onep.
(tree_fold_bezout): Removed.
(gcd): New static duplicated function.
(int_divides_p, dump_subscript): New.
(dump_data_dependence_relation): Use dump_subscript.
(dump_dist_dir_vectors, dump_ddrs, compute_estimated_nb_iterations,
estimate_niter_from_size_of_data): New.
(analyze_array_indexes, analyze_array): Call
estimate_niter_from_size_of_data during the detection of array
references. Pass in a pointer to the statement that contains the
array reference.
(all_chrecs_equal_p): New.
(compute_distance_vector): Renamed compute_subscript_distance.
Deal with multivariate conflict functions.
(initialize_data_dependence_relation): Initialize DDR_AFFINE_P,
DDR_SIZE_VECT, DDR_DIST_VECT, and DDR_DIR_VECT.
(non_affine_dependence_relation): New.
(analyze_ziv_subscript, analyze_siv_subscript_cst_affine,
analyze_siv_subscript, analyze_miv_subscript,
analyze_overlapping_iterations, subscript_dependence_tester):
Initialize and return last_conflicts function.
(initialize_matrix_A, FLOOR, compute_overlap_steps_for_affine_univar,
compute_overlap_steps_for_affine_1_2): New.
(analyze_siv_subscript_affine_cst): Removed.
(analyze_subscript_affine_affine): Disprove dependences based on the
iteration domains. Solve the univariate dependence case as before,
but use lambda_matrix_right_hermite instead of tree_fold_bezout.
Implement the multivariate case of 2 versus 1 variables.
(build_classic_dist_vector, build_classic_dir_vector): Implement some
unhandled cases.
(find_data_references_in_loop): Compute and initialize
loop->estimated_nb_iterations and loop->parallel_p.
(analyze_all_data_dependences): Modify the debug dump order.
* tree-data-ref.h (SUB_LAST_CONFLICT_IN_A, SUB_LAST_CONFLICT_IN_B,
subscript->last_conflict_in_a, subscript->last_conflict_in_b): Removed.
(SUB_LAST_CONFLICT, subscript->last_conflict,
data_dependence_relation->affine_p, data_dependence_relation->size_vect,
DDR_AFFINE_P, DDR_SIZE_VECT): New.
(find_data_references_in_loop, initialize_data_dependence_relation,
dump_subscript, dump_ddrs, dump_dist_dir_vectors): Declared here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88965
138bc75d-0d04-0410-961f-
82ee72b054a4
kcook [Wed, 13 Oct 2004 00:55:22 +0000 (00:55 +0000)]
2004-10-12 Kelley Cook <kcook@gcc.gnu.org>
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88962
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 13 Oct 2004 00:16:45 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88960
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 13 Oct 2004 00:16:40 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88958
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Wed, 13 Oct 2004 00:11:14 +0000 (00:11 +0000)]
2004-10-12 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/17948
* include/bits/stl_tree.h (erase(iterator, iterator)): Revert
wrong commit of 2004-10-07.
2004-10-12 Scott Snyder <snyder@fnal.gov>
PR libstdc++/17948
* testsuite/23_containers/set/modifiers/17948.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88956
138bc75d-0d04-0410-961f-
82ee72b054a4
kcook [Tue, 12 Oct 2004 22:49:34 +0000 (22:49 +0000)]
2004-10-12 Kelley Cook <kcook@gcc.gnu.org>
* configure.in (*-*-cygwin*): Supress warning if newlib not present.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88954
138bc75d-0d04-0410-961f-
82ee72b054a4
fjahanian [Tue, 12 Oct 2004 20:51:50 +0000 (20:51 +0000)]
Restored acciddental check-in.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88951
138bc75d-0d04-0410-961f-
82ee72b054a4
fjahanian [Tue, 12 Oct 2004 20:50:08 +0000 (20:50 +0000)]
PR 17892.
OKed by Roger Sayle.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88950
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Tue, 12 Oct 2004 20:37:15 +0000 (20:37 +0000)]
* config/s390/s390.c (s390_va_start): Use build_va_arg_indirect_ref.
(s390_gimplify_va_arg): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88949
138bc75d-0d04-0410-961f-
82ee72b054a4
drow [Tue, 12 Oct 2004 19:28:56 +0000 (19:28 +0000)]
* defaults.h (REGNO_MODE_OK_FOR_BASE_P, REG_MODE_OK_FOR_BASE_P)
(MODE_BASE_REG_REG_CLASS, REGNO_MODE_OK_FOR_REG_BASE_P)
(REG_MODE_OK_FOR_REG_BASE_P): Provide default definitions.
* regclass.c (record_address_regs): Remove ifdef. Use
REG_MODE_OK_FOR_REG_BASE_P and MODE_BASE_REG_REG_CLASS.
* regrename.c (REG_MODE_OK_FOR_BASE_P): Remove unnecessary
definition.
(scan_rtx_address, replace_oldest_value_addr): Use
REG_MODE_OK_FOR_REG_BASE_P and MODE_BASE_REG_REG_CLASS.
* reload.c (REGNO_MODE_OK_FOR_BASE_P, REG_MODE_OK_FOR_BASE_P): Remove
unnecessary definitions.
(find_reloads_address_1): Support REG_MODE_OK_FOR_REG_BASE_P
and MODE_BASE_REG_REG_CLASS.
* config/arm/arm.h (MODE_BASE_REG_CLASS): Don't check reload_completed.
(MODE_BASE_REG_REG_CLASS): Define.
(REGNO_MODE_OK_FOR_REG_BASE_P): Define.
(REG_MODE_OK_FOR_REG_BASE_P): Define.
* doc/tm.texi (Register Classes): Document MODE_BASE_REG_REG_CLASS,
REG_MODE_OK_FOR_REG_BASE_P, and REGNO_MODE_OK_FOR_REG_BASE_P.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88948
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Tue, 12 Oct 2004 18:31:42 +0000 (18:31 +0000)]
The apostrophe was there to signal that the s was coming
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88946
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Tue, 12 Oct 2004 18:24:45 +0000 (18:24 +0000)]
2004-10-12 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-alias.c (verify_name_tags): New function.
(verify_flow_sensitive_alias_info): Remove code that used to check name tags.
(verify_alias_info): Call verify_name_tags.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88945
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Tue, 12 Oct 2004 17:14:42 +0000 (17:14 +0000)]
PR rtl-optimization/17931
* config/i386/i386.c (ix86_rtx_costs): Handle COMPARE with
ZERO_EXTRACT in it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88943
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Tue, 12 Oct 2004 16:43:56 +0000 (16:43 +0000)]
* arm.c (arm_print_operand): Use output_operand_lossage where possible
rather than aborting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88940
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Tue, 12 Oct 2004 16:04:24 +0000 (16:04 +0000)]
* class.c (dfs_modify_vtables): Simplify condition. Return
dfs_skip_bases as appropriate.
(modify_all_vtables): Walk in pre-order.
* search.c (dfs_walk_all, dfs_walk_once_r,
dfs_walk_once_accessible_r): Assert post order function never
returns dfs_skip_bases.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88939
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Tue, 12 Oct 2004 15:38:30 +0000 (15:38 +0000)]
* config.gcc: Add armv6{k,z,zk}
* config/arm/arm-cores.def: Add arm1176 and mpcore.
* config/arm/tune.md: Regenerate.
* config/arm/arm.c (FL_FOR_ARCH6K, FL_FOR_ARCH6Z, FL_FOR_ARCH6ZK):
Define.
(all_architectures): Add armv6k, armv6z, armv6zk.
* config/arm/lib1funcs.asm: Recognise new arm arcitectures.
* doc/invoke.texi: Document new arch and cpu values.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88937
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Tue, 12 Oct 2004 14:23:39 +0000 (14:23 +0000)]
* search.c (struct lookup_base_data_s): New.
(lookup_base_r): Replace with ...
(dfs_lookup_base): ... this.
(lookup_base): Use dfs_walk_all.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88934
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Tue, 12 Oct 2004 14:10:39 +0000 (14:10 +0000)]
* config/arm/bpabi.h (SUBTARGET_EXTRA_ASM_SPEC): Change meabi=3 to
meabi=4.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88930
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Tue, 12 Oct 2004 13:56:03 +0000 (13:56 +0000)]
* config/arm/arm.md (addsi3_cbranch_scratch): Correct constraints.
Handle negative constants.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88929
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Tue, 12 Oct 2004 13:54:06 +0000 (13:54 +0000)]
* config/arm/arm.md (addsi3_cbranch_scratch): Correct constraints.
Handle negative constants.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88928
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Tue, 12 Oct 2004 13:24:18 +0000 (13:24 +0000)]
* search.c: Fix comment typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88927
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Tue, 12 Oct 2004 10:13:39 +0000 (10:13 +0000)]
2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
PR libgcj/17903:
* testsuite/libjava.lang/md5test.java: New file.
* testsuite/libjava.lang/md5test.out: Likewise.
* testsuite/libjava.lang/shatest.java: Likewise.
* testsuite/libjava.lang/shatest.out: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88922
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Tue, 12 Oct 2004 08:32:17 +0000 (08:32 +0000)]
PR c/17301
* c-typeck.c (convert_arguments): Return error_mark_node if there
are too few arguments.
(build_function_call): Handle error_mark_node return from
convert_arguments.
testsuite:
* gcc.dg/pr17301-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88921
138bc75d-0d04-0410-961f-
82ee72b054a4
bonzini [Tue, 12 Oct 2004 08:22:31 +0000 (08:22 +0000)]
2004-10-06 Paolo Bonzini <bonzini@gnu.org>
* configure.ac (symbolic_link): Replace with $LN_S.
(Assembler/Linker): Hard link from gas and binutils trees.
* aclocal.m4 (gcc_AC_PROG_LN_S): Try "cp -p" before cp.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88920
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 12 Oct 2004 01:52:19 +0000 (01:52 +0000)]
PR c++/15786
* parser.c (cp_parser_declarator): Add member_p parameter.
(cp_parser_condition): Adjust calls to cp_parser_declarator.
(cp_parser_explicit_instantiation): Likewise.
(cp_parser_init_declarator): Likewise.
(cp_parser_direct_declarator): Add member_p parameter. Do not
parse tentatively when parsing the parameters to a member.
(cp_parser_type_id): Adjust calls to cp_parser_declarator.
(cp_parser_parameter_declaration): Likewise.
(cp_parser_member_declaration): Likewise.
(cp_parser_exception_declaration): Likewise.
PR c++/15876
* g++.dg/parse/error22.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88914
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 12 Oct 2004 01:10:39 +0000 (01:10 +0000)]
2004-10-11 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/stl_deque.h: Correct for over-long lines.
2004-10-11 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/17937
* include/ext/mt_allocator.h (__pool::_M_destroy): New.
* src/mt_allocator.cc (__pool::~__pool): Change definitions to
_M_destroy.
* acconfig.h: Remove _GLIBCXX_USE___CXA_ATEXIT.
* acinclude.m4 (GLIBCXX_ENABLE_CXA_ATEXIT): Remove.
* configure.ac: Remove call to GLIBCXX_ENABLE_CXA_EXIT.
* configure: Regenerate.
* config/linker-map.gnu: Tweak exports.
* docs/html/ext/mt_allocator.html: Update docs.
* testsuite/ext/mt_allocator/deallocate_global-2.cc: Fix.
* testsuite/ext/mt_allocator/deallocate_global-4.cc: Fix.
* testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Fix.
* testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Fix.
* testsuite/ext/mt_allocator/deallocate_local-2.cc: Fix.
* testsuite/ext/mt_allocator/deallocate_local-4.cc: Fix.
* testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Fix.
* testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Fix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88913
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 12 Oct 2004 00:16:25 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88911
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 12 Oct 2004 00:16:20 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88910
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Mon, 11 Oct 2004 23:29:52 +0000 (23:29 +0000)]
* configure.ac: Don't look for host assembler when building a canadian
cross.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88907
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Mon, 11 Oct 2004 22:57:53 +0000 (22:57 +0000)]
PR other/17361
* c-opts.c (permit_fortran_options): Delete/obsolete global variable.
(c_common_init_options): Remove #ifdef CL_F77 code. Scan command
line options for "-lang-asm" and if found allow any of the C-family
front-end options.
(c_common_handle_option): Remove last use of permit_fortran_options.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88906
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 11 Oct 2004 22:50:00 +0000 (22:50 +0000)]
PR c++/17936
* cp-tree.h (CLASSTYPE_TEMPLATE_SPECIALIZATION): Add a comment.
* pt.c (optimize_specialization_lookup_p): Do not optimize lookups
for members of partial or explicit specializations.
PR c++/17936
* g++.dg/template/spec18.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88905
138bc75d-0d04-0410-961f-
82ee72b054a4
sje [Mon, 11 Oct 2004 21:02:48 +0000 (21:02 +0000)]
* testsuite/gcc.dg/ia64-asm-1.c: Add prototype for abort
* testsuite/gcc.dg/ia64-sync-1.c: Add prototype for abort and
memcpy.
* testsuite/gcc.dg/ia64-sync-2.c: Ditto.
* testsuite/gcc.dg/ia64-sync-3.c: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88904
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Mon, 11 Oct 2004 20:54:07 +0000 (20:54 +0000)]
* config/s390/s390.c (print_operand): Support 'S' format flag.
* config/s390/s390.md ("*tmqi_mem"): Use 'S' format flag.
("*tstsi", "*tstsi_cconly", "*tstsi_cconly2"): Likewise.
("*tsthiCCT", "*tsthiCCT_cconly", "*tsthi", "*tsthi_cconly"): Likewise.
("*tstqiCCT", "*tstqiCCT_cconly", "*tstqi", "*tstqi_cconly"): Likewise.
("*cmphi_ccu", "*cmpqi_ccu", "*clc"): Likewise
("movti", "*movdi_31", "*movqi", "*movdf_31", "*mvc"): Likewise.
("*movstricthi"): Likewise.
("*load_multiple_di", "*load_multiple_si"): Likewise.
("*store_multiple_di", "*store_multiple_si"): Likewise.
("*sethiqisi", "*sethihisi"): Likewise.
("*sethiqidi_64", "*sethiqidi_31"): Likewise.
("*andqi3_zarch", "*andqi3_esa", "*nc"): Likewise.
("*iorqi3_zarch", "*iorqi3_esa", "*oc"): Likewise.
("*xorqi3", "*xc", "*xc_zero"): Likewise.
("get_tp_64", "get_tp_31", "set_tp_64", "set_tp_31"): Likewise.
("*tmhi_full"): Fix incorrect op_type attribute.
("*adddi3_alc_cc", "*adddi3_alc"): Remove double backslash.
("*subdi3_slb_cc", "*subdi3_slb"): Likewise.
("*addsi3_alc_cc", "*addsi3_alc"): Likewise.
("*subsi3_slb_cc", "*subsi3_slb"): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88903
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 11 Oct 2004 20:26:53 +0000 (20:26 +0000)]
2004-10-11 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/16614 continued.
* include/ext/mt_allocator.h
(__per_type_pool_policy::_S_get_pool): Use saner defaults based on
specific type characteristics.
(__pool_base): Add constructor that takes a _Tune argument.
(__pool): Same.
* testsuite/ext/mt_allocator/tune-2.cc: Adjust default.
* testsuite/ext/mt_allocator/tune-4.cc: Same.
* testsuite/ext/mt_allocator/tune-3.cc: Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88902
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 11 Oct 2004 18:45:43 +0000 (18:45 +0000)]
PR libgcj/14856:
* Imported zlib 1.2.1; merged local changes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88898
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 11 Oct 2004 18:45:11 +0000 (18:45 +0000)]
ChangeLog file for zlib
Changes in 1.2.1 (17 November 2003)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88897
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Mon, 11 Oct 2004 18:32:40 +0000 (18:32 +0000)]
2004-10-11 Andrew Pinski <pinskia@physics.uc.edu
PR middle-end/16266
* function.c (temp_slots_at_level): Fix typo which creates too
many temp stack slots levels.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88896
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Mon, 11 Oct 2004 18:28:25 +0000 (18:28 +0000)]
* config/s390/s390.c (s390_trampoline_template): Generate shorter
trampoline code.
(s390_trampoline_instantiate): Adapt.
* config/s390/s390.h (TRAMPOLINE_SIZE): Adapt to new code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88895
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 11 Oct 2004 17:49:39 +0000 (17:49 +0000)]
* include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
(_Jv_ThreadSelf): Use __builtin_thread_pointer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88894
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 11 Oct 2004 17:44:11 +0000 (17:44 +0000)]
Initial revision
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88890
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 11 Oct 2004 17:35:40 +0000 (17:35 +0000)]
Forced commit in preparation for import
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88889
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Mon, 11 Oct 2004 17:20:16 +0000 (17:20 +0000)]
2004-10-11 Andrew Pinski <pinskia@physics.uc.edu>
* g++.dg/eh/cleanup5.C: Add dg-options "".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88888
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 11 Oct 2004 16:59:23 +0000 (16:59 +0000)]
PR c++/17929
* decl2.c (finish_anon_union): Robustify.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88886
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Mon, 11 Oct 2004 16:36:03 +0000 (16:36 +0000)]
* cp-tree.h (get_dynamic_cast_base_type): Rename to ...
(dcast_base_hint): ... here.
* rtti.c (build_dynamic_cast_1): Use dcast_base_hint.
* search.c (struct dcast_data_s): New.
(dynamic_cast_base_recurse): Remove. Replace with ...
(dfs_dcast_hint_pre, dfs_dcast_base_post): ... these. New.
(get_dynamic_cast_base_type): Rename to ...
(dcast_base_hint): ... here. Use dfs_walk_once_accessible.
(accessible_r): Remove.
(dfs_accessible_post): New, broken out of accessible_r.
(accessible_p): Use dfs_walk_once_accessible.
(dfs_walk_once_accessible_r): New. From accessible_r.
(dfs_walk_once_accessible): New. From acessible_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88884
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Mon, 11 Oct 2004 16:11:35 +0000 (16:11 +0000)]
PR middle-end/17657
* stmt.c (add_case_node): Add additional type argument. Declare
as static to match prototype. Convert the upper and lower bounds
to the specified index type. Optimize away case ranges/values
that are outside the index type's bounds. Truncate case ranges
that span the index type's bounds.
(expand_case): Avoid unnessary computation and memory allocation
when index type is error_mark_node. Pass index_type as required
by change to add_case_node API. No need to convert case range
bounds to index_type, this is now done by add_case_node.
* gcc.dg/switch-4.c: New test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88881
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Mon, 11 Oct 2004 15:38:23 +0000 (15:38 +0000)]
* cp-tree.h (SAME_BINFO_TYPE_P): New.
* class.c (build_base_path): Use SAME_BINFO_TYPE_P to compare
binfo types.
(convert_to_base_statically, determine_primary_bases,
update_vtable_entry_for_fn, dfs_modify_vtables, build_vtt_inits,
dfs_build_secondary_vptr_vtt_inits, build_ctor_vtbl_group,
accumulate_vtbl_inits, dfs_accumulate_vtbl_inits,
build_vtbl_initializer, add_vcall_offset_vtbl_entries_1): Likewise.
* init.c (expand_member_init): Likewise.
* search.c (lookup_base_r, dynamic_cast_base_recurse,
binfo_via_virtual, copied_binfo, binfo_for_vbase,
original_binfo): Likewise.
* tree.c (copy_binfo): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88880
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Mon, 11 Oct 2004 14:33:25 +0000 (14:33 +0000)]
* config/s390/s390-protos.h (s390_offset_p): Add prototype.
* config/s390/s390.c (s390_offset_p): New function.
* config/s390/s390.md ("*cmpdi_cct", "*cmpsi_cct", "*cmpdi_ccu",
"*cmpsi_ccu", "*cmphi_ccu", "*cmpqi_ccu"): Use splitter to
transform Q->Q alternatives to *clc pattern.
("*clc"): Move.
("movti", "*movdi_64", "*movdi_31", "*movsi_zarch", "*movsi_esa",
"*movhi", "*movqi", "*movdf_64", "*movdf_31", "movsf"): Use splitter
to transform Q->Q alternatives to *mvc pattern.
("*mvc"): Move. Add peephole to merge adjacent MVCs.
("*anddi3", "*andsi3_zarch", "*andsi3_esa", "*andhi3_zarch",
"*andhi3_esa", "*andqi3_zarch", "*andqi3_esa"): Use splitter to
transform Q->Q alternatives to *nc pattern.
("*nc"): New insn. New peephole to merge adjacent NCs.
("*iordi3", "*iorsi3_zarch", "*iorsi3_esa", "*iorhi3_zarch",
"*iorhi3_esa", "*iorqi3_zarch", "*iorqi3_esa"): Use splitter to
transform Q->Q alternatives to *oc pattern.
("*oc"): New insn. New peephole to merge adjacent OCs.
("*xordi3", "*xorsi3", "*xorhi3", "*xorqi3"): Use splitter to
transform Q->Q alternatives to *xc pattern.
("*xc"): New insn. New peephole to merge adjacent XCs.
("*xc_zero"): Move. Add peephole to merge adjacent XCs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88878
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Mon, 11 Oct 2004 12:57:09 +0000 (12:57 +0000)]
2004-10-11 Andrew Pinski <pinskia@physics.uc.edu>
* gimplify.c (gimple_push_condition): Make sure that we don't
have any saved condition cleanup if we were at the top level.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88877
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Mon, 11 Oct 2004 12:13:43 +0000 (12:13 +0000)]
* config/frv/frv.md (*adddi3_internal): Change name to...
(adddi3): ...replacing the exisiting define_expand. Combine
alternatives. Fix the range of the constant constraints ('J' instead
of 'NOP'). Remove bogus operands[2] check. Use simplify_gen_subreg
to extract the lower and upper halves of the DImode operands.
Always use addi3_lower and adddi3_upper, not the subdi3 forms.
(adddi3_lower): Fix the range of the constant constraints and
remove the bogus operands[2] check.
(adddi3_upper): Use gpr_or_int10_operand as the predicate for
operand 2. Use addxi to handle constant operands.
(subdi3_lower, subdi3_upper): Don't handle constant operands.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88876
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 11 Oct 2004 11:47:11 +0000 (11:47 +0000)]
* semantics.c: Fix comment typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88875
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Mon, 11 Oct 2004 08:55:23 +0000 (08:55 +0000)]
* gengtype-lex.l: Add commented } & ) characters to unconfuse
editor's paren matching. Allow #define inside a struct.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88873
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 11 Oct 2004 08:19:35 +0000 (08:19 +0000)]
2004-10-11 Joachim Kuebart <kuebart@mathematik.uni-ulm.de>
Paolo Carlini <pcarlini@suse.de>
* src/pool_allocator.cc (__pool_alloc_base::_M_allocate_chunk):
Deal properly with exceptions thrown by ::operator new(size_t).
* testsuite/ext/pool_allocator/allocate_chunk.cc: New.
* include/ext/pool_allocator.h: Include <cstdlib>.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88872
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Mon, 11 Oct 2004 05:29:17 +0000 (05:29 +0000)]
Remove extra whitespace.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88871
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Mon, 11 Oct 2004 05:19:48 +0000 (05:19 +0000)]
* makedepend.c: Include mkdeps.h for prototype of deps_add_vpath.
* Makefile.in (makedepend.o): Add dependency on mkdeps.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88870
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Mon, 11 Oct 2004 03:42:09 +0000 (03:42 +0000)]
2004-10-10 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/17554
part of c++/17657
middle-end/17703
* semantics.c (maybe_cleanup_point_expr): Call
fold_build_cleanup_point_expr.
(maybe_cleanup_point_expr_void): New function.
(add_decl_expr): Call maybe_cleanup_point_expr_void.
(finish_expr_stmt): Likewise.
(finish_return_stmt): Likewise.
(finish_for_expr): Likewise.
(finish_asm_stmt): Likewise.
* typeck.c (condition_conversion): Call
fold_build_cleanup_point_expr.
2004-10-10 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/17703
part of PR c++/17657
* fold-const.c (fold_build_cleanup_point_expr): New function.
* tree.h (fold_build_cleanup_point_expr): Prototype.
2004-10-10 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/17554
* g++.dg/init/for3.C: New test.
PR c++/17657
* g++.dg/opt/switch2.C: New test.
PR middle-end/17703
* g++.dg/warn/Wreturn-2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88869
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Mon, 11 Oct 2004 03:22:28 +0000 (03:22 +0000)]
2004-10-10 Eric Christopher <echristo@redhat.com>
* dwarf2out.c: Move attribute to subprogram declaration
instead of subroutine type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88868
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Mon, 11 Oct 2004 03:16:47 +0000 (03:16 +0000)]
2004-10-10 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/17907
* semantics.c (add_decl_expr): If the decl has a size which
has side effects then the decl expression needs a cleanup point.
2004-10-10 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/17907
* g++.dg/eh/cleanup5.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88867
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 11 Oct 2004 00:16:17 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88865
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 11 Oct 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88864
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 10 Oct 2004 22:06:04 +0000 (22:06 +0000)]
* basic-block.h: Remove the prototypes for can_hoist_insn_p,
hoist_insn_after, and hoist_insn_to_edge.
* rtl.h: Remove the prototypes for reg_referenced_between_p,
no_jumps_between_p, and insn_dependent_p.
* rtlanal.c (no_jumps_between_p, reg_referenced_between_p,
insn_dependent_p, insn_dependent_p_1, hoist_test_store,
can_hoist_insn_p, hoist_update_store, hoist_insn_after,
hoist_insn_to_edge): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88860
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Sun, 10 Oct 2004 21:54:41 +0000 (21:54 +0000)]
2004-10-10 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/functexcept.h: Add guards.
* acinclude.m4 (GLIBCXX_ENABLE_THREADS): Tweak test.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88857
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 10 Oct 2004 21:49:27 +0000 (21:49 +0000)]
PR c++/17393
* decl.c (grokdeclarator): Robustify error-recovery on invalid
declarations.
PR c++/17393
* g++.dg/parse/error21.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88855
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sun, 10 Oct 2004 21:36:42 +0000 (21:36 +0000)]
cp/
Convert diagnostics to use quoting flag q 7/n
* typeck.c (composite_pointer_type_r, composite_pointer_type,
cxx_sizeof_or_alignof_type, cxx_sizeof_or_alignof_expr,
string_conv_p, build_class_member_access_expr,
build_class_member_access_expr, lookup_destructor,
finish_class_member_access_expr, build_indirect_ref,
get_member_function_from_ptrfunc, build_function_call,
convert_arguments, build_binary_op, pointer_diff,
build_unary_op,
check_for_casting_away_constness, build_static_cast,
build_reinterpret_cast, build_const_cast, build_c_cast,
build_modify_expr, get_delta_difference, build_ptrmemfunc,
dubious_conversion_warnings, convert_for_assignment,
convert_for_initialization,
maybe_warn_about_returning_address_of_local,
check_return_expr):
Use quoting marks.
* typeck2.c (error_not_base_type, readonly_error,
abstract_virtuals_error, cxx_incomplete_type_diagnostic,
store_init_value, digest_init, build_x_arrow,
build_m_component_ref, require_complete_eh_spec_types):
Likewise.
* tree.c (cp_build_qualified_type_real,
handle_java_interface_attribute,
handle_init_priority_attribute):
Likewise.
* semantics.c (finish_asm_stmt, finish_non_static_data_member,
finish_pseudo_destructor_expr,
check_template_template_default_arg, begin_class_definition,
finish_base_specifier, qualified_name_lookup_error,
finish_id_expression, finish_typeof): Likewise.
* search.c (lookup_base, check_final_overrider,
look_for_overrides_r): Likewise.
* rtti.c (get_tinfo_decl, build_dynamic_cast_1): Likewise.
testsuite/
* g++.dg/overload/pmf1.C: Adjust quoting marks.
* g++.dg/warn/incomplete1.C: Likewise.
* g++.dg/template/qualttp20.C: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88854
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sun, 10 Oct 2004 19:20:35 +0000 (19:20 +0000)]
PR c/17881
* c-decl.c (grokparms): Don't warn for parameters of incomplete
type in declarations that are not definitions except for the case
of parameters of void type.
testsuite:
* parm-incomplete-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88850
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sun, 10 Oct 2004 17:55:23 +0000 (17:55 +0000)]
2004-10-10 Paolo Carlini <pcarlini@suse.de>
* config/locale/gnu/monetary_members.cc (_S_construct_pattern):
Give __ret a default value, thus avoiding spurious warnings.
* testsuite/performance/27_io/filebuf_sgetn_unbuf.cc: Open either
words or linux.words, otherwise exit.
* testsuite/performance/27_io/ifstream_getline.cc: Slighlty tweak.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88848
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Sun, 10 Oct 2004 16:19:37 +0000 (16:19 +0000)]
2004-10-08 Bryce McKinlay <mckinlay@redhat.com>
* java/util/Calendar.java (set): Invalidate DST_OFFSET
field as a DST boundary may have been crossed.
* java/util/GregorianCalendar.java (add): Throw
IllegalArgumentException on attempt to add to DST_OFFSET or
ZONE_OFFSET fields. Update javadoc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88847
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Sun, 10 Oct 2004 14:35:39 +0000 (14:35 +0000)]
* module.c: Fix formatting issues.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88846
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 10 Oct 2004 13:16:35 +0000 (13:16 +0000)]
* tree-cfg.c: Fix comment typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88845
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 10 Oct 2004 05:36:35 +0000 (05:36 +0000)]
Fix typo
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88839
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 10 Oct 2004 05:02:54 +0000 (05:02 +0000)]
PR c++/17867
* error.c (dump_expr): Correct handling of AGGR_INIT_EXPRs using a
constructor.
PR c++/17670
* init.c (build_new): Correct comments.
* parser.c (cp_parser_new_expression): Use NULL_TREE for nelts in
the non-array case.
PR c++/17821
* parser.c (cp_parser_postfix_dot_deref_expression): If the
pseduo-destructor-name production does not work, fall back to the
ordinary production.
PR c++/17826
* tree.c (cp_tree_equal): Handle a BASELINK.
PR c++/17687
* g++.dg/parse/error19.C: New test.
PR c++/17670
* g++.dg/init/new11.C: New test.
PR c++/17821
* g++.dg/parse/error20.C: New test.
PR c++/17826
* g++.dg/template/crash24.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88836
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sun, 10 Oct 2004 01:10:53 +0000 (01:10 +0000)]
PR c/17301
* builtins.c (expand_builtin_va_start): Check for too few
arguments to va_start.
testsuite:
* gcc.dg/pr17301-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88835
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sun, 10 Oct 2004 00:47:20 +0000 (00:47 +0000)]
PR c/17189
* c-decl.c (grokfield): Make diagnostic for bad cases of unnamed
fields a pedwarn. Pedwarn here for unnamed structs/unions if
pedantic.
* c-parse.in (component_decl): Don't pedwarn here for unnamed
fields.
testsuite:
* gcc.dg/anon-struct-5.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88834
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 10 Oct 2004 00:16:14 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88832
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 10 Oct 2004 00:16:10 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88831
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sat, 9 Oct 2004 23:28:38 +0000 (23:28 +0000)]
PR c/17844
* gcc.dg/pr17844-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88829
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Sat, 9 Oct 2004 20:19:37 +0000 (20:19 +0000)]
PR tree-optimization/17906
* tree-tailcall.c (tree_optimize_tail_calls_1): Do not attempt to
copy non-gimple reg arguments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88828
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sat, 9 Oct 2004 19:27:55 +0000 (19:27 +0000)]
2004-10-09 Roger Sayle <roger@eyesopen.com>
PR rtl-optimization/17853
* simplify-rtx.c (simplify_relational_operation): Correct comment.
Reorganize handling of comparison operations with floating point
results (always return 0.0 even without FLOAT_STORE_FLAG_VALUE).
Likewise, introduce support for comparison operations with vector
result types, introducing a new VECTOR_STORE_FLAG_VALUE target macro.
* doc/rtl.texi: Document new VECTOR_STORE_FLAG_VALUE target macro.
* doc/tm.texi: Likewise.
2004-10-09 Stuart Hastings <stuart@apple.com>
Roger Sayle <roger@eyesopen.com>
PR rtl-optimization/17853
* gcc.dg/i386-mmx-5.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88826
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Sat, 9 Oct 2004 19:19:24 +0000 (19:19 +0000)]
* regs.h (struct reg_info_def): Remove the last_node_uid and
changes_mode fields.
(REGNO_LAST_NOTE_UID): Don't define.
* regclass.c (reg_scan_mark_refs): Don't set REGNO_LAST_NOTE_UID.
* regmove.c (copy_src_to_dest): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88825
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Sat, 9 Oct 2004 18:00:53 +0000 (18:00 +0000)]
2004-10-09 Andrew Pinski <pinskia@physics.uc.edu>
* g++.dg/opt/pr17902.C: Fix typo in dg-do.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88823
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sat, 9 Oct 2004 17:33:02 +0000 (17:33 +0000)]
PR c++/17524
* cp-tree.h (check_var_type): New function.
* decl.c (check_var_type): New function, split out from ...
(grokdeclarator): ... here.
* pt.c (tsubst_decl): Use check_var_type.
PR c++/17685
* decl.c (grokdeclarator): Disallow declarations of operators as
PR c++/17524
* g++.dg/template/static9.C: New test.
PR c++/17685
* g++.dg/parse/operator5.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88820
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Sat, 9 Oct 2004 16:17:45 +0000 (16:17 +0000)]
* module.c (mio_interface_rest): Set where member of interface
while loading.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88819
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sat, 9 Oct 2004 15:48:24 +0000 (15:48 +0000)]
PR middle-end/17894
* fold-const.c (fold_div_compare): When optimizing X/C1 op C2, the
relational comparison operator op needs to be swapped/reversed when
C1 is negative. i.e. X/-10 < 1 becomes X >= -9, not X < -9.
* gcc.c-torture/execute/divcmp-4.c: New test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88818
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 9 Oct 2004 10:22:25 +0000 (10:22 +0000)]
2004-10-09 Michael Koch <konqueror@gmx.de>
* java/io/CharArrayWriter.java
(resize): Removed redundant 'final' modifier.
* java/io/DataInputStream.java
(readFully): Throw IndexOutOfBoundsException of len < 0.
* java/io/FileDescriptor.java,
java/io/FileInputStream.java,
java/io/FileOutputStream.java,
java/io/ObjectOutputStream.java,
java/io/ObjectStreamClass.java,
java/io/PipedInputStream.java,
java/io/RandomAccessFile.java:
Reorganized import statements.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88817
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 9 Oct 2004 09:57:02 +0000 (09:57 +0000)]
2004-10-09 Michael Koch <konqueror@gmx.de>
* gnu/java/rmi/rmic/RMIC.java,
gnu/java/rmi/server/RMIHashes.java,
gnu/java/rmi/server/RMIObjectInputStream.java,
gnu/java/rmi/server/UnicastConnection.java,
gnu/java/rmi/server/UnicastConnectionManager.java,
gnu/java/rmi/server/UnicastRemoteCall.java,
gnu/java/rmi/server/UnicastServerRef.java:
Reworked import statements and fixed file headers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88816
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sat, 9 Oct 2004 08:23:02 +0000 (08:23 +0000)]
2004-10-09 Paolo Carlini <pcarlini@suse.de>
* include/std/std_memory.h (__get_temporary_buffer): Don't use
INT_MAX, prefer numeric_limits<ptrdiff_t>::max(), ok on 64-bit
platforms too.
* testsuite/20_util/memory/auto_ptr/assign_neg.cc: Adjust dg-error
line numbers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88814
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Sat, 9 Oct 2004 02:30:10 +0000 (02:30 +0000)]
2004-10-08 Benjamin Kosnik <bkoz@redhat.com>
* acconfig.h: Add _GLIBCXX_USE___CXA_ATEXIT.
* acinclude.m4 (GLIBCXX_ENABLE_CXA_ATEXIT): New.
* configure.ac: Call GLIBCXX_ENABLE_CXA_EXIT.
* configure: Regenerate.
* src/mt_allocator.cc (__pool::~__pool): Make conditional on
_GLIBCXX_USE___CXA_ATEXIT macro.
* docs/html/ext/mt_allocator.html: Add note about deallocation.
* testsuite/ext/mt_allocator/deallocate_local-2.cc: Guard checks
with _GLIBCXX_USE___CXA_ATEXIT.
* testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same.
* testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same.
* testsuite/ext/mt_allocator/deallocate_global-4.cc: Same.
* testsuite/ext/mt_allocator/deallocate_global-2.cc: Same.
* testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same.
* testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same.
* testsuite/ext/mt_allocator/deallocate_local-4.cc: Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88809
138bc75d-0d04-0410-961f-
82ee72b054a4