OSDN Git Service

pf3gnuchains/gcc-fork.git
14 years ago * doc/md.texi (Standard Pattern Names): Document blockage pattern.
dje [Sun, 28 Jan 2007 19:26:43 +0000 (19:26 +0000)]
* doc/md.texi (Standard Pattern Names): Document blockage pattern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121268 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * gcc.dg/large-size-array-3.c: Correct test case (portability).
sayle [Sun, 28 Jan 2007 19:06:31 +0000 (19:06 +0000)]
* gcc.dg/large-size-array-3.c: Correct test case (portability).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121266 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-28 Michele Sandri <gpointorama@gmail.com>
membar [Sun, 28 Jan 2007 18:55:36 +0000 (18:55 +0000)]
2007-01-28  Michele Sandri  <gpointorama@gmail.com>

* gnu/java/nio/channels/natFileChannelWin32.cc
(lock): Implemented.
(unlock): Implemented.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121265 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-28 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 28 Jan 2007 18:40:42 +0000 (18:40 +0000)]
2007-01-28  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
iter_type, ios_base&, ios_base::iostate&, bool&),
num_put<>::_M_insert_int(_OutIter, ios_base&, _CharT, _ValueT)):
-Wconversion and -Woverflow fixes.
* include/bits/istream.tcc (operator>>(int&), operator>>(short&)):
Likewise.
* include/std/valarray (valarray<>::shift, cshift): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121264 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-28 Andrew Pinski <pinskia@gmail.com>
pinskia [Sun, 28 Jan 2007 18:09:25 +0000 (18:09 +0000)]
2007-01-28  Andrew Pinski  <pinskia@gmail.com>

        PR C++/28988
        * semantics.c (finish_pseudo_destructor_expr): Check the
        destrutor name by calling check_dtor_name.

2007-01-28  Andrew Pinski  <pinskia@gmail.com>

        PR C++/28988
        * g++.dg/expr/dtor4.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121261 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * tree-ssa-loop-unswitch.c: Include tree-inline.h.
rakdver [Sun, 28 Jan 2007 17:40:38 +0000 (17:40 +0000)]
* tree-ssa-loop-unswitch.c: Include tree-inline.h.
(tree_unswitch_single_loop): Pass eni_size_weights to
tree_num_loop_insns.
* tree-ssa-loop-manip.c: Include tree-inline.h.
(can_unroll_loop_p): Pass eni_size_weights to
tree_num_loop_insns.
* tree-ssa-loop-ch.c (should_duplicate_loop_header_p):
Pass eni_size_weights to estimate_num_insns.
* tree.h (init_inline_once): Export.
* toplev.c (backend_init): Call init_inline_once.
* cgraphunit.c (cgraph_process_new_functions,
cgraph_analyze_function): Pass eni_inlining_weights to
estimate_num_insns.
* ipa-inline.c (compute_inline_parameters): Ditto.
* tree-ssa-loop-ivcanon.c (tree_num_loop_insns): Pass weights
to estimate_num_insns.
(try_unroll_loop_completely): Pass eni_size_weights to
tree_num_loop_insns.
* tree-eh.c (decide_copy_try_finally): Pass eni_size_weights
ot estimate_num_insns.
* tree-ssa-loop-prefetch.c: Include tree-inline.h.
(loop_prefetch_arrays): Pass eni_time_weights to tree_num_loop_insns.
* tree-inline.c (eni_inlining_weights, eni_size_weights,
eni_time_weights): New variables.
(init_inline_once): Initialize them.
(struct eni_data): Mew.
(estimate_num_insns_1, estimate_num_insns): Use weights.
* tree-inline.h (struct eni_weights_d): New.
(eni_inlining_weights, eni_size_weights, eni_time_weights): Declare.
(estimate_num_insns): Declaration changed.
* cfgloop.h (tree_num_loop_insns): Declaration changed.
* Makefile.in (tree-ssa-loop-unswitch.o, tree-ssa-loop-prefetch.o,
tree-ssa-loop-manip.o): Add TREE_INLINE_H dependency.

* gcc.dg/tree-ssa/loop-23.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121260 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * tree-data-ref.c (conflict_fn): Assert that the number of affine
rakdver [Sun, 28 Jan 2007 17:29:30 +0000 (17:29 +0000)]
* tree-data-ref.c (conflict_fn): Assert that the number of affine
relations in the conflict function is valid.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121259 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR bootstrap/30469
drow [Sun, 28 Jan 2007 14:08:13 +0000 (14:08 +0000)]
PR bootstrap/30469
* Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
-fprofile-use.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121257 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-25 Razya Ladelsky <razya@il.ibm.com>
razya [Sun, 28 Jan 2007 13:01:53 +0000 (13:01 +0000)]
2007-01-25  Razya Ladelsky  <razya@il.ibm.com>

        * ipa-cp.c (ipcp_insert_stage, ipcp_driver): Support for SSA.
        (ipcp_driver): Change to static definition.
        Add dumping of the ifunctions.
        (constant_val_insert): Remove unused parameter. Support for SSA.
        (ipcp_propagate_const): Support for SSA.
        (ipcp_profile_bb_print): Print only analyzed nodes.
        (ipcp_replace_map_create): Remove support for Fortran constant
        for now.
        * ipa-prop.c (ipa_method_modify_stmt,
        ipa_callsite_compute_param): Support for SSA.
        * ipa-prop.h (ipcp_driver): Remove declaration.
        (IS_VALID_TREE_MAP_INDEX): Add define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121256 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-28 Thomas Koenig <Thomas.Koenig@online.de>
tkoenig [Sun, 28 Jan 2007 10:44:47 +0000 (10:44 +0000)]
2007-01-28  Thomas Koenig  <Thomas.Koenig@online.de>

