OSDN Git Service

pf3gnuchains/gcc-fork.git
14 years ago * inclhack.def (hpux_inttype_int_least8_t): Also apply on hpux10*.
danglin [Sun, 2 Aug 2009 01:18:04 +0000 (01:18 +0000)]
* inclhack.def (hpux_inttype_int_least8_t): Also apply on hpux10*.
(hpux_inttype_int8_t): Likewise.
* fixincl.x: Regenerate.

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

14 years agoDaily bump.
gccadmin [Sun, 2 Aug 2009 00:16:48 +0000 (00:16 +0000)]
Daily bump.

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

14 years ago2009-04-17 Paolo Bonzini <bonzini@gnu.org>
bonzini [Sat, 1 Aug 2009 22:03:34 +0000 (22:03 +0000)]
2009-04-17  Paolo Bonzini  <bonzini@gnu.org>

* expr.c (store_constructor): Use promote_decl_mode.  Remove
now write-only variable unsignedp.
(expand_expr_real_1): Use promote_decl_mode.
* expr.h (promote_function_mode, promote_decl_mode): New.
(promote_mode): Remove last argument.
* function.c (assign_temp): Drop last argument of promote_mode.
(assign_parm_find_data_types): Use promote_function_mode.
(assign_parm_setup_reg): Likewise.
(expand_function_end): Use promote_function_mode.
* calls.c (initialize_argument_information): Use promote_function_mode.
(precompute_arguments): Use promote_mode instead of checking if
only PROMOTE_FUNCTION_MODE is defined.
(expand_call): When making sibcall decisions, use promote_function_mode.
Below, remove an if for targetm.calls.promote_function_return and
and use promote_function_mode.
(emit_library_call_value_1): Use promote_function_mode, fix bug
where promote_mode was passed FOR_CALL == 0 for a return value in an
assertion.
* cfgexpand.c (expand_one_register_var): Use promote_decl_mode.
* explow.c (promote_function_mode, promote_decl_mode): New.
(promote_mode): Keep only the FOR_CALL == 0 case.
* combine.c (setup_incoming_promotion): Remove test of
promote_function_args.  Use promote_function_mode.
* stmt.c (expand_value_return): Use promote_decl_mode.
(expand_decl): Use promote_decl_mode.

* expr.c (store_constructor): Use promote_decl_mode.  Remove
now write-only variable unsignedp.
(expand_expr_real_1): Use promote_decl_mode.
* expr.h (promote_function_mode, promote_decl_mode): New.
(promote_mode): Remove last argument.
* function.c (assign_temp): Drop last argument of promote_mode.
(assign_parm_find_data_types): Use promote_function_mode.
(assign_parm_setup_reg): Likewise.
(expand_function_end): Use promote_function_mode.
* calls.c (initialize_argument_information): Use promote_function_mode.
(precompute_arguments): Use promote_mode instead of checking if
only PROMOTE_FUNCTION_MODE is defined.
(expand_call): When making sibcall decisions, use promote_function_mode.
Below, remove an if for targetm.calls.promote_function_return and
and use promote_function_mode.
(emit_library_call_value_1): Use promote_function_mode, fix bug
where promote_mode was passed FOR_CALL == 0 for a return value in an
assertion.
* cfgexpand.c (expand_one_register_var): Use promote_decl_mode.
* explow.c (promote_function_mode, promote_decl_mode): New.
(promote_mode): Keep only the FOR_CALL == 0 case.
* combine.c (setup_incoming_promotion): Remove test of
promote_function_args.  Use promote_function_mode.
* stmt.c (expand_value_return): Use promote_decl_mode.
(expand_decl): Use promote_decl_mode.

* explow.c (promote_function_mode): Just call the target hook.
* targhooks.c (default_promote_function_mode,
default_promote_function_mode_always_promote): New.
* targhooks.h (default_promote_function_mode,
default_promote_function_mode_always_promote): Declare.
* target.h (promote_function_args, promote_function_return): Remove.
(promote_function_mode): New.
* target-def.h (TARGET_PROMOTE_FUNCTION_ARGS,
TARGET_PROMOTE_FUNCTION_RETURN): Remove.
(TARGET_PROMOTE_FUNCTION_MODE): New.
(TARGET_CALLS): Adjust.
* system.h (TARGET_PROMOTE_FUNCTION_ARGS,
TARGET_PROMOTE_FUNCTION_RETURN, PROMOTE_FUNCTION_MODE): Poison.

* config/s390/s390.h (PROMOTE_FUNCTION_MODE): Move...
* config/s390/s390.c (s390_promote_function_mode): ... here,
with pointer handling.
(TARGET_PROMOTE_FUNCTION_MODE): Define.
(TARGET_PROMOTE_FUNCTION_ARGS, TARGET_PROMOTE_FUNCTION_RETURN): Remove.

* config/sparc/sparc.h (PROMOTE_FUNCTION_MODE): Move...
* config/sparc/sparc.c (sparc_promote_function_mode): ... here,
with pointer handling.
(TARGET_PROMOTE_FUNCTION_MODE): Define.
(TARGET_PROMOTE_FUNCTION_ARGS, TARGET_PROMOTE_FUNCTION_RETURN): Remove.

* config/sh/sh-protos.h (sh_promote_function_mode): New.
* config/sh/sh.c (sh_promote_function_mode): New.
(TARGET_PROMOTE_FUNCTION_MODE): Define.
(TARGET_PROMOTE_FUNCTION_ARGS, TARGET_PROMOTE_FUNCTION_RETURN): Remove.

* config/cris/cris.h (PROMOTE_FUNCTION_MODE): Move...
* config/cris/cris.c (cris_promote_function_mode): ... here.
(TARGET_PROMOTE_FUNCTION_MODE): Define.
(TARGET_PROMOTE_FUNCTION_ARGS): Remove.

* config/mmix/mmix.h (PROMOTE_FUNCTION_MODE): Move...
* config/mmix/mmix.c (mmix_promote_function_mode): ... here.
(TARGET_PROMOTE_FUNCTION_MODE): Define.
(TARGET_PROMOTE_FUNCTION_ARGS): Remove.

* config/arm/arm.h (PROMOTE_FUNCTION_MODE): Move...
* config/arm/arm.c (arm_promote_function_mode): ... here, without complex
type handling.
(TARGET_PROMOTE_FUNCTION_MODE): Define.
(TARGET_PROMOTE_FUNCTION_ARGS, TARGET_PROMOTE_FUNCTION_RETURN): Remove.

* config/pa/pa.c (pa_promote_function_mode): New.
(TARGET_PROMOTE_FUNCTION_MODE): Define.
(TARGET_PROMOTE_FUNCTION_RETURN): Remove.

* config/alpha/alpha.c (TARGET_PROMOTE_FUNCTION_ARGS,
TARGET_PROMOTE_FUNCTION_RETURN): Remove.
(TARGET_PROMOTE_FUNCTION_MODE): Define equivalently.
* config/xtensa/xtensa.c: Likewise.
* config/stormy16/stormy16.c: Likewise.
* config/iq2000/iq2000.c: Likewise.
* config/rs6000/rs6000.c: Likewise.
* config/picochip/picochip.c: Likewise.
* config/arc/arc.c: Likewise.
* config/mcore/mcore.c: Likewise.
* config/score/score.c: Likewise.
* config/mips/mips.c: Likewise.
* config/bfin/bfin.c: Likewise.
* config/ia64/ia64.c: Likewise (disabled though).

* config/frv/frv.h: Remove pointless remark.

* doc/tm.texi (PROMOTE_FUNCTION_MODE,
TARGET_PROMOTE_FUNCTION_ARGS,
TARGET_PROMOTE_FUNCTION_RETURN): Consolidate into...
(TARGET_PROMOTE_FUNCTION_MODE): ... this.

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

14 years agoRename -fgraphite-force-parallel to -floop-parallelize-all.
spop [Sat, 1 Aug 2009 18:22:58 +0000 (18:22 +0000)]
Rename -fgraphite-force-parallel to -floop-parallelize-all.

2009-08-01  Sebastian Pop  <sebastian.pop@amd.com>

* doc/invoke.texi (-fgraphite-force-parallel): Renamed
-floop-parallelize-all.
* toplev.c (process_options): Rename flag_graphite_force_parallel to
flag_loop_parallelize_all.
* tree-ssa-loop.c (gate_graphite_transforms): Same.
* graphite.c (graphite_transform_loops): Same.
* common.opt: Same.
* graphite-poly.c (apply_poly_transforms): Same.

* gcc.dg/graphite/graphite_autopar/graphite_autopar.exp: Rename
-fgraphite-force-parallel to -floop-parallelize-all.

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

