OSDN Git Service

2004-05-17 Steve Kargl <kargls@comcast.net>
[pf3gnuchains/gcc-fork.git] / gcc / ada / ChangeLog
index d2b4da7..c311e98 100644 (file)
@@ -1,3 +1,702 @@
+2004-05-17  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       Part of function-at-a-time conversion
+
+       * misc.c (adjust_decl_rtl): Deleted.
+       (LANG_HOOKS_PUSHLEVEL, LANG_HOOKS_POPLEVEL, LANG_HOOKS_SET_BLOCK):
+       Define.
+
+       * gigi.h: (adjust_decl_rtl, kept_level_p, set_block): Deleted.
+       (add_decl_stmt, add_stmt, block_has_vars): New functions.
+       (gnat_pushlevel, gnat_poplevel): Renamed from pushlevel and poplevel.
+
+       * decl.c (elaborate_expression, maybe_pad_type): Call add_decl_stmt
+       when making a decl.
+       (gnat_to_gnu_entity): Likewise.
+       Use add_stmt to update setjmp buffer.
+       Set TREE_ADDRESSABLE instead of calling put_var_into_stack and
+       flush_addressof.
+       No longer call adjust_decl_rtl.
+       (DECL_INIT_BY_ASSIGN_P): New macro.
+       (DECL_STMT_VAR): Likewise.
+
+       * trans.c (gigi): Call start_block_stmt to make the outermost
+       BLOCK_STMT.
+       (gnat_to_code, gnu_to_gnu, tree_transform, process_decls, process_type):
+       Call start_block_stmt and end_block_stmt temporarily.
+       Use gnat_expand_stmt instead of expand_expr_stmt.
+       (add_decl_stmt): New function.
+       (tree_transform): Call it.
+       (add_stmt): Also emit initializing assignment for DECL_STMT if needed.
+       (end_block_stmt): Set type and NULL_STMT.
+       (gnat_expand_stmt): Make recursize call instead of calling
+       expand_expr_stmt.
+       (gnat_expand_stmt, case DECL_STMT): New case.
+       (set_lineno_from_sloc): Do nothing if global.
+       (gnu_block_stmt_node, gnu_block_stmt_free_list): New variables.
+       (start_block_stmt, add_stmt, end_block_stmt): New functions.
+       (build_block_stmt): Call them.
+       (gnat_to_code): Don't expand NULL_STMT.
+       (build_unit_elab): Rename pushlevel and poplevel to gnat_* and change
+       args.
+       (tree_transform): Likewise.
+       (tree_transform, case N_Null_Statement): Return NULL_STMT.
+       (gnat_expand_stmt, case NULL_STMT): New case.
+       (gnat_expand_stmt, case IF_STMT): Allow nested IF_STMT to have no
+       IF_STMT_TRUE.
+
+       * utils2.c (gnat_mark_addressable, case VAR_DECL): Do not set
+       TREE_ADDRESSABLE.
+
+       * utils.c (create_var_decl): Do not call expand_decl or
+       expand_decl_init.
+       Set TREE_ADDRESSABLE instead of calling gnat_mark_addressable.
+       Set DECL_INIT_BY_ASSIGN_P when needed and do not generate MODIFY_EXPR
+       here.
+       (struct e_stack): Add chain_next to GTY.
+       (struct binding_level): Deleted.
+       (struct ada_binding_level): New struct.
+       (free_block_chain): New.
+       (global_binding_level, clear_binding_level): Deleted.
+       (global_bindings_p): Rework to see if no chain.
+       (kept_level_p, set_block): Deleted.
+       (gnat_pushlevel): Renamed from pushlevel and extensive reworked to use
+       new data structure and work directly on BLOCK node.
+       (gnat_poplevel): Similarly.
+       (get_decls): Look at BLOCK_VARS.
+       (insert_block): Work directly on BLOCK node.
+       (block_has_var): New function.
+       (pushdecl): Rework for new binding structures.
+       (gnat_init_decl_processing): Rename and rework calls to pushlevel and
+       poplevel.
+       (build_subprog_body): Likewise.
+       (end_subprog_body): Likewise; also set up BLOCK in DECL_INITIAL.
+
+       * ada-tree.def (DECL_STMT, NULL_STMT): New codes.
+
+       * ada-tree.h: (DECL_INIT_BY_ASSIGN_P): New macro.
+       (DECL_STMT_VAR): Likewise.
+
+2004-05-17  Robert Dewar  <dewar@gnat.com>
+
+       * restrict.ads, restrict.adb (Process_Restriction_Synonym): New
+       procedure
+
+       * sem_prag.adb (Analyze_Pragma, case Restrictions): Cleanup handling
+       of restriction synonyums by using
+       Restrict.Process_Restriction_Synonyms.
+
+       * snames.ads, snames.adb: Add entries for Process_Restriction_Synonym
+
+       * s-restri.ads (Tasking_Allowed): Correct missing comment
+
+       * s-rident.ads: Add entries for restriction synonyms
+
+       * ali.adb: Fix some problems with badly formatted ALI files that can
+       result in infinite loops.
+
+       * s-taprop-lynxos.adb, s-tpopsp-lynxos.adb, s-taprop-tru64.adb,
+       s-tpopsp-posix-foreign.adb, s-taprop-irix.adb, s-interr-sigaction.adb,
+       s-taprop-irix-athread.adb, s-taprop-hpux-dce.adb, s-taprop-linux.adb,
+       s-taprop-dummy.adb, s-interr-dummy.adb, s-taprop-os2.adb,
+       s-taprop-solaris.adb, s-tpopsp-solaris.adb, s-asthan-vms.adb,
+       s-inmaop-vms.adb, s-interr-vms.adb, s-taprop-vms.adb,
+       s-tpopde-vms.adb, s-taprop-mingw.adb, s-interr-vxworks.adb,
+       s-taprop-vxworks.adb, s-tpopsp-vxworks.adb, s-taprop-posix.adb,
+       s-tpopsp-posix.adb, s-tratas-default.adb, a-dynpri.adb,
+       a-tasatt.adb, a-taside.adb, a-taside.ads, exp_attr.adb,
+       exp_ch9.adb, g-thread.adb, rtsfind.ads, sem_attr.adb,
+       s-interr.adb, s-interr.ads, s-soflin.ads, s-taasde.adb,
+       s-taasde.ads, s-taenca.adb, s-taenca.ads, s-taprop.ads,
+       s-tarest.adb, s-tarest.ads, s-tasdeb.adb, s-tasdeb.ads,
+       s-tasini.adb, s-tasini.ads, s-taskin.adb, s-taskin.ads,
+       s-tasque.adb, s-tasque.ads, s-tasren.adb, s-tasren.ads,
+       s-tassta.adb, s-tassta.ads, s-tasuti.adb, s-tasuti.ads,
+       s-tataat.adb, s-tataat.ads, s-tpinop.adb, s-tpinop.ads,
+       s-tpoben.adb, s-tpobop.adb, s-tpobop.ads, s-tporft.adb,
+       s-tposen.adb, s-tposen.ads, s-tratas.adb, s-tratas.ads: Change Task_ID
+       to Task_Id (minor cleanup).
+
+2004-05-17  Vincent Celier  <celier@gnat.com>
+
+       * g-os_lib.adb (Normalize_Pathname.Final_Value): Remove trailing
+       directory separator.
+
+       * prj-proc.adb (Recursive_Process): Inherit attribute Languages from
+       project being extended, if Languages is not declared in extending
+       project.
+
+2004-05-17  Javier Miranda  <miranda@gnat.com>
+
+       * sem_ch10.adb (Install_Limited_Withed_Unit): Do not install the
+       limited view of a visible sibling.
+
+2004-05-14  Robert Dewar  <dewar@gnat.com>
+
+       * gnat_ugn.texi: Minor change to -gnatS documentation
+
+       * sprint.adb: Remove some instances of Assert (False) and for this
+       purpose replace them by output of a ??? string.
+
+       * checks.adb, exp_aggr.adb, sem_elim.adb: Remove useless pragma
+       Assert (False).
+
+       * lib-writ.adb, lib-load.adb, lib.ads, lib.adb: Remove Dependent_Unit
+       flag processing. This was suppressing required dependencies in
+       No_Run_Time mode and is not needed since the binder does not generate
+       references for things in libgnat anyway.
+
+       * sem_ch3.adb (Access_Type_Declaration): Reorganize code to avoid GCC
+       warning.
+
+2004-05-14  Thomas Quinot  <quinot@act-europe.fr>
+
+       * gnat_ugn.texi: Document AIX-specific issue with initialization of
+       resolver library.
+
+       * exp_ch4.adb (Insert_Dereference_Action): Do not generate dereference
+       action for the case of an actual parameter in an init proc call.
+
+2004-05-14  Ed Schonberg  <schonberg@gnat.com>
+
+       * sem_ch4.adb (Analyze_Selected_Component): If prefix is a protected
+       subtype, check visible entities in base type.
+
+       * exp_ch7.adb (Clean_Simple_Protected_Objects): Do not generate cleanup
+       actions if the object is a renaming.
+
+       * sem_ch12.adb (Same_Instantiated_Entity): Predicate for
+       Check_Formal_Package_Instance, to determine more precisely when the
+       formal and the actual denote the same entity.
+
+2004-05-14  Javier Miranda  <miranda@gnat.com>
+
+       * par-ch10.adb (P_Context_Clause): Complete documentation on AI-262
+
+       * sem_ch10.adb (Analyze_With_Clause): After analyzed, the entity
+       corresponding to a private_with must be removed from visibility; it
+       will be made visible later, just before we analyze the private part of
+       the package.
+       (Check_Private_Child_Unit): Allow private_with clauses in public
+       siblings.
+       (Install_Siblings): Make visible the private entities of private-withed
+       siblings.
+       (Install_Withed_Unit): Do not install the private withed unit if we
+       are compiling a package declaration and the Private_With_OK flag was
+       not set by the caller. These declarations will be installed later,
+       just before we analyze the private part of the package.
+
+       * sem_ch3.adb (Analyze_Object_Declaration): In case of errors detected
+       during the evaluation of the expression that initializes the object,
+       decorate it with the expected type to avoid cascade errors.
+       Code cleanup.
+
+       * sem_ch6.adb (Analyze_Subprogram_Body): If we are compiling a library
+       subprogram we have to install the private_with clauses after its
+       specification has been analyzed (as documented in AI-262.TXT).
+
+       * sem_ch8.adb (Has_Private_With): New function. Determines if the
+       current compilation unit has a private with on a given entity.
+       (Find_Direct_Name): Detect the Beaujolais problem described in
+       AI-262.TXT
+
+       * sem_utils.ads, sem_util.adb (Is_Ancestor_Package): New function. It
+       provides the functionality of the function Is_Ancestor that was
+       previously available in sem_ch10. It has been renamed to avoid
+       overloading.
+
+       * sprint.adb (Sprint_Node_Actual): Print limited_with clauses
+
+2004-05-14  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * utils.c (build_vms_descriptor): Use SImode pointers.
+
+2004-05-14  Vasiliy Fofanov  <fofanov@act-europe.fr>
+
+       * gnat_ugn.texi: Revised chapter "GNAT and Libraries".
+
+2004-05-14  GNAT Script  <nobody@gnat.com>
+
+       * Make-lang.in: Makefile automatically updated
+
+2004-05-14  Arnaud Charlet  <charlet@act-europe.fr>
+
+       Renaming of target specific files for clarity
+
+        * Makefile.in: Rename GNAT target specific files.
+
+       * 31soccon.ads, 31soliop.ads 35soccon.ads, 3asoccon.ads,
+       3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3psoccon.ads,
+       3ssoccon.ads, 3ssoliop.ads, 3veacodu.adb, 3vexpect.adb,
+       3vsoccon.ads, 3vsocthi.adb, 3vsocthi.ads, 3vtrasym.adb,
+       3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads, 3wsoliop.ads,
+       3zsoccon.ads, 3zsocthi.adb, 3zsocthi.ads, 41intnam.ads,
+       42intnam.ads, 45intnam.ads, 4aintnam.ads, 4cintnam.ads,
+       4gintnam.ads, 4hexcpol.adb, 4hintnam.ads, 4lintnam.ads,
+       4nintnam.ads, 4ointnam.ads, 4onumaux.ads, 4pintnam.ads,
+       4sintnam.ads, 4vcaldel.adb, 4vcalend.adb, 4vcalend.ads,
+       4vintnam.ads, 4wcalend.adb, 4wexcpol.adb, 4wintnam.ads,
+       4zintnam.ads, 4znumaux.ads, 4zsytaco.adb, 4zsytaco.ads,
+       51osinte.adb, 51osinte.ads, 51system.ads,
+       52osinte.adb, 52osinte.ads, 53osinte.ads, 54osinte.ads,
+       55osinte.adb, 55osinte.ads, 55system.ads, 56osinte.adb,
+       56osinte.ads, 56system.ads, 56taprop.adb, 56taspri.ads,
+       56tpopsp.adb, 57system.ads, 58system.ads,
+       5amastop.adb, 5aml-tgt.adb, 5aosinte.adb, 5aosinte.ads,
+       5asystem.ads, 5ataprop.adb, 5atasinf.ads, 5ataspri.ads,
+       5atpopsp.adb, 5avxwork.ads, 5bml-tgt.adb, 5bosinte.adb,
+       5bosinte.ads, 5bsystem.ads, 5cosinte.ads, 5csystem.ads,
+       5dsystem.ads, 5esystem.ads, 5fintman.adb, 5fosinte.adb,
+       5fosinte.ads, 5fsystem.ads, 5ftaprop.adb, 5ftasinf.ads,
+       5ginterr.adb, 5gintman.adb, 5gmastop.adb, 5gml-tgt.adb,
+       5gosinte.ads, 5gproinf.adb, 5gproinf.ads, 5gsystem.ads,
+       5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, 5gtpgetc.adb,
+       5hml-tgt.adb, 5hosinte.adb, 5hosinte.ads, 5hparame.ads,
+       5hsystem.ads, 5htaprop.adb, 5htaspri.ads, 5htraceb.adb,
+       5iosinte.adb, 5iosinte.ads, 5itaprop.adb, 5itaspri.ads,
+       5ksystem.ads, 5kvxwork.ads, 5lml-tgt.adb, 5losinte.ads,
+       5lparame.adb, 5lsystem.ads, 5msystem.ads, 5mvxwork.ads,
+       5ninmaop.adb, 5nintman.adb, 5nosinte.ads, 5nsystem.ads,
+       5ntaprop.adb, 5ntaspri.ads, 5ointerr.adb, 5omastop.adb,
+       5oosinte.adb, 5oosinte.ads, 5oosprim.adb, 5oparame.adb,
+       5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5posinte.ads,
+       5posprim.adb, 5psystem.ads, 5pvxwork.ads, 5sintman.adb,
+       5sml-tgt.adb, 5sosinte.adb, 5sosinte.ads, 5sosprim.adb,
+       5sparame.adb, 5ssystem.ads, 5staprop.adb, 5stasinf.adb,
+       5stasinf.ads, 5staspri.ads, 5stpopsp.adb, 5svxwork.ads,
+       5tosinte.ads, 5usystem.ads, 5vasthan.adb, 5vdirval.adb,
+       5vinmaop.adb, 5vinterr.adb, 5vintman.adb, 5vintman.ads,
+       5vmastop.adb, 5vml-tgt.adb, 5vosinte.adb, 5vosinte.ads,
+       5vosprim.adb, 5vosprim.ads, 5vparame.ads, 5vsymbol.adb,
+       5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads, 5vtpopde.adb,
+       5vtpopde.ads, 5vtraent.adb, 5vtraent.ads, 5vvaflop.adb,
+       5wdirval.adb, 5wgloloc.adb, 5wintman.adb, 5wmemory.adb,
+       5wml-tgt.adb, 5wosinte.ads, 5wosprim.adb, 5wsystem.ads,
+       5wtaprop.adb, 5wtaspri.ads, 5xparame.ads, 5xsystem.ads,
+       5xvxwork.ads, 5yparame.ads, 5ysystem.ads, 5zinterr.adb,
+       5zintman.adb, 5zintman.ads, 5zml-tgt.adb, 5zosinte.adb,
+       5zosinte.ads, 5zosprim.adb, 5zparame.ads, 5zstchop.adb,
+       5zsystem.ads, 5ztaprop.adb, 5ztaspri.ads, 5ztfsetr.adb,
+       5ztpopsp.adb, 6vcpp.adb, 6vcstrea.adb, 6vinterf.ads,
+       7sinmaop.adb, 7sintman.adb, 7sosinte.adb, 7sosprim.adb,
+       7staprop.adb, 7staspri.ads, 7stfsetr.adb, 7stpopsp.adb,
+       7straceb.adb, 7straces.adb, 7strafor.adb, 7strafor.ads,
+       7stratas.adb, 86numaux.adb, 86numaux.ads: Replaced by files below.
+
+       * a-caldel-vms.adb, a-calend-mingw.adb, a-calend-vms.adb,
+       a-calend-vms.ads, a-dirval-mingw.adb, a-dirval-vms.adb,
+       a-excpol-abort.adb, a-excpol-interix.adb, a-intnam-aix.ads,
+       a-intnam-dummy.ads, a-intnam-freebsd.ads, a-intnam-hpux.ads,
+       a-intnam-interix.ads, a-intnam-irix.ads, a-intnam-linux.ads,
+       a-intnam-lynxos.ads, a-intnam-mingw.ads, a-intnam-os2.ads,
+       a-intnam-solaris.ads, a-intnam-tru64.ads, a-intnam-unixware.ads,
+       a-intnam-vms.ads, a-intnam-vxworks.ads, a-numaux-libc-x86.ads,
+       a-numaux-vxworks.ads, a-numaux-x86.adb, a-numaux-x86.ads,
+       a-sytaco-vxworks.adb, a-sytaco-vxworks.ads, g-eacodu-vms.adb,
+       g-expect-vms.adb, g-soccon-aix.ads, g-soccon-freebsd.ads,
+       g-soccon-hpux.ads, g-soccon-interix.ads, g-soccon-irix.ads,
+       g-soccon-mingw.ads, g-soccon-solaris.ads, g-soccon-tru64.ads,
+       g-soccon-unixware.ads, g-soccon-vms.adb, g-soccon-vxworks.ads,
+       g-socthi-mingw.adb, g-socthi-mingw.ads, g-socthi-vms.adb,
+       g-socthi-vms.ads, g-socthi-vxworks.adb, g-socthi-vxworks.ads,
+       g-soliop-mingw.ads, g-soliop-solaris.ads, g-soliop-unixware.ads,
+       g-trasym-vms.adb, i-cpp-vms.adb, i-cstrea-vms.adb,
+       interfac-vms.ads, mlib-tgt-aix.adb, mlib-tgt-hpux.adb,
+       mlib-tgt-irix.adb, mlib-tgt-linux.adb, mlib-tgt-mingw.adb,
+       mlib-tgt-solaris.adb, mlib-tgt-tru64.adb, mlib-tgt-vms.adb,
+       mlib-tgt-vxworks.adb, s-asthan-vms.adb, s-gloloc-mingw.adb,
+       s-inmaop-dummy.adb, s-inmaop-posix.adb, s-inmaop-vms.adb,
+       s-interr-dummy.adb, s-interr-sigaction.adb, s-interr-vms.adb,
+       s-interr-vxworks.adb, s-intman-dummy.adb, s-intman-irix.adb,
+       s-intman-irix-athread.adb, s-intman-mingw.adb, s-intman-posix.adb,
+       s-intman-solaris.adb, s-intman-vms.adb, s-intman-vms.ads,
+       s-intman-vxworks.adb, s-intman-vxworks.ads, s-mastop-irix.adb,
+       s-mastop-tru64.adb, s-mastop-vms.adb, s-mastop-x86.adb,
+       s-memory-mingw.adb, s-osinte-aix.adb, s-osinte-aix.ads,
+       s-osinte-aix-fsu.ads, s-osinte-dummy.ads, s-osinte-freebsd.adb,
+       s-osinte-freebsd.ads, s-osinte-fsu.adb, s-osinte-hpux.ads,
+       s-osinte-hpux-dce.adb, s-osinte-hpux-dce.ads, s-osinte-interix.ads,
+       s-osinte-irix.adb, s-osinte-irix.ads, s-osinte-irix-athread.ads,
+       s-osinte-linux.ads, s-osinte-linux-fsu.ads, s-osinte-linux-ia64.ads,
+       s-osinte-lynxos-3.adb, s-osinte-lynxos-3.ads, s-osinte-lynxos.adb,
+       s-osinte-lynxos.ads, s-osinte-mingw.ads, s-osinte-os2.adb,
+       s-osinte-os2.ads, s-osinte-posix.adb, s-osinte-solaris.adb,
+       s-osinte-solaris.ads, s-osinte-solaris-fsu.ads,
+       s-osinte-solaris-posix.ads, s-osinte-tru64.adb, s-osinte-tru64.ads,
+       s-osinte-unixware.adb, s-osinte-unixware.ads, s-osinte-vms.adb,
+       s-osinte-vms.ads, s-osinte-vxworks.adb,
+       s-osinte-vxworks.ads, s-osprim-mingw.adb,
+       s-osprim-os2.adb, s-osprim-posix.adb, s-osprim-solaris.adb,
+       s-osprim-unix.adb, s-osprim-vms.adb, s-osprim-vms.ads,
+       s-osprim-vxworks.adb, s-parame-ae653.ads, s-parame-hpux.ads,
+       s-parame-linux.adb, s-parame-os2.adb, s-parame-solaris.adb,
+       s-parame-vms.ads, s-parame-vms-restrict.ads, s-parame-vxworks.ads,
+       s-proinf-irix-athread.adb, s-proinf-irix-athread.ads,
+       s-stchop-vxworks.adb, s-taprop-dummy.adb,
+       s-taprop-hpux-dce.adb, s-taprop-irix.adb,
+       s-taprop-irix-athread.adb, s-taprop-linux.adb, s-taprop-lynxos.adb,
+       s-taprop-mingw.adb, s-taprop-os2.adb, s-taprop-posix.adb,
+       s-taprop-solaris.adb, s-taprop-tru64.adb, s-taprop-vms.adb,
+       s-taprop-vxworks.adb, s-tasinf-irix.ads, s-tasinf-irix-athread.adb,
+       s-tasinf-irix-athread.ads, s-tasinf-solaris.adb, s-tasinf-solaris.ads,
+       s-tasinf-tru64.ads, s-taspri-dummy.ads, s-taspri-hpux-dce.ads,
+       s-taspri-linux.ads, s-taspri-lynxos.ads, s-taspri-mingw.ads,
+       s-taspri-os2.ads, s-taspri-posix.ads, s-taspri-solaris.ads,
+       s-taspri-tru64.ads, s-taspri-vms.ads, s-taspri-vxworks.ads,
+       s-tfsetr-default.adb, s-tfsetr-vxworks.adb, s-tpopde-vms.adb,
+       s-tpopde-vms.ads, s-tpopsp-lynxos.adb, s-tpopsp-posix.adb,
+       s-tpopsp-posix-foreign.adb, s-tpopsp-solaris.adb, s-tpopsp-vxworks.adb,
+       s-traceb-hpux.adb, s-traceb-mastop.adb, s-traces-default.adb,
+       s-traent-vms.adb, s-traent-vms.ads, s-trafor-default.adb,
+       s-trafor-default.ads, s-tratas-default.adb, s-vaflop-vms.adb,
+       s-vxwork-alpha.ads, s-vxwork-m68k.ads, s-vxwork-mips.ads,
+       s-vxwork-ppc.ads, s-vxwork-sparcv9.ads, s-vxwork-xscale.ads,
+       symbols-vms.adb, system-aix.ads, system-freebsd-x86.ads,
+       system-hpux.ads, system-interix.ads, system-irix-n32.ads,
+       system-irix-o32.ads, system-linux-x86_64.ads,
+       system-linux-x86.ads, system-lynxos-ppc.ads, system-lynxos-x86.ads,
+       system-mingw.ads, system-os2.ads, system-solaris-sparc.ads,
+       system-solaris-sparcv9.ads, system-solaris-x86.ads, system-tru64.ads,
+       system-unixware.ads, system-vms.ads, system-vms-zcx.ads,
+       system-vxworks-alpha.ads, system-vxworks-m68k.ads,
+       system-vxworks-mips.ads, system-vxworks-ppc.ads,
+       system-vxworks-sparcv9.ads, system-vxworks-xscale.ads: Replace files
+       above.
+
+2004-05-13  Zack Weinberg  <zack@codesourcery.com>
+
+       * trans.c (gnat_stabilize_reference_1): Remove case 'b'.
+
+2004-05-13  Diego Novillo  <dnovillo@redhat.com>
+
+       Merge from tree-ssa-20020619-branch.
+
+       * config-lang.in (boot_language, build_by_default): Set
+       to no.
+       * utils.c (unchecked_convert): Use OEP_ONLY_CONST.
+       (max_size): Add static chain op for call_expr.
+
+2004-05-12  Richard Sandiford  <rsandifo@redhat.com>
+
+       PR target/15331
+       * 5gmastop.adb (Roff): Choose between '4' and '0', not '4' and ' '.
+
+2004-05-11  Roger Sayle  <roger@eyesopen.com>
+
+       * utils.c (max_size): Use MIN_EXPR to find the minimum value of a
+       COND_EXPR.
+
+2004-05-10  Doug Rupp  <rupp@gnat.com>
+
+       * 5qsystem.ads: Remove Short_Address subtype declaration. Moved to
+       system.aux_dec.
+
+       * s-auxdec.ads: Add Short_Address subtype (moved here from System).
+
+       * Makefile.in: [VMS]: Add translation for 5qauxdec.ads.
+
+       * init.c: [VMS] Macroize LIB$ calls for IA64 and Alpha.
+       Fixes undefined symbols in IA64 gnatlib.
+
+       * 5vinmaop.adb: Reference s-auxdec for Short_Address.
+
+       * 5xsystem.ads, 5vsystem.ads: Back out last change (addition of subtype
+       Short_Address). This will be moved to system.auxdec.
+
+2004-05-10  Thomas Quinot  <quinot@act-europe.fr>
+
+       * sem_util.adb: Replace test for presence of a node that is always
+       present with a call to Discard_Node.
+
+       * sem_ch10.adb (Analyze_Compilation_Unit): Remove superfluous call to
+       Analyze on the library unit node after generation of distribution stub
+       constructs.  The call was a no-op because Unit_Node has already been
+       Analyzed, and the tree fragments for the distribution stubs are
+       analyzed as they are inserted in Exp_Dist.
+       Update comment regarding to distribution stubs to reflect that we
+       do not generate stub in separate files anymore.
+
+       * einfo.ads: Clarify the fact that a tagged private type has the
+       E_Record_Type_With_Private Ekind.
+
+       * erroutc.adb: Minor reformatting
+
+       * erroutc.ads (Max_Msg_Length): Increase to cover possible larger
+       values if line length is increased using -gnatyM (noticed during code
+       reading).
+
+       * eval_fat.adb: Minor reformatting
+       Put spaces around exponentiation operator
+
+2004-05-10  Ed Schonberg  <schonberg@gnat.com>
+
+       PR ada/15005
+       * sem_util.adb (Is_Dependent_Component_Of_Mutable_Object): If prefix
+       has been rewritten as an explicit dereference, retrieve type of
+       original node to check for possibly unconstrained record type.
+
+2004-05-10  Ed Schonberg  <schonberg@gnat.com>
+
+       * exp_ch7.adb (Check_Visibly_Controlled): If given operation is not
+       overriding, use the operation of the parent unconditionally.
+
+       * sem_ch4.adb (Remove_Address_Interpretations): Remove address
+       operation when either operand is a literal, to avoid further
+       ambiguities.
+
+       * sem_ch6.adb (New_Overloaded_Entity): If new entity is inherited and
+       overridden by a previous explicit declaration, mark the previous entity
+       as overriding.
+
+       * sem_disp.adb (Check_Dispatching_Operation): New predicate
+       Is_Visibly_Controlled, to determine whether a declaration of a
+       primitive control operation for a derived type overrides an inherited
+       one. Add warning if the explicit declaration does not override.
+
+2004-05-10  Vincent Celier  <celier@gnat.com>
+
+       * gnatls.adb (Gnatls): Initialize Snames, to avoid assertion error in
+       some cases when the sources are no longer present.
+
+       * make.adb (Collect_Arguments): Fail if an external source, not part
+       of any project need to be compiled, when switch -x has not been
+       specified.
+
+       * makeusg.adb: Document new switch -x
+
+       * opt.ads (External_Unit_Compilation_Allowed): New Boolean flag,
+       defaulted to False.
+
+       * switch-m.adb (Scan_Make_Switches): New switch -x
+
+       * vms_data.ads: Add VMS qualifier /NON_PROJECT_UNIT_COMPILATION for
+       gnatmake switch -x.
+
+       * gnat_ugn.texi: Document new gnatmake switch -x
+
+2004-05-10  Eric Botcazou  <ebotcazou@act-europe.fr>
+
+       * misc.c (gnat_init_options): Set flag_zero_initialized_in_bss to 0.
+
+       * utils.c (create_var_decl): Do not modify the DECL_COMMON flag.
+       (process_attributes): Likewise.
+
+2004-05-10  Joel Brobecker  <brobecker@gnat.com>
+
+       * s-inmaop.ads: Fix spelling mistake in one of the comments.
+
+2004-05-10  Robert Dewar  <dewar@gnat.com>
+
+       * gnat_ugn.texi: Document that for config pragma files, the maximum
+       line length is always 32767.
+
+       * gnat_rm.texi: For pragma Eliminate, note that concatenation of string
+       literals is now allowed.
+
+       * gnat-style.texi: Remove statement about splitting long lines before
+       an operator rather than after, since we do not follow this rule at all.
+       Clarify rule (really lack of rule) for spaces around exponentiation
+
+       * sem_elim.adb: Allow concatenation of string literals as well as a
+       single string literal for pragma arguments.
+
+       * sem_prag.ads, sem_prag.adb: (Is_Config_Static_String): New function
+
+       * a-textio.adb (Terminate_Line): Do not add line feed if nothing
+       written for append case.
+
+       * frontend.adb: Changes to avoid checking max line length in config
+       pragma files.
+
+       * g-os_lib.ads: Minor reformatting
+
+       * mlib-utl.adb: Do not define Max_Line_Length locally (definition was
+       wrong in any case. Instead use standard value. Noticed during code
+       reading.
+
+       * opt.ads (Max_Line_Length): New field, used to implement removal of
+       limitation on length of lines when scanning config pragma files.
+
+       * osint.ads, prj-dect.adb, prj-strt.adb, prj-tree.adb,
+       makeutl.ads, makeutl.adb: Minor reformatting
+
+       * scn.adb: Do not check line length while scanning config pragma files
+       Do not check line length while scanning out license information
+
+       * scng.adb: Changes to avoid line length checks while parsing config
+       pragma files.
+
+2004-05-10  GNAT Script  <nobody@gnat.com>
+
+       * Make-lang.in: Makefile automatically updated
+
+2004-05-05  Arnaud Charlet  <charlet@act-europe.fr>
+
+       * osint.adb (Find_Program_Name): Fix handling of VMS version
+       number.
+
+2004-05-05  Emmanuel Briot  <briot@act-europe.fr>
+
+       * g-os_lib.ads (Invalid_Time): New constant
+
+       * adaint.h, adaint.c (__gnat_file_time_name, __gnat_file_time_fd): Now
+       return OS_Time instead of time_t to match what is imported by Ada.
+       Now return -1 if the file doesn't exist, instead of a random value
+
+2004-05-05  Robert Dewar  <dewar@gnat.com>
+
+       * usage.adb: Add line for -gnatR?s switch
+
+       * sem_ch13.adb, exp_ch2.adb: Minor reformatting
+
+       * g-regpat.ads, g-regpat.adb: Add documentation on handling of Size
+       and for Match (Data_First, Data_last)
+
+       * lib-writ.adb (Write_With_Lines): Ensure that correct index number is
+       written when we are dealing with multi-unit files.
+
+2004-05-05  Jerome Guitton  <guitton@act-europe.fr>
+
+       * Makefile.in: Remove unused targets and variables.
+
+2004-05-05  Vincent Celier  <celier@gnat.com>
+
+       * switch-m.adb: New gnatmake switch -eI
+
+       * vms_data.ads: Add VMS equivalents of new gnatclean swith -innn and
+       of new gnatmake switch -eInnn.
+
+       * makegpr.adb: Take into account new parameters Index and Src_Index in
+       Prj.Util.
+
+       * clean.adb: Implement support for multi-unit sources, including new
+       switch -i.
+
+       * gnatcmd.adb (GNATCmd): Call Prj.Util.Value_Of with new parameter
+       Src_Index.
+
+       * make.ads, make.adb (Insert_Q): New parameter Index, defaulted to 0
+       (Extract_From_Q): New out parameter Index
+       (Mark, Is_Marked): Subprograms moved to Makeutl
+       (Switches_Of): New parameter Source_Index
+       (Add_Switch): New parameter Index
+       (Check): New parameter Source_Index
+       (Collect_Arguments): New parameter Source_Index
+       (Collect_Arguments_And_Compile): New parameter Source_Index
+       (Compile): New parameter Source_Index
+       Put subprograms in alphabetical order
+       Add support for multi-source sources, including in project files.
+
+       * makeutl.ads, makeutl.adb (Unit_Index_Of): New function
+       (Mark, Is_Marked, Delete_All_Marks): New subprograms, moved from
+       Make.
+
+       * makeusg.adb: New gnatmake switch -eInnn
+
+       * mlib-prj.adb (Build_Library): Add new parameter Src_Index to call to
+       Prj.Util.Value_Of.
+
+       * opt.ads (Main_Index): New variable, defaulted to 0.
+
+       * osint.ads, osinte.adb (Add_File): New parameter Index
+       (Current_Source_Index): New function
+
+       * prj.adb: Take into account new components Index and Src_Index
+
+       * prj.ads (String_Element): New component Index
+       (Variable_Value): New component Index
+       (Array_Element): New component Src_Index
+
+       * prj-attr.adb: Indicate that optional index may be specified for
+       attributes Main, Executable, Spec, Body and some of Switches.
+
+       * prj-attr.ads (Attribute_Kind): New values for optional indexes
+       (Attribute_Record): New component Optional_Index
+
+       * prj-com.ads (File_Name_Data): New component Index
+
+       * prj-dect.adb (Parse_Attribute_Declaration): Process optional index
+
+       * prj-env.adb (Put): Output optional index
+
+       * prj-makr.adb: Put indexes for multi-unit sources in SFN pragmas and
+       attributes Spec and Body.
+
+       * prj-nmsc.adb: Process optional indexes
+
+       * prj-pp.adb: Ouput "at" for optional indexes
+
+       * prj-proc.adb: Take into account optional indexes
+
+       * prj-strt.ads, prj-strt.adb (Terms): New Boolean parameter
+       Optional_Index. For string literal,
+       process optional index when Optional_Index is True.
+       (Parse_Expresion): New Boolean parameter Optional_Index
+
+       * prj-tree.ads, prj-tree.adb (Source_Index_Of): New function
+       (Set_Source_Index_Of): New procedure
+
+       * prj-util.adb (Executable_Of, Value_Of): Take into account optional
+       index.
+
+       * prj-util.ads (Executable_Of): New parameter Index
+       (Value_Of (Name_Id, Array_Element_Id) returning Variable_Value):
+       New parameter Src_Index, defaulted to 0.
+
+2004-05-05  Ed Schonberg  <schonberg@gnat.com>
+
+       PR ada/15257
+       * sem_ch3.adb (Access_Definition): If this is an access parameter
+       whose designated type is imported through a limited_with clause, do
+       not add the enclosing subprogram to the list of private dependents of
+       the type.
+
+2004-05-05  Ed Schonberg  <schonberg@gnat.com>
+
+       PR ada/15258
+       * sem_ch6.adb (Base_Types_Match): True if one type is imported through
+       a limited_with clause, and the other is its non-limited view.
+
+2004-05-05  Thomas Quinot  <quinot@act-europe.fr>
+
+       * cstand.adb (Create_Standard): Initialize Stand.Boolean_Literals.
+
+       * exp_attr.adb, exp_ch5.adb, exp_ch9.adb, exp_disp.adb,
+       exp_fixd.adb, sem_attr.adb, sem_dist.adb, sem_util.adb: Use
+       Stand.Boolean_Literals to produce references to entities
+       Standard_False and Standard_True from compile-time computed boolean
+       values.
+
+       * stand.ads (Boolean_Literals): New variable, provides the entity
+       values for False and True, for use by the expander.
+
+2004-05-05  Doug Rupp  <rupp@gnat.com>
+
+       * 5vinmaop.adb, 5[vx]system.ads: Add Short_Address subtype
+       5vinmaop.adb: Unchecked convert Short_Address vice Address
+
+       * adaint.c, raise.c: Caste CRTL function return value
+       to avoid gcc error on 32/64 bit IVMS.
+
+       * Makefile.in [VMS]: Use iar archiver if host = Alpha/VMS and
+       target = IA64/VMS.
+
+       * init.c[VMS]: Only call Alpha specific __gnat_error_prehandler IN_RTS.
+
+       * 5qsystem.ads (Address): Declare as Long_Integer
+       (Short_Address): Declare as 32 bit subtype of Address
+       Declare  abstract address operations to avoid gratuitous ambiguities.
+
+2004-05-05  Jose Ruiz  <ruiz@act-europe.fr>
+
+       * gnat_rm.texi: Use the new restriction Simple_Barriers (AI-249)
+       instead of the old Boolean_Entry_Barriers.
+       Ditto for No_Task_Attributes_Package instead of No_Task_Attributes.
+
+2004-05-05  GNAT Script  <nobody@gnat.com>
+
+       * Make-lang.in: Makefile automatically updated
+
 2004-05-03  Arnaud Charlet  <charlet@act-europe.fr>
 
        * 50system.ads, 59system.ads, s-thread.ads: Removed, no longer used.
 
 2004-04-23  Laurent GUERBY <laurent@guerby.net>
 
-       * Makefile.in: Remove RANLIB_TEST, use -$(RANLIB) including after 
+       * Makefile.in: Remove RANLIB_TEST, use -$(RANLIB) including after
        install.
-       
+
 2004-04-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
 
        * Make-lang.in (GNATBIND_OBJS): Add s-addope.o.
        * Make-lang.in: Add entry for s-addope.o to GNAT1 objects
        * s-addope.ads, s-addope.adb: New files.
 
-       * s-carsi8.adb, s-carun8.adb, s-casi16.adb, s-casi32.adb, 
-       s-casi64.adb, s-caun16.adb, s-caun32.adb, s-caun64.adb, 
+       * s-carsi8.adb, s-carun8.adb, s-casi16.adb, s-casi32.adb,
+       s-casi64.adb, s-caun16.adb, s-caun32.adb, s-caun64.adb,
        s-finimp.adb, s-geveop.adb, s-stoele.adb: Modifications to allow
        System.Address to be non-private and signed.
 
 2004-04-23  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
 
        * trans.c (tree_transform, build_unit_elab): Don't call getdecls.
-        (tree_transform, case N_If_Statement): Remove non-determinism.
+       (tree_transform, case N_If_Statement): Remove non-determinism.
 
        * utils.c (begin_subprog_body): Just set DECL_CONTEXT in PARM_DECL.
 
 
        * sem_util.ads, sem_util.adb: (Has_Declarations): New subprogram
 
-       * sinfo.ads, sinfo.adb: 
+       * sinfo.ads, sinfo.adb:
        New field Access_To_Subprogram_Definition in Access_Definition nodes
 
        * sem_ch6.adb (Process_Formals): Move here the code that creates and
 
        PR ada/14988 (partial)
        * impunit.adb: Fix typo.
-       
+
 2004-04-14  Nathanael Nerode  <neroden@gcc.gnu.org>
 
        * Make-lang.in: Remove obsolete rts-none, rts-cert, install-rts-none,
        duplication between normal entities and those declared as renamings.
        No functional change.
 
-       * s-fileio.ads (Form): Remove pragma Inline, as we cannot currently     
+       * s-fileio.ads (Form): Remove pragma Inline, as we cannot currently
        inline functions returning an unconstrained result.
 
 2004-04-08  Eric Botcazou  <ebotcazou@act-europe.fr>
 
 2004-03-19  Laurent Guerby <laurent@guerby.net>
 
-       * sem_prag.adb (Suppress_Unsuppress_Echeck): use loop instead of 
+       * sem_prag.adb (Suppress_Unsuppress_Echeck): use loop instead of
        aggregate, allows bootstrap from 3.3 on powerpc-darwin.
-       
+
 2004-03-18  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
 
        * ada-tree.h (TYPE_LEFT_JUSTIFIED_MODULAR_P): Add checking.
 
        * a-tags.adb, a-tags.ads, s-finimp.adb, s-finroo.ads,
        i-cpoint.ads, i-cpoint.adb, i-cstrin.adb, i-cstrin.ads,
-       5iosinte.ads, 5sosinte.ads, 5staspri.ads, 5itaprop.adb, 
+       5iosinte.ads, 5sosinte.ads, 5staspri.ads, 5itaprop.adb,
        5staprop.adb, 5wtaprop.adb, s-tataat.ads, s-tataat.adb: Move
        unchecked conversion to spec to avoid warnings.
 
 
        PR ada/6637, PR ada/5911
        Merge with libada-branch:
-        * config-lang.in: Build libada only when ada is built.
+       * config-lang.in: Build libada only when ada is built.
 
 2004-02-09  Ed Schonberg  <schonberg@gnat.com>
 
 
 2004-02-04  Ed Schonberg  <schonberg@gnat.com>
 
-       * sem_prag.adb: 
+       * sem_prag.adb:
        (Analyze_Pragma, case Warnings): In an inlined body, as in an instance
         body, an identifier may be wrapped in an unchecked conversion.
 
 
 2004-01-30  Kelley Cook  <kcook@gcc.gnu.org>
 
-       * Make-lang.in (doc/gnat_ug_unx.dvi): Use $(abs_docdir). 
+       * Make-lang.in (doc/gnat_ug_unx.dvi): Use $(abs_docdir).
        (doc/gnat_ug_vms.dvi, doc/gnat_ug_unx.dvi): Likewise.
        (doc/gnat_ug_unx.dvi, doc/gnat-style.dvi): Likewise.
 
        (Wakeup): Likewise.
        (Exit_Task): Use Result.
        (Check_No_Locks): Mark Self_ID unreferenced.
-       
+
        * 5gtasinf.adb (New_Sproc): Make Attr constant.
        (Bound_Thread_Attributes): Make Sproc constant.
        (New_Bound_Thread_Attributes): Likewise.