PR libfortran/30389
* gfortran.h:  Remove gfc_simplify_init_1.
* arith.h:  Remove third argument from gfc_compare_string.
* arith.c(gfc_compare_expression):  Remove third argument
from call to gfc_compare_string.
(gfc_compare_string):  Remove third argument xcoll_table.
Remove use of xcoll_table.
* misc.c(gfc_init_1):  Remove call to gfc_simplify_init_1.
* simplify.c(ascii_table):  Remove.
(xascii_table): Likewise.
(gfc_simplify_achar):  ICE if extract_int fails.  Remove use of
ascii_table.  Warn if -Wsurprising and value < 0 or > 127.
(gfc_simplify_char):  ICE if extract_int fails. Error if
value < 0 or value > 255.
(gfc_simplify_iachar):  Remove use of xascii_table.
Char values outside of 0..255 are an ICE.
(gfc_simplify_lge):  Remove use of xascii_table.
(gfc_simplify_lgt):  Likewise.
(gfc_simplify_lle):  Likewise.
(gfc_simplify_llt):  Likewise.
(invert_table):  Remove.
(gfc_simplify_init_1):  Remove.

2007-01-28  Thomas Koenig  <Thomas.Koenig@online.de>

PR libfortran/30389
* gfortran.dg/achar_2.f90:  New test.
* gfortran.dg/achar_3.f90:  New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121255 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago./:
ian [Sun, 28 Jan 2007 05:15:06 +0000 (05:15 +0000)]
./:
* common.opt: Add fstrict-overflow.
* opts.c (decode_options): Set flag_strict_overflow if -O2.
* flags.h (TYPE_OVERFLOW_WRAPS): Define.
(TYPE_OVERFLOW_UNDEFINED): Define.
(TYPE_OVERFLOW_TRAPS): Define.  This replaces TYPE_TRAP_SIGNED.
Replace all uses.
* tree.h (TYPE_TRAP_SIGNED): Don't define.
* fold-const.c (negate_expr_p): Use TYPE_OVERFLOW_UNDEFINED.
(fold_negate_expr): Likewise.
(make_range): Likewise.
(extract_muldiv_1): Likewise.
(maybe_canonicalize_comparison): Likewise.
(fold_comparison): Likewise.
(fold_binary): Likewise.
(tree_expr_nonnegative_p): Likewise.
(tree_expr_nonzero_p): Likewise.
* tree-vrp.c (compare_values): Likewise.
(extract_range_from_binary_expr): Likewise.
(extract_range_from_unary_expr): Likewise.
* tree-ssa-loop-niter.c (infer_loop_bounds_from_signedness):
Likewise.
(nowrap_type_p): Likewise.
* tree-scalar-evolution.c (simple_iv): Likewise.
* fold-const.c (negate_expr_p): Use TYPE_OVERFLOW_WRAPS.
(build_range_check): Likewise.
(extract_muldiv_1): Likewise.
(fold_comparison): Likewise.
* tree-vrp.c (vrp_int_const_binop): Likewise.
(extract_range_from_unary_expr): Likewise.
* convert.c (convert_to_integer): Likewise.
* fold-const.c (fold_negate_expr): Use TYPE_OVERFLOW_TRAPS.
(fold_comparison): Likewise.
(fold_binary): Likewise.
* optabs.c (optab_for_tree_code): Likewise.
* tree-vectorizer.c (vect_is_simple_reduction): Likewise.
* simplify-rtx.c (simplify_const_relational_operation): Check
flag_strict_overflow and flag_trapv.
(simplify_const_relational_operation): Likewise.
* doc/invoke.texi (Option Summary): Mention -fstrict-overflow.
(Optimize Options): Add -fstrict-overflow to -O2 list.  Document
-fstrict-overflow.
testsuite/:
* gcc.dg/strict-overflow-1.c: New test.
* gcc.dg/no-strict-overflow-1.c: New test.
* gcc.dg/strict-overflow-2.c: New test.
* gcc.dg/no-strict-overflow-2.c: New test.
* gcc.dg/strict-overflow-3.c: New test.
* gcc.dg/no-strict-overflow-3.c: New test.
* gcc.dg/strict-overflow-4.c: New test.
* gcc.dg/no-strict-overflow-4.c: New test.
* gcc.dg/fold-mod-1.c: Add -fstrict-overflow option.
* gcc.dg/pr15784-1.c: Likewise.
* gcc.dg/pr20922-1.c: Likewise.
* gcc.dg/pr20922-3.c: Likewise.
* gcc.dg/pr20922-4.c: Likewise.
* gcc.dg/pr20922-6.c: Likewise.
* gcc.dg/compare-4.c: Likewise.
* gcc.dg/torture/pr26898-1.c: Likewise.
* gcc.dg/tree-ssa/divide-1.c: Likewise.
* gcc.dg/tree-ssa/divide-2.c: Likewise.
* gcc.dg/tree-ssa/divide-3.c: Likewise.
* gcc.dg/tree-ssa/divide-4.c: Likewise.
* gcc.dg/tree-ssa/pr14490-1.c: Likewise.
* gcc.dg/tree-ssa/pr14490-3.c: Likewise.
* gcc.dg/tree-ssa/pr21082.c: Likewise.
* gcc.dg/tree-ssa/pr26899.c: Likewise.
* g++.dg/tree-ssa/pr21082.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121254 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * tree.c (tree_fold_gcd): Delete.
sayle [Sun, 28 Jan 2007 05:04:48 +0000 (05:04 +0000)]
* tree.c (tree_fold_gcd): Delete.
* tree.h (tree_fold_gcd): Remove prototype.
* tree-data-ref.c (tree_fold_divides_p): Don't use tree_fold_gcd to
test whether one constant integer is a multiple of another.  Instead
call int_const_binop with TRUNC_MOD_EXPR and test for a zero result.
* fold-const.c (multiple_of_p):  We've determined both TOP and
BOTTOM are integer constants so we can call int_const_binop directly
instead of the more generic const_binop.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121253 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * fold-const.c (size_binop): In the fast-paths for X+0, 0+X, X-0 and
sayle [Sun, 28 Jan 2007 03:48:41 +0000 (03:48 +0000)]
* fold-const.c (size_binop): In the fast-paths for X+0, 0+X, X-0 and
1*X check that the constant hasn't overflowed, to preserve the
TREE_OVERFLOW bit.
(round_up): Provide an efficient implementation when rouding-up an
INTEGER_CST to a power-of-two.