14 years ago2009-08-01 Paul Thomas <pault@gcc.gnu.org>
pault [Sat, 1 Aug 2009 13:45:12 +0000 (13:45 +0000)]
2009-08-01  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/40011
* error.c : Add static flag 'warnings_not_errors'.
(gfc_error): If 'warnings_not_errors' is set, branch to code
from gfc_warning.
(gfc_clear_error): Reset 'warnings_not_errors'.
(gfc_errors_to_warnings): New function.
* options.c (gfc_post_options): If pedantic and flag_whole_file
change the latter to a value of 2.
* parse.c (parse_module): Add module namespace to gsymbol.
(resolve_all_program_units): New function.
(clean_up_modules): New function.
(translate_all_program_units): New function.
(gfc_parse_file): If whole_file, do not clean up module right
away and add derived types to namespace derived types. In
addition, call the three new functions above.
* resolve.c (not_in_recursive): New function.
(not_entry_self_reference): New function.
(resolve_global_procedure): Symbol must not be IFSRC_UNKNOWN,
procedure must not be in the course of being resolved and
must return false for the two new functions. Pack away the
current derived type list before calling gfc_resolve for the
gsymbol namespace.  It is unconditionally an error if the ranks
of the reference and ther procedure do not match. Convert
errors to warnings during call to gfc_procedure_use if not
pedantic or legacy.
(gfc_resolve): Set namespace resolved flag to -1 during
resolution and store current cs_base.
* trans-decl.c (gfc_get_symbol_decl): If whole_file compilation
substitute a use associated variable, if it is available in a
gsymbolnamespace.
(gfc_get_extern_function_decl): If the procedure is use assoc,
do not attempt to find it in a gsymbol because it could be an
interface. If the symbol exists in a module namespace, return
its backend_decl.
* trans-expr.c (gfc_trans_scalar_assign): If a derived type
assignment, set the rhs TYPE_MAIN_VARIANT to that of the rhs.
* trans-types.c (copy_dt_decls_ifequal): Add 'from_gsym' as a
boolean argument. Copy component backend_decls directly if the
components are derived types and from_gsym is true.
(gfc_get_derived_type): If whole_file copy the derived type from
the module if it is use associated, otherwise, if can be found
in another gsymbol namespace, use the existing derived type as
the TYPE_CANONICAL and build normally.
* gfortran.h : Add derived_types and resolved fields to
gfc_namespace. Include prototype for gfc_errors_to_warnings.

2009-08-01  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/40011
* gfortran.dg/whole_file_7.f90: New test.
* gfortran.dg/whole_file_8.f90: New test.
* gfortran.dg/whole_file_9.f90: New test.
* gfortran.dg/whole_file_10.f90: New test.
* gfortran.dg/whole_file_11.f90: New test.
* gfortran.dg/whole_file_12.f90: New test.
* gfortran.dg/whole_file_13.f90: New test.
* gfortran.dg/whole_file_14.f90: New test.

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

14 years agoupdate license
jason [Sat, 1 Aug 2009 03:56:47 +0000 (03:56 +0000)]
update license

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

14 years ago * call.c (convert_class_to_reference): Binding an lvalue to an
jason [Sat, 1 Aug 2009 02:26:42 +0000 (02:26 +0000)]
* call.c (convert_class_to_reference): Binding an lvalue to an
rvalue reference is bad.  If the user-defined conversion is bad,
set bad_p before merging conversions.
(maybe_handle_ref_bind): Don't push down bad_p.
(reference_binding): Binding an lvalue to an rvalue reference is bad.
(convert_like_real): Give a helpful error about binding lvalue
to rvalue reference.
(reference_related_p): No longer static.
* typeck.c (build_typed_address): New.
(build_static_cast_1): Add static_cast from lvalue to &&.
* cp-tree.h: Adjust.

* include/bits/move.h (forward): Implement as in N2835.
(move): Implement as in N2831.
* include/std/istream (rvalue stream operator>>): New.
* include/std/ostream (rvalue stream operator<<): New.

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

14 years ago * include/bits/forward_list.h (splice_after): Use forward.
jason [Sat, 1 Aug 2009 02:26:32 +0000 (02:26 +0000)]
* include/bits/forward_list.h (splice_after): Use forward.
(merge): Likewise.
* include/bits/stl_iterator.h (move_iterator::operator*): Use move.
(move_iterator::operator[]): Use move.
* include/bits/stl_list.h (insert): Use move.
* include/std/thread (_Callable constructor): Use forward.
* include/std/tuple: Don't specify explicit template args to move.

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

14 years ago * call.c (reference_binding): Rename lvalue_p to is_lvalue.
jason [Sat, 1 Aug 2009 02:26:21 +0000 (02:26 +0000)]
* call.c (reference_binding): Rename lvalue_p to is_lvalue.
Do direct binding of "rvalues" in memory to rvalue references.
* tree.c (lvalue_p_1): Can't be both non-addressable lvalue and
"rvalue" in memory.
* typeck.c (build_static_cast_1): Do direct binding of memory
"rvalues" to rvalue references.
* cvt.c (cp_fold_convert): New.
* cp-tree.h: Declare it.

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

14 years ago * typeck.c (build_address): Do fold away ADDR_EXPR of INDIRECT_REF.
jason [Sat, 1 Aug 2009 02:26:13 +0000 (02:26 +0000)]
* typeck.c (build_address): Do fold away ADDR_EXPR of INDIRECT_REF.
* tree.c (rvalue): Use cp_build_qualified_type, not TYPE_MAIN_VARIANT.

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

14 years agoDaily bump.
gccadmin [Sat, 1 Aug 2009 00:16:41 +0000 (00:16 +0000)]
Daily bump.

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

14 years ago PR tree-optimization/40914
rearnsha [Fri, 31 Jul 2009 21:56:28 +0000 (21:56 +0000)]
PR tree-optimization/40914
* ipa-prop.c (ipa_get_ptr_load_param): New argument use_delta,
if set, then check the delta field of the PMF record.
(ipa_get_stmt_member_ptr_load_param): Propagate new param use_delta.
(ipa_analyze_call_uses): Handle machines where the vbit for a PMF
call is stored in the delta.

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

14 years ago * config/mips/mips.md (*clear_upper32_dext): New pattern.
nemet [Fri, 31 Jul 2009 15:47:20 +0000 (15:47 +0000)]
* config/mips/mips.md (*clear_upper32_dext): New pattern.

testsuite/
* gcc.target/mips/ext-4.c: New test.

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

14 years ago * config/i386/bsd.h (ASM_BYTE): New define.
uros [Fri, 31 Jul 2009 13:41:43 +0000 (13:41 +0000)]
* config/i386/bsd.h (ASM_BYTE): New define.
* config/i386/darwin.h (ASM_BYTE): Rename from ASM_BYTE_OP.
* config/i386/att.h (ASM_BYTE): New define. Use ASM_BYTE instead of
.byte.  Use fputs or putc instead of fprintf where appropriate.
* config/i386/i386-interix.h: Use ASM_BYTE instead of .byte.  Use
fputs or putc instead of fprintf where appropriate.
* config/i386/i386elf.h: Ditto.
* config/i386/sysv4.h: Ditto.

* config/i386/i386.c (TARGET_ASM_BYTE_OP): New define.
* config/i386/i386.md (x86_sahf_1): Use ASM_BYTE instead of .byte.
(*tls_global_dynamic_64): Ditto.

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

14 years agoenable SH libgloss build
chrbr [Fri, 31 Jul 2009 12:51:10 +0000 (12:51 +0000)]
enable SH libgloss build

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

14 years ago * Makefile.am: Don't set SECTION_FLAGS with @SECTION_FLAGS@.
kkojima [Fri, 31 Jul 2009 12:29:33 +0000 (12:29 +0000)]
* Makefile.am: Don't set SECTION_FLAGS with @SECTION_FLAGS@.
Don't set IEEE_FLAGS with @IEEE_FLAGS@.
* Makefile.in: Regenerate.

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

14 years ago2009-07-31 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 31 Jul 2009 12:19:26 +0000 (12:19 +0000)]
2009-07-31  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/40912 (partial)
* include/std/random: Disable the facility if <stdint.h> is not
available.

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

14 years agoFix address cost for plus reg const_int.
ramana [Fri, 31 Jul 2009 08:26:58 +0000 (08:26 +0000)]
Fix address cost for plus reg const_int.

2009-07-31  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

* config/arm/arm.c (arm_arm_address_cost): Fix typo.
Remove dead code for MINUS.

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

14 years agoTweak ABI & add moxie-uclinux target.
green [Fri, 31 Jul 2009 05:11:21 +0000 (05:11 +0000)]
Tweak ABI & add moxie-uclinux target.

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

