94971 Commits

Author SHA1 Message Date
Paolo Carlini
4380ae3548 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
2009-07-30 15:26:44 +00:00
Arnaud Charlet
3f5bb1b895 [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
2009-07-30 11:26:39 +02:00
Arnaud Charlet
18ec2bdaec Minor reformatting.
From-SVN: r150252
2009-07-30 11:23:47 +02:00
Robert Dewar
16c5f1c624 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
2009-07-30 11:23:06 +02:00
Razya Ladelsky
08dab97a61 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
2009-07-30 08:39:57 +00:00
Dave Korn
88c2fd3d62 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
2009-07-30 07:22:28 +00:00
Douglas B Rupp
5ea8f97799 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
2009-07-30 00:51:58 +00:00
Richard Henderson
9b2a5ef70c 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
2009-07-29 17:34:47 -07:00
GCC Administrator
2f5164ee55 Daily bump.
From-SVN: r150233
2009-07-30 00:17:12 +00:00
Douglas B Rupp
71cd222090 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
2009-07-30 00:15:35 +00:00
Paolo Carlini
0699748fe0 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
2009-07-29 21:00:10 +00:00
Douglas B Rupp
82b75b46d7 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
2009-07-29 20:55:49 +00:00
Joseph Myers
c848dd9bca * sv.po: Update.
From-SVN: r150225
2009-07-29 21:44:05 +01:00
Jason Merrill
8b334f7b09 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
2009-07-29 16:35:40 -04:00
Richard Guenther
9e34da8b07 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
2009-07-29 20:16:32 +00:00
Douglas B Rupp
2958f4a215 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
2009-07-29 19:30:12 +00:00
Paolo Carlini
95bfca5ed6 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
2009-07-29 18:40:39 +00:00
Douglas B Rupp
c2cffdc880 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
2009-07-29 17:35:32 +00:00
Tobias Burnus
33215bb37f 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
2009-07-29 16:44:51 +02:00
Michael Matz
50fc913551 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
2009-07-29 14:41:38 +00:00
Paul Brook
0244b03f86 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
2009-07-29 11:38:05 +00:00
Javier Miranda
3ff38f33e6 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
2009-07-29 12:34:29 +02:00
Arnaud Charlet
a73734f5f5 [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
2009-07-29 10:51:53 +02:00
Arnaud Charlet
53b10ce921 [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
2009-07-29 10:44:57 +02:00
Javier Miranda
d06b3b1df8 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
2009-07-29 10:43:58 +02:00
Uros Bizjak
bc4eac6d04 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
2009-07-29 09:11:09 +02:00
Douglas B Rupp
6f1595d357 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
2009-07-29 05:02:10 +00:00
Benjamin Kosnik
8a25910570 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
2009-07-29 01:53:49 +00:00
DJ Delorie
3fb0a6601c (mep_encode_section_info): Remove it from here.
From-SVN: r150194
2009-07-28 21:08:46 -04:00
DJ Delorie
820ca27683 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
2009-07-28 21:07:58 -04:00
GCC Administrator
b54e4d7e1e Daily bump.
From-SVN: r150192
2009-07-29 00:16:56 +00:00
Kaz Kojima
c3be9b37d7 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
2009-07-28 22:48:09 +00:00
Paolo Bonzini
e2121f173e 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
2009-07-28 17:40:24 -04:00
Douglas B Rupp
dde08f9bc7 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
2009-07-28 18:07:32 +00:00
Kai Tietz
032502c26f 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
2009-07-28 18:52:21 +02:00
Jan Hubicka
b29c2ffde0 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
2009-07-28 16:37:50 +00:00
David Daney
2cf7e0f0db 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
2009-07-28 16:26:13 +00:00
Jakub Jelinek
394a5b34b1 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
2009-07-28 18:15:47 +02:00
Jakub Jelinek
fa4d0418e4 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
2009-07-28 18:09:58 +02:00
Robert Dewar
8d12c865d7 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
2009-07-28 17:08:57 +02:00
Andrew John Hughes
74efe9f06d 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
2009-07-28 15:08:12 +00:00
Emmanuel Briot
3899022082 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
2009-07-28 15:41:47 +02:00
Rask Ingemann Lambertsen
f563194df3 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
2009-07-28 13:30:14 +00:00
Janus Weil
c4984ab251 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
2009-07-28 13:40:42 +02:00
Arnaud Charlet
fe8b685c3e * gcc-interface/Make-lang.in: Update dependencies.
From-SVN: r150153
2009-07-28 11:31:41 +02:00
Arnaud Charlet
f7e71125e2 [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
2009-07-28 11:25:52 +02:00
Arnaud Charlet
55603e5ee2 [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
2009-07-28 11:19:48 +02:00
Arnaud Charlet
e657b693e9 [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
2009-07-28 11:11:53 +02:00
Javier Miranda
327503f147 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
2009-07-28 10:46:39 +02:00
Robert Dewar
b125fe15d7 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
2009-07-28 10:21:57 +02:00