* gcc-dg/large-size-array-3.c: New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121252 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoDaily bump.
gccadmin [Sun, 28 Jan 2007 00:17:40 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121250 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoAdd missing doc/install.texi to ChangeLog entry of the previous commit.
gerald [Sun, 28 Jan 2007 00:12:11 +0000 (00:12 +0000)]
Add missing doc/install.texi to ChangeLog entry of the previous commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121245 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * doc/sourcebuild.texi: Add comma for clarity.
gerald [Sat, 27 Jan 2007 23:55:27 +0000 (23:55 +0000)]
* doc/sourcebuild.texi: Add comma for clarity.
* doc/extend.texi: Fix some typos.
* doc/passes.texi: Likewise.
* doc/cppinternals.texi: Likewise.
* doc/c-tree.texi: Likewise.
* doc/tree-ssa.texi: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121242 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * doc/sourcebuild.texi: Add comma for clarity.
gerald [Sat, 27 Jan 2007 23:51:49 +0000 (23:51 +0000)]
* doc/sourcebuild.texi: Add comma for clarity.
* doc/extend.texi: Fix some typos.
* doc/passes.texi: Likewise.
* doc/cppinternals.texi: Likewise.
* doc/c-tree.texi: Likewise.
* doc/tree-ssa.texi: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121241 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * tree-sra.c (sra_walk_function): Don't rely on aliases being build.
hubicka [Sat, 27 Jan 2007 22:31:19 +0000 (22:31 +0000)]
* tree-sra.c (sra_walk_function): Don't rely on aliases being build.
(pass_sra): Do not require alias information.
* passes.c (init_optimization_passes): Add SRA

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121240 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
andreast [Sat, 27 Jan 2007 21:46:15 +0000 (21:46 +0000)]
2007-01-27  Andreas Tobler  <a.tobler@schweiz.org>

PR libgcj/30513
* configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
libgcj_flags to undefine 'sun' at compile time.
* sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
Sparc.
(write_barrier): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121239 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoconfig
tromey [Sat, 27 Jan 2007 19:50:38 +0000 (19:50 +0000)]
config
2007-01-27  Paolo Bonzini  <bonzini@gnu.org>
* depstand.m4 (ZW_CREATE_DEPDIR): Use mkinstalldirs to make
directory.

libcpp
* configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121237 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * trans-stmt.c (forall_info): Replace the next_nest and outer
sayle [Sat, 27 Jan 2007 19:02:25 +0000 (19:02 +0000)]
* trans-stmt.c (forall_info): Replace the next_nest and outer
fields that previously implemented a doubly-linked list with a
single prev_nest field (singly-linked list).
(gfc_trans_nested_forall_loop): The nested_forall_info argument
now denotes the innermost FORALL in the loop nest.
(compute_overall_iter_number): Use prev_nest instead of next_nest.
(gfc_trans_forall_1): Link/cons the new "info" to the head of the
nested_forall_info linked list.  Free the current "info" when done.

* gfortran.dg/forall_7.f90: New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121236 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-27 Paul Thomas <pault@gcc.gnu.org>
pault [Sat, 27 Jan 2007 18:23:14 +0000 (18:23 +0000)]
2007-01-27  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/30407
* trans-expr.c (gfc_conv_operator_assign): New function.
* trans.h : Add prototype for gfc_conv_operator_assign.
* trans-stmt.c (gfc_trans_where_assign): Add a gfc_symbol for
a potential operator assignment subroutine.  If it is non-NULL
call gfc_conv_operator_assign instead of the first assignment.
( gfc_trans_where_2): In the case of an operator assignment,
extract the argument expressions from the code for the
subroutine call and pass the symbol to gfc_trans_where_assign.
resolve.c (resolve_where, gfc_resolve_where_code_in_forall,
gfc_resolve_forall_body): Resolve the subroutine call for
operator assignments.

2007-01-27  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/30407
* gfortran.dg/where_operator_assign_1.f90: New test.
* gfortran.dg/where_operator_assign_2.f90: New test.
* gfortran.dg/where_operator_assign_3.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121235 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * gnu/classpath/jdwp/natVMVirtualMachine.cc
kseitz [Sat, 27 Jan 2007 16:34:32 +0000 (16:34 +0000)]
    * gnu/classpath/jdwp/natVMVirtualMachine.cc
        (getAllClassMethods): Move error handling to ...
        (throw_jvmti_error): ... here.
        (jdwpClassPrepareCB): New function.
        (jdwpThreadEndCB): New function.
        (jdwpThreadStartCB): New function.
        (jdwpVMDeathCB): New function.
        (jdwpVMInitCB): Define and enable callbacks for
        ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121233 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * tracer.c (rest_of_handle_tracer): We already cleaned
steven [Sat, 27 Jan 2007 14:48:02 +0000 (14:48 +0000)]
* tracer.c (rest_of_handle_tracer): We already cleaned
up the CFG in tracer() so don't do it here again.
* cfgcleanup.c (rest_of_handle_jump2): Don't repeat
cleanup_cfg here, either.  And don't call renumber_insns.

* cfgrtl.c (rtl_verify_flow_info_1): Don't verify that BB_END
and BB_HEAD are in the insn stream here.  Instead make sure
that BB_INSN is valid on all insns.  Also, do check here that
there are no pending branch predictions...
(rtl_verify_flow_info): ...instead of doing it here.  Checks
for BB_END and BB_HEAD moved from rtl_verify_flow_info_1 to
here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121231 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoAdd 'PR fortran/30278' to my previous commit.
kargl [Sat, 27 Jan 2007 05:29:38 +0000 (05:29 +0000)]
Add 'PR fortran/30278' to my previous commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121229 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * config/i386/i386.c (ix86_swap_binary_operands_p): New helper
sayle [Sat, 27 Jan 2007 02:52:37 +0000 (02:52 +0000)]
* config/i386/i386.c (ix86_swap_binary_operands_p): New helper
function to simplify/factorize operand order canonicalization.
(ix86_fixup_binary_operands): Reorganize using the above function.
(ix86_binary_operator_ok): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121227 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoDaily bump.
gccadmin [Sat, 27 Jan 2007 00:17:45 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121225 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * lib/target-supports.exp
jsm28 [Fri, 26 Jan 2007 23:53:28 +0000 (23:53 +0000)]
* lib/target-supports.exp
(check_effective_target_powerpc_altivec): New.
(check_effective_target_vect_cmdline_needed): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121219 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-26 Steven Bosscher <stevenb.gcc@gmail.com>
kargl [Fri, 26 Jan 2007 23:36:11 +0000 (23:36 +0000)]
2007-01-26  Steven Bosscher  <stevenb.gcc@gmail.com>
        Steven G. Kargl  <kargl@gcc.gnu,org>

* testsuite/gfortran.dg/backslash_3.f: New test.

* fortran/io.c (next_char): Deal with backslash escaped characters.
Issue warnings in non -std=gnu cases.
* fortran/primary.c (next_string_char): Issue warnings in non

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121218 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * Makefile.am (generic_header_files): Add $(inner_nat_headers).
jakub [Fri, 26 Jan 2007 23:22:35 +0000 (23:22 +0000)]
* Makefile.am (generic_header_files): Add $(inner_nat_headers).
* testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
(MYGCJH): New variable.
(compile-tests): New goal.
* Makefile.in: Rebuilt.
* testsuite/Makefile.in: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121217 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * genattrtab.c (struct attr_value_list, insn_code_values): Move to
jakub [Fri, 26 Jan 2007 23:15:08 +0000 (23:15 +0000)]
* genattrtab.c (struct attr_value_list, insn_code_values): Move to
file scope from optimize_attrs.
(simplify_test_exp): If insn_code_values is not NULL, use it to speed
up search.
(optimize_attrs): Clear insn_code_values after freeing it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121216 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agolibjava
tromey [Fri, 26 Jan 2007 23:07:08 +0000 (23:07 +0000)]
libjava
* Updated headers.
libjava/classpath
* tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
'volatile' after field type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121215 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * tree-ssa-address.c (create_mem_ref): Remove ", bsi" from
rakdver [Fri, 26 Jan 2007 19:47:20 +0000 (19:47 +0000)]
* tree-ssa-address.c (create_mem_ref): Remove ", bsi" from
a parts.base assignment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121213 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * tree-data-ref.c (dump_subscript): Use dump_conflict_function.
rakdver [Fri, 26 Jan 2007 19:33:04 +0000 (19:33 +0000)]
* tree-data-ref.c (dump_subscript): Use dump_conflict_function.
(compute_subscript_distance, initialize_data_dependence_relation,
finalize_ddr_dependent, analyze_ziv_subscript,
analyze_siv_subscript_cst_affine,
compute_overlap_steps_for_affine_univar,
compute_overlap_steps_for_affine_1_2, analyze_subscript_affine_affine,
analyze_siv_subscript, analyze_miv_subscript,
analyze_overlapping_iterations, subscript_dependence_tester_1,
compute_self_dependence, free_dependence_relation): Work
with affine_fn instead of chrecs.
(dump_affine_function, dump_conflict_function, affine_function_equal_p,
common_affine_function, affine_function_base,
affine_function_constant_p, affine_fn_op, affine_fn_plus,
affine_fn_minus, affine_fn_free, conflict_fn_not_known,
conflict_fn_no_dependence, free_conflict_function, free_subscripts,
conflict_fn, affine_fn_cst, affine_fn_univar): New functions.
(all_chrecs_equal_p): Removed.
* tree-data-ref.h (affine_fn, conflict_function): New types.
(struct subscript): Change type of conflicting_iterations_in_a
and conflicting_iterations_in_b.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121212 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR other/30182
sje [Fri, 26 Jan 2007 18:16:29 +0000 (18:16 +0000)]
PR other/30182
* config/pa/pa.h (TARGET_HPUX_11): New.
* config/pa/pa-hpux11.h (TARGET_HPUX_11): New.
* config/pa/pa.c (pa_init_builtins): Use TARGET_HPUX_11.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121211 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-26 Paolo Carlini <pcarlini@suse.de>
paolo [Fri, 26 Jan 2007 18:00:42 +0000 (18:00 +0000)]
2007-01-26  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/30586
* config/cpu/ia64/atomic_word.h: Just include <bits/cxxabi_tweaks.h>.
* testsuite/abi/30586.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121209 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-26 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 26 Jan 2007 15:36:03 +0000 (15:36 +0000)]
2007-01-26  Richard Guenther  <rguenther@suse.de>

* gcc.dg/tree-ssa/pr23382.c: Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121205 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-26 Daniel Berlin <dberlin@dberlin.org>
rguenth [Fri, 26 Jan 2007 12:36:01 +0000 (12:36 +0000)]
2007-01-26  Daniel Berlin  <dberlin@dberlin.org>
Richard Guenther  <rguenther@suse.de>

* tree-ssa-structalias.c (solve_graph): Handle case
we merged the variable to another.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121202 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agofortran/
burnus [Fri, 26 Jan 2007 08:35:19 +0000 (08:35 +0000)]
fortran/
2007-01-26  Tobias Burnus  <burnus@net-b.de>

* lang-specs.h: Add support for .f03 and .F03 extensions.
* gfortran.texi: Document .f03 extension.
* options.c (form_from_filename): Recognize .f03.

testsuite/
2007-01-26  Tobias Burnus  <burnus@net-b.de>

        * gfortran.dg/gomp/gomp.exp: Support .f03 extension.
        * gfortran.dg/vect/vect.exp: Ditto.
        * gfortran.dg/dg.exp: Ditto.
        * gfortran.fortran-torture/execute/execute.exp: Ditto.
        * gfortran.fortran-torture/compile/compile.exp: Ditto.

libgomp/
2007-01-26  Tobias Burnus  <burnus@net-b.de>

* testsuite/libgomp.fortran/fortran.exp: Support .f03 extension.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121201 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * builtins.c (fold_builtin_1): Treat ccos and ccosh as 'even'
ghazi [Fri, 26 Jan 2007 02:40:31 +0000 (02:40 +0000)]
* builtins.c (fold_builtin_1): Treat ccos and ccosh as 'even'
functions.

* fold-const.c (negate_mathfn_p): Treat casin, casinh, catan,
catanh, cproj, csin, csinh, ctan and ctanh as 'odd' functions.

testsuite:
* gcc.dg/builtins-20.c: Add more cases.
* gcc.dg/torture/builtin-symmetric-1.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121200 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago* config/m32c/m32c.c (m32c_cannot_change_mode_class): We don't
dj [Fri, 26 Jan 2007 01:16:57 +0000 (01:16 +0000)]
* config/m32c/m32c.c (m32c_cannot_change_mode_class): We don't
allow changes to modes which don't fit in those registers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121199 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago* reload1.c (choose_reload_regs): Check for invalid subregs before
dj [Fri, 26 Jan 2007 01:15:05 +0000 (01:15 +0000)]
* reload1.c (choose_reload_regs): Check for invalid subregs before
computing their locations, not after.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121198 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR libgcj/29594:
tromey [Fri, 26 Jan 2007 01:05:13 +0000 (01:05 +0000)]
PR libgcj/29594:
* gnu/gcj/convert/Convert.java (main): Correctly handle missing
input or output encodings.  Removed unused local variables.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121197 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoDaily bump.
gccadmin [Fri, 26 Jan 2007 00:17:43 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121195 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-25 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
manu [Thu, 25 Jan 2007 21:15:34 +0000 (21:15 +0000)]
2007-01-25  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

PR fortran/30437
fortran/
* lang.opt (Wall): Remove RejectNegative.
* options.c (gfc_handle_option): Wall can be disabled.
(set_Wall): Add a parameter for disabling Wall.
testsuite/
* gcc.dg/Wall.c: New.
* gcc.dg/Wno-all.c: New.
* gfortran.dg/Wall.f90: New.
* gfortran.dg/Wno-all.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121186 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
kseitz [Thu, 25 Jan 2007 21:05:18 +0000 (21:05 +0000)]
    * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
        * gnu/classpath/jdwp/natVMVirtualMachine.cc
        (_Jv_GetJDWP_JVMTIEnv): New function.
        * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
        (getSignature): Implement.
        (getModifiers): Implement.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121185 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-24 Geoffrey Keating <geoffk@apple.com>
geoffk [Thu, 25 Jan 2007 20:32:06 +0000 (20:32 +0000)]
2007-01-24  Geoffrey Keating  <geoffk@apple.com>

PR 25127
* config/rs6000/rs6000.c (first_altivec_reg_to_save): On Darwin,
save Altivec registers in an eh_return function.
(compute_vrsave_mask): Likewise.
(rs6000_stack_info): Correct AIX/Darwin stack alignment computation
for saving Altivec registers.
(rs6000_emit_prologue): Don't allocate stack twice in
eh_return function.  Correct expected value of altivec_save_offset
when using save_world.  Describe save of R0 to stack when using
save_world.  Describe stack pointer adjustment when using
save_world.  Remove duplicated eh_return parameter register saving.
Update sp_offset variable after save_world.
* config/rs6000/t-darwin (LIB2FUNCS_STATIC_EXTRA): Remove
darwin-world.asm.
(LIB2FUNCS_EXTRA): Add darwin-world.asm.
* config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): -m64
implies Altivec.

Index: gcc/testsuite/ChangeLog
2007-01-24  Geoffrey Keating  <geoffk@apple.com>

* gcc.target/powerpc/darwin-ehreturn-1.c: New.
* g++.dg/eh/simd-2.C: Also run on Darwin.
* g++.dg/eh/simd-3.C: New.
* g++.dg/eh/simd-4.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121184 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-25 Andrew Haley <aph@redhat.com>
tromey [Thu, 25 Jan 2007 19:51:33 +0000 (19:51 +0000)]
2007-01-25  Andrew Haley  <aph@redhat.com>

* configure, Makefile.in, include/config.h.in: Rebuilt.
* Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
* configure.ac: Don't check for libmagic.
* java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
p_magic_close, p_magic_buffer): New globals.
(init): Look up 'magic' functions.
(guessContentTypeFromBuffer): Updated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121183 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-25 Daniel Franke <franke.daniel@gmail.com>
dfranke [Thu, 25 Jan 2007 19:25:01 +0000 (19:25 +0000)]
2007-01-25  Daniel Franke <franke.daniel@gmail.com>

        PR target/30272
        * inclhack.def(broken_cabs): Also remove definition of cabsl.
        * fixincl.x: Regenerate.
        * tests/base/math.h: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121182 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * config.gcc (ia64*-*-hpux*): Make posix threads the default.