14 years ago* config/sh/sh.md (UNSPECV_SP_SWITCH_B): New.
dj [Fri, 31 Jul 2009 04:59:45 +0000 (04:59 +0000)]
* config/sh/sh.md (UNSPECV_SP_SWITCH_B): New.
(UNSPECV_SP_SWITCH_E): New.
(sp_switch_1): Change to an unspec.
(sp_switch_2): Change to an unspec.  Don't use post-inc when we
replace $r15.
* config/sh/sh.c (sh_expand_prologue): Use the constant pool to
reference the new stack's address

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

14 years ago2009-07-30 Sebastian Pop <sebastian.pop@amd.com>
spop [Fri, 31 Jul 2009 04:50:35 +0000 (04:50 +0000)]
2009-07-30  Sebastian Pop  <sebastian.pop@amd.com>

* g++.dg/tree-ssa/pr33615.C: Fix pattern for lim.

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

14 years agoFix patterns in lim and dceloop testcases.
spop [Fri, 31 Jul 2009 02:50:11 +0000 (02:50 +0000)]
Fix patterns in lim and dceloop testcases.

2009-07-30  Sebastian Pop  <sebastian.pop@amd.com>

* gcc.dg/tree-ssa/20050314-1.c: Fix patterns for lim and dceloop.
* gcc.dg/tree-ssa/loop-32.c: Same.
* gcc.dg/tree-ssa/loop-33.c: Same.
* gcc.dg/tree-ssa/loop-34.c: Same.
* gcc.dg/tree-ssa/loop-35.c: Same.
* gcc.dg/tree-ssa/loop-7.c: Same.
* gcc.dg/tree-ssa/pr23109.c: Same.
* gcc.dg/tree-ssa/restrict-2.c: Same.
* gcc.dg/tree-ssa/restrict-3.c: Same.
* gcc.dg/tree-ssa/ssa-lim-1.c: Same.
* gcc.dg/tree-ssa/ssa-lim-2.c: Same.
* gcc.dg/tree-ssa/ssa-lim-3.c: Same.
* gcc.dg/tree-ssa/ssa-lim-6.c: Same.
* gcc.dg/tree-ssa/structopt-1.c: Same.
* gcc.dg/vect/dump-tree-dceloop-pr26359.c: Same.
* gfortran.dg/pr32921.f: Same.

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

14 years agoAdd new testcases.
spop [Fri, 31 Jul 2009 02:49:01 +0000 (02:49 +0000)]
Add new testcases.

2009-07-30  Sebastian Pop  <sebastian.pop@amd.com>

* gcc.dg/graphite/graphite_autopar/force-parallel-1.c: New.
* gcc.dg/graphite/graphite_autopar/force-parallel-2.c: New.
* gcc.dg/graphite/graphite_autopar/force-parallel-3.c: New.
* gcc.dg/graphite/graphite_autopar/force-parallel-4.c: New.
* gcc.dg/graphite/graphite_autopar/force-parallel-5.c: New.
* gcc.dg/graphite/graphite_autopar/force-parallel-6.c: New.
* gcc.dg/graphite/graphite_autopar/force-parallel-7.c: New.
* gcc.dg/graphite/graphite_autopar/force-parallel-8.c: New.
* gcc.dg/graphite/graphite_autopar/force-parallel-9.c: New.
* gcc.dg/graphite/graphite_autopar/graphite_autopar.exp: New.
* gcc.dg/graphite/id-1.c: New.
* gcc.dg/graphite/id-10.c: New.
* gcc.dg/graphite/id-11.c: New.
* gcc.dg/graphite/id-12.c: New.
* gcc.dg/graphite/id-13.c: New.
* gcc.dg/graphite/id-14.c: New.
* gcc.dg/graphite/id-15.c: New.
* gcc.dg/graphite/id-2.c: New.
* gcc.dg/graphite/id-3.c: New.
* gcc.dg/graphite/id-4.c: New.
* gcc.dg/graphite/id-5.c: New.
* gcc.dg/graphite/id-6.c: New.
* gcc.dg/graphite/id-7.c: New.
* gcc.dg/graphite/id-8.c: New.
* gcc.dg/graphite/id-9.c: New.
* gcc.dg/graphite/interchange-0.c: New.
* gcc.dg/graphite/interchange-1.c: New.
* gcc.dg/graphite/interchange-2.c: New.
* gcc.dg/graphite/interchange-3.c: New.
* gcc.dg/graphite/interchange-4.c: New.
* gcc.dg/graphite/interchange-5.c: New.
* gcc.dg/graphite/interchange-6.c: New.
* gcc.dg/graphite/interchange-7.c: New.
* gcc.dg/graphite/interchange-8.c: New.
* gcc.dg/graphite/pr35356-1.c: New.
* gcc.dg/graphite/pr35356-2.c: New.
* gcc.dg/graphite/pr35356-3.c: New.
* gcc.dg/graphite/pr40157.c: New.
* gcc.dg/graphite/run-id-1.c: New.
* gcc.dg/graphite/scop-20.c: New.
* gcc.dg/graphite/scop-21.c: New.
* gfortran.dg/graphite/id-1.f90: New.
* gfortran.dg/graphite/id-10.f90: New.
* gfortran.dg/graphite/id-11.f: New.
* gfortran.dg/graphite/id-12.f: New.
* gfortran.dg/graphite/id-13.f: New.
* gfortran.dg/graphite/id-14.f: New.
* gfortran.dg/graphite/id-15.f: New.
* gfortran.dg/graphite/id-16.f: New.
* gfortran.dg/graphite/id-5.f: New.
* gfortran.dg/graphite/id-6.f: New.
* gfortran.dg/graphite/id-7.f: New.
* gfortran.dg/graphite/id-8.f: New.
* gfortran.dg/graphite/id-9.f: New.
* gfortran.dg/graphite/interchange-1.f: New.
* gfortran.dg/graphite/interchange-2.f: New.

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

14 years agoModify the testsuite for the new Graphite.
spop [Fri, 31 Jul 2009 02:45:54 +0000 (02:45 +0000)]
Modify the testsuite for the new Graphite.

2009-07-30  Sebastian Pop  <sebastian.pop@amd.com>

* gcc.dg/graphite/graphite.exp: Implement an automatic selection of
flags based on the name of the testcase.
* gfortran.dg/graphite/graphite.exp: Same.

* gcc.dg/graphite/block-0.c: Adjusted.
* gcc.dg/graphite/block-1.c: Adjusted.
* gcc.dg/graphite/block-2.c: Adjusted.
* gcc.dg/graphite/block-3.c: Adjusted.
* gcc.dg/graphite/block-4.c: Adjusted.
* gcc.dg/graphite/block-5.c: Adjusted.
* gcc.dg/graphite/block-6.c: Adjusted.
* gcc.dg/graphite/pr37485.c: Adjusted.
* gcc.dg/graphite/pr37684.c: Adjusted.
* gcc.dg/graphite/pr37828.c: Adjusted.
* gcc.dg/graphite/pr37883.c: Adjusted.
* gcc.dg/graphite/pr37928.c: Adjusted.
* gcc.dg/graphite/pr37943.c: Adjusted.
* gcc.dg/graphite/pr38409.c: Adjusted.
* gcc.dg/graphite/pr38498.c: Adjusted.
* gcc.dg/graphite/pr38559.c: Adjusted.
* gcc.dg/graphite/pr39335.c: Adjusted.
* gcc.dg/graphite/pr39335_1.c: Adjusted.
* gcc.dg/graphite/scop-0.c: Adjusted.
* gcc.dg/graphite/scop-1.c: Adjusted.
* gcc.dg/graphite/scop-10.c: Adjusted.
* gcc.dg/graphite/scop-11.c: Adjusted.
* gcc.dg/graphite/scop-12.c: Adjusted.
* gcc.dg/graphite/scop-13.c: Adjusted.
* gcc.dg/graphite/scop-14.c: Adjusted.
* gcc.dg/graphite/scop-15.c: Adjusted.
* gcc.dg/graphite/scop-16.c: Adjusted.
* gcc.dg/graphite/scop-17.c: Adjusted.
* gcc.dg/graphite/scop-18.c: Adjusted.
* gcc.dg/graphite/scop-19.c: Adjusted.
* gcc.dg/graphite/scop-2.c: Adjusted.
* gcc.dg/graphite/scop-3.c: Adjusted.-
* gcc.dg/graphite/scop-4.c: Adjusted.
* gcc.dg/graphite/scop-5.c: Adjusted.
* gcc.dg/graphite/scop-6.c: Adjusted.
* gcc.dg/graphite/scop-7.c: Adjusted.
* gcc.dg/graphite/scop-8.c: Adjusted.
* gcc.dg/graphite/scop-9.c: Adjusted.
* gcc.dg/graphite/scop-matmult.c: Adjusted.
* gfortran.dg/graphite/block-1.f90: Adjusted.
* gfortran.dg/graphite/block-2.f: Adjusted.
* gfortran.dg/graphite/block-3.f90: Adjusted.
* gfortran.dg/graphite/block-4.f90: Adjusted.
* gfortran.dg/graphite/id-2.f90: Adjusted.
* gfortran.dg/graphite/id-3.f90: Adjusted.
* gfortran.dg/graphite/id-4.f90: Adjusted.
* gfortran.dg/graphite/pr37852.f90: Adjusted.
* gfortran.dg/graphite/pr37857.f90: Adjusted.
* gfortran.dg/graphite/pr37980.f90: Adjusted.
* gfortran.dg/graphite/pr38083.f90: Adjusted.
* gfortran.dg/graphite/pr38953.f90: Adjusted.
* gfortran.dg/graphite/scop-1.f: Adjusted.

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

