aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada
AgeCommit message (Collapse)Author
2007-01-31Mark ChangeLogGabriel Dos Reis
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_0-branch@121382 138bc75d-0d04-0410-961f-82ee72b054a4
2006-03-11 Backport from mainline:Eric Botcazou
2006-02-13 Ed Schonberg <schonberg@adacore.com> PR ada/25885 * sem_res.adb (Set_Literal_String_Subtype): If the lower bound is not static, wrap the literal in an unchecked conversion, because GCC 4.x needs a static value for a string bound. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_0-branch@111965 138bc75d-0d04-0410-961f-82ee72b054a4
2006-03-09Mark ChangeLogMark Mitchell
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_0-branch@111881 138bc75d-0d04-0410-961f-82ee72b054a4
2006-02-17 Backport from mainline:Eric Botcazou
2006-02-13 Geert Bosch <bosch@adacore.com> Gary Dismukes <dismukes@adacore.com> * a-tifiio.adb (Put_Digits): Test Last against To'First - 1 instead of 0, since the lower bound of the actual string may be greater than one. PR ada/20753 (Put): Fix condition to raise Layout_Error when invalid layout is requested. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_0-branch@111180 138bc75d-0d04-0410-961f-82ee72b054a4
2006-01-20 PR ada/24533John David Anglin
* s-osinte-linux-hppa.ads: Reduce alignment of atomic_lock_t to 8. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_0-branch@110027 138bc75d-0d04-0410-961f-82ee72b054a4
2005-12-29 * s-osinte-linux-hppa.ads: Correct alignment of atomic_lock_t.John David Anglin
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_0-branch@109154 138bc75d-0d04-0410-961f-82ee72b054a4
2005-11-142005-11-14 Robert Dewar <dewar@adacore.com>Robert Dewar
PR ada/18434 * osint-m.adb: Add pragma Elaborate_All for Osint git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_0-branch@106906 138bc75d-0d04-0410-961f-82ee72b054a4
2005-11-10 PR ada/23995Eric Botcazou
* trans.c (call_to_gnu): Restore statement lost in translation. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_0-branch@106732 138bc75d-0d04-0410-961f-82ee72b054a4
2005-10-21 PR ada/22418Olivier Hainque
* decl.c (maybe_pad_type): Use proper bitsizetype for XVZ objects, as we create them to store a size in bits. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_0-branch@105744 138bc75d-0d04-0410-961f-82ee72b054a4
2005-10-21 PR ada/21937Eric Botcazou
PR ada/22328 PR ada/22381 PR ada/22383 PR ada/22419 PR ada/22420 * utils2.c (build_return_expr): New helper function. * gigi.h (build_return_expr): Declare it. * trans.c (Subprogram_Body_to_gnu): Use build_return_expr instead of manually building the RETURN_EXPR tree. (call_to_gnu): Pass MODIFY_EXPR through build_binary_op. (gnat_to_gnu) <N_Return_Statement>: Pass MODIFY_EXPR through build_binary_op for the "target pointer" case. �Use build_return_expr instead of manually building the RETURN_EXPR tree. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_0-branch@105742 138bc75d-0d04-0410-961f-82ee72b054a4
2005-09-21Mark ChangeLogMark Mitchell
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_0-branch@104478 138bc75d-0d04-0410-961f-82ee72b054a4
2005-07-07Mark ChangeLogMark Mitchell
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_0-branch@101723 138bc75d-0d04-0410-961f-82ee72b054a4
2005-04-242005-04-24 Laurent GUERBY <laurent@guerby.net>Laurent GUERBY
PR ada/18847 * a-nudira.adb (Value): Check for valid string. * a-nuflra.adb (Value): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_0-branch@98667 138bc75d-0d04-0410-961f-82ee72b054a4
2005-04-21Mark ChangeLogMark Mitchell
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_0-branch@98490 138bc75d-0d04-0410-961f-82ee72b054a4
2005-04-07 * Makefile.in: Add make ifeq define for hppa linux tasking support.Laurent GUERBY
* system-hpux.ads: Define Signed_Zeros to be True. * system-linux-hppa.ads, s-osinte-linux-hppa.ads: New files. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_0-branch@97801 138bc75d-0d04-0410-961f-82ee72b054a4
2005-04-07This commit was manufactured by cvs2svn to create branchno-author
'gcc-4_0-branch'. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_0-branch@97800 138bc75d-0d04-0410-961f-82ee72b054a4
2005-04-07 PR ada/18659Eric Botcazou
PR ada/18819 ada/ * misc.c (tree_sra_requested): New global. (gnat_init_options): Detect -ftree-sra. (gnat_post_options): Enable Tree-SRA only if specifically requested. gcc/ * doc/invoke.texi (Optimize Options): Document that -ftree-sra is not automatically enabled for the Ada compiler. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_0-branch@97774 138bc75d-0d04-0410-961f-82ee72b054a4
2005-04-04 PR ada/19956Eric Botcazou
Backport from mainline: 2005-03-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> * utils.c (finish_record_type): Use variable_size when setting sizes. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_0-branch@97553 138bc75d-0d04-0410-961f-82ee72b054a4
2005-03-17 PR ada/20255Eric Botcazou
Backport from mainline: 2005-03-15 Eric Botcazou <ebotcazou@adacore.com> * utils.c (convert) <UNION_TYPE>: Accept slight type variations when converting to an unchecked union type. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_0-branch@96628 138bc75d-0d04-0410-961f-82ee72b054a4
2005-03-17 PR ada/18727Eric Botcazou
Backport from mainline: 2005-03-15 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> * exp_ch13.adb (Expand_N_Freeze_Entity): If Freeze_Type returns True, replace the N_Freeze_Entity with a null statement. * exp_ch3.adb (Freeze_Type): Now a function that returns True if the N_Freeze_Entity is to be deleted. * exp_ch3.ads (Freeze_Type): Now a function that returns Boolean. * freeze.adb (Undelay_Type): New Subprogram. (Set_Small_Size): Pass T, the type to modify; all callers changed. (Freeze_Entity, Freeze_Record_Type): Change the way we handle types within records; allow them to have freeze nodes if their base types aren't frozen yet. * sem_ch3.adb (Constrain_Access, Constrain_Array): Allow itypes to be delayed. * gigi.h (gnat_to_gnu_field_decl): New decl. * decl.c (gnat_to_gnu_entity, case E_Array_Subtype): Call copy_alias_set. (gnat_to_gnu_field_decl): New function. (substitution_list, annotate_rep): Call it. (gnat_to_gnu_entity, case E_Record_Subtype): Likewise. (gnat_to_gnu_entity, case E_Record_Type): Likewise. No longer update discriminants to not be a COMPONENT_REF. (copy_alias_set): Strip padding from input type; also handle unconstrained arrays properly. * trans.c (gnat_to_gnu, case N_Selected_Component): Call gnat_to_gnu_field_decl. (assoc_to_constructor): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_0-branch@96626 138bc75d-0d04-0410-961f-82ee72b054a4
2005-03-17 PR ada/19408Eric Botcazou
PR ada/19900 Backport from mainline: 2005-03-15 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> * exp_util.adb (Remove_Side_Effects): Properly test for Expansion_Delayed and handle case when it's inside an N_Qualified_Expression. * decl.c (gnat_to_gnu_entity, case E_Component): Always look at Original_Record_Component if Present and not the entity. (gnat_to_gnu_entity, case E_Record_Subtype): Rework handling of subtype of tagged extension types by not making field for components that are inside the parent. * trans.c (gnat_to_gnu, case N_Aggregate): Verify that Expansion_Delayed is False. (assoc_to_constructor): Ignore fields that have a Corresponding_Discriminant. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_0-branch@96624 138bc75d-0d04-0410-961f-82ee72b054a4
2005-03-17 PR ada/19140Eric Botcazou
Backport from mainline: 2005-03-15 Eric Botcazou <ebotcazou@adacore.com> * decl.c (gnat_to_gnu_entity) <E_Variable>: Do not convert again the expression to the type of the object when the object is constant. * utils2.c (build_binary_op): Fix typo. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_0-branch@96615 138bc75d-0d04-0410-961f-82ee72b054a4
2005-03-17 PR ada/19140Eric Botcazou
Backport from mainline: 2005-03-15 Eric Botcazou <ebotcazou@adacore.com> * trans.c (gnat_to_gnu) <N_Return_Statement>: Restructure. Set gnu_result to NULL_TREE on entry. If the function returns "by target", dereference the target pointer using the type of the actual return value. <all>: Be prepared for a null gnu_result. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_0-branch@96613 138bc75d-0d04-0410-961f-82ee72b054a4
2005-03-17 PR ada/20344Eric Botcazou
Backport from mainline: Eric Botcazou <ebotcazou@adacore.com> * lang.opt: Fix specification of -fRTS=. * misc.c (gnat_handle_option): Accept OPT_fRTS_, not OPT_fRTS. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_0-branch@96612 138bc75d-0d04-0410-961f-82ee72b054a4
2005-03-15 * Make-lang.in (ada/treeprs.ads, ada/einfo.h, ada/sinfo.h,Jakub Jelinek
ada/nmake.adb, ada/nmake.ads): Use unique subdirectories of ada/bldtools to avoid make -jN failures. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_0-branch@96532 138bc75d-0d04-0410-961f-82ee72b054a4
2005-03-082005-03-08 Laurent Guerby <laurent@guerby.net>Laurent Guerby
* system-linux-sparc.ads: Fix typo in previous commit. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_0-branch@96127 138bc75d-0d04-0410-961f-82ee72b054a4
2005-03-082005-03-07 James A. Morrison <phython@gcc.gnu.org>James A. Morrison
Laurent Guerby <laurent@guerby.net> PR ada/20035 * system-linux-sparc.ads: New. * Makefile.in: Add sparc linux entry. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_0-branch@96095 138bc75d-0d04-0410-961f-82ee72b054a4
2005-02-132005-02-13 Andrew Pinski <pinskia@physics.uc.edu>Andrew Pinski
PR ada/19942 * utils.c (gnat_type_for_mode): Return null instead of ICE because we asked for an unknown mode. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@94989 138bc75d-0d04-0410-961f-82ee72b054a4
2005-02-12 * utils.c (gnat_type_for_mode): Return NULL for COMPLEX modes;Richard Henderson
validate SCALAR_INT_MODE_P before calling gnat_type_for_size. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@94946 138bc75d-0d04-0410-961f-82ee72b054a4
2005-02-10 * init.c (__gnat_initialize): Mark parameter as unused.Andreas Jaeger
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@94832 138bc75d-0d04-0410-961f-82ee72b054a4
2005-02-10Minor reformatting.Arnaud Charlet
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@94829 138bc75d-0d04-0410-961f-82ee72b054a4
2005-02-10New file.Arnaud Charlet
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@94828 138bc75d-0d04-0410-961f-82ee72b054a4
2005-02-10Resync.Arnaud Charlet
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@94827 138bc75d-0d04-0410-961f-82ee72b054a4
2005-02-102005-02-09 Sergey Rybin <rybin@adacore.com>Arnaud Charlet
* gnat_ugn.texi: Add to the gnatpp section the paragraph describing the difference between compact and incompact layout and add the record representation clause to the example illustrating different layouts. Add the description of '-A5' gnatpp option ("align 'AT' keywords in component clauses"). 2005-02-09 Florian Villoing <villoing@adacore.com> * gnat_ugn.texi: Fix typos. Use @command to display 'gcc', 'gnatbind', etc. insted of @code or @file. Make proper use of @ref, @xref and @pxref to avoid duplication of "see" in the generated documentation. 2005-02-09 Arnaud Charlet <charlet@adacore.com> * gnat_ugn.texi: Remove all mentions of FSU threads, which are no longer supported. Update linker wrapper when linking with non GNU C++. 2005-02-09 Pascal Obry <obry@adacore.com> * gnat_ugn.texi: Document the procedure to debug the DllMain routine on Windows. Add note about -funwind-tables and mixed Ada and C/C++ programming in ZCX mode. Document new BIND qualifer /RETURN_CODES=VMS. 2005-02-09 Ben Brosgol <brosgol@adacore.com> * gnat_ugn.texi: Wordsmithing of "GNAT and Libraries" chapter Edited gnatmetric chapter 2005-02-09 Robert Dewar <dewar@adacore.com> * gnat_rm.texi: Changes to document new wide wide character support For AI-285 Update documentation on Normalize_Scalars and Initialize_Scalars 2005-02-09 Pascal Obry <obry@adacore.com> * s-taprop-mingw.adb, s-soflin.ads: Minor reformatting. 2005-02-09 Jose Ruiz <ruiz@adacore.com> * s-osinte-vxworks.ads (taskPriorityGet): Add this function (imported from the VxWorks kernel) that is needed for getting the active priority of the different tasks. * s-atacco.ads, s-atacco.adb (Nothing): Remove this dummy procedure. Use a pragma Elaborate_Body in the spec file instead. Noticed by code reading. 2005-02-09 Thomas Quinot <quinot@adacore.com> * exp_util.ads: Minor correction in comment. 2005-02-09 Arnaud Charlet <charlet@adacore.com> * s-taprop.ads (Initialize): Update comments. Remove pragma Inline, since this procedure is now too complex to be worth inlining. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@94826 138bc75d-0d04-0410-961f-82ee72b054a4
2005-02-10 * usage.adb: Add line for switch -gnat05 (allow Ada 2005 extensions)Arnaud Charlet
Slight fix to documentation of -gnaty with no parameters * xr_tabls.ads: Add ??? comment for missing overall comment * xsinfo.adb: Make default file name be sinfo.h, since this is what we now use by default. * xsnames.adb: Adjust end of file test to look for five space followed by '#' instead of six spaces. The format of xsnames.adb was modified in the last update. * a-numeri.ads: Add reference to AI-388 for greek letter pi identifier. * clean.adb: Minor reformatting. * gnat1drv.adb, gnatfind.adb, gnatlink.adb, gnatmem.adb, gnatname.adb: Minor reformatting Add 2005 to copyright output when utility is run * csets.adb: Eliminate obsolete comment * debug.adb, g-socket.ads, i-cobol.adb: Minor reformatting throughout Update comments. * sem_eval.ads (Eval_Integer_Literal): Do not inline this, not useful. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@94825 138bc75d-0d04-0410-961f-82ee72b054a4
2005-02-10 * s-vaflop.adb: Add pragma Warnings (Off) to eliminate infiniteArnaud Charlet
recursion warnings when compiled with -gnatdm. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@94824 138bc75d-0d04-0410-961f-82ee72b054a4
2005-02-10 * s-tporft.adb (Register_Foreign_Thread): Initialize Task_Image[_Len]Arnaud Charlet
fields for foreign threads. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@94823 138bc75d-0d04-0410-961f-82ee72b054a4
2005-02-10 * s-finimp.adb: (Finalize_List): Optimize in the no-abort case.Arnaud Charlet
Minor reformatting. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@94822 138bc75d-0d04-0410-961f-82ee72b054a4
2005-02-10 * sem_ch7.adb (Uninstall_Declarations): Exchange full and privateArnaud Charlet
views of a private type after handling its private dependents, to maintain proper stack discipline between entry and exit from the package. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@94821 138bc75d-0d04-0410-961f-82ee72b054a4
2005-02-10 * sem_ch4.adb (Analyze_Selected_Component): Create Actual_Subtype evenArnaud Charlet
with expansion disabled. The actual subtype is needed among other places when the selected component appears in the context of a loop bound, and denotes a packed array. (Operator_Check): Always use the first subtype in the error message, to avoid the appearance of internal base types. (Transform_Object_Operation): Copy each actual in full to the parameter associations of the constructed call, rather than using the shallow copy mechanism of New_Copy_List. This ensures that the chaining of named associations is done properly. (Complete_Object_Operation): Rewrite node, rather than replacing it, so that we can trace back to the original selected component. * sem_elab.adb (Set_Elaboration_Constraint): For initialization calls, and calls that use object notation, if the called function is not declared in a withed unit, place the elaboration constraint on the unit in the context that makes the function accessible. (Check_Elab_Subtype_Declaration): Check whether a subtype declaration imposes an elaboration constraint between two packages. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@94820 138bc75d-0d04-0410-961f-82ee72b054a4
2005-02-10 * prj-makr.adb (Process_Directory): Put file name in canonical caseArnaud Charlet
before matching against the patterns. If gnatname has been invoked as <prefix>-gnatname then invoke the compiler as <prefix>-gcc, not just "gcc". git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@94819 138bc75d-0d04-0410-961f-82ee72b054a4
2005-02-10 * s-asthan-vms.adb: Removed.Arnaud Charlet
* s-asthan-vms-alpha.adb: Added. * Makefile.in [VMS] (LN,LN_S): Define as cp -p Rename s-asthan-vms.adb to s-asthan-vms-alpha.adb. [VMS]: Add translations for g-enblsp.adb. (LIBGNAT_SRCS): Add seh_init.c. (LIBGNAT_OBJS): Add seh_init.o. PR ada/16592 Link all gnat tools with -static-libgcc, since -shared-libgcc is now used by default on some systems (e.g. linux with recent binutils). Remove references to Makefile.prolog/generic, no longer used. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@94818 138bc75d-0d04-0410-961f-82ee72b054a4
2005-02-10 * make.adb (Gnatmake): Do not fail when the main project has no objectArnaud Charlet
directory. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@94817 138bc75d-0d04-0410-961f-82ee72b054a4
2005-02-10 * init.c (__gnat_initialize): Add a new parameter eh which contains theArnaud Charlet
address of the exception registration. The Win32 version of this routine calls __gnat_install_SEH_handler() to initialize the SEH (Structured Exception Handling) handler. (__gnat_error_handler) [Win32]: Removed. Not needed as we use SEH (Structured Exception Handling) now. (__gnat_install_handler) [Win32]: Nothing to do now as we use SEH. (__gnat_initialize for ppc-vxworks): Adjust comments and the preprocessor condition protecting the call to the extra eh setup subprogram, which is only available for the ppc target. (__gnat_clear_exception_count): replaced reference to variable taskIdCurrent by call to taskIdSelf(), cleaner. * seh_init.c: New file. * Make-lang.in: (GNAT_ADA_OBJS): Add seh_init.o. (GNATBIND_OBJS): Idem. * misc.c (gnat_parse_file): Update call to __gnat_initialize. This routine takes a new parameter (a pointer to the exception registration for the SEH (Structured Exception Handling) support. * raise.h: (__gnat_install_SEH_handler): New prototype. Update copyright notice. * s-tassta.adb (Task_Wrapper): Declare the exception registration record and initialize it by calling __gnat_install_SEH_handler. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@94816 138bc75d-0d04-0410-961f-82ee72b054a4
2005-02-10 * gnatbl.c: [VMS] (_POSIX_EXIT): Define.Arnaud Charlet
[VMS] (#define exit hack): Remove. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@94815 138bc75d-0d04-0410-961f-82ee72b054a4
2005-02-10 * exp_ch4.adb (Expand_Composite_Equality): If a component is anArnaud Charlet
unchecked union with no inferable discriminants, return a Raise_Program_Error node, rather than inserting it at the point the type is frozen. (Expand_Record_Equality, Component_Equality): Handle properly the case where some subcomponent is an unchecked union whose generated equality code raises program error. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@94814 138bc75d-0d04-0410-961f-82ee72b054a4
2005-02-10 * exp_aggr.adb (Gen_Assign): If the expression is an aggregate for aArnaud Charlet
component of an array of arrays in an assignment context, and the aggregate has component associations that require sliding on assignment, force reanalysis of the aggregate to generate a temporary before the assignment. (Must_Slide): Make global to the package, for use in Gen_Assign. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@94813 138bc75d-0d04-0410-961f-82ee72b054a4
2005-02-102005-02-09 Eric Botcazou <ebotcazou@adacore.com>Eric Botcazou
Richard Kenner <kenner@vlsi1.ultra.nyu.edu> Fix for c330001 - PR ada/19386 * decl.c: (gnat_to_gnu_field): Do not necessarily invoke make_packable_type on the field if Pragma Component_Alignment (Storage_Unit). (gnat_to_gnu_entity, case object): Do not treat a renaming that has side-effects as if it were a constant; also make SAVE_EXPR to protect side-effects. (gnat_to_gnu_entity, case E_Record_Subtype): If have _Parent, make a UNION_TYPE. (make_dummy_type): Set TYPE_UNCHECKED_UNION_P. (components_to_record): Test it. Fix improper usage of REFERENCE_CLASS_P. * utils2.c (build_binary_op, case MODIFY_EXPRP): Treat UNION_TYPE as RECORD_TYPE. * utils2.c: Minor reformatting. * utils.c (convert, case UNION_TYPE): Check TYPE_UNCHECKED_UNION; handle other cases like RECORD_TYPE. * utils.c (gnat_pushdecl): Set TREE_NO_WARNING. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@94812 138bc75d-0d04-0410-961f-82ee72b054a4
2005-02-102005-02-09 Doug Rupp <rupp@adacore.com>Doug Rupp
Thomas Quinot <quinot@adacore.com> * adaint.c, adaint.h [VMS] (to_ptr32): New function. (MAYBE_TO_PTR32): New macro. (__gnat_portable_spawn,__gnat_portable_no_block_spawn): Adjust argv for pointer size. [VMS] (descriptor_s, ile_s): Use __char_ptr32 for adr field. [VMS] (#define fork()): Remove since unneccessary. (__gnat_set_close_on_exec): New routine to support GNAT.OS_Lib.Set_Close_On_Exec. * g-expect.adb (Set_Up_Communications): Mark the pipe descriptors for the parent side as close-on-exec so that they are not inherited by the child. * g-os_lib.ads, g-os_lib.adb (Set_Close_On_Exec): New subprogram to set or clear the FD_CLOEXEC flag on a file descriptor. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@94811 138bc75d-0d04-0410-961f-82ee72b054a4
2005-02-102005-02-09 Robert Dewar <dewar@adacore.com>Robert Dewar
* a-strunb.ads, a-strunb.adb: Add missing pragma Ada_05 statements Fix name of Set routine * a-strfix.ads, a-strfix.adb: Add new index functions from AI-301 to fixed packages. * a-stwise.ads, a-stwise.adb, a-stwifi.ads, a-stwifi.adb, a-strsea.ads, a-strsea.adb: Add new index functions from AI-301 to fixed packages * a-witeio.ads, a-witeio.adb, a-textio.ads, a-textio.adb: New function forms of Get_Line subprograms for AI-301. * a-wtcoau.adb, a-wtcoau.ads, a-wtcoio.adb, a-wtcoio.ads, a-wtedit.adb, a-wtedit.adb, a-wtedit.ads, a-wttest.adb, a-wttest.ads, a-strmap.ads, a-strmap.adb, a-stwima.adb, a-stwima.ads: Minor reformatting. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@94810 138bc75d-0d04-0410-961f-82ee72b054a4