sje [Thu, 25 Jan 2007 18:08:16 +0000 (18:08 +0000)]
* config.gcc (ia64*-*-hpux*): Make posix threads the default.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121180 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
kseitz [Thu, 25 Jan 2007 18:04:01 +0000 (18:04 +0000)]
    * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
        (_Jv_JVMTI_Interface): Define GetMethodName.
        * testsuite/libjava.jvmti/getmethodname.java: New file.
        * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
        * testsuite/libjava.jvmti/getmethodname.out: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121179 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR other/30182
sje [Thu, 25 Jan 2007 17:06:55 +0000 (17:06 +0000)]
PR other/30182
* config/pa/pa.c (pa_init_builtins): Set asm names for finite routines.
* config/ia64/ia64.c (ia64_init_builtins):  Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121178 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * decl.c (gnat_to_gnu_entity): Use TREE_OVERFLOW instead of
sayle [Thu, 25 Jan 2007 16:58:26 +0000 (16:58 +0000)]
* decl.c (gnat_to_gnu_entity): Use TREE_OVERFLOW instead of
TREE_CONSTANT_OVERFLOW.
(allocatable_size_p, annotate_value): Likewise.
* trans.c (gnat_to_gnu): Likewise.
* utils.c (unchecked_convert): Likewise.
* utils2.c (build_simple_component_ref): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121177 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * configure.ac: Add --enable-version-specific-runtime-libs.
drow [Thu, 25 Jan 2007 16:00:32 +0000 (16:00 +0000)]
* configure.ac: Add --enable-version-specific-runtime-libs.
Correct $slibdir default.
* configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121176 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-25 Kyle Galloway <kgallowa@redhat.com>
kgallowa [Thu, 25 Jan 2007 14:42:45 +0000 (14:42 +0000)]
2007-01-25  Kyle Galloway  <kgallowa@redhat.com>