14 years agoNew implementation of Graphite.
spop [Fri, 31 Jul 2009 02:44:28 +0000 (02:44 +0000)]
New implementation of Graphite.

2009-07-30  Sebastian Pop  <sebastian.pop@amd.com>

* Makefile.in (OBJS-common): Added dependence on graphite-blocking.o,
graphite-clast-to-gimple.o, graphite-dependences.o,
graphite-interchange.o, graphite-poly.o, graphite-ppl.o,
graphite-scop-detection.o, graphite-sese-to-poly.o, and sese.o.
(graphite-blocking.o,
graphite-clast-to-gimple.o, graphite-dependences.o,
graphite-interchange.o, graphite-poly.o, graphite-ppl.o,
graphite-scop-detection.o, graphite-sese-to-poly.o, and sese.o): New.
* cfgloop.c (alloc_loop): Set loop->can_be_parallel to false.
* cfgloop.h (struct loop): Add can_be_parallel field.
* common.opt (fgraphite-identity): Moved up.
(fgraphite-force-parallel): New flag.
* graphite.c: Rewrite.
* graphite.h: Rewrite.
* passes.c (init_optimization_passes): Schedule a pass of DCE and LIM
after Graphite.
* toplev.c (graphite_out_file): New file descriptor.
(graphite_in_file): New.
(process_options): flag_graphite_force_parallel cannot be used without
Graphite.
* tree-ssa-loop.c: Include toplev.h.
(gate_graphite_transforms): Enable flag_graphite for
flag_graphite_force_parallel.

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

14 years agoNew Graphite files.
spop [Fri, 31 Jul 2009 02:43:11 +0000 (02:43 +0000)]
New Graphite files.

2009-07-30  Sebastian Pop  <sebastian.pop@amd.com>

* ChangeLog.graphite: New.
* graphite-blocking.c: New.
* graphite-clast-to-gimple.c: New.
* graphite-clast-to-gimple.h: New.
* graphite-dependences.c: New.
* graphite-dependences.h: New.
* graphite-interchange.c: New.
* graphite-poly.c: New.
* graphite-poly.h: New.
* graphite-ppl.c: New.
* graphite-ppl.h: New.
* graphite-scop-detection.c: New.
* graphite-scop-detection.h: New.
* graphite-sese-to-poly.c: New.
* graphite-sese-to-poly.h: New.
* sese.c: New.
* sese.h: New.

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

14 years agoImplement evolution_function_right_is_integer_cst.
spop [Fri, 31 Jul 2009 02:39:06 +0000 (02:39 +0000)]
Implement evolution_function_right_is_integer_cst.

2009-07-30  Sebastian Pop  <sebastian.pop@amd.com>

* tree-chrec.c (evolution_function_right_is_integer_cst): New.
* tree-chrec.h (evolution_function_right_is_integer_cst): Declared.

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

14 years agoMake scev_is_linear_expression return false if the evolution is not affine multivariate.
spop [Fri, 31 Jul 2009 02:38:13 +0000 (02:38 +0000)]
Make scev_is_linear_expression return false if the evolution is not affine multivariate.

2009-07-30  Sebastian Pop  <sebastian.pop@amd.com>

* tree-chrec.c (operator_is_linear): Handle BIT_NOT_EXPR.
(scev_is_linear_expression): Return false if the evolution is not
affine multivariate.

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

14 years agoAdd a new driver to data reference analysis.
spop [Fri, 31 Jul 2009 02:37:11 +0000 (02:37 +0000)]
Add a new driver to data reference analysis.

2009-07-30  Sebastian Pop  <sebastian.pop@amd.com>

* tree-data-ref.c (graphite_find_data_references_in_stmt): New.
* tree-data-ref.h (graphite_find_data_references_in_stmt): Declared.

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

14 years ago2009-07-30 Sebastian Pop <sebastian.pop@amd.com>
spop [Fri, 31 Jul 2009 02:36:05 +0000 (02:36 +0000)]
2009-07-30  Sebastian Pop  <sebastian.pop@amd.com>

* tree-data-ref.c (debug_data_references): New.
(debug_data_reference): New.
* tree-data-ref.h (debug_data_references): Declared.
(debug_data_reference): Declared.

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

14 years agoRemove unused function and field in data_reference.
spop [Fri, 31 Jul 2009 02:35:02 +0000 (02:35 +0000)]
Remove unused function and field in data_reference.

2009-07-30  Sebastian Pop  <sebastian.pop@amd.com>

* tree-data-ref.c (stmt_simple_memref_p: Removed.
* tree-data-ref.h (scop_p): Removed.
(struct data_reference): Remove field scop.
(DR_SCOP): Removed.
(stmt_simple_memref_p): Removed.

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

14 years agoFix typo in previous patch.
dj [Fri, 31 Jul 2009 02:34:49 +0000 (02:34 +0000)]
Fix typo in previous patch.

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

14 years agoLeave the loop_latch basic block empty.
spop [Fri, 31 Jul 2009 02:33:46 +0000 (02:33 +0000)]
Leave the loop_latch basic block empty.

2009-07-30  Sebastian Pop  <sebastian.pop@amd.com>

* cfgloop.h (create_empty_loop_on_edge): Pass an extra argument.
* cfgloopmanip.c (create_empty_loop_on_edge): Leave the loop_latch
basic block empty.

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

14 years agoDocument -fgraphite-force-parallel.
spop [Fri, 31 Jul 2009 02:32:24 +0000 (02:32 +0000)]
Document -fgraphite-force-parallel.

2009-07-30  Sebastian Pop  <sebastian.pop@amd.com>

* doc/invoke.texi (-fgraphite-force-parallel): Documented.

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

14 years agoDocument -fgraphite-identity.
spop [Fri, 31 Jul 2009 02:31:18 +0000 (02:31 +0000)]
Document -fgraphite-identity.

2009-07-30  Sebastian Pop  <sebastian.pop@amd.com>

* doc/invoke.texi (-fgraphite-identity): Documented.

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

14 years agoReturn unknow from scev instantiation if the result is not above instantiate_below.
spop [Fri, 31 Jul 2009 02:30:03 +0000 (02:30 +0000)]
Return unknow from scev instantiation if the result is not above instantiate_below.

2009-07-30  Sebastian Pop  <sebastian.pop@amd.com>

* tree-scalar-evolution.c: Fix comment.
(instantiate_scev_1): Return unknow from scev instantiation if the
result is not above instantiate_below.

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

14 years ago2009-07-30 Sebastian Pop <sebastian.pop@amd.com>
spop [Fri, 31 Jul 2009 02:28:50 +0000 (02:28 +0000)]
2009-07-30  Sebastian Pop  <sebastian.pop@amd.com>

* tree-scalar-evolution.c (compute_overall_effect_of_inner_loop): Not
static anymore.  Instantiate the symbols that may have been introduced
by chrec_apply.
* tree-scalar-evolution.h (compute_overall_effect_of_inner_loop):
Declared.

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

14 years ago* config/mep/mep.c (mep_asm_init_sections): Add section flags and
dj [Fri, 31 Jul 2009 01:36:12 +0000 (01:36 +0000)]
* config/mep/mep.c (mep_asm_init_sections): Add section flags and
.vliw directive to VLIW sections.

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

14 years ago2009-07-30 Doug Kwan <dougkwan@google.com>
dougkwan [Fri, 31 Jul 2009 00:17:46 +0000 (00:17 +0000)]
2009-07-30  Doug Kwan  <dougkwan@google.com>

* gcc.target/arm/neon/polytypes.c: Adjust test for new notes
in warnings added in rev 141298.

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

14 years agoDaily bump.
gccadmin [Fri, 31 Jul 2009 00:16:52 +0000 (00:16 +0000)]
Daily bump.

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

14 years ago * lib/options.exp: Use "!=" instead of "ne".
danglin [Thu, 30 Jul 2009 23:58:47 +0000 (23:58 +0000)]
* lib/options.exp: Use "!=" instead of "ne".

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

14 years ago * gcc.dg/vector-4.c: Add -fno-common option on hppa*-*-hpux* (32-bit).
danglin [Thu, 30 Jul 2009 23:12:31 +0000 (23:12 +0000)]
* gcc.dg/vector-4.c: Add -fno-common option on hppa*-*-hpux* (32-bit).

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

14 years ago * gcc.dg/ucnid-11.c: Skip on hppa*-*-hpux* (32-bit).
danglin [Thu, 30 Jul 2009 22:56:14 +0000 (22:56 +0000)]
* gcc.dg/ucnid-11.c: Skip on hppa*-*-hpux* (32-bit).
* gcc.dg/ucnid-12.c: Likewise.

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

14 years ago * configure.host: Define ieee_flags and set it to -mieee for sh.
kkojima [Thu, 30 Jul 2009 22:56:08 +0000 (22:56 +0000)]
* configure.host: Define ieee_flags and set it to -mieee for sh.
* configure.ac: Set IEEE_FLAGS with ieee_flags.
* Makefile.am: Add IEEE_FLAGS to AM_CFLAGS.
* configure: Regenerate.
* Makefile.in: Regenerate.

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

14 years ago PR libstdc++/40919
danglin [Thu, 30 Jul 2009 22:34:31 +0000 (22:34 +0000)]
PR libstdc++/40919
* testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
xfail on darwin[3-9]*.

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

14 years agofixincludes/
rwild [Thu, 30 Jul 2009 22:33:49 +0000 (22:33 +0000)]
fixincludes/
* Makefile.in (AUTOCONF, AUTOHEADER, ACLOCAL, ACLOCAL_AMFLAGS):
New variables.
($(srcdir)/configure, $(srcdir)/config.h.in, $(srcdir)/aclocal.m4):
Use them.

gcc/
* Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
New variables.
($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
(AUTOHEADER): New variable.
($(srcdir)/cstamp-h.in): Use it.

gnattools/
* Makefile.in (AUTOCONF, configure_deps): New variables.
($(srcdir)/configure): Use them.

libada/
* Makefile.in (AUTOCONF, configure_deps): New variables.
($(srcdir)/configure)): Use them.  Also depend on multi.m4.

libgcc/
* configure.ac: Add snippet for maintainer-mode.
* configure: Regenerate.
* Makefile.in (AUTOCONF, configure_deps): New variables.
($(srcdir)/configure)): New rule, active only with maintainer
mode turned on.

