gcc.git
15 years agoReturn unknow from scev instantiation if the result is not above instantiate_below.
Sebastian Pop [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.

From-SVN: r150290

15 years agotree-scalar-evolution.c (compute_overall_effect_of_inner_loop): Not static anymore.
Sebastian Pop [Fri, 31 Jul 2009 02:28:50 +0000 (02:28 +0000)]
tree-scalar-evolution.c (compute_overall_effect_of_inner_loop): Not static anymore.

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.

From-SVN: r150289

15 years agomep.c (mep_asm_init_sections): Add section flags and ..vliw directive to VLIW sections.
DJ Delorie [Fri, 31 Jul 2009 01:36:12 +0000 (21:36 -0400)]
mep.c (mep_asm_init_sections): Add section flags and ..vliw directive to VLIW sections.

* config/mep/mep.c (mep_asm_init_sections): Add section flags and
.vliw directive to VLIW sections.

From-SVN: r150288

15 years agopolytypes.c: Adjust test for new notes in warnings added in rev 141298.
Doug Kwan [Fri, 31 Jul 2009 00:17:46 +0000 (00:17 +0000)]
polytypes.c: Adjust test for new notes in warnings added in rev 141298.

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.

From-SVN: r150287

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

From-SVN: r150286

15 years agooptions.exp: Use "!=" instead of "ne".
John David Anglin [Thu, 30 Jul 2009 23:58:47 +0000 (23:58 +0000)]
options.exp: Use "!=" instead of "ne".

* lib/options.exp: Use "!=" instead of "ne".

From-SVN: r150283

15 years agovector-4.c: Add -fno-common option on hppa*-*-hpux* (32-bit).
John David Anglin [Thu, 30 Jul 2009 23:12:31 +0000 (23:12 +0000)]
vector-4.c: Add -fno-common option on hppa*-*-hpux* (32-bit).

* gcc.dg/vector-4.c: Add -fno-common option on hppa*-*-hpux* (32-bit).

From-SVN: r150282

15 years agoucnid-11.c: Skip on hppa*-*-hpux* (32-bit).
John David Anglin [Thu, 30 Jul 2009 22:56:14 +0000 (22:56 +0000)]
ucnid-11.c: Skip on hppa*-*-hpux* (32-bit).

* gcc.dg/ucnid-11.c: Skip on hppa*-*-hpux* (32-bit).
* gcc.dg/ucnid-12.c: Likewise.

From-SVN: r150281

15 years agoconfigure.host: Define ieee_flags and set it to -mieee for sh.
Kaz Kojima [Thu, 30 Jul 2009 22:56:08 +0000 (22:56 +0000)]
configure.host: Define ieee_flags and set it to -mieee for sh.

* 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.

From-SVN: r150280

15 years agore PR libstdc++/40919 (FAIL: 26_numerics/headers/cmath/c99_classification_macros_c.cc)
John David Anglin [Thu, 30 Jul 2009 22:34:31 +0000 (22:34 +0000)]
re PR libstdc++/40919 (FAIL: 26_numerics/headers/cmath/c99_classification_macros_c.cc)

PR libstdc++/40919
* testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
xfail on darwin[3-9]*.

From-SVN: r150278

15 years agoMakefile.in (AUTOCONF, [...]): New variables.
Ralf Wildenhues [Thu, 30 Jul 2009 22:33:49 +0000 (22:33 +0000)]
Makefile.in (AUTOCONF, [...]): New variables.

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.

From-SVN: r150277

15 years agore PR libstdc++/40917 (FAIL: ext/array_allocator/check_delete.cc (test for excess...
Paolo Carlini [Thu, 30 Jul 2009 21:02:44 +0000 (21:02 +0000)]
re PR libstdc++/40917 (FAIL: ext/array_allocator/check_delete.cc (test for excess errors))

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.

From-SVN: r150272

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

Co-Authored-By: Pat Haugen <pthaugen@us.ibm.com>
Co-Authored-By: Revital Eres <eres@il.ibm.com>
From-SVN: r150271

15 years agoextensions.m4 (AC_USE_SYSTEM_EXTENSIONS): Do not expand for Autoconf 2.62 or newer.
Ralf Wildenhues [Thu, 30 Jul 2009 19:41:13 +0000 (19:41 +0000)]
extensions.m4 (AC_USE_SYSTEM_EXTENSIONS): Do not expand for Autoconf 2.62 or newer.

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.

From-SVN: r150269

15 years agoAdd source_location support to PHI arguments.
Andrew MacLeod [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.

From-SVN: r150267

15 years agore PR c/39902 (x * 1.0DF gets wrong value)
Janis Johnson [Thu, 30 Jul 2009 17:04:56 +0000 (17:04 +0000)]
re PR c/39902 (x * 1.0DF gets wrong value)

PR c/39902
* gcc.dg/dfp/pr39902.c: Fix typos in constant suffixes.

From-SVN: r150265

15 years agore PR tree-optimization/40570 (ICE with recursion at -O3)
Martin Jambor [Thu, 30 Jul 2009 16:26:09 +0000 (18:26 +0200)]
re PR tree-optimization/40570 (ICE with recursion at -O3)

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.

From-SVN: r150263

15 years agore PR libstdc++/40915 ([4.5 Regressions] FAIL: 18_support/headers/exception/synopsis...
Paolo Carlini [Thu, 30 Jul 2009 15:26:44 +0000 (15:26 +0000)]
re PR libstdc++/40915 ([4.5 Regressions] FAIL: 18_support/headers/exception/synopsis.cc (test for excess errors))

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

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

From-SVN: r150260

15 years ago[multiple changes]
Arnaud Charlet [Thu, 30 Jul 2009 09:26:39 +0000 (11:26 +0200)]
[multiple changes]

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.

From-SVN: r150253

15 years agoMinor reformatting.
Arnaud Charlet [Thu, 30 Jul 2009 09:23:47 +0000 (11:23 +0200)]
Minor reformatting.

From-SVN: r150252

15 years agoa-teioed.adb, [...]: Minor reformatting
Robert Dewar [Thu, 30 Jul 2009 09:23:06 +0000 (09:23 +0000)]
a-teioed.adb, [...]: Minor reformatting

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

From-SVN: r150251

15 years agossa-loop-manip.c: Include langhooks.h.
Razya Ladelsky [Thu, 30 Jul 2009 08:39:57 +0000 (08:39 +0000)]
ssa-loop-manip.c: Include langhooks.h.

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.

From-SVN: r150250

15 years agoopt-functions.awk (opt_args): Allow argument to be enclosed in curly braces.
Dave Korn [Thu, 30 Jul 2009 07:22:28 +0000 (07:22 +0000)]
opt-functions.awk (opt_args): Allow argument to be enclosed in curly braces.

* opt-functions.awk (opt_args): Allow argument to be enclosed in
curly braces.
* doc/options.texi (Option properties):  Mention new quoting syntax.

From-SVN: r150248

15 years agoalpha.c (alpha_start_function): Handle VMS_DEBUG_MAIN_POINTER
Douglas B Rupp [Thu, 30 Jul 2009 00:51:58 +0000 (00:51 +0000)]
alpha.c (alpha_start_function): Handle VMS_DEBUG_MAIN_POINTER

* 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.

From-SVN: r150235

15 years agocgraph.c (cgraph_set_call_stmt_including_clones): Tidy.
Richard Henderson [Thu, 30 Jul 2009 00:34:47 +0000 (17:34 -0700)]
cgraph.c (cgraph_set_call_stmt_including_clones): Tidy.

        * 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.

From-SVN: r150234

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

From-SVN: r150233

15 years agovms-cc.c: Deleted.
Douglas B Rupp [Thu, 30 Jul 2009 00:15:35 +0000 (00:15 +0000)]
vms-cc.c: Deleted.

* 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.

From-SVN: r150230

15 years agore PR libstdc++/40908 (FAIL: abi_check)
Paolo Carlini [Wed, 29 Jul 2009 21:00:10 +0000 (21:00 +0000)]
re PR libstdc++/40908 (FAIL: abi_check)

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.

From-SVN: r150228

15 years agodwarf2out.c (add_name_and_src_coords_attributes): Push on the correct stack (obvious...
Douglas B 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).

* dwarf2out.c (add_name_and_src_coords_attributes): Push on the
correct stack (obvious VMS fix).

From-SVN: r150227

15 years ago* sv.po: Update.
Joseph Myers [Wed, 29 Jul 2009 20:44:05 +0000 (21:44 +0100)]
* sv.po: Update.

From-SVN: r150225

15 years agore PR c++/14912 (Do not print default template arguments in error messages)
Jason Merrill [Wed, 29 Jul 2009 20:35:40 +0000 (16:35 -0400)]
re PR c++/14912 (Do not print default template arguments in error messages)

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.

From-SVN: r150223

15 years agore PR c++/40834 (Revision 149750 failed 483.xalancbmk in SPEC CPU 2006)
Richard Guenther [Wed, 29 Jul 2009 20:16:32 +0000 (20:16 +0000)]
re PR c++/40834 (Revision 149750 failed 483.xalancbmk in SPEC CPU 2006)

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.

From-SVN: r150222

15 years agomake-temp-file.c (choose_tmpdir): Try standard temp logical on VMS.
Douglas B Rupp [Wed, 29 Jul 2009 19:30:12 +0000 (19:30 +0000)]
make-temp-file.c (choose_tmpdir): Try standard temp logical on VMS.

* make-temp-file.c (choose_tmpdir): Try standard temp logical on VMS.

From-SVN: r150221

15 years agognu.ver: Add GLIBCXX_3.4.13, move a symbol into it.
Paolo Carlini [Wed, 29 Jul 2009 18:40:39 +0000 (18:40 +0000)]
gnu.ver: Add GLIBCXX_3.4.13, move a symbol into it.

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.

From-SVN: r150220

15 years agodwarf2out.c (output_file_names): Output VMS style file name, size, date, version...
Douglas B 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.

* 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.

From-SVN: r150219

15 years agore PR fortran/40898 (STDCALL mangling problem for strings @8 instead of @4)
Tobias Burnus [Wed, 29 Jul 2009 14:44:51 +0000 (16:44 +0200)]
re PR fortran/40898 (STDCALL mangling problem for strings @8 instead of @4)

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.

From-SVN: r150216

15 years agore PR middle-end/40830 (gcc.dg/vect/vect-pre-interact.c doesn't work on Linux/ia32)
Michael Matz [Wed, 29 Jul 2009 14:41:38 +0000 (14:41 +0000)]
re PR middle-end/40830 (gcc.dg/vect/vect-pre-interact.c doesn't work on Linux/ia32)

PR middle-end/40830
* gcc.dg/vect/vect-pre-interact.c: XFAIL for no_align targets.

From-SVN: r150215

15 years agolib1funcs.asm (clear_cache): Use ARM_FUNC_START and do_push/do_pop.
Paul Brook [Wed, 29 Jul 2009 11:38:05 +0000 (11:38 +0000)]
lib1funcs.asm (clear_cache): Use ARM_FUNC_START and do_push/do_pop.

2009-07-29  Paul Brook  <paul@codesourcery.com>

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

From-SVN: r150207

15 years agosem_ch3.ads, [...] (Add_Internal_Interface_Entities): Routine moved from the expander...
Javier Miranda [Wed, 29 Jul 2009 10:34:29 +0000 (10:34 +0000)]
sem_ch3.ads, [...] (Add_Internal_Interface_Entities): Routine moved from the expander to the semantic analyzer to allow the...

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.

From-SVN: r150205

15 years ago[multiple changes]
Arnaud Charlet [Wed, 29 Jul 2009 08:51:53 +0000 (10:51 +0200)]
[multiple changes]

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.

From-SVN: r150201

15 years ago[multiple changes]
Arnaud Charlet [Wed, 29 Jul 2009 08:44:57 +0000 (10:44 +0200)]
[multiple changes]

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.

From-SVN: r150200

15 years agofrontend.adb (Frontend): Code cleanup.
Javier Miranda [Wed, 29 Jul 2009 08:43:58 +0000 (08:43 +0000)]
frontend.adb (Frontend): Code cleanup.

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.

From-SVN: r150199

15 years agore PR target/40577 (ICE on valid code: in extract_insn)
Uros Bizjak [Wed, 29 Jul 2009 07:11:09 +0000 (09:11 +0200)]
re PR target/40577 (ICE on valid code: in extract_insn)

PR target/40577
* config/alpha/alpha.c (alpha_expand_unaligned_store): Convert src
to DImode when generating insq_le insn.

From-SVN: r150198

15 years agodwarf2out.c (DWARF2_INDIRECT_STRING_SUPPORT_MISSING_ON_TARGET): New macro set for...
Douglas B 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.

* dwarf2out.c (DWARF2_INDIRECT_STRING_SUPPORT_MISSING_ON_TARGET):
New macro set for VMS_DEBUGGGING_INFO.
(AT_string_form): Use it.

From-SVN: r150196

15 years agoconfigure.xml: Consistent placement of ABI-changing options, clarify --enable-clocale.
Benjamin Kosnik [Wed, 29 Jul 2009 01:53:49 +0000 (01:53 +0000)]
configure.xml: Consistent placement of ABI-changing options, clarify --enable-clocale.

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.

Co-Authored-By: Tyler Earman <rem.intellegare@gmail.com>
From-SVN: r150195

15 years ago(mep_encode_section_info): Remove it from here.
DJ Delorie [Wed, 29 Jul 2009 01:08:46 +0000 (21:08 -0400)]
(mep_encode_section_info): Remove it from here.

From-SVN: r150194

15 years agomep.c (vtext_section): New.
DJ Delorie [Wed, 29 Jul 2009 01:07:58 +0000 (21:07 -0400)]
mep.c (vtext_section): New.

* 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.

From-SVN: r150193

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

From-SVN: r150192

15 years agomaxlocval_2.f90: Add -mieee for alpha*-*-* and sh*-*-* targets.
Kaz Kojima [Tue, 28 Jul 2009 22:48:09 +0000 (22:48 +0000)]
maxlocval_2.f90: Add -mieee for alpha*-*-* and sh*-*-* targets.

* 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.

From-SVN: r150189

15 years agotree.h (TREE_DEPRECATED): Document it is used for types too.
Paolo Bonzini [Tue, 28 Jul 2009 21:40:24 +0000 (17:40 -0400)]
tree.h (TREE_DEPRECATED): Document it is used for types too.

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

From-SVN: r150181

15 years agodwarf2out.c (output_file_names): Test new macro DWARF2_DIR_SHOULD_END_WITH_SEPARATOR.
Douglas B 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.

* dwarf2out.c (output_file_names): Test new macro
DWARF2_DIR_SHOULD_END_WITH_SEPARATOR.
(add_comp_dir_attribute): Likewise.

From-SVN: r150173

15 years agomingw-w64.h (LINK_SPEC): Add separating space between commands.
Kai Tietz [Tue, 28 Jul 2009 16:52:21 +0000 (16:52 +0000)]
mingw-w64.h (LINK_SPEC): Add separating space between commands.

2009-07-28  Kai Tietz  <kai.tietz@onevision.com>

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

From-SVN: r150170

15 years agore PR tree-optimization/40759 (segfault in useless_type_conversion_p)
Jan Hubicka [Tue, 28 Jul 2009 16:37:50 +0000 (18:37 +0200)]
re PR tree-optimization/40759 (segfault in useless_type_conversion_p)

PR tree-optimization/40759
* tree-ssa-dce.c (mark_virtual_phi_result_for_renaming): Mark all uses
for renaming.

From-SVN: r150168

15 years agonatGCInfo.cc (nomem_handler): Use oomDumpName as dump file name base.
David Daney [Tue, 28 Jul 2009 16:26:13 +0000 (16:26 +0000)]
natGCInfo.cc (nomem_handler): Use oomDumpName as dump file name base.

* gnu/gcj/util/natGCInfo.cc (nomem_handler): Use oomDumpName as
dump file name base.

From-SVN: r150166

15 years agore PR fortran/40878 (!$omp collapse(m) with non-constant m should give error)
Jakub Jelinek [Tue, 28 Jul 2009 16:15:47 +0000 (18:15 +0200)]
re PR fortran/40878 (!$omp collapse(m) with non-constant m should give error)

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.

From-SVN: r150165

15 years agore PR testsuite/40891 (Revision 150143 failed gcc.dg/cdce[12].c)
Jakub Jelinek [Tue, 28 Jul 2009 16:09:58 +0000 (18:09 +0200)]
re PR testsuite/40891 (Revision 150143 failed gcc.dg/cdce[12].c)

PR testsuite/40891
* gcc.dg/cdce1.c: Adjust note line number.
* gcc.dg/cdce2.c: Likewise.

From-SVN: r150163

15 years agoadaint.h, [...]: Minor reformatting & code reorganization
Robert Dewar [Tue, 28 Jul 2009 15:08:57 +0000 (15:08 +0000)]
adaint.h, [...]: Minor reformatting & code reorganization

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.

From-SVN: r150162

15 years agoFix for PR40616: missing java.io.PrintStream constructors.
Andrew John Hughes [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.

From-SVN: r150161

15 years agomake.adb, [...] (Project_Tree): Duplicates the global variable that also exists in...
Emmanuel Briot [Tue, 28 Jul 2009 13:41:47 +0000 (13:41 +0000)]
make.adb, [...] (Project_Tree): Duplicates the global variable that also exists in makeutl.ads...

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.

From-SVN: r150157

15 years agoMAINTAINERS (Write After Approval): Update my e-mail address.
Rask Ingemann Lambertsen [Tue, 28 Jul 2009 13:30:14 +0000 (15:30 +0200)]
MAINTAINERS (Write After Approval): Update my e-mail address.

2009-07-28  Rask Ingemann Lambertsen <ccc94453@vip.cybercity.dk>

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

From-SVN: r150156

15 years agore PR fortran/40882 ([F03] infinite recursion in gfc_get_derived_type with PPC return...
Janus Weil [Tue, 28 Jul 2009 11:40:42 +0000 (13:40 +0200)]
re PR fortran/40882 ([F03] infinite recursion in gfc_get_derived_type with PPC returning derived type)

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.

From-SVN: r150154

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

From-SVN: r150153

15 years ago[multiple changes]
Arnaud Charlet [Tue, 28 Jul 2009 09:25:52 +0000 (11:25 +0200)]
[multiple changes]

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

From-SVN: r150152

15 years ago[multiple changes]
Arnaud Charlet [Tue, 28 Jul 2009 09:19:48 +0000 (11:19 +0200)]
[multiple changes]

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.

From-SVN: r150151

15 years ago[multiple changes]
Arnaud Charlet [Tue, 28 Jul 2009 09:11:53 +0000 (11:11 +0200)]
[multiple changes]

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.

From-SVN: r150150

15 years agognat1drv.adb (Adjust_Global_Switches): Disable generation of SCIL nodes if we are...
Javier Miranda [Tue, 28 Jul 2009 08:46:39 +0000 (08:46 +0000)]
gnat1drv.adb (Adjust_Global_Switches): Disable generation of SCIL nodes if we are not generating code.

2009-07-28  Javier Miranda  <miranda@adacore.com>

* gnat1drv.adb (Adjust_Global_Switches): Disable generation of SCIL
nodes if we are not generating code.
* frontend.adb (Check_SCIL_Node): New subprogram. Used to check
attribute SCIL_Related_Node of SCIL dispatching nodes.
(Check_SCIL_Nodes): New instantiation of Traverse_Proc.
* sinfo.ads (Is_SCIL_Node,Set_Is_SCIL_Node): Removed
(SCIL_Nkind,Set_SCIL_Nkind): Removed.
(SCIL_Entity): Update documentation.
(SCIL_Related_Node): Update documentation.
(SCIL_Controlling_Tag): New attribute.
(SCIL_Target_Prim): Update documentation.
(N_Null_Statement): Remove attributes associated with SCIL nodes.
(N_SCIL_Dispatch_Table_Object_Init): New node.
(N_SCIL_Dispatch_Table_Tag_Init): New node.
(N_SCIL_Dispatching_Call): New node.
(N_SCIL_Tag_Init): New node.
* sinfo.adb (Is_SCIL_Node,Set_Is_SCIL_Node): Removed
(SCIL_Nkind,Set_SCIL_Nkind): Removed.
(SCIL_Controlling_Tag/Set_SCIL_Controlling_Tag): New subprogram.
(SCIL_Entity,Set_SCIL_Entity): Applicable only to SCIL nodes.
(SCIL_Related_Node,Set_SCIL_Related_Node): Applicable only to SCIL nodes
(SCIL_Target_Prim,Set_SCIL_Target_Prim): Applicable only to
N_SCIL_Dispatching_Call nodes.
* sem.adb (Analyze): No need to analyze SCIL nodes.
* sem_aux.ads, sem_aux.adb (First_Non_SCIL_Node): New subprogram
(Next_Non_SCIL_Node): New subprogram
* sem_ch4.adb (Analyze_Type_Conversion): Adjust relocated SCIL
dispatching nodes.
* sem_ch5.adb (Analyze_Iteration_Scheme): Adjust relocated SCIL
dispatching node.
* sem_util.adb (Insert_Explicit_Dereference): Adjust relocated SCIL
dispatching node.
* exp_ch3.adb (Build_Array_Init_Proc): Skip SCIL nodes when processing
null statement nodes.
(Build_Init_Procedure): Generate new SCIL node.
* exp_ch4.adb (Expand_N_And_Then): Adjust relocated SCIL dispatching
node.
* exp_ch6.adb (Is_Null_Procedure): Skip SCIL nodes. Required because
they are currently implemented as special N_Null_Statement nodes.
* exp_ch7.adb (Wrap_Transient_Statement): If the relocated node is a
procedure call then check if some SCIL node references it and needs
readjustment.
* exp_disp.ads (SCIL_Node_Kind): Removed.
(Adjust_SCIL_Node): New subprogram.
(Find_SCIL_Node): New subprogram.
(Get_SCIL_Node_Kind): Removed.
(New_SCIL_Node): Removed.
* exp_disp.adb (Adjust_SCIL_Node): New subprogram
(Expand_Dispatching_Call): Generate new SCIL dispatching node including
decoration of its new controlling_tag attribute.
(Get_SCIL_Node_Kind): Removed.
(Find_SCIL_Node): New subprogram.
(Make_Secondary_DT): Generate new SCIL nodes.
(Make_Tags): Generate new SCIL nodes.
(New_SCIL_Node): Removed.
* exp_util.adb (Insert_Actions): Handle SCIL nodes.
(Remove_Side_Effects): Check if relocated nodes require readjustment
of some SCIL dispatching node.
* gcc-interface/trans.c (gnat_to_gnu): Do nothing with new SCIL nodes.

From-SVN: r150149

15 years agoprj-nmsc.adb, [...]: Minor reformatting
Robert Dewar [Tue, 28 Jul 2009 08:21:57 +0000 (08:21 +0000)]
prj-nmsc.adb, [...]: Minor reformatting

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

* prj-nmsc.adb, g-expect.adb, prj.ads: Minor reformatting

From-SVN: r150148

15 years ago[multiple changes]
Arnaud Charlet [Tue, 28 Jul 2009 08:15:44 +0000 (10:15 +0200)]
[multiple changes]

2009-07-28  Sergey Rybin  <rybin@adacore.com>

* gnat_ugn.texi: Add section about gnatcheck rule exemption.

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

* s-oscons-tmplt.c: Define _XOPEN_SOURCE on Linux, otherwise IOV_MAX is
not defined by limits.h.

* g-socket.adb (Receive_Vector): Use minimum length from user's vector
length and maximum supported length of data vector.

2009-07-28  Gary Dismukes  <dismukes@adacore.com>

* usage.adb: Inhibit printing gcc-specific switches for AAMP target.
* make.adb: Call Get_Target_Parameters before calling Usage so that
VM_Target and AAMP_On_Target will be set.

From-SVN: r150147

15 years ago[multiple changes]
Arnaud Charlet [Tue, 28 Jul 2009 08:07:09 +0000 (10:07 +0200)]
[multiple changes]

2009-07-28  Olivier Hainque  <hainque@adacore.com>

* g-ssinty.ads: Remove, pointless and just confusing at this stage.
* gnat_rm.texi: Remove documentation.
* g-sse.ads: Minor reorg along the way.
* gcc-interface/Makefile.in: Remove processing for g-ssinty.
* g-ssvety.ads: Minor comment updates.

2009-07-28  Sergey Rybin  <rybin@adacore.com>

* gnat_ugn.texi: gnatcheck 'Format of the Report File' section - update
for the new format of the report file.

From-SVN: r150146

15 years ago[multiple changes]
Arnaud Charlet [Tue, 28 Jul 2009 07:29:50 +0000 (09:29 +0200)]
[multiple changes]

2009-07-28  Sergey Rybin  <rybin@adacore.com>

* gnat_ugn.texi: gnatcheck Deeply_Nested_Inlining rule: Update doc.

2009-07-28  Pascal Obry  <obry@adacore.com>

* g-expect.adb: Record standard handles only on Windows.

From-SVN: r150145

15 years agoavx-vtestpd-1.c: Add -DNEED_IEEE754_DOUBLE.
Jan Beulich [Tue, 28 Jul 2009 06:43:59 +0000 (06:43 +0000)]
avx-vtestpd-1.c: Add -DNEED_IEEE754_DOUBLE.

2009-07-28  Jan Beulich  <jbeulich@novell.com>

* gcc.target/i386/avx-vtestpd-1.c: Add -DNEED_IEEE754_DOUBLE.
* gcc.target/i386/avx-vtestpd-2.c: Likewise.
* gcc.target/i386/avx-vtestpd-256-1.c: Likewise.
* gcc.target/i386/avx-vtestpd-256-2.c: Likewise.
* gcc.target/i386/avx-vtestpd-256-3.c: Likewise.
* gcc.target/i386/avx-vtestpd-3.c: Likewise.
* gcc.target/i386/avx-vtestps-1.c: Add -DNEED_IEEE754_FLOAT.
* gcc.target/i386/avx-vtestps-2.c: Likewise.
* gcc.target/i386/avx-vtestps-256-1.c: Likewise.
* gcc.target/i386/avx-vtestps-256-2.c: Likewise.
* gcc.target/i386/avx-vtestps-256-3.c: Likewise.
* gcc.target/i386/avx-vtestps-3.c: Likewise.
* gcc.target/i386/m128-check.h (union ieee754_float):  Put into
#ifdef NEED_IEEE754_FLOAT conditional.
(union ieee754_double):  Put into #ifdef NEED_IEEE754_DOUBLE
conditional.

From-SVN: r150142

15 years agobitfield2.C: Add -mno-ms-bitfields for i?86-*-netware.
Jan Beulich [Tue, 28 Jul 2009 06:37:36 +0000 (06:37 +0000)]
bitfield2.C: Add -mno-ms-bitfields for i?86-*-netware.

2009-07-28  Jan Beulich  <jbeulich@novell.com>

* g++.dg/ext/bitfield2.C: Add -mno-ms-bitfields for
i?86-*-netware.
* g++.dg/ext/bitfield3.C: Likewise.
* g++.dg/ext/bitfield4.C: Likewise.
* g++.dg/ext/bitfield5.C: Likewise.
* gcc.dg/bitfld-15.c: Likewise.
* gcc.dg/bitfld-16.c: Likewise.
* gcc.dg/bitfld-17.c: Likewise.
* gcc.dg/bitfld-18.c: Likewise.
* g++.old-deja/g++.jason/thunk2.C: Remove dg-bogus.
* gcc.dg/20010912-1.c: Likewise.
* gcc.dg/20021018-1.c: Likewise.
* gcc.dg/20030213-1.c: Likewise.
* gcc.dg/20030225-1.c: Likewise.
* gcc.dg/20030708-1.c: Likewise.
* gcc.dg/20050321-2.c: Likewise.
* gcc.dg/cdce1.c: Don't pass -lm for *-*-netware*.
* gcc.dg/cdce2.c: Likewise.
* gcc.target/i386/pr37248-2.c: Don't test on default_packet
targets.
* gcc.target/i386/pr37248-3.c: Likewise.

From-SVN: r150141

15 years agoMakefile.in: Regenerate.
Ralf Wildenhues [Tue, 28 Jul 2009 04:45:21 +0000 (04:45 +0000)]
Makefile.in: Regenerate.

libstdc++-v3/
* python/Makefile.in: Regenerate.

From-SVN: r150140

15 years agoDaily bump.
GCC Administrator [Tue, 28 Jul 2009 00:16:48 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r150139

15 years agomep.c (mep_expand_builtin_saveregs): Make sure 64-bit types are dword-aligned.
DJ Delorie [Mon, 27 Jul 2009 20:31:04 +0000 (16:31 -0400)]
mep.c (mep_expand_builtin_saveregs): Make sure 64-bit types are dword-aligned.

* config/mep/mep.c (mep_expand_builtin_saveregs): Make sure 64-bit
types are dword-aligned.
(mep_expand_va_start): Likewise.

From-SVN: r150136

15 years agoMakefile.am (install-data-local): Use DESTDIR correctly.
Ralf Wildenhues [Mon, 27 Jul 2009 20:21:30 +0000 (20:21 +0000)]
Makefile.am (install-data-local): Use DESTDIR correctly.

libstdc++-v3/
* python/Makefile.am (install-data-local): Use DESTDIR
correctly.

From-SVN: r150135

15 years agore PR fortran/40848 (ICE with alternate returns)
Janus Weil [Mon, 27 Jul 2009 18:26:34 +0000 (20:26 +0200)]
re PR fortran/40848 (ICE with alternate returns)

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

PR fortran/40848
* interface.c (gfc_compare_interfaces): Call 'count_types_test' before
'generic_correspondence', and only if checking a generic interface.

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

PR fortran/40848
* gfortran.dg/altreturn_7.f90: New.

From-SVN: r150134

15 years agoconvert.c (convert_to_pointer): Don't assume the target pointer type is POINTER_SIZE...
Olivier Hainque [Mon, 27 Jul 2009 17:40:57 +0000 (17:40 +0000)]
convert.c (convert_to_pointer): Don't assume the target pointer type is POINTER_SIZE long.

* convert.c (convert_to_pointer): Don't assume the target
pointer type is POINTER_SIZE long. Fetch its precision instead.

Co-Authored-By: Douglas B Rupp <rupp@gnat.com>
From-SVN: r150133

15 years agosystem.h (fopen): Undefine if macro.
Douglas B Rupp [Mon, 27 Jul 2009 17:36:08 +0000 (17:36 +0000)]
system.h (fopen): Undefine if macro.

* system.h (fopen): Undefine if macro.

From-SVN: r150132

15 years agocpplib.h (INO_T_CPP): New macro.
Douglas B Rupp [Mon, 27 Jul 2009 17:27:10 +0000 (17:27 +0000)]
cpplib.h (INO_T_CPP): New macro.

* libcpp/include/cpplib.h (INO_T_CPP): New macro.
(struct cpp_dir): Use it.

From-SVN: r150131

15 years agopex-unix.c (vfork): Remove VMS specific definition (get from header file instead).
Douglas B Rupp [Mon, 27 Jul 2009 17:20:32 +0000 (17:20 +0000)]
pex-unix.c (vfork): Remove VMS specific definition (get from header file instead).

* pex-unix.c (vfork): Remove VMS specific definition (get from header
file instead).
(to_ptr32): New function.
(pex_unix_exec_child): Use it.

From-SVN: r150130

15 years agodwarf2out.c (output_cfi_p): Removed.
Jakub Jelinek [Mon, 27 Jul 2009 16:25:57 +0000 (18:25 +0200)]
dwarf2out.c (output_cfi_p): Removed.

* dwarf2out.c (output_cfi_p): Removed.
(output_cfis): New function.
(output_fde): New function, split from output_call_frame_info.
(output_call_frame_info): Use it.
(dwarf2out_switch_text_section): Use output_cfis.

From-SVN: r150129

15 years agoAdd comments.
Arnaud Charlet [Mon, 27 Jul 2009 14:44:10 +0000 (16:44 +0200)]
Add comments.

From-SVN: r150122

15 years agoprj.ads, [...] (Override_Kind): add debug trace Add comments.
Emmanuel Briot [Mon, 27 Jul 2009 14:39:51 +0000 (14:39 +0000)]
prj.ads, [...] (Override_Kind): add debug trace Add comments.

2009-07-27  Emmanuel Briot  <briot@adacore.com>

* prj.ads, prj-nmsc.adb (Override_Kind): add debug trace
Add comments.

From-SVN: r150121

15 years ago[multiple changes]
Arnaud Charlet [Mon, 27 Jul 2009 14:01:00 +0000 (16:01 +0200)]
[multiple changes]

2009-07-27  Sergey Rybin  <rybin@adacore.com>

* gnat_ugn.texi: gnatcheck Unconstrained_Array_Returns rule: Add to the
rule definition the paragraph that explains that generic functions and
functions from generic packages are not checked.

2009-07-27  Gary Dismukes  <dismukes@adacore.com>

* sem_ch6.adb (New_Overloaded_Entity): Add test for an expanded null
procedure when determining whether to set the Overridden_Operation
field of a subprogram overriding an inherited subprogram.

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

* a-except.adb, a-except-2005.ads: Minor reformatting

From-SVN: r150120

15 years ago[multiple changes]
Arnaud Charlet [Mon, 27 Jul 2009 13:56:38 +0000 (15:56 +0200)]
[multiple changes]

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

* sem_util.adb, sem_util.ads (Kill_Current_Values): Reset Is_Known_Valid

2009-07-27  Javier Miranda  <miranda@adacore.com>

* exp_disp.adb (Expand_Dispatching_Call): Reverse previous patch and
add some documentation explaining why the SCIL nodes must be generated
at that point.

2009-07-27  Olivier Hainque  <hainque@adacore.com>

* a-except.adb: Bind to __builtin_longjmp directly.
* a-except-2005.ads: Provide direct binding to __builtin_longjmp
for sjlj variants.
* a-exexpr.adb: Use it.
* a-except-xi.adb: Likewise.
* raise.c (_gnat_builtin_longjmp): Remove and update comments.
* raise.h (_gnat_builtin_longjmp): Remove declaration.

From-SVN: r150119

15 years ago[multiple changes]
Ed Schonberg [Mon, 27 Jul 2009 13:49:46 +0000 (13:49 +0000)]
[multiple changes]

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

* sem_eval.adb (Compile_Time_Compare): More precise handling of
Known_Valid flag, to prevent spurious range deductions when scalar
variables may be uninitialized. New predicate Is_Known_Valid_Operand.

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

* sem.adb: Minor reformatting

From-SVN: r150118

15 years agognatfind.adb, [...]: Minor reformatting and code clean up.
Robert Dewar [Mon, 27 Jul 2009 13:47:11 +0000 (13:47 +0000)]
gnatfind.adb, [...]: Minor reformatting and code clean up.

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

* gnatfind.adb, osint.ads, sem.adb, xr_tabls.adb: Minor reformatting
and code clean up.

From-SVN: r150117

15 years agoexp_ch9.adb (Expand_N_Timed_Entry_Call): Do not attempt expansion in Ravenscar mode.
Ed Schonberg [Mon, 27 Jul 2009 13:41:57 +0000 (13:41 +0000)]
exp_ch9.adb (Expand_N_Timed_Entry_Call): Do not attempt expansion in Ravenscar mode.

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

* exp_ch9.adb (Expand_N_Timed_Entry_Call): Do not attempt expansion in
Ravenscar mode. Error has already been posted on specification.

* sem.adb: Further code clean ups.

From-SVN: r150116

15 years ago[multiple changes]
Arnaud Charlet [Mon, 27 Jul 2009 13:39:44 +0000 (15:39 +0200)]
[multiple changes]

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

* g-sse.ads: Minor reformatting

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

* xref_lib.adb (Add_Xref_File_Internal, Find_ALI_Files): Add support for
alternate ali extension.
* xr_tabls.adb (ALI_File_Name, Get_File, Set_Unvisited): Take into
account Osint.ALI_Suffix.
* osint.ads (ALI_Suffix): Make visible.
* gnatfind.adb (Gnatfind): Add support for --ext= switch.
* gnat_ugn.texi: Document new gnatfind --ext= switch.

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

* sem.adb (Walk_Library_Items): If main unit is an instance body, do
its spec first.

2009-07-27  Javier Miranda  <miranda@adacore.com>

* exp_disp.adb (Expand_Dispatching_Call): Generate the SCIL node after
the dispatching call has is expanded.

From-SVN: r150115

15 years agocygming.h (DWARF2_UNWIND_INFO): Error build when TARGET_BI_ARCH is specified without...
Kai Tietz [Mon, 27 Jul 2009 13:34:29 +0000 (13:34 +0000)]
cygming.h (DWARF2_UNWIND_INFO): Error build when TARGET_BI_ARCH is specified without enabling SJLJ.

2009-07-24  Kai Tietz  <kai.tietz@onevision.com>

        * config/i386/cygming.h (DWARF2_UNWIND_INFO): Error build when
        TARGET_BI_ARCH is specified without enabling SJLJ.
        * config/i386/mingw32.h (MD_UNWIND_SUPPORT): Define MD_UNWIND_SUPPORT,
        if TARGET_64BIT and TARGET_BI_ARCH aren't defined.

From-SVN: r150114

15 years ago[multiple changes]
Arnaud Charlet [Mon, 27 Jul 2009 13:33:32 +0000 (15:33 +0200)]
[multiple changes]

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

* exp_attr.adb (Expand_Attribute_Reference, case 'Valid): Reset the
Is_Known_Valid flag on the temporary created for the value whose
validity is being checked.

* sem.adb (Do_Unit_And_Dependents): Further code reorganization to
handle properly main units that are package specifications.

2009-07-27  Geert Bosch  <bosch@adacore.com>

* einfo.ads (Checks_May_Be_Suppressed): Fix typo in comment
* sem_aux.ads: Fix typo in comment
* sem_util.ads (Is_LHS): Adjust comment to match body

2009-07-27  Sergey Rybin  <rybin@adacore.com>

* gnat_ugn.texi (gnatcheck Complex_Inlined_Subprograms rule): Update
rule definition.

2009-07-27  Olivier Hainque  <hainque@adacore.com>

* g-sse.ads, g-ssvety.ads: Update comments.

From-SVN: r150113

15 years ago[multiple changes]
Arnaud Charlet [Mon, 27 Jul 2009 13:26:41 +0000 (15:26 +0200)]
[multiple changes]

2009-07-27  Sergey Rybin  <rybin@adacore.com>

* gnat_ugn.texi: Update gnatcheck doc.

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

* lib-xref.ads: Allocate/document 'o' char for use by references to
spark 'own' variables.

From-SVN: r150112

15 years ago[multiple changes]
Arnaud Charlet [Mon, 27 Jul 2009 13:24:40 +0000 (15:24 +0200)]
[multiple changes]

2009-07-27  Gary Dismukes  <dismukes@adacore.com>

* sem_ch6.adb (Analyze_Function_Return): Set Referenced on return
objects, since these are implicitly referenced by the return statement.
* sem_warn.adb (Warn_On_Unreferenced_Entity): No longer a need to test
Is_Return_Object in this procedure, as return objects will never make
it here since they're now marked as Referenced.

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

* exp_ch2.adb, sem_util.adb, sem_util.ads: Minor reformnatting

From-SVN: r150111

15 years ago[multiple changes]
Arnaud Charlet [Mon, 27 Jul 2009 13:20:37 +0000 (15:20 +0200)]
[multiple changes]

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

* exp_ch6.adb (Expand_Call): Reset Is_Known_Valid after call

* sem_ch3.adb, sem_eval.adb, sem_aux.adb: Minor comment reformatting

2009-07-27  Geert Bosch  <bosch@adacore.com>

* checks.adb (Find_Check): Minor streamlining of logic.
* gnat1drv.adb(Gnat1drv): Put Check_Rep_Info in its alphabetical order.
* debug.adb: Document -gnatdX debug flag
* exp_ch2.adb(Expand_Entity_Reference): Implement new -gnatdX flag to
list information about reads from scalar entities.
Also slightly simplify condition for Expand_Current_Value.
* sem_util.ads, sem_util.adb (Is_LHS, Is_Actual_Out_Parameter): New
functions.

From-SVN: r150110

15 years agono-scevccp-noreassoc-outer-2.c: Extended array 'a' so that indexing no longer runs...
Simon Baldwin [Mon, 27 Jul 2009 12:05:49 +0000 (12:05 +0000)]
no-scevccp-noreassoc-outer-2.c: Extended array 'a' so that indexing no longer runs off array end.

* gcc.dg/vect/no-scevccp-noreassoc-outer-2.c: Extended array 'a'
so that indexing no longer runs off array end.

From-SVN: r150109

15 years agore PR fortran/40851 ([4.3/4.4/4.5] problem with deallocation of pointers)
Tobias Burnus [Mon, 27 Jul 2009 09:32:20 +0000 (11:32 +0200)]
re PR fortran/40851 ([4.3/4.4/4.5] problem with deallocation of pointers)

2009-07-26  Tobias Burnus  <burnus@net-b.de>

        PR fortran/40851
        * resolve.c (resolve_symbol): Do not initialize pointer
        * derived-types.
        * trans-decl.c (init_intent_out_dt): Ditto.
        (generate_local_decl): No need to set attr.referenced for DT pointers.

2009-07-26  Tobias Burnus  <burnus@net-b.de>

        PR fortran/40851
        * gfortran.dg/derived_init_3.f90: New test.

From-SVN: r150108

15 years agore PR libfortran/40863 (Build failure in libgfortran)
Tobias Burnus [Mon, 27 Jul 2009 09:24:41 +0000 (11:24 +0200)]
re PR libfortran/40863 (Build failure in libgfortran)

2009-07-27  Tobias Burnus  <burnus@net-b.de>

        PR fortran/40863
        * c99_functions.c: Define complex I, if not defined.
        Create prototypes for C99 functions to silence warnings.
        * gfortran.map: Add missing functions to GFORTRAN_C99_1.0
        and new GFORTRAN_C99_1.1.

From-SVN: r150107

15 years agoarm.md (negdi2): Use DImode if forcing a value into a register.
Mikael Pettersson [Mon, 27 Jul 2009 09:22:33 +0000 (11:22 +0200)]
arm.md (negdi2): Use DImode if forcing a value into a register.

2009-07-26  Mikael Pettersson <mikpe@it.uu.se>

* arm.md (negdi2): Use DImode if forcing a value into a register.

From-SVN: r150106

15 years agoDaily bump.
GCC Administrator [Mon, 27 Jul 2009 00:16:53 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r150103