* testsuite/libjava.jvmti/lib/libjava.exp (exec_gij): Change [ to { in
if statement.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121174 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoKyle Galloway 2007-01-25 <kgallowa@redhat.com>
kgallowa [Thu, 25 Jan 2007 14:25:26 +0000 (14:25 +0000)]
Kyle Galloway  2007-01-25  <kgallowa@redhat.com>

    * ChangeLog: Add ChangeLog entry that didn't apply.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121173 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-25 Kyle Galloway <kgallowa@redhat.com>
kgallowa [Thu, 25 Jan 2007 14:19:05 +0000 (14:19 +0000)]
2007-01-25  Kyle Galloway  <kgallowa@redhat.com>

    * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
    * libjava/testsuite/libjava.jvmti/interp: New folder.
    * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121172 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-25 Nathan Myers <ncm@cantrip.org>
paolo [Thu, 25 Jan 2007 13:08:51 +0000 (13:08 +0000)]
2007-01-25  Nathan Myers  <ncm@cantrip.org>

* include/bits/streambuf_iterator.h (istreambuf_iterator<>::equal):
Simplify.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121170 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-25 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 25 Jan 2007 12:35:13 +0000 (12:35 +0000)]
2007-01-25  Richard Guenther  <rguenther@suse.de>

* doc/invoke.texi (-Wcoverage-mismatch): Document.
* common.opt (-Wcoverage-mismatch): New warning option.
* coverage.c (get_coverage_counts): Ignore coverage mismatch
if -Wcoverage-mismatch is given.

* gcc.dg/tree-prof/tree-prof.exp: Define _PROFILE_GENERATE
and _PROFILE_USE.
* gcc.dg/tree-prof/wcoverage-mismatch.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121169 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-25 Razya Ladelsky <razya@il.ibm.com>
razya [Thu, 25 Jan 2007 11:01:40 +0000 (11:01 +0000)]
2007-01-25  Razya Ladelsky  <razya@il.ibm.com>

        * gcc.dg/ipa/ipa-1.c: Update scan tree dump.
        * gcc.dg/ipa/ipa-2.c: Update scan tree dump.
        * gcc.dg/ipa/ipa-3.c: Update scan tree dump.
        * gcc.dg/ipa/ipa-4.c: Update scan tree dump.
        * gcc.dg/ipa/ipa-5.c: Update scan tree dump.
        * gcc.dg/ipa/ipa-6.c: Update scan tree dump.
        * gcc.dg/ipa/ipa-7.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121168 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-25 Razya Ladelsky <razya@il.ibm.com>
razya [Thu, 25 Jan 2007 10:54:47 +0000 (10:54 +0000)]
2007-01-25  Razya Ladelsky  <razya@il.ibm.com>

        * ipa-cp.c (ipcp_insert_stage, ipcp_driver): Support for SSA.
          (ipcp_driver): Change to static definition.
          Add dumping of the ifunctions.
          (constant_val_insert): Remove unused parameter. Support for SSA.
          (ipcp_propagate_const): Support for SSA.
          (ipcp_profile_bb_print): Print only analyzed nodes.
          (ipcp_replace_map_create): Remove support for Fortran constant
          for now.
          * ipa-prop.c (ipa_method_modify_stmt,
          ipa_callsite_compute_param): Support for SSA.
          * ipa-prop.h (ipcp_driver): Remove declaration.
          (IS_VALID_TREE_MAP_INDEX): Add define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121167 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * unwind-dw2.c (execute_stack_op): Handle DW_OP_swap.
geoffk [Thu, 25 Jan 2007 07:08:33 +0000 (07:08 +0000)]
* unwind-dw2.c (execute_stack_op): Handle DW_OP_swap.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121165 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR middle-end/30447
ghazi [Thu, 25 Jan 2007 04:15:26 +0000 (04:15 +0000)]
PR middle-end/30447
* builtins.c (fold_builtin_cabs): Use MPFR to evaluate a
constant argument to cabs and do it without checking for
-funsafe-math-optimizations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121163 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-24 Douglas Gregor <dgregor@osl.iu.edu>
dgregor [Thu, 25 Jan 2007 04:04:18 +0000 (04:04 +0000)]
2007-01-24  Douglas Gregor  <dgregor@osl.iu.edu>

* c-common.h (RID_FIRST_CXX0X): New.
(RID_LAST_CXX0X): New.
* c-opts.c (c_common_handle_option): -Wc++0x-compat is triggered
by -Wall.
* c.opt (Wc++0x-compat): New.
* doc/invoke.texi (-Wc++0x-compat): Document.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121162 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-24 Douglas Gregor <dgregor@osl.iu.edu>
dgregor [Thu, 25 Jan 2007 04:02:36 +0000 (04:02 +0000)]
2007-01-24  Douglas Gregor  <dgregor@osl.iu.edu>

* lex.c (D_CPP0X): Rename.
(D_CXX0X): To this.
(reswords): D_CPP0X -> D_CXX0X.
(init_reswords): Ditto.
* parser.c (cp_lexer_get_preprocessor_token): Warn about the use
of C++0x keywords as identifiers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121161 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-24 Douglas Gregor <dgregor@osl.iu.edu>
dgregor [Thu, 25 Jan 2007 04:02:15 +0000 (04:02 +0000)]
2007-01-24  Douglas Gregor  <dgregor@osl.iu.edu>

* g++.dg/cpp0x/warn_cxx0x.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121160 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * builtins.c (fold_builtin_carg): New.
ghazi [Thu, 25 Jan 2007 03:57:30 +0000 (03:57 +0000)]
* builtins.c (fold_builtin_carg): New.
(fold_builtin_1): Use it.

testsuite:
* gcc.dg/builtins-20.c: Test builtin carg.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121159 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
kseitz [Thu, 25 Jan 2007 01:21:27 +0000 (01:21 +0000)]
    * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
        CLASS_PREPARE notification.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121157 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * ipa-inline.c (cgraph_decide_inlining): Initialize initial_insns.
hubicka [Thu, 25 Jan 2007 01:13:02 +0000 (01:13 +0000)]
* ipa-inline.c (cgraph_decide_inlining): Initialize initial_insns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121156 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
kseitz [Thu, 25 Jan 2007 00:40:45 +0000 (00:40 +0000)]
    * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
        gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
        * interpret-run.cc: Implement insn_breakpoint.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121155 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoDaily bump.
gccadmin [Thu, 25 Jan 2007 00:18:18 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121152 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-24 Steve LoBasso <slobasso@yahoo.com>
paolo [Wed, 24 Jan 2007 23:52:37 +0000 (23:52 +0000)]
2007-01-24   Steve LoBasso <slobasso@yahoo.com>
     Paolo Carlini  <pcarlini@suse.de>

* include/bits/deque.tcc (deque<>::erase(iterator, iterator)):
Fix condition.
* testsuite/23_containers/deque/modifiers/erase/3.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121147 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agooops, wrong variant of patch.
hubicka [Wed, 24 Jan 2007 22:45:34 +0000 (22:45 +0000)]
oops, wrong variant of patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121146 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-24 Andrew Pinski <andrew_pinski@playstation.sony.com>
pinskia [Wed, 24 Jan 2007 22:45:20 +0000 (22:45 +0000)]
2007-01-24  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        * libsupc++/eh_personality.cc  (PERSONALITY_FUNCTION): Replace
        _Unwind_Word with _uleb128_t in the SJLJ context.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121145 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * ipa-inline.c (initial_insns, max_insns): Delete.
hubicka [Wed, 24 Jan 2007 22:45:00 +0000 (22:45 +0000)]
* ipa-inline.c (initial_insns, max_insns): Delete.
(compute_max_insns): New function.
(cgraph_decide_inlining_of_small_function): Use it; take minimal amount
of insns as base for code growth.
(cgraph_decide_inlining): Make initial_insns local; do not compute
max_insns.
* params.def (PARAM_INLINE_UNIT_GROWTH): Set to 60.
* doc/invoke.texi (inline-unit-growth): Update docs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121144 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * prims.cc (_Jv_RunMain): Send JVMTI event notifications
kseitz [Wed, 24 Jan 2007 22:44:08 +0000 (22:44 +0000)]
    * prims.cc (_Jv_RunMain): Send JVMTI event notifications
        for VM_INIT and VM_DEATH instead of the JDWP notifications.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121143 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * gnu/classpath/jdwp/natVMVirtualMachine.cc
kseitz [Wed, 24 Jan 2007 22:35:43 +0000 (22:35 +0000)]
    * gnu/classpath/jdwp/natVMVirtualMachine.cc
        (getAllClassMethods): Implement.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121142 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoAdd myself as libgomp maintainer.
jakub [Wed, 24 Jan 2007 22:23:58 +0000 (22:23 +0000)]
Add myself as libgomp maintainer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121141 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * config/i386/i386.h (x86_cmpxchg16b): Remove const.
jakub [Wed, 24 Jan 2007 22:00:03 +0000 (22:00 +0000)]
* config/i386/i386.h (x86_cmpxchg16b): Remove const.
(TARGET_CMPXCHG16B): Define to x86_cmpxchg16b.
* config/i386/i386.c (x86_cmpxchg16b): Remove const.
(override_options): Add PTA_CX16 flag.  Set x86_cmpxchg16b
for CPUs that have PTA_CX16 set.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121140 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR middle-end/27416
jakub [Wed, 24 Jan 2007 20:58:21 +0000 (20:58 +0000)]
PR middle-end/27416
* gimplify.c (omp_check_private): New function.
(gimplify_scan_omp_clauses): Use it for
firstprivate/lastprivate/reduction.

* gcc.dg/gomp/pr27416.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121133 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR middle-end/30494
jakub [Wed, 24 Jan 2007 20:56:45 +0000 (20:56 +0000)]
PR middle-end/30494
* gimplify.c (omp_add_variable): Don't call omp_notice_variable
on TYPE_SIZE_UNIT for GOVD_LOCAL VLAs.

* gcc.dg/gomp/pr30494.c: New test.
* g++.dg/gomp/pr30494.C: New test.

* testsuite/libgomp.c/pr30494.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121132 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago PR middle-end/30421
jakub [Wed, 24 Jan 2007 20:53:08 +0000 (20:53 +0000)]
PR middle-end/30421
* omp-low.c (lower_omp_for_lastprivate): Add dlist argument.
If lower_lastprivate_clauses emits some statements, append them
to dlist rather than body_p and to body_p append an initializer.
(lower_omp_for): Adjust caller.

* gcc.dg/gomp/pr30421.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121131 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * gcc.target/ia64/versionid-1.c: New test.
sje [Wed, 24 Jan 2007 19:47:31 +0000 (19:47 +0000)]
* gcc.target/ia64/versionid-1.c: New test.
* gcc.target/ia64/versionid-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121130 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agoForgot ChangeLog in previous commit.
sje [Wed, 24 Jan 2007 19:40:57 +0000 (19:40 +0000)]
Forgot ChangeLog in previous commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121129 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * target.h (globalize_decl_name): New.
sje [Wed, 24 Jan 2007 19:40:12 +0000 (19:40 +0000)]
* target.h (globalize_decl_name): New.
* target-def.h (TARGET_ASM_GLOBALIZE_DECL_NAME): New.
* output.h (default_globalize_decl_name): New.
* varasm.c (asm_output_bss): Use globalize_decl_name instead of
globalize_label.
        (globalize_decl): Ditto.
(default_globalize_decl_name): New.
* config/ia64/ia64.c (ia64_globalize_decl_name): New.
(ia64_handle_version_id_attribute): New.
(TARGET_ASM_GLOBALIZE_DECL_NAME): New.
(ia64_asm_output_external): Use globalize_decl_name instead
of globalize_label.
* doc/extend.texi (version_id): New pragma.
* doc/tm.texi (ARGET_ASM_GLOBALIZE_DECL_NAME): New target hook.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121128 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-24 Andreas Tobler <a.tobler@schweiz.org>
andreast [Wed, 24 Jan 2007 19:36:42 +0000 (19:36 +0000)]
2007-01-24  Andreas Tobler  <a.tobler@schweiz.org>

ChangeLog: Fix Typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121127 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-24 Andrew Haley <aph@redhat.com>
aph [Wed, 24 Jan 2007 17:13:50 +0000 (17:13 +0000)]
2007-01-24  Andrew Haley  <aph@redhat.com>

        * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
        (getClassContext) Add a barrier to prevent GetStackWalkerStack()
        from being sibcalled.

2007-01-24  Andrew Haley  <aph@redhat.com>

        * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
        * sources.am: Rebuild.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121119 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-24 Andrew Haley <aph@redhat.com>
aph [Wed, 24 Jan 2007 17:11:04 +0000 (17:11 +0000)]
2007-01-24  Andrew Haley  <aph@redhat.com>

        * jcf-parse.c (HANDLE_SYNTHETIC_ATTRIBUTE): current_class is a
        type node, not a decl, so use TYPE_SYNTHETIC not CLASS_SYNTHETIC.

2007-01-22  Andrew Haley  <aph@redhat.com>

        * builtins.c (VMSupportsCS8_builtin): New function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121118 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-24 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 24 Jan 2007 15:03:40 +0000 (15:03 +0000)]
2007-01-24  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/29722 continued
* testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Add
libsupc++ library directory.
* testsuite/abi/cxx_runtime_only_linkage.cc: Remove hard-coded
path specification.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121117 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
krebbel [Wed, 24 Jan 2007 14:46:47 +0000 (14:46 +0000)]
2007-01-24  Andreas Krebbel  <krebbel1@de.ibm.com>

* unwind-dw2-fde.c (get_cie_encoding): Replaced _Unwind_Word with
_uleb128_t and _Unwind_SWord with _sleb128_t.
* unwind-dw2.c (extract_cie_info, execute_stack_op, execute_cfa_program,
uw_frame_state_for, uw_update_context_1): Likewise.
* unwind-c.c (parse_lsda_header, PERSONALITY_FUNCTION): Likewise.
* unwind-pe.h (read_uleb128, read_sleb128,
read_encoded_value_with_base): Likewise.
* unwind-generic.h: Define _sleb128_t and _uleb128_t types.

2007-01-24  Andreas Krebbel  <krebbel1@de.ibm.com>

* libsupc++/eh_personality.cc (parse_lsda_header, check_exception_spec,
get_ttype_entry, empty_exception_spec, PERSONALITY_FUNCTION): Replaced
_Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.

2007-01-24  Andreas Krebbel  <krebbel1@de.ibm.com>

* exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
_Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121116 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-24 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 24 Jan 2007 14:13:28 +0000 (14:13 +0000)]
2007-01-24  Richard Guenther  <rguenther@suse.de>

        PR testsuite/30181