libiberty/
* Makefile.in (AUTOCONF, configure_deps): New variables.
($(srcdir)/configure): New rule, active only in maintainer mode.

libobjc/
* Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
New variables.
($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.

intl/
* Makefile.in (aclocal_deps): New variable.
($(srcdir)/aclocal.m4): Use it, for portable makefile syntax.

libdecnumber/
* Makefile.in (aclocal_deps): New variable.
($(srcdir)/aclocal.m4): Use it, for portable makefile syntax.

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

14 years ago2009-07-30 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Thu, 30 Jul 2009 21:02:44 +0000 (21:02 +0000)]
2009-07-30  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/40917
* testsuite/util/replacement_memory_operators.h: Add missing includes,
tweak qualifications.

2009-07-30  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/40916
* testsuite/23_containers/list/modifiers/swap/1.cc: Fix include order.
* testsuite/23_containers/list/modifiers/swap/2.cc: Likewise.
* testsuite/23_containers/list/modifiers/swap/2.cc: Likewise.

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

14 years agoAdd patch 5/6 for full power7/VSX support
meissner [Thu, 30 Jul 2009 20:48:17 +0000 (20:48 +0000)]
Add patch 5/6 for full power7/VSX support

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

14 years agoconfig/
rwild [Thu, 30 Jul 2009 19:41:13 +0000 (19:41 +0000)]
config/
* extensions.m4 (AC_USE_SYSTEM_EXTENSIONS): Do not expand
for Autoconf 2.62 or newer.
* tls.m4 (GCC_CHECK_TLS): Fix m4 quotation.
* no-executables.m4 (_AC_COMPILER_EXEEXT): Fix m4 quotation.
* override.m4 (m4_copy_force, m4_rename_force): Provide
macros if not defined.
(AC_PREREQ): Use m4_copy_force.

boehm-gc/
* configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.

libada/
* configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.

libffi/
* configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.

libgfortran/
* configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.

libgomp/
* configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.

libjava/
* configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.

libmudflap/
* configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.

libobjc/
* configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.

libssp/
* configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.

zlib/
* configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.

libstdc++-v3/
* acinclude.m4 (GLIBCXX_CONFIGURE): Use m4_rename_force.

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

14 years agoAdd source_location support to PHI arguments.
amacleod [Thu, 30 Jul 2009 18:36:30 +0000 (18:36 +0000)]
Add source_location support to PHI arguments.

2009-07-29  Andrew MacLeod  <amacleod@redhat.com>

PR debug 26475
* tree-into-ssa.c (insert_phi_nodes_for, rewrite_add_phi_arguments): Set
location for phi arguments.
(rewrite_update_phi_arguments): Find locations for reaching defs.
* tree-ssa-threadupdate.c (create_edge_and_update_destination_phis):
Add location to add_phi_arg calls.
* tree-loop-districbution.c (update_phis_for_loop_copy): Add locations.
* tree-ssa-loop-manip.c (create_iv, add_exit_phis_edge,
split_loop_exit_edge, tree_transform_and_unroll_loop): Add locations.
* tree-tailcall.c (add_successor_phi_arg, eliminate_tail_call,
create_tailcall_accumulator, tree_optimize_tail_calls_1): Add locations.
* tree.h (struct phi_arg_d): Add location_t to PHI arguments.
* tree-phinodes.c (make_phi_node): Initialize location.
(resize_phi_node): Initialize location to UNKNOWN_LOCATION.
(add_phi_arg): Add location parameter.
(remove_phi_arg_num): Move location when moving phi argument.
* omp-low.c (expand_parallel_call, expand_omp_for_static_chunk): Set
location.
* tree-vect-loop-manip.c (slpeel_update_phis_for_duplicate_loop,
slpeel_update_phi_nodes_for_guard1,
slpeel_update_phi_nodes_for_guard2,
slpeel_tree_duplicate_loop_to_edge_cfg, set_prologue_iterations,
vect_loop_versioning): Set locations.
* tree-parloops.c (create_phi_for_local_result,
transform_to_exit_first_loop, create_parallel_loop): Add locations.
* gimple-pretty-print.c (dump_gimple_phi): Dump lineno's if present.
* tree-vect-loop.c (get_initial_def_for_induction,
vect_create_epilog_for_reduction, vect_finalize_reduction): Add
locations.
* tree-flow-inline.h (gimple_phi_arg_location): New.  Return locus.
(gimple_phi_arg_location_from_edge): New.  Return locus from an edge.
(gimple_phi_arg_set_location): New.  Set locus.
(gimple_phi_arg_has_location): New.  Check for locus.
(redirect_edge_var_map_location): New.  Return locus from var_map.
* tree-vect-data-refs.c (vect_setup_realignment): Set location.
* tree-ssa-phiopt.c (conditional_replacement): Set locus when
combining PHI arguments.
(cond_store_replacement): Set location.
* cfgexpand.c (gimple_assign_rhs_to_tree): Transfer locus if possible.
* grpahite.c (add_loop_exit_phis, add_guard_exit_phis,
scop_add_exit_phis_edge): Add locations.
* tree-cfgcleanup.c (remove_forwarder_block,
remove_forwarder_block_with_phi): Add locations.
* tree-ssa-pre.c (insert_into_preds_of_block): Add locations.
* tree-predcom.c (initialize_root_vars, initialize_root_vars_lm): Add
locations.
* tree-ssa-dce.c (forward_edge_to_pdom): Add locations.
* tree-ssa.c (redirect_edge_var_map_add, ssa_redirect_edge,
flush_pending_stmts): Add source location.
* lambda-code.c (perfect_nestify): Maintain location stack with argument
stack to preserve locations.
* tree-vect-stmts.c (vectorizable_load): Add location.
* tree-inline.c (copy_phis_for_bb): Copy locus.
(setup_one_parameter): Add call locus to inlined parameter stmts.
(initialize_inlined_parameters): Pass in call location as parameter
assignment locus.
(tree_function_versioning): Pass location to setup_one_parameter.
* tree-ssa-phiprop.c (phiprop_insert_phi): Set locations.
* tree-outof-ssa.c (struct _elim_graph): Add source_location vecs for
copy and edge lists.
(insert_partition_copy_on_edge, insert_value_copy_on_edge,
insert_rtx_to_part_on_edge, insert_part_to_rtx_on_edge): Provide a
locus parameter and override the stmt default if provided.
(new_elim_graph, clear_elim_graph, delete_elim_graph,
elim_graph_add_edge, elim_graph_remove_succ_edge,
FOR_EACH_ELIM_GRAPH_SUCC, FOR_EACH_ELIM_GRAPH_PRED, eliminate_build,
elim_forward, elim_unvisited_predecessor, elim_backward, elim_create,
eliminate_phi):  Add locus info in elimination graph for each edge and
value copy.
(insert_backedge_copies): Copy locus if present.
* tree-flow.h (struct _edge_var_map): Add locus field.
* tree-switch_conversions.c (fix_phi_nodes): Add locations.
* tree-cfg.c (reinstall_phi_args, gimple_make_forwarder_block,
add_phi_args_after_copy_edge, gimple_lv_adjust_loop_header_phi): Add
locations.
* ipa-struct-reorg.c (make_edge_and_fix_phis_of_dest): Add locations.

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

14 years ago PR c/39902
janis [Thu, 30 Jul 2009 17:04:56 +0000 (17:04 +0000)]
PR c/39902
* gcc.dg/dfp/pr39902.c: Fix typos in constant suffixes.

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

14 years ago2009-07-30 Martin Jambor <mjambor@suse.cz>
jamborm [Thu, 30 Jul 2009 16:26:09 +0000 (16:26 +0000)]
2009-07-30  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/40570
* ipa-inline.c (cgraph_decide_inlining): Watch out for dead single
use inlining loops.

* testsuite/gcc.c-torture/compile/pr40570.c: New test.

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

14 years ago2009-07-30 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Thu, 30 Jul 2009 15:26:44 +0000 (15:26 +0000)]
2009-07-30  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/40915
* testsuite/18_support/headers/exception/synopsis.cc: Fix
std::terminate declaration.

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

14 years ago2009-07-30 Ben Brosgol <brosgol@adacore.com>
charlet [Thu, 30 Jul 2009 09:26:39 +0000 (09:26 +0000)]
2009-07-30  Ben Brosgol  <brosgol@adacore.com>

* gnat_ugn.texi: Correct minor texi glitch.

2009-07-30  Ed Schonberg  <schonberg@adacore.com>

* exp_util.adb (Expand_Subtype_From_Expr): If the type of the
expression has an underlying representation that is an unchecked union,
there is no subtype to build.

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

14 years agoMinor reformatting.
charlet [Thu, 30 Jul 2009 09:23:47 +0000 (09:23 +0000)]
Minor reformatting.

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

14 years ago2009-07-30 Robert Dewar <dewar@adacore.com>
charlet [Thu, 30 Jul 2009 09:23:06 +0000 (09:23 +0000)]
2009-07-30  Robert Dewar  <dewar@adacore.com>

* a-teioed.adb, exp_disp.adb, s-linux-hppa.ads, s-linux.ads,
s-tasini.adb, sem_ch13.adb, sem_ch3.adb, sem_ch3.ads, sem_ch6.adb,
sem_ch7.adb: Minor reformatting

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

14 years ago2009-07-30 Razya Ladelsky <razya@il.ibm.com>
razya [Thu, 30 Jul 2009 08:39:57 +0000 (08:39 +0000)]
2009-07-30  Razya Ladelsky <razya@il.ibm.com>

        * ssa-loop-manip.c: Include langhooks.h.
        (rewrite_phi_with_iv): New.
        (rewrite_all_phi_nodes_with_iv): New.
        (canonicalize_loop_ivs): Move here from tree-parloops.c.
        Remove reduction_list argument. Use rewrite_all_phi_nodes_with_iv.
        * tree-parloops.c (loop_parallel_p): Move out all conditions
        except dependency check.
        (canonicalize_loop_ivs): Move to tree-ssa-loop-manip.c.
        (gen_parallel_loop): Call canonicalize_loop_ivs without
        reduction_list argument.
        (build_new_reduction): New.
        (gather_scalar_reductions): New.
        (try_get_loop_niter): New.
        (try_create_reduction_list): New.
        (parallleize_loops): Change the parallel conditions check.
        * tree-flow.h (canonicalize_loop_ivs): Remove one argument.
        * Makefile.in (tree-ssa-loop-manip.o): Add langhooks.h dependency.

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

14 years ago * opt-functions.awk (opt_args): Allow argument to be enclosed in
davek [Thu, 30 Jul 2009 07:22:28 +0000 (07:22 +0000)]
* opt-functions.awk (opt_args): Allow argument to be enclosed in
curly braces.
* doc/options.texi (Option properties):  Mention new quoting syntax.

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

14 years ago * config/alpha/alpha.c (alpha_start_function):
rupp [Thu, 30 Jul 2009 00:51:58 +0000 (00:51 +0000)]
* config/alpha/alpha.c (alpha_start_function):
Handle VMS_DEBUG_MAIN_POINTER
* config/alpha/vms.h (VMS_DEBUG_MAIN_POINTER): Define new macro.
* doc/invoke.texi: Document -mdebug-main switch.

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

14 years ago * cgraph.c (cgraph_set_call_stmt_including_clones): Tidy.
rth [Thu, 30 Jul 2009 00:34:47 +0000 (00:34 +0000)]
    * cgraph.c (cgraph_set_call_stmt_including_clones): Tidy.
        (cgraph_create_edge_including_clones): Likewise.
        * tree-inline.c (copy_bb): Operate on the correct edges
        when updating the callgraph.

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

14 years agoDaily bump.
gccadmin [Thu, 30 Jul 2009 00:17:12 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago * config/alpha/vms-cc.c: Deleted.
rupp [Thu, 30 Jul 2009 00:15:35 +0000 (00:15 +0000)]
* config/alpha/vms-cc.c: Deleted.
* config/alpha/vms-ld.c: Deleted.
* config/alpha/t-vms64: Moved to config/vms
* config/alpha/vms-crt0-64.c: Moved to config/vms
* config/alpha/vms-crt0.c: Moved to config/vms
* config/alpha/vms-psxcrt0-64.c: Moved to config/vms
* config/alpha/vms-psxcrt0.c: Moved to config/vms
* config/alpha/xm-vms.h: Moved to config/vms
* config/alpha/x-vms: Moved to config/vms
* config/alpha/t-vms (vcrt0.o, pcrt0.o): Move rules to new file
config/vms/t-vms.
* config/vms/t-vms: Moved here from config/alpha. Alpha specific
parts removed. (STMP_FIXPROTO, STMP_FIXINC, LIMITS_H_TEST): Set.
(version): Set.
* config/vms/t-vms64: Moved here from config/alpha
* config/vms/vms-crt0-64.c: Moved here from config/alpha.
(argc,argv,envp): Enforce 32bit malloc'ing.
* config/vms/vms-psxcrt0-64.c: Likewise.
* config/vms/vms-crt0.c: Moved here from config/alpha.
* config/vms/vms-psxcrt0.c: Likewise.
* config/vms/vms-crtl-64.h: New file.
* config/vms/vms-crtl.h: New file.
* config/vms/vms.opt: New file.
* config/vms/xm-vms64.h: New file.
* config/vms/xm-vms.h: Moved here from config/alpha.
(STANARD_EXEC_PREFIX, STANDARD_STARTFILE_PREFIX, STANDARD_INCLUDE_DIR):
Set.
* config/vms/x-vms: Moved here from config/alpha.
(version, VMS_EXTRA_PARTS): Moved to t-vms.
(vms-ld.o, vms-cc.o): Removed.
(LN, LN_S, USE_COLLECT2, POD2MAN): Set.

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

14 years ago2009-07-29 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Wed, 29 Jul 2009 21:00:10 +0000 (21:00 +0000)]
2009-07-29  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/40908
* config/abi/pre/gnu.ver: Avoid exporting inadvertently std::mutex
symbols at GLIBCXX_3.4.

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

14 years ago * dwarf2out.c (add_name_and_src_coords_attributes): Push on the
rupp [Wed, 29 Jul 2009 20:55:49 +0000 (20:55 +0000)]
* dwarf2out.c (add_name_and_src_coords_attributes): Push on the
correct stack (obvious VMS fix).

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