* gcc.dg/builtins-57.c: Change to a link-time testcase
        to support non-C99 targets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121115 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-24 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 24 Jan 2007 13:49:18 +0000 (13:49 +0000)]
2007-01-24  Richard Guenther  <rguenther@suse.de>

* builtins.c (expand_builtin_cexpi): Get the fndecl
for cexp in the correct way.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121114 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * gcc.dg/tree-ssa/pr23382.c: Avoid DCE from eliminating dead variable.
hubicka [Wed, 24 Jan 2007 12:13:45 +0000 (12:13 +0000)]
* gcc.dg/tree-ssa/pr23382.c: Avoid DCE from eliminating dead variable.
* tree-ssa-dce.c (eliminate_unnecesary_stmts): Remove dead LHS of calls.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121108 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
krebbel [Wed, 24 Jan 2007 12:03:38 +0000 (12:03 +0000)]
2007-01-24  Andreas Krebbel  <krebbel1@de.ibm.com>

* c-cppbuiltin.c (builtin_define_type_sizeof): New function.
(c_cpp_builtins): New builtin macros: __SIZEOF_INT__, __SIZEOF_LONG__,
__SIZEOF_LONG_LONG__, __SIZEOF_SHORT__, __SIZEOF_POINTER__,
__SIZEOF_FLOAT__, __SIZEOF_DOUBLE__, __SIZEOF_LONG_DOUBLE__,
__SIZEOF_SIZE_T__, __SIZEOF_WCHAR_T__, __SIZEOF_WINT_T__ and
__SIZEOF_PTRDIFF_T__.
* doc/cpp.texi: Documentation for the new builtin macros added.