14 years ago * sv.po: Update.
jsm28 [Wed, 29 Jul 2009 20:44:05 +0000 (20:44 +0000)]
* sv.po: Update.

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

14 years ago PR c++/14912
jason [Wed, 29 Jul 2009 20:35:40 +0000 (20:35 +0000)]
PR c++/14912
* cp-tree.h (enum tsubst_flags): Add tf_no_class_instantiations.
* error.c (count_non_default_template_args): Pass it.
* pt.c (tsubst) [TYPENAME_TYPE]: Don't complete type if it's set.

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

14 years ago2009-07-29 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 29 Jul 2009 20:16:32 +0000 (20:16 +0000)]
2009-07-29  Richard Guenther  <rguenther@suse.de>

PR c++/40834
* cp-gimplify.c (cp_genericize_r): Properly walk the BIND_EXPR
vars.

* g++.dg/torture/pr40834.C: New testcase.

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

14 years ago * make-temp-file.c (choose_tmpdir): Try standard temp logical on VMS.
rupp [Wed, 29 Jul 2009 19:30:12 +0000 (19:30 +0000)]
* make-temp-file.c (choose_tmpdir): Try standard temp logical on VMS.

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

14 years ago2009-07-29 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Wed, 29 Jul 2009 18:40:39 +0000 (18:40 +0000)]
2009-07-29  Paolo Carlini  <paolo.carlini@oracle.com>

* config/abi/pre/gnu.ver: Add GLIBCXX_3.4.13, move a symbol into it.
* testsuite/util/testsuite_abi.cc: Adjust.
* configure.ac: Bump libtool_VERSION to 6:13:0.
* configure: Regenerate.

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

14 years ago * dwarf2out.c (output_file_names): Output VMS style file name, size,
rupp [Wed, 29 Jul 2009 17:35:32 +0000 (17:35 +0000)]
* dwarf2out.c (output_file_names): Output VMS style file name, size,
date, version info if VMS_DEBUGGING_INFO defined.
* vmsdgbout.c (vms_file_stats_name): New functon. VMS style file name,
size, date calculating code moved here.

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

14 years ago2009-07-29 Tobias Burnus <burnus@net-b.de>
burnus [Wed, 29 Jul 2009 14:44:51 +0000 (14:44 +0000)]
2009-07-29  Tobias Burnus  <burnus@net-b.de>

        PR fortran/40898
        * trans-types.c (gfc_get_function_type): Do not add hidden
        string-length argument for BIND(C) procedures.
        * trans-decl.c (create_function_arglist): Skip over nonexisting
        string-length arguments for BIND(C) procedures.

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

14 years agoPR middle-end/40830
matz [Wed, 29 Jul 2009 14:41:38 +0000 (14:41 +0000)]
PR middle-end/40830
* gcc.dg/vect/vect-pre-interact.c: XFAIL for no_align targets.

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

14 years ago2009-07-29 Paul Brook <paul@codesourcery.com>
pbrook [Wed, 29 Jul 2009 11:38:05 +0000 (11:38 +0000)]
2009-07-29  Paul Brook  <paul@codesourcery.com>

gcc/
* config/arm/lib1funcs.asm (clear_cache): Use ARM_FUNC_START and
do_push/do_pop.

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

14 years ago2009-07-29 Javier Miranda <miranda@adacore.com>
charlet [Wed, 29 Jul 2009 10:34:29 +0000 (10:34 +0000)]
2009-07-29  Javier Miranda  <miranda@adacore.com>

* sem_ch3.ads, sem_ch3.adb (Add_Internal_Interface_Entities): Routine
moved from the expander to the semantic analyzer to allow the
generation of these internal entities when compiling with no code
generation. Required by ASIS.
* sem.adb (Analyze): Add processing for N_Freeze_Entity nodes.
* sem_ch13.ads, sem_ch13.adb (Analyze_Freeze_Entity): New subprogram.
* exp_ch3.adb (Add_Internal_Interface_Entities): Moved to sem_ch3
(Expand_Freeze_Record_Type): Remove call to
Add_Internal_Interface_Entities because this routine is now called at
early stage --when the freezing node is analyzed.

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

14 years ago2009-07-29 Robert Dewar <dewar@adacore.com>
charlet [Wed, 29 Jul 2009 08:51:53 +0000 (08:51 +0000)]
2009-07-29  Robert Dewar  <dewar@adacore.com>

* exp_atag.ads, exp_atag.adb, s-tasini.adb, s-soflin.ads,
exp_disp.adb, g-socket.adb: Minor reformatting

2009-07-29  Ed Schonberg  <schonberg@adacore.com>

* sem_ch7.adb (New_Private_Type): Create class-wide type after other
attributes have been established, so that they are all inherited by the
class-wide type.
* sem_cat.adb (Validate_Remote_Access_Object_Type_Declaration): Handle
properly named subtypes of class-wide types.

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

14 years ago2009-07-29 Ed Schonberg <schonberg@adacore.com>
charlet [Wed, 29 Jul 2009 08:44:57 +0000 (08:44 +0000)]
2009-07-29  Ed Schonberg  <schonberg@adacore.com>

* sem_ch6.adb (Check_Overriding_Indicator): Handle properly overriding
indicators on user-defined operators.

2009-07-29  Vadim Godunko  <godunko@adacore.com>

* g-socket.adb (Receive_Vector): Add comment.

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

14 years ago2009-07-29 Javier Miranda <miranda@adacore.com>
charlet [Wed, 29 Jul 2009 08:43:58 +0000 (08:43 +0000)]
2009-07-29  Javier Miranda  <miranda@adacore.com>

* frontend.adb (Frontend): Code cleanup.
* exp_atag.ads, exp_atag.adb (Build_Get_Predefined_Prim_Op_Address):
Rewriten as a procedure because it a new out-mode parameters to
keep up-to-date the controlling tag node in the caller.
(Build_Get_Prim_Op_Address): Rewriten as a procedure because it has a
new out-mode parameter to keep up-to-date the controlling tag node in
the caller.
* exp_ch7.adb, sem_ch5.adb, exp_util.adb, sem_util.adb, exp_ch4.adb,
exp_ch6.adb, sem_ch4.adb, exp_ch3.adb: Add new dependency on new
package Sem_SCIL.
* sem_aux.ads, sem_aux.adb (First_Non_SCIL_Node): Removed. Routine
available in new package Sem_SCIL.
(Next_Non_SCIL_Node): Ditto.
* exp_disp.adb (Adjust_SCIL_Node): Removed. Routine available in new
package Sem_SCIL.
(Expand_Dispatching_Call): Update call to modified Exp_Atags routines
plus complete decoration of SCIL dispatching node.
(Find_SCIL_Node): Removed. Routine available in new package Sem_SCIL.
* exp_disp.ads (Adjust_SCIL_Node): Removed. Routine available in new
package Sem_SCIL.
(Find_SCIL_Node): Removed. Routine available in new package Sem_SCIL.
* exp_ch3.adb (Build_Init_Procedure): Fix comment.
* sem_scil.ads, sem_scil.adb: New files.
* gcc-interface/Make-lang.in (GNAT_ADA_OBJS): Addition of sem_scil.o.
Update dependencies.

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

14 years ago PR target/40577
uros [Wed, 29 Jul 2009 07:11:09 +0000 (07:11 +0000)]
PR target/40577
* config/alpha/alpha.c (alpha_expand_unaligned_store): Convert src
to DImode when generating insq_le insn.

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

14 years ago * dwarf2out.c (DWARF2_INDIRECT_STRING_SUPPORT_MISSING_ON_TARGET):
rupp [Wed, 29 Jul 2009 05:02:10 +0000 (05:02 +0000)]
* dwarf2out.c (DWARF2_INDIRECT_STRING_SUPPORT_MISSING_ON_TARGET):
New macro set for VMS_DEBUGGGING_INFO.
(AT_string_form): Use it.

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

14 years ago2009-07-28 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 29 Jul 2009 01:53:49 +0000 (01:53 +0000)]
2009-07-28  Benjamin Kosnik  <bkoz@redhat.com>
            Tyler Earman  <rem.intellegare@gmail.com>

        * doc/xml/manual/configure.xml: Consistent placement of
        ABI-changing options, clarify --enable-clocale.

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

14 years ago(mep_encode_section_info): Remove it from here.
dj [Wed, 29 Jul 2009 01:08:46 +0000 (01:08 +0000)]
(mep_encode_section_info): Remove it from here.

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

14 years ago* config/mep/mep.c (vtext_section): New.
dj [Wed, 29 Jul 2009 01:07:58 +0000 (01:07 +0000)]
* config/mep/mep.c (vtext_section): New.
(vftext_section): New.
(ftext_section): New.
(mep_select_section): Add support for functions.
(mep_unique_section): Likewise.
(mep_asm_init_sections): Likewise.

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

14 years agoDaily bump.
gccadmin [Wed, 29 Jul 2009 00:16:56 +0000 (00:16 +0000)]
Daily bump.

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

14 years ago * gfortran.dg/maxlocval_2.f90: Add -mieee for alpha*-*-* and
kkojima [Tue, 28 Jul 2009 22:48:09 +0000 (22:48 +0000)]
* gfortran.dg/maxlocval_2.f90: Add -mieee for alpha*-*-* and
sh*-*-* targets.  Skip on spu-*-* targets.
* gfortran.dg/maxlocval_4.f90: Likewise.
* gfortran.dg/minlocval_1.f90: Likewise.
* gfortran.dg/minlocval_4.f90: Likewise.

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

14 years ago2009-07-28 Paolo Bonzini <bonzinI@gnu.org>
dj [Tue, 28 Jul 2009 21:40:24 +0000 (21:40 +0000)]
2009-07-28  Paolo Bonzini  <bonzinI@gnu.org>

* tree.h (TREE_DEPRECATED): Document it is used for types too.
(TYPE_VECTOR_OPAQUE): Use default_def_flag

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

14 years ago * dwarf2out.c (output_file_names): Test new macro
rupp [Tue, 28 Jul 2009 18:07:32 +0000 (18:07 +0000)]
* dwarf2out.c (output_file_names): Test new macro
DWARF2_DIR_SHOULD_END_WITH_SEPARATOR.
(add_comp_dir_attribute): Likewise.

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

14 years ago2009-07-28 Kai Tietz <kai.tietz@onevision.com>
ktietz [Tue, 28 Jul 2009 16:52:21 +0000 (16:52 +0000)]
2009-07-28  Kai Tietz  <kai.tietz@onevision.com>

* config/i386/mingw-w64.h (LINK_SPEC): Add
separating space between commands.

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

14 years ago PR tree-optimization/40759
hubicka [Tue, 28 Jul 2009 16:37:50 +0000 (16:37 +0000)]
PR tree-optimization/40759
* tree-ssa-dce.c (mark_virtual_phi_result_for_renaming): Mark all uses
for renaming.

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

14 years ago * gnu/gcj/util/natGCInfo.cc (nomem_handler): Use oomDumpName as
daney [Tue, 28 Jul 2009 16:26:13 +0000 (16:26 +0000)]
* gnu/gcj/util/natGCInfo.cc (nomem_handler): Use oomDumpName as
dump file name base.

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

14 years ago PR fortran/40878
jakub [Tue, 28 Jul 2009 16:15:47 +0000 (16:15 +0000)]
PR fortran/40878
* openmp.c (gfc_match_omp_clauses): Use gfc_error_now instead of
gfc_error to diagnose invalid COLLAPSE arguments.

* gfortran.dg/gomp/pr40878-1.f90: New test.
* gfortran.dg/gomp/pr40878-2.f90: New test.

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

14 years ago PR testsuite/40891
jakub [Tue, 28 Jul 2009 16:09:58 +0000 (16:09 +0000)]
PR testsuite/40891
* gcc.dg/cdce1.c: Adjust note line number.
* gcc.dg/cdce2.c: Likewise.

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

14 years ago2009-07-28 Robert Dewar <dewar@adacore.com>
charlet [Tue, 28 Jul 2009 15:08:57 +0000 (15:08 +0000)]
2009-07-28  Robert Dewar  <dewar@adacore.com>

* adaint.h, einfo.ads, prj.adb, sem_util.adb, makeutl.ads,
makeutl.adb: Minor reformatting & code reorganization
* sem_ch3.adb: Minor reformatting.
Fix spelling error (constraint for constrain) in error msg.

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

14 years agoFix for PR40616: missing java.io.PrintStream constructors.
gandalf [Tue, 28 Jul 2009 15:08:12 +0000 (15:08 +0000)]
Fix for PR40616: missing java.io.PrintStream constructors.

2009-07-27  Andrew John Hughes  <ahughes@redhat.com>

PR libgcj/40616
* java/io/PrintStream.class: Regenerated.
* java/io/PrintStream.h: Updated.
* java/io/PrintStream.java:
(PrintStream(File)): Ported from GNU Classpath
version.
(PrintStream(File, String)): Likewise.
(PrintStream(String)): Likewise.
(PrintStream(String, String)): Likewise.

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

14 years ago2009-07-28 Emmanuel Briot <briot@adacore.com>
charlet [Tue, 28 Jul 2009 13:41:47 +0000 (13:41 +0000)]
2009-07-28  Emmanuel Briot  <briot@adacore.com>

* make.adb, makeutl.adb, makeutl.ads (Project_Tree): Duplicates the
global variable that also exists in makeutl.ads, and that some routines
in that package use already.
(Check): Moved part of the code to makeutl.adb for better sharing with
gprbuild.

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

14 years ago2009-07-28 Rask Ingemann Lambertsen <ccc94453@vip.cybercity.dk>
rask [Tue, 28 Jul 2009 13:30:14 +0000 (13:30 +0000)]
2009-07-28  Rask Ingemann Lambertsen <ccc94453@vip.cybercity.dk>

* MAINTAINERS (Write After Approval): Update my e-mail address.

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

14 years ago2009-07-28 Janus Weil <janus@gcc.gnu.org>
janus [Tue, 28 Jul 2009 11:40:42 +0000 (11:40 +0000)]
2009-07-28  Janus Weil  <janus@gcc.gnu.org>

PR fortran/40882
* trans-types.c (gfc_get_ppc_type): For derived types, directly use the
backend_decl, instead of calling gfc_typenode_for_spec, to avoid
infinte loop.
(gfc_get_derived_type): Correctly handle PPCs returning derived types,
avoiding infinite recursion.

2009-07-28  Janus Weil  <janus@gcc.gnu.org>

PR fortran/40882
* gfortran.dg/proc_ptr_comp_13.f90: New.

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

14 years ago * gcc-interface/Make-lang.in: Update dependencies.
charlet [Tue, 28 Jul 2009 09:31:41 +0000 (09:31 +0000)]
* gcc-interface/Make-lang.in: Update dependencies.

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

14 years ago2009-07-28 Emmanuel Briot <briot@adacore.com>
charlet [Tue, 28 Jul 2009 09:25:52 +0000 (09:25 +0000)]
2009-07-28  Emmanuel Briot  <briot@adacore.com>

* prj.adb, prj.ads (Compute_All_Imported_Projects): Make sure the
importing project does not end up in the list, in the case of extending
projects.
* make.adb, makeutl.adb, makeutl.ads (File_Not_A_Source_Of): Moved to
makeutl.ads, for better sharing with gprbuild.

2009-07-28  Arnaud Charlet  <charlet@adacore.com>

* gnat_ugn.texi: Fix typo.

2009-07-28  Ed Schonberg  <schonberg@adacore.com>

* sem_ch3.adb (Build_Derived_Concurrent_Type): Handle properly a
derivation that renames some discriminants and constrain others.
* exp_ch9.adb (Build_Protected_Subprogram_Call): If the type of the
prefix is a derived untagged type, convert to the root type to conform
to the signature of the protected operations.

2009-07-28  Robert Dewar  <dewar@adacore.com>

* sinfo.ads: Update comments.
* exp_attr.adb: Minor reformatting

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

14 years ago2009-07-28 Ed Schonberg <schonberg@adacore.com>
charlet [Tue, 28 Jul 2009 09:19:48 +0000 (09:19 +0000)]
2009-07-28  Ed Schonberg  <schonberg@adacore.com>

* sem_aggr.adb (Get_Value): A named association in a record aggregate
should be treated as a modification of the named component, not as a
reference.

2009-07-28  Quentin Ochem  <ochem@adacore.com>

* prj-tree.ads, prj-tree.adb (Free): Minor editing.
* prj.ads, prj.adb (Image): Ditto.

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

14 years ago2009-07-28 Arnaud Charlet <charlet@adacore.com>
charlet [Tue, 28 Jul 2009 09:11:53 +0000 (09:11 +0000)]
2009-07-28  Arnaud Charlet  <charlet@adacore.com>

* frontend.adb: Minor reformatting.
(Frontend): Only call Check_SCIL_Nodes if assertions are enabled,
for efficiency.

2009-07-28  Bob Duff  <duff@adacore.com>

* exp_attr.adb (Expand_Access_To_Protected_Op): Use 'Access instead of
'Address to get a pointer to the protected body wrapper.

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