2007-01-24  Andreas Krebbel  <krebbel1@de.ibm.com>

* gcc.c-torture/compile/sizeof-macros-1.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121107 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago * config/i386/i386.md (tanxf2, tan<mode>2, atan<mode>2, log<mode>2,
uros [Wed, 24 Jan 2007 11:17:09 +0000 (11:17 +0000)]
* config/i386/i386.md (tanxf2, tan<mode>2, atan<mode>2, log<mode>2,
log10<mode>2, log2<mode>2, expxf2, exp10xf2, exp2xf2): Use op2
instead of operands[2] to avoid access past the end of array.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121106 138bc75d-0d04-0410-961f-82ee72b054a4

14 years agogcc/
rsandifo [Wed, 24 Jan 2007 08:16:14 +0000 (08:16 +0000)]
gcc/
* reload1.c (emit_reload_insns): Pass the reload register
for a non-spill output reload through forget_old_reloads_1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121105 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-23 Andrew Pinski <pinskia@gmail.com>
pinskia [Wed, 24 Jan 2007 06:01:09 +0000 (06:01 +0000)]
2007-01-23  Andrew Pinski  <pinskia@gmail.com>

        PR objc/27438
        * objc-act.c (objc_add_static_instance): Mark the decl as
        TREE_USED.

2007-01-23  Andrew Pinski  <pinskia@gmail.com>

        PR objc/27438
        * objc.dg/const-str-12.m: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121102 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-23 Andrew Pinski <pinskia@gmail.com>
pinskia [Wed, 24 Jan 2007 05:46:09 +0000 (05:46 +0000)]
2007-01-23  Andrew Pinski  <pinskia@gmail.com>

PR java/30454
* jcf-io.c (opendir_in_zip): Close the file
and free zipf before returning after an error.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121101 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Wed, 24 Jan 2007 02:02:52 +0000 (02:02 +0000)]
2007-01-23  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/30532
* gfortran.dg/ctrl-z.f90:  New test.

2007-01-23  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/30481
* gfortran.dg/namelist_assumed_char.f90:  New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121100 138bc75d-0d04-0410-961f-82ee72b054a4

14 years ago2007-01-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Wed, 24 Jan 2007 01:56:55 +0000 (01:56 +0000)]
2007-01-23  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/30532
* scanner.c (load_line): Remove check fot ctrl-z and don't gobble.

2007-01-23  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/30481
* match.c (gfc_match_namelist): Add check for assumed size character
in namelist and provide error if found.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121099 138bc75d-0d04-0410-961f-82ee72b054a4