diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/ada/ChangeLog | 12166 | ||||
-rw-r--r-- | gcc/ada/ChangeLog-2009 | 12171 | ||||
-rw-r--r-- | gcc/builtins.c | 2 | ||||
-rw-r--r-- | gcc/cp/ChangeLog | 3741 | ||||
-rw-r--r-- | gcc/cp/ChangeLog-2009 | 3746 | ||||
-rw-r--r-- | gcc/fortran/ChangeLog | 3705 | ||||
-rw-r--r-- | gcc/fortran/ChangeLog-2009 | 3710 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 12674 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog-2009 | 12678 |
10 files changed, 32314 insertions, 32283 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 95f4de7..d7f7307 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2010-01-01 H.J. Lu <hongjiu.lu@intel.com> + * builtins.c: Update copyright to 2010. + +2010-01-01 H.J. Lu <hongjiu.lu@intel.com> + PR lto/42531 * lto-streamer-out.c (produce_asm): Revert the last change. (copy_function): Likewise. diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index cf22b66..af2d0c6d 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,12170 +1,6 @@ -2009-12-10 Eric Botcazou <ebotcazou@adacore.com> - - * s-linux-sparc.ads: New file. - * gcc-interface/Makefile.in (SPARC/Linux): Use it. - -2009-12-04 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/trans.c (add_decl_expr): At toplevel, mark the - TYPE_ADA_SIZE field of records and unions. - - * gcc-interface/trans.c (Attribute_to_gnu) <Attr_Length>: Set the - source location of the node onto the comparison expression if it - is not cached. - -2009-12-03 Eric Botcazou <ebotcazou@adacore.com> - - * exp_util.adb (Make_CW_Equivalent_Type): Set the - Is_Class_Wide_Equivalent_Type flag here in lieu of... - (Make_Subtype_From_Expr): ...here. - * exp_ch3.adb (Expand_Freeze_Record_Type): Do not set - Has_Controlled_Component on class-wide equivalent types. - * freeze.adb (Freeze_Record_Type): Likewise. - * sem_ch3.adb (Record_Type_Definition): Likewise. - -2009-12-01 Pascal Obry <obry@adacore.com> - - * s-osprim-mingw.adb (Get_Base_Time): Make sure that the base time is - taken at a clock tick boundary. - -2009-12-01 Thomas Quinot <quinot@adacore.com> - - * g-sechas.ads (GNAT.Secure_Hashes.H."=" on Context): Make abstract. - -2009-12-01 Matthew Gingell <gingell@adacore.com> - - * adadecode.c: Allow compilation when building the run time in the gnat - runtime. - (__gnat_decode): Strip the .nnnn suffix from names of nested functions. - - * gcc-interface/Makefile.in: Ada adadecode to LIBGNAT_SRCS and - LIBGNAT_OBJS. - -2009-12-01 Vincent Celier <celier@adacore.com> - - * gnatcmd.adb (Check_Files): Quote the path names as they may include - spaces. - -2009-12-01 Ed Schonberg <schonberg@adacore.com> - - * sem_ch3.adb (Analyze_Object_Declaration): If the defining identifier - has already been declared, it may have been rewritten as a renaming - declaration. - -2009-12-01 Ed Schonberg <schonberg@adacore.com> - - * einfo.ads: Clarify use of Is_Private_Primitive. - * sem_ch6.adb (Analyze_Subprogram_Declaration): An operation is a - private primitive operation only if it is declared in the scope of the - private controlling type. - * exp_ch9.adb (Build_Wrapper_Spec): Build wrappers for private - protected operations as well. - -2009-12-01 Arnaud Charlet <charlet@adacore.com> - - * gnat1drv.adb (Adjust_Global_Switches): Disable front-end - optimizations in CodePeer mode, to keep the tree as close to the source - code as possible, and also to avoid inconsistencies between trees when - using different optimization switches. - -2009-12-01 Thomas Quinot <quinot@adacore.com> - - * scos.ads: Updated specification of source coverage obligation - information. - -2009-12-01 Thomas Quinot <quinot@adacore.com> - - * g-sercom.ads, g-sercom-mingw.adb, g-sercom-linux.adb, - a-ststio.adb, s-commun.adb, s-commun.ads, g-socket.adb, - g-socket.ads (System.Communications.Last_Index): For the case where no - element has been transferred and Item'First = - Stream_Element_Offset'First, raise CONSTRAINT_ERROR. - -2009-12-01 Ed Schonberg <schonberg@adacore.com> - - * sem_ch10.adb (Install_Siblings): A private with_clause on some child - unit U in an ancestor of the current unit must be ignored if the - current unit has a regular with_clause on U. - -2009-11-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> - - * s-oscons-tmplt.c [__mips && __sgi]: Only define _XOPEN5, IOV_MAX - if _XOPEN_IOV_MAX is defined. - -2009-11-30 Vasiliy Fofanov <fofanov@adacore.com> - - * vms_data.ads: Add new VMS qualifiers, - REVERSE_BIT_ORDER/NOREVERSE_BIT_ORDER, to support warnings on bit order - effects. - -2009-11-30 Thomas Quinot <quinot@adacore.com> - - * exp_ch9.adb, exp_ch9.ads, sem_util.ads: Minor reformatting. - -2009-11-30 Gary Dismukes <dismukes@adacore.com> - - * sem_prag.adb: Fix spelling error. - -2009-11-30 Ed Schonberg <schonberg@adacore.com> - - * exp_ch9.ads (Build_Private_Protected_Declaration): For a protected - operation that is only declared in a protected body, create a - corresponding subprogram declaration. - * exp_ch9.adb (Expand_N_Protected_Body): Create protected body of - operation in all cases, including for an operation that is only - declared in the body. - * sem_ch6.adb: Call Build_Private_Protected_Declaration - * exp_ch6.adb (Expand_N_Subprogram_Declaration): For an operation - declared in a protected body, create the declaration for the - corresponding protected version of the operation. - -2009-11-30 Arnaud Charlet <charlet@adacore.com> - - * gnat1drv.adb (Adjust_Global_Switches): Disable specific expansions - for Restrictions pragmas, to avoid tree inconsistencies between - compilations with different pragmas. - -2009-11-30 Jerome Lambourg <lambourg@adacore.com> - - * sem_prag.adb (Check_Duplicated_Export_Name): Allow entities exported - to CIL to have duplicated export name. - -2009-11-30 Robert Dewar <dewar@adacore.com> - - * a-tiinio.adb: Remove extraneous pragma Warnings (Off). - -2009-11-30 Thomas Quinot <quinot@adacore.com> - - * par_sco.adb: Minor reformatting - -2009-11-30 Ed Falis <falis@adacore.com> - - * s-vxwext.ad[s,b], system-vxworks-ppc.ads, s-stchop-vxworks.adb: - Comment update. - -2009-11-30 Ed Schonberg <schonberg@adacore.com> - - * par_sco.adb (Traverse_Handled_Statement_Sequence): Do not emit SCO's - for null statements that do not come from source. - * sinfo.ads: Clarify documentation of Comes_From_Source - -2009-11-30 Vincent Celier <celier@adacore.com> - - * prj-nmsc.adb (Add_Source): Use Display_Name for both projects when - displaying the paths in error message. - -2009-11-30 Emmanuel Briot <briot@adacore.com> - - * adaint.h, adaint.c (file_attributes): force the use of unsigned char. - On some platforms, "char" is signed, on others unsigned, so we - explicitly specify the one we expect - -2009-11-30 Matthew Heaney <heaney@adacore.com> - - * a-coinve.adb (Insert): Move exception handler closer to point where - exception can occur. - Minor reformatting & comment additions. - -2009-11-30 Arnaud Charlet <charlet@adacore.com> - - * freeze.adb (Freeze_Entity): Disable warning on 'Foreign caller must - pass bounds' for VM targets, not relevant. - -2009-11-30 Robert Dewar <dewar@adacore.com> - - * sem_util.adb (Wrong_Type): Diagnose additional case of modular - missing parens. - * a-tiinio.adb, a-wtinio.adb, a-ztinio.adb: Minor reformatting - - * exp_util.adb (Kill_Dead_Code): Suppress warning for some additional - cases. - - * sem_warn.adb (Set_Warning_Flag): Clean up gnatwA list and ensure - completeness. - (Set_Dot_Warning_Flag): Ditto for -gnatw.e - (Set_Dot_Warning_Flag): Implement -gnbatw.v/w.V - * usage.adb: Add lines for -gnatw.v/w.V - -2009-11-30 Emmanuel Briot <briot@adacore.com> - - * make.adb (Check_Standard_Library): use Full_Source_Name instead of - direct call to Find_File. The former provides caching of the results, so - might be more efficient - (Start_Compile_If_Necessary): Add comment on possible optimization, - not done for now. - -2009-11-30 Thomas Quinot <quinot@adacore.com> - - * g-sechas.adb: Minor reformatting - -2009-11-30 Matthew Heaney <heaney@adacore.com> - - * a-crbtgo.adb (Delete_Fixup): Add comments explaining why predicates - were removed. - * a-cdlili.adb (Vet): Remove always-true predicates. - -2009-11-30 Thomas Quinot <quinot@adacore.com> - - * s-sechas.adb, s-sechas.ads, s-shshco.adb, s-shshco.ads, s-shsh64.adb, - s-shsh64.ads, s-sehamd.adb, s-sehamd.ads, s-shsh32.adb, s-shsh32.ads, - s-sehash.adb, s-sehash.ads, g-sechas.adb, g-sechas.ads, g-shshco.adb, - g-shshco.ads, g-md5.ads, g-sha256.ads, g-shsh64.adb, g-shsh64.ads, - g-sehamd.adb, g-sehamd.ads, g-sha512.ads, g-sha1.ads, Makefile.rtl, - g-sha224.ads, g-shsh32.adb, g-shsh32.ads, g-sha384.ads, g-sehash.adb, - g-sehash.ads: Rename System.Secure_Hashes to GNAT.Secure_Hashes. - -2009-11-30 Robert Dewar <dewar@adacore.com> - - * osint.ads: Minor comment update. - -2009-11-30 Thomas Quinot <quinot@adacore.com> - - * s-sechas.adb: Fix swapping error in previous checkin. - * g-md5.ads, g-sha256.ads, g-sha512.ads, g-sha1.ads, g-sha224.ads, - g-sha384.ads: Add missing documentation. - -2009-11-30 Robert Dewar <dewar@adacore.com> - - * g-sha256.ads, s-sehamd.ads, s-sehamd.adb, g-sha512.ads, g-sha224.ads, - g-sha384.ads: Minor reformatting - -2009-11-30 Emmanuel Briot <briot@adacore.com> - - * adaint.h (file_attributes): Reduce size of the structure, so that it - is less costly to store in records. - * makeutl.adb: - (Check_Source_Info_In_ALI): use Full_Source_Name instead of a direct - call to Find_File, since the former provides caching when appropriate, - which limits the number of system calls in some cases. - * osint.ads, prj.ads (Source_Data): do not store directly the timestamp, - but the file attributes since we also need access to the size of the - ALI file to parse it. This gives an opportunity for saving system calls - on Unix systems. - -2009-11-30 Robert Dewar <dewar@adacore.com> - - * sem_prag.adb, s-sechas.ads, s-sechas.adb: Minor reformatting. - -2009-11-30 Gary Dismukes <dismukes@adacore.com> - - * sem_prag.adb (Process_Convention): Change formal E to Ent. In the - case where the pragma's entity argument is a renaming, return the - entity denoted by the renaming rather than the renamed entity. Loop - through the homonyms of the original argument entity, rather than the - homonyms of any renamed entity. Correct call to Generate_Entity to - pass the homonym. - -2009-11-30 Vincent Celier <celier@adacore.com> - - * impunit.adb: Add packages that were added to the GNAT library: - GNAT.SHA224, GNAT.SHA256, GNAT.SHA384 and GNAT.SHA512. - * s-sechas.adb (Fill_Buffer_Copy): Fixes incorrect slice index - -2009-11-30 Robert Dewar <dewar@adacore.com> - - * exp_ch3.adb: Minor reformatting - * g-md5.ads, g-sha1.ads: Add comment. - -2009-11-30 Arnaud Charlet <charlet@adacore.com> - - * gcc-interface/Makefile.in: Remove handling of libgccprefix, no longer - needed. - -2009-11-30 Pascal Obry <obry@adacore.com> - - * expect.c: Fix cast to avoid warnings in x86-64 Windows. - -2009-11-30 Thomas Quinot <quinot@adacore.com> - - * gnat_rm.texi, s-sechas.adb, s-sechas.ads, s-shshco.adb, - s-shshco.ads, g-md5.adb, g-md5.ads, g-sha256.ads, s-shsh64.adb, - s-shsh64.ads, s-sehamd.adb, s-sehamd.ads, g-sha512.ads, g-sha1.adb, - g-sha1.ads, Makefile.rtl, g-sha224.ads, g-sha384.ads, s-shsh32.adb, - s-shsh32.ads, s-sehash.adb, s-sehash.ads: Reimplementation of GNAT.MD5 - and GNAT.SHA1 to factor shared code and avoid unnecessary stack copies. - Also introduce new functions SHA-{224,256,384,512} - -2009-11-30 Jerome Lambourg <lambourg@adacore.com> - - * exp_ch3.adb (Make_Predefined_Primitive_Specs): Improve comment for - the Value_Type case. - -2009-11-30 Thomas Quinot <quinot@adacore.com> - - * a-textio.adb: Minor reformatting - -2009-11-30 Pascal Obry <obry@adacore.com> - - * adaint.c: Fix bug in passing parameter. - * expect.c: Include io.h to get definition of _open_osfhandle - -2009-11-30 Javier Miranda <miranda@adacore.com> - - * exp_ch6.adb, sem_scil.adb (Adjust_SCIL_Node): Add missing management - of N_Unchecked_Type_Conversion nodes when searching for SCIL nodes. - (Expand_Call): Adjust decoration of SCIL node associated with relocated - function call. - -2009-11-30 Emmanuel Briot <briot@adacore.com> - - * prj-env.adb (Add_To_Source_Path): Preserve casing of directories - -2009-11-30 Vincent Celier <celier@adacore.com> - - * opt.ads (No_Split_Units): New flag initialized to False - -2009-11-30 Jerome Lambourg <lambourg@adacore.com> - - * exp_ch7.adb (Needs_Finalization): Add comments. - * exp_ch3.adb (Make_Predefined_Primitive_Specs): Improve handling of - CIL Value types. - -2009-11-30 Robert Dewar <dewar@adacore.com> - - * osint.adb, a-rttiev.adb: Minor reformatting. - -2009-11-30 Robert Dewar <dewar@adacore.com> - - * gnat_rm.texi: Remove list of warning letters, and refer instead to - using gnatmake to get a brief list. - - * debug.adb: Document -gnatd.i to disable pragma Warnings - * par-prag.adb, sem_prag.adb: Recognize -gnatd.i to disable Warnings - pragma. - * vms_data.ads: Add /NOWARNINGS_PRAGMS for -gnatd.i - -2009-11-30 Geert Bosch <bosch@adacore.com> - - * a-ngelfu.adb (Sin): Correct spelling of sine in comment. - -2009-11-30 Vincent Celier <celier@adacore.com> - - * gnatls.adb: Do not call Get_Target_Parameters in Verbose_Mode, as it - is not needed and gnatls fails when called with -v -nostdinc. - -2009-11-30 Emmanuel Briot <briot@adacore.com> - - * osint.adb, osint.ads (File_Time_Stamp): new subprogram. - -2009-11-30 Ed Schonberg <schonberg@adacore.com> - - * gnat_rm.texi, gnat_ugn.texi: Document new syntax for pragma Annotate - -2009-11-30 Robert Dewar <dewar@adacore.com> - - * scans.ads (Wide_Wide_Character_Found): New flag - * scn.adb (Post_Scan): Set new flag Has_Wide_Wide_Character - * scng.adb (Set_String): Set new flag Wide_Wide_Character_Found - (Set_String): Fix failure to reset Wide_Character_Found - * sinfo.adb (Has_Wide_Wide_Character): New flag in N_String_Literal - * sinfo.ads (Has_Wide_Wide_Character): New flag in N_String_Literal - * a-ngelfu.adb: Minor reformatting & code reorganization. - * usage.adb: Fix typo in -gnatw.W line - -2009-11-30 Robert Dewar <dewar@adacore.com> - - * osint.adb, prj-nmsc.adb, sem_prag.adb, sem_util.adb: Minor - reformatting. - * csinfo.adb: Terminate run if improper use of reserved flag - * sinfo.ads, sinfo.adb (Is_Accessibility_Actual): Don't use reserved - Flag12, used Flag13 instead. - -2009-11-30 Vincent Celier <celier@adacore.com> - - * gnatcmd.adb (Check_Files): Recognize documented switches that have a - separate parameter. - -2009-11-30 Robert Dewar <dewar@adacore.com> - - * sem_util.ads: Minor reformatting - * errout.adb: Minor reformatting - Minor code reorganization (use N_Subprogram_Specification to simplify) - * exp_ch7.adb: Add comment. - -2009-11-30 Thomas Quinot <quinot@adacore.com> - - * put_scos.adb (Put_SCOs): Do not generate a SCO unit header for a unit - that has no SCOs. - * scos.ads: Minor reformatting - -2009-11-30 Ed Schonberg <schonberg@adacore.com> - - * sem_prag.adb: Second unanalyzed parameter of Annotate is optional. - -2009-11-30 Eric Botcazou <ebotcazou@adacore.com> - - * init.c (__gnat_adjust_context_for_raise, Linux version): Add guard - for null PC saved in the context. - -2009-11-30 Hristian Kirtchev <kirtchev@adacore.com> - - * a-calend.adb (Day_Of_Week): Rewritten. The routine determines the - number of days from the Ada Epoch to the input date while ensuring that - both dates are in the same time zone. - -2009-11-30 Emmanuel Briot <briot@adacore.com> - - * clean.adb ("-eL"): Also set Follow_Links_For_Dirs, to match what is - done in other project-aware tools like gnatmake and gprbuild. - -2009-11-30 Jerome Lambourg <lambourg@adacore.com> - - * exp_ch3.adb (Make_Predefined_Primitive_Specs): Take care of CIL - ValueTypes. - * exp_ch7.adb (Needs_Finalization): Do not finalize CIL valuetypes. - * sem_util.adb (Is_Value_Type): Protect against invalid calls to Chars - (Is_Delegate): New method used for CIL. - * sem_util.ads (Is_Delegate): New method for CIL handling. - (Is_Value_Type): Improve documentation. - -2009-11-30 Ed Schonberg <schonberg@adacore.com> - - * errout.adb (Unwind_Internal_Type): Improve error reporting if the - type is an anonymous access to subprogram that is the type of a formal - in a subprogram spec. - -2009-11-30 Vincent Celier <celier@adacore.com> - - * prj-nmsc.adb (Check_Interfaces): In a Stand-Alone Library project, if - attribute Interfaces is not declared, then Library_Interface should - define the interfaces. - -2009-11-30 Ed Schonberg <schonberg@adacore.com> - - * sem_prag.adb: New semantics for Annotate. - -2009-11-30 Tristan Gingold <gingold@adacore.com> - - * gcc-interface/Makefile.in: Do not link with -static-libgcc on Darwin. - -2009-11-30 Emmanuel Briot <briot@adacore.com> - - * gnat_ugn.texi: Extend doc for -eL - -2009-11-30 Vincent Celier <celier@adacore.com> - - * osint.adb (Executable_Name (File_Name_Type)): Put the Name in the - Name_Buffer before testing for a dot in the Name. - -2009-11-30 Vincent Celier <celier@adacore.com> - - * prj-part.adb (Project_Path_Name_Of): Resolve links for final result - if -eL has been specified. - -2009-11-30 Vincent Celier <celier@adacore.com> - - * osint.adb (Executable_Name): Test the name instead of the name buffer - to check if there is a dot in the given name. - -2009-11-30 Sergey Rybin <rybin@adacore.com> - - * gnat_ugn.texi: Update gnatcheck doc. - -2009-11-30 Robert Dewar <dewar@adacore.com> - - * sem_ch3.adb, sem_disp.adb, usage.adb: Minor reformatting - -2009-11-30 Vasiliy Fofanov <fofanov@adacore.com> - - * gnat_ugn.texi: Minor editing. - -2009-11-30 Emmanuel Briot <briot@adacore.com> - - * prj-nmsc.adb (Search_Directories): when -eL was not specified, assume - that no directory matches the naming scheme for sources. - -2009-11-30 Emmanuel Briot <briot@adacore.com> - - * prj.adb, prj.ads, prj-nmsc.adb (Has_Multi_Unit_Sources): New field in - project_data. - -2009-11-30 Vincent Celier <celier@adacore.com> - - * osint.adb (Executable_Name): Correctly decide if the executable - suffix should be added when Only_If_No_Suffix is True. - -2009-11-30 Robert Dewar <dewar@adacore.com> - - * frontend.adb, gnatlink.adb, prj-conf.adb, prj-tree.adb, - prj-tree.ads: Minor reformatting - -2009-11-30 Vincent Celier <celier@adacore.com> - - * gnatlink.adb (Process_Args): Call Executable_Name on argument of -o - with Only_If_No_Suffix set to True. - * osint.adb (Executable_Name): Do not add executable suffix if there is - already a suffix and Only_If_No_Suffix is True. - * osint.ads (Executable_Name): New Boolean parameter Only_If_No_Suffix, - defaulted to False. - -2009-11-30 Javier Miranda <miranda@adacore.com> - - * exp_atag.adb (Build_TSD): Change argument name because the actual is - now the address of a tag (instead of the tag). Update implementation - accordingly. - (Build_CW_Membership): New implementation. Converted into a procedure - because it has an additional out mode parameter. Its implementation has - been rewritten to improve the generated code but also to facilitate - referencing the relocated object node in the caller. - * exp_atag.ads (Build_CW_Membership): Update profile and documentation. - * sinfo.ads (N_SCIL_Membership_Test) New_Node. - (SCIL_Tag_Value): New field of N_SCIL_Membership_Test nodes. - (Is_Syntactic_Field): Add entry of new node. - (SCIL_Tag_Value/Set_SCIL_Tag_Value): New subprograms. - * sinfo.adb (SCIL_Related_Node, SCIL_Entity): Update assertions to - handle N_SCIL_Membership_Test nodes. - (SCIL_Tag_Value/Set_SCIL_Tag_Value): New subprograms. - * sem.adb (Analyze): Add null management for new node. - * sem_scil.adb (Find_SCIL_Node): Add null management for new node. - (Check_SCIL_Node): Add checks of N_SCIL_Membership_Test nodes. - * exp_ch4.adb (Tagged_Membership): Change profile from function to - procedure. Add generation of SCIL node associated with class-wide - membership test. - (Expand_N_In): Complete decoration of SCIL nodes. - * exp_intr.adb (Expand_Dispatching_Constructor_Call): Tune call to - Build_CW_Membership because its profile has been changed. - * exp_util.adb (Insert_Actions): Add null management for new node. - * sprint.adb (Sprint_Node_Actual): Handle new node. - * gcc-interface/trans.c Add no processing for N_SCIL_Membership_Test - nodes. - * gcc-interface/Make-lang.in: Update dependencies. - -2009-11-30 Ed Schonberg <schonberg@adacore.com> - - * opt.ads: New flags Init_Or_Norm_Scalars_Config, - Initialize_Scalars_Config, to capture the presence of the corresponding - pragmas in a configuration file. - * opt.adb (Register_, Save_, Set_, Restore_Opt_Configuration_Switches): - handle new flags so that they are restored for each compilation unit. - * frontend.adb: At the end of compilation, scan the context of the main - unit to recover occurrences of pragma Initialize_Scalars, to annotate - the ALI file accordingly. - -2009-11-30 Vincent Celier <celier@adacore.com> - - * prj-tree.ads: Minor comment updates - * prj-tree.adb: Minor reformatting - -2009-11-30 Ed Schonberg <schonberg@adacore.com> - - * sem_ch3.adb (Derive_Subprogram): Indicate that an inherited - predefined control operation is hidden if the parent type is not - visibly controlled. - * sem_ch6.adb (Check_Overriding_Indicator): Do not report error if - overridden operation is not visible, as may be the case with predefined - control operations. - * sem_disp.adb (Check_Dispatching_Operation): Do not emit warning on - non-overriding control operation when type is not visibly controlled, - if the subprogram has an explicit overriding indicator. - * sem_util.ads, sem_util.adb (Is_Visibly_Controlled): Moved here from - sem_disp.adb. - -2009-11-30 Emmanuel Briot <briot@adacore.com> - - * prj-tree.adb (Create_Attribute): Fix handling of VMS and Windows - * prj-attr.ads: Minor comment updates - -2009-11-30 Robert Dewar <dewar@adacore.com> - - * gnat_rm.texi: Document pragma Short_Circuit - -2009-11-30 Emmanuel Briot <briot@adacore.com> - - * prj-conf.adb, prj-tree.adb, prj-tree.ads (Create_Attribute): Now set - the index either on the attribute or on its value, depending on the - kind of the attribute. Done to match recent changes in Prj.PP that were - not synchronized with this function. - -2009-11-30 Arnaud Charlet <charlet@adacore.com> - - * gcc-interface/Make-lang.in: Fix typo. - Update dependencies. - -2009-11-30 Robert Dewar <dewar@adacore.com> - - * gnat_rm.texi: Add documentation for attribute Result. - -2009-11-30 Arnaud Charlet <charlet@adacore.com> - - * s-osinte-hpux.ads, s-osinte-aix.ads, s-osinte-solaris-posix.ads, - s-osinte-tru64.ads, s-osinte-darwin.ads, s-osinte-freebsd.ads - (Get_Page_Size): Update comment since Get_Page_Size is now required. - -2009-11-30 Jerome Lambourg <lambourg@adacore.com> - - * freeze.adb: Disable Warning on VM targets concerning C Imports, not - relevant. - -2009-11-30 Bob Duff <duff@adacore.com> - - * sprint.adb (Source_Dump): Minor comment fix. - (Write_Itype): When writing a string literal subtype, use Expr_Value - instead of Intval to get the low bound. - -2009-11-30 Vincent Celier <celier@adacore.com> - - * gnatlink.adb (Process_Args): Do not call Executable_Name on arguments - of switch -o. - -2009-11-30 Robert Dewar <dewar@adacore.com> - - * exp_ch4.adb (Expand_N_Op_And): Implement pragma Short_Circuit_And_Or - (Expand_N_Op_Or): Implement pragma Short_Circuit_And_Or - * opt.ads (Short_Circuit_And_Or): New flag - * par-prag.adb: Add dummy entry for pragma Short_Circuit_And_Or - * sem_prag.adb: Implement pragma Short_Circuit_And_Or - * snames.ads-tmpl: Add entries for pragma Short_Circuit_And_Or - -2009-11-30 Arnaud Charlet <charlet@adacore.com> - - * s-taprop-posix.adb: Fix casing. - * s-osinte-tru64.adb: Complete previous check-in. - -2009-11-30 Robert Dewar <dewar@adacore.com> - - * gnat_rm.texi: Document pragma Compiler_Unit - * s-bitops.adb, s-restri.adb, g-htable.adb, s-restri.ads, - a-comlin.ads, a-strhas.ads, s-strhas.adb, s-parame.adb, - s-parame.ads, a-clrefi.adb, a-clrefi.ads, a-ioexce.ads: Supply missing - Compiler_Unit pragmas. - * freeze.adb (Freeze_Entity): Improve message for 8-bit boolean passed - to C. - -2009-11-30 Robert Dewar <dewar@adacore.com> - - * makeutl.adb, makeutl.ads, prj-proc.adb, prj.adb, prj.ads: Minor - reformatting. - -2009-11-30 Thomas Quinot <quinot@adacore.com> - - * osint.adb: Minor reformatting - -2009-11-30 Vincent Celier <celier@adacore.com> - - * makeutl.ads, makeutl.adb (Base_Name_Index_For): New function to get - the base name of a main without the extension, with an eventual source - index. - (Mains.Get_Index): New procedure to set the source index of a main - (Mains.Get_Index): New function to get the source index of a main - * prj-attr.adb: New attributes Config_Body_File_Name_Index, - Config_Spec_File_Name_Index, Multi_Unit_Object_Separator and - Multi_Unit_Switches. - * prj-nmsc.adb (Process_Compiler): Takle into account new attributes - Config_Body_File_Name_Index, Config_Spec_File_Name_Index, - Multi_Unit_Object_Separator and Multi_Unit_Switches. - Allow only one character for Multi_Unit_Object_Separator. - * prj-proc.adb (Process_Declarative_Items): Take into account the - source indexes in indexes of associative array attribute declarations. - * prj.adb (Object_Name): New function to get the object file name for - units in multi-unit sources. - * prj.ads (Language_Config): New components Multi_Unit_Switches, - Multi_Unit_Object_Separator Config_Body_Index and Config_Spec_Index. - (Object_Name): New function to get the object file name for units in - multi-unit sources. - * snames.ads-tmpl: New standard names Config_Body_File_Name_Index, - Config_Spec_File_Name_Index, Multi_Unit_Object_Separator and - Multi_Unit_Switches. - -2009-11-30 Arnaud Charlet <charlet@adacore.com> - - * s-tassta.adb: Update comment. - -2009-11-30 Robert Dewar <dewar@adacore.com> - - * a-ngelfu.adb: Minor code reorganization. - -2009-11-30 Robert Dewar <dewar@adacore.com> - - * osint.ads, prj.adb, prj.ads: Minor reformatting - * s-stchop.adb, s-taprop-vxworks.adb, s-taprop-tru64.adb, - s-taprop-vms.adb, s-taprop-linux.adb, s-taprop-solaris.adb, - s-strxdr.adb, s-taprop-irix.adb, s-osinte-hpux-dce.adb, - s-osinte-tru64.adb, s-taenca.adb, s-taprop-hpux-dce.adb, s-stausa.adb, - s-taprop-posix.adb: Minor code reorganization (use conditional - expressions). - -2009-11-30 Bob Duff <duff@adacore.com> - - * g-sttsne-locking.adb (Copy_Service_Entry): Complete previous change. - -2009-11-30 Bob Duff <duff@adacore.com> - - * socket.c: Add more accessor functions for struct servent (need - setters as well as getters). - * g-sothco.ads (Servent): Declare interfaces to C setter functions for - struct servent. - * g-sttsne-locking.adb (Copy_Service_Entry): Use setter functions for - struct servent. - -2009-11-30 Robert Dewar <dewar@adacore.com> - - * s-stchop-vxworks.adb: Add comment. - -2009-11-30 Emmanuel Briot <briot@adacore.com> - - * make.adb, prj.adb, prj.ads (Compute_All_Imported_Projects): Now acts - on the whole tree, to better share code with gprbuild. - (Length): New subprogram, to share code in gprbuild. - (Project_Data): Remove fields that are only needed when compiling a - project in gprbuild (where we use local variables instead) - * osint.adb, osint.ads: Added minor comment on memory management - -2009-11-30 Sergey Rybin <rybin@adacore.com> - - * gnat_ugn.texi: Update gnatcheck doc. - -2009-11-30 Robert Dewar <dewar@adacore.com> - - make.adb, prj-makr.adb, g-sothco.ads: Minor reformattting - * s-taprop-dummy.adb: Minor code reorganization (raise with msgs start - with lower case). - * i-vxwoio.adb, g-dirope.adb, g-sercom-linux.adb, - g-enblsp-vms-alpha.adb, g-regist.adb, s-imgcha.adb, s-tarest.adb, - s-taprop-mingw.adb, g-exctra.adb, g-expect.adb, g-comlin.adb, - g-debpoo.adb, g-expect-vms.adb, g-pehage.adb, g-trasym-vms-alpha.adb, - g-enblsp-vms-ia64.adb, s-fatgen.adb, s-fileio.adb: Minor code - reorganization (use conditional expressions). - -2009-11-30 Vincent Celier <celier@adacore.com> - - * prj-makr.adb (Source_Files): New hash table to keep track of source - file names. - (Finalize): Avoid putting several times the same source file name - in the source list file. - * prj-pp.adb (Print): Fix a bug in the placement of "at nn" for - associative array indexes. - -2009-11-30 Robert Dewar <dewar@adacore.com> - - * g-dyntab.ads: Add missing pragma Compiler_Unit - -2009-11-30 Thomas Quinot <quinot@adacore.com> - - * s-crtrun.ads, s-crtl.ads, g-stseme.adb, Makefile.rtl, s-fileio.adb - (System.CRTL.Runtime): New unit, to contain parts of s-crtl that are - used in the Ada runtime but can't be used in the compiler because of - bootstrap issues. - * socket.c, s-oscons-tmplt.c, g-sothco.ads - (System.OS_Constants.SIZEOF_struct_servent): New constant. - Use s-oscons constant instead of external variable to get size of - struct hostent. - -2009-11-30 Thomas Quinot <quinot@adacore.com> - - * s-crtl.ads, g-stseme.adb, s-fileio.adb (System.CRTL.strerror): Change - return type to Interfaces.C.Strings.chars_ptr to eliminate need for - dubious unchecked conversion at call sites. - * s-errrep.adb, s-errrep.ads, Makefile.rtl (System.Error_Reporting): - Remove obsolete, unused runtime unit. - * gcc-interface/Make-lang.in: Update dependencies. - * gcc-interface/Makefile.in: Remove VMS specialization of s-crtl, not - required anymore. - -2009-11-30 Vincent Celier <celier@adacore.com> - - * gnatlink.adb: Delete an eventual existing executable file, in case it - is a symbolic link, to avoid modifying the target of the symbolic link. - -2009-11-30 Bob Duff <duff@adacore.com> - - * socket.c: Add accessor functions for struct servent. - * g-sothco.ads (Servent): Declare interfaces to C accessor functions - for struct servent. - * g-socket.adb (To_Service_Entry): Use accessor functions for struct - servent. - -2009-11-30 Robert Dewar <dewar@adacore.com> - - * g-arrspl.adb: Minor reformatting - * g-dyntab.adb: Add missing pragma Compiler_Unit - -2009-11-30 Thomas Quinot <quinot@adacore.com> - - * s-crtl.ads, s-oscons-tmplt.c: Fix support for VMS - * make.adb, g-comlin.ads, exp_ch6.adb: Minor reformatting - -2009-11-30 Robert Dewar <dewar@adacore.com> - - * bcheck.adb, gnatlink.adb, make.adb, makeutl.adb, osint.adb, - osint.ads, prj-ext.adb, sem_case.adb: Minor reformatting - * g-alleve.adb: Minor code reorganization (use conditional expressions) - -2009-11-30 Matthew Heaney <heaney@adacore.com> - - * a-crbtgo.adb (Delete_Fixup): Changed always-true predicates to - assertions. - -2009-11-30 Thomas Quinot <quinot@adacore.com> - - * a-tasatt.adb, s-crtl.ads, s-taprop-dummy.adb (System.CRTL.malloc32, - System.CRTL.realloc32): Remove VMS-specific routines. - (Ada.Task_Attributes.Reference): Remove unreachable code. - (System.Task_Primitives.Operations.Initialize, dummy version): - Use plain Program_Error rather than call to - System.Error_Reporting.Shutdown. - -2009-11-30 Thomas Quinot <quinot@adacore.com> - - * s-oscons-tmplt.c, xoscons.adb: Add new constants in preparation for - sharing s-crtl across all platforms. - -2009-11-30 Thomas Quinot <quinot@adacore.com> - - * s-commun.adb, s-commun.ads: New internal support unit, - allowing code sharing between GNAT.Sockets and - GNAT.Serial_Communication. - * g-sercom.ads, g-sercom-mingw.adb, g-sercom-linux.adb, - g-socket.adb (GNAT.Sockets.Last_Index): Move to System.Communication. - (GNAT.Serial_Communication.Read): Handle correctly the case where no - data was read, and Buffer'First = Stream_Element_Offset'First. - * Makefile.rtl: Add entry for s-commun - * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, - g-socthi-vxworks.ads, g-stseme.adb, g-socthi-mingw.ads, - g-socthi.adb, g-socthi.ads (GNAT.Sockets.Thin.Socket_Error_Message): - Reimplement in terms of System.CRTL.strerror. - -2009-11-26 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/utils.c (copy_type): Unshare the language-specific data - and the contents of the language-specific slot if needed. - -2009-11-26 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/trans.c (gnat_to_gnu) <N_In>: Set the source location - of the operator on both branches of the test in the generic case. - -2009-11-25 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/trans.c (unchecked_conversion_lhs_nop): Rename into... - (unchecked_conversion_nop): ...this. Handle actual parameters. - (gnat_to_gnu): Adjust for above renaming. - -2009-11-25 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Enumeration_Type>: - Translate regular boolean types into BOOLEAN_TYPEs. - -2009-11-24 Eric Botcazou <ebotcazou@adacore.com> - - * sem_util.adb (Set_Debug_Info_Needed): For an E_Class_Wide_Subtype, - also set the flag on the Equivalent_Type. - * gcc-interface/utils.c (finish_record_type): Replace DO_NOT_FINALIZE - parameter with DEBUG_INFO_P. Rename FIELDLIST into FIELD_LIST. - (rest_of_record_type_compilation): Rename FIELDLIST into FIELD_LIST. - (build_vms_descriptor32): Adjust call to finish_record_type. - (build_vms_descriptor): Likewise. - (build_unc_object_type): Likewise. - * gcc-interface/decl.c (gnat_to_gnu_entity): Adjust calls to - finish_record_type and components_to_record. - (make_packable_type): Adjust call to finish_record_type. - (maybe_pad_type): Likewise. Tweak condition. - (components_to_record): Likewise. Replace DO_NOT_FINALIZE parameter - with MAYBE_UNUSED. Adjust recursive call. - (create_variant_part_from): Adjust call to finish_record_type. Do not - call rest_of_record_type_compilation on the new record types. - * gcc-interface/trans.c (gigi): Adjust call to finish_record_type. - * gcc-interface/gigi.h (finish_record_type): Adjust prototype and - comment. - (rest_of_record_type_compilation): Adjust comment. - -2009-11-24 Eric Botcazou <ebotcazou@adacore.com> - - * exp_util.adb (Make_CW_Equivalent_Type): Do not mark the type as - frozen for targets that do not require front-end layout. - (New_Class_Wide_Subtype): Always reset the freezing status to False. - * exp_ch8.adb: Do not 'with' Targparm. - (Expand_N_Object_Renaming_Declaration): Always freeze a class-wide - subtype that has been built from the expression. - * exp_intr.adb (Expand_Unc_Deallocation): If the designated type is - class wide, freeze the implicit type that has been built from the - expression at the dereference point. - * freeze.adb (Freeze_Entity): Adjust comment. - * gcc-interface/decl.c (Gigi_Equivalent_Type) <E_Class_Wide_Type>: - Remove useless test. - * gcc-interface/trans.c (process_freeze_entity): Do not special-case - class-wide subtypes. - - * s-osinte-aix.adb (clock_gettime): Fix comment. - * s-osinte-darwin.adb (clock_gettime): Likewise. - -2009-11-23 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Variable>: Pass the list - of attributes when building the corresponding variable of a constant. - * gcc-interface/utils.c (create_var_decl_1): Do not process attributes - for constants. - -2009-11-23 Laurent GUERBY <laurent@guerby.net> - Eric Botcazou <ebotcazou@adacore.com> - - PR ada/42153 - * s-osinte-linux.ads (struct_timeval): Delete. - * s-osinte-hpux.ads (struct_timeval, To_Duration, To_Timeval): Delete. - * s-osinte-kfreebsd-gnu.ads: Likewise. - * s-osinte-rtems.ads: Likewise. - * s-osinte-aix.ads: Likewise. - * s-osinte-hpux-dce.ads: Likewise. - * s-osinte-darwin.ads: Likewise. - * s-osinte-solaris-posix.ads: Likewise. - * s-osinte-irix.ads: Likewise. - * s-osinte-solaris.ads: Likewise. - * s-osinte-hpux-dce.adb (To_Duration, To_Timeval): Delete. - * s-osinte-irix.adb: Likewise. - * s-osinte-solaris.adb: Likewise. - * s-osinte-rtems.adb: Likewise. Minor reformatting. - * s-osinte-aix.adb (To_Duration, To_Timeval): Delete. - (clock_gettime): Use cal.c's timeval_to_duration. - * s-osinte-darwin.adb: Likewise. - -2009-11-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> - - * adaint.h: Assume large file support on IRIX only if _LFAPI. - -2009-11-21 Laurent GUERBY <laurent@guerby.net> - Eric Botcazou <ebotcazou@adacore.com> - - * s-osinte-linux.ads (struct_timeval, To_Duration, To_Timeval, - gettimeofday): Delete. - * s-osinte-posix.adb (To_Duration, To_Timeval): Delete. - * s-osprim-posix.adb (struct_timezone, struct_timeval, gettimeofday): - Delete. - (Clock): Use cal.c's timeval_to_duration. - * s-taprop-linux.adb (Monotonic_Clock): Likewise. - -2009-11-12 Eric Botcazou <ebotcazou@adacore.com> - Laurent GUERBY <laurent@guerby.net> - - * init.c (GNU/Linux Section): Enable for all architectures. - -2009-11-10 Eric Botcazou <ebotcazou@adacore.com> - - PR ada/20548 - * system-linux-alpha.ads (Stack_Check_Probes): Set to true. - * system-linux-hppa.ads (Stack_Check_Probes): Likewise. - * system-linux-sparc.ads (Stack_Check_Probes): Likewise. - * system-linux-sparcv9.ads (Stack_Check_Probes): Likewise. - -2009-11-10 Eric Botcazou <ebotcazou@adacore.com> - - * system-linux-alpha.ads (AAMP, Compiler_System_Version, OpenVMS, - Front_End_ZCX_Support, High_Integrity_Mode, Long_Shifts_Inlined): - Delete. - (Stack_Check_Limits, Always_Compatible_Rep): New. - * system-linux-mips.ads (AAMP, Compiler_System_Version, OpenVMS, - Front_End_ZCX_Support, High_Integrity_Mode, Long_Shifts_Inlined): - Delete. - (Stack_Check_Limits, Always_Compatible_Rep): New. - * system-linux-mips64el.ads (AAMP, Compiler_System_Version, OpenVMS, - Functions_Return_By_DSP, Front_End_ZCX_Support, High_Integrity_Mode, - Long_Shifts_Inlined): Delete. - (Stack_Check_Limits, Always_Compatible_Rep): New. - * system-linux-mipsel.ads (AAMP, Compiler_System_Version, OpenVMS, - Front_End_ZCX_Support, High_Integrity_Mode, Long_Shifts_Inlined): - Delete. - (Stack_Check_Limits, Always_Compatible_Rep): New. - * system-linux-s390.ads (AAMP, Compiler_System_Version, OpenVMS, - Front_End_ZCX_Support, High_Integrity_Mode, Long_Shifts_Inlined): - Delete. - (Stack_Check_Limits, Always_Compatible_Rep): New. - * system-linux-s390x.ads (AAMP, Compiler_System_Version, OpenVMS, - Front_End_ZCX_Support, High_Integrity_Mode, Long_Shifts_Inlined): - Delete. - (Stack_Check_Limits, Always_Compatible_Rep): New. - * system-linux-sh4.ads (Stack_Check_Limits, Always_Compatible_Rep): - New. - * system-linux-sparc.ads (AAMP, Compiler_System_Version, OpenVMS, - Front_End_ZCX_Support): Delete. - (Stack_Check_Limits, Always_Compatible_Rep): New. - * system-linux-sparcv9.ads (AAMP, Compiler_System_Version, OpenVMS, - Front_End_ZCX_Support, High_Integrity_Mode, Long_Shifts_Inlined): - Delete. - (Stack_Check_Limits, Always_Compatible_Rep): New. - * system-rtems.ads (OpenVMS): Delete. - (Stack_Check_Limits, Always_Compatible_Rep): New. - -2009-11-08 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (make_packable_type): Fix oversight. - (gnat_to_gnu_field): Do not attempt to change the form of the type - if the field requires strict alignment. Always change the form of - the type if the specified size is smaller than its size. - -2009-11-05 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/utils.c (gnat_type_for_mode): Handle vector modes. - -2009-11-05 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/trans.c (lvalue_required_p) <N_Unchecked_Conversion>: - New case. - -2009-10-30 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/utils.c (MAX_FIXED_MODE_SIZE): Delete. - (create_field_decl): Update description. In a packed record, round - the size up to a byte boundary only if the field's type has BLKmode. - * gcc-interface/gigi.h (create_field_decl): Update description. - -2009-10-30 Emmanuel Briot <briot@adacore.com> - - * make.adb (Start_Compile_If_Possible): Compute location of resulting - ALI file in this procedure instead of after the compilation itself, - since the current directory might have changed in between when using - -j<n>. - - * osint.ads: Addded missing alignment clause. - - * adaint.c, adaint.h, osint.adb (__gnat_reset_attributes, - __gnat_size_of_file_attributes): Rename reset_attributes and - size_of_file_attributes. - -2009-10-30 Javier Miranda <miranda@adacore.com> - - * sem_scil.adb (Adjust_SCIL_Node): Add missing management of sequences - of statements when searching for SCIL nodes. - -2009-10-30 Tristan Gingold <gingold@adacore.com> - - * gnatlink.adb, link.c: By default use shared libgcc on darwin. - -2009-10-30 Emmanuel Briot <briot@adacore.com> - - * make.adb, osint.adb (Add_Lib_Search_Dir): Do not add if dir is - already in the list. - This saves system calls when looking for ALI files - (Scan_Make_Args): The parameter to gnatmake's -D is now converted to an - absolute PATH (so that the above improvement properly occurs if both - -D<dir> and -aO<dir> are specified). - -2009-10-30 Thomas Quinot <quinot@adacore.com> - - * a-direct.adb: Minor reformatting - -2009-10-30 Emmanuel Briot <briot@adacore.com> - - * make.adb, adaint.c, adaint.h, osint.adb, osint.ads, bcheck.adb - (*_attr): new subprograms. - (File_Length, File_Time_Stamp, Is_Writable_File): new subprograms - (Read_Library_Info_From_Full, Full_Library_Info_Name, - Full_Source_Name): Now benefit from a previous cache of the file - attributes, to further save on system calls. - (Smart_Find_File): now also cache the file attributes. This makes the - package File_Stamp_Hash_Table useless, and it was removed. - (Compile_Sources): create subprograms for the various steps of the main - loop, for readibility and to avoid sharing variables between the - various steps. - -2009-10-30 Emmanuel Briot <briot@adacore.com> - - * make.adb, osint.adb, osint.ads (Library_File_Stamp): Removed, since - unused. - (Read_Library_Info_From_Full): New subprogram. - -2009-10-30 Robert Dewar <dewar@adacore.com> - - * a-tideio.adb: Minor reformatting - * a-wtdeio.adb, a-ztdeio.adb: Update comments, code clean up. - - * a-reatim.adb, a-tideau.adb, a-ngelfu.adb, a-ztdeau.adb, a-ngrear.adb, - a-wtedit.adb, a-ststio.adb, a-ztedit.adb: Minor code reorganization - (use conditional expressions). - -2009-10-30 Ed Schonberg <schonberg@adacore.com> - - * gnat_ugn.texi: Additional info on gnatw.i and gnatw.I - - * sem_case.adb: Improved error message. - -2009-10-30 Emmanuel Briot <briot@adacore.com> - - * a-direct.adb, gnatcmd.adb, gnatname.adb, makeutl.adb, opt.ads, - osint.adb, prj-ext.adb, switch-m.adb (Follow_Links_For_Dirs): Now - defaults to False, and controlled by -eL. - * a-direct.adb: Add comments. - * osint.adb (File_Stamp): Avoid unneeded duplicate system call - -2009-10-30 Robert Dewar <dewar@adacore.com> - - * sem_res.adb (Resolve_Type_Conversion): Avoid false positive when - converting non-static subtype to "identical" static subtype. - -2009-10-30 Ed Schonberg <schonberg@adacore.com> - - * usage.adb: Add -gnatw.i switch. - -2009-10-30 Vincent Celier <celier@adacore.com> - - * xsnamest.adb: Update comments with regards to the template files - snames.*.tmpl - -2009-10-30 Bob Duff <duff@adacore.com> - - * s-fileio.adb (Errno_Message): Suppress VMS-specific warning. - -2009-10-30 Ed Schonberg <schonberg@adacore.com> - - * sem_case.adb (Check_Choices): Add explanatory message when there are - missing alternatives when the required range of alternatives is given - by the base type of the case expression or discriminant in a variant - part. - - * opt.ads: New flag Warn_On_Overlap, to enable warnings on potentially - dangerous overlap between actuals in a call, activated by -gnatw.i - * sem_warn.adb (Set_Dot_Warning_Switch): set flag. - (Warn_On_Overlapping_Actuals): use new flag. - - * gnat_ugn.texi: Document -gnatw.i, warning on overlapping actuals - -2009-10-30 Robert Dewar <dewar@adacore.com> - - * exp_aggr.adb, exp_ch9.adb: Minor reformatting - -2009-10-29 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (make_type_from_size) <INTEGER_TYPE>: Do not - create integer types with precision 0. - -2009-10-29 Eric Botcazou <ebotcazou@adacore.com> - - PR ada/41870 - * gcc-interface/decl.c (array_type_has_nonaliased_component): Swap - parameters and rewrite comments. For a derived type, return the - setting of its parent type. - (gnat_to_gnu_entity): Do an alias set copy for derived types if they - are composite. Adjust calls to above function. - -2009-10-29 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/trans.c (Attribute_to_gnu) <Attr_Object_Size>: Do not - return the RM size for padded types. - -2009-10-28 Robert Dewar <dewar@adacore.com> - - * sem_type.adb: Minor reformatting - -2009-10-28 Arnaud Charlet <charlet@adacore.com> - - * exp_ch9.adb (Build_Task_Proc_Specification): Generate a different - suffix for task type bodies. - -2009-10-28 Ed Schonberg <schonberg@adacore.com> - - * exp_aggr.adb (Convert_Aggr_In_Allocator): Do not look for a - finalization list if the designated type requires no control actions, - to prevent a useless semantic dependence on ada.tags. - -2009-10-28 Bob Duff <duff@adacore.com> - - * s-fileio.adb: Give more information in exception messages. - -2009-10-28 Robert Dewar <dewar@adacore.com> - - * gnat_ugn.texi: Document new -gnatyt requirement for space after right - paren if next token starts with digit or letter. - * styleg.adb (Check_Right_Paren): New rule for space after if next - character is a letter or digit. - -2009-10-28 Thomas Quinot <quinot@adacore.com> - - * s-crtl.ads (System.CRTL.strerror): New function. - -2009-10-28 Ed Schonberg <schonberg@adacore.com> - - * sem_type.adb: Add guard to recover some type errors. - -2009-10-28 Vincent Celier <celier@adacore.com> - - * prj-nmsc.adb (Add_To_Or_Remove_From_List): New name of procedure - Add_If_Not_In_List to account to the fact that a directory may be - removed from the list. Only remove directory if Removed is True. - -2009-10-28 Gary Dismukes <dismukes@adacore.com> - - * a-textio.ads, a-textio.ads: Put back function EOF_Char in private - part. Put back body of function EOF_Char. - * a-tienau.adb: Remove with of Interfaces.C_Streams and change EOF back - to EOF_Char. - -2009-10-28 Emmanuel Briot <briot@adacore.com> - - * prj-tree.adb (Free): Fix memory leak. - -2009-10-28 Thomas Quinot <quinot@adacore.com> - - * s-fileio.adb: Minor reformatting - -2009-10-28 Arnaud Charlet <charlet@adacore.com> - - * gcc-interface/Make-lang.in: Update dependencies. - -2009-10-28 Robert Dewar <dewar@adacore.com> - - * exp_attr.adb, exp_ch9.adb, prj-nmsc.adb, tbuild.adb, ali.adb, - types.ads: Minor reformatting - -2009-10-28 Tristan Gingold <gingold@adacore.com> - - * init.c: Fix __gnat_error_handler for Darwin10 (Snow Leopard) - -2009-10-28 Thomas Quinot <quinot@adacore.com> - - * exp_ch4.adb (Expand_N_Type_Conversion): Perform Integer promotion for - the operand of the unary minus and ABS operators. - - * sem_type.adb (Covers): A concurrent type and its corresponding record - type are compatible. - * exp_attr.adb (Expand_N_Attribute_Reference): Do not rewrite a 'Access - attribute reference for the current instance of a protected type while - analyzing an access discriminant constraint in a component definition. - Such a reference is handled in the corresponding record's init proc, - while initializing the constrained component. - * exp_ch9.adb (Expand_N_Protected_Type_Declaration): When creating the - corresponding record type, propagate components' - Has_Per_Object_Constraint flag. - * exp_ch3.adb (Build_Init_Procedure.Build_Init_Statements): - For a concurrent type, set up concurrent aspects before initializing - components with a per object constrain, because they may be controlled, - and their initialization may call entries or protected subprograms of - the enclosing concurrent object. - -2009-10-28 Emmanuel Briot <briot@adacore.com> - - * prj-nmsc.adb (Add_If_Not_In_List): New subprogram, for better sharing - of code. - (Find_Source_Dirs): resolve links if Opt.Follow_Links_For_Dirs when - processing the directories specified explicitly in the project file. - -2009-10-28 Robert Dewar <dewar@adacore.com> - - * a-ztexio.adb, a-ztexio.ads, a-witeio.ads, a-witeio.adb, - a-textio.ads, a-textio.adb: Reorganize (moving specs from private part - to body). - (Initialize_Standard_Files): New procedure. - * a-tienau.adb: Minor change to make EOF directly visible - * a-tirsfi.ads, a-wrstfi.adb, a-wrstfi.ads, a-zrstfi.adb, - a-zrstfi.ads, a-tirsfi.adb: New unit, initial version. - * gnat_rm.texi: Add documentation for - Ada.[Wide_[Wide_]]Text_IO.Reset_Standard_Files. - * Makefile.rtl: Add entries for - Ada.[Wide_[Wide_]]Text_IO.Reset_Standard_Files - -2009-10-28 Thomas Quinot <quinot@adacore.com> - - * exp_ch9.ads: Minor reformatting - * sem_ch3.adb: Minor reformatting - * sem_aggr.adb: Minor reformatting. - * sem_attr.adb: Minor reformatting - * tbuild.adb, tbuild.ads, par-ch4.adb, exp_ch4.adb (Tbuild.New_Op_Node): - New subprogram. - Minor code reorganization/factoring. - -2009-10-27 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (purpose_member_field): New static function. - (annotate_rep): Use it instead of purpose_member. - -2009-10-27 Eric Botcazou <ebotcazou@adacore.com> - - * raise-gcc (db_region_for): Use _Unwind_GetIPInfo instead of - _Unwind_GetIP if HAVE_GETIPINFO is defined. - (db_action_for): Likewise. - -2009-10-27 Robert Dewar <dewar@adacore.com> - - * s-fileio.adb, s-fileio.ads, sem_util.adb, sem_warn.adb, - sem_warn.ads: Minor reformatting - -2009-10-27 Robert Dewar <dewar@adacore.com> - - * sem_warn.adb, sem_util.adb, sem_util.ads: Minor reformatting. Add - comments. - -2009-10-27 Robert Dewar <dewar@adacore.com> - - * s-os_lib.ads, s-os_lib.adb, prj-err.adb, makeutl.adb: Minor - reformatting. - -2009-10-27 Ed Schonberg <schonberg@adacore.com> - - * sem.util.ads, sem_util.adb (Denotes_Same_Object, - Denotes_Same_Prefix): New functions to detect overlap between actuals - that are not by-copy in a call, when one of them is in-out. - * sem_warn.ads, sem_warn.adb (Warn_On_Overlapping_Actuals): New - procedure, called on a subprogram call to warn when an in-out actual - that is not by-copy overlaps with another actual, thus leadind to - potentially dangerous aliasing in the body of the called subprogram. - Currently the warning is under control of the -gnatX switch. - * sem_res.adb (resolve_call): call Warn_On_Overlapping_Actuals. - -2009-10-27 Thomas Quinot <quinot@adacore.com> - - * sem_ch12.adb (Install_Formal_Packages): Do not omit installation of - visible entities when the formal package doesn't have a box. - - * checks.adb: Minor reformatting. - -2009-10-27 Vincent Celier <celier@adacore.com> - - * prj-part.adb (Parse): Catch exception Types.Unrecoverable_Error and - set Project to Empty_Node. - -2009-10-27 Robert Dewar <dewar@adacore.com> - - * gnatbind.adb: Minor reformatting - -2009-10-27 Arnaud Charlet <charlet@adacore.com> - - * exp_aggr.adb: Fix comment. - -2009-10-27 Emmanuel Briot <briot@adacore.com> - - * prj-err.adb (Error_Msg): take into account continuation lines when - computing whether we have a warning. - -2009-10-27 Vasiliy Fofanov <fofanov@adacore.com> - - * make.adb, s-os_lib.adb, s-os_lib.ads (Create_Temp_Output_File): New - routine that is designed to create temp file descriptor specifically - for redirecting an output stream. - -2009-10-24 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: When - processing the parent type, build the COMPONENT_REF for a discriminant - with the proper type. - -2009-10-24 Eric Botcazou <ebotcazou@adacore.com> - - * init.c (__gnat_adjust_context_for_raise): Mention _Unwind_GetIPInfo. - * gcc-interface/Makefile.in (GNATLIBCFLAGS_FOR_C): Add HAVE_GETIPINFO. - Pass GNATLIBCFLAGS_FOR_C to recursive invocations. - -2009-10-21 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interfaces/decl.c (build_subst_list): Convert the expression of - the constraint to the type of the discriminant. - -2009-10-21 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interfaces/decl.c (gnat_to_gnu_entity): Do not create a new - TYPE_DECL when a type is padded if there is already one and reset - TYPE_STUB_DECL in this case. - -2009-10-21 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interfaces/utils.c (create_subprog_decl): Do not redefine - main_identifier_node. - -2009-10-17 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/utils.c (convert): When converting to a padded type - with an inner type of self-referential size, pad the expression before - doing the unchecked conversion. - -2009-10-17 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/utils2.c (build_binary_op) <ARRAY_RANGE_REF>: Make - sure the element type is consistent. - -2009-10-17 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/trans.c (addressable_p): Handle bitwise operations. - -2009-10-16 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/ada-tree.h (TYPE_FAT_POINTER_P): Swap with... - (TYPE_IS_FAT_POINTER_P): ...this. - (TYPE_THIN_POINTER_P): Rename into... - (TYPE_IS_THIN_POINTER_P): ...this. - (TYPE_FAT_OR_THIN_POINTER_P): Rename into... - (TYPE_IS_FAT_OR_THIN_POINTER_P): ...this. - (TYPE_IS_PADDING_P): Change definition, move old one to... - (TYPE_PADDING_P): ...this. - * gcc-interface/decl.c (gnat_to_gnu_entity): Adjust for above changes. - (get_unpadded_type): Likewise. - (gnat_to_gnu_component_type): Likewise. - (gnat_to_gnu_param): Likewise. - (relate_alias_sets): Likewise. - (make_packable_type): Likewise. - (maybe_pad_type): Likewise. - (gnat_to_gnu_field): Likewise. - (is_variable_size): Likewise. - (annotate_object): Likewise. - (validate_size): Likewise. - (set_rm_size): Likewise. - (make_type_from_size): Likewise. - (rm_size): Likewise. - * gcc-interface/misc.c (gnat_print_type): Likewise. - (gnat_get_alias_set): Likewise. - * gcc-interface/trans.c (Identifier_to_gnu): Likewise. - (Attribute_to_gnu): Likewise. - (call_to_gnu): Likewise. - (gnat_to_gnu): Likewise. - (add_decl_expr): Likewise. - (convert_with_check): Likewise. - (addressable_p): Likewise. - (maybe_implicit_deref): Likewise. - (protect_multiple_eval): Likewise. - (gnat_stabilize_reference_1): Likewise. - * gcc-interface/utils.c (gnat_pushdecl): Likewise. - (finish_record_type): Likewise. - (rest_of_record_type_compilation): Likewise. - (create_type_decl): Likewise. - (gnat_types_compatible_p): Likewise. - (build_template): Likewise. - (convert_vms_descriptor64): Likewise. - (convert_vms_descriptor32): Likewise. - (build_unc_object_type_from_ptr): Likewise. - (update_pointer_to): Likewise. - (convert_to_fat_pointer): Likewise. - (convert_to_fat_pointer): Likewise. - (convert): Likewise. - (remove_conversions): Likewise. - (maybe_unconstrained_array): Likewise. - (unchecked_convert): Likewise. - (handle_vector_type_attribute): Likewise. - * gcc-interface/utils2.c (build_binary_op): Likewise. - (build_unary_op): Likewise. - (build_allocator): Likewise. - -2009-10-16 Eric Botcazou <ebotcazou@adacore.com> - - * exp_dbug.ads: Adjust type names in comments. - * gcc-interface/decl.c (maybe_pad_type): Remove NAME_TRAILER parameter, - add new IS_COMPONENT_TYPE parameter. Adjust. Remove dead code. - (gnat_to_gnu_entity): Adjust for above change. - (gnat_to_gnu_component_type): Likewise. - (gnat_to_gnu_field): Likewise. - * gcc-interface/trans.c (call_to_gnu): Likewise. Do not unnecessarily - call max_size. - * gcc-interface/utils.c (finish_record_type): Remove obsolete code. - * gcc-interface/gigi.h (maybe_pad_type): Adjust prototype. - -2009-10-16 Joel Sherrill <joel.sherrill@oarcorp.com> - - * s-osinte-rtems.ads: Add mutex type to pthread_mutexattr_t - * s-stchop-rtems.adb: Correct binding to rtems_stack_checker_is_blown. - -2009-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> - - * env.c [__alpha__ && __osf__] (AES_SOURCE): Define. - -2009-10-10 Samuel Tardieu <sam@rfc1149.net> - - * sem_eval.adb: Give a more precise error message. - -2009-10-06 Samuel Tardieu <sam@rfc1149.net> - - PR ada/41383 - * a-rttiev.adb (Time_Of_Event): Return Time_First for unset event. - -2009-10-06 Samuel Tardieu <sam@rfc1149.net> - - PR ada/38333 - * sem_prag.adb (Process_Import_Or_Interface): Forbid an abstract - subprogram to be completed with a "pragma Import". - -2009-10-02 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: - Generate an XVZ variable alongside the XVS type if the size is - not constant. - (maybe_pad_type): Minor tweak. - -2009-10-02 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (check_ok_for_atomic): Do nothing if the type - doesn't come from source. - -2009-10-02 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (gnat_to_gnu_component_type): Force at least - unit size for the component size of an array with aliased components. - (maybe_pad_type): Do not warn for MAX_EXPR. - -2009-09-29 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Factor out - common code processing the component type into... - <E_Array_Subtype>: Likewise. - (gnat_to_gnu_component_type): ...this new static function. - (maybe_pad_type): Minor cleanup. - -2009-09-29 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Rewrite - the handling of constrained discriminated record subtypes. - (components_to_record): Declare the type of the variants and of the - qualified union. - (build_subst_list): Move around. - (compute_field_positions): Rename into... - (build_position_list): ...this. Return a TREE_VEC. - (annotate_rep): Adjust for above renaming. - (build_variant_list): New static function. - (create_field_decl_from): Likewise. - (get_rep_part): Likewise. - (get_variant_part): Likewise. - (create_variant_part_from): Likewise. - (copy_and_substitute_in_size): Likewise. - -2009-09-28 Olivier Hainque <hainque@adacore.com> - - PR ada/41100 - * gcc-interface/targtyps.c (get_target_default_allocator_alignment): - Account for observable alignments out of default allocators. - -2009-09-28 Richard Henderson <rth@redhat.com> - - * gcc-interface/utils.c (gnat_install_builtins): Update call to - build_common_builtin_nodes. - -2009-09-26 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Filter out - negative size for the array dimensions like in the constrained case. - <E_Array_Subtype>: Do not create an artificially non-constant high - bound if the low bound is non-constant. Minor tweaks. - - * gcc-interface/trans.c (lvalue_required_p): Add CONSTANT parameter - and turn ALIASED into a boolean parameter. Adjust calls to self. - <N_Attribute_Reference>: Return 1 for more attributes. - <N_Object_Renaming_Declaration>: Return 1 for non-constant objects. - <N_Assignment_Statement>: Return 1 for the LHS. - (Identifier_to_gnu): Adjust calls to lvalue_required_p. - (call_to_gnu): Be prepared for wrapped boolean rvalues. - -2009-09-25 Olivier Hainquqe <hainque@adacore.com> - Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/ada-tree.h (TYPE_REPRESENTATIVE_ARRAY): New language - specific node. Representative array type for VECTOR_TYPE entities. - * gcc-interface/utils.c (handle_vector_type_attribute): New handler. - Turn an ARRAY_TYPE entity into a VECTOR_TYPE. - (gnat_types_compatible_p): Handle VECTOR_TYPEs. - (convert): Likewise. Arrange to produce VECTOR_CST out of constant - array aggregates for VECTOR_TYPE entities. - (unchecked_convert): Likewise. - (maybe_vector_array): New function. If EXP has VECTOR_TYPE, return EXP - converted to the associated TYPE_REPRESENTATIVE_ARRAY. - (handle_pure_attribute, handle_sentinel_attribute, - handle_noreturn_attribute, handle_malloc_attribute, - handle_vector_size_attribute): Replace uses of qE format by qs. - Remove GCC_DIAG_STYLE definition. - * gcc-interface/trans.c (gnat_to_gnu) <N_Indexed_Component>: Convert - vector input to representative array type on entry. - <N_Op_Eq, etc>: Likewise. - * gcc-interface/gigi.h (maybe_vector_array): Declare. - (VECTOR_TYPE_P): New predicate. - * gcc-interface/misc.c (gnat_print_type): Handle VECTOR_TYPE. - -2009-09-24 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/ada.h: Fix outdated comment. - * gcc-interface/ada-tree.h (SET_TYPE_RM_VALUE): Use MARK_VISITED in - lieu of mark_visited. - * gcc-interface/gigi.h (mark_visited): Change type of parameter. - (MARK_VISITED): New macro. - (gnat_truthvalue_conversion): Delete. - * gcc-interface/decl.c (gnat_to_gnu_entity): Use MARK_VISITED in lieu - of mark_visited. - (annotate_rep): Fix formatting and tidy. - (compute_field_positions): Get rid of useless variable. - * gcc-interface/trans.c (gnat_to_gnu): Retrieve the Nkind of the GNAT - node only once. Use IN operator for the Nkind in more cases. - Remove calls to gnat_truthvalue_conversion. - (mark_visited): Change type of parameter and adjust. - (mark_visited_r): Dereference TP only once. - (add_decl_expr): Use MARK_VISITED in lieu of mark_visited. - * gcc-interface/utils2.c (gnat_truthvalue_conversion): Delete. - (build_binary_op): Remove calls to gnat_truthvalue_conversion. - (build_unary_op): Likewise. - -2009-09-24 Dave Korn <dave.korn.cygwin@gmail.com> - - * gcc-interface/Makefile.in (LIBGNAT_TARGET_PAIRS): Simplify test for - a-except% in target pairs list; don't (implicitly) compare whitespace. - -2009-09-24 Jakub Jelinek <jakub@redhat.com> - - * gcc-interface/utils.c (gnat_pushdecl): Don't set - DECL_NO_STATIC_CHAIN, set DECL_STATIC_CHAIN for - nested functions. - -2009-09-21 Joel Sherrill <joel.sherrill@oarcorp.com> - - * s-osinte-rtems.ad[bs]: Get_Page_Size cannot return 0. - Bind to getpagesize() in RTEMS 4.10 and newer. - -2009-09-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> - - * env.c [__alpha__ && __osf__] (_BSD): Define. - * init.c [__alpha__ && __osf__] (__gnat_error_handler): Cast msg - to const char *. - -2009-09-18 Pascal Obry <obry@adacore.com> - - * mingw32.h: Activate Unicode support for x86-64 Windows platform. - -2009-09-18 Vadim Godunko <godunko@adacore.com> - - * s-oscons-tmplt.c: Add circuit for handling IOV_MAX macro on IRIX. - -2009-09-18 Javier Miranda <miranda@adacore.com> - - * exp_aggr.adb (Backend_Processing_Possible): Disable backend - processing for array aggregates in the VM backend if the array has - aliased components. - -2009-09-18 Ed Schonberg <schonberg@adacore.com> - - * sem_ch4.adb (Analyze_Indexed_Component): Emit error if the type of - the prefix indicates a previous semantic error, and this is the first - error in the program. - -2009-09-18 Bob Duff <duff@adacore.com> - - * gnat_ugn.texi: Minor editing. - -2009-09-18 Vincent Celier <celier@adacore.com> - - * prj.ads, prj.adb (Project_Data): New component - Imported_Directories_Switches. - -2009-09-18 Pascal Obry <obry@adacore.com> - - * mingw32.h: Include standard _mingw.h file. - Define _WIN32_WINNT only if not already defined. - -2009-09-18 Thomas Quinot <quinot@adacore.com> - - * g-socket.adb (Is_Open): New function indicating whether a - Selector_Type object is open. - -2009-09-18 Vincent Celier <celier@adacore.com> - - * osint-c.adb (Create_Output_Library_Info): Make sure that the ALI file - is deleted before creating it. - -2009-09-18 Robert Dewar <dewar@adacore.com> - - * bindgen.adb: Minor reformatting - -2009-09-18 Arnaud Charlet <charlet@adacore.com> - - * s-taprop-tru64.adb, s-taprop-linux.adb, s-taprop-solaris.adb, - s-taprop-irix.adb, s-taprop-posix.adb (Abort_Task): Do nothing if no - signal handler is installed. - * s-tassta.adb (Finalize_Global_Tasks): Do not wait for independent - tasks if Abort_Task_Interrupt cannot be used. - -2009-09-18 Vincent Celier <celier@adacore.com> - - * prj-tree.ads: Minor comment update - -2009-09-17 Bob Duff <duff@adacore.com> - - * g-socket.ads: Document the fact that Close_Selector has no effect on - a closed selector. - * g-socket.adb: Raise an exception when a Selector that should be open - is closed. - (Check_Selector): Declare RSig as a constant rather than a renames, - less confusing. - -2009-09-17 Robert Dewar <dewar@adacore.com> - - * exp_ch9.adb, exp_ch5.adb, exp_ch4.adb, prj-conf.adb, prj-env.ads, - prj-ext.adb, prj-ext.ads, prj-pars.adb, prj-part.adb, prj-proc.adb, - prj-tree.ads: Minor reformatting - -2009-09-17 Emmanuel Briot <briot@adacore.com> - - * prj-conf.adb, prj-env.adb, prj-env.ads (Create_Temp_File): Moved to - spec. - (Do_Autoconf): If the object directory does not exists, create auto.cgpr - in a temporary directory instead - -2009-09-17 Bob Duff <duff@adacore.com> - - * a-dynpri.adb (Set_Priority): Don't do anything if the task is already - terminated. - (Get_Priority): Correct message for "terminated" case -- it said "null". - -2009-09-17 Robert Dewar <dewar@adacore.com> - - * exp_ch6.adb: Minor reformatting - -2009-09-17 Emmanuel Briot <briot@adacore.com> - - * gnatcmd.adb, make.adb, prj-part.adb, prj-ext.adb, prj-ext.ads, - switch-m.adb, switch-m.ads, clean.adb, prj-tree.ads - (Project_Node_Tree_Data.Project_Path): New field. - - * prj-conf.adb (Do_Autoconf): Remove "creating auto.cgpr" message - -2009-09-17 Emmanuel Briot <briot@adacore.com> - - * prj-ext.adb, prj-ext.ads, makeutl.adb (Is_External_Assignment): - Remove duplicate code. - (Prj.Ext): Fix memory leak - (Check): Now allow the syntax "-Xfoo=" to set an empty value to the - variable. This was previously allowed in the code in - Is_External_Assignment, and some tests rely on it - -2009-09-17 Bob Duff <duff@adacore.com> - - * gnat_rm.texi, s-oscons-tmplt.c: Minor typo - -2009-09-17 Emmanuel Briot <briot@adacore.com> - - * gnatcmd.adb, prj-proc.adb, make.adb, prj-ext.adb, prj-ext.ads, - makeutl.adb, makeutl.ads, clean.adb, prj-pars.adb, prj-pars.ads, - prj-conf.adb, prj-conf.ads, prj-tree.adb, prj-tree.ads, prj-proc.ads, - prj-nmsc.ads (Add, Value_Of, Reset): new parameter Tree. - Scenario variables are now specific to each project tree loaded in - memory. - Code clean ups. - -2009-09-17 Javier Miranda <miranda@adacore.com> - - * exp_disp.adb (Make_DT): Remove wrong line of code that was - undocumented and probably added by mistake. - -2009-09-16 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/trans.c (Attribute_to_gnu) <Attr_Size>: Strip - conversions between original and packable version of types from - the expression. - -2009-09-16 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (gnat_to_gnu_field): Add DEBUG_INFO_P parameter. - If a padding type was made for the field, declare it. - (components_to_record): Add DEBUG_INFO_P parameter. Adjust call - to gnat_to_gnu_field and call to self. - (gnat_to_gnu_entity) <E_Array_Type>: Do not redeclare padding types. - <E_Array_Subtype>: Likewise. - Adjust calls to gnat_to_gnu_field and components_to_record. - -2009-09-16 Robert Dewar <dewar@adacore.com> - - * prj-nmsc.adb: Minor reformatting - -2009-09-16 Ed Schonberg <schonberg@adacore.com> - - * exp_ch4.adb (Expand_N_Conditional_Expression): If the type of the - expression is a by-reference type (tagged or inherently limited) - introduce an access type to capture references to the values of each - branch of the conditional. - -2009-09-16 Emmanuel Briot <briot@adacore.com> - - * prj-proc.adb, prj-part.adb, prj-tree.adb, prj-tree.ads - (Project_Name_And_Node.Display_Name): new field - The display name of a project (as written in the .gpr file) is now - computed when the project file itself is parsed, not when it is - processed. - -2009-09-16 Thomas Quinot <quinot@adacore.com> - - * freeze.adb, exp_intr.adb (Expand_Intrinsic_Call): Leave calls to - intrinsics untouched (to be expanded later on by gigi) if an external - name has been specified. - (Freeze_Entity): Do not generate a default external name for - imported subprograms with convention Intrinsic (so that the above code - can identify the case where an external name has been explicitly - provided). - - * s-oscons-tmplt.c: Quote TARGET_OS early so that it is not erroneously - replaced by something else due to an existing #define clause. - -2009-09-16 Ed Schonberg <schonberg@adacore.com> - - * sinfo.ads, sinfo.adb (Is_Accessibility_Actual): New flag on - Parameter_Association node, created for the extra actual generated for - an access parameter of a function that dispatches on result, to prevent - double generation of such actuals when the call is rewritten is a - dispatching call. - * exp_ch6.adb (Expand_Call): Set Is_Accessibility_Actual when needed. - * exp_disp.adb (Expand_Dispatching_Call): Do not transfer extra actuals - that carry this flag when rewriting the original call as a dispatching - call, after propagating the controlling tag. - -2009-09-16 Vincent Celier <celier@adacore.com> - - * prj-nmsc.adb (Add_Source): New parameter Source_Dir_Rank to be put - in the source data. - (Check_File): New parameter Source_Dir_Rank, to check if a duplicate - source is allowed. - (Find_Source_Dirs): New parameter Rank to be recorded with the source - directories. - (Search_Directories): Call Check_File with the rank of the directory - * prj.adb (Project_Empty): Add new component Source_Dir_Ranks - (Free): Free also Number_Lists - (Reset): Init also Number_Lists - * prj.ads (Number_List_Table): New dynamic table for lists of numbers - (Source_Data): New component Source_Dir_Rank. Remove component - Known_Order_Of_Source_Dirs, no longer needed. - (Project_Data): New component Source_Dir_Ranks - (Project_Tree_Data): New components Number_Lists - -2009-09-16 Vincent Celier <celier@adacore.com> - - * gprep.adb (Yes_No): New global constant - Unix_Line_Terminators: New global Boolean variable - (Process_One_File): Create the out file with a "Text_Translation=" form - that depends on the use of option -T. - (Scan_Command_Line): Add option -T - (Usage): Add line for option -T - -2009-09-16 Ed Schonberg <schonberg@adacore.com> - - * exp_disp.ads, exp_disp.adb (Is_Predefined_Internal_Operation): New - predicate that describes a proper subset of - Is_Predefined_Dispatching_Operation and excludes stream operations, - which can be overridden by the user. - * sem_ch6.adb (Create_Extra_Formals): use - Is_Predefined_Internal_Operation, so that stream operations get extra - formals. - * exp_ch6.adb (Prevent double generation of extra actuals in calls to - 'Input, which may be expanded twice, first as a function call and then - as a dispatching call. - -2009-09-16 Thomas Quinot <quinot@adacore.com> - - * s-oscons-tmplt.c (Target_OS, Target_Name): New constants. - * g-expect.adb (Set_Up_Child_Communications): Use - System.OS_Constants.Target_OS to determine whether running on Windows. - -2009-09-14 Richard Henderson <rth@redhat.com> - - * gcc-interface/trans.c (Pragma_to_gnu): Use build5 for ASM_EXPR. - -2009-09-14 Eric Botcazou <ebotcazou@adacore.com> - - * exp_dbug.ads (Packed Array Encoding): Document the new encoding for - the unconstrained case. - * gcc-interfaces/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Implement - the encoding. Do not give a name to the pointer type to the XUT type. - * gcc-interfaces/utils.c (gnat_pushdecl): Propagate DECL_ORIGINAL_TYPE - for fat pointer types, if any. Make sure DECL_ARTIFICIAL is cleared - on nodes with DECL_ORIGINAL_TYPE set. - (update_pointer_to): Set DECL_ORIGINAL_TYPE to the original pointer - for fat pointer types. Make sure DECL_ARTIFICIAL is cleared. - -2009-09-14 Richard Henderson <rth@redhat.com> - - * gcc-interface/misc.c (gnat_init_gcc_eh): Don't call - default_init_unwind_resume_libfunc. - * gcc-interface/trans.c (Exception_Handler_to_gnu_zcx): Use - __builtin_eh_pointer. - * gcc-interface/utils.c (gnat_install_builtins): Update call - to build_common_builtin_nodes. - -2009-09-13 Richard Guenther <rguenther@suse.de> - Rafael Avila de Espindola <espindola@google.com> - - * gcc-interface/misc.c (gnat_init_gcc_eh): Do not set variables - eh_personality_libfunc and lang_eh_runtime_type. - (LANG_HOOKS_EH_PERSONALITY): Define. - (gnat_eh_personality_decl): New static variable. - (gnat_eh_personality): New static function. - Include gt-ada-misc.h. - * gcc-interface/Make-lang.in (misc.o): Add gt-ada-misc.h dependency. - * gcc-interface/config-lang.in (gtfiles): Add misc.c. - -2009-09-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> - - PR ada/18302 - * gcc-interface/Make-lang.in (check-acats): Export rootme, EXPECT. - -2009-09-08 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Tidy - flow of control. - Avoid useless work when processing the Treat_As_Volatile flag. - -2009-09-08 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/targtyps.c: Reorder include directives. - -2009-09-07 Laurent GUERBY <laurent@guerby.net> - - * gcc-interface/targtyps.c: Add missing include for tm_p.h. - * gcc-interface/Make-lang.in: Update dependencies. - -2009-09-07 Laurent GUERBY <laurent@guerby.net> - - * make.adb: Add missing documentation for multilib handling. - -2009-09-03 Diego Novillo <dnovillo@google.com> - - * gcc-interface/misc.c (lang_hooks): Remove const qualifier. - -2009-09-02 Richard Henderson <rth@redhat.com> - - * tb-gcc.c (__gnat_backtrace): Mark all arguments unused. - -2009-09-02 Olivier Hainque <hainque@adacore.com> - - * init.c (__gnat_error_handler, AIX): Add ATTRIBUTE_UNUSED on si - and uc arguments. - -2009-09-02 Olivier Hainque <hainque@adacore.com> - - * gcc-interface/decl.c (cannot_be_superflat_p): Handle - Signed_Integer_Type_Definition Scalar_Ranges. - -2009-09-02 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/trans.c (gnat_gimplify_expr) <ADDR_EXPR>: Gimplify the - SAVE_EXPR built for misaligned arguments. Remove redundant stuff. - (addressable_p): Return true for more rvalues. - -2009-09-01 Jakub Jelinek <jakub@redhat.com> - - * gcc-interface/utils2.c (maybe_wrap_malloc, maybe_wrap_free): Cast - POINTER_SIZE to HOST_WIDE_INT. - -2009-09-01 Richard Guenther <rguenther@suse.de> - - * gcc-interface/misc.c (LANG_HOOKS_MARK_ADDRESSABLE): Remove. - -2009-08-25 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/trans.c (call_to_gnu): Tidy. - (gnat_to_gnu) <N_Slice>: Set TYPE_ARRAY_MAX_SIZE if the slice has - non-constant size but the array itself has constant size. - * gcc-interface/utils.c (convert_vms_descriptor64): Fix type - consistency error. - (convert_vms_descriptor32): Likewise. - -2009-08-22 Aurelien Jarno <aurelien@aurel32.net> - - * gcc-interface/Makefile.in: Add Ada support for - GNU/kFreeBSD x86_64. - * system-freebsd-x86_64.ads: New file based on - system-freebsd-x86.ads. - -2009-08-20 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/utils.c (convert): In the padded case, do the final - conversion as an unchecked conversion if the underlying types are - array types with variable size. - -2009-08-20 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/ada-tree.h (SET_TYPE_RM_VALUE): Mark the expression - as visited. - * gcc-interface/misc.c (gnat_get_subrange_bounds): Always return the - bounds. - * gcc-interface/trans.c (add_decl_expr): Do not mark gigi-specific - fields. - (gnat_gimplify_expr) <DECL_EXPR>: New case. - -2009-08-17 Aurelien Jarno <aurelien@aurel32.net> - - * s-osinte-kfreebsd-gnu.ads (SA_ONSTACK): New constant. - (stack_t): New record type. - (sigaltstack): New imported function. - (Alternate_Stack): New imported variable. - (Alternate_Stack_Size): New constant. - -2009-08-17 Vasiliy Fofanov <fofanov@adacore.com> - - * a-calend-vms.adb: Fix typo. - -2009-08-17 Tristan Gingold <gingold@adacore.com> - - * s-taprop-posix.adb: Round up the stack size to avoid failure on - Darwin. - -2009-08-17 Gary Dismukes <dismukes@adacore.com> - - * sem_cat.adb (Validate_Static_Object_Name): Update comment. - -2009-08-17 Vincent Celier <celier@adacore.com> - - * make.adb (Arguments_Collected): Unneeded, removed - (Change_To_Object_Directory): Use Project directly. Add pragma Assert to - ensure caller does not pass in No_Project. - (Compile): Add new parameter Project. Let procedure - Collect_Arguments_And_Compile provide the proper value. - - * switch-c.adb: Add documentation for -gnatea and -gnatez - -2009-08-17 Ben Brosgol <brosgol@adacore.com> - - * gnat_ugn.texi: Changed name of package in SAL example, to avoid - clash with Ada 2005 reserved word (interface). - -2009-08-17 Robert Dewar <dewar@adacore.com> - - * a-crbtgk.adb, a-crdlli.adb, a-direct.adb, a-caldel-vms.adb, - a-calend-vms.adb, a-calfor.adb, a-cdlili.adb, a-chahan.adb, - a-cidlli.adb, a-coinve.adb, a-comlin.adb: Minor code reorganization - (use conditional expressions). - -2009-08-17 Robert Dewar <dewar@adacore.com> - - * make.adb: Add ??? comment - * tbuild.adb: Minor reformatting - -2009-08-17 Thomas Quinot <quinot@adacore.com> - - * exp_ch4.adb (Exp_Ch4.Expand_N_Slice.Make_Temporary): Rename to - Make_Temporary_For_Slice to avoid confusion with Tbuild.Make_Temporary. - Use Tbuild.Make_Temporary to create entity for the temporary. - -2009-08-17 Arnaud Charlet <charlet@adacore.com> - - * make.adb (Process_Multilib, Scan_Make_Arg): Refine previous change - and ignore -mieee switch to avoid spawning an extra gcc in this case. - -2009-08-17 Thomas Quinot <quinot@adacore.com> - - * tbuild.adb: Minor reformatting - -2009-08-17 Ed Schonberg <schonberg@adacore.com> - - * exp_ch3.adb (Build_Discriminant_Formals): If the discriminals already - exist, as is the case for synchronized types, use the type of the - discriminal in the parameter specification, to prevent a spurious - subtype mismatch in gigi. - -2009-08-17 Robert Dewar <dewar@adacore.com> - - * prj-env.adb: Minor reformatting - * make.adb: Minor reformatting - Comment updates - -2009-08-17 Javier Miranda <miranda@adacore.com> - - * exp_ch7.adb (Wrap_Transient_Expression): Update comments. - -2009-08-17 Emmanuel Briot <briot@adacore.com> - - * prj-part.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-conf.adb - (Processing_Flags.Require_Obj_Dirs): new field, which controls whether - object directories must be present. In the case of gprclean at least, - these are optional (if they do not exist there is nothing to clean) - -2009-08-17 Robert Dewar <dewar@adacore.com> - - * prj-env.adb: Minor reformatting - * sem_ch3.adb: Minor reformatting - -2009-08-17 Hristian Kirtchev <kirtchev@adacore.com> - - * sysdep.c (__gnat_localtime_tzoff): VxWorks case - Flip the sign of - the time zone since VxWorks chose positive values to represent west - time zones and negative for east zones. - -2009-08-17 Ed Schonberg <schonberg@adacore.com> - - * sem_ch3.adb (Access_Definition): Do not create an Itype reference for - an anonymous access type whose designated type is generic. - -2009-08-17 Arnaud Charlet <charlet@adacore.com> - - * comperr.adb (Compiler_Abort): Do not generate a bug box when in - codepeer mode, friendlier. - -2009-08-10 Laurent GUERBY <laurent@guerby.net> - - * make.adb: Handle multilib - -2009-08-10 Vincent Celier <celier@adacore.com> - - * prj-env.adb (Create_Config_Pragmas_File.Write_Temp_File): Do not use - the temporary file name in the error message when the temporary file - cannot be created. - -2009-08-10 Yannick Moy <moy@adacore.com> - - * gnat_ugn.texi: Fix typo - -2009-08-10 Robert Dewar <dewar@adacore.com> - - * exp_ch7.adb: Add ??? comment for last change - -2009-08-10 Vincent Celier <celier@adacore.com> - - * prj-env.adb (Add_To_Buffer): New procedure - (Create_Config_Pragmas_File): Write to temporary file in one shot - (Create_Mapping_File): Ditto - (Set_Ada_Paths): Ditto - -2009-08-10 Vincent Celier <celier@adacore.com> - - PR ada/17566 - * xref_lib.adb (Print_Xref): Make sure that there is at least one space - between a declaration name and its type. - -2009-08-07 Javier Miranda <miranda@adacore.com> - - * exp_ch7.adb (Wrap_Transient_Expression): Add missing adjustment of - SCIL node. - -2009-08-07 Robert Dewar <dewar@adacore.com> - - * sem_warn.adb (Warn_On_Unreferenced_Entity): Fix obvious typo. - -2009-08-07 Vincent Celier <celier@adacore.com> - - * gnatcmd.adb (GNATCmd): If -U is not used, one and only one main is - specified on the command line and there are switches in the Compiler - package of the project file, use these compilation switches to invoke - the tool. - -2009-08-07 Ben Brosgol <brosgol@adacore.com> - - * gnat_ugn.texi: Wordsmithing edits at beginning of gnatcheck chapter. - -2009-08-07 Ed Schonberg <schonberg@adacore.com> - - * sem_ch10.adb (Analyze_Proper_Body): Indicate name of missing subunit - even if not in main unit, to simplify debugging. - -2009-08-07 Arnaud Charlet <charlet@adacore.com> - - * gcc-interface/Makefile.in: Fix handling of GCC_FOR_TARGET. - * gcc-interface/Make-lang.in: Update dependencies. - -2009-08-07 Robert Dewar <dewar@adacore.com> - - * types.ads: Minor reformatting - * sem_ch12.ads (Check_Generic_Child_Unit): Add missing documentation. - * frontend.adb, sem_warn.adb, sem_warn.ads: Fix spelling of - Output_Non_Modified_In_Out_Warnings. - * sem_ch13.adb: Remove ??? comment. - -2009-08-07 Vincent Celier <celier@adacore.com> - - * mlib-prj.adb (Build_Library): Include binder generate object file - for SAL when library name is only one character. - -2009-08-07 Thomas Quinot <quinot@adacore.com> - - * targparm.adb: Minor reformatting - * sem.adb: Minor reformatting - * exp_ch4.adb (Expand_N_Conditional_Expression): Add comment. - -2009-08-07 Emmanuel Briot <briot@adacore.com> - - * prj-conf.adb: Remove duplicate directory separator in the output when - an object directory does not exist. - -2009-08-07 Robert Dewar <dewar@adacore.com> - - * exp_util.adb: Minor reformatting - -2009-08-07 Vincent Celier <celier@adacore.com> - - * mlib-prj.adb (Build_Library): Fixed bug in name of ALI file (wrong - length used). - -2009-08-07 Ed Schonberg <schonberg@adacore.com> - - * exp_ch9.adb (Expand_N_Protected_Type_Declaration): In Ravenscar mode, - detect non-static private components that will violate restriction - No_Implicit_Heap_Allocation. - -2009-08-07 Ben Brosgol <brosgol@adacore.com> - - * gnat_ugn.texi: Edited Rule Exemption section of gnatcheck chapter. - -2009-08-02 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/gigi.h (end_subprog_body): Tweak comment. - * gcc-interface/utils.c (end_subprog_body): Likewise. - * gcc-interface/trans.c (gigi): Likewise. - (gnat_to_gnu): Likewise. - -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. - -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, adaint.c: Minor reformatting - -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. - -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. - -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. - -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. - -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. - -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. - -2009-07-28 Arnaud Charlet <charlet@adacore.com> - - * gcc-interface/Make-lang.in: Update dependencies. - -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 - -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. - -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. - -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. - -2009-07-28 Robert Dewar <dewar@adacore.com> - - * prj-nmsc.adb, g-expect.adb, prj.ads: Minor reformatting - -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. - -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. - -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. - -2009-07-27 Emmanuel Briot <briot@adacore.com> - - * prj.ads, prj-nmsc.adb (Override_Kind): add debug trace - Add comments. - -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 - -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. - -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> - - * gnatfind.adb, osint.ads, sem.adb, xr_tabls.adb: Minor reformatting - and code clean up. - -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. - -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. - -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. - -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. - -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 - -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. - -2009-07-26 Dave Korn <dave.korn.cygwin@gmail.com> - - PR bootstrap/40578 - * adaint.h (FOPEN, STAT, FSTAT, LSTAT, STRUCT_STAT): Rename from these - (GNAT_FOPEN, GNAT_STAT, GNAT_FSTAT, GNAT_LSTAT, GNAT_STRUCT_STAT): ... - to these. - (__gnat_stat): Adjust reference to STAT in prototype. - * adaint.c (__gnat_try_lock, __gnat_fopen, __gnat_file_length, - __gnat_named_file_length, __gnat_file_time_name, __gnat_file_time_fd, - __gnat_get_libraries_from_registry, __gnat_stat, __gnat_file_exists, - __gnat_is_regular_file, __gnat_is_directory, __gnat_is_readable_file, - __gnat_is_writable_file, __gnat_is_executable_file, - __gnat_set_writable, __gnat_set_executable, __gnat_set_non_writable, - __gnat_set_readable, __gnat_set_non_readable, __gnat_is_symbolic_link, - __gnat_copy_attribs): Adjust all references to the above. - * cstreams.c (__gnat_is_regular_file_fd): Likewise. - -2009-07-23 Ed Schonberg <schonberg@adacore.com> - - * sem.adb (Do_Unit_And_Dependents): Now that specs and bodies are not - done at the same time, guard against listing a body more than once. - -2009-07-23 Robert Dewar <dewar@adacore.com> - - * exp_ch6.adb: Minor reformatting - -2009-07-23 Ed Schonberg <schonberg@adacore.com> - - * sem_ch3.adb (Analyze_Object_Declaration): A scalar constant with a - static expression is known valid. - * sem_eval.adb (Compile_Time_Compare): Handle properly non-static - operands of a subtype with a single value. - -2009-07-23 Ed Schonberg <schonberg@adacore.com> - - * sem.adb (Do_Units_And_Dependents): Process bodies only for units that - are in the context of the main unit body. - -2009-07-23 Sergey Rybin <rybin@adacore.com> - - * gnat_ugn.texi (Misnamed_Controlling_Parameters gnatcheck rule): Fix - misprint in rule description. - -2009-07-23 Gary Dismukes <dismukes@adacore.com> - - * exp_ch6.adb (Make_Build_In_Place_Call_In_Object_Declaration): Replace - test that the object declaration is within an extended return statement - with direct test of whether the declared object associated with the - build-in-place call is a return object, since the enclosing function - might not even be a build-in-place function. - -2009-07-23 Robert Dewar <dewar@adacore.com> - - * freeze.adb, prj-nmsc.adb, errout.adb: Minor reformatting - Minor code reorganization - -2009-07-23 Arnaud Charlet <charlet@adacore.com> - - * sem_prag.adb (Analyze_Pragma): Do not ignore pragma Pack on records - for static analysis, only packed arrays are causing troubles. - -2009-07-23 Gary Dismukes <dismukes@adacore.com> - - * sem_aggr.adb (Resolve_Extension_Aggregate): Report an error when the - ancestor part is a call to a limited function with an unconstrained - result subtype unless the aggregate has a null extension type. - * sem_ch3.adb (Is_Null_Extension): Use the base type when retrieving - the parent type declaration to avoid blowups on subtype cases. - -2009-07-23 Robert Dewar <dewar@adacore.com> - - * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Better message for missing - comma. - - * sem_util.adb (Wrong_Type): Special message for cases like A and B = 0 - - * s-regexp.adb: Minor reformatting - * scos.ads: Minor reformatting. - -2009-07-23 Arnaud Charlet <charlet@adacore.com> - - * freeze.adb (Set_Small_Size): Remove extra space for consistency with - other similar messages. - * sem_prag.adb (Freeze_Record_Type, Freeze_Entity): Disable error - messages/implicit packing in CodePeer mode. - (Analyze_Pragma [case pragma Pack]): Ignore pragma in CodePeer mode. - * errout.adb (Special_Msg_Delete): Suppress 'size too small' message in - CodePeer mode. - -2009-07-23 Pascal Obry <obry@adacore.com> - - * prj-nmsc.adb: Fix spec/body naming extension on case insensitive - systems. - -2009-07-23 Robert Dewar <dewar@adacore.com> - - * einfo.ads, g-ssvety.ads, s-regexp.adb, g-sse.ads: Update comment. - Minor reformatting. - -2009-07-23 Yannick Moy <moy@adacore.com> - - * s-regexp.adb (Check_Well_Formed_Pattern): Called before compiling the - pattern. - (Raise_Exception_If_No_More_Chars): Remove extra blank in exception - string. - (Raise_Exception): Ditto. - -2009-07-23 Olivier Hainque <hainque@adacore.com> - - * g-sse.ads: Simplify comment. - -2009-07-23 Olivier Hainque <hainque@adacore.com> - - * g-ssinty.ads: New unit. GNAT.SSE.Internal_Types. Factorize - low level internal type definitions for distinct higher level - binding development activities (user type definitions and - operations). - * gnat_rm.texi: Document it. - * g-ssvety.ads: Use it. - * gcc-interface/Makefile.in: (x86 32/64 linux, cygwin32 sections): Add - g-ssinty.o to EXTRA_GNATRTL_NONTASKING_OBJS. - * gcc-interface/utils.c (gnat_internal_attribute_table): Add entry - for the "may_alias" attribute. - -2009-07-23 Thomas Quinot <quinot@adacore.com> - - * scos.ads: Minor typo fix - - * gcc-interface/decl.c (validate_alignment): For the case of an - implicit array base type, look for alignment clause on first subtype. - -2009-07-23 Robert Dewar <dewar@adacore.com> - - * gcc-interface/decl.c (gnat_to_gnu_field): Don't check for overlap - with tagged parent if tagged parent is fully repped. - -2009-07-23 Ed Schonberg <schonberg@adacore.com> - - * sem.adb (Walk_Library_Units): Handle properly the case where a unit - in the context depends on the spec of the main unit, by delaying - processing of the main unit body until all other units have been - processed. - -2009-07-23 Arnaud Charlet <charlet@adacore.com> - - * a-convec.adb: Add comments about suspicious/subtle code. - -2009-07-23 Ed Schonberg <schonberg@adacore.com> - - * einfo.ads: Document use of Alias in private overriding - -2009-07-23 Thomas Quinot <quinot@adacore.com> - - * sem_ch13.adb (Analyze_Attribute_Definition_Clause): For the case of - an array type, propagate alignment from first subtype to implicit base - type so that other subtypes (such as the itypes for aggregates of the - type) also receive the expected alignment. - - * g-comlin.ads: Minor documentation clarification/rewording. - * scos.ads: Minor comments update. - * lib-writ.ads: Minor reformatting - -2009-07-23 Gary Dismukes <dismukes@adacore.com> - - * exp_ch3.adb (Expand_N_Object_Declaration): For an initialized object - of a class-wide interface type that is a return object of a - build-in-place function, bypass the interface-related expansions into - renamings with displacement conversions, etc. - * exp_ch5.adb (Expand_N_Extended_Return_Statement): Add an assertion - for the case where a renaming occurs in a build-in-place context, to - assert that the bypassing of the build-in-place treatment only occurs - in the case of a renaming that is an expansion of a return expression - that is itself a build-in-place function call. - -2009-07-23 Ed Schonberg <schonberg@adacore.com> - - * sem_ch4.adb (Try_Primitive_Operation): A primitive operation is a - valid candidate interpretation in a prefixed view if it is hidden, but - overrides an inherited operation declared in the visible part. - -2009-07-23 Robert Dewar <dewar@adacore.com> - - * exp_ch4.adb (Expand_N_Type_Conversion): Don't promote integer - division operands to 64-bit at all in any circumstances. - -2009-07-23 Robert Dewar <dewar@adacore.com> - - * exp_ch4.adb (Analyze_N_Op_Rem): Assume operands are valid when - checking ranges for mod/rem to see if conditional jump will be - generated. - (Analyze_N_Op_Rem): Don't try to check actual lower bounds for - generating special -1 test for rem, generate it whenever both - operands can be negative (match circuit in Sem_Res). - (Analyze_N_Op_Rem): Don't go to base type, no longer needed and - destroys memory of positive range. - * sem_res.adb (Resolve_Arithmetic_Op): Assume operands are valid when - checking ranges for mod/rem to see if conditional jump will be generated - -2009-07-23 Ed Schonberg <schonberg@adacore.com> - - * exp_ch3.adb (Build_Equivalent_Record_Aggregate): If the type of a - scalar components has non-static bounds, the equivalent aggregate - cannot be built, even if the expression is static, because range checks - will be generated. - -2009-07-23 Robert Dewar <dewar@adacore.com> - - * exp_ch4.adb (Expand_N_Type_Conversion): Don't promote integer - division operands to 64-bit inside a conversion if 64-bit division not - available. - -2009-07-23 Sergey Rybin <rybin@adacore.com> - - * gnat_ugn.texi: Update doc on Misnamed_Identifiers rule. - -2009-07-23 Javier Miranda <miranda@adacore.com> - - * sinfo.ads, sinfo.adb (SCIL_Entity/Set_SCIL_Entity): new subprograms - (Entity/Set_Entity): not available in N_Null_Statement nodes - (Is_Scil_Node): renamed as Is_SCIL_Node - (Scil_Nkind): renamed as SCIL_Nkind - (Scil_Related_Node): renamed as SCIL_Related_Node - (Scil_Target_Prim): renamed as SCIL_Target_Prim - (Set_Is_Scil_Node): Renamed as Set_Is_SCIL_Node - (Set_Scil_Related_Node): Renamed as Set_SCIL_Related_Node - (Set_Scil_Target_Prim): Renamed as Set_SCIL_Target_Prim - Update documentation - * exp_disp.ads (Scil_Node_Kind): Renamed as SCIL_Node_Kind - (Get_Scil_Node_Kind): Renamed as Get_SCIL_Node_Kind - (New_Scil_Node): Renamed as New_SCIL_Node - * exp_disp.adb Update all occurrences of New_Scil_Node to New_SCIL_Node. - (Get_Scil_Node_Kind): Renamed as Get_SCIL_Node_Kind - (New_Scil_Node): Renamed as New_SCIL_Node - * exp_ch3.adb Update occurrence of New_Scil_Node to New_SCIL_Node. - -2009-07-23 Robert Dewar <dewar@adacore.com> - - * sem_prag.adb: No_Return is an Ada 2005 pragma, not a GNAT pragma - * snames.ads-tmpl: No_Return is an Ada 2005 pragma, not a GNAT pragma - * einfo.adb: Minor reformatting - -2009-07-23 Robert Dewar <dewar@adacore.com> - - * checks.adb (Apply_Arithmetic_Overflow_Check): Add comments - cross-referencing the new related code in - Exp_Ch4.Expand_N_Type_Conversion. - * exp_ch4.adb (Expand_N_Type_Conversion): Avoid unnecessary overflows - - * exp_disp.adb, exp_disp.ads, sinfo.ads: Minor reformatting. - Add comment. - -2009-07-23 Javier Miranda <miranda@adacore.com> - - * sinfo.ads (Is_Scil_Node, Scil_Nkind, Scil_Related_Node, - Scil_Target_Prim, N_Has_Entity): Add missing documentation. - * exp_disp.ads (Scil_Node_Kind): Ditto. - * exp_disp.adb (Make_DT, Make_Tags): Ditto. - * exp_ch3.adb (Build_Init_Procedure): Ditto. - -2009-07-23 Javier Miranda <miranda@adacore.com> - - * einfo.adb (Component_Type): Add missing assertion. - * sem_res.adb (Resolve_Call): Ensure proper kind of entity before - reading attribute Component_Size. - * exp_ch4.adb (Is_Safe_In_Place_Array_Op): Ensure proper kind of entity - before reading attributes Component_Size and Component_Type. - * exp_ch3.adb (Build_Initialization_Call): Ensure proper kind of entity - before reading attribute Component_Type. - -2009-07-23 Olivier Hainque <hainque@adacore.com> - - * gnat_rm.texi: Document the GNAT.SSE units. - -2009-07-23 Ed Schonberg <schonberg@adacore.com> - - * sem_ch6.adb (Analyze_Return_Type): Do not create itype reference for - not null return if it appears on a subunit. - -2009-07-23 Robert Dewar <dewar@adacore.com> - - * exp_ch5.adb (Expand_N_Assignment_Statement): Do left-side validity - check right away so it does not get skipped for early returns, e.g. - array assignments. - (Expand_N_Assignment_Statement): Don't propagate Is_Known_Valid to - left-side unless we really know the value is valid. - - * errout.adb, exp_ch3.adb, exp_disp.ads, sinfo.ads, exp_disp.adb: Minor - reformatting. Minor code reorganization. Add comments. - -2009-07-23 Robert Dewar <dewar@adacore.com> - - * get_scos.adb (Skip_EOL): Fix error of mishandling end of line after - complex condition. - -2009-07-23 Gary Dismukes <dismukes@adacore.com> - - * sem_ch6.adb (Check_Return_Subtype_Indication): Replace type equality - with test of coverage, to allow specific type objects in extended - returns of class-wide functions. Remove now-unnecessary special-case - tests that allowed this in certain cases of expanded extended returns. - -2009-07-23 Javier Miranda <miranda@adacore.com> - - * sinfo.ads,sinfo.adb (Entity/Set_Entity): Attribute available in - N_Null_Statements (for SCIL nodes). - (Is_Scil_Node/Set_Is_Scil_Node): New attribute (for SCIL nodes). - (Scil_Nkind/Set_Scil_Nkind): New attribute (for SCIL nodes). - (Scil_Related_Node/Set_Scil_Related_Node): New attribute (for SCIL - nodes). - (Scil_Target_Prim/Set_Scil_Target_Prim): New attribute (for SCIL nodes). - * exp_disp.adb (Expand_Dispatching_Call): Add generation of SCIL node - associated with dispatching call. - (Get_Scil_Node_Kind): New function that returns the kind of SCIL node. - (Make_DT, Make_Tags): Add generation of SCIL nodes associated with - initialization of dispatch tables and initialization of tags. - (New_Scil_Node): New function that creates a new SCIL node. - (Build_Init_Procedure): Add generation of SCIL node associated with the - initialization of tags done in the IP subprogram. - -2009-07-23 Ed Schonberg <schonberg@adacore.com> - - * errout.adb (Error_Msg_NEL): If the entity in the initial message has - Warnings_Off, do not emit continuation messages. - - * sem_ch10.adb: Set Is_Compilation_Unit on generated child subprogram - spec. - -2009-07-23 Emmanuel Briot <briot@adacore.com> - - * ali.adb: Minor comment update - -2009-07-23 Vasiliy Fofanov <fofanov@adacore.com> - - * s-win32.ads (HANDLE): Define to be the same size as address type. - Fix copyright. - -2009-07-23 Olivier Hainque <hainque@adacore.com> - - * g-sse.ads: New file. Root of the SSE facilities trees, with - general description and common declarations. - * g-ssvety.ads: New file. Expose user level SSE vector types. - * impunit.adb (Non_Imp_File_Names_95): Register new units. - * gcc-interface/Makefile.in (x86 32/64 linux, win32): Add - EXTRA_GNATRTL_NONTASKING_OBJS entries for SSE units. - -2009-07-23 Ben Brosgol <brosgol@adacore.com> - - * gnat_ugn.texi: Wordsmithing. - -2009-07-23 Arnaud Charlet <charlet@adacore.com> - - * prj-conf.ads, prj-conf.adb: Switch to GPLv3. - -2009-07-22 Eric Botcazou <ebotcazou@adacore.com> - - * exp_aggr.adb (Gen_Loop): Do not qualify the bounds of the range if - they are already of the base type of the index. - -2009-07-22 Brett Porter <porter@adacore.com> - - * sysdep.c, init.c: Fix typo: _SPE_ should have been __SPE__. - -2009-07-22 Robert Dewar <dewar@adacore.com> - - * vms_data.ads: Add entry for SCO_OUTPUT (-gnateS) - * gnat_ugn.texi: Add documentation for -gnateS switch - * ug_words: Add entry for -gnateS /SCO_OUTPUT - * gcc-interface/Make-lang.in: Update dependencies. - - * get_scos.adb, get_scos.ads, gnat1drv.adb, par_sco.adb, - par_sco.ads, put_scos.adb, put_scos.ads, scos.adb, scos.ads: Initial - complete information for SCO input/output. - -2009-07-22 Sergey Rybin <rybin@adacore.com> - - * gnat_ugn.texi: Update doc for some gnatcheck rules. - -2009-07-22 Robert Dewar <dewar@adacore.com> - - * par_sco.adb, par_sco.ads (pscos): New debug routine to output - contents of SCO tables. - * put_scos.adb, put_scos.ads, get_scos.adb, get_scos.ads, - scos.adb, scos.ads: New files. - * gcc-interface/Make-lang.in: Update dependencies. - - * lib-util.ads, gnatbind.ads, ali.ads, binderr.ads: Minor comment - fixes and reformatting. - -2009-07-22 Robert Dewar <dewar@adacore.com> - - * g-socket.ads: Minor reformatting - -2009-07-22 Gary Dismukes <dismukes@adacore.com> - - * sem_warn.adb (Warn_On_Unreferenced_Entity): Add warning messages that - include the entity kind for following cases of unreferenced entities: - E_Label, E_Discriminant, E_Package, E_Exception, and Formal_Object_Kind. - -2009-07-22 Ed Falis <falis@adacore.com> - - * s-vxwext-kernel.adb, s-vxwext-kernel.ads: Replace use of taskStop - with taskSuspend. - -2009-07-22 Arnaud Charlet <charlet@adacore.com> - - * adadecode.c: Make this file compilable outside of GCC. - -2009-07-22 Thomas Quinot <quinot@adacore.com> - - * g-socket.adb, g-socket.ads (Check_Selector): Make sure that - (partially) default-initialized socket sets are handled properly by - clearing their Set component. - -2009-07-22 Bob Duff <duff@adacore.com> - - * gnat_ugn.texi: Clarify the -gnatVx (validity checking) switches. - -2009-07-22 Robert Dewar <dewar@adacore.com> - - * gnat_ugn.texi: Minor reformatting - -2009-07-22 Ed Schonberg <schonberg@adacore.com> - - * errout.adb (Error_Msg): A style message within an instantiation - should not be labelled as an error. - -2009-07-22 Ed Schonberg <schonberg@adacore.com> - - * freeze.adb (Freeze_Entity): Do not generate extra formal for function - in initialization expression if function does not have convention Ada. - -2009-07-22 Sergey Rybin <rybin@adacore.com> - - * gnat_ugn.texi, vms_data.ads: Add qualifier for new gnatpp option - '--separate-label' to control label layout. - -2009-07-22 Robert Dewar <dewar@adacore.com> - - * exp_tss.ads, sem_eval.adb: Minor reformatting - -2009-07-22 Bob Duff <duff@adacore.com> - - * exp_dist.adb, exp_dist.ads: Update comments. - -2009-07-22 Brett Porter <porter@adacore.com> - - * init.c (__gnat_init_float): For SPE, set bits in SPEFSCR instead of - FPSCR. - * sysdep.c (__gnat_get_task_options): Set task option enabling SPE. - -2009-07-22 Gary Dismukes <dismukes@adacore.com> - - * exp_ch5.adb, sem_util.adb, sem_attr.adb, exp_dbug.ads, exp_ch2.adb, - exp_tss.ads, exp_ch4.adb, sem_ch4.adb: Correct spelling error. - Minor reformatting. - * sem_res.adb (Resolve_Explicit_Dereference): Reword one comment that - used poor terminology. - -2009-07-22 Robert Dewar <dewar@adacore.com> - - * freeze.adb, sem_ch3.adb, sem_prag.adb: Minor reformatting - * sem_eval.adb, exp_tss.adb: Minor comment update. - * stylesw.adb: Code clean up. - -2009-07-22 Ed Schonberg <schonberg@adacore.com> - - * freeze.adb (Freeze_Entity): If Implicit_Packing is enabled, and the - component size is an exact number of bytes, an array type can have a - size clause that forces packing even though the array type itself is - not bit-packed. - -2009-07-22 Thomas Quinot <quinot@adacore.com> - - * sem_ch3.adb (Analyze_Object_Declaration): For a constant declaration, - if there is a previous entity with the same name in the scope, ignore - it if it is the renaming declaration for a generic package introduced - in instances. - -2009-07-22 Nicolas Roche <roche@adacore.com> - - * seh_init.c: use RtlAddFunctionTable to register our SEH exception - handler on x86_64 windows. - -2009-07-22 Arnaud Charlet <charlet@adacore.com> - - * sem_prag.adb (Analyze_Pragma): Initialize/Normalize_Scalars create - false positives in CodePeer, so ignore this pragma in this mode. - -2009-07-22 Thomas Quinot <quinot@adacore.com> - - * sem_util.adb, sem_ch10.adb: Minor reformatting - - * g-socket.adb (Receive_Socket, recvfrom(2) variant): Apply required - special handling for the case of no data received and Item'First = - Stream_Element_Offset'First. - (Last_Index): New subprogram factoring the above special handling - over the various locations where it is required. - -2009-07-22 Arnaud Charlet <charlet@adacore.com> - - * gnat1drv.adb (Gnat1drv): Also disable division by zero and alignment - checks in CodePeer_Mode. - * gcc-interface/Make-lang.in: Update dependencies. - -2009-07-22 Ed Schonberg <schonberg@adacore.com> - - * sem_aggr.adb: Improve error message. - - * sem_ch13.adb: If Ignore_Rep_Clauses is enabled, do a minimal analysis - of an address representation clause. - * freeze.adb (Freeze_Static_Object): An local imported object is legal - if it has an address clause. - -2009-07-22 Thomas Quinot <quinot@adacore.com> - - * sem_elab.adb (Insert_Elab_Check): When relocating an overloaded - expression to insert an elab check using a conditional expression, be - sure to carry the original list of interpretations to the new location. - -2009-07-22 Gary Dismukes <dismukes@adacore.com> - - * gnat1drv.adb: Fix spelling error. - -2009-07-22 Javier Miranda <miranda@adacore.com> - - * sem_type.ads, sem_type.adb (In_Generic_Actual): Leave this subprogram - at the library level and fix a hidden bug in its implementation: its - functionality for renaming objects was broken because - N_Object_Renaming_Declarations nodes are not a subclass of - N_Declaration nodes (as documented in sinfo.ads). - * sem_util.adb (Check_Dynamically_Tagged_Expression): Include in this - check nodes that are actuals of generic instantiations. - -2009-07-22 Ed Schonberg <schonberg@adacore.com> - - * sinfo.ads, sinfo.adb (Pending_Context): New flag to indicate that the - context of a compilation unit is being analyzed. Used to detect - circularities created by with_clauses that are not detected by the - loading machinery. - * sem_ch10.adb (Analyze_Compilation_Unit): Set Pending_Context before - analyzing the context of the current compilation unit, to detect - possible circularities created by with_clauses. - -2009-07-22 Thomas Quinot <quinot@adacore.com> - - * sem_type.adb (Get_First_Interp): Fix wrong loop exit condition. - -2009-07-22 Robert Dewar <dewar@adacore.com> - - * sem_res.adb (Check_No_Direct_Boolean_Operators): Add check for -gnatyB - * style.ads, styleg.adb, styleg.ads (Check_Boolean_Operator): New - procedure. - * usage.adb, stylesw.ads, stylesw.adb: Add handling of -gnatyB switch - * gnat_ugn.texi: Add documentation of -gnatyB - * vms_data.ads: Add entry for -gnatyB (STYLE=BOOLEAN_OPERATORS) - -2009-07-22 Robert Dewar <dewar@adacore.com> - - * s-stchop.adb, a-direct.adb, a-ztexio.adb, gnatchop.adb, prj-proc.adb, - make.adb, s-regpat.adb, ali-util.adb, a-ngcefu.adb, prep.adb, - s-tassta.adb, a-tifiio.adb, a-textio.adb, prj.adb, uintp.adb, - s-valrea.adb, a-ngelfu.adb, prepcomp.adb, sinput-l.adb, vms_conv.adb, - errout.adb, g-alleve.adb, repinfo.adb, a-wtedit.adb, ali.adb, - a-witeio.adb, prj-dect.adb, prj-nmsc.adb, sinput-c.adb, binde.adb, - s-regexp.adb, s-imgrea.adb, a-teioed.adb, errutil.adb, prj-util.adb, - a-ztedit.adb, gnatls.adb, prj-conf.adb, bcheck.adb, s-scaval.adb, - erroutc.adb, osint.adb, a-strfix.adb, s-fileio.adb: Make sure sources - obey short-circuit style rule. - -2009-07-20 Bob Duff <duff@adacore.com> - - * sem_ch13.adb (Analyze_Record_Representation_Clause): Use "and then" - instead of "and", because otherwise Parent_Last_Bit is read - uninitialized in the case where it's not a tagged type, or the tagged - parent does not have a complete rep clause. - -2009-07-20 Robert Dewar <dewar@adacore.com> - - * stylesw.ads: Minor documentation change. - - * types.ads: Minor reformatting - -2009-07-20 Javier Miranda <miranda@adacore.com> - - * exp_disp.ads (Apply_Access_Checks): New subprogram that takes care of - generating the tag checks associated with dispatching calls. - * exp_disp.adb (Apply_Access_Checks): New subprogram. - (New_Value): This routine was previously local to expand dispatching - calls but it is now used also by Apply_Access_Checks. - (Expand_Dispatching_Calls): Cleanup code because the functionality of - tag checks is now provided by Apply_Access_Checks. - * exp_ch6.adb (Expand_Call): Incorporate generation of tag checks in - case of dispatching calls. - -2009-07-20 Arnaud Charlet <charlet@adacore.com> - - * gnat1drv.adb (Gnat1drv): Also disable Elaboration_Check in - CodePeer_Mode. - -2009-07-20 Gary Dismukes <dismukes@adacore.com> - - * exp_prag.adb (Expand_Pragma_Import_Export_Exception): When compiling - for VMS, only rewrite the first component of the associated exception's - aggregate init (as 'V'), and eliminate the bogus rewrites of the second - and third components that were being replaced with 'M' and 'S'. - -2009-07-20 Arnaud Charlet <charlet@adacore.com> - - * gnat1drv.adb (Gnat1drv): Suppress access checks in CodePeer mode. - Also do not generate error when parsing a spec in CodePeer mode. - -2009-07-20 Javier Miranda <miranda@adacore.com> - - * checks.adb (Apply_Access_Check): Avoid checks on availability of - runtime function Offset_To_Top_Ptr when compiling with no tagged - types expansion. - * exp_ch3.adb (Build_Init_Procedure): Leave open the possibility of - adding code to the init proc when compiling for VM backends. - -2009-07-20 Vincent Celier <celier@adacore.com> - - * switch-m.ads, switch-m.adb (Normalize_Compiler_Switches): Take into - account switches -gnatw.? - -2009-07-20 Thomas Quinot <quinot@adacore.com> - - * sem_dist.adb, exp_dist.adb: Minor reformatting - - * Make-generated.in: New file. - - * gcc-interface/Make-lang.in: Use Make-generated.in fragment. - -2009-07-20 Javier Miranda <miranda@adacore.com> - - * sem_util.ads, sem_util.adb (Check_Dynamically_Tagged_Expression): New - subprogram. - * sem_aggr.adb (Resolve_Array_Aggregate): Check incorrect use of - dynamically tagged expression. - * sem_ch3.adb (Analyze_Object_Declaration): Call new routine that - factorizes code. - * sem_ch6.adb (Analyze_Function_Return, Process_Formals): Ditto. - * sem_ch8.adb (Analyze_Object_Renaming): Ditto. - -2009-07-20 Arnaud Charlet <charlet@adacore.com> - - * gnat1drv.adb (Gnat1drv): Set operating mode to Generate_Code when - CodePeer_Mode is set, to benefit from full front-end expansion - (e.g. generics). - -2009-07-20 Ed Schonberg <schonberg@adacore.com> - - * sem_res.adb: Add guard. - - * exp_disp.adb, sem_disp.adb (Make_DT): Check underlying view of type - for possible attribute definition of External_Tag, in case clause - appears in the private part of a package. - -2009-07-20 Jerome Guitton <guitton@adacore.com> - - * gcc-interface/Makefile.in: cleanup powerpc linux target pairs. - -2009-07-20 Vadim Godunko <godunko@adacore.com> - - * a-coorma.adb: Minor reformatting. - -2009-07-20 Ed Schonberg <schonberg@adacore.com> - - * sem_ch3 (Build_Itype_Reference): Make public, for use on non-null - access return types. - * sem_ch6.adb (Analyze_Return_Type): If return is a not null subtype, - provide an itype reference to gigi to force elaboration of the subtype - at the proper point. - -2009-07-20 Tristan Gingold <gingold@adacore.com> - - * g-expect.adb: Avoid closeing already closed handle. - -2009-07-20 Robert Dewar <dewar@adacore.com> - - * sprint.adb (Write_Subprogram_Name): New procedure to output - subprogram name with possible preceding $ (replaces - Note_Implicit_Run_Time_Call). - -2009-07-20 Robert Dewar <dewar@adacore.com> - - * vms_data.ads: Minor reformatting - - * einfo.ads, einfo.adb (Parent_Subtype): Now allowed on record subtype, - applies to base type. - (Parent_Subtype): Now allowed on record subtype, applies to base type - * exp_ch5.adb (Expand_Assign_Record): Handle Componentwise_Assignment - for case of fully repped tagged type. - (Make_Tag_Ctrl_Assignment): Set Componentwise_Assignment and avoid - tag save/restore for fully repped tagged type case. - * exp_util.ads, exp_util.adb (Is_Fully_Repped_Tagged_Type): New function - * fe.h (Is_Fully_Repped_Tagged_Type): New function - * sem_ch13.adb (Analyze_Recorrd_Representation_Clause): Check for - overlap of tagged type components with parent type if parent type is - fully repped. - * sinfo.ads, sinfo.adb (Componentwise_Assignment): New flag - - * sem_res.adb (Check_No_Direct_Boolean_Operators): Remove handling of - comparisons. - (Resolve_Comparison_Operators): Remove No_Direct_Boolean_Operators check - (Resolve_Equality_Op): Remove No_Direct_Boolean_Operators check - - * gnat_rm.texi: Restriction No_Direct_Boolean_Operators includes only - logical operators (AND/OR/XOR), not comparison operators. - - * sprint.ads: Minor reformatting - -2009-07-20 Ed Schonberg <schonberg@adacore.com> - - * sem_intr.adb (Check_Intrinsic_Call): For Import_Value and related - intrinsics, check that argument is a string literal, rather than - checking for staticness. - -2009-07-20 Robert Dewar <dewar@adacore.com> - - * sem_ch13.adb: Minor reformatting - - * einfo.ads: Minor reformatting - Component_Bit_Offset is no longer considered obsolescent - -2009-07-20 Nicolas Roche <roche@adacore.com> - - * a-calend.adb: Redefine time_t as signed integer with same size as - Address type. - * s-os_lib.ads: Redefine OS_Time as signed integer with same size as - Address type - * adaint.h: On Windows 64bits declare OS_Time as long long instead of - long - -2009-07-20 Javier Miranda <miranda@adacore.com> - - * exp_tss.adb (Init_Proc): Add missing support for non-default C++ - constructors that have anonymous access type formals. - - * sem_res.adb (Resolve_Actuals): Disable checks associated with Ada - class-wide arguments in case of imported C++ subprograms. - - * exp_ch3.adb (Build_Initialization_Call): Add assertion. - -2009-07-20 Sergey Rybin <rybin@adacore.com> - - * vms_data.ads: Update qualifiers. - -2009-07-20 Robert Dewar <dewar@adacore.com> - - * einfo.ads, switch.adb, gnatls.adb, inline.adb, sem_ch13.adb: Minor - reformatting - -2009-07-17 Richard Guenther <rguenther@suse.de> - - PR c/40401 - * gcc-interface/utils.c (end_subprog_body): Revert to pre-tuples - state. Remove unused parameter. - (gnat_gimplify_function): Do not gimplify here. - Fold into its only caller and remove. - (gnat_builtin_function): Adjust for end_subprog_body signature change. - (gnat_write_global_declarations): Also finalize the CU. - * gcc-interface/misc.c (gnat_parse_file): Do not finalize the CU here. - * gcc-interface/trans.c (gigi): Revert to pre-tuples state. - (Subprogram_Body_to_gnu): Adjust for end_subprog_body signature - change. - * gcc-interface/gigi.h (end_subprog_body): Remove unused parameter. - -2009-07-15 Arnaud Charlet <charlet@adacore.com> - - * gcc-interface/Make-lang.in: Update dependencies - - * gcc-interface/Makefile.in: Add target pairs for PPC/Xenomai - -2009-07-15 Robert Dewar <dewar@adacore.com> - - * par_sco.adb (Traverse_Declarations_Or_Statements): Add processing for - N_Label. Remove SCO table entry for entry point (not used). - - * par_sco.ads: Remove SCO entry point type (not used) - - * switch.adb: Minor code clean up. - -2009-07-15 Eric Botcazou <ebotcazou@adacore.com> - - * exp_dbug.ads (Base Record Types): Document enhanced encoding. - -2009-07-15 Thomas Quinot <quinot@adacore.com> - - * gnatls.adb: Minor reformatting - - * gnatcmd.adb: Minor code reorganization - -2009-07-15 Ed Schonberg <schonberg@adacore.com> - - * exp_util.adb (Component_May_Be_Bit_Aligned): Use underlying type to - determine whether a component of a private type has a composite type. - -2009-07-15 Robert Dewar <dewar@adacore.com> - - * sem_ch10.adb: Minor reformatting throughout - Minor code reorganization (put nested subprograms in alpha order) - -2009-07-15 Ed Schonberg <schonberg@adacore.com> - - * exp_ch6.adb (Expand_Call): Prevent double attachment of the result - when compiling a call to a protected function that returns a controlled - object. - -2009-07-15 Hristian Kirtchev <kirtchev@adacore.com> - - * sysdep.c (__gnat_localtime_tzoff): Consolidate the Lynx cases into - one. Add task locking and unlocking around the critical region which - mentions localtime_r and global variable timezone for various targets. - Comment reformatting. - -2009-07-15 Robert Dewar <dewar@adacore.com> - - * gnat_rm.texi: Document s-ststop.ads - - * impunit.ad: (Map_Array): New table of alternative names - (Get_Kind_Of_Unit): Return possible suggested alternative name - - * impunit.ads (Get_Kind_Of_Unit): Return possible suggested - alternative name. - - * sem_ch10.adb (Analalyze_With_Clause): Add name of possible - alternative unit if an implementation unit is with'ed. - -2009-07-15 Robert Dewar <dewar@adacore.com> - - * gnat_ugn.texi: Minor updates. - - * snames.ads-tmpl: Minor comment updates for Ada 2005 fully implemented - -2009-07-15 Ed Schonberg <schonberg@adacore.com> - - * sem_warn.adb (Warn_On_Constant_Condition): Handle properly constant - conditions of a derived boolean type. - Minor reformatting - -2009-07-15 Robert Dewar <dewar@adacore.com> - - * gnat1drv.adb: Initialize SCO tables - - * par-load.adb: Call SCO_Record for main unit spec - - * par.adb: Make call to SCO_Record for main unit - - * par_sco.adb (Unit_Table): Change format to facilitate sort - (Process_Decisions): New procedure with list argument - (Traverse_Generic_Package_Declaration): New procedure - (Initialize): New procedure, replaces Init - (SCO_Output): Sort unit table before output - (SCO_Record): Avoid duplications - (SCO_Record): Handle remaining cases of units - (Traverse_Declarations_Or_Statements): Handle generics - - * par_sco.ads (Initialize): New peocedure (replaces Init) - - * sem_ch10.adb (Analyze_Proper_Body): Make call to SCO_Record for - subunit. - -2009-07-15 Arnaud Charlet <charlet@adacore.com> - - * debug.adb: Add -gnatd.J switch for now to support scil generation in - parallel. Add missing doc for -gnatd.I and -gnatd.O - -2009-07-15 Robert Dewar <dewar@adacore.com> - - * lib-load.adb: Minor reformatting - - * lib-writ.adb (Write_ALI): Fix handling of SCO_Output wrt Generate_SCO. - -2009-07-15 Robert Dewar <dewar@adacore.com> - - * par.adb: Minor reformatting - Add ??? comment for possible bad comment - - * par-ch10.adb: Minor reformatting - -2009-07-15 Ed Schonberg <schonberg@adacore.com> - - * sem_warn.adb (Warn_On_Constant_Condition): if the constant condition - is a literal of a derived boolean type, it appears as an unchecked - conversion. Retrieve actual value from expression of conversion. - -2009-07-15 Robert Dewar <dewar@adacore.com> - - * sem_ch3.adb: Minor reformatting - - * lib-xref.ads, lib-xref.adb, lib.ads, par_sco.ads, par_sco.adb, - lib-writ.ads, lib-writ.adb: Minor reformatting. - Fix problem with SCO format in ALI files - -2009-07-15 Robert Dewar <dewar@adacore.com> - - * exp_ch7.adb, exp_util.adb, tbuild.adb, tbuild.ads, exp_ch4.adb, - exp_aggr.adb: Minor code reorganization (better calling sequence for - Make_Temporary). - -2009-07-15 Thomas Quinot <quinot@adacore.com> - - * opt.ads: Minor comment edits - -2009-07-15 Tristan Gingold <gingold@adacore.com> - - * gcc-interface/Makefile.in: Special rule for seh_init.o no longer - needed. - -2009-07-15 Robert Dewar <dewar@adacore.com> - - * lib-writ.adb (Write_Unit_Information): Use SCO_Output to output SCO - information. - - * lib-writ.ads: Document addition of SCO lines to ALI file - - * par_sco.ads, par_sco.adb: New files. - - * opt.ads (Generate_SCO): New switch - - * par.adb (Par): Call SCO_Record to record SCO information - - * sem_warn.adb (Warn_On_Constant_Condition): Adjust SCO condition - - * switch-c.adb: Recognize -gnateS to generate SCO information - - * usage.adb: Add line for -gnateS - - * gcc-interface/Make-lang.in: Add dependency on par_sco.o for gnat1 - -2009-07-15 Robert Dewar <dewar@adacore.com> - - * sinfo.ads, make.adb, par.ads, par.adb, sem_warn.adb: Minor - reformatting. - -2009-07-15 Thomas Quinot <quinot@adacore.com> - - * g-socthi-mingw.adb: Minor comment addition - - * g-socthi-mingw.ads (WSAStartup): First argument is a WORD not an int. - -2009-07-15 Robert Dewar <dewar@adacore.com> - - * g-htable.ads, s-htable.ads: Minor reformatting - -2009-07-15 Robert Dewar <dewar@adacore.com> - - * switch-c.adb, sem_ch10.adb, sem_warn.adb, sem_warn.ads: Implement - new switch -gnatw.g. - (Set_GNAT_Mode_Warnings): New procedure. - - * lib-xref.adb: Minor reformatting - -2009-07-15 Robert Dewar <dewar@adacore.com> - - * exp_aggr.adb, tbuild.ads, tbuild.adb: Minor reformatting - Minor code reorganization - -2009-07-14 Taras Glek <tglek@mozilla.com> - Rafael Espindola <espindola@google.com> - - * gcc-interface/Make-lang.in (ada.install-plugin): New target for - installing plugin headers. - -2009-07-13 Ed Schonberg <schonberg@adacore.com> - - * exp_ch7.adb, exp_util.adb, tbuild.adb, tbuild.ads, exp_ch4.adb, - exp_aggr.adb (Make_Temporary): Utility to create a defining identifier - and link it to the expression whose value it captures. - -2009-07-13 Robert Dewar <dewar@adacore.com> - - * output.adb: Minor comment addition for last change - - * sinfo.ads: Minor reformatting - -2009-07-13 Vasiliy Fofanov <fofanov@adacore.com> - - * adaint.c (__gnat_portable_no_block_spawn): on Windows, return -1 when - spawn failed like on all other targets. - -2009-07-13 Ed Schonberg <schonberg@adacore.com> - - * exp_ch7.adb: Indicate origin of temporary for transient expression. - -2009-07-13 Thomas Quinot <quinot@adacore.com> - - * s-oscons-tmplt.c: Add comment. - -2009-07-13 Robert Dewar <dewar@adacore.com> - - * sinfo.adb, sinfo.ads, sem_util.adb, atree.adb, atree.ads: Minor - reformatting. Minor code reorganization (add 9 argument version of - Nkind_In). - - * impunit.adb: Remove s-os_lib from list of system extensions. - - * sem_util.ads: Minor reformatting - - * output.adb: Add warnings off/on around System.OS_Lib. - -2009-07-13 Bob Duff <duff@adacore.com> - - * exp_dist.adb: Minor comment updates. - -2009-07-13 Gary Dismukes <dismukes@adacore.com> - - * sem_ch10.adb, sem_ch12.adb, gnat1drv.adb, exp_ch4.adb: Fix casing of - several references to CodePeer. - -2009-07-13 Bob Duff <duff@adacore.com> - - * exp_dist.adb (Build_From_Any_Function,Build_To_Any_Function, - Build_TypeCode_Function_All): Do not recurse if the type is the base - type. - -2009-07-13 Robert Dewar <dewar@adacore.com> - - * exp_ch4.adb: Minor comment change - -2009-07-13 Ed Schonberg <schonberg@adacore.com> - - * sem_ch5.adb (Analyze_Iteration_Scheme): Generate dummy reference for - type of iteration, to prevent spurious warnings. - -2009-07-13 Nicolas Roche <roche@adacore.com> - - * s-oscons-tmplt.c: On VxWorks target ensure that vxWorks.h is always - included. - -2009-07-13 Arnaud Charlet <charlet@adacore.com> - - * switch-c.adb, usage.adb, sem_ch9.adb, gnat_ugn.texi, rtsfind.adb, - gnat1drv.adb, opt.ads, sem_ch13.adb (Inspector_Mode): Renamed to - Generate_SCIL. - (CodePeer_Mode): New -gnatC switch. - (Adjust_Global_Switches): Adjust settings for Generate_SCIL and - CodePeer_Mode. - -2009-07-13 Eric Botcazou <ebotcazou@adacore.com> - - * checks.adb (Selected_Range_Checks): Do not consider that a non-static - integer bound forces the check if it is compared to its subtype range. - -2009-07-13 Robert Dewar <dewar@adacore.com> - - * prj.ads, prj-dect.adb, prj-err.ads, prj-err.adb, prj-nmsc.adb, - prj-strt.ads: Minor reformatting - -2009-07-13 Thomas Quinot <quinot@adacore.com> - - * exp_dist.adb (Build_From_Any_Call): For the case of a generic type, - set the type of the From_Any call to the base type. - -2009-07-13 Doug Rupp <rupp@adacore.com> - - * symbols-processing-vms-ia64.adb (Process): Add variables and - constants to retrieve and check for symbol visibility. - -2009-07-13 Javier Miranda <miranda@adacore.com> - - * exp_ch4.adb (Expand_N_Unchecked_Type_Conversion): If conversion is to - the identical type we remove the conversion completely because - it is useless. - -2009-07-13 Emmanuel Briot <briot@adacore.com> - - * prj-err.adb (Error_Msg): One more case where a message should be - considered as a warning. - - * gnatcmd.adb (GNATCmd): Fix previous change, which negated a test. - -2009-07-13 Thomas Quinot <quinot@adacore.com> - - * exp_dist.adb (Expand_All_Calls_Remote_Subprogram_Call): Analyze - calling stubs in the (library level) scope of the RCI locator, where it - is attached, not in the caller's scope. - -2009-07-13 Javier Miranda <miranda@adacore.com> - - * sem_ch3.adb (Analyze_Object_Declaration): In case of class-wide - interface object declarations we delay the generation of the equivalent - record type declarations until its expansion because there are cases in - which they are not required. - - * sem_util.adb (Implements_Interface): Add missing support for subtypes. - - * sem_disp.adb (Check_Controlling_Formals): Minor code cleanup plus - addition of assertion. - - * exp_util.adb (Expand_Subtype_From_Expr): Renamings of class-wide - interface types require no equivalent constrained type declarations - because the expanded code only references the tag component associated - with the interface. - (Find_Interface_Tag): Improve management of interfaces that are - ancestors of tagged types. - - * exp_ch3.adb (Expand_N_Object_Declaration): Improve the expansion of - class-wide object declarations to add missing support to statically - displace the pointer to the object to reference the tag component - associated with the interface. - - * exp_disp.adb (Make_Tags) Avoid generation of internally generated - auxiliary types associated with user-defined dispatching calls if the - type has no user-defined primitives. - -2009-07-13 Vasiliy Fofanov <fofanov@adacore.com> - - * mingw32.h: Make it explicit that we need XP or later. - - * initialize.c: Remove useless extern symbol declaration. - - * adaint.h: Ditto, also expose __gnat_win32_remove_handle to allow - code reuse in expect.c. - - * adaint.c: Changes throughout the Windows section to redesign storage - of the child process list and the process identification. - - * expect.c (__gnat_kill, __gnat_waitpid): Simplify, cleanup, use pids - for interfacing, fix errors. - (__gnat_expect_portable_execvp): use function in adaint.c - -2009-07-13 Emmanuel Briot <briot@adacore.com> - - * prj-proc.adb, prj-part.adb, prj-part.ads, prj-strt.adb, - prj-strt.ads, prj.adb, prj.ads, prj-makr.adb, prj-makr.ads, - prj-dect.adb, prj-dect.ads, prj-nmsc.adb, prj-pars.adb, errutil.adb, - errutil.ads, prj-conf.adb, gnatname.adb, prj-err.adb, prj-err.ads - (Prj.Nmsc.Report_Error): Removed, no longer needed. - Always use Prj.Err.Report_Message. - -2009-07-13 Robert Dewar <dewar@adacore.com> - - * prj.adb, sem_ch4.adb, sem_res.adb, prj-nmsc.adb: Minor reformatting - & comment edits. - -2009-07-13 Robert Dewar <dewar@adacore.com> - - * opt.ads, prj-conf.adb, prj-env.adb, prj-ext.adb, prj-nmsc.adb, - prj-proc.adb, prj-tree.adb, prj-tree.ads: Minor reformatting - -2009-07-13 Emmanuel Briot <briot@adacore.com> - - * prj.adb, prj.ads, prj-env.adb, prj-conf.adb, prj-tree.adb, - mlib-prj.adb (Private_Part.Ada_Prj_Objects_File_Set, - Ada_Prj_Include_File_Set): Removed, since not needed - Code clean up. - -2009-07-13 Ed Schonberg <schonberg@adacore.com> - - * sem_ch4.adb (Analyze_Set_Membership): New procedure, subsidiary of - Analyze_Membership_Op. - - * sem_res.adb (Resolve_Set_Membership): New procedure, subsidiary of - Resolve_Membership_Op. - - * exp_ch4.adb (Expand_Set_Membership): New procedure, subsidiary of - Expand_N_In. - -2009-07-13 Robert Dewar <dewar@adacore.com> - - * clean.adb: Minor reformattting - -2009-07-13 Emmanuel Briot <briot@adacore.com> - - * gnatcmd.adb, prj-proc.adb, make.adb, mlib-prj.adb, prj-ext.adb, - gnat_ugn.texi, prj.adb, prj.ads, clean.adb, prj-nmsc.adb, prj-util.adb, - prj-conf.adb, gnatname.adb, prj-env.adb, prj-env.ads, prj-tree.adb, - prj-tree.ads (Prj.Tree.Create*): New subprograms to create new packages - and attributes in a project tree. - (Add_Default_GNAT_Naming_Scheme): Provide real implementation. - Remove last remaining mode-specific code (ada_only or - multi_language). This was duplicating code - (Get_Mode, Set_Mode): removed, no longer used. - (Initialize_Project_Path): all tools will now take into account both - GPR_PROJECT_PATH and ADA_PROJECT_PATH (in that order). - Remove some global variables and subprograms no longer used - Make temporary files tree-specific, to avoid interferences between - trees loaded in memory at the same time. - (Prj.Delete_Temporary_File): new subprogram - (Object_Paths, Source_Paths): fields no longer stored in the project - tree, since they are only needed locally in Set_Ada_Paths. - (Set_Mapping_File_Initial_State_To_Empty): removed, since had no - effect in practice. - (Project_Tree_Data.Ada_Path_Buffer): removed, since it can be replaced - by local variables in the appropriate subprograms - (Has_Foreign_Sources): removed. - - * gcc-interface/Makefile.in: prj-pp.o is now needed to build gnatmake - -2009-07-13 Arnaud Charlet <charlet@adacore.com> - - * gnat1drv.adb (Adjust_Global_Switches): No longer set - Back_Annotate_Rep_Info in inspector mode. - (Gnat1Drv): Need to call the back-end in inspector mode to generate SCIL - - * opt.ads: Update comment. - -2009-07-13 Robert Dewar <dewar@adacore.com> - - * lib.adb, prj-nmsc.adb, prj-proc.adb, prj-proc.ads, prj.adb, - prj.ads: Minor reformatting and code reorganization. - - * par-ch3.adb (Check_Restricted_Expression): New procedure - -2009-07-13 Ed Schonberg <schonberg@adacore.com> - - * exp_attr.adb (Rewrite_Stream_Proc_Call): When rewriting a stream - attribute into a call of the corresponding suprogram, create extra - formals for the subprogram, because it may be a renaming whose - analysis does not create extra formals. - -2009-07-13 Emmanuel Briot <briot@adacore.com> - - * gnatcmd.adb, prj-proc.adb, prj-proc.ads, make.adb, prj-part.adb, - prj.adb, prj.ads, clean.adb, prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, - prj-pars.ads, prj-conf.adb, prj-conf.ads, prj-env.adb, prj-tree.adb, - prj-tree.ads: Minor reformatting. - (Processing_Flags): new record to encapsulate the set of common - parameters to several subprograms in the project manager. - (Prj.Nmsc.Process_Naming_Scheme): renames Check, and moved to body - Remove the need for the Current_Dir parameter in subprograms. - (Look_For_Sources): minor refactoring, now that we no longer need to - share subprograms between the two Ada_Only and Multi_Language modes - (Processing_Flags): New field Error_On_Unknown_Language. - Merge tests for library project between gnatmake and gprbuild. - -2009-07-13 Arnaud Charlet <charlet@adacore.com> - - * lib.adb, make.adb, mlib.adb, exp_dist.adb: Update comments. - Minor reformatting. - -2009-07-13 Emmanuel Briot <briot@adacore.com> - - * prj-env.adb (Create_Config_Pragmas_File): Iterate on sources rather - than units. - -2009-07-13 Thomas Quinot <quinot@adacore.com> - - * sem_ch3.adb (Process_Full_View): Propagate Has_Specified_Stream_{Read, - Write,Input,Output} from private view to full view. - - * sem_type.adb, sem_type.ads: Minor reformatting - -2009-07-13 Nicolas Setton <setton@adacore.com> - - * exp_dbug.ads: Add documentation note on the utility of - DW_AT_GNAT_encoding for IDEs. - -2009-07-13 Robert Dewar <dewar@adacore.com> - - * g-socthi-vxworks.adb: Minor reformatting - - * gnatcmd.adb: Minor reformatting - -2009-07-13 Thomas Quinot <quinot@adacore.com> - - * rtsfind.ads, exp_dist.adb (RE_Allocate_Buffer): Runtime entry - removed, not used anymore. - (Exp_Dist.PolyORB_Support.Helpers.Assign_Opaque_From_Any): - New subprogram, implements copy of an Any value into a limited object. - (Exp_Dist.PolyORB_Support.Build_General_Calling_Stubs, - Exp_Dist.PolyORB_Support.Build_Subprogram_Receiving_Stubs, - Exp_Dist.PolyORB_Support.Helpers.Build_From_Any_Function): For the case - of parameters of a limited type, use the above new subprogram. - -2009-07-13 Emmanuel Briot <briot@adacore.com> - - * prj-nmsc.adb, prj-proc.adb, mlib.adb (Add_Source): new parameter - Location. - (Copy_ALI_Files): Avoid calls to read when pointing outside of the - allocated space. - (Error_Report): Remove global variable, replaced by parameters. - -2009-07-13 Thomas Quinot <quinot@adacore.com> - - * g-socthi-vxworks.adb (C_Sendto): VxWorks does not support the - standard sendto(2) interface for connected sockets (passing a null - destination address). Use send(2) instead for that case. - -2009-07-13 Pascal Obry <obry@adacore.com> - - * adaint.c: Fix __gnat_stat() with Win32 UNC paths. - -2009-07-13 Emmanuel Briot <briot@adacore.com> - - * prj-proc.adb, prj-proc.ads, prj.ads, prj-nmsc.adb, prj-nmsc.ads, - prj-pars.adb, prj-conf.adb, prj-conf.ads: Remove all remaining global - variables and tables in prj-nmsc.adb. - (Tree_Processing_Data): Renames Processing_Data, some new fields added - (Project_Processing_Data): New record - Simplify/unify check for missing sources. - -2009-07-13 Emmanuel Briot <briot@adacore.com> - - * gnatcmd.adb, make.adb, mlib-prj.adb, prj-part.adb, mlib.adb, - prj.adb, prj.ads, clean.adb, prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, - prj-pars.ads, prj-conf.adb, prj-conf.ads, prj-tree.adb, - prj-tree.ads (Immediate_Directory_Of): Removed. - (Prj.Pars): Now parse the project simulating a default config file. - (Add_Default_GNAT_Naming_Scheme): New subprogram - (Check_Naming_Multi_Lang): Fix default value for Dot_Replacement. - Remove gnatmake-specific parsing of source files. - (Check_Illegal_Suffix): Renames Is_Illegal_Suffix, since it now raises - the error itself to provide more precise diagnostics. - (Process_Exceptions_Unit_Based): Avoid duplicate error message when - a unit belongs to several projects. - (Copy_Interface_Sources): Search the full path of files to copy in the - list of sources of the application rather than in the list of units. - (Parse_Project_And_Apply_Config): Do not reset the name of the main - project file. - (Check_File): Use htables to find out whether a source is duplicated. - (Add_Source): check whether the source or unit were already seen earlier - - * gcc-interface/Makefile.in: Update gnatmake dependencies. - -2009-07-13 Robert Dewar <dewar@adacore.com> - - * par-ch3.adb (P_Discrete_Choice_List): Choice can only be simple - expression if extensions permitted. - - * par-ch4.adb (P_Membership_Test): New procedure (implement membership - set tests). - (P_Relation): Use P_Membership_Test - - * par.adb (P_Membership_Test): New procedure (implement membership set - tests). - - * sinfo.ads, sinfo.adb (N_In, N_Not_In) Add Alternatives field for sets. - - * sprint.adb (Sprint_Node): Handle set form for membership tests. - -2009-07-13 Thomas Quinot <quinot@adacore.com> - - * exp_dist.adb (Add_RACW_Primitive_Declarations_And_Bodies): - Do not attempt to generate stubs for predefined primitives of - synchronized interfaces. - (Add_Stub_Type): Factor some code from the PCS-specific variants of - Build_Stub_Type. - -2009-07-13 Ed Schonberg <schonberg@adacore.com> - - * sem_disp.adb (Override_Dispatching_Operation): Functions inherit the - Controlling_Result flag from the operation they override. - -2009-07-13 Arnaud Charlet <charlet@adacore.com> - - * gcc-interface/Make-lang.in: Update dependencies - -2009-07-13 Robert Dewar <dewar@adacore.com> - - * gnat_ugn.texi: The gnatf switch no longer is needed to get full - details on unsupported constructs. - - * rtsfind.adb: Remove references to All_Errors_Mode, give errors - unconditionally. - - * s-trafor-default.adb: Correct some warnings - - * s-valwch.adb, a-calend.adb, freeze.adb, prj.ads, s-vmexta.adb, - sem.adb, sem_ch10.adb, sem_ch6.adb, sem_disp.adb, vxaddr2line.adb: - Minor reformatting. - - * par-ch4.adb (Conditional_Expression): Capture proper location for - conditional expression, should point to IF. - - * s-tassta.adb, a-wtdeau.adb, s-tasren.adb, s-arit64.adb, s-imgdec.adb, - s-direio.adb, s-tpobop.adb, g-socket.adb, s-tposen.adb, s-taskin.adb, - g-calend.adb, s-regpat.adb, s-scaval.adb, g-catiio.adb: Minor code - reorganization (use conditional expressions). - -2009-07-13 Ed Schonberg <schonberg@adacore.com> - - * exp_util.adb (Remove_Side_Effects): If the expression is a call to a - build-in-place function that returns an inherently limited type (not - just a task type) create proper object declaration so that extra - build-in-place actuals are properly added to the call. - -2009-07-13 Robert Dewar <dewar@adacore.com> - - * freeze.adb (Freeze_Entity): Implement Warn_On_Suspicious_Modulus_Value - - * gnat_ugn.texi: Add documentation for -gnatw.m/.M - - * opt.ads (Warn_On_Suspicious_Modulus_Value): New flag - - * sem_warn.adb (Set_Dot_Warning_Flag): Set/reset - Warn_On_Suspicious_Modulus_Value. - - * ug_words: Add entries for -gnatw.m/-gnatw.M. - - * usage.adb: Add lines for -gnatw.m/.M switches. - - * vms_data.ads: Add [NO]SUSPICIOUS_MODULUS for -gnatw.m/w.M - -2009-07-13 Javier Miranda <miranda@adacore.com> - - * sem_ch6.adb (Check_Synchronized_Overriding): Add missing check before - reading the Is_Interface attribute of the dispatching type. - -2009-07-13 Robert Dewar <dewar@adacore.com> - - * a-convec.adb: Minor code reorganization (use conditional expressions) - -2009-07-13 Robert Dewar <dewar@adacore.com> - - * freeze.adb (Check_Suspicious_Modulus): New procedure. - -2009-07-13 Robert Dewar <dewar@adacore.com> - - * i-cobol.ads: Minor code fix (2**4 instead of 16 as modulus to avoid - warning). - - * par-ch4.adb: Minor reformatting - -2009-07-13 Ed Schonberg <schonberg@adacore.com> - - * freeze.adb, freeze.ads, exp_aggr.adb: Rename Expand_Atomic_Aggregate - => Is_Atomic_Aggregate - -2009-07-13 Emmanuel Briot <briot@adacore.com> - - * prj-nmsc.adb: Avoid traversing the list of source files if - we have already processed all locally removed files. - -2009-07-13 Jose Ruiz <ruiz@adacore.com> - - * gnat_ugn.texi: Fix typo. - -2009-07-13 Robert Dewar <dewar@adacore.com> - - * freeze.adb: Minor reformatting - Minor code reorganization (use Nkind_In) - - * exp_ch6.adb, prj.adb, sem_res.adb: Minor reformatting - -2009-07-11 Eric Botcazou <ebotcazou@adacore.com> - - * checks.adb (Apply_Address_Clause_Check): Remove Size_Warning_Output - local variable and do not test it in Compile_Time_Bad_Alignment. - Do not issue size or alignment warnings for the X'Address form. - * sem_util.ads (Find_Overlaid_Object): Delete. - (Find_Overlaid_Entity): New procedure. - * sem_util.adb (Find_Overlaid_Object): Rename to... - (Find_Overlaid_Entity): ...this and turn into a procedure. Report - whether the address is offseted within the overlaid entity. - (Has_Compatible_Alignment): Track the offset globally instead of - passing it to Check_Offset. For an indexed component, compute the - full offset when possible. If the resulting offset is zero, only - check the prefix. - (Check_Offset): Delete. - * sem_ch13.adb (Address_Clause_Check_Record): Add Off field. - (Address_Aliased_Entity): Delete. - (Analyze_Attribute_Definition_Clause) <Attribute_Address>: Call - Find_Overlaid_Entity to find the overlaid entity and the offset. - Adjust throughout for above change. - (Validate_Address_Clauses): Always use attributes of entities, not of - their type. Tweak message for warning. Call Has_Compatible_Alignment - if the address is offseted to warn about incompatible alignments. - * gcc-interface/gigi.h (annotate_object): Declare. - * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Annotate renaming - entity. Call annotate_object instead of annotating manually objects. - (annotate_object): New function. - * gcc-interface/trans.c (Subprogram_Body_to_gnu): Annotate parameters - at the end. - -2009-07-11 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/ada-tree.h: Minor reorganization. - * gcc-interface/misc.c (gnat_print_decl): Minor tweaks. - (gnat_print_type): Likewise. - -2009-07-11 Thomas Quinot <quinot@adacore.com> - - * sem_util.adb, sem_res.adb, sem_warn.adb: Minor comment editing: - Lvalue -> lvalue - - * exp_ch6.adb: Minor reformatting - -2009-07-11 Ed Schonberg <schonberg@adacore.com> - - * freeze.adb (Expand_Atomic_Aggregate): Clean up code, take into - account possible type qualification to determine whether aggregate - needs a target temporary to respect atomic type or object. - - * exp_aggr.adb (Expand_Record_Aggregate): Use new version of - Expand_Atomic_Aggregate. - -2009-07-11 Emmanuel Briot <briot@adacore.com> - - * prj.adb, prj.ads, prj-nmsc.adb (Mark_Excluded_Sources): Speed up - algorithm. - (Excluded_Sources_Htable): No longer a global table. - Change error message to indicate which files are illegal in the list - of excluded files, as opposed to only the location in the project - file. - (Find_Source): New subprogram. - -2009-07-10 Thomas Quinot <quinot@adacore.com> - - * exp_ch7.adb: Update comments. - -2009-07-10 Arnaud Charlet <charlet@adacore.com> - - * exp_ch13.adb (Expand_N_Record_Representation_Clause): Ignore mod - clause if -gnatI is set instead of crashing. - -2009-07-10 Ed Schonberg <schonberg@adacore.com> - - * sem_ch11.adb (Same_Expression): Null is always equal to itself. - Additional work to remove redundant successive raise statements, in - this case access checks. - -2009-07-10 Vincent Celier <celier@adacore.com> - - * make.adb (Compile): Always create a deep copy of the mapping file - argument (-gnatem=...) as it may be deallocate/reallocate by - Normalize_Arguments. - -2009-07-10 Javier Miranda <miranda@adacore.com> - - * einfo.adb (Directly_Designated_Type): Add assertion. - - * sem_res.adb (Check_Fully_Declared_Prefix): Add missing check on - access types before using attribute Directly_Designated_Type. - -2009-07-10 Emmanuel Briot <briot@adacore.com> - - * prj.ads: Minor typo fix - -2009-07-10 Ed Schonberg <schonberg@adacore.com> - - * sem_ch6.adb (Add_Extra_Formal): Protected operations do no need - special treatment. - - * exp_ch6.adb (Expand_Protected_Subprogram_Call): If rewritten - subprogram is a function call, resolve properly, to ensure that extra - actuals are added as needed. - -2009-07-10 Thomas Quinot <quinot@adacore.com> - - * sem_aggr.adb: Minor comments editing - - * exp_tss.adb, exp_ch3.adb: Minor reformatting - -2009-07-10 Robert Dewar <dewar@adacore.com> - - * exp_util.adb: Minor code reorganization (use N_Short_Circuit) - - * exp_ch4.adb: Add ??? comment for conditional expressions on limited - types. - - * checks.adb (In_Declarative_Region_Of_Subprogram_Body): New procedure, - replaces Safe_To_Capture_In_Parameter_Value, and properly handles the - case of conditional expressions that may not be elaborated. - - * sem_util.adb (Safe_To_Capture_Value): Properly handle case of - conditional expression where we may not execute then then or else - branches. - -2009-07-10 Arnaud Charlet <charlet@adacore.com> - - * i-cexten.ads (bool): New type. - -2009-07-10 Robert Dewar <dewar@adacore.com> - - * sinfo.ads (N_Short_Circuit): New definition - - * sem_ch13.adb, sem_ch6.adb, sem_eval.adb, sem_res.adb, - treepr.adb: Minor code reorganization (use N_Short_Circuit) - -2009-07-10 Javier Miranda <miranda@adacore.com> - - * exp_ch3.adb (Expand_Freeze_Record_Type): Handle constructors of - non-tagged record types. - - * sem_prag.adb - (Process_Import_Or_Interface): Allow the use of "pragma Import (CPP,..)" - with non-tagged types. Required to import C++ classes that have no - virtual primitives. - (Analyze_Pragma): For pragma CPP_Constructor. Allow the use of functions - returning non-tagged types. For backward compatibility, if the - constructor returns a class wide type we internally change the - returned type to the corresponding non class-wide type. - - * sem_aggr.adb - (Valid_Ancestor_Type): CPP_Constructors code cleanup. - (Resolve_Extension_Aggregate): CPP_Constructors code cleanup. - (Resolve_Aggr_Expr): CPP_Constructors code cleanup. - (Resolve_Record_Aggregate): CPP_Constructors code cleanup. - - * sem_ch3.adb - (Analyze_Object_Declaration): CPP_Constructors code cleanup. - - * sem_ch5.adb (Analyze_Assignment): CPP_Constructors code cleanup. - - * sem_util.adb (Is_CPP_Constructor_Call): Code cleanup. - - * sem_res.adb (Resolve_Allocator): CPP_Constructors code cleanup. - - * exp_ch4.adb (Expand_Allocator_Expression): CPP_Constructors code - cleanup. - - * exp_aggr.adb (Build_Record_Aggr_Code): CPP_Constructors code clean up. - - * gnat_rm.texi - (pragma CPP_Class): Document that it can be used now with non-tagged - record types. - (pragma CPP_Constructor): Document that it can be used now with - functions returning specific types. For backward compatibility - we also support functions returning class-wide types. - - * gnat_ugn.texi - (Interfacing with C++ constructors): Update the examples to incorporate - the new syntax in which the functions used to import C++ constructors - return specific types. - (Interfacing with C++ at the Class Level): Update the examples to - incorporate the new syntax in which the functions used to import - C++ constructors return specific types. - -2009-07-10 Thomas Quinot <quinot@adacore.com> - - * exp_disp.adb (Make_Disp_Asynchronous_Select_Body, - Make_Disp_Conditional_Select_Body, - Make_Disp_Timed_Select_Body): For the case of a type that is neither an - interface nor a concurrent type, the primitive body is empty. Generate - a null statement so that it remains well formed. - -2009-07-10 Ed Schonberg <schonberg@adacore.com> - - * exp_aggr.adb (Build_Record_Aggr_Code): If the type has discriminants, - replace references to them in defaulted component expressions with - references to the values of the discriminants of the target object. - -2009-07-10 Ed Schonberg <schonberg@adacore.com> - - * sem_prag.adb (Analyze pragma, case Task_Name): Analyze argument of - pragma, to capture global references if the context is generic. - - * exp_ch2.adb (Expand_Discriminant): If a task type discriminant - appears within the initialization procedure for the corresponding - record, replace it with the proper discriminal. - -2009-07-10 Vincent Celier <celier@adacore.com> - - * make.adb: Do not include object directories or library ALI - directories of library projects in the object path. - -2009-07-10 Javier Miranda <miranda@adacore.com> - - * exp_util.adb (Find_Interface_Tag): Reorder processing of incoming - Typ argument to ensure proper management of access types. - -2009-07-10 Ed Schonberg <schonberg@adacore.com> - - * exp_ch7.adb (Build_Final_List): If the list is being built for a - Taft-Amendment type, place the finalization list in the package body, - to ensure that the tree for the spec is identical whenever it is - compiled. - -2009-07-10 Javier Miranda <miranda@adacore.com> - - * sem_ch3.adb (Build_Derived_Record_Type): Use the full-view when - inheriting attributes from a private Parent_Base. - -2009-07-10 Ed Schonberg <schonberg@adacore.com> - - * sem_ch11.adb (analyze_raise_xxx_error): Remove consecutive raise - statements with the same condition. - -2009-07-10 Robert Dewar <dewar@adacore.com> - - * exp_ch4.adb (Raise_Accessibility_Error): New procedure - -2009-07-09 Tom Tromey <tromey@redhat.com> - - * raise-gcc.c: Include dwarf2h (unconditionally). - -2009-07-09 Ed Schonberg <schonberg@adacore.com> - - * sem_ch10.adb (Install_Context): If the unit is a package body, - install the private with_clauses of the corresponding package - declaration. - -2009-07-09 Robert Dewar <dewar@adacore.com> - - * checks.adb: Minor reformatting - -2009-07-09 Vasiliy Fofanov <fofanov@adacore.com> - - * ug_words, gnat_ugn.texi: Move VMS equivalents of the last check in - into ug_words. - -2009-07-09 Thomas Quinot <quinot@adacore.com> - - * sem_ch13.adb (Analyze_Attribute_Definition_Clause, case Address): - Do not warn for a constant overlaying any constant object - -2009-07-09 Ed Schonberg <schonberg@adacore.com> - - * sem_ch10.adb (Install_Context): If the unit is a package body, - install the private with_clauses of the corresponding package - declaration. - -2009-07-09 Robert Dewar <dewar@adacore.com> - - * checks.adb: Minor reformatting - -2009-07-09 Vasiliy Fofanov <fofanov@adacore.com> - - * ug_words, gnat_ugn.texi: Move VMS equivalents of the last check in - into ug_words. - -2009-07-09 Thomas Quinot <quinot@adacore.com> - - * sem_ch13.adb (Analyze_Attribute_Definition_Clause, case Address): - Do not warn for a constant overlaying any constant object - -2009-07-09 Arnaud Charlet <charlet@adacore.com> - - * gcc-interface/Make-lang.in: Update dependencies - -2009-07-09 Thomas Quinot <quinot@adacore.com> - - * g-socket.adb (Check_Selector): Do not create local copies of the - socket sets on the stack. - -2009-07-09 Vasiliy Fofanov <fofanov@adacore.com> - - * gnat_ugn.texi: Add missing VMS translations. - -2009-07-09 Ed Schonberg <schonberg@adacore.com> - - * sem_prag.adb (Analyze_Pragma, case Precondition): Do not analyze the - condition, to prevent generation of visible code during expansion, - when Check is not enabled. - -2009-07-09 Gary Dismukes <dismukes@adacore.com> - - * checks.adb (Install_Static_Check): Call Possible_Local_Raise so that - the check gets registered for any available local handler - (Set_Local_Raise). - - * sem_util.adb: Add with and use of Exp_Ch11. - (Apply_Compile_Time_Constraint_Error): Call Possible_Local_Raise so - that the check gets registered for any available local handler. - - * exp_ch4.adb (Expand_N_Slice): Remove call to Enable_Range_Check - on slice ranges. - -2009-07-09 Steve Baird <baird@adacore.com> - - * exp_ch11.adb (Force_Static_Allocation_Of_Referenced_Objects): New - function. - (Expand_N_Exception_Declaration): Fix handling of exceptions - declared in a subprogram. - -2009-07-09 Emmanuel Briot <briot@adacore.com> - - * prj-nmsc.adb (Find_Sources): Avoid error messages from gprbuild from - multi-unit files. - -2009-07-09 Thomas Quinot <quinot@adacore.com> - - * freeze.adb: Minor reformatting - - * exp_ch3.adb: Minor comment fix. - - * sinfo.ads: Minor comment fix - -2009-07-09 Ed Schonberg <schonberg@adacore.com> - - * exp_ch4.adb (Expand_N_Conditional_Expression): Set Related_Expression. - -2009-07-09 Ed Schonberg <schonberg@adacore.com> - - * freeze.adb (Freeze_Expression): If the expression is the name of a - function in a call, and the function has not been frozen yet, create - extra formals for it to ensure that the proper actuals are created - when expanding the call. - -2009-07-09 Emmanuel Briot <briot@adacore.com> - - * prj-pp.adb (Print): Fix handling of source index when set on a - declaration node. - -2009-07-09 Ed Schonberg <schonberg@adacore.com> - - * einfo.ads, einfo.adb: New attribute Related_Expression, used to link - a temporary to the source expression whose value it captures. - - * exp_util.adb (Remove_Side_Effects): Set Related_Expression as needed. - -2009-07-07 Manuel López-Ibáñez <manu@gcc.gnu.org> - - * gcc-interface/trans.c (gnat_gimplify_expr): Replace EXPR_LOCUS by - EXPR_LOCATION. - -2009-07-07 Gary Dismukes <dismukes@adacore.com> - - * exp_ch6.adb (Expand_Actuals): Call Add_Call_By_Copy_Code for in out - parameters when the subtype of the actual is not known to be a subrange - of the formal's subtype. - (Expand_Call): Generate a range check only in the E_In_parameter case - (in out parameter range checks are now handled in Expand_Actuals). - - * exp_ch4.adb (Expand_N_Slice): Restore code that calls - Enable_Range_Check. - -2009-07-07 Robert Dewar <dewar@adacore.com> - - * a-stwise.adb, a-stzsea.adb, a-strsea.adb: Add comments - -2009-07-07 Javier Miranda <miranda@adacore.com> - - * exp_disp.adb (Expand_Interface_Conversion): Handle access type whose - designated type comes from a limited views. - -2009-07-07 Emmanuel Briot <briot@adacore.com> - - * prj.ads, prj-nmsc.adb (Mark_Excluded_Sources): Fix handling of - locally removed files that are later made visible again in an importing - project. - -2009-07-07 Robert Dewar <dewar@adacore.com> - - * gnat_rm.texi: Clarify documentation of Stream_Convert pragma - -2009-07-07 Sergey Rybin <rybin@adacore.com> - - * gnat_ugn.texi: Add an example to the description of gnatcheck - 'Style_Checks' rule option. - -2009-07-07 Tristan Gingold <gingold@adacore.com> - - * seh_init.c: Fix inline assembly statement in seh_init.c - -2009-07-07 Ed Schonberg <schonberg@adacore.com> - - * sem_warn.adb (Check_References): Do not emit warnings on formals of - an entry body. Only the formals of the entry declaration are traced. - -2009-07-07 Robert Dewar <dewar@adacore.com> - - * s-osprim-mingw.adb: Minor code reorganization - -2009-07-07 Robert Dewar <dewar@adacore.com> - - * prj-nmsc.adb: Minor reformatting - -2009-07-07 Pascal Obry <obry@adacore.com> - - * a-stwise.adb, a-stzsea.adb, a-strsea.adb (Index): properly handle - cases where Pattern is longer than Source. - -2009-07-07 Pascal Obry <obry@adacore.com> - - * s-osprim-mingw.adb (Get_Base_Time): Avoid infinite loop. - -2009-07-07 Emmanuel Briot <briot@adacore.com> - - * prj-nmsc.adb (Process_Naming): canonicalize file suffixes read in the - project file. - -2009-07-07 Ed Schonberg <schonberg@adacore.com> - - * exp_ch3.adb (Expand_Freeze_Record_Type): Add extra formals to - primitive operations, in case one of them is called in the - initialization procedure for the type. - -2009-07-07 Robert Dewar <dewar@adacore.com> - - * a-calend.adb: Minor code reorganization (use conditional expressions) - - * s-stusta.ads, s-interr-hwint.adb, g-expect-vms.adb, s-secsta.ads, - prj-nmsc.adb, a-teioed.adb, output.ads, prj-attr.ads, a-textio.adb, - s-taskin.ads, scans.ads, s-osinte-vms.adb, s-taprop-solaris.adb, - s-tpopsp-posix-foreign.adb, s-trafor-default.adb, gnat1drv.adb, - s-stchop-vxworks.adb, s-tpopsp-posix.adb, prj-env.adb, prj-env.ads, - g-comlin.adb, exp_ch11.adb: Minor reformatting. - -2009-07-07 Gary Dismukes <dismukes@adacore.com> - - * checks.adb (Generate_Range_Check): Replace type conversions with - unchecked conversions to support the case of performing range checks - on Enum'Val (permits integer values to be converted to enumeration). - - * exp_attr.adb (Expand_N_Attribute_Reference, cases Attribute_Pred, - Attribute_Succ): Set Do_Range_Check to False before calling - Expand_Pred_Succ, to prevent gigi from generating any range checks. - (Expand_N_Attribute_Reference, case Attribute_Val): - Generate a range check when needed (and set Do_Range_Check to False). - - * exp_ch3.adb (Expand_N_Object_Declaration): Generate a range check on - scalar object initialization if needed. - - * exp_ch4.adb (Expand_Allocator_Expression): Generate range checks - when needed on scalar allocators. - (Expand_N_Qualified_Expression): Generate range check when needed. - (Expand_N_Slice): Remove call to Enable_Range_Check on slice ranges. - Checks on slice ranges handled in Resolve_Slice. - - * exp_ch5.adb (Expand_N_Assignment_Statement): Generate a range check, - when needed, for all scalar assignments, not just discrete. - (Expand_Simple_Function_Return): Resolve the conversion created for a - scalar function return so that the conversion will get expanded to - generate a possible constraint check. - - * exp_ch6.adb (Expand_Actuals): Call Add_Call_By_Copy_Code for out and - in out scalar actuals when subtypes don't match, to ensure generation - of return checks (and set Do_Range_Check to False). - (Expand_Call): Uncomment code to perform range checks, but make it apply - only to in and in out parameters (checks on parameter returns are - handled in Expand_Actuals). If a scalar actual for a call to a derived - subprogram is marked as needing a range check, peform it here (and set - Do_Range_Check to False). - - * sem_aggr.adb (Resolve_*_Aggregate.Resolve_Aggr_Expr): Generate a - range check on scalar component associations when needed. - - * sem_eval.adb (In_Subrange_Of): Return False when the first type has - infinities but the second type does not, as these aren't compatible - floating-point types. - - * sem_res.adb (Resolve_Slice): In the case where the prefix of the - slice is itself a slice, pick up the Etype of the prefix. This handles - the case where the prefix was an Image attribute expanded to a slice, - and ensures that we get the subtype with the slice constraint rather - than the unconstrained subbtype of the 'Image. - -2009-07-07 Ed Schonberg <schonberg@adacore.com> - - * sem_ch4.adb (Analyze_Conditional_Expression): handle properly - overloaded expressions in a conditional expressions. - - * sem_res.adb (Resolve): Handle properly overloaded conditional - expressions. - -2009-07-07 Robert Dewar <dewar@adacore.com> - - * scng.adb: Minor reformattting - - * par-ch2.adb (Scan_Pragma_Argument_Association): Pragma argument - association allows conditional expression without parens. - - * par-ch4.adb (P_Name): Attribute arguments can be conditional - expressions without enclosing parentheses, and also as parameters, - indexing expressions etc. - (P_Conditional_Expression): New procedure - (P_Expression_If_OK): New procedure - - * par.adb (P_Conditional_Expression): New procedure - (P_Expression_If_OK): New procedure - - * sem_ch4.adb (Analyze_Conditional_Expression): Allow for two argument - form of conditional expression. - - * sem_res.adb (Resolve_Conditional_Expression): Deal with supplying - missing True argument if ELSE argument missing. - - * sinfo.adb (Is_Elsif): New flag - - * sinfo.ads (N_Conditional_Expression): This node is now a syntactic - part of the language, and the documentation is modified accordingly. - (Is_Elsif): New flag - -2009-07-06 Olivier Hainque <hainque@adacore.com> - - * gcc-interface/trans.c (Handled_Sequence_Of_Statements_to_gnu, - setjmp_longjmp): Attach the exception propagation reraise fallback - to the sequence end label location when we have it. - -2009-07-04 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> - - PR ada/40608 - * init.c (APPLE): Include <mach/mach_init.h>. - (__gnat_error_handler, APPLE): Add ATTRIBUTE_UNUSED marker. - -2009-07-04 Eric Botcazou <ebotcazou@adacore.com> - - * ada-tree.h (SET_TYPE_LANG_SPECIFIC): Rewrite. - (SET_DECL_LANG_SPECIFIC): Likewise. - (TYPE_RM_VALUE): New macro. - (SET_TYPE_RM_VALUE): Likewise. - (TYPE_RM_SIZE): Rewrite in terms of TYPE_RM_VALUE. - (TYPE_RM_MIN_VALUE): Likewise. - (TYPE_RM_MAX_VALUE): Likewise. - (SET_TYPE_RM_SIZE): Rewrite in terms of SET_TYPE_RM_VALUE. - (SET_TYPE_RM_MIN_VALUE): Likewise. - (SET_TYPE_RM_MAX_VALUE): Likewise. - * decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Remove kludge. - -2009-07-04 Laurent GUERBY <laurent@guerby.net> - - PR ada/40631 - * tracebak.c (__gnat_backtrace): Fix old-style definition. - -2009-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> - - * tracebak.c [i386 && sun] (IS_BAD_PTR): Use -1UL in comparison. - -2009-07-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - PR ada/40609 - * init.c (__gnat_error_handler, HP-UX): Add ATTRIBUTE_UNUSED marker to - ucontext argument. - -2009-07-01 Eric Botcazou <ebotcazou@adacore.com> - - * init.c (__gnat_error_handler, Solaris): Add ATTRIBUTE_UNUSED marker. - -2009-06-30 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/utils2.c (build_binary_op) <MODIFY_EXPR>: Do not use - the type of the left operand if it pads a self-referential type when - the right operand is a constructor. - - * gcc-interface/lang-specs.h: Fix copyright date. - -2009-06-30 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c: Include tree-inline.h. - (annotate_value) <CALL_EXPR>: Try to inline the call in the expression. - * gcc-interface/utils.c (max_size) <CALL_EXPR>: Likewise. - * gcc-interface/utils2.c: Include tree-inline. - (known_alignment) <CALL_EXPR>: Likewise. - -2009-06-30 Eric Botcazou <ebotcazou@adacore.com> - - * raise-gcc.c: Include dwarf2.h conditionally. - -2009-06-29 Tom Tromey <tromey@redhat.com> - - * raise-gcc.c: Include elf/dwarf2.h. - -2009-06-27 Laurent GUERBY <laurent@guerby.net> - - * tb-gcc.c (trace_callback): Add casts to silence warning. - -2009-06-27 Eric Botcazou <ebotcazou@adacore.com> - - * tb-gcc.c: Fix copyright notice. - -2009-06-27 Eric Botcazou <ebotcazou@adacore.com> - - * init.c (__gnat_set_globals): Add prototype. - * adaint.c (__gnat_binder_supports_auto_init): Likewise. - (__gnat_sals_init_using_constructors): Likewise. - * gcc-interface/utils.c (gnat_pushlevel): Likewise. - (get_block_jmpbuf_decl): Likewise. - (gnat_poplevel): Likewise. - (merge_sizes): Rename local variable. - (copy_type): Likewise. - (build_vms_descriptor32): Likewise. - (build_vms_descriptor): Likewise. - (convert_vms_descriptor64): Likewise. - (convert_vms_descriptor32): Likewise. - (convert_to_fat_pointer): Likewise. - (maybe_unconstrained_array): Likewise. - (def_fn_type): Use promoted type with va_arg. - * gcc-interface/decl.c (gnat_to_gnu_entity): Add declaration. - (substitute_in_type): Rename local variable. - * gcc-interface/Make-lang.in (ada-warn): Use STRICT_WARN. - -2009-06-26 Laurent GUERBY <laurent@guerby.net> - - * tb-gcc.c (trace_callback): Use char* instead of void*. - * gcc-interface/misc.c (enumerate_modes): Make loop C++ compatible. - * gcc-interface/trans.c (parm_attr): Rename to parm_attr_d. - (Attribute_to_gnu): Adjust for above change. - (Subprogram_Body_to_gnu): Likewise. - * gcc-interface/utils.c (merge_sizes): Rename local variable. - (copy_type): Likewise. - (build_vms_descriptor32): Likewise. - (build_vms_descriptor): Likewise. - (convert_vms_descriptor64): Likewise. - (convert_vms_descriptor32): Likewise. - (convert_to_fat_pointer): Likewise. - (maybe_unconstrained_array): Likewise. - * gcc-interface/decl.c (substitute_in_type): Likewise. - -2009-06-26 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (cannot_be_superflat_p): New predicate. - (gnat_to_gnu_entity) <E_Array_Subtype>: Use it to build the expression - of the upper bound of the index types. - -2009-06-26 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Factor - out common predicate. Use the maximum to compute the upper bound of - the index type only when it is not wider than sizetype. Perform the - comparison in the index type for the generic expression. Use real - precision to decide whether to generate special types for debugging - information. - -2009-06-26 Matthew Gingell <gingell@adacore.com> - - * adaint.c: Do not use the dummy version of convert_addresses on LynxOS - -2009-06-26 Vincent Celier <celier@adacore.com> - - * prj.ads (No_Language_Config): Value of Dependency_Kind is None by - default. - -2009-06-26 Robert Dewar <dewar@adacore.com> - - * exp_ch4.adb, gnatcmd.adb, make.adb: Minor reformatting - -2009-06-26 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Pass - correct arguments to create_field_decl. Remove redundant iteration. - Rewrite computation of the maximum size. - <E_Array_Subtype>: Reorder and simplify handling of special cases. - Rewrite computation of the maximum size. Use consistent naming. - * gcc-interface/trans.c (Attribute_to_gnu) <Attr_Length>: Swap - comparison order for consistency. Use generic integer node to - build the operator and fold the result. - -2009-06-25 Vincent Celier <celier@adacore.com> - - * vms_data.ads: Minor comment change - -2009-06-25 Gary Dismukes <dismukes@adacore.com> - - * exp_ch5.adb (Expand_N_Extended_Return_Statement): Don't build an - assignment statement to targeting a caller-provided object when the - result type is an interface type. - - * exp_ch6.adb (Expand_Call): Remove redundant test of - Is_Limited_Interface (Is_Inherently_Limited is sufficient). - (Is_Build_In_Place_Function): Remove test for Is_Limited_Interface. - - * sem_aggr.adb (Check_Expr_OK_In_Limited_Aggregate): Add type in call - to OK_For_Limited_Init. - - * sem_aux.adb (Is_Inherently_Limited_Type): Revise limited type - condition so that True is returned for all limited interfaces, not - just synchronized ones. Ignore components of an interface type when - checking for limited components (such a component can be a parent - component). - - * sem_ch3.ads (OK_For_Limited_Init_In_05): Add type parameter. - (OK_For_Limited_Init): Add type parameter. - - * sem_ch3.adb (Check_Initialization): Add type in call to - OK_For_Limited_Init. - (OK_For_Limited_Init): Add new type param in call to - OK_For_Limited_Init_In_05. - (OK_For_Limited_Init_In_05): Permit arbitrary expressions of a - nonlimited type when the context type is a limited interface. Add type - on recursive calls. - - * sem_ch4.adb (Analyze_Allocator): Add type in call to - OK_For_Limited_Init. - - * sem_ch6.adb (Check_Limited_Return): Add type in call to - OK_For_Limited_Init. - - * sem_ch12.adb (Analyze_Formal_Object_Declaration): Add type in call to - OK_For_Limited_Init. - (Instantiate_Object): Add type in call to OK_For_Limited_Init. - - * sem_type.adb (Interface_Present_In_Ancestor): In the case of a - class-wide interface, get the base type before applying Etype, in order - to account for class-wide subtypes. - -2009-06-25 Emmanuel Briot <briot@adacore.com> - - * gnatcmd.adb, prj-proc.adb, make.adb, prj.adb, prj.ads, prj-nmsc.adb, - prj-util.adb, prj-env.adb, prj-env.ads: Merge handling of naming_data - between gnatmake and gprbuild. - (Naming_Data): Removed, no longer used - (Naming_Table, Project_Tree_Ref.Namings): Removed, since this is only - needed locally in one subprogram, no need to store forever in the - structure. - (Check_Naming_Scheme, Check_Package_Naming): Merged, since they play - a similar role. - (Body_Suffix_Of, Body_Suffix_Id_Of, Register_Default_Naming_Scheme, - Same_Naming_Scheme, Set_Body_Suffix, Set_Spec_Suffix, Spec_Suffix_Of, - Spec_Suffix_Id_Of): removed, no longer used. - -2009-06-25 Javier Miranda <miranda@adacore.com> - - * sem_res.adb (Resolve_Allocator): Skip test requiring exact match of - types on qualified expression in calls to imported C++ constructors. - - * exp_ch4.adb (Expand_Allocator_Expression): Add missing support for - imported C++ constructors. - -2009-06-25 Sergey Rybin <rybin@adacore.com> - - * vms_data.ads: Add qualifier for new gnatcheck '-t' option. - -2009-06-25 Vincent Celier <celier@adacore.com> - - * s-os_lib.adb (Normalize_Pathname.Get_Directory): If directory - provided, on Windows change all '/' to '\'. - - * fmap.ads, fmap.adb (Remove_Forbidden_File_Name): Remove, no longer - used. Minor comment changes - - * prj-nmsc.adb: Do not call Fmap.Add_Forbidden_File_Name or - Remove_Forbidden_File_Name. - -2009-06-25 Quentin Ochem <ochem@adacore.com> - - * prj.ads (Unit_Index): Now general access type. - -2009-06-25 Pascal Obry <obry@adacore.com> - - * a-stwise.adb, a-stzsea.adb: Fix confusion between 'Length and 'Last. - -2009-06-25 Emmanuel Briot <briot@adacore.com> - - * fmap.ads, make.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb, - prj-env.ads (Source_Data.Get_Object): Field removed, since it can be - computed efficiently from the other fields. - (Object_To_Global_Archive): New subprogram - (Create_Mapping): Remove unneeded call to Remove_Forbidden_File_Name. - (Override_Kind): Fix handling of separates in Ada. - (Create_Mapping_File): Remove duplicate code - (Naming_Data.Implementation_Exception, Specification_Exception): - field removed, since never used. - (Naming_Data.Specs, .Bodies): field removed, since this is only - used while processing the project and is not needed once the tree - is in memory. This brings Naming_Data and Lang_Naming_Data - closer (same content now, but different use still). - -2009-06-25 Pascal Obry <obry@adacore.com> - - * sem_ch4.adb: Minor reformatting. - - * a-strsea.adb: Fix confusion between 'Length and 'Last. - -2009-06-25 Ed Schonberg <schonberg@adacore.com> - - * exp_attr.adb (Expand_N_Attribute_Reference, case 'Access and - Unchecked_Access): If the context is an interface type, and the prefix - is of the corresponding class-wide type, do not insert a conversion - because the pointer displacement has already taken place, and we must - retain the class-wide type in a dispatching context. - -2009-06-25 Emmanuel Briot <briot@adacore.com> - - * prj-nmsc.adb, prj-env.adb (Override_Kind): Unset the unit field of - the previous source file. - (Create_Mapping): Iterate on sources rather than on units. - -2009-06-25 Emmanuel Briot <briot@adacore.com> - - * gnatcmd.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, prj-nmsc.adb, - prj-env.adb, prj-env.ads (Slash): removed, no longer used - (Source_Data): no longer use Path.Name to point to a locally removed - file. Instead we use the field Locally_Removed which is clearer - -2009-06-25 Arnaud Charlet <charlet@adacore.com> - - * gcc-interface/Make-lang.in: Remove references to sem_maps.o - - * sem_maps.adb, sem_maps.ads: Removed, not used. - -2009-06-25 Ed Falis <falis@adacore.com> - - * s-vxwext-rtp.ads: Add missing declaration - -2009-06-25 Matthew Gingell <gingell@adacore.com> - - * a-stwise.adb, a-stzsea.adb (Count, Index): Avoid local copy on stack, - speed up unmapped case. - -2009-06-25 Vincent Celier <celier@adacore.com> - - * prj-nmsc.adb (Check): Change error message for illegal abstract - projects. - -2009-06-25 Robert Dewar <dewar@adacore.com> - - * gnat_ugn.texi: Add note on use of -gnatct for ASIS - -2009-06-25 Emmanuel Briot <briot@adacore.com> - - * fmap.ads: Add documentation on mapping files - -2009-06-25 Robert Dewar <dewar@adacore.com> - - * exp_ch6.adb, g-socket.ads, g-socket.adb, sem_ch3.adb: Minor - reformatting - -2009-06-24 Robert Dewar <dewar@adacore.com> - - * prj-nmsc.adb, prj-nmsc.ads, prj-proc.adb, prj.adb: Minor reformatting - - * a-strsea.adb (Count): Avoid local copy on stack, speed up unmapped - case. - (Index): Ditto. - -2009-06-24 Ed Schonberg <schonberg@adacore.com> - - * sem_ch4.adb (Analyze_One_Call): Check that at least one actual is - present when checking whether a call may be interpreted as an indexing - of the result of a call. - - * exp_ch9.adb (Expand_N_Subprogram_Declaration): Place the generated - body for a null procedure on the freeze actions for the procedure, so - that it will be analyzed at the proper place without premature freezing - of actuals. - - * sem_ch3.adb (Check_Completion): Code cleanup. - Do not diagnose a null procedure without a body, if previous errors - have disabled expansion. - -2009-06-24 Doug Rupp <rupp@adacore.com> - - * init.c [VMS] Resignal C$_SIGKILL - -2009-06-24 Ed Falis <falis@adacore.com> - - * s-vxwext.adb, s-vxwext-kernel.adb: Add s-vxwext body for VxWorks 5 - Define ERROR in body for VxWorks 6 kernel - -2009-06-24 Pascal Obry <obry@adacore.com> - - * g-socket.adb, g-socket.ads: Fix possible unexpected constraint error - in [Send/Receive]_Socket. - -2009-06-24 Emmanuel Briot <briot@adacore.com> - - * prj-proc.adb, prj-proc.ads, prj.ads, prj-nmsc.adb, prj-nmsc.ads, - prj-conf.adb, prj-conf.ads (Allow_Duplicate_Basenames): New parameter - to several subprograms. - (Source_Data.Other_Part): Removed, since can be computed from the - language. - (Other_Part): New subprogram. - -2009-06-24 Emmanuel Briot <briot@adacore.com> - - * gnat_ugn.texi, prj-nmsc.adb (Suffix_Matches): A suffix can also match - the full base name of the file when the suffix doesn't start with a '.'. - -2009-06-24 Vincent Celier <celier@adacore.com> - - * prj-nmsc.adb (Check): A project declared abstract is legal if no - attribute Source_Dirs, Source_Files, Source_List_File or Languages is - declared. - -2009-06-24 Robert Dewar <dewar@adacore.com> - - * clean.adb, gnatcmd.adb, make.adb, mlib-prj.adb, - prj-env.adb: Minor reformatting - -2009-06-24 Ed Falis <falis@adacore.com> - - * s-taprop-vxworks.adb, s-osinte-vxworks.ads, s-vxwext.ads, - s-vxwext-kernel.adb, s-vxwext-kernel.ads, s-vxwext-rtp.adb, - s-tasinf-vxworks.ads, gcc-interface/Makefile.in: Add processor affinity - support for VxWorks SMP. - - * gcc-interface/Make-lang.in: Update dependencies - -2009-06-24 Emmanuel Briot <briot@adacore.com> - - * gnatcmd.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, clean.adb, - prj-nmsc.adb, prj-env.adb, prj-proc.adb (Units_Table): Removed, since - no longer useful. - (Source_Data.Lang_Kind): Removed, since it duplicates information - already available through Language.Config. - (Source_Data.Compile): Removed, since information is already available - through the language. - (Is_Compilable): New subprogram. - (Source_Data.Dependency): Removed, since already available through - the language. - (Source_Data.Object_Exist, Object_Linked): Removed since available - through the language already. - (Unit_Data.File_Names): Is now also set in multi_language mode, to - bring the two modes closer in the resulting data structures. - (Source_Data.Unit): Now a direct pointer to the unit data, rather than - just the name that would point into a hash table. - (Get_Language_From_Name): New subprogram. - -2009-06-24 Javier Miranda <miranda@adacore.com> - - * exp_ch4.adb (Expand_N_Type_Conversion): Handle entities that are - visible through limited-with context clauses. In addition, avoid an - extra tag check that is not required when the class-wide - designated types of the operand and target types are - the same entity. - (Tagged_Membership): Handle entities from the limited view. - -2009-06-24 Emmanuel Briot <briot@adacore.com> - - * gnatcmd.adb, make.adb, mlib-prj.adb, prj.ads, clean.adb, - prj-nmsc.adb, prj-env.adb (File_Name_Data): removed - (Spec_Or_Body): now a subtype of Source_Kind, to avoid using two - different vocabularies for similar concepts (Impl/Body_Part and - Spec/Specification). - (Unit_Data): now points directly to a Source_Id, rather than duplicating - some of the information in File_Name_Data. This also saves a bit of - memory. However, since we are now using a pointer we need to test - for null explicitly in several places of the code - -2009-06-24 Javier Miranda <miranda@adacore.com> - - * exp_ch4.adb (Expand_N_Type_Conversion): return immediately - from processing the type conversion when the node is - replaced by an N_Raise_Program_Error node. - -2009-06-24 Hristian Kirtchev <kirtchev@adacore.com> - - * sem_ch6.adb (Designates_From_With_Type): New routine. - (Process_Formals): Since anonymous access types are no longer flagged - as from with types, traverse the designated type to determine whether - it is coming from a limited view. - - * sem_res.adb: Remove with and use clauses for Sem_Ch10. - (Full_Designated_Type): Use Available_View to extract the non-limited / - full view of a type. - -2009-06-24 Robert Dewar <dewar@adacore.com> - - * exp_ch6.adb: Minor reformatting - - * layout.adb: Minor reformatting - - * make.adb: Minor reformatting - -2009-06-24 Thomas Quinot <quinot@adacore.com> - - * sem_ch10.adb: Minor code reorganization. - -2009-06-24 Eric Botcazou <ebotcazou@adacore.com> - - * ttypes.ads: Minor editing. - -2009-06-24 Robert Dewar <dewar@adacore.com> - - * exp_ch6.adb (Expand_Actuals): Use Is_Volatile, not Treat_As_Volatile - in deciding to do call-by-copy code. - -2009-06-24 Vincent Celier <celier@adacore.com> - - * make.adb (Gnatmake): To decide if an executable should be rebuilt, - check if an externally built library file is more current than the - executable. - -2009-06-23 Olivier Hainque <hainque@adacore.com> - - * gcc-interface/utils.c (handle_vector_size_attribute): Import from - c-common.c and populate in gnat_internal_attribute_table. - -2009-06-23 Ed Schonberg <schonberg@adacore.com> - - * sem_res.adb (Valid_Conversion, Full_Designated_Type): Use - Available_View only when designated type of an anonymous access type - is limited view. - -2009-06-23 Robert Dewar <dewar@adacore.com> - - * sem_ch10.adb: Minor reformatting - - * ali.ads: Mino reformatting. - - * gnat1drv.adb (Adjust_Global_Switches): New procedure (take care of - turning off inlining if ASIS mode active). - - * switch-c.adb: Remove fiddling with Inspector_Mode and ASIS_Mode - This belongs in gnat1drv.adb after switches are scanned. - -2009-06-23 Hristian Kirtchev <kirtchev@adacore.com> - - * sem_attr.adb: Add with and use clauses for Sem_Ch10. - (Check_Not_Incomplete_Type): Minor reformatting. Retrieve the root type - when dealing with class-wide types. Detect a legal shadow entity and - retrieve its non-limited view. - - * sem_ch10.adb (Has_With_Clause): Move the spec and body of the - subprogram to top package level from Intall_Limited_Withed_Unit. - (Install_Limited_Withed_Unit): Remove spec and body of Has_With_Clause. - Add check which prevents the installation of a limited view if the - non-limited view is already visible through a with clause. - (Is_Legal_Shadow_Entity_In_Body): New routine. Detect a residual, but - legal shadow entity which may occur in subprogram formals of anonymous - access type. - - * sem_ch10.ads (Is_Legal_Shadow_Entity_In_Body): New routine. - - * sem_ch3.adb (Access_Definition): Remove the propagation of flag - From_With_Type from the designated type to the generated anonymous - access type. Remove associated comment. - - * sem_res.adb Add with and use clauses for Sem_Ch10. - (Full_Designated_Type): Detect a legal shadow entity and retrieve its - non-limited view. Since the shadow entity may replace a regular - incomplete type, return the available full view. - -2009-06-23 Ed Schonberg <schonberg@adacore.com> - - * sem_ch10.adb (Remove_Limited_With_Clause): Clean up code that handles - incomplete type declarations. Previous code was potentially quadratic - in the number of visible declarations in any package appearing in a - limited_with_clause. - -2009-06-23 Robert Dewar <dewar@adacore.com> - - * prj-conf.ads, prj-part.adb, prj-proc.adb, prj-proc.ads, sem_ch8.adb, - xref_lib.adb: Minor reformatting - -2009-06-23 Robert Dewar <dewar@adacore.com> - - * a-stzhas.adb: Provide dummy body to avoid build problems with old - versions which did have a body for this unit. - -2009-06-23 Vincent Celier <celier@adacore.com> - - * prj-attr.adb: Attribute names Initial_Required_Switches and - Final_Required_Switches changed to Leading_Required_Switches and - Trailing_Required_Switches. - - * prj-nmsc.adb (Process_Compiler): Attribute names - Initial_Required_Switches and Final_Required_Switches changed to - Leading_Required_Switches and Trailing_Required_Switches. - - * prj.ads (Language_Config): Component Initial_Required_Switches and - Final_Required_Switches changed to Leading_Required_Switches and - Trailing_Required_Switches. - - * snames.ads-tmpl: Remove standard names Initial_Required_Switches and - Final_Required_Switches; add standard names Leading_Required_Switches - and Trailing_Required_Switches. - -2009-06-23 Thomas Quinot <quinot@adacore.com> - - * prj-conf.adb: Minor reformatting - - * xref_lib.adb: Minor cleanup - -2009-06-23 Emmanuel Briot <briot@adacore.com> - - * prj-proc.adb, prj-proc.ads, prj-nmsc.adb, prj-nmsc.ads, prj-conf.adb, - prj-conf.ads (Check_Configuration): New parameter - Compiler_Driver_Mandatory. - -2009-06-23 Ed Schonberg <schonberg@adacore.com> - - * sem_ch10.adb (Analyze_With_Clause): If a subprogram instance in the - context of the current unit has an inline pragma, the instance is not - rewritten as the declaration of the package wrapper. Handle both - possibilities when retrieving the visible subprogram that renames the - instantiation itself. - -2009-06-23 Javier Miranda <miranda@adacore.com> - - * exp_ch4.adb (Displace_Allocator_Pointer, Expand_N_Allocator): Handle - designated types referencing entities from the limited view. - -2009-06-23 Robert Dewar <dewar@adacore.com> - - * s-strhas.adb, s-strhas.ads: Restrict to 32-bit modular types - - * s-imgdec.adb (Set_Decimal_Digits): Fix error of too many digits for - small values - - * prj-conf.ads: Minor reformatting - - * prj-conf.adb: Minor reformatting - -2009-06-23 Vasiliy Fofanov <fofanov@adacore.com> - - * g-debpoo.adb (Dump_Gnatmem): Output dummy timestamps for allocations - to correspond to the log format that gnatmem now expects. - -2009-06-23 Vincent Celier <celier@adacore.com> - - * prj-attr.adb: New attributes Initial_Required_Switches, - Final_Required_Switches and Object_File_Switches - - * prj-nmsc.adb (Process_Compiler): Process new attributes - Name_Final_Required_Switches, Name_Initial_Required_Switches and - Name_Object_File_Switches. - - * prj.ads (Language_Config): New component - Compiler_Initial_Required_Switches (replace Compiler_Required_Switches), - Compiler_Final_Required_Switches and Object_File_Switches. - - * snames.ads-tmpl: New standard names Initial_Required_Switches, - Final_Required_Switches and Object_File_Switches - -2009-06-23 Pascal Obry <obry@adacore.com> - - * s-strhas.adb, s-strhas.ads: Minor reformatting. - -2009-06-23 Ed Schonberg <schonberg@adacore.com> - - * sem_ch10.adb (Install_Limited_Withed_Unit): a null procedure does - not indicate that the enclosing unit needs a body. - -2009-06-23 Emmanuel Briot <briot@adacore.com> - - * prj-conf.ads, prj-conf.adb: New files part of the project manager. - -2009-06-23 Ed Schonberg <schonberg@adacore.com> - - * sem_ch3.adb (Derive_Subprogram): If the inherited subprogram is a - primitive equality include it with its source name even if the - operation is currently invisible, to make sure that the corresponding - slot in the dispatch table is reserved for the internal equality - subsequently generated during expansion. - -2009-06-23 Matthew Gingell <gingell@adacore.com> - - * Makefile.rtl, a-stwiha.adb: Add a-stwiha.adb back. - -2009-06-22 Jose Ruiz <ruiz@adacore.com> - - * sysdep.c (__gnat_localtime_tzoff for RTX): - SystemTimeToTzSpecificLocalTime is not supported by RTX. Use - GetTimeZoneInformation instead. - -2009-06-22 Robert Dewar <dewar@adacore.com> - - * sem_res.adb (Check_No_Direct_Boolean_Operators): New procedure - -2009-06-22 Ed Schonberg <schonberg@adacore.com> - - * sem_ch12.adb (Collect_Previous_Instances): Do not collect - instantiations declared in a previous generic package body. - -2009-06-22 Robert Dewar <dewar@adacore.com> - - * gnat_rm.texi: Add doc that X=True and X=False is allowed for the - restriction No_Direct_Boolean_Operators. - -2009-06-22 Thomas Quinot <quinot@adacore.com> - - * bindusg.adb: Minor fixes to gnatbind usage message - - * sem_eval.adb: Minor reformatting - -2009-06-22 Javier Miranda <miranda@adacore.com> - - * sem_ch3.adb (Analyze_Object_Declaration, Freeze_Entity): Move to the - freezing point the check on the use of abstract types in object - declarations. Done to allow the declaration of C++ imported variables - or constants whose type corresponds with an imported C++ classes for - which the constructor is not imported. - -2009-06-22 Thomas Quinot <quinot@adacore.com> - - * sem_ch6.adb: Minor reformatting - -2009-06-22 Ed Schonberg <schonberg@adacore.com> - - * exp_ch3.adb (Build_Initialization_Call): If a discriminated record - component is constrained with an expression rather than with a - discriminant of the enclosing type, use that expression when building - the call to default-initialize the component, when the call is part of - an aggregate with box initialization. - -2009-06-22 Ed Schonberg <schonberg@adacore.com> - - * sem_ch6.adb (Check_Overriding_Indicator): Clean up code, make warning - unconditional rather than a style check, because a formal name out of - order is suspicious. - -2009-06-22 Vincent Celier <celier@adacore.com> - - * prj-nmsc.adb (Locate_Directory): Indicate the project name when - creating a directory automatically. - -2009-06-22 Eric Botcazou <ebotcazou@adacore.com> - - * sem_ch3.adb (Create_Constrained_Components): For a subtype of an - untagged derived type, add a hidden component for every constrained - discriminant of the parent type to keep record layout consistent. - -2009-06-22 Thomas Quinot <quinot@adacore.com> - - * exp_ch3.adb: Minor code reorganization (avoid an unnecessary tree - copy). - -2009-06-22 Matthew Gingell <gingell@adacore.com> - - * a-stzhas.adb, a-stwiha.adb, impunit.adb, a-swbwha.adb, a-shcain.adb, - s-htable.adb, a-szuzha.adb, a-stunha.adb, a-stboha.adb, a-strhas.adb, - g-spitbo.adb, s-strhas.adb, a-szbzha.adb, s-strhas.ads, Makefile.rtl, - a-swuwha.adb: New unit System.String_Hash. - Refactor redundant cut and pasted hash functions with instances of a - new generic hash function. - Implement a new string hashing algorithm which appears in testing to - be move effective than to previous approach. - -2009-06-22 Ed Falis <falis@adacore.com> - - * sysdep.c: remove include for nfsLib.h and an NFS specific error - message for VxWorks 653 vThreads: not supported by the OS. - - * gsocket.h: disable sockets for VxWorks 653 vThreads. - -2009-06-22 Robert Dewar <dewar@adacore.com> - - * sem_ch6.adb: Add ??? comment for bad use of Style_Check - -2009-06-22 Robert Dewar <dewar@adacore.com> - - * sinput.adb, sinput.ads (Expr_First_Char, Expr_Last_Char): Replaced - by Sloc_Range. - - * freeze.adb: Minor comment updates - - * s-valrea.adb (Bad_Based_Value): New procedure - (Scan_Real): Raise exceptions with messages - -2009-06-22 Matthew Gingell <gingell@adacore.com> - - * adaint.h: Complete previous change. - -2009-06-22 Thomas Quinot <quinot@adacore.com> - - * exp_ch7.ads, exp_ch3.adb: Minor reformatting - -2009-06-22 Ed Schonberg <schonberg@adacore.com> - - * sem_ch6.adb (Check_Overriding_Indicator): When style checks are - enabled, emit warning when a non-controlling argument of the overriding - operation appears out of place vis-a-vis of the formal of the - overridden operation. - -2009-06-22 Vincent Celier <celier@adacore.com> - - * gnatcmd.adb (Check_Files): Close temporary files after all file names - have been written into it. - -2009-06-22 Matthew Gingell <gingell@adacore.com> - - * adaint.c, adaint.h, cstreams.c: Call stat64 on platforms where it is - available. - -2009-06-22 Thomas Quinot <quinot@adacore.com> - - * sem_disp.adb (Check_Direct_Call): Handle the case where the full - view of the root type is visible at the point of the call. - -2009-06-22 Pat Rogers <rogers@adacore.com> - - * gnat_ugn.texi: Revised a sentence to correct a minor grammar error. - -2009-06-22 Jerome Lambourg <lambourg@adacore.com> - - * freeze.adb: Add comments. - -2009-06-21 Thomas Quinot <quinot@adacore.com> - - * exp_ch3.adb, exp_prag.adb, exp_util.adb, exp_util.ads, freeze.adb, - sem_ch13.adb, sem_elab.adb (Exp_Prag.Expand_Pragma_Import_Or_Interface): - Factor out code to new subprogram... - (Exp_Util.Find_Init_Call): New shared routine to find the init proc call - for a default initialized variable. - (Freeze.Check_Address_Clause): Do not reset Has_Delayed_Freeze on an - entity that has an associated freeze node. - (Sem_Ch13.Analyze_Attribute_Definition_Clause, case Address): - If there is an init call for the object, defer it to the object freeze - point. - (Check_Elab_Call.Find_Init_Call): Rename to Check_Init_Call, to avoid - name clash with new subprogram introduced in Exp_Util. - -2009-06-21 Robert Dewar <dewar@adacore.com> - - * einfo.ads: Minor reformatting - -2009-06-21 Ed Falis <falis@adacore.com> - - * env.c (__gnat_environ): return NULL for vThreads - unimplemented - -2009-06-21 Eric Botcazou <ebotcazou@adacore.com> - - * einfo.ads: Update comments. - -2009-06-21 Hristian Kirtchev <kirtchev@adacore.com> - - * sem_disp.adb (Check_Direct_Call): New routine. Dispatching calls - where the controlling formal is of private class-wide type whose - completion is a synchronized type can be converted into direct calls. - -2009-06-21 Vincent Celier <celier@adacore.com> - - * gnatcmd.adb (Check_Files): When all sources of the project are to be - indicated to gnatcheck, gnatpp or gnatmetric, always specify the list - of sources using -files=, so that the distinction can be made by the - tool of a call with no source (to display the usage) from a call with - a project file that contains no source. - -2009-06-21 Jerome Lambourg <lambourg@adacore.com> - - * exp_ch3.adb (Build_Array_Init_Proc): Do not build the init proc in - case of VM convention arrays. - -2009-06-20 Robert Dewar <dewar@adacore.com> - - * a-nudira.adb: Minor reformatting - -2009-06-20 Ed Schonberg <schonberg@adacore.com> - - * exp_ch3.adb (Build_Record_Init_Proc): When copying initial - expressions (possibly from a parent type) indicate that the scope of - the new itypes is the initialization procedure being built. - -2009-06-20 Robert Dewar <dewar@adacore.com> - - * a-nudira.adb (Fits_In_32_Bits): New name (inverted sense) for - Needs_64, and now computed without anomolies for some dynamic types. - -2009-06-20 Thomas Quinot <quinot@adacore.com> - - * sem_prag.adb: Minor reformatting - - * exp_disp.ads: Minor reformatting - -2009-06-20 Ed Schonberg <schonberg@adacore.com> - - * sem_ch3.adb (Is_OK_For_Limited_Init): An unchecked conversion of a - function call is a legal expression to initialize a limited object. - - * exp_ch3.adb: Rename various freeze operations that perform expansion - actions, to prevent confusion with subprograms in the freeze package. - -2009-06-20 Ed Schonberg <schonberg@adacore.com> - - * sem.adb (Walk_Library_Units): Check instantiations first. - - * sem_ch6.adb (Analyze_Subprogram_Declaration): Mark a subprogram as a - private primitive if it is a function with a controlling result that is - a type extension with progenitors. - - * exp_ch9.adb (Build_Wrapper_Spec, Build_Wrapper_Body): Handle properly - a primitive operation of a synchronized tagged type that has a - controlling result. - -2009-06-20 Thomas Quinot <quinot@adacore.com> - - * einfo.ads: Fix typo. - -2009-06-20 Ed Falis <falis@adacore.com> - - * s-vxwext.ads, s-vxwext-kernel.adb: Complete previous change. - -2009-06-19 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/trans.c (emit_check): Do not wrap up the result - in a SAVE_EXPR. - (protect_multiple_eval): Always protect complex expressions. - -2009-06-19 Emmanuel Briot <briot@adacore.com> - - * prj-ext.adb, makeutl.adb, makeutl.ads (Executable_Prefix_Path): Now - make sure we always return a name ending with a path separator. - -2009-06-19 Javier Miranda <miranda@adacore.com> - - * sem_ch12.adb (Instantiate_Package_Body, Instantiate_Subprogram_Body): - Save and restore the visibility of the parent when installed. - -2009-06-19 Jose Ruiz <ruiz@adacore.com> - - * s-tposen.ads (Protection_Entry): Replace fields L, Ceiling, and Owner - by Common which contains all these fields. - - * s-tposen.adb (Initialize_Protection_Entry, Lock_Entry, - Lock_Read_Only_Entry, Timed_Protected_Single_Entry_Call, Unlock_Entry): - Remove code duplication in this package by means of calling the - equivalent code in s-taprob. - -2009-06-19 Robert Dewar <dewar@adacore.com> - - * a-einuoc.ads: Minor reformatting - -2009-06-19 Ed Falis <falis@adacore.com> - - * a-einuoc.ads, s-osinte-vxworks.ads, s-vxwext.ads, s-vxwext-kernel.adb, - s-vxwext-kernel.ads, s-vxwext-rtp.ads: Code clean up. - -2009-06-19 Eric Botcazou <ebotcazou@adacore.com> - - * einfo.ads (Handling of Type'Size Values): Fix Object_Size values. - -2009-06-19 Robert Dewar <dewar@adacore.com> - - * a-nudira.adb (Need_64): Handle negative ranges and also dynamic - ranges - - * checks.adb (Determine_Range): Move the test for generic types later. - - * sem_eval.adb (Compile_Time_Compare): Improve circuitry to catch more - cases. - (Eval_Relational_Op): Fold more cases including string compares - - * sem_util.ads, sem_util.adb (References_Generic_Formal_Type): New - function. - -2009-06-19 Robert Dewar <dewar@adacore.com> - - * sem_type.ads, sem_ch12.adb: Minor reformatting - - * s-wchcnv.adb (UTF_32_To_Char_Sequence): Handle invalid data properly - -2009-06-19 Ed Schonberg <schonberg@adacore.com> - - * exp_ch9.adb (Build_Wrapper_Spec): Handle properly an overridden - primitive operation of a rivate extension whose controlling argument - is an out parameter. - - * sem.adb (Walk_Library_Units): exclude generic package declarations - from check. - -2009-06-19 Thomas Quinot <quinot@adacore.com> - - * i-vxwoio.ads: Add comments - -2009-06-19 Thomas Quinot <quinot@adacore.com> - - * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, - g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads, - g-socthi.adb, g-socthi.ads, g-socket.adb, g-sothco.ads - (GNAT.Sockets.Thin.C_Ioctl): Rename to Socket_Ioctl. - (GNAT.Sockets.Thin.Socket_Ioctl): Use new function - Thin_Common.Socket_Ioctl. - (GNAT.Sockets.Thin_Common.Socket_Ioctl): Binding to new C wrapper - __gnat_socket_ioctl. - (__gnat_socket_ioctl): Wrapper for ioctl(2) called with a single int* - argument after the file descriptor and request code. - -2009-06-19 Robert Dewar <dewar@adacore.com> - - * checks.adb: Minor reformatting - -2009-06-19 Jose Ruiz <ruiz@adacore.com> - - * env.c (__gnat_environ): RTX does not support this functionality. - -2009-06-19 Ed Schonberg <schonberg@adacore.com> - - * sem.adb (Walk_Library_Items): Include bodies in the list of units to - traverse, to account for front-end inlining and instantiations in a - spec or in the main unit. - -2009-06-19 Robert Dewar <dewar@adacore.com> - - * checks.adb (Determine_Range): Do not attempt to get range of generic - type. - -2009-06-19 Sergey Rybin <rybin@adacore.com> - - * gnat_ugn.texi, vms_data.ads: Add the documentation for the new - gnatmetric option for generating the schema file for gnatmetric XML - output. Add corresponding VMS qualifier. - -2009-06-19 Robert Dewar <dewar@adacore.com> - - * g-cgi.adb: Minor reformatting - -2009-06-19 Eric Botcazou <ebotcazou@adacore.com> - - * s-intman-solaris.adb (Notify_Exception): Do not discriminate on the - signal code for SIGFPE and raise Program_Error for SIGILL. - - * s-osinte-solaris.ads: Remove signal code constants for SIGFPE. - -2009-06-19 Ed Schonberg <schonberg@adacore.com> - - * sem_ch8.adb (Nvis_Messages): Do not list an entity declared in a - generic package if there is a visibility candidate that is declared in - a regular package. - -2009-06-18 Olivier Hainque <hainque@adacore.com> - - * system-aix64.ads: New file. - * gcc-interface/Makefile.in (aix LIBGNAT_TARGET_PAIRS): Use the - 64bit system.ads for ppc64 multilib variants. - -2009-06-16 Robert Dewar <dewar@adacore.com> - Olivier Hainque <hainque@adacore.com> - - Relax constraints on Machine_Attribute argument types: - * sem_prag.adb (Check_Arg_Is_Static_Expression): Allow for - missing type. - (Analyze_Attribute, case Machine_Attribute): Allow any type for arg 3. - * gcc-interface/decl.c (prepend_attributes): Accept static - expressions of any type as attribute arguments, not only string - literals. - * gnat_rm.texi (pragma Machine_Attribute section): Adjust to reflect - the relaxation of the restriction on the Info argument type. - -2009-06-13 Aldy Hernandez <aldyh@redhat.com> - - * gcc-interface/utils.c (record_builtin_type): Pass location - argument to build_decl. - (create_type_stub_decl): Same. - (create_type_decl): Same. - (create_var_decl_1): Same. - (create_field_decl): Same. - (create_param_decl): Same. - (create_label_decl): Same. - (create_subprog_decl): Same. - * gcc-interface/decl.c (gnat_to_gnu_entity): Same. - * gcc-interface/trans.c (Case_Statement_to_gnu): Pass location - argument to create_artificial_label. - (Loop_Statement_to_gnu): Same. - (Subprogram_Body_to_gnu): Same. - (gnat_gimplify_stmt): Same. - -2009-06-11 Richard Henderson <rth@redhat.com> - - * gcc-interface/misc.c (gnat_handle_option): Rename OPT_gdwarf_ to - OPT_gdwarfplus. - -2009-06-11 Ed Schonberg <schonberg@adacore.com> - - * sem_attr.adb (Resolve_Attribute, case 'access): Add missing - accessibiliy check on access_to_subprogram in the context of an - anonymous access that is not an access parameter. - -2009-06-11 Eric Botcazou <ebotcazou@adacore.com> - - * tracebak.c (i386 section): Define IS_BAD_PTR on Solaris. - -2009-06-11 Quentin Ochem <ochem@adacore.com> - - * sem_warn.adb, scng.adb, sfn_scan.adb, freeze.adb: Add CODEFIX - comments for message handled by GPS. - -2009-06-11 Matthew Gingell <gingell@adacore.com> - - * adaint.c: Use fopen64 instead of fopen on platforms where we know - it's supported. - -2009-06-11 Pascal Obry <obry@adacore.com> - - * g-cgi.ads: Fix comment typo. - - * g-cgi.adb: Properly decode "+" in CGI parameters as spaces. - -2009-06-10 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Use - a reference to the original type for the type of the field of the - XVS type. - (maybe_pad_type): Likewise. - - * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: Factor - common predicate and remove redundant setting of TYPE_BY_REFERENCE_P. - Pass correctly typed arguments to create_field_decl. - <E_Record_Subtype>: Set BLKmode for tagged and limited types in the - case of contrained discriminants as well. Use the padded base type - in the other case as well. Rename temporary variable. Tweak test. - Factor common access pattern. Set GNU_SIZE only once. - -2009-06-09 Olivier Hainque <hainque@adacore.com> - - * gcc-interface/utils2.c (build_call_alloc_dealloc_proc): New - helper for build_call_alloc_dealloc with arguments to be interpreted - identically. Process the case where a GNAT_PROC to call is provided. - (maybe_wrap_malloc): New helper for build_call_alloc_dealloc, to build - and return an allocator for DATA_SIZE bytes aimed at containing a - DATA_TYPE object, using the default __gnat_malloc allocator. Honor - DATA_TYPE alignments greater than what the latter offers. - (maybe_wrap_free): New helper for build_call_alloc_dealloc, to - release a DATA_TYPE object designated by DATA_PTR using the - __gnat_free entry point. - (build_call_alloc_dealloc): Expect object data type instead of naked - alignment constraint. Use the new helpers. - (build_allocator): Remove special processing for the super-aligned - case, now handled by build_call_alloc_dealloc. Pass data - type instead of the former alignment argument, as expected by the new - interface. - * gcc-interface/gigi.h (build_call_alloc_dealloc): Adjust prototype - and comment. - * gcc-interface/trans.c (gnat_to_gnu) <case N_Free_Statement>: - Remove special processing for the super-aligned case, now handled - by build_call_alloc_dealloc. Pass data type instead of the former - alignment argument, as expected by the new interface. - -2009-06-08 Alexandre Oliva <aoliva@redhat.com> - - * lib-writ.adb (flag_compare_debug): Import. - (Write_ALI): Skip during -fcompare-debug-second. - -2009-06-03 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: When - adjusting the discriminant nodes in an extension, use the full view - of the parent subtype if it is of a private kind. - -2009-06-03 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: Add the - _Parent field, if any, to the record before adding the other fields. - <E_Record_Subtype>: Put the _Controller field before the other fields - except for the _Tag or _Parent fields. - (components_to_record): Likewise. Retrieve the _Parent field from the - record type. - -2009-06-03 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (substitution_list): Rename to build_subst_list, - remove unused parameter and simplify. - (gnat_to_gnu_entity) <E_Record_Type>: Do not set TYPE_FIELDS. Factor - common predicate. Rewrite loop for clarity. Use GNU_TYPE directly - as context for all discriminants. Fix formatting nits. - <E_Record_Subtype>: Add cosmetic 'break'. Test Has_Discriminants - before Discriminant_Constraint. Adjust for above renaming. Do not - set GNU_TYPE more than once. - (elaborate_entity): Test Has_Discriminants on the entity and use - Implementation_Base_Type. - (components_to_record): Rename component_list to gnat_component_list. - Retrieve the _Parent field from the list. Fix nits in comments. - Clarify logic in loop. Pass correct arguments to create_field_decl. - -2009-06-02 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/Make-lang.in: Fix formatting. - -2009-06-01 Olivier Hainque <hainque@adacore.com> - Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/utils.c (convert) <CONSTRUCTOR case>: When converting - to the packable version of the type, clear TREE_STATIC/TREE_CONSTANT - on the result if at least one of the input fields couldn't be output - as a static constant any more. - -2009-06-01 Olivier Hainque <hainque@adacore.com> - Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/utils2.c (gnat_build_constructor): Factor - out code. Use initializer_constant_valid_for_bitfield_p and - CONSTRUCTOR_BITFIELD_P for bit-fields. - -2009-05-26 Ian Lance Taylor <iant@google.com> - - * gcc-interface/Makefile.in (COMPILER): Define. - (COMPILER_FLAGS, ALL_COMPILERFLAGS): Define. - (.c.o, cio.o, init.o, initialize.o, targext.o): Use $(COMPILER). - (seh_init.o, tracebak.o): Likewise. - * gcc-interface/Make-lang.in (ada/targext.o): Likewise. - (ada/cio.o, ada/init.o, ada/initialize.o, ada/raise.o): Likewise. - (ada/tracebak.o, ada/cuintp.o, ada/decl.o, ada/misc.o): Likewise. - (ada/targtyps.o, ada/trans.o, ada/utils.o): Likewise. - (ada/utils2.o): Likewise. - -2009-05-24 Olivier Hainque <hainque@adacore.com> - - * switch.adb (Is_Internal_GCC_Switch, Switch_Last): Bodies of ... - * switch.ads (Is_Internal_GCC_Switch, Switch_Last): New functions. - Add -auxbase variants to the list of recognized internal switches. - * back_end.adb (Scan_Back_End_Switches): Use the new functions and - adjust comments. - * lib.ads: Make comment on internal GCC switches more general. - * gcc-interface/lang-specs.h (specs for Ada): Pass -auxbase variants - as for C. - -2009-05-23 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/misc.c (gnat_get_subrange_bounds): Fix thinko. - -2009-05-23 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (set_rm_size): Bypass the check for packed array - types. - -2009-05-23 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Do not modify the - original type because of the alignment when there is an address clause. - -2009-05-20 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: When - discriminants affect the shape of the subtype, retrieve the GCC type - directly from the original field if the GNAT types for the field and - the original field are the same. - -2009-05-15 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/ada-tree.h (TYPE_GCC_MIN_VALUE, TYPE_GCC_MAX_VALUE): - New macros. - (TYPE_RM_VALUES): Likewise. - (TYPE_RM_SIZE): Rewrite in terms of TYPE_RM_VALUES. - (SET_TYPE_RM_SIZE): New macro. - (TYPE_RM_MIN_VALUE, TYPE_RM_MAX_VALUE): Likewise. - (SET_TYPE_RM_SIZE, SET_TYPE_RM_MAX_VALUE): Likewise. - (TYPE_MIN_VALUE, TYPE_MAX_VALUE): Redefine. - * gcc-interface/gigi.h (create_range_type): Declare. - * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Modular_Integer_Type> - Use SET_TYPE_RM_MAX_VALUE to set the upper bound on the UMT type. - <E_Signed_Integer_Subtype>: Build a regular integer type first and - then set the RM bounds. Use SET_TYPE_RM_SIZE to set the RM size. - <E_Floating_Point_Subtype>: Build a regular floating-point type first - and then set the RM bounds. - <E_Array_Type>: Use create_range_type instead of build_range_type. - <E_Array_Subtype>: Build a regular integer type first and then set - the RM bounds for the extra subtype. - <E_String_Literal_Subtype>: Use create_range_type instead of - build_range_type. - <all>: Set the RM bounds for enumeration types and the GCC bounds for - floating-point types. - (set_rm_size): Use SET_TYPE_RM_SIZE to set the RM size. - (make_type_from_size) <INTEGER_TYPE>: Use SET_TYPE_RM_{MIN,MAX}_VALUE - to set the bounds. Use SET_TYPE_RM_SIZE to set the RM size. - (substitute_in_type) <INTEGER_TYPE>: Deal with GCC bounds for domain - types and with RM bounds for subtypes. - * gcc-interface/misc.c (LANG_HOOKS_GET_SUBRANGE_BOUNDS): Define. - (gnat_print_type) <REAL_TYPE>: New case. - <ENUMERAL_TYPE>: Fall through to above case. - (gnat_get_subrange_bounds): New function. - * gcc-interface/trans.c (add_decl_expr): Mark the trees rooted as - TYPE_RM_MIN_VALUE and TYPE_RM_MAX_VALUE, if any. - * gcc-interface/utils.c (gnat_init_decl_processing): Use precision 8 - for booleans. Adjust and use SET_TYPE_RM_SIZE to set the RM size. - (create_range_type): New function. - (create_param_decl): Build a regular integer type first and then set - the RM bounds for the extra subtype. - (unchecked_convert): Remove kludge for 'Valid. - * gcc-interface/utils2.c (build_binary_op) <ARRAY_RANGE_REF>: Convert - the index to sizetype instead of TYPE_DOMAIN. - -2009-05-14 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (elaborate_expression_1): Remove GNAT_EXPR - parameter and move check for static expression to... - (elaborate_expression): ...here. Adjust call to above function. - (gnat_to_gnu_entity): Likewise for all calls. Use correct arguments - in calls to elaborate_expression. - (elaborate_entity): Likewise. - (substitution_list): Likewise. - (maybe_variable): Fix formatting. - (substitute_in_type) <REAL_TYPE>: Merge with INTEGER_TYPE case and add - missing guard. - * gcc-interface/trans.c (protect_multiple_eval): Minor cleanup. - -2009-05-07 Arnaud Charlet <charlet@adacore.com> - - * gcc-interface/Make-lang.in: Update dependencies. - -2009-05-06 Laurent GUERBY <laurent@guerby.net> - - * s-linux.ads, s-linux-alpha.ads, s-linux-hppa.ads, osinte-linux.ads: - Define sa_handler_pos. - * s-osinte-linux.ads: Use it. - * s-linux-mipsel.ads: New. - * system-linux-mips64el.ads: New. - * gcc-interface/Makefile.in: Multilib handling for mipsel-linux and - mips64el-linux. - -2009-05-06 Arnaud Charlet <charlet@adacore.com> - - * exp_ch5.adb, exp_util.adb, exp_attr.adb, sem_util.adb, sem_res.adb, - targparm.adb, targparm.ads, exp_ch4.adb, exp_ch6.adb, exp_disp.adb, - opt.ads, exp_aggr.adb, exp_intr.adb, sem_disp.adb, exp_ch3.adb - (Tagged_Type_Expansion): New flag. - Replace use of VM_Target related to tagged types expansion by - Tagged_Type_Expansion, since tagged type expansion is not necessarily - linked to VM targets. - -2009-05-06 Robert Dewar <dewar@adacore.com> - - * sem_attr.adb: Add processing for Standard'Compiler_Version - - * sinput.adb (Expr_Last_Char): Fix some copy-paste errors for paren - skipping. - (Expr_First_Char): Add ??? comment that paren skipping needs work - (Expr_Last_Char): Add ??? comment that paren skipping needs work - - * exp_attr.adb: Add processing for Compiler_Version - - * sem_attr.adb: New attribute Compiler_Version - - * snames.ads-tmpl: Add entries for Compiler_Version attribute - - * gnat_rm.texi: Document Compiler_Version attribute - -2009-05-06 Robert Dewar <dewar@adacore.com> - - * errout.adb: Minor reformatting - - * scng.adb, sem_prag.adb, par-ch4.adb, sem_res.adb, par-ch6.adb, - sem_ch6.adb, par-prag.adb, sem_ch8.adb, sem_warn.adb, par-util.adb, - styleg.adb: Add stylized comments to error messages that are included - in the codefix circuitry of IDE's such as GPS. - -2009-05-06 Sergey Rybin <rybin@adacore.com> - - * gnat_ugn.texi: For Misnamed_Identifiers rule all description of the - new form of the rule parameter that allows to specify the suffix for - access-to-access type names. - -2009-05-06 Robert Dewar <dewar@adacore.com> - - * sem_warn.adb (Warn_On_Useless_Assignment): Avoid false negative for - out parameter assigned when exception handlers are present. - - * sem_ch5.adb (Analyze_Exit_Statement): Kill current value last - assignments on exit. - - * par-ch9.adb, sem_aggr.adb, par-endh.adb, sem_res.adb, par-ch6.adb, - sinput-l.adb, par-load.adb, errout.ads, sem_ch4.adb, lib-load.adb, - prj-dect.adb, par-ch12.adb, sem_ch8.adb, par-util.adb, par-ch3.adb, - par-tchk.adb, par-ch5.adb: This patch adds stylized comments to error - messages that are included in the codefix circuitry of IDE's such as - GPS. - - * sinput.ads, sinput.adb (Expr_First_Char): New function - (Expr_Last_Char): New function - -2009-05-06 Sergey Rybin <rybin@adacore.com> - - * gnat_ugn.texi: Add subsection for Exits_From_Conditional_Loops rule - Add formal definition for extra exit point metric - -2009-05-06 Pascal Obry <obry@adacore.com> - - * adaint.c: Support for setting attributes on unicode filename on - Windows. - -2009-05-06 Robert Dewar <dewar@adacore.com> - - * sem_warn.adb: Minor reformatting - -2009-05-06 Javier Miranda <miranda@adacore.com> - - * sem_prag.adb (Process_Import_Or_Interface): Imported CPP types must - not have discriminants or components with default expressions. - (Analyze_Pragma): For pragma CPP_Class check that imported types - have no discriminants and components have no default expression. - - * sem_aggr.adb (Resolve_Aggr_Expr): Add missing check on wrong use of - class-wide types in the expression of a record component association. - -2009-05-06 Sergey Rybin <rybin@adacore.com> - - * vms_data.ads: Add qualifier for gnatmetric extra exit points metric - - * gnat_ugn.texi: Add description for the new extra exit points metric - (gnatmetric section). - -2009-05-06 Robert Dewar <dewar@adacore.com> - - * s-fileio.adb: Minor comment update - - * sem_ch8.adb: Minor reformatting - - * exp_ch3.adb: Update comments. - -2009-05-06 Tristan Gingold <gingold@adacore.com> - - * init.c, s-osinte-darwin.ads: Reduce alternate stack size - -2009-05-06 Arnaud Charlet <charlet@adacore.com> - - * gcc-interface/Makefile.in: Update LIBGNAT_TARGET_PAIRS for Xenomai. - Fix missing unit for rtp-smp runtime on both ppc and x86 vxworks - - * gcc-interface/Make-lang.in: Update dependencies - -2009-05-06 Ed Schonberg <schonberg@adacore.com> - - * sem_ch12.adb (Build_Instance_Compilation_Unit_Nodes): Revert previous - change. The context clause of a generic instance declaration must be - preserved until the end of the compilation, because it may have to be - installed/removed repeatedly. - The latest change to sem.adb ensures that the context of both spec and - body of an instance is traversed before the instance itself, making - this patch redundant. - -2009-05-06 Gary Dismukes <dismukes@adacore.com> - - * sem_aggr.adb: Fix typo. - -2009-05-06 Thomas Quinot <quinot@adacore.com> - - * exp_ch3.adb (Expand_N_Object_Declaration): For a controlled object - declaration, do not adjust if the declaration is to be rewritten into - a renaming. - -2009-05-06 Ed Schonberg <schonberg@adacore.com> - - * sem_ch8.adb (Find_Type): Reject the use of a task type in its own - discriminant part. - -2009-05-06 Bob Duff <duff@adacore.com> - - * s-fileio.adb (File_IO_Clean_Up_Type): Make this type limited, since - otherwise the compiler would be allowed to optimize away the cleanup - code. - -2009-05-06 Gary Dismukes <dismukes@adacore.com> - - * gnat_ugn.texi: Fix typo. - -2009-05-06 Thomas Quinot <quinot@adacore.com> - - * g-debuti.adb: Minor reformatting - - * exp_attr.adb: Minor reformatting - -2009-05-06 Robert Dewar <dewar@adacore.com> - - * sem_aggr.adb: Minor reformatting. - - * g-socthi-vms.adb: Minor reformatting - -2009-05-06 Bob Duff <duff@adacore.com> - - * g-table.ads, g-table.adb, g-dyntab.ads, g-dyntab.adb: - (Append_All): Add Append_All to g-table and g-dyntab, similar to table. - -2009-05-06 Bob Duff <duff@adacore.com> - - * gnat_ugn.texi, gnat_rm.texi: Add missing documentation for warnings - flags. - -2009-05-06 Javier Miranda <miranda@adacore.com> - - * sem_aggr.adb (Valid_Ancestor_Type): Add support for C++ constructors. - (Resolve_Extension_Aggregate): Do not reject C++ constructors in - extension aggregates. - (Resolve_Record_Aggregate): Add support for C++ constructors in - extension aggregates. - - * exp_aggr.adb (Build_Record_Aggr_Code): Add support for C++ - constructors in extension aggregates. - -2009-05-06 Robert Dewar <dewar@adacore.com> - - * freeze.adb (Freeze_Record_Type): Improve error msg for bad size - clause. - -2009-05-06 Thomas Quinot <quinot@adacore.com> - - * g-socthi-vms.adb (C_Recvmsg, C_Sendmsg): Convert Msg to appropriate - packed type, since on OpenVMS, struct msghdr is packed. - -2009-05-06 Ed Schonberg <schonberg@adacore.com> - - * sem_ch8.adb (Analyze_Object_Renaming): If the object is a function - call returning an unconstrained composite value, create the proper - subtype for it, as is done for object dclarations with unconstrained - nominal subtypes. Perform this transformation regarless of whether - call comes from source. - -2009-05-06 Robert Dewar <dewar@adacore.com> - - * freeze.adb (Freeze_Record_Type): Implement Implicit_Packing for - records - - * gnat_rm.texi: - Add documentation for pragma Implicit_Packing applied to record - types. - -2009-05-06 Ed Schonberg <schonberg@adacore.com> - - * sem.adb (Walk_Library_Items): Place all with_clauses of an - instantiation on the spec, because late instance bodies may generate - with_clauses for the instance body but are inserted in the instance - spec. - -2009-05-06 Emmanuel Briot <briot@adacore.com> - - * prj-nmsc.adb (Locate_Directory): Remove unused parameters, and add - support for returning the directory even if it doesn't exist. This is - used for the object directory, since we are always setting it to a - non-null value, and we should set it to an absolute name rather than a - relative name for the sake of external tools that might depend on it. - (Check_Library_Attributes): When Project.Library_Dir is known, check - that the directory exists. - -2009-05-06 Ed Schonberg <schonberg@adacore.com> - - * sem_attr.adb (Check_Dereference): If the prefix of an attribute - reference is an implicit dereference, do not freeze the designated type - if within a default expression or when preanalyzing a pre/postcondtion. - -2009-05-06 Ed Schonberg <schonberg@adacore.com> - - * sem_ch8.adb (Analyze_Object_Renaming): If the object is a function - call returning an unconstrained composite value, create the proper - subtype for it, as is done for object dclarations with unconstrained - nominal subtypes - -2009-05-06 Robert Dewar <dewar@adacore.com> - - * sem_ch13.adb (Check_Constant_Address_Clause): Minor error message - improvements - - * freeze.adb: Minor reformatting - -2009-05-06 Thomas Quinot <quinot@adacore.com> - - * sem_ch3.adb (Access_Type_Declaration): An access type whose - designated type is a limited view from a limited with clause (flagged - From_With_Type) is not itself such a limited view. - -2009-05-06 Emmanuel Briot <briot@adacore.com> - - * prj-nmsc.adb: Remove unused variable. - - * clean.adb, gnatcmd.adb, makeutl.ads, prj-pars.adb, prj-pars.ads, - prj-proc.ads, prj.ads, switch-m.adb (Subdirs_Option): Moved to - makeutl.ads, since not all users of prj.ads need this. - -2009-05-06 Javier Miranda <miranda@adacore.com> - - * exp_aggr.adb (Build_Record_Aggr_Code): Add implicit call to the C++ - constructor in case of aggregates whose type is a CPP_Class type. - -2009-05-06 Robert Dewar <dewar@adacore.com> - - * sem_ch13.adb: Minor comment additions - - * osint.adb: Minor reformatting - -2009-05-06 Pascal Obry <obry@adacore.com> - - * initialize.c: On Windows, keep full pathname to expanded command - line patterns. - -2009-05-06 Ed Schonberg <schonberg@adacore.com> - - * sem_aggr.adb (Resolve_Record_Aggregate): If a defaulted component of - an aggregate with box default is of a discriminated private type, do - not build a subaggregate for it. - A proper call to the initialization procedure is generated for it. - -2009-05-06 Thomas Quinot <quinot@adacore.com> - - * rtsfind.adb, rtsfind.ads, exp_dist.adb, exp_dist.ads - (Exp_Dist.Build_TC_Call, Build_From_Any_Call, Build_To_Any_Call): - Use PolyORB strings to represent Ada.Strings.Unbounded_String value; - use standard array code for Standard.String. - (Exp_Dist): Bump PolyORB s-parint API version to 3. - (Rtsfind): New entities TA_Std_String, Unbounded_String. - -2009-05-06 Robert Dewar <dewar@adacore.com> - - * g-comlin.ads: Minor reformatting - - * xoscons.adb: Minor reformatting - -2009-05-06 Gary Dismukes <dismukes@adacore.com> - - * sem_aggr.adb (Resolve_Record_Aggregate): In step 5, get the - Underlying_Type before retrieving the type definition for gathering - components, to account for the case where the type is private. - -2009-05-06 Tristan Gingold <gingold@adacore.com> - - * g-comlin.ads: Fix minor typos (Getopt instead of Get_Opt). - -2009-05-06 Thomas Quinot <quinot@adacore.com> - - * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, - g-socthi-vxworks.ads, g-socthi-mingw.adb g-socthi-mingw.ads, - g-socthi.adb, g-stsifd-sockets.adb, g-socthi.ads, g-socket.adb - (GNAT.Sockets.Thin.C_Sendmsg, GNAT.Sockets.Thin.C_Recvmsg, - Windows versions): Fix incorrect base - address of Iovec (it's Msg_Iov, not Msg_Iov'Address). - (GNAT.Sockets.Thin.C_Sendto, GNAT.Sockets.Thin.C_Recvfrom): Use a - System.Address for the To parameter instead of a Sockaddr_In_Access, to - achieve independance from AF_INET family, and also to allow this - parameter to be retrieved from a Msghdr for the Windows case where - these routines are used to implement C_Sendmsg and C_Recvmsg. - -2009-05-06 Bob Duff <duff@adacore.com> - - * g-expect.adb, g-expect.ads: Minor reformatting - - * sdefault.ads: Minor comment fix - - * g-expect-vms.adb: Minor reformatting - - * table.ads, table.adb (Append_All): New convenience procedure for - appending a whole array. - - * comperr.adb (Compiler_Abort): Mention the -gnatd.n switch in the bug - box message. Call Osint.Dump_Source_File_Names to print out the file - list, instead of rummaging around in various data structures. - - * debug.adb: New switch -gnatd.n, to print source file names as they - are read. - - * alloc.ads: Add parameters for Osint.File_Name_Chars. - - * osint.ads, osint.adb (Dump_Source_File_Names): New procedure to print - out source file names during a "bug box". - (Include_Dir_Default_Prefix): Use memo-izing to avoid repeated new/free. - (Read_Source_File): Print out the file name, if requested via -gnatd.n. - If it's not part of the runtimes, store it for later printing by - Dump_Source_File_Names. - -2009-05-06 Javier Miranda <miranda@adacore.com> - - * gnat_rm.texi (CPP_Constructor): Avoid duplication of the - documentation and add reference to the GNAT user guide for further - details. - -2009-05-06 Javier Miranda <miranda@adacore.com> - - * gnat_ugn.texi: Complete documentation for CPP_Constructor and remove - also wrong examples that use extension aggregates. - -2009-05-06 Albert Lee <lee@adacore.com> - - * s-oscons-tmplt.c (System.OS_Constants): Do not use special definition - of Msg_Iovlen_T for VMS. - -2009-05-04 Laurent GUERBY <laurent@guerby.net> - - PR ada/38874 - * make.adb (Scan_Make_Arg): Pass --param= to compiler and linker. - -2009-04-29 Ed Schonberg <schonberg@adacore.com> - - * sem_ch8.adb (Analyze_Subprogram_Renaming): Improve error message on - box-defaulted operator in an instantiation, when the type of the - operands is not directly visible. - -2009-04-29 Gary Dismukes <dismukes@adacore.com> - - * sem_aggr.adb (Valid_Limited_Ancestor): Undo previous change. - (Resolve_Extension_Aggregate): Call Check_Parameterless_Call after the - analysis of the ancestor part. Remove prohibition against limited - interpretations of the ancestor expression in the case of Ada 2005. - Revise error message in overloaded case, adding a message to cover - the Ada 2005 case. - -2009-04-29 Thomas Quinot <quinot@adacore.com> - - * xoscons.adb: Minor reformatting - -2009-04-29 Bob Duff <duff@adacore.com> - - * sem_ch13.adb (Analyze_Attribute_Definition_Clause): Do not ignore - attribute_definition_clauses for the following attributes when the - -gnatI switch is used: External_Tag, Input, Output, Read, Storage_Pool, - Storage_Size, Write. Otherwise, we get spurious errors (for example, - missing Read attribute on remote types). - - * gnat_ugn.texi: Document the change, and add a stern warning. - -2009-04-29 Ed Schonberg <schonberg@adacore.com> - - * sem_attr.adb (Check_Local_Access): Indicate that value tracing is - disabled not just for the current scope, but for the innermost dynamic - scope as well. - -2009-04-29 Arnaud Charlet <charlet@adacore.com> - - * gcc-interface/Make-lang.in: Update dependencies - -2009-04-29 Vincent Celier <celier@adacore.com> - - * prj-part.adb: Minor comment update - -2009-04-29 Ed Schonberg <schonberg@adacore.com> - - * sem_aggr.adb (Resolve_Record_Aggregate): handle properly - box-initialized records with discriminated subcomponents that are - constrained by discriminants of enclosing components. New subsidiary - procedures Add_Discriminant_Values, Propagate_Discriminants. - -2009-04-29 Arnaud Charlet <charlet@adacore.com> - - * g-socket.adb: Code clean up. - -2009-04-29 Gary Dismukes <dismukes@adacore.com> - - * sem_aggr.adb (Valid_Limited_Ancestor): Add test for the name of a - function entity, to cover the case of a parameterless function call - that has not been resolved. - -2009-04-29 Robert Dewar <dewar@adacore.com> - - * err_vars.ads, prj-part.adb, scans.ads, exp_tss.adb: Minor - reformatting and comment updates. - -2009-04-29 Arnaud Charlet <charlet@adacore.com> - - * gnat_ugn.texi: Update some documentation about interfacing with C++ - Mention -fkeep-inline-functions. - - * gnat_ugn.texi: Minor edits - -2009-04-29 Ed Schonberg <schonberg@adacore.com> - - * sem_aggr.adb (Resolve_Record_Aggregate): When building an aggregate - for a defaulted component of an enclosing aggregate, inherit the type - from the component declaration of the enclosing type. - -2009-04-29 Albert Lee <lee@adacore.com> - - * g-socthi-vms.ads, g-socthi-vxworks.ads, s-oscons-tmplt.c, - g-socthi-mingw.ads, g-socthi.ads, g-socket.adb, g-sothco.ads - (System.OS_Constants): New type Msg_Iovlen_T which follows whether the - msg_iovlen field in struct msghdr is 32 or 64 bits wide. - Relocate the Msghdr record type from GNAT.Sockets.Thin to - GNAT.Sockets.Common, and use System.OS_Constants.Msg_Iovlen_T as the - type for the Msg_Iovlen field. - -2009-04-29 Vincent Celier <celier@adacore.com> - - * sinput-l.adb (Load_File): When preprocessing, set temporarily the - Source_File_Index_Table entries for the source, to avoid crash when - reporting an error. - - * gnatcmd.adb (Test_If_Relative_Path): Use - Makeutl.Test_If_Relative_Path. - - * makeutl.adb:(Test_If_Relative_Path): Process switches --RTS= only if - Including_RTS is True. - - * makeutl.ads (Test_If_Relative_Path): New Boolean parameter - Including_RTS defaulted to False. - - * sinput.ads, scans.ads, err_vars.ads: Initialize some variables with - a default value. - -2009-04-29 Javier Miranda <miranda@adacore.com> - - * gnat_ugn.texi: Adding documentation for non-default C++ constructors. - -2009-04-29 Javier Miranda <miranda@adacore.com> - - * sem_ch3.adb (Analyze_Object_Declaration): Disable error message - associated with dyamically tagged expressions if the expression - initializing a tagged type corresponds with a non default CPP - constructor. - (OK_For_Limited_Init): CPP constructor calls are OK for initialization - of limited type objects. - - * sem_ch5.adb (Analyze_Assignment): Improve the error message reported - when a CPP constructor is called in an assignment. Disable also the - error message associated with dyamically tagged expressions if the - exporession initializing a tagged type corresponds with a non default - CPP constructor. - - * sem_prag.adb (Analyze_Pragma): Remove code disabling the use of - non-default C++ constructors. - - * sem_util.ads, sem_util.adb (Is_CPP_Constructor_Call): New subprogram. - - * exp_tss.ads, exp_tss.adb (Base_Init_Proc): Add support for - non-default constructors. - (Init_Proc): Add support for non-default constructors. - - * exp_disp.adb (Set_Default_Constructor): Removed. - (Set_CPP_Constructors): Code based in removed Set_Default_Constructor - but extending its functionality to handle non-default constructors. - - * exp_aggr.adb (Build_Record_Aggr_Code): Add support for non-default - constructors. Minor code cleanup removing unrequired label and goto - statement. - - * exp_ch3.adb (Build_Initialization_Call): Add support for non-default - constructors. - (Build_Init_Statements): Add support for non-default constructors. - (Expand_N_Object_Declaration): Add support for non-default constructors. - (Freeze_Record_Type): Replace call to Set_Default_Constructor by call - to Set_CPP_Constructors. - - * exp_ch5.adb (Expand_N_Assignment_Statement): Add support for - non-default constructors. - Required to handle its use in build-in-place statements. - - * gnat_rm.texi (CPP_Constructor): Document new extended use of this - pragma for non-default C++ constructors and the new compiler support - that allows the use of these constructors in record components, limited - aggregates, and extended return statements. - -2009-04-29 Vincent Celier <celier@adacore.com> - - * prj-part.adb (Parse_Single_Project): Do not attempt to find a - project extending an abstract project. - -2009-04-29 Eric Botcazou <ebotcazou@adacore.com> - - * targparm.ads: Fix oversight. - -2009-04-29 Ed Schonberg <schonberg@adacore.com> - - * lib-xref.adb (Output_Overridden_Op): Follow several levels of - derivation when necessary, to find the user-subprogram that is actally - being overridden. - -2009-04-29 Robert Dewar <dewar@adacore.com> - - * sem_util.adb (May_Be_Lvalue): Fix cases involving indexed/selected - components - -2009-04-29 Ed Schonberg <schonberg@adacore.com> - - * exp_ch9.ads, exp_ch9.adb (Build_Wrapper_Spec): Use source line of - primitive operation, rather than source line of synchronized type, when - building the wrapper for a primitive operation that overrides an - operation inherited from a progenitor, to improve the error message on - duplicate declarations. - - * sem_ch3.adb (Process_Full_View): Use new signature of - Build_Wrapper_Spec. - -2009-04-29 Robert Dewar <dewar@adacore.com> - - * prj-nmsc.ads: Minor reformatting - -2009-04-29 Eric Botcazou <ebotcazou@adacore.com> - - * exp_ch4.adb (Expand_N_Conditional_Expression): Set the SLOC of the - expression on the existing parent If statement. - -2009-04-29 Robert Dewar <dewar@adacore.com> - - * prj-proc.adb, prj.ads: Minor reformatting - -2009-04-29 Eric Botcazou <ebotcazou@adacore.com> - - * exp_ch4.adb (Expand_N_Conditional_Expression): Set the SLOC of an - existing parent If statement on the newly created one. - -2009-04-29 Emmanuel Briot <briot@adacore.com> - - * gnatcmd.adb, prj-proc.adb, prj-proc.ads, make.adb, prj-part.adb, - prj-part.ads, prj.adb, prj.ads, clean.adb, prj-dect.adb, prj-dect.ads, - prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads, prj-makr.adb - (Set_In_Configuration, In_Configuration): Removed. - Replaced by an extra parameter Is_Config_File in several parameter to - avoid global variables to store the state of the parser. - -2009-04-29 Ed Schonberg <schonberg@adacore.com> - - * sinfo.ads, sinfo.adb: New attribute Next_Implicit_With, to chain - with_clauses generated for the same unit through rtsfind, and that - appear in the context of different units. - - * rtsfind.adb: New attribute First_Implicit_With, component of the - Unit_Record that stores information about a unit loaded through rtsfind. - -2009-04-29 Gary Dismukes <dismukes@adacore.com> - - * exp_ch3.adb (Stream_Operation_OK): Return True for limited interfaces - (other conditions permitting), so that abstract stream subprograms will - be declared for them. - -2009-04-29 Bob Duff <duff@adacore.com> - - * g-expect.adb (Expect_Internal): Fix check for overfull buffer. - - * g-expect.ads: Minor comment fixes. - -2009-04-29 Ed Schonberg <schonberg@adacore.com> - - * freeze.adb, lib-xref.adb (Check_Dispatching_Operation): if the - dispatching operation is a body without previous spec, update the list - of primitive operations to ensure that cross-reference information is - up-to-date. - -2009-04-29 Albert Lee <lee@adacore.com> - - * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, - g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads, - g-socthi.adb, g-socthi.ads, g-socket.adb, g-socket.ads - (GNAT.Sockets.Thin.C_Readv, - GNAT.Sockets.Thin.C_Writev): Remove unused subprograms. - (GNAT.Sockets.Thin.C_Recvmsg, - GNAT.Sockets.Thin.C_Sendmsg): New bindings to call recvmsg(2) and - sendmsg(2). - (GNAT.Sockets.Receive_Vector, GNAT.Sockets.Send_Vector): Use - C_Recvmsg/C_Sendmsg rather than Readv/C_Writev. - -2009-04-29 Ed Schonberg <schonberg@adacore.com> - - * sem_disp.adb (Check_Dispatching_Operation): if the dispatching - operation is a body without previous spec, update the list of - primitive operations to ensure that cross-reference information is - up-to-date. - - * sem_ch12.adb (Build_Instance_Compilation_Unit_Nodes): When creating a - new compilation unit node for the instance declaration, keep the - context items of the original unit on it, so that the context of the - instance body only holds the context inherited from the generic body. - -2009-04-29 Bob Duff <duff@adacore.com> - - * sem_res.adb: Minor comment fix. - -2009-04-29 Thomas Quinot <quinot@adacore.com> - - * sem_elim.adb: Minor reformatting - -2009-04-29 Ed Schonberg <schonberg@adacore.com> - - * exp_aggr.adb (Convert_To_Positional): if the current unit is a - predefined unit, allow arbitrary number of components in static - aggregate, to ensure that the same level of constant folding applies - for Ada 95 and Ada 05 versions of the file. - -2009-04-29 Ed Schonberg <schonberg@adacore.com> - - * sem_elim.adb (Check_Eliminated): Handle new improved eliminate - information: no need for full scope check. - (Eliminate_Error): Do not emit error in a generic context. - -2009-04-29 Ed Falis <falis@adacore.com> - - * adaint.c (__gnat_rmdir): return error code if VTHREADS is defined. - VxWorks 653 POS does not support rmdir. - -2009-04-29 Matteo Bordin <bordin@adacore.com> - - * s-stausa.adb, s-stausa.ads: Get_Usage_Range: changing the way - results are printed. - -2009-04-29 Arnaud Charlet <charlet@adacore.com> - - * s-taskin.adb (Initialize): Remove pragma Warnings Off and remove - unused assignment. - -2009-04-29 Thomas Quinot <quinot@adacore.com> - - * make.adb: Minor reformatting. - Minor code reorganization throughout. - -2009-04-29 Matteo Bordin <bordin@adacore.com> - - * s-stausa.ads: Changed visibility of type Task_Result: moved to - public part to give application visibility over it. - This is for future improvement and to build a public API on top of it. - Changed record components name of type Task_Result to reflect the new - way of reporting. - - * s-stausa.adb: Actual_Size_Str changed to reflect the new way of - reporting Stack usage. - - * gnat_ugn.texi: Update doc of stack usage report. - - * g-tastus.ads, s-stusta.ads, s-stusta.adb: New files. - - * Makefile.rtl: Add new run-time files. - -2009-04-29 Pascal Obry <obry@adacore.com> - - * initialize.c: Do not expand quoted arguments. - -2009-04-29 Emmanuel Briot <briot@adacore.com> - - * prj-ext.adb, prj.adb, prj.ads: Fix memory leaks. - - * clean.adb (Ultimate_Extension_Of): removed, since duplicate of - Prj.Ultimate_Extending_Project_Of - -2009-04-29 Ed Schonberg <schonberg@adacore.com> - - * exp_ch7.adb (Build_Final_List): If the designated type is a Taft - Amendment type, add the with_clause for Finalization.List_Controller - only if the current context is a package body. - -2009-04-29 Thomas Quinot <quinot@adacore.com> - - * sem_ch12.adb: Minor reformatting - - * sem_aggr.adb: Minor reformatting - - * sem_ch6.adb, sem_cat.ads: Minor reformatting - - * sem_ch10.adb, gnat1drv.adb, prj-nmsc.adb: Minor reformatting - -2009-04-29 Quentin Ochem <ochem@adacore.com> - - * prj.ads (Source_Id): Now general pointer type. - -2009-04-29 Thomas Quinot <quinot@adacore.com> - - * exp_ch7.adb, rtsfind.adb: Minor reformatting - - * sem_res.adb: Minor reformatting - -2009-04-29 Thomas Quinot <quinot@adacore.com> - - * sem_res.adb (Static_Concatenation): An N_Op_Concat with static - operands is static only if it is a predefined concatenation operator. - - * sem_util.adb: Minor reformatting - - * sem_ch12.adb (Save_References): When propagating semantic information - from generic copy back to generic template, for the case of an - identifier that has been rewritten to an explicit dereference whose - prefix is either an object name or a parameterless funcion call - denoting a global object or function, properly capture the denoted - global entity: perform the corresponding rewriting in the template, - and point the rewritten identifier to the correct global entity (not - to the associated identifier in the generic copy). - -2009-04-29 Robert Dewar <dewar@adacore.com> - - * rtsfind.adb, prj-env.adb: Minor reformatting - Minor code reorganization - -2009-04-29 Emmanuel Briot <briot@adacore.com> - - * make.adb: Fix comment - - * prj.adb (Ultimate_Extending_Project_Of): Fix handling when no project - is given as argument, as might happen in gnatmake. - -2009-04-29 Ed Schonberg <schonberg@adacore.com> - - * sem_ch3.adb (Check_Abstract_Overriding): Improve error message when - an abstract operation of a progenitor is not properly overridden by an - operation of a derived synchronized type. - -2009-04-29 Robert Dewar <dewar@adacore.com> - - * mlib-prj.adb, mlib-tgt.adb, mlib-tgt.ads, prj-nmsc.adb, - prj-proc.adb: Minor reformatting - Minor code reorganization - -2009-04-29 Bob Duff <duff@adacore.com> - - * exp_ch7.adb (Build_Final_List): For an access type that designates a - Taft Amendment type, if the access type needs finalization, make sure - the implicit with clause for List_Controller occurs on the package spec. - - * rtsfind.adb (Text_IO_Kludge): Fine tune the creation of implicit - with's created for the pseudo-children of Text_IO and friends. In - particular, avoid cycles, such as Ada.Wide_Text_IO.Integer_IO and - Ada.Text_IO.Integer_IO both with-ing each other. - - * sem.adb (Walk_Library_Items): Suppress assertion failure in certain - oddball cases when pragma Extend_System is used. - - * sem_ch12.adb (Get_Associated_Node): Prevent direct 'with' cycles in - the case where a package spec instantiates a generic whose body with's - this package, so Walk_Library_Items won't complain about cyclic with's. - -2009-04-29 Emmanuel Briot <briot@adacore.com> - - * gnatcmd.adb, prj-proc.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, - prj-pp.adb, prj-pp.ads, makeutl.adb, clean.adb, prj-nmsc.adb, - mlib-tgt.adb, mlib-tgt.ads, prj-util.adb, prj-env.adb, prj-env.ads - (Project_Id): now a real pointer to Project_Data, instead of an index - into the Projects_Table. This simplifies the API significantly, avoiding - extra lookups in this table and the need to pass the Project_Tree_Ref - parameter in several cases - -2009-04-29 Nicolas Setton <setton@adacore.com> - - * gcc-interface/Makefile.in: Produce .dSYM files for shared libs on - darwin. - -2009-04-25 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Put - back kludge. - -2009-04-24 Robert Dewar <dewar@adacore.com> - - * mlib-prj.adb, prj-env.adb, prj-nmsc.adb, prj-proc.adb, make.adb, - clean.adb: Minor reformatting. - Minor code reorganization and message improvement. - -2009-04-24 Emmanuel Briot <briot@adacore.com> - - * prj-proc.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-nmsc.ads - (Alternate_Languages): now implemented as a malloc-ed list rather - than through a table. - -2009-04-24 Thomas Quinot <quinot@adacore.com> - - * sem_res.adb (Static_Concatenation): Simplify predicate to make it - accurately handle cases such as "lit" & "lit" and - "lit" & static_string_constant - -2009-04-24 Emmanuel Briot <briot@adacore.com> - - * prj-proc.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, clean.adb, - prj-nmsc.adb, prj-env.adb (Project_List_Table, Project_Element): - removed. Lists of projects are now implemented via standard malloc - rather than through the table. - -2009-04-24 Thomas Quinot <quinot@adacore.com> - - * sem_ch12.adb: Minor reformatting - - * g-trasym.adb: Minor reformatting - - * exp_ch6.adb: Minor reformatting - -2009-04-24 Robert Dewar <dewar@adacore.com> - - * layout.adb (Layout_Type): For packed array type, copy unset - size/alignment fields from the referenced Packed_Array_Type. - -2009-04-24 Bob Duff <duff@adacore.com> - - * lib-load.adb (Make_Instance_Unit): Revert previous change, no - longer needed after sem_ch12 changes. - - * sem.adb (Walk_Library_Items): Include with's in some debugging - printouts. - -2009-04-24 Emmanuel Briot <briot@adacore.com> - - * prj.ads, prj-nmsc.adb (Unit_Project): removed, since in fact we were - only ever using the Project field. - -2009-04-24 Ed Schonberg <schonberg@adacore.com> - - * sem_ch12.adb (Build_Instance_Compilation_Unit_Nodes): Do not set - Body_Required on the generated compilation node. The new node is linked - to its body, but both share the same file, so we do not set this flag - on the new unit so as not to create a spurious dependency on a - non-existent body in the ali file for the instance. - -2009-04-24 Robert Dewar <dewar@adacore.com> - - * make.adb: Minor reformatting - -2009-04-24 Emmanuel Briot <briot@adacore.com> - - * prj.adb, prj.ads, prj-nmsc.adb (Check_File, Record_Ada_Source, - Add_Source): merge some code between those. In particular change where - file normalization is done to avoid a few extra calls to - Canonicalize_File_Name. This also removes the need for passing - Current_Dir in a number of subprograms. - -2009-04-24 Bob Duff <duff@adacore.com> - - * lib-load.adb (Make_Instance_Unit): In the case where In_Main is - False, assign the correct unit to the Cunit field of the new table - entry. We want the spec unit, not the body unit. - - * rtsfind.adb (Make_Unit_Name, Maybe_Add_With): Simplify calling - interface for these. - (Maybe_Add_With): Check whether we're trying to a with on the current - unit, and avoid creating such directly self-referential with clauses. - (Text_IO_Kludge): Add implicit with's for the generic pseudo-children of - [[Wide_]Wide_]Text_IO. These are needed for Walk_Library_Items, - and matches existing comments in the spec. - - * sem.adb (Walk_Library_Items): Add various special cases to make the - assertions pass. - - * sem_ch12.adb (Build_Instance_Compilation_Unit_Nodes): Use Body_Cunit - instead of Parent (N), for uniformity. - -2009-04-24 Robert Dewar <dewar@adacore.com> - - * errout.ads: Minor reformatting - -2009-04-24 Emmanuel Briot <briot@adacore.com> - - * gnat_ugn.texi (Library Projects): add documentation on gnatmake's - behavior when the project includes sources from multiple languages - -2009-04-24 Vincent Celier <celier@adacore.com> - - * prj.adb (Has_Foreign_Sources): Returns True in Ada_Only mode if there - is a language other than Ada declared. - - * makeutl.adb (Linker_Options_Switches): Call For_All_Projects with - Imported_First set to True. - -2009-04-24 Ed Schonberg <schonberg@adacore.com> - - * sem_res.adb: additional optimization to inhibit creation of - redundant transient scopes. - -2009-04-24 Bob Duff <duff@adacore.com> - - * rtsfind.ads: Minor comment fix - -2009-04-24 Emmanuel Briot <briot@adacore.com> - - * prj-proc.adb, prj-nmsc.adb (Find_Ada_Sources, - Get_Path_Name_And_Record_Ada_Sources): merged, since these were - basically doing the same work (for explicit or implicit sources). - (Find_Explicit_Sources): renamed to Find_Sources to better reflect its - role. Rewritten to share some code (testing that all explicit sources - have been found) between ada_only and multi_language modes. - -2009-04-24 Jerome Lambourg <lambourg@adacore.com> - - * sem_prag.adb (Check_Form_Of_Interface_Name): Allow space in Ext_Name - for CLI imported types. - (Analyze_Pragma): Allow CIL or Java imported functions returning - access-to-subprogram types. - -2009-04-24 Emmanuel Briot <briot@adacore.com> - - * make.adb, prj.adb, prj.ads, makeutl.adb, makeutl.ads: - (Project_Data.Dir_Path): field removed, since it can be computed - directly from .Directory, and is needed only once when processing the - project is buildgpr.adb or make.adb - -2009-04-24 Robert Dewar <dewar@adacore.com> - - * prj-env.adb, prj-proc.adb, prj.adb, prj.ads, - rtsfind.adb: Minor reformatting. - Minor code reorganization - -2009-04-24 Arnaud Charlet <charlet@adacore.com> - - * mlib-prj.adb: Use friendlier english identifier. - - * gnatcmd.adb, make.adb: Use better english identifiers. - -2009-04-24 Robert Dewar <dewar@adacore.com> - - * clean.adb: Minor reformatting - -2009-04-24 Robert Dewar <dewar@adacore.com> - - * einfo.adb (OK_To_Rename): New flag - - * einfo.ads (OK_To_Rename): New flag - - * exp_ch3.adb (Expand_N_Object_Declaration): Rewrite as renames if - OK_To_Rename set. - - * exp_ch4.adb (Expand_Concatenate): Mark temp variable OK_To_Rename - - * sem_ch7.adb (Uninstall_Declarations): Allow for renames from - OK_To_Rename. - -2009-04-24 Emmanuel Briot <briot@adacore.com> - - * prj-proc.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, makeutl.adb, - clean.adb, prj-nmsc.adb, prj-env.adb, prj-env.ads (Project_Data.Seen): - field removed. This is not a property of the - project, just a boolean used to traverse the project tree, and storing - it in the structure prevents doing multiple traversal in parallel. - (Project_Data.Checked): also removed, since it was playing the same role - as Seen when we had two nested loops, and this is no longer necessary - (For_All_Imported_Projects): removed, since in fact there was already - the equivalent in For_Every_Project_Imported. The latter was rewritten - to use a local hash table instead of Project_Data.Seen - Various loops were rewritten to use For_Every_Project_Imported, thus - removing the need for Project_Data.Seen. This avoids a lot of code - duplication - -2009-04-24 Ed Schonberg <schonberg@adacore.com> - - * sem_res.adb (Resolve_Actuals): Do not create blocks around code - statements, even though the actual of the call is a concatenation, - because the argument is static, and we want to preserve warning - messages about sequences of code statements that are not marked - volatile. - - * sem_warn.adb: remove obsolete comment about warning being obsolete - - * s-tasren.adb (Task_Do_Or_Queue): If a timed entry call is being - requeued and the delay has expired while within the accept statement - that executes the requeue, do not perform the requeue and indicate that - the timed call has been aborted. - -2009-04-24 Emmanuel Briot <briot@adacore.com> - - * mlib-prj.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb - (Has_Ada_Sources, Has_Foreign_Sources): new subprograms - (Project_Data.Ada_Sources_Present, Foreign_Sources_Present): removed, - since they can be computed from the above. - -2009-04-24 Vincent Celier <celier@adacore.com> - - * gnatcmd.adb: Call Prj.Env.Initialize with the Project_Tree - - * prj-env.adb: Move all global variables to the private part of the - project tree data. - Access these new components instead of the global variables no longer - in existence. - (Add_To_Path): New Project_Tree_Ref parameter, to access the new - components that were previously global variables. - - * prj-env.ads (Initialize): New Project_Tree_Ref parameter - (Set_Mapping_File_Initial_State_To_Empty): New Project_Tree_Ref - parameter. - - * prj-nmsc.adb (Compute_Unit_Name): New Project_Tree_Ref parameter to - be able to call Set_Mapping_File_Initial_State_To_Empty with it. - - * prj.adb (Initialize): Do not call Prj.Env.Initialize - (Reset): Do not call Prj.Env.Initialize. Instead, initialize the new - components in the private part of the project tree data. - - * prj.ads (Private_Project_Tree_Data): new components moved from - Prj.Env: Current_Source_Path_File, Current_Object_Path_File, - Ada_Path_Buffer, Ada_Path_Length, Ada_Prj_Include_File_Set, - Ada_Prj_Objects_File_Set, Fill_Mapping_File. - -2009-04-24 Vincent Celier <celier@adacore.com> - - * opt.ads (Unchecked_Shared_Lib_Imports): New Boolean flag. - - * prj-nmsc.adb (Check_Library): No error for imports by shared library - projects, when --unchecked-shared-lib-imports is used. - -2009-04-24 Robert Dewar <dewar@adacore.com> - - * sem_ch7.adb: Minor reformatting - -2009-04-24 Tristan Gingold <gingold@adacore.com> - - * s-osinte-darwin.adb, s-osinte-darwin.ads: lwp_self now returns the - mach thread id. - -2009-04-24 Emmanuel Briot <briot@adacore.com> - - * prj-env.adb, prj-env.ads (Body_Path_Name_Of, Spec_Path_Name_Of, - Path_Name_Of_Library_Unit_Body): rEmove unused subprograms. - (For_All_Imported_Projects): new procedure - (For_All_Source_Dirs, For_All_Object_Dirs): Rewritten based on the - above rather than duplicating code. - -2009-04-24 Emmanuel Briot <briot@adacore.com> - - * prj-proc.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb - (Source_Id, Source_Data): use a real list to store sources rather than - using an external table to store the elements. This makes code more - efficient and more readable. - -2009-04-24 Emmanuel Briot <briot@adacore.com> - - * prj-proc.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb - (Source_Iterator): new type. - This removes the need for having the sources on three different - lists at the project tree, project and language level. They are now - on a single list. - -2009-04-24 Emmanuel Briot <briot@adacore.com> - - * gnatcmd.adb, prj.adb, prj.ads: Remove unused entities - -2009-04-24 Ed Schonberg <schonberg@adacore.com> - - * sem_warn.adb: Add comment on obsolete warning - -2009-04-24 Arnaud Charlet <charlet@adacore.com> - - * s-tassta.adb (Create_Task): Fix violation of locking rule. - -2009-04-24 Emmanuel Briot <briot@adacore.com> - - * prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb (Language_Index): renamed - to Language_Ptr to better reflect its new implementation. - (Project_Data.First_Languages_Processing): renamed to Languages now - that the field with that name is no longer used - (Project_Data.Languages): removed, no longer used, and duplicates - information already available through First_Language_Processing. - (Prj.Language_Index): now an actual pointer, instead of an index into - a table. This makes the list somewhat more obvious, but more importantly - removes the need to pass a pointer to the project_tree_data in a few - places, and makes accessing the attributes of a languages more - efficient. - -2009-04-24 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> - Thomas Quinot <quinot@adacore.com> - - * fe.h (Set_Identifier_Casing): Add const to second parameter. - * gcc-interface/misc.c (internal_error_function): Make copy of return - from pp_formatted_text before assigning BUFFER to it. - (gnat_init): Likewise for main_input_filename and gnat_argv. - (gnat_printable_name): Remove cast from call to Set_Identifier_Casing. - -2009-04-24 Eric Botcazou <ebotcazou@adacore.com> - - * ttypes.ads (Target_Double_Float_Alignment): New variable. - (Target_Double_Scalar_Alignment): Likewise. - * get_targ.ads (Get_Strict_Alignment): Adjust external name. - (Get_Double_Float_Alignment): New imported function. - (Get_Double_Scalar_Alignment): Likewise. - * layout.adb (Set_Elem_Alignment): Take into account specific caps for - the alignment of "double" floating-point types and "double" or larger - scalar types, as parameterized by Target_Double_Float_Alignment and - Target_Double_Scalar_Alignment respectively. - * gcc-interface/gigi.h (double_float_alignment): Declare. - (double_scalar_alignment): Likewise. - (is_double_float_or_array): Likewise. - (is_double_scalar_or_array): Likewise. - (get_target_double_float_alignment): Likewise. - (get_target_double_scalar_alignment): Likewise. - * gcc-interface/targtyps.c (get_strict_alignment): Rename into... - (get_target_strict_alignment): ...this. - (get_target_double_float_alignment): New function. - (get_target_double_scalar_alignment): Likewise. - * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>: - Test the presence of an alignment clause for under-aligned integer - types. Take into account specific caps for the alignment of "double" - floating-point types and "double" or larger scalar types, as - parameterized by Target_Double_Float_Alignment and - Target_Double_Scalar_Alignment respectively. - (validate_alignment): Likewise. - * gcc-interface/trans.c (Attribute_to_gnu) <Attr_Alignment>: Likewise. - (gigi): Initialize double_float_alignment and double_scalar_alignment. - * gcc-interface/utils.c (double_float_alignment): New global variable. - (double_scalar_alignment): Likewise. - (is_double_float_or_array): New predicate. - (is_double_scalar_or_array): Likewise. - -2009-04-24 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/utils2.c (build_cond_expr): Move SAVE_EXPR ahead of - the conditional expression only if it is common to both arms. - -2009-04-24 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/gigi.h (build_call_alloc_dealloc): Update comment. - * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Pass correct - arguments to build_allocator. - * gcc-interface/utils2.c (build_call_alloc_dealloc): Update comment. - Remove code handling special allocator and assert its uselessness. - -2009-04-24 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: If an - alignment is specified, do not promote that of the component type - beyond it. - <E_Array_Subtype>: Likewise. - -2009-04-23 Eric Botcazou <ebotcazou@adacore.com> - - * einfo.ads (Is_True_Constant): Lift restriction on atomic objects. - * sinfo.ads (Object Declaration): Likewise. - (Assignment Statement): Likewise. - * freeze.adb (Expand_Atomic_Aggregate): Remove useless test. - Do not force Is_True_Constant to false on the temporary. - (Freeze_Entity): Do not force Is_True_Constant to false on names on - the RHS of object declarations. - * gcc-interface/trans.c (lvalue_required_p) <N_Object_Declaration>: - New case. Return 1 if the object is atomic. - <N_Assignment_Statement>: Likewise. - -2009-04-23 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Modular_Integer_Subtype> - For packed array types, make the original array type a parallel type - for the modular type and its JM wrapper if the type is bit-packed. - <E_Array_Subtype>: Likewise. Do not generate the special XA parallel - record type for packed array types. Remove kludge. - -2009-04-23 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/gigi.h (create_index_type): Adjust head comment. - * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>: - Use front-end predicates to compute signedness and precision. - <E_String_Literal_Subtype>: Fold range type. - Make sure to set longest_float_type_node to a scalar type. - (elaborate_entity): Use consistent Constraint_Error spelling. - (substitute_in_type) <INTEGER_TYPE>: Always copy the type. - * gcc-interface/misc.c (gnat_print_type) <INTEGER_TYPE>: Use brief - output for the modulus, if any. - <ENUMERAL_TYPE>: Likewise for the RM size. - * gcc-interface/trans.c (gnat_to_gnu): Use consistent Constraint_Error - spelling. - * gcc-interface/utils.c (finish_record_type): Really test the alignment - of BLKmode bit-fields to compute their addressability. - (create_index_type): Adjust comments. - (create_param_decl): Create the biased subtype manually. - * gcc-interface/utils2.c (build_component_ref): Use consistent - Constraint_Error spelling. - -2009-04-23 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/cuintp.c: Clean up include directives. - * gcc-interface/targtyps.c: Likewise. - * gcc-interface/decl.c: Likewise. - * gcc-interface/misc.c: Likewise. - * gcc-interface/trans.c: Likewise. - * gcc-interface/utils.c: Likewise. - * gcc-interface/utils2.c: Likewise. - * gcc-interface/Make-lang.in: Adjust dependencies accordingly. - -2009-04-23 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/ada-tree.h (union lang_tree_node): Use standard idiom. - (SET_TYPE_LANG_SPECIFIC): Likewise. Fix formatting. - (SET_DECL_LANG_SPECIFIC): Likewise. - Reorder macros. - * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>: - Update comment about use of build_range_type. - <E_Array_Type, E_Array_Subtype>: Use consistent naming convention. - <E_Array_Subtype>: Rework comments about TYPE_ACTUAL_BOUNDS and add - check for other cases of overloading. - * gcc-interface/trans.c (gigi): Use size_int in lieu of build_int_cst. - * gcc-interface/utils2.c (build_call_raise): Fix off-by-one error. - Use size_int in lieu of build_int_cst. - (build_call_alloc_dealloc): Use build_index_2_type in lieu of - build_range_type. - -2009-04-22 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/utils2.c (build_binary_op) <PLUS_EXPR>: If operation's - type is an enumeral or a boolean type, change it to an integer type - with the same mode and signedness. - -2009-04-22 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/utils.c (create_var_decl_1): Do not emit debug info - for an external constant whose initializer is not absolute. - -2009-04-22 Taras Glek <tglek@mozilla.com> - - * gcc-interface/ada-tree.h: Update GTY annotations to new syntax. - * gcc-interface/trans.c: Likewise. - * gcc-interface/utils.c: Likewise. - -2009-04-22 Ed Schonberg <schonberg@adacore.com> - - * sem_res.adb: Create block around procedure call when actual is a - concatenation. - -2009-04-22 Thomas Quinot <quinot@adacore.com> - - * s-soflin.ads: Fix typos - -2009-04-22 Vincent Celier <celier@adacore.com> - - * prj-env.adb: Minor comment change - - * prj-nmsc.adb (Check_Common): Add guard to avoid calling - Get_Name_String with No_File. - - * tempdir.adb (Create_Temp_File): Output diagnostic when temp file - cannot be created even when not in verbose mode. - -2009-04-22 Emmanuel Briot <briot@adacore.com> - - * make.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj.adb, - prj.ads (Create_Mapping_File): merge the two versions for Ada_Only and - Multi_Language modes, to avoid code duplication. - (Project_Data.Include_Language): Removed. - -2009-04-22 Vincent Celier <celier@adacore.com> - - * tempdir.adb (Create_Temp_File): Add a diagnostic in verbose mode when - the temporary file cannot be created, indicating the directory when the - creation was attempted. - -2009-04-22 Emmanuel Briot <briot@adacore.com> - - * prj-env.adb, prj-env.ads (Create_Mapping_File): we need to compare - the language names, not their indices. - -2009-04-22 Emmanuel Briot <briot@adacore.com> - - * prj.ads, prj-nmsc.adb, prj-env.adb, prj-env.ads - (Source_Data.Language_Name): Field removed. - -2009-04-22 Emmanuel Briot <briot@adacore.com> - - * prj.adb, prj.ads, prj-nmsc.adb (Project_Data.Unit_Based_Language_*): - Two fields removed. - -2009-04-22 Emmanuel Briot <briot@adacore.com> - - * prj-nmsc.adb (Check_Naming_Ada_Only): Properly initialize the - separate_suffix to the same value as the body_suffix. - -2009-04-22 Robert Dewar <dewar@adacore.com> - - * prj.adb: Minor code reorganization - Code clean up. - - * prj-proc.adb: Minor code reorganization, clean up. - - * prj-nmsc.adb: Minor reformatting - Minor code reorganization - - * gnat_ugn.texi: Add to doc on strict aliasing - -2009-04-22 Pascal Obry <obry@adacore.com> - - * s-osinte-mingw.ads: Rename Reserved field in CRITICAL_SECTION to - SpinCount. - - * s-tasini.adb: Minor reformatting. - - * s-tassta.adb: Minor reformatting. - -2009-04-22 Emmanuel Briot <briot@adacore.com> - - * prj-proc.adb, prj-nmsc.adb (Check_Naming_Schemes): split into several - smaller subprograms. - Renamed to Check_File_Naming_Schemes to avoid confusion with the - other Check_Naming_Schemes functions that plays a totally different - role. - (Check_Unit_Based_Lang, Check_File_Based_Lang): new subprograms, - extracted from the above. These were partially rewritten to avoid - unnecessary code and temporary variables. - (Compute_Unit_Name): new subprogram, merge of Check_Unit_Based_Lang - and Get_Unit (which for now still exist since they contain mode-specific - code) - -2009-04-22 Emmanuel Briot <briot@adacore.com> - - * prj.ads, prj.adb, prj-nmsc.adb, prj-proc.adb (Recursive_Process): - Remove duplicated code. - (Canonical_Case_File_Name): new subprogram - (Check_And_Normalize_Unit_Names): new subprogram - (Write_Attr): new subprogram - Better sharing of code - (Check_Naming_Ada_Only, Check_Naming_Multi_Lang): new subprogram, to - split Check_Naming and help find duplicated code - (Check_Common): new subprogram, sharing code between ada_only and - multi_language mode. - (Naming_Data.Dot_Repl_Loc): field removed - -2009-04-22 Emmanuel Briot <briot@adacore.com> - - * prj-proc.adb, prj-nmsc.adb (Load_Naming_Exceptions): New subprogram. - Minor refactoring to reduce the size of - Process_Sources_In_Multi_Language_Mode. - Avoid extra copied of Source_Data, which we found in the past could be - quite slow. - (Mark_Excluded_Sources): new subprogram. - (Remove_Locally_Removed_Files_From_Units): merged into the above - Refactors Process_Sources_In_Multi_Language_Mode to reduce its size, - and allow better sharing of code between multi_lang and ada_only modes - (Project_Extends): removed, since exact duplicate of Prj.Is_Extending - -2009-04-22 Emmanuel Briot <briot@adacore.com> - - * prj-proc.adb, prj.adb, prj.ads (Project_Data.First_Referred_By): - Removed, since unused. - -2009-04-22 Vincent Celier <celier@adacore.com> - - * prj-attr.adb: New single project level attribute - Separate_Run_Path_Options. - - * prj-nmsc.adb (Process_Project_Level_Simple_Attributes): Process - attribute Seperate_Run_Path_Options. - - * prj.ads: (Project_Configuration): New Boolean component - Separate_Run_Path_Options, defaulted to False. - - * snames.ads-tmpl: New standard name Seperate_Run_Path_Options - -2009-04-22 Robert Dewar <dewar@adacore.com> - - * sem_type.adb: Minor reformatting - - * mlib.adb: Minor reformatting - - * sem_aggr.adb: Minor reformatting. Defend against junk aggregate from - syntax error. - -2009-04-22 Nicolas Setton <setton@adacore.com> - - * link.c: Add flag __gnat_separate_run_path_options. - - * mlib.adb (Separate_Run_Path_Options): New subprogram. - - * mlib.ads (Separate_Run_Path_Options): Declare. - - * gnatcmd.adb (Process_Link): Add support for emitting one "rpath" - switch per directory, rather than one "rpath" switch listing all - directories. - - * gnatlink.adb (Process_Binder_File): Likewise. - - * make.adb (Gnatmake): Likewise. - -2009-04-22 Hristian Kirtchev <kirtchev@adacore.com> - - * exp_ch6.adb (Make_Build_In_Place_Call_In_Assignment): Code cleanup. - Add a call to Move_Final_List when the target of the assignment is a - return object that needs finalization and the expression is a - controlled build-in-place function. - -2009-04-22 Vincent Celier <celier@adacore.com> - - * make.adb (Gnatmake, Bind_Step): call Set_Ada_Paths with - Including_Libraries set to True. - -2009-04-22 Ed Schonberg <schonberg@adacore.com> - - * lib-load.ads, lib-load.adb (Make_Child_Decl_Unit): New subprogram, to - create a unit table entry for the subprogram declaration created for a - child suprogram body that has no separate specification. - - * sem_ch10.adb (Analyze_Compilation_Unit): For a child unit that is a - subprogram body, call Make_Child_Decl_Unit. - - * lib.adb (Get_Cunit_Unit_Number): Verify that an entry not yet in the - table can only be the created specification of a child subprogram body - that is the main unit, which has not been entered in the table yet. - - * errout.adb (Output_Messages): Ignore created specification of a - child subprogram body to prevent repeated listing of error messages. - - * gnat1drv.adb (gnat1drv): The generated specification for a child - subprogram body does not generate code. - -2009-04-22 Arnaud Charlet <charlet@adacore.com> - - * s-bitops.adb, s-bitops.ads (Raise_Error): Do not use Ada 05 syntax, - since this unit is now part of bootstrap units, so must use Ada 95 - syntax only. - -2009-04-22 Thomas Quinot <quinot@adacore.com> - - * a-tasatt.adb: Minor reformatting - -2009-04-22 Bob Duff <duff@adacore.com> - - * s-stalib.ads: Remove "with System;" since we're inside System, so - it's unnecessary. - -2009-04-22 Vincent Celier <celier@adacore.com> - - * prj-nmsc.adb (Add_Source): Always put the dependency file name in - the source record, as there may be a dependency file even if no object - file is created. - -2009-04-22 Robert Dewar <dewar@adacore.com> - - * lib-load.adb: Minor reformatting - - * lib-load.ads: Minor reformatting - - * sinfo.ads: Minor reformatting - -2009-04-22 Bob Duff <duff@adacore.com> - - * exp_pakd.adb: Minor comment fixes. - - * sinfo.ads, par-load.adb, sem_ch10.adb, lib-load.ads, lib-load.adb - sem_ch12.adb: Change the meaning of the Library_Unit attribute to - include units containing instantiations, as well as units that are - generic instantiations. - - * sem.adb: Include dependents and corresponding specs/bodies in the - unit walk. - - * gcc-interface/Make-lang.in: - sem now depends on s-bitops, because of the packed array of Booleans. - -2009-04-22 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/ada-tree.def: Fix formatting nits. - (REGION_STMT): Delete. - (HANDLER_STMT): Likewise. - * gcc-interface/ada-tree.h: Fix formatting nits. - (IS_STMT): Delete. - (REGION_STMT_BODY): Likewise. - (REGION_STMT_HANDLE): Likewise. - (REGION_STMT_BLOCK): Likewise. - (HANDLER_STMT_ARG): Likewise. - (HANDLER_STMT_LIST): Likewise. - (HANDLER_STMT_BLOCK): Likewise. - * gcc-interface/gigi.h (fp_prec_to_size): Update comment. - (fp_size_to_prec): Likewise. - (largest_move_alignment): Delete. - (gnat_compute_largest_alignment): Likewise. - Fix minor nits. - * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>: - Remove redundant code. - <E_Array_Type>: Remove redundant assert. - <E_Array_Subtype>: Exit early from index computation in pathological - cases. - Rewrite conditional assignment. - (make_type_from_size): Likewise. - * gcc-interface/misc.c (largest_move_alignment): Delete. - (gnat_finish_incomplete_decl): Likewise. - (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Likewise. - (asm_out_file): Likewise - (gnat_print_type) <INTEGER_TYPE>: Fall through to ENUMERAL_TYPE case. - (gnat_dwarf_name): Move around. - * gcc-interface/trans.c (Attribute_to_gnu): Fix minor nits. - (gigi): Remove call to gnat_compute_largest_alignment. - * utils.c (create_field_decl): Rewrite conditional assignment. - Fix minor nits. - -2009-04-22 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (gnat_to_gnu_entity): Compute is_type predicate - on entry. Defer common processing for types. Reorder and clean up. - Compute the equivalent GNAT node and the default size for types only. - <E_Modular_Integer_Type>: Directly use Esize for the type's precision. - <E_Access_Type>: For an unconstrained designated type, do not pretend - that a dummy type is always made. - <all> Fix nits in comments. - (validate_size): Fix formatting nits and comments. - (set_rm_size): Likewise. - * gcc-interface/utils.c (create_param_decl): Replace bogus argument - passed to TARGET_PROMOTE_PROTOTYPES hook. - -2009-04-22 Eric Botcazou <ebotcazou@adacore.com> - - * fe.h (Get_External_Name): Declare. - * gcc-interface/gigi.h (concat_id_with_name): Rename to... - (concat_name): ...this. - * gcc-interface/decl.c (gnat_to_gnu_entity): Rename gnu_entity_id to - gnu_entity_name and adjust for above renaming. - <E_Access_Type>: Use create_concat_name to get the name of the various - types associated with unconstrained array types. - (make_aligning_type): Adjust for above renaming. - (maybe_pad_type): Likewise. - (components_to_record): Likewise. Use get_identifier_with_length for - the encoding of the variant. - (get_entity_name): Use get_identifier_with_length. - (create_concat_name): Likewise. Use Get_External_Name if no suffix. - Do not fiddle with Name_Buffer. - (concat_id_with_name): Rename to... - (concat_name): ...this. Use get_identifier_with_length. Do not fiddle - with Name_Buffer. - * gcc-interface/utils.c (rest_of_record_type_compilation): Adjust for - above renaming. - -2009-04-21 Joseph Myers <joseph@codesourcery.com> - - * ChangeLog, ChangeLog.ptr, ChangeLog.tree-ssa: Add copyright and - license notices. - -2009-04-21 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/trans.c (gnat_to_gnu): Do not overwrite location info. - -2009-04-21 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/ada-tree.h (TYPE_RM_SIZE_NUM): Delete. - (TYPE_RM_SIZE): Access TYPE_LANG_SLOT_1 directly for integral types. - * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Modular_Integer_Type>: - Remove useless support code for packed array types and assert its - uselessness. - <E_Signed_Integer_Subtype>: Reuse entity identifier in more places and - adjust for TYPE_RM_SIZE change. - <all> Fix nits in comments. Use Original_Array_Type accessor instead - of Associated_Node_For_Itype accessor for packed array types. - (make_packable_type): Likewise. - (maybe_pad_type): Likewise. - (set_rm_size): Likewise. Rework conditional statement. Adjust for - TYPE_RM_SIZE change. - (make_type_from_size): Adjust for TYPE_RM_SIZE change. - (rm_size): Fix nits in comments. Rework conditional statements. - * gcc-interface/misc.c (gnat_print_type): Adjust for TYPE_RM_SIZE - change. - * gcc-interface/trans.c (Attribute_to_gnu): Fix nits in comments. - * gcc-interface/utils.c (gnat_init_decl_processing): Use more - appropriate function to initialize the size_type_node. Adjust for - TYPE_RM_SIZE change. - -2009-04-21 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (gnat_to_gnu_entity): Do not set force_global - for imported subprograms. - -2009-04-21 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Do not make - constant objects covered by 13.3(19) volatile. - -2009-04-21 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/utils.c (create_type_decl): Do not pass declarations - of dummy fat pointer types to the debug back-end. - -2009-04-20 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (gnat_to_gnu_entity): Rewrite Esize calculation. - <E_Signed_Integer_Subtype>: Set the RM size on the integer type - before wrapping it up in the record type. Do not overwrite the - Ada size of the record type with the Esize. - -2009-04-20 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/trans.c (unchecked_conversion_lhs_nop): New predicate. - (gnat_to_gnu) <N_Unchecked_Type_Conversion>: Return the expression - if the conversion is on the LHS of an assignment and a no-op. - <all> Do not convert the result to the result type if the Parent - node is such a conversion. - -2009-04-20 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/ada-tree.h (DECL_HAS_REP_P): Delete. - * gcc-interface/decl.c (gnat_to_gnu_entity): Add support for extension - of types with unknown discriminants. - (substitute_in_type): Rewrite and restrict to formal substitutions. - * gcc-interface/utils.c (create_field_decl): Do not set DECL_HAS_REP_P. - (update_pointer_to): Update comment. - -2009-04-20 Ed Schonberg <schonberg@adacore.com> - - * sem_ch8.adb (Use_One_Package): In an instance, if two - potentially_use_visible and non-overloadable homonyms are available - from the actuals of distinct formal packages, retain the current one, - which was visible in the generic, to prevent spurious visibility - errors. - (End_Use_Package): Restore use_visibility when needed. - -2009-04-20 Sergey Rybin <rybin@adacore.com> - - * gnat_ugn.texi, vms_data.ads: Update doc. - -2009-04-20 Arnaud Charlet <charlet@adacore.com> - - * gcc-interface/Make-lang.in: Update dependencies - - * gcc-interface/Makefile.in: Link run-time against winsock2 lib under - Windows. - -2009-04-20 Robert Dewar <dewar@adacore.com> - - * checks.ads: Fix documentation of range check handling - -2009-04-20 Ed Schonberg <schonberg@adacore.com> - - * sem_ch8.adb (Use_One_Type): Use proper entity on warning message for - a redundant use_type clause. - -2009-04-20 Robert Dewar <dewar@adacore.com> - - * sem_attr.adb (Eval_Attribute, case Length): Catch more cases where - this attribute can be evaluated at compile time. - (Eval_Attribute, case Range_Length): Same improvement - - * sem_eval.ads, sem_eval.adb (Compile_Time_Compare): New procedure - -2009-04-20 Ed Schonberg <schonberg@adacore.com> - - * sem_ch6.adb (Analye_Subprogram_Declaration): Code reorganization, - for better handling of null procedures. - (Check_Overriding_Indicator): Do not emit a warning on a missing - overriding indicator on an operator when the type of which the operator - is a primitive is private. - -2009-04-20 Bob Duff <duff@adacore.com> - - * sem.adb, gnat1drv.adb, debug.adb: Use the -gnatd.W switch to control - debugging output. - -2009-04-20 Robert Dewar <dewar@adacore.com> - - * sem_attr.adb: Minor reformatting - - * gnatcmd.adb: Minor reformatting - -2009-04-20 Ed Schonberg <schonberg@adacore.com> - - * sem_ch4.adb (Analyze_User_Defined_Binary_Op): If left operand is - overloaded and one interpretation matches the context, label the - operand with the type of first formal. - -2009-04-20 Bob Duff <duff@adacore.com> - - * debug.ads: Minor comment fix. - - * debug.adb: Minor comment fixes. - -2009-04-20 Javier Miranda <miranda@adacore.com> - - * rtsfind.ads (RE_Null_Id): New entity of package Ada.Exceptions - - * exp_ch6.adb (Expand_Inlined_Call): Undo previous patch. - - * exp_ch11.adb (Expand_N_Raise_Statement): When the raise stmt - is expanded into a call to Raise_Exception, avoid passing the - exception-name'identity in runtimes in which this argument - is not used. - -2009-04-20 Jerome Lambourg <lambourg@adacore.com> - - * impunit.adb: Add i-cil and i-cilobj packages, now needed by the - generated bindings for cil. - -2009-04-20 Ed Schonberg <schonberg@adacore.com> - - * sem_aggr.adb (Resolve_Record_Aggregate): If the type has unknown - discriminants, collect components from the Underlying_Record_View, - which will be used in the expansion of the aggregate into assignments. - - * sem_ch3.adb: Do not label derived type with unknown discriminants as - having a private declaration. - -2009-04-20 Ed Schonberg <schonberg@adacore.com> - - * exp_util.adb (Expand_Subtype_From_Expr): use the - underlying_record_view when available, to create the proper constrained - subtype for an object of a derived type with unknown discriminants. - -2009-04-20 Javier Miranda <miranda@adacore.com> - - * exp_ch6.adb (Expand_Inlined_Call): Avoid generation of temporaries for - formals that have pragma unreferenced. - -2009-04-20 Pascal Obry <obry@adacore.com> - - * a-direct.adb (To_Lower_If_Case_Insensitive): Removed. - Remove all calls to To_Lower_If_Case_Insensitive to preserve - the pathname original casing. - -2009-04-20 Robert Dewar <dewar@adacore.com> - - * g-trasym.adb: Minor reformatting - - * s-os_lib.adb: Minor reformatting - - * sem.adb: Minor reformatting - Minor code reorganization - - * sem_ch3.adb: Minor reformatting - - * sem_ch4.adb: Minor reformatting - - * sem_ch8.adb: Minor reformatting - - * sem_type.adb: Minor reformatting - -2009-04-20 Javier Miranda <miranda@adacore.com> - - * sem_disp.adb (Find_Dispatching_Type): For subprograms internally - generated by derivations of tagged types use the aliased subprogram a - reference to locate their controlling type. - -2009-04-20 Tristan Gingold <gingold@adacore.com> - - * g-trasym.adb: Set size of result buffer before calling - convert_address. - -2009-04-20 Ed Schonberg <schonberg@adacore.com> - - * sem_ch4.adb (Valid_Candidate): When checking whether a prefixed call - to a function returning an array can be interpreted as a call with - defaulted parameters whose result is indexed, take into account the - types of all the indices of the array result type. - -2009-04-20 Pascal Obry <obry@adacore.com> - - * a-direct.adb, s-os_lib.adb: Minor reformatting. - -2009-04-20 Ed Schonberg <schonberg@adacore.com> - - * sem_ch8.adb (Analyze_Object_Renaming): Proper checks on incorrect - null exclusion qualifiers for object renaming declarations. - -2009-04-20 Nicolas Roche <roche@adacore.com> - - * sysdep.c (__gnat_localtime_tzoff): on Windows, manipulated times are - unsigned long long. So compare local_time and utc_time before computing - the difference. - -2009-04-20 Eric Botcazou <ebotcazou@adacore.com> - - * sem_ch3.adb (Build_Derived_Private_Type): Insert the declaration - of the Underlying_Record_View before that of the derived type. - - * exp_ch3.adb (Expand_Record_Extension): Do not special-case types - with unknown discriminants with regard to the parent subtype. - -2009-04-20 Bob Duff <duff@adacore.com> - - * sem.adb (Semantics, Walk_Library_Items): Include dependents of bodies - that are not included. This is necessary if the main unit is a generic - instantiation. - - * gnat1drv.adb (Gnat1drv): Comment out the call to Check_Library_Items, - because it doesn't work if -gnatn is used. - -2009-04-20 Ed Schonberg <schonberg@adacore.com> - - * rtsfind.adb (RTE, RTE_Record_Component): In - Configurable_Run_Time_Mode, do not enable front-end inlining. - -2009-04-20 Thomas Quinot <quinot@adacore.com> - - * g-socthi-vms.adb: Remove now unnecessary WITH clause on - System.Address_To_Access_Conversions. - -2009-04-20 Ed Schonberg <schonberg@adacore.com> - - * sem.adb: Guard against ill-formed subunits. - -2009-04-20 Bob Duff <duff@adacore.com> - - * output.adb (Flush_Buffer): Do not indent blank lines. - (Ignore_Output): New procedure for output suppression. - -2009-04-20 Hristian Kirtchev <kirtchev@adacore.com> - - * a-calfor.adb (Image): Subtract 0.5 from the sub second component only - when it is positive. This avoids a potential constraint error raised - by the conversion to Natural. - -2009-04-20 Gary Dismukes <dismukes@adacore.com> - - * exp_ch5.adb (Expand_Assign_Array): For the case where the assignment - involves a target that has a specified address, don't set Forward_OK - and Backward_OK to False if the rhs is an aggregate, since overlap - can't occur. - -2009-04-20 Ed Schonberg <schonberg@adacore.com> - - * sem_ch8.adb (Analyze_Object_Renaming): Reject ambiguous expressions - in an object renaming declaration when the expected type is an - anonymous access type. - - * sem_type.adb (Disambiguate): Use anonymousness to resolve a potential - ambiguity when one interpretation is an anonymous access type and the - other is a named access type, and the context itself is anonymous - -2009-04-20 Thomas Quinot <quinot@adacore.com> - - * einfo.ads: Minor comment rewording - - * sem_aggr.adb: Minor comment rewording - - * sem_ch3.adb, sem_ch6.adb: Minor reformatting - -2009-04-20 Pascal Obry <obry@adacore.com> - - * adaint.c (__gnat_is_readable_file): Check for file existence - when not using ACL (always the case on remote drives). - -2009-04-20 Robert Dewar <dewar@adacore.com> - - * sinfo.ads: Minor comment fixes - - * exp_disp.adb: Minor reformatting - - * gnat1drv.adb: Minor reformatting - - * output.adb: Minor reformatting - - * s-vxwext-kernel.ads: Minor reformatting - - * sem.ads: Minor reformatting - - * sem.adb: Minor reformatting - - * sem_elim.adb: Minor reformatting - - * uname.ads: Minor reformatting - -2009-04-20 Eric Botcazou <ebotcazou@adacore.com> - - * init.c (__gnat_adjust_context_for_raise): On x86{-64}/Linux, add - a small dope of 4 words to the adjustment to the stack pointer. - -2009-04-20 Thomas Quinot <quinot@adacore.com> - - * xoscons.adb: generate C header s-oscons.h in - addition to s-oscons.ads. - - * socket.c: On VMS, use s-oscons.h. - - * sem_ch3.adb: Minor reformatting - - * exp_ch9.adb: Minor reformatting - -2009-04-20 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/trans.c (check_for_eliminated_entity): Remove. - (Attribute_to_gnu): Do not call check_for_eliminated_entity. - (call_to_gnu): Likewise. - -2009-04-20 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/trans.c (gigi): Declare the name of the compilation - unit as the first global name at the very beginning. - -2009-04-20 Thomas Quinot <quinot@adacore.com> - - * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.ads, - s-oscons-tmplt.c, gsocket.h, g-socthi-mingw.ads, g-socthi.ads, - g-sothco.ads (__gnat_inet_pton): Needs to be enabled for HP-UX as well, - since HP-UX supports neither inet_aton nor inet_pton (altough the - latter is part of the Single UNIX Specification!). - So reorganize code, and share C implementation based on inet_addr(3) - with VMS (instead of having a VMS specific Ada implementation in - g-socthi-vms.adb). - -2009-04-20 Gary Dismukes <dismukes@adacore.com> - - * osint-c.ads, osint-c.adb (Get_Object_Output_File_Name): New function - to return the object file name saved by Set_Object_Output_File_Name. - -2009-04-20 Emmanuel Briot <briot@adacore.com> - - * g-comlin.adb (Initialize_Option_Scan): Fix initialization of parsers - for the standard command line, when argc has been modified since the - start of the application. - -2009-04-20 Thomas Quinot <quinot@adacore.com> - - * socket.c (__gnat_inet_pton, Windows case): Adjust return value. - WSAStringToAddress returns 0 for success and SOCKET_ERROR for failure. - -2009-04-20 Bob Duff <duff@adacore.com> - - * gnat1drv.adb (Gnat1drv): Put call to Check_Library_Items inside - pragma Debug. - -2009-04-20 Ed Schonberg <schonberg@adacore.com> - - * exp_ch9.adb (Build_Protected_Sub_Specification): Mark generated - subprogram as Eliminated when source operation is. - (Expand_N_Protected_Type_Declaration): Generate protected and - unprotected specs for the internal operations, even if the source - operation is eliminated. - -2009-04-20 Hristian Kirtchev <kirtchev@adacore.com> - - * exp_ch3.adb (Make_Predefined_Primitive_Specs, - Predefined_Primitive_Bodies): Do not create the declarations and bodies - of the primitive subprograms associated with dispatching select - statements when the runtime is in configurable mode. - -2009-04-20 Ed Falis <falis@adacore.com> - - * s-vxwext-kernel.ads (tickGet): Use tick64Get. - -2009-04-20 Thomas Quinot <quinot@adacore.com> - - * s-oscons-tmplt.c: Add support for generating a dummy version of - s-oscons.ads providing all possible constants. - - * g-socthi-mingw.ads: Fix calling convention for __gnat_inet_pton. - - * socket.c (__gnat_inet_pton): On Windows make sure we always use the - ANSI version (not the UNICODE version) of WSAStringToAddress. - -2009-04-20 Pascal Obry <obry@adacore.com> - - * adaint.c (__gnat_set_OWNER_ACL): properly free memory - allocated for the security descriptor and make sure all - handles are closed before leaving this procedure. - -2009-04-20 Javier Miranda <miranda@adacore.com> - - * einfo.ads, einfo.adb (Is_Underlying_Record_View): New subprogram - (Set_Is_Underlying_Record_View): New subprogram - - * sem_aggr.adb (Discr_Present, Resolve_Record_Aggregate): In case of - private types with unknown discriminants use the underlying record view - if available. - - * sem_ch3.adb (Build_Derived_Private_Type): Enable construction of the - underlying record view in the full view of private types whose parent - has unknown discriminants. - (Build_Derived_Record_Type): Avoid generating the class-wide entity - associated with an underlying record view. - (Derived_Type_Declaration): Avoid deriving parent primitives in - underlying record views. - - * sem_ch6.adb (Check_Return_Subtype_Indication): Add support for - records with unknown discriminants. - - * sem_type.adb (Covers): Handle underlying record views. - (Is_Ancestor): Add support for underlying record views. - - * exp_attr.adb (Expand_Attribute): Expand attribute 'size into a - dispatching call if the type of the target object is tagged and has - unknown discriminants. - - * exp_aggr.adb (Resolve_Record_Aggregate): Add support for records with - unknown discriminants. - - * exp_disp.adb (Build_Dispatch_Tables): Avoid generating dispatch - tables for internally built underlying record views. - - * sprint.adb (sprint_node_actual): Improve output of aggregates with an - empty list of component associations. - -2009-04-20 Thomas Quinot <quinot@adacore.com> - - * sem_ch10.adb: Minor reformatting - - * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.ads, - g-socthi-mingw.ads, g-socthi.ads, g-socket.adb - (GNAT.Sockets.Inet_Addr): Do not use non-portable inet_aton, instead use - standard inet_pton API (and emulate it on platforms that do not - support it). - (GNAT.Sockets.Thin.Inet_Pton, VMS case): Implement in terms of - DECC$INET_ADDR, imported in Ada. - (GNAT.Sockets.Thin.Inet_Pton, VxWorks and Windows cases): Use C - implementation provided by GNAT runtime. - (__gnat_inet_pton): C implementation of inet_pton(3) for VxWorks and - Windows. - -2009-04-20 Eric Botcazou <ebotcazou@adacore.com> - - * gnat_ugn.texi: Add documentation for -fno-ivopts. - -2009-04-20 Ed Schonberg <schonberg@adacore.com> - - * sem_ch10.adb (Analyze_Context): Do not analyze a unit in a - with_clause if it is the main unit. - -2009-04-20 Thomas Quinot <quinot@adacore.com> - - * sem_type.adb, ali.adb, erroutc.adb: Minor code reorganization - (no behaviour change): Use Append instead of Increment_Last followed - by assignment. - -2009-04-20 Hristian Kirtchev <kirtchev@adacore.com> - - * exp_ch3.adb (Make_Predefined_Primitive_Specs): Do not generate the - declarations of all primitives associated with dispatching asynchronous, - conditional and timed selects when dispaching calls are forbidden and - select statements are not allowed (such as in Ravenscar). - (Predefined_Primitive_Bodies): Ditto for bodies. - - * exp_disp.ad (Make_DT): Do not create and populate the - Select_Specific_Data of the dispatch table when dispatching calls are - forbidden and select statements are not allowed (such as in Ravenscar). - -2009-04-20 Robert Dewar <dewar@adacore.com> - - * a-tifiio.adb: Minor reformatting - -2009-04-20 Thomas Quinot <quinot@adacore.com> - - * g-socthi-vms.adb, g-socket.adb, g-socket.ads: inet_aton(3), unlike - other C library functions, report *failure* with a zero status, and - success with a non-zero status. - -2009-04-20 Bob Duff <duff@adacore.com> - - * sem.ads, sem.adb (Walk_Library_Items): New generic procedure. - (Semantics): After analyzing each unit, Append it to the - Comp_Unit_List, if appropriate. - - * gnat1drv.adb (Check_Library_Items): New procedure for debugging - purposes. - (Gnat1drv): Correct comment regarding Back_End_Mode. - -2009-04-20 Eric Botcazou <ebotcazou@adacore.com> - - * gnat_ugn.texi: Add documentation for -fno-inline-small-functions. - -2009-04-20 Thomas Quinot <quinot@adacore.com> - - * s-taprop-irix.adb, s-taprop-tru64.adb, s-taprop-vms.adb, - output.adb, output.ads, s-taprop-hpux-dce.adb, - s-taprop-linux.adb, s-taprop-solaris.adb, s-taprop-posix.adb: Minor - reformatting. - -2009-04-20 Thomas Quinot <quinot@adacore.com> - - * g-socket.adb, g-socket.ads, g-socthi-mingw.ads, g-socthi-vms.adb, - g-socthi-vms.ads, g-socthi-vxworks.ads, g-socthi.ads - (GNAT.Sockets.Thin.C_Inet_Addr): Remove. - (GNAT.Sockets.Thin.Inet_Aton): New function, imported from C library - except for VMS where it is reimplemented in Ada using DECC$INET_ADDR. - (GNAT.Sockets.Inet_Addr): Use inet_aton(3) instead of inet_addr(3). - - * debug.adb: Fix typo - - * gnat_rm.texi: Minor doc fix. - - * sem_ch7.adb, freeze.adb: Minor reformatting - -2009-04-20 Thomas Quinot <quinot@adacore.com> - - * g-socket.ads: Add new constants: - Loopback_Inet_Addr - Unspecified_Group_Inet_Addr - All_Hosts_Group_Inet_Addr - All_Routers_Group_Inet_Addr - - * s-oscons-tmplt.c, g-sttsne-vxworks.adb (System.OS_Constants): Add - ERANGE (Result too large). - (GNAT.Sockets.Thin.Task_Safe_NetDB, VxWorks version): Add missing - propagation of errno to caller. - -2009-04-20 Hristian Kirtchev <kirtchev@adacore.com> - - * a-calend.adb, a-calend-vms.adb: Increase the number of leap seconds - to 24. Increment Leap_Seconds_Count and add an entry to aggregate - Leap_Second_Times. - -2009-04-20 Gary Dismukes <dismukes@adacore.com> - - * sem_elim.ads (Check_For_Eliminated_Subprogram): New procedure for - checking for references to eliminated subprograms that should be - flagged. - (Eliminate_Error_Message): Update comment to say "references" rather - than "calls" (since attribute cases are handled here as well). - - * sem_elim.adb (Check_For_Eliminated_Subprogram): New procedure for - checking for references to eliminated subprograms that should be - flagged. Add with and use of Sem and Sem_Util. - - * sem_res.adb (Resolve_Call): Reject calls to eliminated subprograms. - Add with and use of Sem_Elim. - - * sem_attr.adb (Analyze_Access_Attribute): Reject access attributes - applied to eliminated subprograms. - (Analyze_Attribute): Reject 'Address and 'Code_Address applied to - eliminated subprograms. - Add with and use of Sem_Elim. - - * sem_disp.adb (Check_Dispatching_Call): Remove error check for calls - to eliminated subprograms, now handled during Resolve_Call. - Remove with and use of Sem_Elim. - - * exp_disp.adb (Make_DT): Get Ultimate_Alias of primitive before - testing Is_Eliminated, for proper handling of primitive derived from - eliminated subprograms. - -2009-04-20 Vincent Celier <celier@adacore.com> - - * mlib-prj.adb (Build_Library): Use the shared library linker, if one - has been declared (Library_GCC or Linker'Driver), for the driver name. - - * prj-nmsc.adb (Process_Linker): If Library_GCC is not declared and - Linker'Driver is, use Linker'Driver as the shared library linker. - (Process_Project_Level_Simple_Attributes): Issue a warning if attribute - Library_GCC is declared. - (Check_Library_Attributes): Set up the shared linker driver: either - Library_GCC or Linker'Driver. Issue a warning if Library_GCC is - declared. - -2009-04-20 Thomas Quinot <quinot@adacore.com> - - * g-socket.ads (Send_Socket): Fix misleading comment. - -2009-04-20 Arnaud Charlet <charlet@adacore.com> - - * switch-c.adb (Scan_Front_End_Switches): Disable inspector mode in - ASIS mode. - -2009-04-20 Geert Bosch <bosch@adacore.com> - - * a-tifiio.adb (Put): Avoid generating too many digits for certain - fixed types with smalls that are neither integer or the reciprocal - of an integer. - -2009-04-20 Bob Duff <duff@adacore.com> - - * uname.ads: Minor comment fix. - - * types.ads: Minor comment fix. - -2009-04-20 Pascal Obry <obry@adacore.com> - - * adaint.c (__gnat_get_libraries_from_registry): Fix code to - avoid warning. At the same time fix a memory leak. - - * osint.adb (Get_Libraries_From_Registry): Properly free memory - returned by the above routine. - -2009-04-20 Robert Dewar <dewar@adacore.com> - - * s-conca5.adb, s-conca5.ads, s-conca7.adb, s-conca7.ads, s-conca9.adb, - s-conca9.ads, rtsfind.ads, s-conca2.adb, s-conca2.ads, s-conca4.adb, - s-conca4.ads, s-conca6.adb, s-conca6.ads, s-conca8.adb, s-conca8.ads, - s-conca3.adb, s-conca3.ads (Str_Concat_Bounds_x): New functions. - - * exp_ch4.adb (Expand_Concatenate): Minor code reorganization - -2009-04-20 Pascal Obry <obry@adacore.com> - - * initialize.c (__gnat_initialize): Add braces to kill warning. - - * adaint.c: Minor reformatting, remove trailing spaces. - -2009-04-17 Arnaud Charlet <charlet@adacore.com> - - * gcc-interface/Make-lang.in: Update dependencies. - -2009-04-20 Eric Botcazou <ebotcazou@adacore.com> - - * adaint.h (__gnat_lwp_self): Declare on Linux. - - * adaint.c (__gnat_os_filename): Add ATTRIBUTE_UNUSED on 'filename'. - -2009-04-20 Robert Dewar <dewar@adacore.com> - - * exp_ch5.adb, usage.adb, back_end.adb, opt.ads: Implement - front-end part of -fpreserve-control-flow switch. - -2009-04-20 Bob Duff <duff@adacore.com> - - * rtsfind.adb: Minor comment fix - -2009-04-20 Robert Dewar <dewar@adacore.com> - - * exp_aggr.adb: Minor reformatting - Minor code reorganization (use Nkind_In) - - * g-socket.adb: Minor reformatting - - * g-socket.ads: Minor comment fix - - * s-auxdec.ads: Minor comment and organization update. - - * s-auxdec-vms_64.ads: Minor comment and organization update. - - * sem_ch10.adb: Minor addition of ??? comment - - * sem_disp.adb: Minor reformatting - -2009-04-20 Ed Schonberg <schonberg@adacore.com> - - * inline.adb (Add_Inlined_Subprogram): Do not place on the back-end - list a caller of an inlined subprogram, if the caller itself is not - called. - -2009-04-20 Pascal Obry <obry@adacore.com> - - * adaint.c: Disable use of ACL on network drives. - -2009-04-20 Arnaud Charlet <charlet@adacore.com> - - * gnat_ugn.texi: Add examples. - -2009-04-20 Thomas Quinot <quinot@adacore.com> - - * g-socket.ads (Abort_Selector): Clarify documentation. - -2009-04-20 Arnaud Charlet <charlet@adacore.com> - - * opt.ads (Inspector_Mode): Update documentation of this flag. - -2009-04-20 Thomas Quinot <quinot@adacore.com> - - * g-socket.ads: Minor reformatting - - * socket.c, gsocket.h (__gnat_get_h_errno, VxWorks case): No need to - consider S_resolvLib error codes since we only use the hostLib wrappers. - -2009-04-20 Eric Botcazou <ebotcazou@adacore.com> - - * sem_ch3.adb (Build_Derived_Private_Type): Insert the declaration - of the Underlying_Record_View after that of the derived type. - -2009-04-20 Arnaud Charlet <charlet@adacore.com> - - * switch-c.adb (Scan_Front_End_Switches): Disable front-end inlining - in inspector mode. - -2009-04-20 Javier Miranda <miranda@adacore.com> - - * sem_ch6.adb (New_Overloaded_Entity): Minor reformating. - - * sem_ch6.ads (Subtype_Conformant, Type_Conformant): Add missing - documentation. - - * exp_aggr.adb (Build_Record_Aggr_Code): Code cleanup. - - * sem_disp.adb - (Check_Dispatching_Operation): Set attribute Is_Dispatching_Operation - in internally built overriding subprograms. - -2009-04-20 Doug Rupp <rupp@adacore.com> - - * s-auxdec-vms_64.ads (Integer_{8,16,32,64}_Array): New array types. - - * s-auxdec.ads: Likewise - -2009-04-20 Ed Schonberg <schonberg@adacore.com> - - * sem_ch3.adb (Find_Type_Name): Reject the completion of a private - type by an interface. - - * exp_ch6.adb (Expand_Call): Inline To_Address unconditionally, to - minimze difference in expanded tree when compiled as spec of the main - unit, or as a spec in the context of another unit. - -2009-04-20 Hristian Kirtchev <kirtchev@adacore.com> - - * a-calend.adb: Remove types char_Pointer, int, tm and tm_Pointer. - (localtime_tzoff): This routine no longer accepts an actual of type - tm_Pointer. - (UTC_Time_Offset): Remove local variable Secs_TM. - - * sysdep.c (__gnat_localtime_tzoff): This routine no longer accepts an - actual of type struct tm*. Add local variable of type struct tm for all - targets that provide localtime_r and need to invoke it. - -2009-04-20 Thomas Quinot <quinot@adacore.com> - - * s-oscons-tmplt.c, g-socket.adb, g-socket.ads - (GNAT.Sockets.Resolve_Error): Add case of EPIPE - Add case of EAGAIN for platforms where it is not equal to EWOULDBLOCK - -2009-04-20 Robert Dewar <dewar@adacore.com> - - * sem_ch3.adb: Minor reformatting - - * lib-load.adb: Minor reformatting - - * sem_ch4.adb: Minor reformatting - -2009-04-20 Robert Dewar <dewar@adacore.com> - - * namet-sp.ads, namet-sp.adb (Is_Bad_Spelling_Of): Implement new spec - (equal values => False). - -2009-04-20 Ed Schonberg <schonberg@adacore.com> - - * exp_ch6.adb (Is_Null_Procedure): predicate is global, so that calls - to null procedures can be inlined unconditionally. - -2009-04-20 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/trans.c (call_to_gnu): When creating the copy for a - non-addressable parameter passed by reference, do not convert the - actual if its type is already the nominal type, unless it is of - self-referential size. - -2009-04-20 Arnaud Charlet <charlet@adacore.com> - - * gnat_ugn.texi: Fix typos. - -2009-04-20 Robert Dewar <dewar@adacore.com> - - * debug.adb, gnat1drv.adb, sem_ch13.adb: Add circuitry to - Validate_Unchecked_Warnings to suppress warnings about size or - alignment or extra bits if either type involved has pragma Warnings - (Off) set for the type entity. - -2009-04-19 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/trans.c (gigi): Make the special IA-64 descriptor type - a builtin type and give it a name. - -2009-04-17 Diego Novillo <dnovillo@google.com> - - * gcc-interface/misc.c (gnat_expand_expr): Remove. - (LANG_HOOKS_EXPAND_EXPR): Remove. - -2009-04-17 Robert Dewar <dewar@adacore.com> - - * sem_ch3.adb: Minor reformatting - -2009-04-17 Pascal Obry <obry@adacore.com> - - * adaint.c: Add __gnat_use_acl global variable to control use of ACL. - -2009-04-17 Ed Schonberg <schonberg@adacore.com> - - * sem_ch3.adb (Build_Derived_Enumeration_Type): Diagnose properly - illegal constraints on type derived from formal discrete types. - -2009-04-17 Thomas Quinot <quinot@adacore.com> - - PR ada/35953 - - * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, - g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads, - g-socthi.adb, g-stsifd-sockets.adb, g-socthi.ads, g-socket.adb, - g-socket.ads (GNAT.Sockets.Thin.C_Send, - GNAT.Sockets.Thin.Syscall_Send): Remove unused subprograms. - Replace calls to send(2) with equivalent sendto(2) calls. - (GNAT.Sockets.Send_Socket): Factor common code in inlined subprogram. - (GNAT.Sockets.Write): Account for the case of hyper-empty arrays, do not - report an error in that case. Factor code common to the two versions - (datagram and stream) in common routine Stream_Write. - -2009-04-17 Robert Dewar <dewar@adacore.com> - - * exp_disp.adb: Minor reformatting - Minor code reorganization (use Nkind_In) - - * prepcomp.adb: Minor reformatting - - * sem_ch3.adb: Minor reformatting - - * sem_res.adb: Minor comment addition - - * exp_ch5.adb (Expand_Assign_Array): Use Has_Address_Clause to test - for address clause - - * lib-xref.adb (Generate_Reference): Exclude recursive calls from - setting Is_Referenced - - * types.ads: Minor reformatting - -2009-04-17 Arnaud Charlet <charlet@adacore.com> - - * gnat_ugn.texi: Initial documentation on binding generator. - -2009-04-17 Ed Schonberg <schonberg@adacore.com> - - * einfo.ads, einfo.adb: New attribute Underlying_Record_View, to handle - type extensions whose parent is a type with unknown discriminants. - - * exp_aggr.adb (Expand_Record_Aggregate): If the type of an extension - aggregate has unknown discriminants, use the Underlying_Record_View to - obtain the discriminants of the ancestor part. - - * exp_disp.adb (Build_Dispatch_Tables): Types that are - Underlying_Record_Views share the dispatching information of the - original record extension. - - * exp_ch3.adb (Expand_Record_Extension): If the type inherits unknown - discriminants, propagate dispach table information to the - Underlying_Record_View. - - * sem_ch3.adb (Build_Derived_Private_Type): If parent type has unknown - discriminants and declaration is not a completion, generate - Underlying_Record_View to provide proper discriminant information to - the front-end and to gigi. - -2009-04-17 Robert Dewar <dewar@adacore.com> - - * s-conca5.adb, g-sercom.adb, s-conca5.ads, s-conca7.adb, exp_imgv.adb, - s-conca7.ads, s-crc32.adb, s-crc32.ads, s-conca9.adb, s-conca9.ads, - s-addope.adb, i-cstrin.ads, s-addope.ads, s-carun8.adb, s-carun8.ads, - g-htable.ads, g-hesora.adb, g-hesora.ads, s-htable.adb, s-htable.ads, - s-conca2.adb, s-conca2.ads, a-except.adb, s-conca4.adb, a-except.ads, - s-conca4.ads, s-except.adb, s-except.ads, s-conca6.adb, s-conca6.ads, - g-spchge.adb, g-spchge.ads, g-u3spch.adb, g-u3spch.ads, s-conca8.adb, - s-conca8.ads, g-byorma.adb, g-byorma.ads, s-memory.adb, s-memory.ads, - g-speche.adb, g-speche.ads, g-stsifd-sockets.adb, exp_dist.adb, - s-imgenu.adb, s-imgenu.ads, s-mastop.adb, s-mastop.ads, s-exctab.adb, - s-exctab.ads, s-imenne.adb, s-imenne.ads, s-casuti.adb, osint.adb, - s-assert.adb, s-casuti.ads, s-assert.ads, s-os_lib.adb, s-conca3.adb, - s-conca3.ads: Remove unneeded pragma Warnings - -2009-04-17 Robert Dewar <dewar@adacore.com> - - * g-moreex.adb: Add comments. - - * s-auxdec.ads: Add ??? comment for uncommented pragma Warnings (Off) - - * s-auxdec-vms_64.ads: Add ??? comment for uncommented pragma - Warnings (Off) - - * prepcomp.adb: Add ??? comment - - * a-tasatt.adb: Minor reformatting - - * g-trasym-vms-alpha.adb: Add ??? comment - - * g-trasym-vms-ia64.adb: Add ??? comment - - * xoscons.adb: Minor reformatting - - * s-tassta.adb: Minor reformatting - - * s-scaval.adb: Add ??? comment - - * stand.ads: Minor code clean up (remove junk with of Namet) - - * s-strcom.adb, s-strcom.ads, s-string.adb, s-string.ads, s-sopco3.adb, - s-sopco3.ads, s-strops.adb, s-strops.ads, s-sopco5.adb, s-sopco5.ads, - s-wchcnv.adb, s-wchcnv.ads, s-ststop.adb, s-ststop.ads, s-soflin.adb, - s-soflin.ads, s-traceb.adb, s-traceb.ads, s-traent.adb, s-traent.ads, - s-secsta.adb, s-secsta.ads, s-utf_32.adb, s-utf_32.ads, s-wchcon.adb, - s-wchjis.adb, s-wchcon.ads, s-wchjis.ads, s-sopco4.adb, s-sopco4.ads, - s-stache.adb, s-stache.ads, s-stoele.adb, s-stoele.ads, s-stalib.adb, - s-stalib.ads, s-os_lib.ads, s-purexc.ads: Remove no longer needed - Warnings off pragmas. - -2009-04-17 Pascal Obry <obry@adacore.com> - - * initialize.c: Fix test for reallocating the arguments array. - -2009-04-17 Geert Bosch <bosch@adacore.com> - - * exp_fixd.adb (Expand_Convert_Float_To_Fixed): Have float to fixed - conversion truncate only for decimal fixed point types. - -2009-04-17 Jerome Lambourg <lambourg@adacore.com> - - * g-comlin.adb (Initialize_Scan_Option): Make sure the sections are - reinitialized. - -2009-04-17 Robert Dewar <dewar@adacore.com> - - * exp_ch5.adb (Expand_Assign_Array): Do not set Forwards_OK and - Backwards_OK if either operand has an address clause. - -2009-04-17 Pascal Obry <obry@adacore.com> - - * initialize.c: Code clean up, use realloc. - -2009-04-17 Pascal Obry <obry@adacore.com> - - * initialize.c: Do not get Unicode command line if Unicode support not - activated. - Add support for wildcard expansion for Unicode parameters on Win32. - - * mingw32.h: Add missing macros when Unicode support not activated. - -2009-04-17 Javier Miranda <miranda@adacore.com> - - * sem_ch6.adb (Check_Anonymous_Return): Add missing checks to - avoid generating code that references the Current_Master - when compiling without tasks. - -2009-04-17 Vincent Celier <celier@adacore.com> - - * prj-attr.adb: New project level attribute Target - - * prj-nmsc.adb (Process_Project_Level_Simple_Attributes): Process - attribute Target - - * prj.ads (Project_Configuration): New component Target - -2009-04-17 Thomas Quinot <quinot@adacore.com> - - * exp_ch7.adb (Expand_Ctrl_Function_Call): Remove incorrect special - case for the case of an aggregate component, the attach call for the - result is actually needed. - - * exp_aggr.adb (Backend_Processing_Possible): Backend processing for - an array aggregate must be disabled if the component type requires - controlled actions. - - * exp_ch3.adb: Minor reformatting - -2009-04-17 Bob Duff <duff@adacore.com> - - * output.ads (Indent,Outdent): New procedures for indenting the output. - (Write_Char): Correct comment -- LF _is_ allowed. - - * output.adb (Indent,Outdent): New procedures for indenting the output. - Keep track of the indentation level, and make sure it doesn't get too - high. - (Flush_Buffer): Insert spaces at the beginning of each line, if - indentation level is nonzero. - (Save_Output_Buffer,Restore_Output_Buffer): Save and restore the current - indentation level. - (Set_Standard_Error,Set_Standard_Output): Remove superfluous - "Next_Col := 1;". Flush_Buffer does that. - - * sem_ch6.adb, sem_ch7.adb (Debug_Flag_C): Reorganize the output - controlled by the -gnatdc switch. It now occurs on entry/exit to the - relevant analysis routines, and calls Indent/Outdent to make the - indentation reflect the nesting level. Add "helper" routines, since - otherwise lots of "return;" statements would skip the debugging output. - -2009-04-17 Arnaud Charlet <charlet@adacore.com> - - * s-taprop-tru64.adb, s-taprop-vms.adb, s-taprop-linux.adb, - s-taprop-solaris.adb, s-taprop-irix.adb, s-taprop-hpux-dce.adb, - s-taprop-posix.adb (Suspend_Until_True): Protect against early wakeup. - -2009-04-17 Thomas Quinot <quinot@adacore.com> - - * exp_aggr.adb: Minor code reorganization, no behaviour change. - -2009-04-17 Ed Schonberg <schonberg@adacore.com> - - * sem_ch8.adb (Use_One_Type): Handle properly a redundant use type - clause in a unit that is a package body or a subunit, when the previous - clause appears in a spec or a parent. - -2009-04-17 Thomas Quinot <quinot@adacore.com> - - * sinfo.ads, exp_aggr.adb, exp_aggr.ads: Minor reformatting - - * exp_ch7.adb: Minor reformatting - -2009-04-17 Bob Duff <duff@adacore.com> - - * exp_ch4.adb (Expand_Allocator_Expression): In an initialized - allocator, check that the expression of the qualified expression obeys - the constraints of the subtype of the qualified expression. - -2009-04-17 Thomas Quinot <quinot@adacore.com> - - * sprint.adb (Write_Itype): Add handling of enumeration subtypes. - -2009-04-17 Ed Schonberg <schonberg@adacore.com> - - * exp_ch4.adb (Expand_Allocator_Expression): Apply constraint check to - aggregate, using context imposed by subtype mark in allocator. - -2009-04-17 Pascal Obry <obry@adacore.com> - - * gnat_rm.texi: Document GNAT_CODE_PAGE environment variable - -2009-04-17 Nicolas Roche <roche@adacore.com> - - * initialize.c (__gnat_initialize): remove MAX_PATH limitation on each - argument length. - -2009-04-17 Gary Dismukes <dismukes@adacore.com> - - * sem_elim.adb (Eliminate_Error_Msg): Minor change to error message to - cover both calls and attribute references ("call" => "reference"). - -2009-04-17 Ed Schonberg <schonberg@adacore.com> - - * sem_ch3.adb (Analyze_Subtype_Declaration): A subtype of an access - type for which Storage_Size is set to 0 is legal in a pure unit. - -2009-04-17 Thomas Quinot <quinot@adacore.com> - - * exp_ch7.adb: Minor reformatting - -2009-04-17 Robert Dewar <dewar@adacore.com> - - * restrict.adb (Check_Restriction_No_Dependence): Don't check - restriction if outside main extended source unit. - - * sem_ch10.adb (Analyze_With_Clause): Check No_Dependence restriction - for parents of child units as well as the child unit itself. - -2009-04-17 Bob Duff <duff@adacore.com> - - * checks.ads: Minor comment fix - - * exp_aggr.ads: Minor comment fix - -2009-04-17 Nicolas Roche <roche@adacore.com> - - * adaint.c: Improve cross compiler detection and handling. - -2009-04-17 Eric Botcazou <ebotcazou@adacore.com> - - * exp_ch4.adb (Expand_Concatenation): Do not use calls at -Os. - -2009-04-17 Pascal Obry <obry@adacore.com> - - * mingw32.h: Add S2WSC and WS2SC macros to convert to/from - CurrentCodePage. - - * adaint.h: Encoding_Unspecified is now defined. Corresponds to the - value when no encoding form paramter is set on Text_IO services. - - * adaint.c: CurrentCodePage new variable on Windows. - Use new macros S2WSC and WS2SC instead of the UTF-8 oriented - ones. - - * mkdir.c: Use new macros S2WSC and WS2SC instead of the UTF-8 oriented - ones. - - * initialize.c: Initialize CurrentCodePage depending on GNAT_CODE_PAGE - environment variable value. Default is UTF-8. - - * s-crtl.ads: Filename_Encoding add Unspecified in the enumeration type. - fopen and freopen encoding parameter is now set to Unspecified. - The default value is in this case UTF-8 (as it was before) but - use the new macros that convert to/from the code page set - at runtime (CurrentCodePage). - - * s-fileio.adb: When no encoding specified use Unspecified value. - -2009-04-17 Ed Schonberg <schonberg@adacore.com> - - * atree.adb, atree.ads: Remove dead code. - -2009-04-17 Arnaud Charlet <charlet@adacore.com> - - * gcc-interface/Make-lang.in: Update dependencies. - -2009-04-17 Ed Schonberg <schonberg@adacore.com> - - * sem_ch3.adb (Access_Subprogram_Definition): Additional checks on - illegal uses of incomplete types in formal parts and return types. - - * sem_ch6.adb (Process_Formals): Taft-amendment types are legal in - access to subprograms. - - * sem_ch7.adb (Uninstall_Declarations): diagnose attempts to use - Taft-amendment types as the return type of an access_to_function type. - - * freeze.adb (Freeze_Entity): Remove tests on formals of an incomplete - type for access_to_subprograms. The check is performed on package exit. - -2009-04-17 Ed Schonberg <schonberg@adacore.com> - - * atree.ads, atree.adb: Move New_Copy_Tree.to sem_util. - - * nlists.ads, nlists.adb: Move New_Copy_List to sem_util. - - * lib-load.adb: Use Copy_Separate_Tree rather than New_Copy_Tree - - * sem_util.ads, sem_util.adb: New_Copy_Tree and New_Copy_List belong in - semantic units, because the handling of itypes in the copied tree - requires semantic information that does not belong in atree. - -2009-04-17 Robert Dewar <dewar@adacore.com> - - * par-ch6.adb: Minor reformatting - - * prj.adb: Minor reformatting - -2009-04-17 Gary Dismukes <dismukes@adacore.com> - - * par-ch6.adb (P_Subprogram): Overriding indicators should be allowed - on protected subprogram bodies, so exclude the case where Pf_Flags is - Pf_Decl_Pbod from the error check. - - * par-ch9.adb (P_Protected_Operation_Items): Permit overriding - indicators on subprograms in protected bodies, and proceed with parsing - the subprogram. - - * sem_ch6.adb (Verify_Overriding_Indicator): Exclude protected - subprograms from the check for primitiveness on subprograms with - overriding indicators. - (Check_Overriding_Indicator): Include protected subprograms in the - style check for missing overriding indicators. - -2009-04-17 Tristan Gingold <gingold@adacore.com> - - * init.c: Fix stack checking for x86 Darwin. - -2009-04-17 Vincent Celier <celier@adacore.com> - - * prj-attr.adb: New project level attribute Object_File_Suffix - (<language>). - - * prj-nmsc.adb (Add_Source): Use the object file suffix to get the - object file name - (Process_Compiler): Process attribute Object_File_Suffix - - * prj.adb (Object_Name): Use suffix Object_File_Suffix instead of - platform suffix, when specified. - - * prj.ads (Language_Config): New component Object_File_Suffix, - defaulted to No_Name. - (Object_Name): New parameter Object_File_Suffix, defaulted to No_Name - - * snames.ads-tmpl: New standard name Object_File_Suffix - -2009-04-17 Robert Dewar <dewar@adacore.com> - - * gnat_rm.texi: Add documentation about No_Streams restriction - - * sem_attr.adb (Check_Stream_Attribute): Exclude implicit stream - attributes when checking No_Streams restriction. - -2009-04-17 Thomas Quinot <quinot@adacore.com> - - * rtsfind.ads (RE_Request_Destroy): New PolyORB s-parint entity. - - * exp_dist.adb (PolyORB_Support.Build_General_Calling_Stubs): Add - missing calls to RE_Request_Destroy to deallocate request objects after - use. - -2009-04-17 Nicolas Setton <setton@adacore.com> - - * link.c: Fix support for passing a response file under Darwin. - -2009-04-17 Emmanuel Briot <briot@adacore.com> - - * prj.adb (Free): new subprogram. - -2009-04-17 Ed Schonberg <schonberg@adacore.com> - - * sem_ch3.adb: additional initialization on incomplete subtypes. - - * sem_ch6.adb (Process_Formals): if the subprogram is in the private - part and one of the formals is an incomplete tagged type, attach to - list of private dependends of the type for later validation. - - * sem_ch7.adb (Uninstall_Declarations): diagnose attempts to declare - primitive operations of a Taft-amendmment type. - - * freeze.adb (Freeze_Entity): Remove tests on formals of an incomplete - type. The check is performed on package exit, possibly after the - subprogram is frozen. - -2009-04-17 Vincent Celier <celier@adacore.com> - - * prj-nmsc.adb (Get_Directories): Get the object and exec directory - before looking for source directories, but make sure that there are nil - if they are not explicitely declared and there is explicitely no - sources in the project. - -2009-04-17 Pascal Obry <obry@adacore.com> - - * initialize.c: Set gnat_argv with UTF-8 encoded strings on Windows. - - * init.c: Fix minor typo and style fix. - -2009-04-17 Robert Dewar <dewar@adacore.com> - - * a-except.adb, a-except-2005.adb: Add PE_Address_Of_Intrinsic - - * sem_attr.adb (Analyze_Attribute, case Address): Use - PE_Address_Of_Intrinsic. - - * types.ads: Add PE_Address_Of_Intrinsic - - * types.h: Add PE_Address_Of_Intrinsic - -2009-04-17 Nicolas Setton <setton@adacore.com> - - * gcc-interface/Makefile.in: Under darwin, build shared libraries - with install_name starting with "@rpath/". - -2009-04-17 Nicolas Setton <setton@adacore.com> - - * link.c: Add darwin section - -2009-04-16 Robert Dewar <dewar@adacore.com> - - * g-pehage.adb: Minor reformatting - - * sem_ch12.adb: Minor reformatting - - * exp_dist.adb: Minor reformatting - - * bindgen.adb: Minor style fixes. - -2009-04-16 Ed Schonberg <schonberg@adacore.com> - - * sem_eval.adb (Eval_Indexed_Component): Extend constant-folding of - indexed components to the case where the prefix is a static string - literal. - -2009-04-16 Javier Miranda <miranda@adacore.com> - - * exp_ch3.adb (Expand_N_Object_Declaration): In case of build-in-place - objects avoid any further expansion of the expression initializing the - object. - -2009-04-16 Ed Schonberg <schonberg@adacore.com> - - * sem_ch12.adb (Preanalyze_Actuals): If the instance is a child unit - that hides an outer homograph, make that homograph invisible when - analyzing the actuals, to to prevent illegal direct visibility on it. - -2009-04-16 Eric Botcazou <ebotcazou@adacore.com> - - * g-pehage.adb (Initialize): Fix off-by-one error. - -2009-04-16 Tristan Gingold <gingold@adacore.com> - - * init.c: Detect real stack overflow on Darwin. - - * system-darwin-x86.ads: Use stack probing on darwin x86. - -2009-04-16 Ed Schonberg <schonberg@adacore.com> - - * sem_attr.adb (Analyze_Attribute, case 'Address): It is illegal to - take the address of an intrinsic subprogram. - -2009-04-16 Arnaud Charlet <charlet@adacore.com> - - * gcc-interface/Makefile.in: Change g-trasym to g-trasym-unimplemented - for the targets where GNAT.Traceback.Symbolic is not supported. - -2009-04-16 Vincent Celier <celier@adacore.com> - - * g-trasym-unimplemented.ads, g-trasym-unimplemented.adb: New file. - - * g-trasym.ads: Update comments. - -2009-04-16 Vasiliy Fofanov <fofanov@adacore.com> - - * tracebak.c (STOP_FRAME): Verify validity of the current address - before dereferencing. - -2009-04-16 Ed Schonberg <schonberg@adacore.com> - - * sprint.adb (Write_Itype): If the itype is an array subtype, preserve - the original location of the index expressions and the index subtypes, - to prevent spurious out-of-scope references in gigi. - -2009-04-16 Tristan Gingold <gingold@adacore.com> - - * init.c, s-osinte-darwin.ads, system-darwin-x86_64.ads: - Add support for stack checking on darwin. - -2009-04-16 Vincent Celier <celier@adacore.com> - - * prj-attr.adb: New attribute Runtime_Source_Dir - - * prj-nmsc.adb (Process_Project_Level_Array_Attributes): Process - attribute Runtime_Source_Dir. - (Check_Naming_Schemes): Give default values to out parameters to avoid - invalid data. - - * prj.ads (Language_Config): New component Runtime_Source_Dir - - * snames.ads-tmpl: New standard name Runtime_Source_Dir - -2009-04-16 Pascal Obry <obry@adacore.com> - - * adaint.h, adaint.c (__gnat_rmdir): New routine. - Simple wrapper routines used to convert to proper encoding on - Windows. - - * s-crtl.ads: Use __gnat_rmdir instead of direct call to the C library. - - * g-dirope.adb (Remove_Dir): Fix a bug, the root directory was removed - twice. - -2009-04-16 Pascal Obry <obry@adacore.com> - - * s-crtl.ads, s-os_lib.adb: Minor code clean-up. - -2009-04-16 Thomas Quinot <quinot@adacore.com> - - * snames.ads-tmpl (Name_Defined): New predefined name for use by the - integrated preprocessor. - - * prep.ads, prep.adb (Setup_Hooks): New subprogram. - (Initialize): Split into two subprograms, Initialize (to be called - prior to compiler command line processing) and Setup_Hooks (to be called - later on when the first source file is loaded). - - * gprep.adb: Change call to Prep.Initialize to call to Prep.Setup_Hooks. - Add call to Prep.Initialize. - - * sinput-l.adb, prepcomp.adb: Change call to Prep.Initialize to call - to Prep.Setup_Hooks. - -2009-04-16 Pascal Obry <obry@adacore.com> - - * adaint.h, adaint.c (__gnat_chdir): New routine. - Simple wrapper routines used to convert to proper encoding on - Windows. - - * s-crtl.ads: Use __gnat_chdir instead of direct call to the C library. - - * a-direct.adb, g-dirope.adb: Use chdir from System.CRTL. - -2009-04-16 Quentin Ochem <ochem@adacore.com> - - * sinput-p.adb (Clear_Source_File_Table): Use Sinput.Initialize instead - of Source.Init. - -2009-04-16 Eric Botcazou <ebotcazou@adacore.com> - - * a-convec.ads (Is_Empty): Mark inline. - -2009-04-16 Nicolas Roche <roche@adacore.com> - - * init.c (__gnat_init_float): Initialize FPU on x86_64 windows - -2009-04-16 Thomas Quinot <quinot@adacore.com> - - * prepcomp.adb: Minor reformatting - -2009-04-16 Jerome Lambourg <lambourg@adacore.com> - - * sem_prag.adb (Process_Import_Or_Interface): With .NET, - Access_Subprogram types can also be imported. - (Check_Form_Of_Interface_Name): Accept '/' character in entity CIL - names. - -2009-04-16 Ed Schonberg <schonberg@adacore.com> - - * exp_ch6.adb (Make_Build_In_Place_Call_In_Object_Declaration): - preserve homonym chain when the declaration is rewritten into a - renaming declaration, in order to preserve visibility structure. - -2009-04-16 Jerome Lambourg <lambourg@adacore.com> - - * sem_prag.adb (Analyze_Pragma): Make sure that pragma pack is not - taken into account for VM targets. - -2009-04-16 Hristian Kirtchev <kirtchev@adacore.com> - - * g-calend.ads, g-calend.adb (Week_In_Year): Now calls - Year_Week_In_Year. - (Year_Week_In_Year): New routine which contains the original code from - Week_In_Year. Add the missing special case for January 1st falling on - a Monday. - -2009-04-16 Thomas Quinot <quinot@adacore.com> - - * exp_dist.adb (Build_From_Any_Call): For a subtype that is a generic - actual type, use the base type to build the To_Any function. - (Build_From_Any_Function): Remove junk, useless subtype conversion. - -2009-04-16 Thomas Quinot <quinot@adacore.com> - - * exp_ch9.adb, exp_code.adb, tbuild.adb, sem_case.adb, - restrict.adb: Minor code reorganization (use - Add_{Char,Str}_To_Name_Buffer instead of inlining it by hand). - -2009-04-16 Bob Duff <duff@adacore.com> - - * exp_ch6.ads, exp_ch6.adb (Is_Build_In_Place_Function_Return): Remove, - unused. - -2009-04-16 Thomas Quinot <quinot@adacore.com> - - * sem_ch4.adb: Minor reformatting - - * adaint.c: Remove junk duplicated code. - - * sem_ch3.adb: Minor reformatting - - * exp_dist.adb: Minor comment rewording - -2009-04-16 Robert Dewar <dewar@adacore.com> - - * gnat_rm.texi: Document effect of Assume_No_Invalid_Values and -gnatVa - used together. - -2009-04-16 Ed Schonberg <schonberg@adacore.com> - - * sem_ch4.adb (Find_Equality_Types): Filter out types that are not - usable before calling Add_One_Interp, to resolve spurious ambiguities. - -2009-04-16 Robert Dewar <dewar@adacore.com> - - * Make-lang.in: Add entries for s-conca?.o - - * Makefile.rtl: Add entries for s-conca? - - * debug.adb: Add debug flags -gnatd.c and -gnatd.C to control behavior - of concatenation expansion - - * exp_ch4.adb (Expand_Concatenation): Generate calls for certain - string cases instead of expanding assignments inline. - - * opt.ads (Optimize_Size): New flag - - * s-conca2.ads, s-conca2.adb, s-conca3.adb, s-conca3.ads, - s-conca4.adb, s-conca4.ads, s-conca5.adb, s-conca5.ads, s-conca6.adb, - s-conca6.ads, s-conca7.ads, s-conca7.adb, s-conca8.adb, s-conca8.ads, - s-conca9.adb, s-conca9.ads: New file. - -2009-04-16 Robert Dewar <dewar@adacore.com> - - * exp_ch6.adb: Add comments - - * rtsfind.ads: Add entries for s-conca? routines - -2009-04-16 Arnaud Charlet <charlet@adacore.com> - - * gcc-interface/Make-lang.in: Update dependencies. - - * gcc-interface/Makefile.in: Update translation for vms. - -2009-04-16 Ed Schonberg <schonberg@adacore.com> - - * sem_ch12.adb (Map_Formal_Package_Entities): renamed from Map_Entities - and made global, to be used when installing parents of a child - instance, to provide mappings for entities declared in formal packages - of ancestor units. Now called from Install_Formal_Packages. - -2009-04-16 Doug Rupp <rupp@adacore.com> - - * s-taskin.adb (Initialize_ATCB): Initialize Debug_Events with others - notation for clarity. - - * s-taprop-vxworks.adb, s-taprop-tru64.adb, s-taprop-vms.adb, - s-taprop-mingw.adb, s-taprop-linux.adb, s-taprop-solaris.adb, - s-taprop-irix.adb, s-taprop-hpux-dce.adb, s-taprop-posix.adb - (Initialize): Initialize Known_Tasks with Environment task. - - * s-taskin.ads (Task_States): Move new states to end for the sake of - GDB compatibility. - - * s-tassta.adb (Task_Wrapper): Fix comment about Enter_Task. - -2009-04-16 Ed Schonberg <schonberg@adacore.com> - - * exp_ch9.adb (Expand_N_Protected_Type_Declaration): If a protected - operation has an inline pragma, propagate the flag to the internal - unprotected subprogram. - -2009-04-16 Doug Rupp <rupp@adacore.com> - - * s-taprop-vxworks.adb, s-taprop-tru64.adb, s-taprop-mingw.adb, - s-taprop-linux.adb, s-taprop-solaris.adb, s-taprop-irix.adb, - s-taprop-hpux-dce.adb, s-taprop-posix.adb - (Enter_Task): Move Known_Tasks initialization to s-tassta.adb - - * s-taprop-vms.adb (Enter_Task): Likewise. - (Initialize): Import DBEXT, Debug_Register. Register DBGEXT callback. - - * s-tassta.adb (Activate_Tasks): After task creation set state to - Activating, vice Runnable. Initialize Known_Tasks, moved here from - s-taprop.adb (Enter_Task). Set Debug_Event_Activating for debugger. - Set state to Runnable after above. - (Task_Wrapper): Set Debug_Event_Run. In exception block set - Debug_Event_Terminated. - - * s-taskin.ads (Task_States): Add new states Activiting and - Activator_Delay_Sleep. - (Bit_Array, Debug_Event_Array): New types. - (Global_Task_Debug_Event_Set: New flag. - (Common_ATCB): New field Debug_Events. - - * s-taskin.adb (Initialize_ATCB): Initialize Debug_Events. - - * s-tasren.adb (Timed_Selective_Wait): Set Activator_Delay_Sleep vice - Activator_Sleep. - - * s-tasini.adb (Locked_Abort_To_Level): Add case alternatives for when - Activating and when Acceptor_Delay_Sleep. - - * s-tasdeb.ads: Add constants for Debug_Events. - (Debug_Event_Kind_Type): New subtype. - (Signal_Debug_Event): New subprogram. - - * s-tasdeb.adb (Signal_Debug_Event): New null subprogram. - -2009-04-16 Thomas Quinot <quinot@adacore.com> - - * sem_elim.adb: Minor reformatting - - * freeze.adb: Minor reformatting - - * exp_ch4.adb: Minor reformatting - -2009-04-16 Emmanuel Briot <briot@adacore.com> - - * prj-nmsc.adb (Path_Name_Of): fix memory leak - -2009-04-16 Robert Dewar <dewar@adacore.com> - - * sinfo.ads (Backwards_OK, Forwards_OK): Clarify documentation - -2009-04-16 Vincent Celier <celier@adacore.com> - - * fmap.adb (Initialize): Show the current line when the mapping file - is detected as "incorrectly formatted". - -2009-04-16 Robert Dewar <dewar@adacore.com> - - * sem_ch12.adb: Minor reformatting - - * sem_ch5.adb: Minor comment addition - - * sem_util.adb: Minor reformatting - - * sinput-p.adb: Minor reformatting - Add missing pragma Warnings (On) - -2009-04-16 Ed Falis <falis@adacore.com> - - * s-vxwext-kernel.adb: (ERROR): deleted unused constant - -2009-04-16 Vincent Celier <celier@adacore.com> - - * ali-util.adb: Minor comment spelling error fix - -2009-04-16 Eric Botcazou <ebotcazou@adacore.com> - - * exp_ch5.adb (Expand_Assign_Array): For the GCC back-end, do not - generate an assignment loop in case of overlap. - -2009-04-16 Olivier Hainque <hainque@adacore.com> - - * gnat_ugn.texi (gnatmem description): Make it explicit that - gnatmem is designed to work in association with static runtime - library only. - -2009-04-16 Thomas Quinot <quinot@adacore.com> - - * sem_type.adb: Minor reformatting - -2009-04-16 Hristian Kirtchev <kirtchev@adacore.com> - - * s-osprim-darwin.adb, s-osprim-posix.adb (Clock): Add comment - concerning return codes of gettimeofday and return value check. - -2009-04-16 Ed Falis <falis@adacore.com> - - * s-vxwext-kernel.ads (Int_Lock, Int_Unlock): set to convention C so - body can be renaming of imported routines. - -2009-04-16 Vasiliy Fofanov <fofanov@adacore.com> - - * s-asthan-vms-alpha.adb: Disable warnings on alignment in a more - targeted fashion. - -2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> - - * exp_ch9.adb: Comment improvements. - (Build_Entry_Family_Name): Add parentheses around the index of a entry - family member. - -2009-04-15 Bob Duff <duff@adacore.com> - - * sem_warn.adb (Check_Infinite_Loop_Warning): Catch cases like - "while X /= null loop" where X is unchanged inside the loop. We were - not warning in this case, because of the pointers -- we feared that the - loop variable could be updated via a pointer, if there are any pointers - around the place. But that is impossible in this case. - - * sem_util.adb (May_Be_Lvalue): This routine was overly pessimistic in - the case of dereferences. In X.all, X cannot be an l-value. We now - catch that case (and implicit dereferences, too). - -2009-04-15 Vincent Celier <celier@adacore.com> - - * sinput-p.ads, sinput-p.adb (Clear_Source_File_Table): New procedure - -2009-04-15 Ed Schonberg <schonberg@adacore.com> - - * sem_ch12.adb (Is_Actual_Of_Previous_Formal): Make fully recursive. - From code reading. - (Analyze_Package_Instantiation): If generic unit in child instance is - the same as generic unit in parent instance, look for an outer homonym - to locate the desired generic. - -2009-04-15 Bob Duff <duff@adacore.com> - - * sem_ch5.adb (Analyze_Loop_Statement): Don't check for infinite loop - warnings unless the loop comes from source, because checking generated - loops is a waste of time, and makes it harder to debug - Check_Infinite_Loop_Warning. - - * sem_warn.adb (Check_Infinite_Loop_Warning): If the local variable - tested in the while loop is a renaming, do not warn. Otherwise, we get - false alarms, because it's usually renaming something that we can't - deal with (an indexed component, a global variable, ...). - - * gnat_rm.texi: Fix typo - -2009-04-15 Thomas Quinot <quinot@adacore.com> - - * sem_ch6.adb: Minor reformatting - -2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> - - * exp_ch7.adb (Expand_Ctrl_Function_Call): Check for the case where the - immediate parent of the controlled function call is a component - association. - -2009-04-15 Ed Schonberg <schonberg@adacore.com> - - * sem_ch8.adb (Use_One_Type): If the type is tagged, indicate that the - corresponding class-wide type is also in use. - -2009-04-15 Thomas Quinot <quinot@adacore.com> - - * frontend.adb: Minor comment fix - -2009-04-15 Robert Dewar <dewar@adacore.com> - - * gnatchop.adb (BOM_Length): New global variable - (Write_Unit): Add new parameter Write_BOM - (Write_Chopped_Files): Check for BOM and set Write_BOM for call - to Write_Unit - - * gnat_ugn.texi: Add note on propagation of BOM by gnatchop - -2009-04-15 Geert Bosch <bosch@adacore.com> - - * system-mingw-x86_64.ads, system-darwin-x86_64.ads - (Backend_Overflow_Checks): Set to True. - -2009-04-15 Gary Dismukes <dismukes@adacore.com> - - * par-ch3.adb (P_Type_Declaration): Issue an error if the synchronized - keyword is given in a record extension. - -2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> - - * exp_ch7.adb (Expand_Ctrl_Function_Call): Procede with the expansion - of a controlled function call in the context of a record aggregate. - This does not apply to array aggregates since the call will be expanded - into assignments. - -2009-04-15 Ed Falis <falis@adacore.com> - - * s-osinte-vxworks-kernel.adb, s-osinte-vxworks.adb, - s-osinte-vxworks.ads s-vxwext.ads, s-vxwext-kernel.adb, - s-vxwext-kernel.ads, s-vxwext-rtp.ads, s-vxwext-rtp.adb: Reorganize - s-osinte-vxworks* and s-vxwext*. - -2009-04-15 Arnaud Charlet <charlet@adacore.com> - - * gcc-interface/Make-lang.in: Update dependencies. - - * gcc-interface/Makefile.in: Reorganization of s-osinte-vxworks* - and s-vxwext*. - -2009-04-15 Robert Dewar <dewar@adacore.com> - - * sem_ch13.adb (Unchecked_Conversions): Store source location instead - of node for location for warning messages. - - * gnatchop.adb: Minor reformatting - -2009-04-15 Ed Schonberg <schonberg@adacore.com> - - * exp_ch6.adb: additional guard for renaming declarations for in - parameters of an array type. - -2009-04-15 Robert Dewar <dewar@adacore.com> - - * sem_eval.adb (Get_Static_Length): Go to origin node for array bounds - in case they were rewritten by expander (Force_Evaluation). - - * targparm.adb (Get_Target_Parameters): Correct check for - Suppress_Exception_Locations. - -2009-04-15 Ed Schonberg <schonberg@adacore.com> - - * exp_ch6.adb (Expand_Inlined_Call): If an in-parameter in a call to be - inlined is of an array type that is not bit-packed, use a renaming - declaration to capture its value, rather than a constant declaration. - -2009-04-15 Robert Dewar <dewar@adacore.com> - - * rtsfind.adb: Minor reformatting. - -2009-04-15 Emmanuel Briot <briot@adacore.com> - - * prj-part.adb, prj-tree.adb, prj-tree.ads (Restore_And_Free): renames - Restore, and free the saved context. - -2009-04-15 Gary Dismukes <dismukes@adacore.com> - - * sem_ch3.adb (Analyze_Private_Extension_Declaration): Move error check - for illegal private extension from a synchronized interface parent in - front of check for illegal limited extension so that limited extension - from a synchronized interface will be rejected. - (Check_Ifaces): Check that a private extension that has a synchronized - interface as a progenitor must be explicitly declared synchronized. - Also check that a record extension cannot derive from a synchronized - interface. - -2009-04-15 Pascal Obry <obry@adacore.com> - - * adaint.h (__gnat_unlink): Add spec. - (__gnat_rename): Likewise. - -2009-04-15 Vincent Celier <celier@adacore.com> - - * prj-nmsc.adb: Minor spelling error corrections in error messages - -2009-04-15 Robert Dewar <dewar@adacore.com> - - * sinfo.ads: Minor comment update - - * opt.ads: Minor comment updates - - * checks.adb (Enable_Overflow_Check): Do not set Do_Overflow_Check for - modular type. - -2009-04-15 Ed Schonberg <schonberg@adacore.com> - - * exp_disp.ads, exp_disp.adb (Register_Primitive): Is now a function - that generates the code needed to update a dispatch table when a - primitive operation is declared with a subprogram body without previous - spec. Insertion of the generated code is responsibility of the caller. - (Make_DT): When building static tables, append the code created by - Register_Primitive to update a secondary table after it has been - constructed. - - * exp_ch3.adb, exp_ch6.adb: use new version of Register_Primitive. - - * sem_disp.adb (Check_Dispatching_Operation): Call Register_Primitive - on an overriding operation that implements an interface operation only - if not building static dispatch tables. - -2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> - - * a-caldel-vms.adb (To_Duration): Declare a "safe" end of time which - does not cause overflow when converted to Duration. Use the safe value - as the maximum allowable time delay.. - -2009-04-15 Jerome Lambourg <lambourg@adacore.com> - - * g-comlin.adb (Set_Command_Line): When adding a switch with attached - parameter, specify that the delimiter is NUL, otherwise "-j2" will be - translated to "-j 2". - -2009-04-15 Bob Duff <duff@adacore.com> - - * rtsfind.adb (Maybe_Add_With): Split out procedure to add implicit - with_clauses, to avoid code duplication. Change this processing so we - always add a with_clause on the main unit if needed. - -2009-04-15 Pascal Obry <obry@adacore.com> - - Add support for Win32 native encoding for delete/rename routines. - - * adaint.c (__gnat_unlink): New routine. - (__gnat_rename): New routine. - Simple wrapper routines used to convert to proper encoding on - Windows. - - * s-os_lib.adb: Use __gnat_unlink and __gnat_rename instead of direct - call to the C library. - - * g-sercom-mingw.adb, s-win32.ads: Update Win32 binding. - -2009-04-15 Robert Dewar <dewar@adacore.com> - - * s-tassta.adb: Minor reformatting - -2009-04-15 Robert Dewar <dewar@adacore.com> - - * frontend.adb (Frontend): Set proper default for - Warn_On_Non_Local_Exception. - - * opt.ads (Exception_Handler_Encountered): New flag - (No_Warn_On_Non_Local_Exception): New flag - - * par-ch11.adb (P_Exception_Handler): Set Exception_Handler_Encountered - - * sem_warn.adb (Set_Warning_Switch): Set No_Warn_On_Non_Local_Exception - (Set_Dot_Warning_Switch): Set No_Warn_On_Non_Local_Exception - -2009-04-15 Cyrille Comar <comar@adacore.com> - - * s-tassta.adb, a-exextr.adb, a-elchha.adb - (Ada.Exception.Last_Chance_Handler): Do not print unhandled exception - message when exception traces are active since it would generate - redundant information. - (Exception_Traces.Notify_Exception): put message output by a critical - section to avoid unsynchronized output. - (Trace_Unhandled_Exception_In_Task): put message output by a critical - section to avoid unsynchronized output. - -2009-04-15 Emmanuel Briot <briot@adacore.com> - - * g-comlin.adb, prj-tree.adb, prj-tree.ads, prj.adb, prj.ads - (Free): New subprogram. - -2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> - - * a-calend.adb: Add new constant Nanos_In_Four_Years. - (Formatting_Operations.Time_Of): Change the way four year chunks of - nanoseconds are added to the intermediate result. - -2009-04-15 Nicolas Setton <setton@adacore.com> - - * sysdep.c: Add __APPLE__ in the list of systems where get_immediate - does not need to wait for a carriage return. - -2009-04-15 Tristan Gingold <gingold@adacore.com> - - * bindgen.adb: Do not generate adafinal if No_Finalization restriction - is set. - -2009-04-15 Ed Schonberg <schonberg@adacore.com> - - * freeze.adb (Freeze_Entity): improve error message for improper use of - incomplete types. - Diagnose additional illegal uses of incomplete types in formal parts. - appearing in formal parts. - - * sem_ch6.adb (Process_Formals, Analyze_Return_Type): ditto. - -2009-04-15 Robert Dewar <dewar@adacore.com> - - * exp_ch4.adb (Expand_N_Allocator): Install test for object too large. - -2009-04-15 Nicolas Roche <roche@adacore.com> - - * adaint.c: Add function __gnat_lwp_self that retrieves the LWP of the - current thread. - - * s-osinte-linux.ads: Import the __gnat_lwp_self function as lwp_self - - * s-taprop-linux.adb (Enter_Task): Store the LWP in the TCB - -2009-04-15 Ed Schonberg <schonberg@adacore.com> - - * sem_ch4.adb: improve error message on exponentiation. - -2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> - - * a-calend.adb: Move constant Epoch_Offset from package - Conversion_Operations to top level. - (Delay_Operations.To_Duration): Define a constant which represents - "end of time" and use it as a guard against very distant delay dates. - Protect the code against overflow when performing the origin shift to - Unix time. - -2009-04-15 Robert Dewar <dewar@adacore.com> - - * sem_prag.adb: Minor reformatting. - - * sem_type.adb: Minor reformatting - -2009-04-15 Javier Miranda <miranda@adacore.com> - - * sem_ch6.adb (Analyze_Abstract_Subprogram_Declaration): Add missing - support to check eliminated subprograms. - - * sem_elim.ads (Eliminate_Error_Msg): Update documentation. - - * sem_elim.adb (Set_Eliminated): Add support for elimination of - dispatching subprograms. - - * exp_disp.adb (Make_DT): Minor code cleanup when freezing primitive - operations. Initialize with "null" the slots of eliminated dispaching - primitives. - (Write_DT): Add output for eliminated primitives. - - * sem_disp.adb (Check_Dispatching_Call): Check eliminated primitives. - -2009-04-15 Ed Schonberg <schonberg@adacore.com> - - * sem_ch8.adb (Use_One_Type): If both clauses appear on the same unit, - the second is redundant, regardless of scopes. - -2009-04-15 Vincent Celier <celier@adacore.com> - - * prj-nmsc.adb (Get_Directories): Check for sources before checking - the object directory as when there are no sources, they may not be any - object directory. - - * make.adb (Gnatmake): Do not attempt to get the path name of the exec - directory, when there are no exec directory. - -2009-04-15 Ed Schonberg <schonberg@adacore.com> - - * sem_type.adb (Remove_Conversions): In order to resolve spurious - ambiguities, refine removal of universal interpretations from complex - expressions with literal arguments, when some numeric operators have - been declared abstract. - -2009-04-15 Ed Falis <falis@adacore.com> - - * init.c: Map SIGSEGV to Storage_Error for all targets for uniformity - and backward compatibility for targets using probing for stack overflow - -2009-04-15 Ed Schonberg <schonberg@adacore.com> - - * sem_prag.adb (Analyze_Pragma, case 'Obsolescent): Pragma is legal - after any declaration, including renaming declarations. - -2009-04-15 Arnaud Charlet <charlet@adacore.com> - - * gcc-interface/Make-lang.in: Update dependencies. - - * gcc-interface/Makefile.in: Fix VxWorks target pairs. - Update xenomai target pairs. - -2009-04-15 Javier Miranda <miranda@adacore.com> - - * exp_ch4.adb (Expand_N_Allocator): Code cleanup. - - * sem_ch6.adb (Check_Anonymous_Return): Add missing support for - functions returning anonymous access to class-wide limited types. Mark - also the containing scope as a task master. - - * sem_ch8.adb (Restore_Scope_Stack): Add missing management for - limited-withed packages. Required to restore their visibility after - processing packages associated with implicit with-clauses. - - * exp_ch3.adb (Build_Class_Wide_Master): Avoid marking masters - associated with return statements because this work is now done by - Check_Anonymous_Return. - (Build_Master): Code cleanup. - -2009-04-15 Thomas Quinot <quinot@adacore.com> - - * sem_warn.ads: Minor reformatting - -2009-04-15 Ed Schonberg <schonberg@adacore.com> - - * sem_ch3.adb: better error message for illegal interfaces - - * sem_ch6.adb (Possible_Freeze): Delay freezing a subprogram if a - formal is an incomplete type from a limited_with clause. - -2009-04-15 Vincent Celier <celier@adacore.com> - - * prj-nmsc.adb (Locate_Directory): New Boolean parameter - Externally_Built indicating if the project is externally built. If it - is, and --subdirs is specified, but the subdir does not exist, look - for the specified directory, without the subdir. - -2009-04-15 Gary Dismukes <dismukes@adacore.com> - - * a-tasatt.adb: Fix typo, plus minor reformatting - - * sem_ch3.ads: Add missing hyphen ("class wide" => "class-wide"). - - * sem_ch10.adb: Add missing hyphen ("use visible" => "use-visible"). - -2009-04-15 Ed Schonberg <schonberg@adacore.com> - - * sem_ch3.adb (Analyze_Private_Extension_Declaration): Verify that a - private extension whose parent is a synchronized interface carries an - explicit synchronized keyword. - -2009-04-15 Thomas Quinot <quinot@adacore.com> - - * exp_smem.adb (Make_Shared_Var_Procs): For a protected type, - instantiate generic shared object package with the corresponding - record type. - -2009-04-15 Arnaud Charlet <charlet@adacore.com> - - * system-linux-sparc.ads: Remove obsolete entries. - -2009-04-15 Thomas Quinot <quinot@adacore.com> - - * s-tasuti.ads: Add ??? comment - -2009-04-15 Ed Schonberg <schonberg@adacore.com> - - * sem_ch3.adb (Analyze_Type_Declaration): Create freeze node for access - type even if the designated type comes from a limited_with clause, to - ensure that the symbol for the finalization list of the access type is - created. - -2009-04-10 Robert Dewar <dewar@adacore.com> - - * sem_warn.ads, sem_warn.adb (Check_Low_Bound_Tested): Catch more cases - for warning suppression. - -2009-04-10 Ed Schonberg <schonberg@adacore.com> - - * sem_ch8.adb (Use_One_Type): If the two use_type clauses are - identical, there is no redudancy to check. - -2009-04-10 Gary Dismukes <dismukes@adacore.com> - - * exp_ch5.adb (Expand_N_Extended_Return_Statement): Delete redundant - calls initializing SS_Allocator (which is initialized in following - code). - (Expand_Simple_Function_Return): Add comment about False value for - Comes_From_Source on secondary-stack allocator. - - * exp_ch9.adb (Build_Entry_Family_Name): Add comment. - (Build_Entry_Name): Add comment. - -2009-04-10 Robert Dewar <dewar@adacore.com> - - * einfo.ads, einfo.adb (Low_Bound_Tested): New name for Low_Bound_Known - - * sem_prag.adb (Analyze_Pragma, case Check): Remove check for lower - bound tested, since this is now done more generally in Sem_Res. - - * sem_res.adb (Resolve_Comparison_Op): Add call to - Check_Lower_Bound_Tested. - (Resolve_Equality_Op): Add call to Check_Lower_Bound_Tested - - * sem_warn.ads, sem_warn.adb (Check_Low_Bound_Tested): New procedure - (Low_Bound_Tested): New name for Low_Bound_Known flag - - * exp_ch5.adb: Minor reformatting - - * exp_ch4.adb: - Add comments on copying the Comes_From_Source flag for allocators - - * sinfo.ads: - Add comments on copying the Comes_From_Source flag for allocators - - * exp_ch6.adb (Make_Build_In_Place_Call_In_Allocator): Copy - Comes_From_Source flag from old allocator to new one. - -2009-04-10 Ed Schonberg <schonberg@adacore.com> - - * sem_ch6.ads: Address missing documentation query - -2009-04-10 Vincent Celier <celier@adacore.com> - - * prj-attr.adb: - Add new Linker attributes Max_Command_Line_Length, Response_File_Format - and Response_File_Switches. - - * prj-nmsc.adb (Process_Linker): Process new attributes - Max_Command_Line_Length, Response_File_Format and - Response_File_Switches. - - * prj.ads (Response_File_Format): New enumeration type - (Project_Configuration): New componants Max_Command_Line_Length, - Resp_File_Format and Resp_File_Options. - - * snames.ads-tmpl: Add new standard names for linking response files - for gprbuild: GNU, None, Object_List, Option_List, - Max_Command_Line_Length, Response_File_Format and - Response_File_Switches. - -2009-04-10 Geert Bosch <bosch@adacore.com> - - * system-aix.ads, system-darwin-ppc.ads, system-darwin-x86.ads, - system-freebsd-x86.ads, system-hpux.ads, system-hpux-ia64.ads, - system-irix-n32.ads, system-irix-o32.ads, system-linux-alpha.ads, - system-linux-hppa.ads, system-linux-ia64.ads, system-linux-ppc.ads, - system-linux-s390.ads, system-linux-s390x.ads, system-linux-sh4.ads, - system-linux-sparc.ads, system-linux-x86_64.ads, system-linux-x86.ads, - system-mingw.ads, system-solaris-sparc.ads, system-solaris-sparcv9.ads, - system-solaris-x86.ads, system-tru64.ads, system-vms_64.ads, - system-vms.ads, system-vms-ia64.ads, system-vms-zcx.ads, - system-vxworks-arm.ads, system-vxworks-m68k.ads, - system-vxworks-mips.ads, system-vxworks-ppc.ads, - system-vxworks-sparcv9.ads, system-vxworks-x86.ads - (Backend_Overflow_Checks): Set to True. - -2009-04-10 Thomas Quinot <quinot@adacore.com> - - * exp_attr.adb: Minor reformatting - -2009-04-10 Ed Schonberg <schonberg@adacore.com> - - * sem_prag.adb (Check_Precondition_Postcondition): Within a generic, - analyze the expression for a postcondition, even if the compiler mode - is Generate_Code. - -2009-04-10 Robert Dewar <dewar@adacore.com> - - * sem_aux.adb: Minor reformatting - -2009-04-10 Ed Falis <falis@adacore.com> - - * init.c: Change VxWorks 6 stack overflow checking for kernel apps. - - * system-vxworks-ppc.ads, system-vxworks-x86.ads: Update header. - -2009-04-10 Thomas Quinot <quinot@adacore.com> - - * sem_ch6.ads (Check_Subtype_Conformant): Add ??? comment for - undocumented formal. - Minor reformatting - - * a-direio.ads: Fix typo in comment - - * sem_ch3.adb, g-dirope.adb, sem_type.adb, sem_ch12.adb, sem_case.adb, - errout.adb, sem_ch4.adb, sem_ch11.adb, exp_dist.adb, sem_ch13.adb: - Use uniform phrasing for comment at start of subprogram body. - - * xsnamest.adb: Add note to explain why we use specific names for the - newly generated files instead of generating snames.{ads,adb,h} directly - -2009-04-10 Sergey Rybin <rybin@adacore.com> - - * vms_data.ads: - Add qualifier for new gnatstub option '--no-exception' - - * gnat_ugn.texi: - Add the description of the new gnatstub option '--no-exception' - -2009-04-10 Robert Dewar <dewar@adacore.com> - - * rtsfind.adb: Minor reformatting - -2009-04-10 Thomas Quinot <quinot@adacore.com> - - * sem_disp.adb: Minor reformatting. - Add comment pointing to RM clause for the case of warning against a - (failed) attempt at declaring a primitive operation elsewhere than in a - package spec. - -2009-04-10 Ed Schonberg <schonberg@adacore.com> - - * sem_ch12.adb (Denotes_Formal_Package): Check whether the package is - an actual for a previous formal package of the current instance. - -2009-04-10 Bob Duff <duff@adacore.com> - - * rtsfind.adb (RTE): Put implicit with_clauses on whatever unit needs - them first, rather than on the extended main unit. - -2009-04-10 Ed Schonberg <schonberg@adacore.com> - - * sem_ch6.adb (Check_Discriminant_Conformance): If discriminant - specification of full view carries a null exclusion indicator, create - an itype for it, to check for conformance with partial view. - -2009-04-10 Bob Duff <duff@adacore.com> - - * rtsfind.ads: Minor code change: make RE_Unit_Table constant. - - * rtsfind.adb: Minor comment changes, and remove useless code. - - * sinfo.ads: Add ??? comment. - -2009-04-10 Vincent Celier <celier@adacore.com> - - * vms_data.ads: Add missing GNAT SYNC VMS qualifiers -main= and -U - -2009-04-10 Ed Schonberg <schonberg@adacore.com> - - * exp_attr.adb (Expand_N_Attribute_Reference, case 'Tag): If the tagged - type is a synchronized type, retrieve tag information from the - corresponding record, which has the dispatch table link. - -2009-04-10 Jerome Lambourg <lambourg@adacore.com> - - * g-comlin.adb (Group_Analysis): Take care of switches that might be - decomposed afterwards, but are present as-is in the command line - configuration, and thus should be kept as-is. - -2009-04-10 Robert Dewar <dewar@adacore.com> - - * gnat_rm.texi: Document that postconditions are tested on implicit - returns. - - * sem_aux.adb: Minor reformatting - -2009-04-10 Gary Dismukes <dismukes@adacore.com> - - * itypes.adb (Create_Null_Excluding_Itype): Apply Base_Type when - setting Etype. - - * par-ch3.adb (P_Access_Type_Definition): Set new attribute - Null_Exclusion_In_Return_Present when an access-to-function type has a - result type with an explicit not null. - - * sem_ch3.adb (Access_Subprogram_Definition): If a null exclusion is - given on the result type, then create a null-excluding itype for the - function. - - * sem_ch6.adb (Analyze_Return_Type): Create a null-excluding itype in - the case where a null exclusion is imposed on a named access type. - (Analyze_Subprogram_Specification): Push and pop the scope of the - function around the call to Analyze_Return_Type in the case of no - formals, for consistency with handling when formals are present - (Process_Formals does this). Ensures that any itype created for the - return type will be associated with the proper scope. - - * sem_ch12.adb (Analyze_Generic_Subprogram_Declaration): If a null - exclusion is given on a generic function's result type, then create a - null-excluding itype for the generic function. - (Instantiate_Object): Set Null_Exclusion_Present of a constant created - for an actual for a formal in object according to the setting on the - formal. Ensures null exclusion checks are done when the association is - elaborated. - - * sinfo.ads: Add new flag Null_Exclusion_In_Return_Present on - N_Access_Function_Definition. - - * sinfo.adb: Add Get_ and Set_ operations for - Null_Exclusion_In_Return_Present. - -2009-04-10 Bob Duff <duff@adacore.com> - - * exp_ch5.adb, exp_ch6.adb, sem_ch6.adb: Move the code that creates a - call to the _Postconditions procedure in the case of implicit returns - from analysis to expansion. This eliminates some duplicated code. Use - the Postcondition_Proc to find the identity of this procedure during - expansion. - -2009-04-10 Robert Dewar <dewar@adacore.com> - - * sem_ch6.adb: Minor code clean up. - - * einfo.ads, sem_attr.adb: Minor comment fixes. - -2009-04-10 Robert Dewar <dewar@adacore.com> - - * sem_ch8.adb: Minor reformatting - -2009-04-10 Robert Dewar <dewar@adacore.com> - - * einfo.ads, einfo.adb (Postcondition_Proc): New attribute for - procedures. - - * sem_ch6.adb: Minor code clean up. - -2009-04-10 Robert Dewar <dewar@adacore.com> - - * mlib-tgt-specific-xi.adb: Minor reformatting - -2009-04-10 Bob Duff <duff@adacore.com> - - * einfo.ads: Minor comment fixes - -2009-04-10 Vincent Celier <celier@adacore.com> - - * snames.ads-tmpl: Remove names that are no longer used in the - Project Manager. - Mark specifically those that are used only in gprbuild - -2009-04-10 Eric Botcazou <ebotcazou@adacore.com> - - * init.c: Adjust EH support code on Alpha/Tru64. - -2009-04-10 Bob Duff <duff@adacore.com> - - * sem_ch6.adb (Process_PPCs): Add a call to the _Postconditions - procedure on every path that could return implicitly (not via a return - statement) from a procedure. - -2009-04-10 Ed Schonberg <schonberg@adacore.com> - - * exp_ch9.adb (Build_Master_Entity): An extended return statement is a - valid scope for a task declarations and therefore for a master id. - -2009-04-10 Robert Dewar <dewar@adacore.com> - - * sem_aux.adb: Minor reformatting - -2009-04-10 Vincent Celier <celier@adacore.com> - - * scn.adb (Obsolescent_Check_Flag): New Boolean flag, initialized to - True. - (Obsolescent_Check): Do nothing if Obsolescent_Check_Flag is False - (Set_Obsolescent_Check): New procedure to change the value of - Obsolescent_Check_Flag. - - * scn.ads (Set_Obsolescent_Check): New procedure to control - Obsolescent_Check. - - * sinput-l.adb (Load_File): Do not check for pragma Restrictions on - obsolescent features while preprocessing. - -2009-04-10 Thomas Quinot <quinot@adacore.com> - - * xsnamest.adb: Use XUtil to have uniform line endings (UNIX style) in - generated files on all platforms. - -2009-04-10 Robert Dewar <dewar@adacore.com> - - * sem_aux.adb: Minor reformatting - -2009-04-10 Ed Schonberg <schonberg@adacore.com> - - * sem_ch3.adb (Access_Definition): Handle properly the case of a - protected function with formals that returns an anonymous access type. - -2009-04-10 Thomas Quinot <quinot@adacore.com> - - * sem_disp.adb: Minor reformatting - -2009-04-10 Vasiliy Fofanov <fofanov@adacore.com> - - * seh_init.c: Do not use the 32-bit specific implementation of - __gnat_install_SEH_handler on 64-bit Windows target (64-bit specific - version TBD). - -2009-04-10 Jose Ruiz <ruiz@adacore.com> - - * mlib-tgt-specific-xi.adb (Get_Target_Prefix): Target_Name may contain - a '/' at the end so we better use the complete target name to determine - whether it is a PowerPC 55xx target. - -2009-04-10 Thomas Quinot <quinot@adacore.com> - - * sem_eval.adb: Minor reformatting - -2009-04-10 Thomas Quinot <quinot@adacore.com> - - * snames.h, snames.ads, snames.adb: Remove files, now generated from - templates. - - * snames.h-tmpl, snames.ads-tmpl, snames.adb-tmpl: Templates for the - above. - - * xsnamest.adb: New file. - - * gcc-interface/Make-lang.in: New target for automated generation of - snames.ads, snames.adb and snames.h - -2009-04-10 Tristan Gingold <gingold@adacore.com> - - * gcc-interface/Makefile.in, gcc-interface/utils.c: Include "rtl.h" to - avoid compile time warnings. - Do not add gcc/config in include search list while compiling the RTS. - Pragma Thread_Local_Storage is available on any target. - -2009-04-10 Bob Duff <duff@adacore.com> - - * sem.ads, par.adb, sem_ch6.adb, sem_ch8.adb: Minor comment fixes. - -2009-04-10 Tristan Gingold <gingold@adacore.com> - - * init.c: Install signal handler on Darwin. - -2009-04-10 Robert Dewar <dewar@adacore.com> - - * sem_prag.adb: Minor reformatting - - * exp_util.adb (Make_Non_Empty_Check): New function - (Silly_Boolean_Array_Not_Test): Add call to Make_Non_Empty_Check - (Silly_Boolean_Array_Xor_Test): Use Make_Non_Empty_Check - -2009-04-10 Arnaud Charlet <charlet@adacore.com> - - * make.adb, gnatlink.adb: Rename JGNAT toolchain. - -2009-04-10 Jose Ruiz <ruiz@adacore.com> - - * mlib-tgt-specific-xi.adb (Get_Target_Prefix): Insert the appropriate - tool prefix for AVR and PowerPC 55xx targets. - -2009-04-10 Robert Dewar <dewar@adacore.com> - - * sem_warn.adb (Within_Postcondition): New function - (Check_Unset_Reference): Use Within_Postcondition to stop bad warning - -2009-04-10 Robert Dewar <dewar@adacore.com> - - * sem_warn.adb: Minor reformatting - - * make.adb: Minor reformatting. - -2009-04-10 Gary Dismukes <dismukes@adacore.com> - - * exp_ch7.adb (Find_Final_List): When creating a finalization-chain - entity and the scope is a subprogram, retrieve the Sloc of the - subprogram's body rather than using the sloc of the spec, for better - line-stepping behavior in gdb. - (Wrap_Transient_Declaration): For the Sloc of nodes created with a list - controller, use the Sloc of the first declaration of the containing list - rather than that of the node that triggered creation of the list - controller. - -2009-04-10 Vincent Celier <celier@adacore.com> - - * prj-nmsc.adb (Check_Naming_Schemes): Initialize local variable Casing - to avoid gcc warning. - -2009-04-10 Robert Dewar <dewar@adacore.com> - - * g-comlin.adb: Add ??? comment - -2009-04-10 Ed Schonberg <schonberg@adacore.com> - - * sem_warn.adb (Check_Unused_Withs): Do not emit message about - unreferenced entities for a package with no visible declarations. - -2009-04-10 Robert Dewar <dewar@adacore.com> - - * exp_ch9.adb: Minor reformatting - -2009-04-10 Thomas Quinot <quinot@adacore.com> - - * sem_prag.adb: Minor reformatting - -2009-04-10 Vincent Celier <celier@adacore.com> - - * prj-nmsc.adb: - (Check_Library_Attributes): For a project qualified as a library project - that is not a library project, indicate in the error message which - attributes are missing (Library_Dir and/or Library_Name). - -2009-04-10 Bob Duff <duff@adacore.com> - - * exp_ch5.adb, exp_ch9.adb: Avoid use of No_Position in Sloc of - generated nodes, because it might confuse various circuits in the FE. - -2009-04-10 Ed Schonberg <schonberg@adacore.com> - - * sem_prag.adb (Analyze_Pragma, case Task_Name): Do not expand argument - of pragma. It will be recopied and analyzed when used in call to - Create_Task. - - * sem_res.adb (Resolve_Call): Clarify use of secondary stack within - initialization operations and recognize use of it in procedure calls - within init_procs. - - * exp_ch9.adb (Make_Task_Create_Call): Copy full tree of Task_Name - argument, because it may have side-effects. - - * exp_ch2.adb: Remove obsolete comments on default functions - -2009-04-10 Jose Ruiz <ruiz@adacore.com> - - * adaint.c (RTX section): Do for RTX the same thing as we do for - Windows (include ctype.h and define a fallback ISALPHA if IN_RTS). - -2009-04-10 Robert Dewar <dewar@adacore.com> - - * sem_aux.ads, sem_aux.adb (Nearest_Current_Scope): New function. - - * sem_res.adb (Resolve_Call): Fix test for - Suppress_Value_Tracking_On_Call (was wrong for the case of a call from - a non-dynamic scope). - -2009-04-10 Robert Dewar <dewar@adacore.com> - - * make.adb: Add comment. - Minor reformatting - -2009-04-10 Nicolas Setton <setton@adacore.com> - - * s-osprim-darwin.adb: New file. - - * s-osinte-darwin.adb, s-osinte-darwin.ads: Fix binding to timespec. - -2009-04-10 Thomas Quinot <quinot@adacore.com> - - * g-socket.ads: Add comment clarifying alignment requirement for Fd_Set - -2009-04-09 Nick Clifton <nickc@redhat.com> - - * adadecode.h: Change copyright header to refer to version - 3 of the GNU General Public License with version 3.1 of the - GCC Runtime Library Exception and to point readers at the - COPYING3 and COPYING3.RUNTIME files and the FSF's license web - page. - * 9drpc.adb: Likewise. - * a-assert.adb: Likewise. - * a-astaco.adb: Likewise. - * a-calari.adb: Likewise. - * a-calcon.adb: Likewise. - * a-calcon.ads: Likewise. - * a-caldel.ads: Likewise. - * a-calend-vms.adb: Likewise. - * a-calend-vms.ads: Likewise. - * a-calend.adb: Likewise. - * a-calend.ads: Likewise. - * a-calfor.adb: Likewise. - * a-catizo.adb: Likewise. - * a-cdlili.adb: Likewise. - * a-cdlili.ads: Likewise. - * a-cgaaso.adb: Likewise. - * a-cgaaso.ads: Likewise. - * a-cgarso.adb: Likewise. - * a-cgcaso.adb: Likewise. - * a-chacon.adb: Likewise. - * a-chacon.ads: Likewise. - * a-chahan.adb: Likewise. - * a-chahan.ads: Likewise. - * a-chlat9.ads: Likewise. - * a-chtgke.adb: Likewise. - * a-chtgke.ads: Likewise. - * a-chtgop.adb: Likewise. - * a-chtgop.ads: Likewise. - * a-chzla1.ads: Likewise. - * a-chzla9.ads: Likewise. - * a-cidlli.adb: Likewise. - * a-cidlli.ads: Likewise. - * a-cihama.adb: Likewise. - * a-cihama.ads: Likewise. - * a-cihase.adb: Likewise. - * a-cihase.ads: Likewise. - * a-ciorma.adb: Likewise. - * a-ciorma.ads: Likewise. - * a-ciormu.adb: Likewise. - * a-ciormu.ads: Likewise. - * a-ciorse.adb: Likewise. - * a-ciorse.ads: Likewise. - * a-clrefi.adb: Likewise. - * a-clrefi.ads: Likewise. - * a-cohama.adb: Likewise. - * a-cohama.ads: Likewise. - * a-cohase.adb: Likewise. - * a-cohase.ads: Likewise. - * a-cohata.ads: Likewise. - * a-coinve.adb: Likewise. - * a-coinve.ads: Likewise. - * a-colien.adb: Likewise. - * a-colien.ads: Likewise. - * a-colire.adb: Likewise. - * a-colire.ads: Likewise. - * a-comlin.adb: Likewise. - * a-comlin.ads: Likewise. - * a-convec.adb: Likewise. - * a-convec.ads: Likewise. - * a-coorma.adb: Likewise. - * a-coorma.ads: Likewise. - * a-coormu.adb: Likewise. - * a-coormu.ads: Likewise. - * a-coorse.adb: Likewise. - * a-coorse.ads: Likewise. - * a-coprnu.adb: Likewise. - * a-coprnu.ads: Likewise. - * a-crbltr.ads: Likewise. - * a-crbtgk.adb: Likewise. - * a-crbtgk.ads: Likewise. - * a-crbtgo.adb: Likewise. - * a-crbtgo.ads: Likewise. - * a-crdlli.adb: Likewise. - * a-crdlli.ads: Likewise. - * a-cwila1.ads: Likewise. - * a-cwila9.ads: Likewise. - * a-decima.adb: Likewise. - * a-decima.ads: Likewise. - * a-diocst.adb: Likewise. - * a-diocst.ads: Likewise. - * a-direct.adb: Likewise. - * a-direct.ads: Likewise. - * a-direio.adb: Likewise. - * a-direio.ads: Likewise. - * a-dirval-mingw.adb: Likewise. - * a-dirval-vms.adb: Likewise. - * a-dirval.adb: Likewise. - * a-dirval.ads: Likewise. - * a-dynpri.adb: Likewise. - * a-einuoc.adb: Likewise. - * a-einuoc.ads: Likewise. - * a-elchha.adb: Likewise. - * a-elchha.ads: Likewise. - * a-envvar.adb: Likewise. - * a-excach.adb: Likewise. - * a-except-2005.adb: Likewise. - * a-except-2005.ads: Likewise. - * a-except.adb: Likewise. - * a-except.ads: Likewise. - * a-excpol-abort.adb: Likewise. - * a-excpol.adb: Likewise. - * a-exctra.adb: Likewise. - * a-exctra.ads: Likewise. - * a-exetim-mingw.adb: Likewise. - * a-exetim-mingw.ads: Likewise. - * a-exexda.adb: Likewise. - * a-exexpr-gcc.adb: Likewise. - * a-exexpr.adb: Likewise. - * a-exextr.adb: Likewise. - * a-exstat.adb: Likewise. - * a-filico.adb: Likewise. - * a-filico.ads: Likewise. - * a-finali.adb: Likewise. - * a-finali.ads: Likewise. - * a-interr.ads: Likewise. - * a-intnam-aix.ads: Likewise. - * a-intnam-darwin.ads: Likewise. - * a-intnam-dummy.ads: Likewise. - * a-intnam-freebsd.ads: Likewise. - * a-intnam-hpux.ads: Likewise. - * a-intnam-irix.ads: Likewise. - * a-intnam-linux.ads: Likewise. - * a-intnam-lynxos.ads: Likewise. - * a-intnam-mingw.ads: Likewise. - * a-intnam-rtems.ads: Likewise. - * a-intnam-solaris.ads: Likewise. - * a-intnam-tru64.ads: Likewise. - * a-intnam-vms.ads: Likewise. - * a-intnam-vxworks.ads: Likewise. - * a-intsig.adb: Likewise. - * a-intsig.ads: Likewise. - * a-ngcefu.adb: Likewise. - * a-ngcoar.adb: Likewise. - * a-ngcoty.adb: Likewise. - * a-ngcoty.ads: Likewise. - * a-ngelfu.adb: Likewise. - * a-ngrear.adb: Likewise. - * a-ngrear.ads: Likewise. - * a-nudira.adb: Likewise. - * a-nudira.ads: Likewise. - * a-nuflra.adb: Likewise. - * a-nuflra.ads: Likewise. - * a-numaux-darwin.adb: Likewise. - * a-numaux-darwin.ads: Likewise. - * a-numaux-libc-x86.ads: Likewise. - * a-numaux-vxworks.ads: Likewise. - * a-numaux-x86.adb: Likewise. - * a-numaux-x86.ads: Likewise. - * a-numaux.ads: Likewise. - * a-rbtgso.adb: Likewise. - * a-rbtgso.ads: Likewise. - * a-reatim.ads: Likewise. - * a-retide.adb: Likewise. - * a-retide.ads: Likewise. - * a-rttiev.adb: Likewise. - * a-rttiev.ads: Likewise. - * a-secain.adb: Likewise. - * a-secain.ads: Likewise. - * a-sequio.adb: Likewise. - * a-sequio.ads: Likewise. - * a-shcain.adb: Likewise. - * a-shcain.ads: Likewise. - * a-siocst.adb: Likewise. - * a-siocst.ads: Likewise. - * a-slcain.adb: Likewise. - * a-slcain.ads: Likewise. - * a-ssicst.adb: Likewise. - * a-ssicst.ads: Likewise. - * a-stboha.adb: Likewise. - * a-stmaco.ads: Likewise. - * a-storio.adb: Likewise. - * a-strbou.adb: Likewise. - * a-strbou.ads: Likewise. - * a-stream.ads: Likewise. - * a-strfix.adb: Likewise. - * a-strhas.adb: Likewise. - * a-strmap.adb: Likewise. - * a-strmap.ads: Likewise. - * a-strsea.adb: Likewise. - * a-strsea.ads: Likewise. - * a-strsup.adb: Likewise. - * a-strsup.ads: Likewise. - * a-strunb.adb: Likewise. - * a-strunb.ads: Likewise. - * a-ststio.adb: Likewise. - * a-ststio.ads: Likewise. - * a-stunau.adb: Likewise. - * a-stunau.ads: Likewise. - * a-stunha.adb: Likewise. - * a-stwibo.adb: Likewise. - * a-stwibo.ads: Likewise. - * a-stwifi.adb: Likewise. - * a-stwiha.adb: Likewise. - * a-stwima.adb: Likewise. - * a-stwima.ads: Likewise. - * a-stwise.adb: Likewise. - * a-stwise.ads: Likewise. - * a-stwisu.adb: Likewise. - * a-stwisu.ads: Likewise. - * a-stwiun.adb: Likewise. - * a-stwiun.ads: Likewise. - * a-stzbou.adb: Likewise. - * a-stzbou.ads: Likewise. - * a-stzfix.adb: Likewise. - * a-stzhas.adb: Likewise. - * a-stzmap.adb: Likewise. - * a-stzmap.ads: Likewise. - * a-stzsea.adb: Likewise. - * a-stzsea.ads: Likewise. - * a-stzsup.adb: Likewise. - * a-stzsup.ads: Likewise. - * a-stzunb.adb: Likewise. - * a-stzunb.ads: Likewise. - * a-suteio.adb: Likewise. - * a-suteio.ads: Likewise. - * a-swbwha.adb: Likewise. - * a-swmwco.ads: Likewise. - * a-swunau.adb: Likewise. - * a-swunau.ads: Likewise. - * a-swuwha.adb: Likewise. - * a-swuwti.adb: Likewise. - * a-swuwti.ads: Likewise. - * a-sytaco.adb: Likewise. - * a-sytaco.ads: Likewise. - * a-szbzha.adb: Likewise. - * a-szmzco.ads: Likewise. - * a-szunau.adb: Likewise. - * a-szunau.ads: Likewise. - * a-szuzha.adb: Likewise. - * a-szuzti.adb: Likewise. - * a-szuzti.ads: Likewise. - * a-tags.adb: Likewise. - * a-tags.ads: Likewise. - * a-tasatt.ads: Likewise. - * a-taside.adb: Likewise. - * a-taside.ads: Likewise. - * a-taster.adb: Likewise. - * a-teioed.adb: Likewise. - * a-teioed.ads: Likewise. - * a-textio.adb: Likewise. - * a-textio.ads: Likewise. - * a-tiboio.adb: Likewise. - * a-ticoau.adb: Likewise. - * a-ticoau.ads: Likewise. - * a-ticoio.adb: Likewise. - * a-ticoio.ads: Likewise. - * a-tideau.adb: Likewise. - * a-tideau.ads: Likewise. - * a-tideio.adb: Likewise. - * a-tideio.ads: Likewise. - * a-tienau.adb: Likewise. - * a-tienau.ads: Likewise. - * a-tienio.adb: Likewise. - * a-tienio.ads: Likewise. - * a-tifiio.adb: Likewise. - * a-tifiio.ads: Likewise. - * a-tiflau.adb: Likewise. - * a-tiflau.ads: Likewise. - * a-tiflio.adb: Likewise. - * a-tiflio.ads: Likewise. - * a-tigeau.adb: Likewise. - * a-tigeau.ads: Likewise. - * a-tiinau.adb: Likewise. - * a-tiinau.ads: Likewise. - * a-tiinio.adb: Likewise. - * a-tiinio.ads: Likewise. - * a-timoau.adb: Likewise. - * a-timoau.ads: Likewise. - * a-timoio.adb: Likewise. - * a-timoio.ads: Likewise. - * a-tiocst.adb: Likewise. - * a-tiocst.ads: Likewise. - * a-titest.adb: Likewise. - * a-wichun.adb: Likewise. - * a-wichun.ads: Likewise. - * a-witeio.adb: Likewise. - * a-witeio.ads: Likewise. - * a-wtcoau.adb: Likewise. - * a-wtcoau.ads: Likewise. - * a-wtcoio.adb: Likewise. - * a-wtcstr.adb: Likewise. - * a-wtcstr.ads: Likewise. - * a-wtdeau.adb: Likewise. - * a-wtdeau.ads: Likewise. - * a-wtdeio.adb: Likewise. - * a-wtdeio.ads: Likewise. - * a-wtedit.adb: Likewise. - * a-wtedit.ads: Likewise. - * a-wtenau.adb: Likewise. - * a-wtenau.ads: Likewise. - * a-wtenio.adb: Likewise. - * a-wtenio.ads: Likewise. - * a-wtfiio.adb: Likewise. - * a-wtfiio.ads: Likewise. - * a-wtflau.adb: Likewise. - * a-wtflau.ads: Likewise. - * a-wtflio.adb: Likewise. - * a-wtflio.ads: Likewise. - * a-wtgeau.adb: Likewise. - * a-wtgeau.ads: Likewise. - * a-wtinau.adb: Likewise. - * a-wtinau.ads: Likewise. - * a-wtinio.adb: Likewise. - * a-wtmoau.adb: Likewise. - * a-wtmoau.ads: Likewise. - * a-wtmoio.adb: Likewise. - * a-wtmoio.ads: Likewise. - * a-wttest.adb: Likewise. - * a-wwboio.adb: Likewise. - * a-zchuni.adb: Likewise. - * a-zchuni.ads: Likewise. - * a-ztcoau.adb: Likewise. - * a-ztcoau.ads: Likewise. - * a-ztcoio.adb: Likewise. - * a-ztcstr.adb: Likewise. - * a-ztcstr.ads: Likewise. - * a-ztdeau.adb: Likewise. - * a-ztdeau.ads: Likewise. - * a-ztdeio.adb: Likewise. - * a-ztdeio.ads: Likewise. - * a-ztedit.adb: Likewise. - * a-ztedit.ads: Likewise. - * a-ztenau.adb: Likewise. - * a-ztenau.ads: Likewise. - * a-ztenio.adb: Likewise. - * a-ztenio.ads: Likewise. - * a-ztexio.adb: Likewise. - * a-ztexio.ads: Likewise. - * a-ztfiio.adb: Likewise. - * a-ztfiio.ads: Likewise. - * a-ztflau.adb: Likewise. - * a-ztflau.ads: Likewise. - * a-ztflio.adb: Likewise. - * a-ztflio.ads: Likewise. - * a-ztgeau.adb: Likewise. - * a-ztgeau.ads: Likewise. - * a-ztinau.adb: Likewise. - * a-ztinau.ads: Likewise. - * a-ztinio.adb: Likewise. - * a-ztmoau.adb: Likewise. - * a-ztmoau.ads: Likewise. - * a-ztmoio.adb: Likewise. - * a-ztmoio.ads: Likewise. - * a-zttest.adb: Likewise. - * a-zzboio.adb: Likewise. - * adadecode.c: Likewise. - * adaint.c: Likewise. - * adaint.h: Likewise. - * alloc.ads: Likewise. - * argv.c: Likewise. - * arit64.c: Likewise. - * atree.adb: Likewise. - * atree.ads: Likewise. - * aux-io.c: Likewise. - * cal.c: Likewise. - * casing.adb: Likewise. - * casing.ads: Likewise. - * cio.c: Likewise. - * csets.adb: Likewise. - * csets.ads: Likewise. - * cstreams.c: Likewise. - * ctrl_c.c: Likewise. - * debug.adb: Likewise. - * debug.ads: Likewise. - * dec.ads: Likewise. - * einfo.adb: Likewise. - * einfo.ads: Likewise. - * elists.adb: Likewise. - * elists.ads: Likewise. - * env.c: Likewise. - * env.h: Likewise. - * errno.c: Likewise. - * exit.c: Likewise. - * fe.h: Likewise. - * final.c: Likewise. - * fname.adb: Likewise. - * fname.ads: Likewise. - * g-allein.ads: Likewise. - * g-alleve.adb: Likewise. - * g-alleve.ads: Likewise. - * g-altcon.adb: Likewise. - * g-altcon.ads: Likewise. - * g-altive.ads: Likewise. - * g-alveop.adb: Likewise. - * g-alveop.ads: Likewise. - * g-alvety.ads: Likewise. - * g-alvevi.ads: Likewise. - * g-arrspl.adb: Likewise. - * g-arrspl.ads: Likewise. - * g-calend.ads: Likewise. - * g-comlin.adb: Likewise. - * g-debpoo.adb: Likewise. - * g-debpoo.ads: Likewise. - * g-eacodu-vms.adb: Likewise. - * g-eacodu.adb: Likewise. - * g-excact.adb: Likewise. - * g-excact.ads: Likewise. - * g-locfil.adb: Likewise. - * g-os_lib.ads: Likewise. - * g-rannum.adb: Likewise. - * g-rannum.ads: Likewise. - * g-regist.adb: Likewise. - * g-regist.ads: Likewise. - * g-signal.adb: Likewise. - * g-signal.ads: Likewise. - * g-soccon.ads: Likewise. - * g-string.adb: Likewise. - * g-string.ads: Likewise. - * g-strspl.ads: Likewise. - * g-timsta.adb: Likewise. - * g-timsta.ads: Likewise. - * g-trasym-vms-alpha.adb: Likewise. - * g-trasym-vms-ia64.adb: Likewise. - * g-utf_32.adb: Likewise. - * g-utf_32.ads: Likewise. - * g-wistsp.ads: Likewise. - * g-zstspl.ads: Likewise. - * gmem.c: Likewise. - * gnatvsn.adb: Likewise. - * gnatvsn.ads: Likewise. - * gsocket.h: Likewise. - * hostparm.ads: Likewise. - * i-c.adb: Likewise. - * i-cexten.ads: Likewise. - * i-cobol.adb: Likewise. - * i-cobol.ads: Likewise. - * i-cpoint.adb: Likewise. - * i-cpoint.ads: Likewise. - * i-cpp.adb: Likewise. - * i-cpp.ads: Likewise. - * i-cstrea-vms.adb: Likewise. - * i-cstrea.adb: Likewise. - * i-cstrea.ads: Likewise. - * i-cstrin.adb: Likewise. - * i-cstrin.ads: Likewise. - * i-forbla-darwin.adb: Likewise. - * i-forbla-unimplemented.ads: Likewise. - * i-forbla.adb: Likewise. - * i-forbla.ads: Likewise. - * i-forlap.ads: Likewise. - * i-fortra.adb: Likewise. - * i-pacdec.adb: Likewise. - * i-pacdec.ads: Likewise. - * i-vxwoio.adb: Likewise. - * i-vxwoio.ads: Likewise. - * indepsw-aix.adb: Likewise. - * indepsw-gnu.adb: Likewise. - * indepsw-mingw.adb: Likewise. - * indepsw.adb: Likewise. - * indepsw.ads: Likewise. - * init.c: Likewise. - * initialize.c: Likewise. - * interfac.ads: Likewise. - * krunch.adb: Likewise. - * krunch.ads: Likewise. - * lib-list.adb: Likewise. - * lib-sort.adb: Likewise. - * lib.adb: Likewise. - * lib.ads: Likewise. - * link.c: Likewise. - * math_lib.adb: Likewise. - * memtrack.adb: Likewise. - * mingw32.h: Likewise. - * mkdir.c: Likewise. - * namet-sp.adb: Likewise. - * namet-sp.ads: Likewise. - * namet.adb: Likewise. - * namet.ads: Likewise. - * nlists.adb: Likewise. - * nlists.ads: Likewise. - * opt.adb: Likewise. - * opt.ads: Likewise. - * output.adb: Likewise. - * output.ads: Likewise. - * raise-gcc.c: Likewise. - * raise.c: Likewise. - * raise.h: Likewise. - * repinfo.adb: Likewise. - * repinfo.ads: Likewise. - * repinfo.h: Likewise. - * rident.ads: Likewise. - * s-addima.adb: Likewise. - * s-addima.ads: Likewise. - * s-addope.adb: Likewise. - * s-addope.ads: Likewise. - * s-arit64.adb: Likewise. - * s-arit64.ads: Likewise. - * s-assert.adb: Likewise. - * s-assert.ads: Likewise. - * s-asthan-vms-alpha.adb: Likewise. - * s-asthan.adb: Likewise. - * s-asthan.ads: Likewise. - * s-atacco.adb: Likewise. - * s-atacco.ads: Likewise. - * s-auxdec-empty.adb: Likewise. - * s-auxdec-empty.ads: Likewise. - * s-auxdec-vms_64.ads: Likewise. - * s-auxdec.adb: Likewise. - * s-auxdec.ads: Likewise. - * s-bitops.adb: Likewise. - * s-bitops.ads: Likewise. - * s-boarop.ads: Likewise. - * s-carsi8.adb: Likewise. - * s-carsi8.ads: Likewise. - * s-carun8.adb: Likewise. - * s-carun8.ads: Likewise. - * s-casi16.adb: Likewise. - * s-casi16.ads: Likewise. - * s-casi32.adb: Likewise. - * s-casi32.ads: Likewise. - * s-casi64.adb: Likewise. - * s-casi64.ads: Likewise. - * s-casuti.ads: Likewise. - * s-caun16.adb: Likewise. - * s-caun16.ads: Likewise. - * s-caun32.adb: Likewise. - * s-caun32.ads: Likewise. - * s-caun64.adb: Likewise. - * s-caun64.ads: Likewise. - * s-chepoo.ads: Likewise. - * s-crc32.adb: Likewise. - * s-crc32.ads: Likewise. - * s-crtl.ads: Likewise. - * s-direio.adb: Likewise. - * s-direio.ads: Likewise. - * s-dsaser.ads: Likewise. - * s-except.adb: Likewise. - * s-except.ads: Likewise. - * s-exctab.adb: Likewise. - * s-exctab.ads: Likewise. - * s-exnint.adb: Likewise. - * s-exnint.ads: Likewise. - * s-exnllf.adb: Likewise. - * s-exnllf.ads: Likewise. - * s-exnlli.adb: Likewise. - * s-exnlli.ads: Likewise. - * s-expint.adb: Likewise. - * s-expint.ads: Likewise. - * s-explli.adb: Likewise. - * s-explli.ads: Likewise. - * s-expllu.adb: Likewise. - * s-expllu.ads: Likewise. - * s-expmod.adb: Likewise. - * s-expmod.ads: Likewise. - * s-expuns.adb: Likewise. - * s-expuns.ads: Likewise. - * s-fatflt.ads: Likewise. - * s-fatgen.adb: Likewise. - * s-fatgen.ads: Likewise. - * s-fatlfl.ads: Likewise. - * s-fatllf.ads: Likewise. - * s-fatsfl.ads: Likewise. - * s-ficobl.ads: Likewise. - * s-fileio.adb: Likewise. - * s-fileio.ads: Likewise. - * s-filofl.ads: Likewise. - * s-finimp.adb: Likewise. - * s-finimp.ads: Likewise. - * s-finroo.adb: Likewise. - * s-finroo.ads: Likewise. - * s-fishfl.ads: Likewise. - * s-fore.adb: Likewise. - * s-fore.ads: Likewise. - * s-fvadfl.ads: Likewise. - * s-fvaffl.ads: Likewise. - * s-fvagfl.ads: Likewise. - * s-gearop.adb: Likewise. - * s-gearop.ads: Likewise. - * s-gecobl.adb: Likewise. - * s-gecobl.ads: Likewise. - * s-gecola.adb: Likewise. - * s-gecola.ads: Likewise. - * s-gerebl.adb: Likewise. - * s-gerebl.ads: Likewise. - * s-gerela.adb: Likewise. - * s-gerela.ads: Likewise. - * s-geveop.adb: Likewise. - * s-geveop.ads: Likewise. - * s-gloloc.adb: Likewise. - * s-gloloc.ads: Likewise. - * s-hibaen.ads: Likewise. - * s-imenne.adb: Likewise. - * s-imenne.ads: Likewise. - * s-imgbiu.adb: Likewise. - * s-imgbiu.ads: Likewise. - * s-imgboo.adb: Likewise. - * s-imgboo.ads: Likewise. - * s-imgcha.adb: Likewise. - * s-imgcha.ads: Likewise. - * s-imgdec.adb: Likewise. - * s-imgdec.ads: Likewise. - * s-imgenu.adb: Likewise. - * s-imgenu.ads: Likewise. - * s-imgint.adb: Likewise. - * s-imgint.ads: Likewise. - * s-imgllb.adb: Likewise. - * s-imgllb.ads: Likewise. - * s-imglld.adb: Likewise. - * s-imglld.ads: Likewise. - * s-imglli.adb: Likewise. - * s-imglli.ads: Likewise. - * s-imgllu.adb: Likewise. - * s-imgllu.ads: Likewise. - * s-imgllw.adb: Likewise. - * s-imgllw.ads: Likewise. - * s-imgrea.adb: Likewise. - * s-imgrea.ads: Likewise. - * s-imguns.adb: Likewise. - * s-imguns.ads: Likewise. - * s-imgwch.adb: Likewise. - * s-imgwch.ads: Likewise. - * s-imgwiu.adb: Likewise. - * s-imgwiu.ads: Likewise. - * s-inmaop-dummy.adb: Likewise. - * s-inmaop-vms.adb: Likewise. - * s-inmaop.ads: Likewise. - * s-interr-hwint.adb: Likewise. - * s-interr-sigaction.adb: Likewise. - * s-interr-vms.adb: Likewise. - * s-interr.adb: Likewise. - * s-interr.ads: Likewise. - * s-intman-dummy.adb: Likewise. - * s-intman-mingw.adb: Likewise. - * s-intman-posix.adb: Likewise. - * s-intman-solaris.adb: Likewise. - * s-intman-vms.adb: Likewise. - * s-intman-vms.ads: Likewise. - * s-intman-vxworks.adb: Likewise. - * s-intman-vxworks.ads: Likewise. - * s-intman.ads: Likewise. - * s-io.adb: Likewise. - * s-io.ads: Likewise. - * s-linux-alpha.ads: Likewise. - * s-linux-hppa.ads: Likewise. - * s-linux.ads: Likewise. - * s-maccod.ads: Likewise. - * s-mantis.adb: Likewise. - * s-mantis.ads: Likewise. - * s-mastop-irix.adb: Likewise. - * s-mastop.adb: Likewise. - * s-mastop.ads: Likewise. - * s-memcop.ads: Likewise. - * s-memory-mingw.adb: Likewise. - * s-memory.adb: Likewise. - * s-memory.ads: Likewise. - * s-os_lib.ads: Likewise. - * s-oscons-tmplt.c: Likewise. - * s-osinte-aix.adb: Likewise. - * s-osinte-darwin.adb: Likewise. - * s-osinte-freebsd.adb: Likewise. - * s-osinte-irix.adb: Likewise. - * s-osinte-lynxos-3.adb: Likewise. - * s-osinte-rtems.ads: Likewise. - * s-osinte-tru64.adb: Likewise. - * s-osinte-vxworks-kernel.adb: Likewise. - * s-osinte-vxworks.adb: Likewise. - * s-osprim-mingw.adb: Likewise. - * s-osprim-posix.adb: Likewise. - * s-osprim-solaris.adb: Likewise. - * s-osprim-unix.adb: Likewise. - * s-osprim-vms.adb: Likewise. - * s-osprim-vms.ads: Likewise. - * s-osprim-vxworks.adb: Likewise. - * s-osprim.ads: Likewise. - * s-pack03.adb: Likewise. - * s-pack03.ads: Likewise. - * s-pack05.adb: Likewise. - * s-pack05.ads: Likewise. - * s-pack06.adb: Likewise. - * s-pack06.ads: Likewise. - * s-pack07.adb: Likewise. - * s-pack07.ads: Likewise. - * s-pack09.adb: Likewise. - * s-pack09.ads: Likewise. - * s-pack10.adb: Likewise. - * s-pack10.ads: Likewise. - * s-pack11.adb: Likewise. - * s-pack11.ads: Likewise. - * s-pack12.adb: Likewise. - * s-pack12.ads: Likewise. - * s-pack13.adb: Likewise. - * s-pack13.ads: Likewise. - * s-pack14.adb: Likewise. - * s-pack14.ads: Likewise. - * s-pack15.adb: Likewise. - * s-pack15.ads: Likewise. - * s-pack17.adb: Likewise. - * s-pack17.ads: Likewise. - * s-pack18.adb: Likewise. - * s-pack18.ads: Likewise. - * s-pack19.adb: Likewise. - * s-pack19.ads: Likewise. - * s-pack20.adb: Likewise. - * s-pack20.ads: Likewise. - * s-pack21.adb: Likewise. - * s-pack21.ads: Likewise. - * s-pack22.adb: Likewise. - * s-pack22.ads: Likewise. - * s-pack23.adb: Likewise. - * s-pack23.ads: Likewise. - * s-pack24.adb: Likewise. - * s-pack24.ads: Likewise. - * s-pack25.adb: Likewise. - * s-pack25.ads: Likewise. - * s-pack26.adb: Likewise. - * s-pack26.ads: Likewise. - * s-pack27.adb: Likewise. - * s-pack27.ads: Likewise. - * s-pack28.adb: Likewise. - * s-pack28.ads: Likewise. - * s-pack29.adb: Likewise. - * s-pack29.ads: Likewise. - * s-pack30.adb: Likewise. - * s-pack30.ads: Likewise. - * s-pack31.adb: Likewise. - * s-pack31.ads: Likewise. - * s-pack33.adb: Likewise. - * s-pack33.ads: Likewise. - * s-pack34.adb: Likewise. - * s-pack34.ads: Likewise. - * s-pack35.adb: Likewise. - * s-pack35.ads: Likewise. - * s-pack36.adb: Likewise. - * s-pack36.ads: Likewise. - * s-pack37.adb: Likewise. - * s-pack37.ads: Likewise. - * s-pack38.adb: Likewise. - * s-pack38.ads: Likewise. - * s-pack39.adb: Likewise. - * s-pack39.ads: Likewise. - * s-pack40.adb: Likewise. - * s-pack40.ads: Likewise. - * s-pack41.adb: Likewise. - * s-pack41.ads: Likewise. - * s-pack42.adb: Likewise. - * s-pack42.ads: Likewise. - * s-pack43.adb: Likewise. - * s-pack43.ads: Likewise. - * s-pack44.adb: Likewise. - * s-pack44.ads: Likewise. - * s-pack45.adb: Likewise. - * s-pack45.ads: Likewise. - * s-pack46.adb: Likewise. - * s-pack46.ads: Likewise. - * s-pack47.adb: Likewise. - * s-pack47.ads: Likewise. - * s-pack48.adb: Likewise. - * s-pack48.ads: Likewise. - * s-pack49.adb: Likewise. - * s-pack49.ads: Likewise. - * s-pack50.adb: Likewise. - * s-pack50.ads: Likewise. - * s-pack51.adb: Likewise. - * s-pack51.ads: Likewise. - * s-pack52.adb: Likewise. - * s-pack52.ads: Likewise. - * s-pack53.adb: Likewise. - * s-pack53.ads: Likewise. - * s-pack54.adb: Likewise. - * s-pack54.ads: Likewise. - * s-pack55.adb: Likewise. - * s-pack55.ads: Likewise. - * s-pack56.adb: Likewise. - * s-pack56.ads: Likewise. - * s-pack57.adb: Likewise. - * s-pack57.ads: Likewise. - * s-pack58.adb: Likewise. - * s-pack58.ads: Likewise. - * s-pack59.adb: Likewise. - * s-pack59.ads: Likewise. - * s-pack60.adb: Likewise. - * s-pack60.ads: Likewise. - * s-pack61.adb: Likewise. - * s-pack61.ads: Likewise. - * s-pack62.adb: Likewise. - * s-pack62.ads: Likewise. - * s-pack63.adb: Likewise. - * s-pack63.ads: Likewise. - * s-parame-ae653.ads: Likewise. - * s-parame-hpux.ads: Likewise. - * s-parame-rtems.adb: Likewise. - * s-parame-vms-alpha.ads: Likewise. - * s-parame-vms-ia64.ads: Likewise. - * s-parame-vms-restrict.ads: Likewise. - * s-parame-vxworks.adb: Likewise. - * s-parame-vxworks.ads: Likewise. - * s-parame.adb: Likewise. - * s-parame.ads: Likewise. - * s-parint.adb: Likewise. - * s-parint.ads: Likewise. - * s-pooglo.adb: Likewise. - * s-pooglo.ads: Likewise. - * s-pooloc.adb: Likewise. - * s-pooloc.ads: Likewise. - * s-poosiz.adb: Likewise. - * s-poosiz.ads: Likewise. - * s-powtab.ads: Likewise. - * s-proinf-irix-athread.adb: Likewise. - * s-proinf-irix-athread.ads: Likewise. - * s-proinf.adb: Likewise. - * s-proinf.ads: Likewise. - * s-purexc.ads: Likewise. - * s-rannum.adb: Likewise. - * s-rannum.ads: Likewise. - * s-restri.adb: Likewise. - * s-restri.ads: Likewise. - * s-rident.ads: Likewise. - * s-rpc.adb: Likewise. - * s-rpc.ads: Likewise. - * s-scaval.adb: Likewise. - * s-scaval.ads: Likewise. - * s-secsta.adb: Likewise. - * s-secsta.ads: Likewise. - * s-sequio.adb: Likewise. - * s-sequio.ads: Likewise. - * s-shasto.adb: Likewise. - * s-shasto.ads: Likewise. - * s-soflin.adb: Likewise. - * s-soflin.ads: Likewise. - * s-solita.adb: Likewise. - * s-solita.ads: Likewise. - * s-sopco3.adb: Likewise. - * s-sopco3.ads: Likewise. - * s-sopco4.adb: Likewise. - * s-sopco4.ads: Likewise. - * s-sopco5.adb: Likewise. - * s-sopco5.ads: Likewise. - * s-stache.adb: Likewise. - * s-stache.ads: Likewise. - * s-stalib.adb: Likewise. - * s-stalib.ads: Likewise. - * s-stausa.adb: Likewise. - * s-stausa.ads: Likewise. - * s-stchop-limit.ads: Likewise. - * s-stchop-rtems.adb: Likewise. - * s-stchop-vxworks.adb: Likewise. - * s-stchop.adb: Likewise. - * s-stchop.ads: Likewise. - * s-stoele.adb: Likewise. - * s-stoele.ads: Likewise. - * s-stopoo.adb: Likewise. - * s-stopoo.ads: Likewise. - * s-stratt.adb: Likewise. - * s-stratt.ads: Likewise. - * s-strcom.adb: Likewise. - * s-strcom.ads: Likewise. - * s-string.adb: Likewise. - * s-string.ads: Likewise. - * s-strops.adb: Likewise. - * s-strops.ads: Likewise. - * s-strxdr.adb: Likewise. - * s-ststop.adb: Likewise. - * s-ststop.ads: Likewise. - * s-taasde.adb: Likewise. - * s-taasde.ads: Likewise. - * s-tadeca.adb: Likewise. - * s-tadeca.ads: Likewise. - * s-tadert.adb: Likewise. - * s-tadert.ads: Likewise. - * s-taenca.adb: Likewise. - * s-taenca.ads: Likewise. - * s-taprob.ads: Likewise. - * s-taprop-dummy.adb: Likewise. - * s-taprop-hpux-dce.adb: Likewise. - * s-taprop-irix.adb: Likewise. - * s-taprop-linux.adb: Likewise. - * s-taprop-lynxos.adb: Likewise. - * s-taprop-mingw.adb: Likewise. - * s-taprop-posix.adb: Likewise. - * s-taprop-solaris.adb: Likewise. - * s-taprop-tru64.adb: Likewise. - * s-taprop-vms.adb: Likewise. - * s-taprop-vxworks.adb: Likewise. - * s-taprop.ads: Likewise. - * s-tarest.adb: Likewise. - * s-tarest.ads: Likewise. - * s-tasdeb.adb: Likewise. - * s-tasdeb.ads: Likewise. - * s-tasinf-irix.ads: Likewise. - * s-tasinf-linux.adb: Likewise. - * s-tasinf-linux.ads: Likewise. - * s-tasinf-mingw.adb: Likewise. - * s-tasinf-mingw.ads: Likewise. - * s-tasinf-solaris.adb: Likewise. - * s-tasinf-solaris.ads: Likewise. - * s-tasinf-tru64.ads: Likewise. - * s-tasinf.adb: Likewise. - * s-tasinf.ads: Likewise. - * s-tasini.adb: Likewise. - * s-tasini.ads: Likewise. - * s-taskin.adb: Likewise. - * s-taskin.ads: Likewise. - * s-taspri-dummy.ads: Likewise. - * s-taspri-hpux-dce.ads: Likewise. - * s-taspri-mingw.ads: Likewise. - * s-taspri-solaris.ads: Likewise. - * s-taspri-tru64.ads: Likewise. - * s-taspri-vms.ads: Likewise. - * s-taspri-vxworks.ads: Likewise. - * s-tasque.adb: Likewise. - * s-tasque.ads: Likewise. - * s-tasren.adb: Likewise. - * s-tasren.ads: Likewise. - * s-tasres.ads: Likewise. - * s-tassta.adb: Likewise. - * s-tassta.ads: Likewise. - * s-tasuti.adb: Likewise. - * s-tasuti.ads: Likewise. - * s-tfsetr-default.adb: Likewise. - * s-tfsetr-vxworks.adb: Likewise. - * s-tpinop.adb: Likewise. - * s-tpinop.ads: Likewise. - * s-tpoben.adb: Likewise. - * s-tpoben.ads: Likewise. - * s-tpobop.adb: Likewise. - * s-tpobop.ads: Likewise. - * s-tpopde-vms.adb: Likewise. - * s-tpopde-vms.ads: Likewise. - * s-tpopsp-lynxos.adb: Likewise. - * s-tpopsp-posix-foreign.adb: Likewise. - * s-tpopsp-posix.adb: Likewise. - * s-tpopsp-solaris.adb: Likewise. - * s-tpopsp-vxworks.adb: Likewise. - * s-tporft.adb: Likewise. - * s-tposen.adb: Likewise. - * s-tposen.ads: Likewise. - * s-traceb.adb: Likewise. - * s-traceb.ads: Likewise. - * s-traces-default.adb: Likewise. - * s-traces.adb: Likewise. - * s-traces.ads: Likewise. - * s-traent-vms.adb: Likewise. - * s-traent-vms.ads: Likewise. - * s-traent.adb: Likewise. - * s-traent.ads: Likewise. - * s-trafor-default.adb: Likewise. - * s-trafor-default.ads: Likewise. - * s-tratas-default.adb: Likewise. - * s-tratas.adb: Likewise. - * s-tratas.ads: Likewise. - * s-unstyp.ads: Likewise. - * s-utf_32.adb: Likewise. - * s-utf_32.ads: Likewise. - * s-vaflop-vms-alpha.adb: Likewise. - * s-vaflop.adb: Likewise. - * s-vaflop.ads: Likewise. - * s-valboo.adb: Likewise. - * s-valboo.ads: Likewise. - * s-valcha.adb: Likewise. - * s-valcha.ads: Likewise. - * s-valdec.adb: Likewise. - * s-valdec.ads: Likewise. - * s-valenu.adb: Likewise. - * s-valenu.ads: Likewise. - * s-valint.adb: Likewise. - * s-valint.ads: Likewise. - * s-vallld.adb: Likewise. - * s-vallld.ads: Likewise. - * s-vallli.adb: Likewise. - * s-vallli.ads: Likewise. - * s-valllu.adb: Likewise. - * s-valllu.ads: Likewise. - * s-valrea.adb: Likewise. - * s-valrea.ads: Likewise. - * s-valuns.adb: Likewise. - * s-valuns.ads: Likewise. - * s-valuti.adb: Likewise. - * s-valuti.ads: Likewise. - * s-valwch.adb: Likewise. - * s-valwch.ads: Likewise. - * s-veboop.adb: Likewise. - * s-veboop.ads: Likewise. - * s-vector.ads: Likewise. - * s-vercon.adb: Likewise. - * s-vercon.ads: Likewise. - * s-vmexta.adb: Likewise. - * s-vmexta.ads: Likewise. - * s-vxwext-kernel.ads: Likewise. - * s-vxwext-rtp.adb: Likewise. - * s-vxwext-rtp.ads: Likewise. - * s-vxwext.ads: Likewise. - * s-vxwork-arm.ads: Likewise. - * s-vxwork-m68k.ads: Likewise. - * s-vxwork-mips.ads: Likewise. - * s-vxwork-ppc.ads: Likewise. - * s-vxwork-sparcv9.ads: Likewise. - * s-vxwork-x86.ads: Likewise. - * s-wchcnv.adb: Likewise. - * s-wchcnv.ads: Likewise. - * s-wchcon.adb: Likewise. - * s-wchcon.ads: Likewise. - * s-wchjis.adb: Likewise. - * s-wchjis.ads: Likewise. - * s-wchstw.adb: Likewise. - * s-wchstw.ads: Likewise. - * s-wchwts.adb: Likewise. - * s-wchwts.ads: Likewise. - * s-widboo.adb: Likewise. - * s-widboo.ads: Likewise. - * s-widcha.adb: Likewise. - * s-widcha.ads: Likewise. - * s-widenu.adb: Likewise. - * s-widenu.ads: Likewise. - * s-widlli.adb: Likewise. - * s-widlli.ads: Likewise. - * s-widllu.adb: Likewise. - * s-widllu.ads: Likewise. - * s-widwch.adb: Likewise. - * s-widwch.ads: Likewise. - * s-win32.ads: Likewise. - * s-winext.ads: Likewise. - * s-wwdcha.adb: Likewise. - * s-wwdcha.ads: Likewise. - * s-wwdenu.adb: Likewise. - * s-wwdenu.ads: Likewise. - * s-wwdwch.adb: Likewise. - * s-wwdwch.ads: Likewise. - * scans.adb: Likewise. - * scans.ads: Likewise. - * seh_init.c: Likewise. - * sfn_scan.adb: Likewise. - * sinfo.adb: Likewise. - * sinfo.ads: Likewise. - * sinput.adb: Likewise. - * sinput.ads: Likewise. - * snames.adb: Likewise. - * snames.ads: Likewise. - * socket.c: Likewise. - * stand.adb: Likewise. - * stand.ads: Likewise. - * stringt.adb: Likewise. - * stringt.ads: Likewise. - * sysdep.c: Likewise. - * system-aix.ads: Likewise. - * system-darwin-ppc.ads: Likewise. - * system-darwin-x86.ads: Likewise. - * system-darwin-x86_64.ads: Likewise. - * system-freebsd-x86.ads: Likewise. - * system-hpux-ia64.ads: Likewise. - * system-hpux.ads: Likewise. - * system-irix-n32.ads: Likewise. - * system-irix-n64.ads: Likewise. - * system-irix-o32.ads: Likewise. - * system-linux-alpha.ads: Likewise. - * system-linux-hppa.ads: Likewise. - * system-linux-ia64.ads: Likewise. - * system-linux-mips.ads: Likewise. - * system-linux-mipsel.ads: Likewise. - * system-linux-ppc.ads: Likewise. - * system-linux-ppc64.ads: Likewise. - * system-linux-s390.ads: Likewise. - * system-linux-s390x.ads: Likewise. - * system-linux-sh4.ads: Likewise. - * system-linux-sparc.ads: Likewise. - * system-linux-sparcv9.ads: Likewise. - * system-linux-x86.ads: Likewise. - * system-linux-x86_64.ads: Likewise. - * system-lynxos-ppc.ads: Likewise. - * system-lynxos-x86.ads: Likewise. - * system-mingw-x86_64.ads: Likewise. - * system-mingw.ads: Likewise. - * system-rtems.ads: Likewise. - * system-solaris-sparc.ads: Likewise. - * system-solaris-sparcv9.ads: Likewise. - * system-solaris-x86.ads: Likewise. - * system-solaris-x86_64.ads: Likewise. - * system-tru64.ads: Likewise. - * system-vms-ia64.ads: Likewise. - * system-vms-zcx.ads: Likewise. - * system-vms.ads: Likewise. - * system-vms_64.ads: Likewise. - * system-vxworks-arm.ads: Likewise. - * system-vxworks-m68k.ads: Likewise. - * system-vxworks-mips.ads: Likewise. - * system-vxworks-ppc.ads: Likewise. - * system-vxworks-sparcv9.ads: Likewise. - * system-vxworks-x86.ads: Likewise. - * system.ads: Likewise. - * table.adb: Likewise. - * table.ads: Likewise. - * targext.c: Likewise. - * targparm.ads: Likewise. - * tree_in.adb: Likewise. - * tree_in.ads: Likewise. - * tree_io.adb: Likewise. - * tree_io.ads: Likewise. - * types.adb: Likewise. - * types.ads: Likewise. - * uintp.adb: Likewise. - * uintp.ads: Likewise. - * uname.adb: Likewise. - * uname.ads: Likewise. - * urealp.adb: Likewise. - * urealp.ads: Likewise. - * vx_stack_info.c: Likewise. - * widechar.adb: Likewise. - * widechar.ads: Likewise. - * exp_attr.adb: Change copyright header to refer to version - 3 of the GNU General Public License and to point readers at the - COPYING3 file and the FSF's license web page. - * sem.adb: Likewise. - * sem_attr.ads: Likewise. - * freeze.adb: Likewise. - * freeze.ads: Likewise. - * errout.ads: Likewise. - * erroutc.adb: Likewise. - * exp_ch11.ads: Likewise. - -2009-04-09 Jakub Jelinek <jakub@redhat.com> - - * config-lang.in: Change copyright header to refer to version - 3 of the GNU General Public License and to point readers at the - COPYING3 file and the FSF's license web page. - * gcc-interface/trans.c: Likewise. - * gnathtml.pl: Likewise. - * gcc-interface/ada.h: Likewise. Remove runtime exception. - * gcc-interface/gigi.h: Likewise. - * gcc-interface/misc.c: Likewise. - * gcc-interface/targtyps.c: Likewise. - -2009-04-09 Nicolas Setton <setton@adacore.com> - - * s-osinte-darwin.ads: Fix wrong binding to struc timeval. - - * s-osinte-darwin.adb (To_Timeval): Adapt to fixed implementation of - struct_timeval. - -2009-04-09 Bob Duff <duff@adacore.com> - - * exp_ch5.adb, exp_ch9.adb: Correct miscellaneous Slocs in - internally-generated nodes related to select statements to avoid - confusing the debugger. - -2009-04-09 Pascal Obry <obry@adacore.com> - - * make.adb: Ensure that all linker arguments are duplicated. - -2009-04-09 Robert Dewar <dewar@adacore.com> - - * sem_ch5.adb: Minor reformatting - -2009-04-09 Vincent Celier <celier@adacore.com> - - * vms_data.ads: - Change GNAT CHECK qualifier /DIAGNOSIS_LIMIT to /DIAGNOSTIC_LIMIT - New qualifier /LEXPAND_SOURCE=nnn for -gnatGnnn - New qualifier /LXDEBUG=nnn for -gnatDnnn - For H820-010 - - * gnat_ugn.texi: - Update documentation for VMS qualifiers equivalent to -gnatGnn and - -gnatDnn - -2009-04-09 Nicolas Setton <setton@adacore.com> - - * s-osinte-darwin.ads: (Pad_Type): Make this an array of unsigned_long, - to match layout of siginfo_t in sys/signal.h. - - * gcc-interface/Makefile.in: Add section for x86_64 darwin. - -2009-04-09 Thomas Quinot <quinot@adacore.com> - - * g-socket.ads: (Fd_Set): Use Interfaces.C.long alignment. - -2009-04-09 Nicolas Setton <setton@adacore.com> - - * s-oscons-tmplt.c: Allow long lines in the generated spec. - Add generation of Darwin-specific constants needed when binding to the - pthread library. - -2009-04-09 Robert Dewar <dewar@adacore.com> - - * checks.adb: - (Insert_Valid_Check): Avoid unnecessary generation of junk declaration - when no invalid values exist, Avoid duplicate read of atomic variable. - - * cstand.adb (Build_Signed_Integer_Type): Set Is_Known_Valid - (Standard_Unsigned): Set Is_Known_Valid - - * sem_ch3.adb (Analyze_Subtype_Declaration): Copy Is_Known_Valid on - subtype declaration if no constraint. - (Set_Modular_Size): Set Is_Known_Valid if appropriate - (Build_Derived_Numeric_Type): Copy Is_Known_Valid if no constraint - -2009-04-09 Robert Dewar <dewar@adacore.com> - - * switch-c.adb, gnat_ugn.texi, vms_data.ads, switch.adb, - switch.ads: for numeric switches, an optional equal sign is always - allowed. - -2009-04-09 Vincent Celier <celier@adacore.com> - - * prj-nmsc.adb (Get_Unit): Do not consider Casing on platform where - the case of file names is not significant. - -2009-04-09 Vincent Celier <celier@adacore.com> - - * errout.adb: Remove dependency on package Style - - * style.ads, styleg.adb, styleg.ads (RM_Column_Check): Remove function, - moved to Stylesw. - - * stylesw.ads, stylesw.adb (RM_Column_Check): New function, moved from - Styleg. - - * errutil.adb, par.adb: Import Stylesw - -2009-04-09 Arnaud Charlet <charlet@adacore.com> - - * opt.ads: Fix typos. - -2009-04-09 Robert Dewar <dewar@adacore.com> - - * einfo.adb: Minor reformatting - -2009-04-09 Robert Dewar <dewar@adacore.com> - - * gcc-interface/Make-lang.in, style.ads, style.adb: Reorganize style - units. - - * styleg-c.ads, styleg-c.adb: Removed, no longer used. - -2009-04-09 Robert Dewar <dewar@adacore.com> - - * g-comver.adb: Minor reformatting. - -2009-04-09 Thomas Quinot <quinot@adacore.com> - - * lib-load.ads (Load_Unit): Update documentation. - -2009-04-09 Ed Schonberg <schonberg@adacore.com> - - * lib-load.adb (Load_Unit): When loading the parent of a child unit - named in a with_clause, retain the with_clause to preserve a - limited_with indication. - -2009-04-09 Robert Dewar <dewar@adacore.com> - - * sem_ch7.adb, sem_ch10.adb, sem_prag.adb, sem_ch12.adb, sem_util.adb, - exp_ch13.adb, sem_ch6.adb, exp_disp.adb, sem_ch8.adb, sem_warn.adb, - sem_cat.adb: Code clean up: use Is_Package_Or_Generic_Package where - possible to replace an OR of two separate tests. - -2009-04-09 Robert Dewar <dewar@adacore.com> - - * binderr.adb, errout.adb, errutil.adb: New circuitry for handling - Maximum_Messages. - - * erroutc.adb, erroutc.ads (Warnings_Suppressed): Now tests global - warning status as well. - - * opt.ads (Maximum_Messages): New name for Maximum_Errors. - - * switch-b.adb, switch-c.adb: Change name Maximum_Errors to - Maximum_Messages. - - * bindusg.adb, usage.adb: Update line for -gnatm switch - - * gnat_ugn.texi: Update documentation for -gnatmnn compiler switch and - -mnn binder switch. - -2009-04-09 Robert Dewar <dewar@adacore.com> - - * sem_ch10.adb: Minor reformatting. - -2009-04-09 Bob Duff <duff@adacore.com> - - * exp_ch11.adb (Expand_Exception_Handlers, Prepend_Call_To_Handler): - Set Sloc of generated nodes for calls to Undefer_Aborts and - Save_Occurrence to No_Location, so the debugger ignores them and - therefore does not jump back and forth when single stepping. - -2009-04-09 Robert Dewar <dewar@adacore.com> - - * switch-b.adb: Minor reformatting. - -2009-04-09 Robert Dewar <dewar@adacore.com> - - * sem_aggr.adb, exp_ch5.adb, sem_ch3.adb, exp_atag.adb, layout.adb, - sem_dist.adb, exp_ch7.adb, sem_ch5.adb, sem_type.adb, exp_imgv.adb, - exp_util.adb, sem_aux.adb, sem_aux.ads, exp_attr.adb, exp_ch9.adb, - sem_ch7.adb, inline.adb, fe.h, sem_ch9.adb, exp_code.adb, einfo.adb, - einfo.ads, exp_pakd.adb, checks.adb, sem_ch12.adb, exp_smem.adb, - tbuild.adb, freeze.adb, sem_util.adb, sem_res.adb, sem_attr.adb, - exp_dbug.adb, sem_case.adb, exp_tss.adb, exp_ch4.adb, exp_ch6.adb, - sem_smem.adb, sem_ch4.adb, sem_mech.adb, sem_ch6.adb, exp_disp.adb, - sem_ch8.adb, exp_aggr.adb, sem_eval.adb, sem_cat.adb, exp_dist.adb, - sem_ch13.adb, exp_strm.adb, lib-xref.adb, sem_disp.adb, exp_ch3.adb: - Reorganize einfo/sem_aux, moving routines from einfo to sem_aux - -2009-04-09 Robert Dewar <dewar@adacore.com> - - * exp_util.adb (Silly_Boolean_Array_Xor_Test): Simplify existing code. - - * atree.h: Add Elist26 - - * gnat_ugn.texi: Complete documentation deprecating -gnatN for non-gcc - backends. - -2009-04-09 Javier Miranda <miranda@adacore.com> - - * exp_disp.adb (Export_DT): Addition of a new argument (Index); used to - retrieve from the Dispatch_Table_Wrappers list the external name. - Addition of documentation. - (Make_Secondary_DT): Addition of a new argument (Suffix_Index) that is - used to export secondary dispatch tables (in the previous version of - the frontend only primary dispatch tables were exported). Addition of - documentation. - (Import_DT): New subprogram (internal of Make_Tags). Used to import a - dispatch table of a given tagged type. - (Make_Tags): Modified to import secondary dispatch tables. - - * sem_ch3.adb (Analyze_Object_Declaration): Code cleanup. - (Constant_Redeclaration): Code cleanup. - - * einfo.ads (Dispatch_Table_Wrapper): Renamed to - Dispatch_Table_Wrappers. Update documentation. - - * einfo.adb (Dispatch_Table_Wrapper, Set_Dispatch_Table_Wrapper): - Renamed to Dispatch_Table_Wrappers. - - * sem_util.adb (Collect_Interface_Components): Improve handling of - private types. - - * atree.ads (Elist26, Set_Elist26): New subprograms - - * atree.adb (Elist26, Set_Elist26): New subprograms - -2009-04-09 Javier Miranda <miranda@adacore.com> - - * sem_ch3.adb (Build_Derived_Record_Type): Fix typo. - (Derive_Progenitor_Subprograms): Handle interfaces in subtypes of - tagged types. - -2009-04-09 Robert Dewar <dewar@adacore.com> - - * s-direio.adb: Minor reformatting - - * exp_ch4.adb (Expand_Concatenate): Avoid overflow checks for String - -2009-04-09 Robert Dewar <dewar@adacore.com> - - * exp_ch4.adb (Expand_Concatenate): Improve handling of overflow cases - -2009-04-09 Pascal Obry <obry@adacore.com> - - * a-cihama.adb, a-cihama.ads, a-coinve.adb, a-coinve.ads, - s-tpoben.adb, s-tpoben.ads, s-finimp.adb, s-finimp.ads, - a-convec.adb, a-convec.ads, a-finali.adb, a-finali.ads, - a-filico.ads: Add some missing overriding keywords. - -2009-04-09 Pascal Obry <obry@adacore.com> - - * a-cihama.adb, a-cihama.ads, a-coinve.adb, a-coorma.ads, a-cihase.adb, - a-cihase.ads, a-cohama.adb, a-cohama.ads, a-coorse.adb, a-coorse.ads, - a-coormu.adb, a-coormu.ads, a-cohase.adb, a-cohase.ads: Minor - reformatting. - -2009-04-09 Ed Schonberg <schonberg@adacore.com> - - * sem_ch6.adb (Check_Overriding_Indicator): Do not generate warning on - missing overriding indicator if the new declaration is not seen as - primitive. - -2009-04-09 Thomas Quinot <quinot@adacore.com> - - * exp_ch4.adb (Expand_Concatenate): Add circuitry to properly handle - overflows in computation of bounds. - -2009-04-09 Pascal Obry <obry@adacore.com> - - * a-cihama.adb, a-cgcaso.adb, a-cihase.adb, a-cohase.adb: Fix some - typos in comment. - -2009-04-09 Robert Dewar <dewar@adacore.com> - - * sem_attr.adb (Check_Stream_Attribute): Check violation of - restriction No_Streams - - * gnat_rm.texi: Clarify No_Streams restriction - - * g-socket.adb: Minor reformatting. - -2009-04-09 Thomas Quinot <quinot@adacore.com> - - * g-socket.ads: Mark Initialize and Finalize as obsolesent interfaces. - -2009-04-09 Geert Bosch <bosch@adacore.com> - - * exp_fixd.adb (Build_Conversion): Accept new optional Trunc argument. - (Set_Result): Likewise. - (Expand_Convert_Float_To_Fixed): Have Set_Result truncate the - conversion, as required by RM 4.6(31). - -2009-04-08 Robert Dewar <dewar@adacore.com> - - * checks.adb (Enable_Overflow_Check): Do not enable if overflow checks - suppressed. - - * exp_ch4.adb (Expand_Concatenate): Make sure checks are off for all - resolution steps. - -2009-04-08 Robert Dewar <dewar@adacore.com> - - * sem_ch12.adb (Analyze_Package_Instantiation): Remove test for - No_Local_Allocators restriction preventing local instantiation. - -2009-04-08 Thomas Quinot <quinot@adacore.com> - - * sem_eval.adb: Minor comment fix - -2009-04-08 Thomas Quinot <quinot@adacore.com> - - * g-socket.adb, g-socket.ads (GNAT.Sockets.Sockets_Library_Controller): - New limited controlled type used to automate the initialization and - finalization of the sockets implementation. - (GNAT.Sockets.Initialize, Finalize): Make these no-ops - -2009-04-08 Vincent Celier <celier@adacore.com> - - * prj-attr.adb: New read-only project-level attribute Project_Dir - - * prj-proc.adb (Add_Attributes): New parameter Project_Dir, value of - read-only attribute of the same name. - (Process_Declarative_Items): Call Add_Attributes with Project_Dir - (Recursive_Process): Ditto - - * snames.adb: Add new standard name Project_Dir - - * snames.ads: Add new standard name Project_Dir - -2009-04-08 Thomas Quinot <quinot@adacore.com> - - * checks.adb: Minor reformatting - -2009-04-08 Vincent Celier <celier@adacore.com> - - * vms_data.ads: Add documentation for new style keyword - OVERRIDING_INDICATORS - -2009-04-08 Robert Dewar <dewar@adacore.com> - - * sem_ch3.adb (Check_Completion.Post_Error): Post error on spec if the - spec is in the current unit. - -2009-04-08 Ed Schonberg <schonberg@adacore.com> - - * sem_util.adb (Is_Protected_Self_Reference): Add guard to check for - presence of entity. - - * usage.adb, gnat_ugn.texi: add info on -gnatyO: overriding indicators - -2009-04-08 Vincent Celier <celier@adacore.com> - - * vms_data.ads: Add VMS equivalent for -gnatyO (OVERRIDING_INDICATORS) - -2009-04-08 Thomas Quinot <quinot@adacore.com> - - * checks.ads: Minor reformatting - -2009-04-08 Robert Dewar <dewar@adacore.com> - - * gnat_rm.texi: Update documentation of pragma Obsolescent - - * sem_prag.adb (Analyze_Pragma, case Obsolescent): Allow identifiers to - be omitted, and allow Entity parameter to be omitted. - -2009-04-08 Thomas Quinot <quinot@adacore.com> - - * exp_util.adb: Minor comment fix - -2009-04-08 Robert Dewar <dewar@adacore.com> - - * g-socket.ads: Fix bad syntax in pragma Obsolescent - - * par-ch2.adb (Scan_Pragma_Argument_Association): Check for error of - argument with no identifier following one that has an identifier. Was - missed in some cases. - - * sem_prag.adb (Analyze_Pragma, case Check_Policy): Allow Policy - identifier. - (Analyze_Pragma, case Obsolescent): Allow Message, Version identifiers - - * snames.adb: Add Name_Policy - - * snames.ads: Add Name_Policy - -2009-04-08 Robert Dewar <dewar@adacore.com> - - * gnat_rm.texi: Minor reformatting - - * par-ch2.adb: Minor reformatting - -2009-04-08 Robert Dewar <dewar@adacore.com> - - * exp_attr.adb, sem_attr.adb, sem_util.adb: Code clean up. - -2009-04-08 Robert Dewar <dewar@adacore.com> - - * sem_cat.adb (Check_Categorization_Dependencies): Handle Preelaborate - properly in the presence of Remote_Types or Remote_Call_Interface. - - * sem_util.adb: Add comment. - -2009-04-08 Robert Dewar <dewar@adacore.com> - - * ug_words: Add /ASSUME_VALID for -gnatB - - * vms_data.ads: Add /ASSUME_VALID for -gnatB - - * sem_cat.adb: Add clarifying commment - - * a-direio.ads (Bytes): Make sure value is non-zero - -2009-04-08 Ed Schonberg <schonberg@adacore.com> - - * sem_util.adb (Is_Variable): If the prefix is an explicit dereference - that does not come from source, check for a rewritten function call in - prefixed notation before other forms of rewriting. - -2009-04-08 Robert Dewar <dewar@adacore.com> - - * Makefile.rtl: Remove s-strops and s-sopco? from the run time, since - these are now obsolescent units used only for bootrapping with an - older compiler. - -2009-04-08 Robert Dewar <dewar@adacore.com> - - * gnat_rm.texi: Add documentation for pragma Thread_Local_Storage - - * sem_ch3.adb: Minor comment updates - -2009-04-08 Ed Schonberg <schonberg@adacore.com> - - * inline.adb (Back_End_Cannot_Inline): restrict warning to subprograms - that come from source. - -2009-04-08 Tristan Gingold <gingold@adacore.com> - - * gcc-interface/gigi.h (enum attr_type): Add ATTR_THREAD_LOCAL_STORAGE. - * gcc-interface/decl.c (prepend_attributes): New case - Pragma_Thread_Local_Storage. - * gcc-interface/utils.c (process_attributes): New case - ATTR_THREAD_LOCAL_STORAGE. - -2009-04-08 Ed Schonberg <schonberg@adacore.com> - - * inline.adb (Back_End_Cannot_Inline): Do not mark a body as inlineable - by the back-end if it contains a call to a subprogram without a - previous spec that is declared in the same unit. - - * errout.ads: Update comments on uses of dirs - -2009-04-08 Robert Dewar <dewar@adacore.com> - - * exp_ch4.adb (Expand_Concatenate): Make sure nodes are properly typed - -2009-04-08 Tristan Gingold <gingold@adacore.com> - - * sem_prag.adb: Restrict pragma Thread_Local_Storage to library level - variables. - Set Has_Gigi_Rep_Item flag to TLS variables (to ease gigi work). - -2009-04-08 Vincent Celier <celier@adacore.com> - - * prj-nmsc.adb: - (Add_Source): Add the mapping of the unit name to source file name in - the Unit_Sources_HT hash table, if the unit name is not null. - - * prj.adb (Reset): Reset hash table Tree.Unit_Sources_HT - - * prj.ads (Unit_Sources_Htable): New hash table instantiation - (Project_Tree_Data): New component Unit_Sources_HT - -2009-04-08 Thomas Quinot <quinot@adacore.com> - - * sem_ch8.adb: Minor reformatting. - Minor code reorganization. - -2009-04-08 Robert Dewar <dewar@adacore.com> - - * snames.h, einfo.adb, einfo.ads, sem_prag.adb, snames.adb, - snames.ads, freeze.adb, par-prag.adb: Add implementation of - pragma Thread_Local_Storage, setting new flag - Has_Pragma_Thread_Local_Storage in corresponding entities. - -2009-04-08 Emmanuel Briot <briot@adacore.com> - - * prj.ads: Update comment on switches file - - * prj-nmsc.adb: Code clean up. Use renaming clauses. - -2009-04-08 Robert Dewar <dewar@adacore.com> - - * exp_ch4.adb (Expand_Concatenate): Further fixes to bounds handling - -2009-04-08 Thomas Quinot <quinot@adacore.com> - - * ali-util.adb: Minor comment fix - -2009-04-08 Ed Schonberg <schonberg@adacore.com> - - * sem_ch8.adb (Analyze_Use_Type): Improve error message when clause - appears in a context clause, and the enclosing package is mentioned in - a limited_with_clause. - (Use_One_Type): Reject clause if type is still incomplete. - -2009-04-08 Emmanuel Briot <briot@adacore.com> - - * prj-nmsc.adb (Check_File, Process_Sources_In_Multi_Language_Mode): - avoid copies of Source_Data variables when possible, since these - involve calls to memcpy() which are done too many times. - -2009-04-08 Robert Dewar <dewar@adacore.com> - - * exp_ch4.adb (Expand_Concatenate): Clean up code - -2009-04-07 Thomas Quinot <quinot@adacore.com> - - * exp_ch4.adb (Expand_Concatenate): Add missing conversion to index - type for the case of concatenating a constrained array indexed by an - enumeration type. - -2009-04-07 Ed Schonberg <schonberg@adacore.com> - - * sem_ch6.adb (Check_Conformance): when checking conformance of an - operation that overrides an abstract operation inherited from an - interface, return False if only one of the controlling formals is an - access parameter. - -2009-04-07 Ed Schonberg <schonberg@adacore.com> - - * sem_ch8.adb (Analyze_Object_Renaming): additional error messages - mandated by AI05-105. - -2009-04-07 Vincent Celier <celier@adacore.com> - - * prj-nmsc.adb (Get_Mains): Warn if a main is an empty string - -2009-04-07 Thomas Quinot <quinot@adacore.com> - - * usage.adb: Minor fix in usage message. - - * sem_ch10.adb (Remove_Homonyms): Fix subtype of formal in body to - match declaration; the correct subtype is Node_Id, not Entity_Id, - because the expected node kind is an identifier, not a defining - identifier. - - * switch-c.adb: Minor reformatting. - - * uintp.adb: Minor reformatting. - -2009-04-07 Robert Dewar <dewar@adacore.com> - - * exp_ch13.adb: Minor reformatting - -2009-04-07 Robert Dewar <dewar@adacore.com> - - * sem_warn.adb (Check_Infinite_Loop_Warning.Test_Ref): Add defence - against missing parent. - -2009-04-07 Thomas Quinot <quinot@adacore.com> - - * xoscons.adb: Minor reformatting - -2009-04-07 Robert Dewar <dewar@adacore.com> - - * rtsfind.ads: Remove obsolete string concatenation entries - -2009-04-07 Robert Dewar <dewar@adacore.com> - - * exp_ch4.adb (Expand_Concatenate): Redo handling of bounds - -2009-04-07 Ed Schonberg <schonberg@adacore.com> - - * sem_ch10.adb (Check_Body_Required): Handle properly imported - subprograms. - -2009-04-07 Gary Dismukes <dismukes@adacore.com> - - * exp_ch13.adb (Expand_N_Attribute_Definition_Clause, case - Attribute_Address): When Init_Or_Norm_Scalars is True and the object - is of a scalar or string type then suppress the setting of the - expression to Empty. - - * freeze.adb (Warn_Overlay): Also emit the warnings about default - initialization for the cases of scalar and string objects when - Init_Or_Norm_Scalars is True. - -2009-04-07 Bob Duff <duff@adacore.com> - - * s-secsta.ads, g-pehage.ads, s-fileio.ads: Minor comment fixes - -2009-04-07 Bob Duff <duff@adacore.com> - - * gnat_rm.texi, s-fileio.adb (System.File_IO.Open): New feature: A - Form parameter of Text_Translation=No allows binary mode for Text_IO - files. - - * gnat_rm.texi: Document Form parameter Text_Translation=xxx. - -2009-04-07 Javier Miranda <miranda@adacore.com> - - * exp_ch5.adb (Expand_Assign_Array): Add implicit conversion when - processing the bounds for bit packed arrays or VM target machines. - -2009-04-07 Thomas Quinot <quinot@adacore.com> - - * g-sothco.ads (Int_Access): Remove extraneous access type (use - anonymous access instead). - (Get_Socket_From_Set): Fix incorrectly reverted formals - Last and Socket to match the underlying C routine. - - * g-socket.adb, g-socket.ads - (Get): Use named parameter associations instead of positional ones in - call go Get_Socket_From_Set, since this routine has two formals of the - same type. - (Image): New procedure. - - * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, - g-socthi-vxworks.ads, g-socthi-mingw.ads, g-socthi.adb, g-socthi.ads: - (C_Ioctl, Syscall_Ioctl): use "access C.int" instead of "Int_Access" - for type of Arg formal. - - * sem_warn.adb: Minor reformatting - -2009-04-07 Ed Schonberg <schonberg@adacore.com> - - * sem_util.adb (Has_Tagged_Component): Fix typo in loop that iterates - over record components. - -2009-04-07 Nicolas Roche <roche@adacore.com> - - * gsocket.h: - Don't include resolvLib.h on VxWorks 6 (kernel and rtp). This library - has disappeared between VxWorks 6.4 and VxWorks 6.5 - In RTP mode use time.h instead of times.h - -2009-04-07 Robert Dewar <dewar@adacore.com> - - * exp_ch4.adb (Expand_N_Op_Concat): Improve lower bound handling - -2009-04-07 Kevin Pouget <pouget@adacore.com> - - * exp_dist.adb: Modify Build_From_Any_Fonction procedure to correct - expanded code for constrained types. - -2009-04-07 Ed Schonberg <schonberg@adacore.com> - - * sem_ch4.adb (Analyze_Overloaded_Selected_Component): implement - AI05-105: in an object renaming declaration, anonymousness is a name - resolution rule. - - * sem_ch8.adb (Analyze_Object_Renaming): Ditto. - -2009-04-07 Arnaud Charlet <charlet@adacore.com> - - * g-comlin.adb (Expansion): Fix old regression: also return directory - names when matching. - -2009-04-07 Robert Dewar <dewar@adacore.com> - - * exp_ch4.adb: - (Expand_N_Op_Concat): Call Expand_Concatenate for all cases - (Expand_Concatenate): New name for Expand_Concatenate_String which has - been rewritten to handle all types. - (Expand_Concatenate_Other): Remove - -2009-04-07 Ed Schonberg <schonberg@adacore.com> - - * lib-xref.adb (Generate_Reference): A default subprogram in an - instance appears within the tree for the instance, but generates an - implicit reference in the ALI. - -2009-04-07 Javier Miranda <miranda@adacore.com> - - * sem_ch3.adb (Build_Derived_Record_Type): When processing a tagged - derived type that has discriminants, propagate the list of interfaces - to the corresponding new base type. In addition, propagate also - attribute Limited_Present (found working in this patch). - -2009-04-07 Robert Dewar <dewar@adacore.com> - - * exp_ch4.adb: Rewrite concatenation expansion. - -2009-04-07 Ed Schonberg <schonberg@adacore.com> - - * sem_ch8.adb (Restore_Scope_Stack): First_Private_Entity is only - relevant to packages. - -2009-04-07 Robert Dewar <dewar@adacore.com> - - * sem_attr.adb: Minor reformatting - - * sem_ch6.adb: Minor reformatting - -2009-04-07 Tristan Gingold <gingold@adacore.com> - - * socket.c: Add more protections against S_resolvLib_ macros. - -2009-04-07 Thomas Quinot <quinot@adacore.com> - - * sem_attr.adb: Minor reformatting - -2009-04-07 Ed Schonberg <schonberg@adacore.com> - - * sem_ch6.adb (New_Overloaded_Entity): New predicate - Is_Overriding_Alias to handle properly types that inherit two homonym - operations that have distinct dispatch table entries. - -2009-04-07 Emmanuel Briot <briot@adacore.com> - - * s-regexp.adb (Create_Mapping): Ignore excaped open parenthesis when - looking for the end of a parenthesis group - -2009-04-07 Tristan Gingold <gingold@adacore.com> - - * gsocket.h Don't #include resolvLib.h if __RTP__ is defined. - - * socket.c Don't use resolvLib_ macros if not defined. - -2009-04-07 Robert Dewar <dewar@adacore.com> - - * g-socket.adb: Minor reformatting. - - * g-socthi-mingw.adb: Minor reformatting - - * g-sothco.ads: Minor reformatting - - * exp_ch4.adb: - (Expand_Concatenate_String): Complete rewrite to generate efficient code - inline instead of relying on external library routines. - - * s-strops.ads, s-sopco5.ads, s-sopco5.adb, s-sopco4.ads, s-sopco4.adb, - s-sopco3.ads, s-sopco3.adb, s-strops.adb: Note that this unit is now - obsolescent - -2009-04-07 Ed Schonberg <schonberg@adacore.com> - - * sem_attr.adb: - (Eval_Attribute): for attributes of array objects that are not strings, - attributes are not static if nominal subtype of object is unconstrained. - -2009-04-07 Ed Schonberg <schonberg@adacore.com> - - * sem_ch6.adb (New_Overloaded_Entity): If two implicit homonym - operations for a type T in an instance do not override each other, - when T is derived from a formal private type, the corresponding - operations inherited by a type derived from T outside - of the instance do not override each other either. - -2009-04-07 Robert Dewar <dewar@adacore.com> - - (Osint.Fail): Change calling sequence to have one string arg - (Make.Make_Failed): Same change - All callers are adjusted to use concatenation - -2009-04-07 Robert Dewar <dewar@adacore.com> - - * exp_ch4.adb: Fix documentation typo - -2009-04-07 Robert Dewar <dewar@adacore.com> - - * tbuild.ads: Minor reformatting - -2009-04-07 Javier Miranda <miranda@adacore.com> - - * exp_disp.adb (Make_DT): Avoid the generation of the OSD_Table - when compiling under ZFP runtime. - -2009-04-07 Robert Dewar <dewar@adacore.com> - - * g-comlin.adb: Minor reformatting - -2009-04-07 Thomas Quinot <quinot@adacore.com> - - * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, - g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads, - g-socthi.adb, g-socthi.ads, g-socket.adb, g-socket.ads, g-sothco.ads: - Remove dynamic allocation of Fd_Set in Socket_Set_Type objects. - -2009-04-07 Robert Dewar <dewar@adacore.com> - - * gnat_ugn.texi: Document -gnatDnn/-gnatGnn - - * opt.ads (Sprint_Line_Limit): New parameter - - * sprint.adb: Usa Sprint_Line_Limit instead of Line_Limit throughout - - * switch-c.adb: Recognize -gnatDnnn and -gnatGnnn switches - - * usage.adb: Output information for -gnatGnn -gnatDnn - -2009-04-07 Robert Dewar <dewar@adacore.com> - - * make.adb: Minor reformatting - -2009-04-07 Robert Dewar <dewar@adacore.com> - - * mlib-tgt-specific-vms-alpha.adb: Minor reformatting - -2009-04-07 Robert Dewar <dewar@adacore.com> - - * mlib-tgt-specific-vms-ia64.adb: Minor reformatting - -2009-04-07 Robert Dewar <dewar@adacore.com> - - * checks.adb: - Remove Assume_Valid parameter from In_Subrange_Of calls - - * sem_eval.adb: - (Is_Subrange_Of): Remove Assume_Valid parameter, not needed - (Is_In_Range): Remove incorrect use of Assume_Valid - (Is_Out_Of_Range): Remove incorrect use of Assume_Valid - - * sem_eval.ads: - (Is_Subrange_Of): Remove Assume_Valid parameter, not needed - (Is_In_Range): Documentation cleanup - (Is_Out_Of_Range): Documentation cleanup - - * gnat_rm.texi: - Add documentation for Assume_No_Invalid_Values pragma - - * sem_ch12.adb: Minor reformatting - - * sem_ch6.adb: (Check_Conformance): Avoid cascaded errors - - * sem_prag.adb: Improve error message. - - * gnatchop.adb, osint.ads, sinput.adb, sinput.ads, styleg.adb: - LF/CR no longer recognized as line terminator - - * switch.ads: Minor documentation improvement - - * vms_data.ads: Minor reformatting - -2009-04-07 Robert Dewar <dewar@adacore.com> - - * checks.adb (Determine_Range): Add Assume_Valid parameter - - * checks.ads (Determine_Range): Add Assume_Valid parameter - - * errout.adb (Error_Msg_NEL): Use Suppress_Loop_Warnings rather than - Is_Null_Loop to suppress warnings in a loop body. - - * exp_ch4.adb: - (Rewrite_Comparison): Major rewrite to accomodate invalid values - - * exp_ch5.adb: - (Expand_N_Loop_Statement): Delete loop known not to execute - - * opt.ads: - (Assume_No_Invalid_Values): Now set to False, and as documented, this - fully enables the proper handling of invalid values. - - * sem_attr.adb: - New calling sequence for Is_In_Range - - * sem_ch5.adb: - (Analyze_Iteration_Scheme): Accomodate possible invalid values - in determining if a loop range is null. - - * sem_eval.adb: - (Is_In_Range): Add Assume_Valid parameter - (Is_Out_Of_Range): Add Assume_Valid_Parameter - (Compile_Time_Compare): Major rewrite to accomodate invalid values and - also to do more accurate and complete range analysis, catching more - cases. - - * sem_eval.ads: - (Is_In_Range): Add Assume_Valid parameter - (Is_Out_Of_Range): Add Assume_Valid_Parameter - - * sem_util.adb: - New calling sequence for Is_In_Range - - * sinfo.adb: - (Suppress_Loop_Warnings): New flag - - * sinfo.ads: - (Is_Null_Loop): Update documentation - (Suppress_Loop_Warnings): New flag - - * gnat_ugn.texi: Document -gnatB switch - -2009-04-07 Arnaud Charlet <charlet@adacore.com> - - * gnatvsn.ads: Bump version number. - -2009-04-07 Thomas Quinot <quinot@adacore.com> - - * exp_ch3.adb: Minor rewording (comments) - -2009-04-07 Robert Dewar <dewar@adacore.com> - - * exp_disp.adb: Minor reformatting - -2009-04-07 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Test the - underlying type. - * gcc-interface/trans.c (lvalue_required_p): Likewise. - -2009-04-07 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/trans.c (Attribute_to_gnu) <Max_Size_In_Storage_Elmts>: - Do not convert the result. Remove obsolete comment. - -2009-04-07 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/trans.c (establish_gnat_vms_condition_handler): Clear - DECL_CONTEXT. - (Subprogram_Body_to_gnu): Fix pasto. - -2009-04-07 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/gigi.h (standard_datatypes): Remove ADT_void_type_decl. - (void_type_decl_node): Remove. - (init_gigi_decls): Likewise. - (gnat_install_builtins): Declare. - (record_builtin_type): Likewise. - (create_type_stub_decl): Likewise. - * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Void>: Use void_type. - (gnat_to_gnu_entity) <E_Array_Type>: Make fat and thin pointer types - artificial. - <E_Array_Subtype>: Use the index types, not only their name, in the - record giving the names of the bounds, if any. - For a packed array type, make it artificial only if the base type - was artificial as well. Remove redundant statement. - (gnat_to_gnu_entity) <E_Incomplete_Type>: Do not create TYPE_DECL for - dummy types. - Use create_type_stub_decl to build the TYPE_STUB_DECL of types. - (rest_of_type_decl_compilation_no_defer): Likewise. - * gcc-interface/misc.c (gnat_printable_name): Add missing guard. - * gcc-interface/utils.c (make_dummy_type): Always create TYPE_STUB_DECL - and use create_type_stub_decl to build it. - (gnat_pushdecl): Rewrite condition. - (gnat_install_builtins): Remove bogus declaration. - (record_builtin_type): New function. - (finish_record_type): Use create_type_stub_decl to build TYPE_STUB_DECL - of types. - (create_type_stub_decl): New function. - (create_type_decl): Assert that the type is not dummy. If the type - hasn't been named yet, equate the TYPE_STUB_DECL to the created node. - (build_vms_descriptor32): Do not create TYPE_DECL for the descriptor. - (build_vms_descriptor): Likewise. - (init_gigi_decls): Delete and move bulk of code to... - * gcc-interface/trans.c (gigi): ...here. Use record_builtin_type. - (emit_range_check): Add gnat_node parameter. - (emit_index_check): Likewise. - (emit_check): Likewise. - (build_unary_op_trapv): Likewise. - (build_binary_op_trapv): Likewise. - (convert_with_check): Likewise. - (Attribute_to_gnu): Adjust calls for above changes. - (call_to_gnu): Likewise. - (gnat_to_gnu): Likewise. - (assoc_to_constructor): Likewise. - (pos_to_constructor): Likewise. - (Sloc_to_locus): Set BUILTINS_LOCATION for Standard_Location nodes. - (process_type): Do not create TYPE_DECL for dummy types. - -2009-04-07 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (gnat_to_gnu_entity): Reorder local variables. - * gcc-interface/trans.c: Fix formatting throughout. Fix comments. - * gcc-interface/utils.c: Fix comments. - -2009-04-07 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (compile_time_known_address_p): Rewrite and - move around. - (gnat_to_gnu_type): Move around. - (get_unpadded_type): Likewise. - * gcc-interface/utils.c (update_pointer_to): Use synthetic macro. - Tidy comments. - -2009-04-07 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/trans.c (check_for_eliminated_entity): New function. - (Attribute_to_gnu): Invoke it for Access- and Address-like attributes. - (call_to_gnu): Invoke it instead of manually checking. - -2009-04-04 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/utils.c (finish_record_type): Force structural equality - checks if the record type is discriminated. - -2009-03-31 Eric Botcazou <ebotcazou@adacore.com> - - * system-linux-alpha.ads (Functions_Return_By_DSP): Remove. - * system-linux-mips.ads (Functions_Return_By_DSP): Likewise. - * system-linux-mipsel.ads (Functions_Return_By_DSP): Likewise. - * system-linux-s390.ads (Functions_Return_By_DSP): Likewise. - * system-linux-s390x.ads (Functions_Return_By_DSP): Likewise. - * system-linux-sparc.ads (Functions_Return_By_DSP): Likewise. - * system-linux-sparcv9.ads (Functions_Return_By_DSP): Likewise. - -2009-03-30 Paolo Bonzini <bonzini@gnu.org> - - * gcc-interface/decl.c (maybe_pad_type): Use TREE_OVERFLOW instead - of TREE_CONSTANT_OVERFLOW. - -2009-03-30 Joseph Myers <joseph@codesourcery.com> - - PR rtl-optimization/323 - * gcc-interface/misc.c (gnat_post_options): Set - flag_excess_precision_cmdline. Give an error for - -fexcess-precision=standard for processors where the option is - significant. - -2009-03-27 H.J. Lu <hongjiu.lu@intel.com> - - PR c/39323 - * gcc-interface/utils.c (create_field_decl): Use "unsigned int" - on bit_align. - -2009-03-11 Olivier Hainque <hainque@adacore.com> - - * gcc-interface/trans.c (gnat_to_gnu) <case N_Slice>: In range - checks processing, remove unintended TREE_TYPE walk on index type. - -2009-03-01 Eric Botcazou <ebotcazou@adacore.com> - - PR ada/39264 - * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Do no - call make_packable_type on fat pointer types. - <E_Array_Subtype>: Likewise. - <E_Record_Subtype>: Call make_packable_type on all record types - except for fat pointer types. - (make_packable_type): Likewise. - (gnat_to_gnu_field): Likewise. - -2009-02-28 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/Makefile.in (cygwin/mingw): Revert accidental - EH_MECHANISM change made on 2007-12-06. - -2009-02-26 Andreas Schwab <schwab@suse.de> - - PR ada/39172 - * Makefile.in (srcdir): Set to @top_srcdir@ instead of @srcdir@. - * gcc-interface/Makefile.in: Change all uses of $(srcdir), - $(fsrcdir) and $(fsrcpfx) to add ada subdir. - (AWK): Substitute. - (target_cpu_default): Substitute. - -2009-02-25 Laurent GUERBY <laurent@guerby.net> - - PR ada/39221 - * a-teioed.adb (Expand): Fix Result overflow. - -2009-02-25 Laurent GUERBY <laurent@guerby.net> - - * gcc-interface/Makefile.in: Fix multilib handling for - sparc64-linux. - -2009-02-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> - - * s-oscons-tmplt.c [__osf__ && !_SS_MAXSIZE]: Undef AF_UNIX6. - -2009-02-18 H.J. Lu <hongjiu.lu@intel.com> - - * gcc-interface/misc.c (gnat_post_options): Turn off warn_psabi. - -2009-02-16 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/deftarg.c: Remove. - -2009-02-10 Olivier Hainque <hainque@adacore.com> - Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (enum alias_set_op): New enumeration. - (copy_alias_set): Rename into... - (relate_alias_sets): ...this. Add third parameter OP. Retrieve the - underlying array of unconstrained arrays for the new type as well. - If the old and new alias sets don't conflict, make one a subset of - the other as per the OP parameter. - (gnat_to_gnu_entity): Adjust calls to copy_alias_set. - <E_Record_Type>: Do not copy the alias set for derived types. - For all types, make the alias set of derived types a superset of - that of their parent type. - (make_aligning_type): Adjust calls to copy_alias_set. - (make_packable_type): Likewise. - * gcc-interface/trans.c (gnat_to_gnu)<N_Validate_Unchecked_Conversion>: - Check for alias set conflict instead of strict equality to issue the - warning. - -2009-02-09 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (gnat_to_gnu_entity) <E_String_Literal_Subtype>: - Set TYPE_NONALIASED_COMPONENT on the array type only if appropriate. - (copy_alias_set): Assert that arrays have the same aliasing settings. - (substitute_in_type) <ARRAY_TYPE>: Copy TYPE_NONALIASED_COMPONENT. - -2009-02-08 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (gnat_to_gnu_entity) <E_String_Literal_Subtype>: - Set TYPE_NONALIASED_COMPONENT on the array type. - -2009-01-31 Laurent GUERBY <laurent@guerby.net> - - * gcc-interface/Makefile.in: Fix mipsel linux handling. - -2009-01-16 Jakub Jelinek <jakub@redhat.com> - - * gcc-interface/Makefile.in: Fix multilib handling for - powerpc64-linux. - -2009-01-12 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Really strip - only useless conversions around renamed objects. - -2009-01-11 Eric Botcazou <ebotcazou@adacore.com> - - * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Put - the _Tag field before any discriminants in the field list. - (components_to_record): Remove obsolete comment. - -Copyright (C) 2009 Free Software Foundation, Inc. +Copyright (C) 2010 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright diff --git a/gcc/ada/ChangeLog-2009 b/gcc/ada/ChangeLog-2009 new file mode 100644 index 0000000..cf22b66 --- /dev/null +++ b/gcc/ada/ChangeLog-2009 @@ -0,0 +1,12171 @@ +2009-12-10 Eric Botcazou <ebotcazou@adacore.com> + + * s-linux-sparc.ads: New file. + * gcc-interface/Makefile.in (SPARC/Linux): Use it. + +2009-12-04 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/trans.c (add_decl_expr): At toplevel, mark the + TYPE_ADA_SIZE field of records and unions. + + * gcc-interface/trans.c (Attribute_to_gnu) <Attr_Length>: Set the + source location of the node onto the comparison expression if it + is not cached. + +2009-12-03 Eric Botcazou <ebotcazou@adacore.com> + + * exp_util.adb (Make_CW_Equivalent_Type): Set the + Is_Class_Wide_Equivalent_Type flag here in lieu of... + (Make_Subtype_From_Expr): ...here. + * exp_ch3.adb (Expand_Freeze_Record_Type): Do not set + Has_Controlled_Component on class-wide equivalent types. + * freeze.adb (Freeze_Record_Type): Likewise. + * sem_ch3.adb (Record_Type_Definition): Likewise. + +2009-12-01 Pascal Obry <obry@adacore.com> + + * s-osprim-mingw.adb (Get_Base_Time): Make sure that the base time is + taken at a clock tick boundary. + +2009-12-01 Thomas Quinot <quinot@adacore.com> + + * g-sechas.ads (GNAT.Secure_Hashes.H."=" on Context): Make abstract. + +2009-12-01 Matthew Gingell <gingell@adacore.com> + + * adadecode.c: Allow compilation when building the run time in the gnat + runtime. + (__gnat_decode): Strip the .nnnn suffix from names of nested functions. + + * gcc-interface/Makefile.in: Ada adadecode to LIBGNAT_SRCS and + LIBGNAT_OBJS. + +2009-12-01 Vincent Celier <celier@adacore.com> + + * gnatcmd.adb (Check_Files): Quote the path names as they may include + spaces. + +2009-12-01 Ed Schonberg <schonberg@adacore.com> + + * sem_ch3.adb (Analyze_Object_Declaration): If the defining identifier + has already been declared, it may have been rewritten as a renaming + declaration. + +2009-12-01 Ed Schonberg <schonberg@adacore.com> + + * einfo.ads: Clarify use of Is_Private_Primitive. + * sem_ch6.adb (Analyze_Subprogram_Declaration): An operation is a + private primitive operation only if it is declared in the scope of the + private controlling type. + * exp_ch9.adb (Build_Wrapper_Spec): Build wrappers for private + protected operations as well. + +2009-12-01 Arnaud Charlet <charlet@adacore.com> + + * gnat1drv.adb (Adjust_Global_Switches): Disable front-end + optimizations in CodePeer mode, to keep the tree as close to the source + code as possible, and also to avoid inconsistencies between trees when + using different optimization switches. + +2009-12-01 Thomas Quinot <quinot@adacore.com> + + * scos.ads: Updated specification of source coverage obligation + information. + +2009-12-01 Thomas Quinot <quinot@adacore.com> + + * g-sercom.ads, g-sercom-mingw.adb, g-sercom-linux.adb, + a-ststio.adb, s-commun.adb, s-commun.ads, g-socket.adb, + g-socket.ads (System.Communications.Last_Index): For the case where no + element has been transferred and Item'First = + Stream_Element_Offset'First, raise CONSTRAINT_ERROR. + +2009-12-01 Ed Schonberg <schonberg@adacore.com> + + * sem_ch10.adb (Install_Siblings): A private with_clause on some child + unit U in an ancestor of the current unit must be ignored if the + current unit has a regular with_clause on U. + +2009-11-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * s-oscons-tmplt.c [__mips && __sgi]: Only define _XOPEN5, IOV_MAX + if _XOPEN_IOV_MAX is defined. + +2009-11-30 Vasiliy Fofanov <fofanov@adacore.com> + + * vms_data.ads: Add new VMS qualifiers, + REVERSE_BIT_ORDER/NOREVERSE_BIT_ORDER, to support warnings on bit order + effects. + +2009-11-30 Thomas Quinot <quinot@adacore.com> + + * exp_ch9.adb, exp_ch9.ads, sem_util.ads: Minor reformatting. + +2009-11-30 Gary Dismukes <dismukes@adacore.com> + + * sem_prag.adb: Fix spelling error. + +2009-11-30 Ed Schonberg <schonberg@adacore.com> + + * exp_ch9.ads (Build_Private_Protected_Declaration): For a protected + operation that is only declared in a protected body, create a + corresponding subprogram declaration. + * exp_ch9.adb (Expand_N_Protected_Body): Create protected body of + operation in all cases, including for an operation that is only + declared in the body. + * sem_ch6.adb: Call Build_Private_Protected_Declaration + * exp_ch6.adb (Expand_N_Subprogram_Declaration): For an operation + declared in a protected body, create the declaration for the + corresponding protected version of the operation. + +2009-11-30 Arnaud Charlet <charlet@adacore.com> + + * gnat1drv.adb (Adjust_Global_Switches): Disable specific expansions + for Restrictions pragmas, to avoid tree inconsistencies between + compilations with different pragmas. + +2009-11-30 Jerome Lambourg <lambourg@adacore.com> + + * sem_prag.adb (Check_Duplicated_Export_Name): Allow entities exported + to CIL to have duplicated export name. + +2009-11-30 Robert Dewar <dewar@adacore.com> + + * a-tiinio.adb: Remove extraneous pragma Warnings (Off). + +2009-11-30 Thomas Quinot <quinot@adacore.com> + + * par_sco.adb: Minor reformatting + +2009-11-30 Ed Falis <falis@adacore.com> + + * s-vxwext.ad[s,b], system-vxworks-ppc.ads, s-stchop-vxworks.adb: + Comment update. + +2009-11-30 Ed Schonberg <schonberg@adacore.com> + + * par_sco.adb (Traverse_Handled_Statement_Sequence): Do not emit SCO's + for null statements that do not come from source. + * sinfo.ads: Clarify documentation of Comes_From_Source + +2009-11-30 Vincent Celier <celier@adacore.com> + + * prj-nmsc.adb (Add_Source): Use Display_Name for both projects when + displaying the paths in error message. + +2009-11-30 Emmanuel Briot <briot@adacore.com> + + * adaint.h, adaint.c (file_attributes): force the use of unsigned char. + On some platforms, "char" is signed, on others unsigned, so we + explicitly specify the one we expect + +2009-11-30 Matthew Heaney <heaney@adacore.com> + + * a-coinve.adb (Insert): Move exception handler closer to point where + exception can occur. + Minor reformatting & comment additions. + +2009-11-30 Arnaud Charlet <charlet@adacore.com> + + * freeze.adb (Freeze_Entity): Disable warning on 'Foreign caller must + pass bounds' for VM targets, not relevant. + +2009-11-30 Robert Dewar <dewar@adacore.com> + + * sem_util.adb (Wrong_Type): Diagnose additional case of modular + missing parens. + * a-tiinio.adb, a-wtinio.adb, a-ztinio.adb: Minor reformatting + + * exp_util.adb (Kill_Dead_Code): Suppress warning for some additional + cases. + + * sem_warn.adb (Set_Warning_Flag): Clean up gnatwA list and ensure + completeness. + (Set_Dot_Warning_Flag): Ditto for -gnatw.e + (Set_Dot_Warning_Flag): Implement -gnbatw.v/w.V + * usage.adb: Add lines for -gnatw.v/w.V + +2009-11-30 Emmanuel Briot <briot@adacore.com> + + * make.adb (Check_Standard_Library): use Full_Source_Name instead of + direct call to Find_File. The former provides caching of the results, so + might be more efficient + (Start_Compile_If_Necessary): Add comment on possible optimization, + not done for now. + +2009-11-30 Thomas Quinot <quinot@adacore.com> + + * g-sechas.adb: Minor reformatting + +2009-11-30 Matthew Heaney <heaney@adacore.com> + + * a-crbtgo.adb (Delete_Fixup): Add comments explaining why predicates + were removed. + * a-cdlili.adb (Vet): Remove always-true predicates. + +2009-11-30 Thomas Quinot <quinot@adacore.com> + + * s-sechas.adb, s-sechas.ads, s-shshco.adb, s-shshco.ads, s-shsh64.adb, + s-shsh64.ads, s-sehamd.adb, s-sehamd.ads, s-shsh32.adb, s-shsh32.ads, + s-sehash.adb, s-sehash.ads, g-sechas.adb, g-sechas.ads, g-shshco.adb, + g-shshco.ads, g-md5.ads, g-sha256.ads, g-shsh64.adb, g-shsh64.ads, + g-sehamd.adb, g-sehamd.ads, g-sha512.ads, g-sha1.ads, Makefile.rtl, + g-sha224.ads, g-shsh32.adb, g-shsh32.ads, g-sha384.ads, g-sehash.adb, + g-sehash.ads: Rename System.Secure_Hashes to GNAT.Secure_Hashes. + +2009-11-30 Robert Dewar <dewar@adacore.com> + + * osint.ads: Minor comment update. + +2009-11-30 Thomas Quinot <quinot@adacore.com> + + * s-sechas.adb: Fix swapping error in previous checkin. + * g-md5.ads, g-sha256.ads, g-sha512.ads, g-sha1.ads, g-sha224.ads, + g-sha384.ads: Add missing documentation. + +2009-11-30 Robert Dewar <dewar@adacore.com> + + * g-sha256.ads, s-sehamd.ads, s-sehamd.adb, g-sha512.ads, g-sha224.ads, + g-sha384.ads: Minor reformatting + +2009-11-30 Emmanuel Briot <briot@adacore.com> + + * adaint.h (file_attributes): Reduce size of the structure, so that it + is less costly to store in records. + * makeutl.adb: + (Check_Source_Info_In_ALI): use Full_Source_Name instead of a direct + call to Find_File, since the former provides caching when appropriate, + which limits the number of system calls in some cases. + * osint.ads, prj.ads (Source_Data): do not store directly the timestamp, + but the file attributes since we also need access to the size of the + ALI file to parse it. This gives an opportunity for saving system calls + on Unix systems. + +2009-11-30 Robert Dewar <dewar@adacore.com> + + * sem_prag.adb, s-sechas.ads, s-sechas.adb: Minor reformatting. + +2009-11-30 Gary Dismukes <dismukes@adacore.com> + + * sem_prag.adb (Process_Convention): Change formal E to Ent. In the + case where the pragma's entity argument is a renaming, return the + entity denoted by the renaming rather than the renamed entity. Loop + through the homonyms of the original argument entity, rather than the + homonyms of any renamed entity. Correct call to Generate_Entity to + pass the homonym. + +2009-11-30 Vincent Celier <celier@adacore.com> + + * impunit.adb: Add packages that were added to the GNAT library: + GNAT.SHA224, GNAT.SHA256, GNAT.SHA384 and GNAT.SHA512. + * s-sechas.adb (Fill_Buffer_Copy): Fixes incorrect slice index + +2009-11-30 Robert Dewar <dewar@adacore.com> + + * exp_ch3.adb: Minor reformatting + * g-md5.ads, g-sha1.ads: Add comment. + +2009-11-30 Arnaud Charlet <charlet@adacore.com> + + * gcc-interface/Makefile.in: Remove handling of libgccprefix, no longer + needed. + +2009-11-30 Pascal Obry <obry@adacore.com> + + * expect.c: Fix cast to avoid warnings in x86-64 Windows. + +2009-11-30 Thomas Quinot <quinot@adacore.com> + + * gnat_rm.texi, s-sechas.adb, s-sechas.ads, s-shshco.adb, + s-shshco.ads, g-md5.adb, g-md5.ads, g-sha256.ads, s-shsh64.adb, + s-shsh64.ads, s-sehamd.adb, s-sehamd.ads, g-sha512.ads, g-sha1.adb, + g-sha1.ads, Makefile.rtl, g-sha224.ads, g-sha384.ads, s-shsh32.adb, + s-shsh32.ads, s-sehash.adb, s-sehash.ads: Reimplementation of GNAT.MD5 + and GNAT.SHA1 to factor shared code and avoid unnecessary stack copies. + Also introduce new functions SHA-{224,256,384,512} + +2009-11-30 Jerome Lambourg <lambourg@adacore.com> + + * exp_ch3.adb (Make_Predefined_Primitive_Specs): Improve comment for + the Value_Type case. + +2009-11-30 Thomas Quinot <quinot@adacore.com> + + * a-textio.adb: Minor reformatting + +2009-11-30 Pascal Obry <obry@adacore.com> + + * adaint.c: Fix bug in passing parameter. + * expect.c: Include io.h to get definition of _open_osfhandle + +2009-11-30 Javier Miranda <miranda@adacore.com> + + * exp_ch6.adb, sem_scil.adb (Adjust_SCIL_Node): Add missing management + of N_Unchecked_Type_Conversion nodes when searching for SCIL nodes. + (Expand_Call): Adjust decoration of SCIL node associated with relocated + function call. + +2009-11-30 Emmanuel Briot <briot@adacore.com> + + * prj-env.adb (Add_To_Source_Path): Preserve casing of directories + +2009-11-30 Vincent Celier <celier@adacore.com> + + * opt.ads (No_Split_Units): New flag initialized to False + +2009-11-30 Jerome Lambourg <lambourg@adacore.com> + + * exp_ch7.adb (Needs_Finalization): Add comments. + * exp_ch3.adb (Make_Predefined_Primitive_Specs): Improve handling of + CIL Value types. + +2009-11-30 Robert Dewar <dewar@adacore.com> + + * osint.adb, a-rttiev.adb: Minor reformatting. + +2009-11-30 Robert Dewar <dewar@adacore.com> + + * gnat_rm.texi: Remove list of warning letters, and refer instead to + using gnatmake to get a brief list. + + * debug.adb: Document -gnatd.i to disable pragma Warnings + * par-prag.adb, sem_prag.adb: Recognize -gnatd.i to disable Warnings + pragma. + * vms_data.ads: Add /NOWARNINGS_PRAGMS for -gnatd.i + +2009-11-30 Geert Bosch <bosch@adacore.com> + + * a-ngelfu.adb (Sin): Correct spelling of sine in comment. + +2009-11-30 Vincent Celier <celier@adacore.com> + + * gnatls.adb: Do not call Get_Target_Parameters in Verbose_Mode, as it + is not needed and gnatls fails when called with -v -nostdinc. + +2009-11-30 Emmanuel Briot <briot@adacore.com> + + * osint.adb, osint.ads (File_Time_Stamp): new subprogram. + +2009-11-30 Ed Schonberg <schonberg@adacore.com> + + * gnat_rm.texi, gnat_ugn.texi: Document new syntax for pragma Annotate + +2009-11-30 Robert Dewar <dewar@adacore.com> + + * scans.ads (Wide_Wide_Character_Found): New flag + * scn.adb (Post_Scan): Set new flag Has_Wide_Wide_Character + * scng.adb (Set_String): Set new flag Wide_Wide_Character_Found + (Set_String): Fix failure to reset Wide_Character_Found + * sinfo.adb (Has_Wide_Wide_Character): New flag in N_String_Literal + * sinfo.ads (Has_Wide_Wide_Character): New flag in N_String_Literal + * a-ngelfu.adb: Minor reformatting & code reorganization. + * usage.adb: Fix typo in -gnatw.W line + +2009-11-30 Robert Dewar <dewar@adacore.com> + + * osint.adb, prj-nmsc.adb, sem_prag.adb, sem_util.adb: Minor + reformatting. + * csinfo.adb: Terminate run if improper use of reserved flag + * sinfo.ads, sinfo.adb (Is_Accessibility_Actual): Don't use reserved + Flag12, used Flag13 instead. + +2009-11-30 Vincent Celier <celier@adacore.com> + + * gnatcmd.adb (Check_Files): Recognize documented switches that have a + separate parameter. + +2009-11-30 Robert Dewar <dewar@adacore.com> + + * sem_util.ads: Minor reformatting + * errout.adb: Minor reformatting + Minor code reorganization (use N_Subprogram_Specification to simplify) + * exp_ch7.adb: Add comment. + +2009-11-30 Thomas Quinot <quinot@adacore.com> + + * put_scos.adb (Put_SCOs): Do not generate a SCO unit header for a unit + that has no SCOs. + * scos.ads: Minor reformatting + +2009-11-30 Ed Schonberg <schonberg@adacore.com> + + * sem_prag.adb: Second unanalyzed parameter of Annotate is optional. + +2009-11-30 Eric Botcazou <ebotcazou@adacore.com> + + * init.c (__gnat_adjust_context_for_raise, Linux version): Add guard + for null PC saved in the context. + +2009-11-30 Hristian Kirtchev <kirtchev@adacore.com> + + * a-calend.adb (Day_Of_Week): Rewritten. The routine determines the + number of days from the Ada Epoch to the input date while ensuring that + both dates are in the same time zone. + +2009-11-30 Emmanuel Briot <briot@adacore.com> + + * clean.adb ("-eL"): Also set Follow_Links_For_Dirs, to match what is + done in other project-aware tools like gnatmake and gprbuild. + +2009-11-30 Jerome Lambourg <lambourg@adacore.com> + + * exp_ch3.adb (Make_Predefined_Primitive_Specs): Take care of CIL + ValueTypes. + * exp_ch7.adb (Needs_Finalization): Do not finalize CIL valuetypes. + * sem_util.adb (Is_Value_Type): Protect against invalid calls to Chars + (Is_Delegate): New method used for CIL. + * sem_util.ads (Is_Delegate): New method for CIL handling. + (Is_Value_Type): Improve documentation. + +2009-11-30 Ed Schonberg <schonberg@adacore.com> + + * errout.adb (Unwind_Internal_Type): Improve error reporting if the + type is an anonymous access to subprogram that is the type of a formal + in a subprogram spec. + +2009-11-30 Vincent Celier <celier@adacore.com> + + * prj-nmsc.adb (Check_Interfaces): In a Stand-Alone Library project, if + attribute Interfaces is not declared, then Library_Interface should + define the interfaces. + +2009-11-30 Ed Schonberg <schonberg@adacore.com> + + * sem_prag.adb: New semantics for Annotate. + +2009-11-30 Tristan Gingold <gingold@adacore.com> + + * gcc-interface/Makefile.in: Do not link with -static-libgcc on Darwin. + +2009-11-30 Emmanuel Briot <briot@adacore.com> + + * gnat_ugn.texi: Extend doc for -eL + +2009-11-30 Vincent Celier <celier@adacore.com> + + * osint.adb (Executable_Name (File_Name_Type)): Put the Name in the + Name_Buffer before testing for a dot in the Name. + +2009-11-30 Vincent Celier <celier@adacore.com> + + * prj-part.adb (Project_Path_Name_Of): Resolve links for final result + if -eL has been specified. + +2009-11-30 Vincent Celier <celier@adacore.com> + + * osint.adb (Executable_Name): Test the name instead of the name buffer + to check if there is a dot in the given name. + +2009-11-30 Sergey Rybin <rybin@adacore.com> + + * gnat_ugn.texi: Update gnatcheck doc. + +2009-11-30 Robert Dewar <dewar@adacore.com> + + * sem_ch3.adb, sem_disp.adb, usage.adb: Minor reformatting + +2009-11-30 Vasiliy Fofanov <fofanov@adacore.com> + + * gnat_ugn.texi: Minor editing. + +2009-11-30 Emmanuel Briot <briot@adacore.com> + + * prj-nmsc.adb (Search_Directories): when -eL was not specified, assume + that no directory matches the naming scheme for sources. + +2009-11-30 Emmanuel Briot <briot@adacore.com> + + * prj.adb, prj.ads, prj-nmsc.adb (Has_Multi_Unit_Sources): New field in + project_data. + +2009-11-30 Vincent Celier <celier@adacore.com> + + * osint.adb (Executable_Name): Correctly decide if the executable + suffix should be added when Only_If_No_Suffix is True. + +2009-11-30 Robert Dewar <dewar@adacore.com> + + * frontend.adb, gnatlink.adb, prj-conf.adb, prj-tree.adb, + prj-tree.ads: Minor reformatting + +2009-11-30 Vincent Celier <celier@adacore.com> + + * gnatlink.adb (Process_Args): Call Executable_Name on argument of -o + with Only_If_No_Suffix set to True. + * osint.adb (Executable_Name): Do not add executable suffix if there is + already a suffix and Only_If_No_Suffix is True. + * osint.ads (Executable_Name): New Boolean parameter Only_If_No_Suffix, + defaulted to False. + +2009-11-30 Javier Miranda <miranda@adacore.com> + + * exp_atag.adb (Build_TSD): Change argument name because the actual is + now the address of a tag (instead of the tag). Update implementation + accordingly. + (Build_CW_Membership): New implementation. Converted into a procedure + because it has an additional out mode parameter. Its implementation has + been rewritten to improve the generated code but also to facilitate + referencing the relocated object node in the caller. + * exp_atag.ads (Build_CW_Membership): Update profile and documentation. + * sinfo.ads (N_SCIL_Membership_Test) New_Node. + (SCIL_Tag_Value): New field of N_SCIL_Membership_Test nodes. + (Is_Syntactic_Field): Add entry of new node. + (SCIL_Tag_Value/Set_SCIL_Tag_Value): New subprograms. + * sinfo.adb (SCIL_Related_Node, SCIL_Entity): Update assertions to + handle N_SCIL_Membership_Test nodes. + (SCIL_Tag_Value/Set_SCIL_Tag_Value): New subprograms. + * sem.adb (Analyze): Add null management for new node. + * sem_scil.adb (Find_SCIL_Node): Add null management for new node. + (Check_SCIL_Node): Add checks of N_SCIL_Membership_Test nodes. + * exp_ch4.adb (Tagged_Membership): Change profile from function to + procedure. Add generation of SCIL node associated with class-wide + membership test. + (Expand_N_In): Complete decoration of SCIL nodes. + * exp_intr.adb (Expand_Dispatching_Constructor_Call): Tune call to + Build_CW_Membership because its profile has been changed. + * exp_util.adb (Insert_Actions): Add null management for new node. + * sprint.adb (Sprint_Node_Actual): Handle new node. + * gcc-interface/trans.c Add no processing for N_SCIL_Membership_Test + nodes. + * gcc-interface/Make-lang.in: Update dependencies. + +2009-11-30 Ed Schonberg <schonberg@adacore.com> + + * opt.ads: New flags Init_Or_Norm_Scalars_Config, + Initialize_Scalars_Config, to capture the presence of the corresponding + pragmas in a configuration file. + * opt.adb (Register_, Save_, Set_, Restore_Opt_Configuration_Switches): + handle new flags so that they are restored for each compilation unit. + * frontend.adb: At the end of compilation, scan the context of the main + unit to recover occurrences of pragma Initialize_Scalars, to annotate + the ALI file accordingly. + +2009-11-30 Vincent Celier <celier@adacore.com> + + * prj-tree.ads: Minor comment updates + * prj-tree.adb: Minor reformatting + +2009-11-30 Ed Schonberg <schonberg@adacore.com> + + * sem_ch3.adb (Derive_Subprogram): Indicate that an inherited + predefined control operation is hidden if the parent type is not + visibly controlled. + * sem_ch6.adb (Check_Overriding_Indicator): Do not report error if + overridden operation is not visible, as may be the case with predefined + control operations. + * sem_disp.adb (Check_Dispatching_Operation): Do not emit warning on + non-overriding control operation when type is not visibly controlled, + if the subprogram has an explicit overriding indicator. + * sem_util.ads, sem_util.adb (Is_Visibly_Controlled): Moved here from + sem_disp.adb. + +2009-11-30 Emmanuel Briot <briot@adacore.com> + + * prj-tree.adb (Create_Attribute): Fix handling of VMS and Windows + * prj-attr.ads: Minor comment updates + +2009-11-30 Robert Dewar <dewar@adacore.com> + + * gnat_rm.texi: Document pragma Short_Circuit + +2009-11-30 Emmanuel Briot <briot@adacore.com> + + * prj-conf.adb, prj-tree.adb, prj-tree.ads (Create_Attribute): Now set + the index either on the attribute or on its value, depending on the + kind of the attribute. Done to match recent changes in Prj.PP that were + not synchronized with this function. + +2009-11-30 Arnaud Charlet <charlet@adacore.com> + + * gcc-interface/Make-lang.in: Fix typo. + Update dependencies. + +2009-11-30 Robert Dewar <dewar@adacore.com> + + * gnat_rm.texi: Add documentation for attribute Result. + +2009-11-30 Arnaud Charlet <charlet@adacore.com> + + * s-osinte-hpux.ads, s-osinte-aix.ads, s-osinte-solaris-posix.ads, + s-osinte-tru64.ads, s-osinte-darwin.ads, s-osinte-freebsd.ads + (Get_Page_Size): Update comment since Get_Page_Size is now required. + +2009-11-30 Jerome Lambourg <lambourg@adacore.com> + + * freeze.adb: Disable Warning on VM targets concerning C Imports, not + relevant. + +2009-11-30 Bob Duff <duff@adacore.com> + + * sprint.adb (Source_Dump): Minor comment fix. + (Write_Itype): When writing a string literal subtype, use Expr_Value + instead of Intval to get the low bound. + +2009-11-30 Vincent Celier <celier@adacore.com> + + * gnatlink.adb (Process_Args): Do not call Executable_Name on arguments + of switch -o. + +2009-11-30 Robert Dewar <dewar@adacore.com> + + * exp_ch4.adb (Expand_N_Op_And): Implement pragma Short_Circuit_And_Or + (Expand_N_Op_Or): Implement pragma Short_Circuit_And_Or + * opt.ads (Short_Circuit_And_Or): New flag + * par-prag.adb: Add dummy entry for pragma Short_Circuit_And_Or + * sem_prag.adb: Implement pragma Short_Circuit_And_Or + * snames.ads-tmpl: Add entries for pragma Short_Circuit_And_Or + +2009-11-30 Arnaud Charlet <charlet@adacore.com> + + * s-taprop-posix.adb: Fix casing. + * s-osinte-tru64.adb: Complete previous check-in. + +2009-11-30 Robert Dewar <dewar@adacore.com> + + * gnat_rm.texi: Document pragma Compiler_Unit + * s-bitops.adb, s-restri.adb, g-htable.adb, s-restri.ads, + a-comlin.ads, a-strhas.ads, s-strhas.adb, s-parame.adb, + s-parame.ads, a-clrefi.adb, a-clrefi.ads, a-ioexce.ads: Supply missing + Compiler_Unit pragmas. + * freeze.adb (Freeze_Entity): Improve message for 8-bit boolean passed + to C. + +2009-11-30 Robert Dewar <dewar@adacore.com> + + * makeutl.adb, makeutl.ads, prj-proc.adb, prj.adb, prj.ads: Minor + reformatting. + +2009-11-30 Thomas Quinot <quinot@adacore.com> + + * osint.adb: Minor reformatting + +2009-11-30 Vincent Celier <celier@adacore.com> + + * makeutl.ads, makeutl.adb (Base_Name_Index_For): New function to get + the base name of a main without the extension, with an eventual source + index. + (Mains.Get_Index): New procedure to set the source index of a main + (Mains.Get_Index): New function to get the source index of a main + * prj-attr.adb: New attributes Config_Body_File_Name_Index, + Config_Spec_File_Name_Index, Multi_Unit_Object_Separator and + Multi_Unit_Switches. + * prj-nmsc.adb (Process_Compiler): Takle into account new attributes + Config_Body_File_Name_Index, Config_Spec_File_Name_Index, + Multi_Unit_Object_Separator and Multi_Unit_Switches. + Allow only one character for Multi_Unit_Object_Separator. + * prj-proc.adb (Process_Declarative_Items): Take into account the + source indexes in indexes of associative array attribute declarations. + * prj.adb (Object_Name): New function to get the object file name for + units in multi-unit sources. + * prj.ads (Language_Config): New components Multi_Unit_Switches, + Multi_Unit_Object_Separator Config_Body_Index and Config_Spec_Index. + (Object_Name): New function to get the object file name for units in + multi-unit sources. + * snames.ads-tmpl: New standard names Config_Body_File_Name_Index, + Config_Spec_File_Name_Index, Multi_Unit_Object_Separator and + Multi_Unit_Switches. + +2009-11-30 Arnaud Charlet <charlet@adacore.com> + + * s-tassta.adb: Update comment. + +2009-11-30 Robert Dewar <dewar@adacore.com> + + * a-ngelfu.adb: Minor code reorganization. + +2009-11-30 Robert Dewar <dewar@adacore.com> + + * osint.ads, prj.adb, prj.ads: Minor reformatting + * s-stchop.adb, s-taprop-vxworks.adb, s-taprop-tru64.adb, + s-taprop-vms.adb, s-taprop-linux.adb, s-taprop-solaris.adb, + s-strxdr.adb, s-taprop-irix.adb, s-osinte-hpux-dce.adb, + s-osinte-tru64.adb, s-taenca.adb, s-taprop-hpux-dce.adb, s-stausa.adb, + s-taprop-posix.adb: Minor code reorganization (use conditional + expressions). + +2009-11-30 Bob Duff <duff@adacore.com> + + * g-sttsne-locking.adb (Copy_Service_Entry): Complete previous change. + +2009-11-30 Bob Duff <duff@adacore.com> + + * socket.c: Add more accessor functions for struct servent (need + setters as well as getters). + * g-sothco.ads (Servent): Declare interfaces to C setter functions for + struct servent. + * g-sttsne-locking.adb (Copy_Service_Entry): Use setter functions for + struct servent. + +2009-11-30 Robert Dewar <dewar@adacore.com> + + * s-stchop-vxworks.adb: Add comment. + +2009-11-30 Emmanuel Briot <briot@adacore.com> + + * make.adb, prj.adb, prj.ads (Compute_All_Imported_Projects): Now acts + on the whole tree, to better share code with gprbuild. + (Length): New subprogram, to share code in gprbuild. + (Project_Data): Remove fields that are only needed when compiling a + project in gprbuild (where we use local variables instead) + * osint.adb, osint.ads: Added minor comment on memory management + +2009-11-30 Sergey Rybin <rybin@adacore.com> + + * gnat_ugn.texi: Update gnatcheck doc. + +2009-11-30 Robert Dewar <dewar@adacore.com> + + make.adb, prj-makr.adb, g-sothco.ads: Minor reformattting + * s-taprop-dummy.adb: Minor code reorganization (raise with msgs start + with lower case). + * i-vxwoio.adb, g-dirope.adb, g-sercom-linux.adb, + g-enblsp-vms-alpha.adb, g-regist.adb, s-imgcha.adb, s-tarest.adb, + s-taprop-mingw.adb, g-exctra.adb, g-expect.adb, g-comlin.adb, + g-debpoo.adb, g-expect-vms.adb, g-pehage.adb, g-trasym-vms-alpha.adb, + g-enblsp-vms-ia64.adb, s-fatgen.adb, s-fileio.adb: Minor code + reorganization (use conditional expressions). + +2009-11-30 Vincent Celier <celier@adacore.com> + + * prj-makr.adb (Source_Files): New hash table to keep track of source + file names. + (Finalize): Avoid putting several times the same source file name + in the source list file. + * prj-pp.adb (Print): Fix a bug in the placement of "at nn" for + associative array indexes. + +2009-11-30 Robert Dewar <dewar@adacore.com> + + * g-dyntab.ads: Add missing pragma Compiler_Unit + +2009-11-30 Thomas Quinot <quinot@adacore.com> + + * s-crtrun.ads, s-crtl.ads, g-stseme.adb, Makefile.rtl, s-fileio.adb + (System.CRTL.Runtime): New unit, to contain parts of s-crtl that are + used in the Ada runtime but can't be used in the compiler because of + bootstrap issues. + * socket.c, s-oscons-tmplt.c, g-sothco.ads + (System.OS_Constants.SIZEOF_struct_servent): New constant. + Use s-oscons constant instead of external variable to get size of + struct hostent. + +2009-11-30 Thomas Quinot <quinot@adacore.com> + + * s-crtl.ads, g-stseme.adb, s-fileio.adb (System.CRTL.strerror): Change + return type to Interfaces.C.Strings.chars_ptr to eliminate need for + dubious unchecked conversion at call sites. + * s-errrep.adb, s-errrep.ads, Makefile.rtl (System.Error_Reporting): + Remove obsolete, unused runtime unit. + * gcc-interface/Make-lang.in: Update dependencies. + * gcc-interface/Makefile.in: Remove VMS specialization of s-crtl, not + required anymore. + +2009-11-30 Vincent Celier <celier@adacore.com> + + * gnatlink.adb: Delete an eventual existing executable file, in case it + is a symbolic link, to avoid modifying the target of the symbolic link. + +2009-11-30 Bob Duff <duff@adacore.com> + + * socket.c: Add accessor functions for struct servent. + * g-sothco.ads (Servent): Declare interfaces to C accessor functions + for struct servent. + * g-socket.adb (To_Service_Entry): Use accessor functions for struct + servent. + +2009-11-30 Robert Dewar <dewar@adacore.com> + + * g-arrspl.adb: Minor reformatting + * g-dyntab.adb: Add missing pragma Compiler_Unit + +2009-11-30 Thomas Quinot <quinot@adacore.com> + + * s-crtl.ads, s-oscons-tmplt.c: Fix support for VMS + * make.adb, g-comlin.ads, exp_ch6.adb: Minor reformatting + +2009-11-30 Robert Dewar <dewar@adacore.com> + + * bcheck.adb, gnatlink.adb, make.adb, makeutl.adb, osint.adb, + osint.ads, prj-ext.adb, sem_case.adb: Minor reformatting + * g-alleve.adb: Minor code reorganization (use conditional expressions) + +2009-11-30 Matthew Heaney <heaney@adacore.com> + + * a-crbtgo.adb (Delete_Fixup): Changed always-true predicates to + assertions. + +2009-11-30 Thomas Quinot <quinot@adacore.com> + + * a-tasatt.adb, s-crtl.ads, s-taprop-dummy.adb (System.CRTL.malloc32, + System.CRTL.realloc32): Remove VMS-specific routines. + (Ada.Task_Attributes.Reference): Remove unreachable code. + (System.Task_Primitives.Operations.Initialize, dummy version): + Use plain Program_Error rather than call to + System.Error_Reporting.Shutdown. + +2009-11-30 Thomas Quinot <quinot@adacore.com> + + * s-oscons-tmplt.c, xoscons.adb: Add new constants in preparation for + sharing s-crtl across all platforms. + +2009-11-30 Thomas Quinot <quinot@adacore.com> + + * s-commun.adb, s-commun.ads: New internal support unit, + allowing code sharing between GNAT.Sockets and + GNAT.Serial_Communication. + * g-sercom.ads, g-sercom-mingw.adb, g-sercom-linux.adb, + g-socket.adb (GNAT.Sockets.Last_Index): Move to System.Communication. + (GNAT.Serial_Communication.Read): Handle correctly the case where no + data was read, and Buffer'First = Stream_Element_Offset'First. + * Makefile.rtl: Add entry for s-commun + * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, + g-socthi-vxworks.ads, g-stseme.adb, g-socthi-mingw.ads, + g-socthi.adb, g-socthi.ads (GNAT.Sockets.Thin.Socket_Error_Message): + Reimplement in terms of System.CRTL.strerror. + +2009-11-26 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/utils.c (copy_type): Unshare the language-specific data + and the contents of the language-specific slot if needed. + +2009-11-26 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/trans.c (gnat_to_gnu) <N_In>: Set the source location + of the operator on both branches of the test in the generic case. + +2009-11-25 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/trans.c (unchecked_conversion_lhs_nop): Rename into... + (unchecked_conversion_nop): ...this. Handle actual parameters. + (gnat_to_gnu): Adjust for above renaming. + +2009-11-25 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Enumeration_Type>: + Translate regular boolean types into BOOLEAN_TYPEs. + +2009-11-24 Eric Botcazou <ebotcazou@adacore.com> + + * sem_util.adb (Set_Debug_Info_Needed): For an E_Class_Wide_Subtype, + also set the flag on the Equivalent_Type. + * gcc-interface/utils.c (finish_record_type): Replace DO_NOT_FINALIZE + parameter with DEBUG_INFO_P. Rename FIELDLIST into FIELD_LIST. + (rest_of_record_type_compilation): Rename FIELDLIST into FIELD_LIST. + (build_vms_descriptor32): Adjust call to finish_record_type. + (build_vms_descriptor): Likewise. + (build_unc_object_type): Likewise. + * gcc-interface/decl.c (gnat_to_gnu_entity): Adjust calls to + finish_record_type and components_to_record. + (make_packable_type): Adjust call to finish_record_type. + (maybe_pad_type): Likewise. Tweak condition. + (components_to_record): Likewise. Replace DO_NOT_FINALIZE parameter + with MAYBE_UNUSED. Adjust recursive call. + (create_variant_part_from): Adjust call to finish_record_type. Do not + call rest_of_record_type_compilation on the new record types. + * gcc-interface/trans.c (gigi): Adjust call to finish_record_type. + * gcc-interface/gigi.h (finish_record_type): Adjust prototype and + comment. + (rest_of_record_type_compilation): Adjust comment. + +2009-11-24 Eric Botcazou <ebotcazou@adacore.com> + + * exp_util.adb (Make_CW_Equivalent_Type): Do not mark the type as + frozen for targets that do not require front-end layout. + (New_Class_Wide_Subtype): Always reset the freezing status to False. + * exp_ch8.adb: Do not 'with' Targparm. + (Expand_N_Object_Renaming_Declaration): Always freeze a class-wide + subtype that has been built from the expression. + * exp_intr.adb (Expand_Unc_Deallocation): If the designated type is + class wide, freeze the implicit type that has been built from the + expression at the dereference point. + * freeze.adb (Freeze_Entity): Adjust comment. + * gcc-interface/decl.c (Gigi_Equivalent_Type) <E_Class_Wide_Type>: + Remove useless test. + * gcc-interface/trans.c (process_freeze_entity): Do not special-case + class-wide subtypes. + + * s-osinte-aix.adb (clock_gettime): Fix comment. + * s-osinte-darwin.adb (clock_gettime): Likewise. + +2009-11-23 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Variable>: Pass the list + of attributes when building the corresponding variable of a constant. + * gcc-interface/utils.c (create_var_decl_1): Do not process attributes + for constants. + +2009-11-23 Laurent GUERBY <laurent@guerby.net> + Eric Botcazou <ebotcazou@adacore.com> + + PR ada/42153 + * s-osinte-linux.ads (struct_timeval): Delete. + * s-osinte-hpux.ads (struct_timeval, To_Duration, To_Timeval): Delete. + * s-osinte-kfreebsd-gnu.ads: Likewise. + * s-osinte-rtems.ads: Likewise. + * s-osinte-aix.ads: Likewise. + * s-osinte-hpux-dce.ads: Likewise. + * s-osinte-darwin.ads: Likewise. + * s-osinte-solaris-posix.ads: Likewise. + * s-osinte-irix.ads: Likewise. + * s-osinte-solaris.ads: Likewise. + * s-osinte-hpux-dce.adb (To_Duration, To_Timeval): Delete. + * s-osinte-irix.adb: Likewise. + * s-osinte-solaris.adb: Likewise. + * s-osinte-rtems.adb: Likewise. Minor reformatting. + * s-osinte-aix.adb (To_Duration, To_Timeval): Delete. + (clock_gettime): Use cal.c's timeval_to_duration. + * s-osinte-darwin.adb: Likewise. + +2009-11-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * adaint.h: Assume large file support on IRIX only if _LFAPI. + +2009-11-21 Laurent GUERBY <laurent@guerby.net> + Eric Botcazou <ebotcazou@adacore.com> + + * s-osinte-linux.ads (struct_timeval, To_Duration, To_Timeval, + gettimeofday): Delete. + * s-osinte-posix.adb (To_Duration, To_Timeval): Delete. + * s-osprim-posix.adb (struct_timezone, struct_timeval, gettimeofday): + Delete. + (Clock): Use cal.c's timeval_to_duration. + * s-taprop-linux.adb (Monotonic_Clock): Likewise. + +2009-11-12 Eric Botcazou <ebotcazou@adacore.com> + Laurent GUERBY <laurent@guerby.net> + + * init.c (GNU/Linux Section): Enable for all architectures. + +2009-11-10 Eric Botcazou <ebotcazou@adacore.com> + + PR ada/20548 + * system-linux-alpha.ads (Stack_Check_Probes): Set to true. + * system-linux-hppa.ads (Stack_Check_Probes): Likewise. + * system-linux-sparc.ads (Stack_Check_Probes): Likewise. + * system-linux-sparcv9.ads (Stack_Check_Probes): Likewise. + +2009-11-10 Eric Botcazou <ebotcazou@adacore.com> + + * system-linux-alpha.ads (AAMP, Compiler_System_Version, OpenVMS, + Front_End_ZCX_Support, High_Integrity_Mode, Long_Shifts_Inlined): + Delete. + (Stack_Check_Limits, Always_Compatible_Rep): New. + * system-linux-mips.ads (AAMP, Compiler_System_Version, OpenVMS, + Front_End_ZCX_Support, High_Integrity_Mode, Long_Shifts_Inlined): + Delete. + (Stack_Check_Limits, Always_Compatible_Rep): New. + * system-linux-mips64el.ads (AAMP, Compiler_System_Version, OpenVMS, + Functions_Return_By_DSP, Front_End_ZCX_Support, High_Integrity_Mode, + Long_Shifts_Inlined): Delete. + (Stack_Check_Limits, Always_Compatible_Rep): New. + * system-linux-mipsel.ads (AAMP, Compiler_System_Version, OpenVMS, + Front_End_ZCX_Support, High_Integrity_Mode, Long_Shifts_Inlined): + Delete. + (Stack_Check_Limits, Always_Compatible_Rep): New. + * system-linux-s390.ads (AAMP, Compiler_System_Version, OpenVMS, + Front_End_ZCX_Support, High_Integrity_Mode, Long_Shifts_Inlined): + Delete. + (Stack_Check_Limits, Always_Compatible_Rep): New. + * system-linux-s390x.ads (AAMP, Compiler_System_Version, OpenVMS, + Front_End_ZCX_Support, High_Integrity_Mode, Long_Shifts_Inlined): + Delete. + (Stack_Check_Limits, Always_Compatible_Rep): New. + * system-linux-sh4.ads (Stack_Check_Limits, Always_Compatible_Rep): + New. + * system-linux-sparc.ads (AAMP, Compiler_System_Version, OpenVMS, + Front_End_ZCX_Support): Delete. + (Stack_Check_Limits, Always_Compatible_Rep): New. + * system-linux-sparcv9.ads (AAMP, Compiler_System_Version, OpenVMS, + Front_End_ZCX_Support, High_Integrity_Mode, Long_Shifts_Inlined): + Delete. + (Stack_Check_Limits, Always_Compatible_Rep): New. + * system-rtems.ads (OpenVMS): Delete. + (Stack_Check_Limits, Always_Compatible_Rep): New. + +2009-11-08 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (make_packable_type): Fix oversight. + (gnat_to_gnu_field): Do not attempt to change the form of the type + if the field requires strict alignment. Always change the form of + the type if the specified size is smaller than its size. + +2009-11-05 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/utils.c (gnat_type_for_mode): Handle vector modes. + +2009-11-05 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/trans.c (lvalue_required_p) <N_Unchecked_Conversion>: + New case. + +2009-10-30 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/utils.c (MAX_FIXED_MODE_SIZE): Delete. + (create_field_decl): Update description. In a packed record, round + the size up to a byte boundary only if the field's type has BLKmode. + * gcc-interface/gigi.h (create_field_decl): Update description. + +2009-10-30 Emmanuel Briot <briot@adacore.com> + + * make.adb (Start_Compile_If_Possible): Compute location of resulting + ALI file in this procedure instead of after the compilation itself, + since the current directory might have changed in between when using + -j<n>. + + * osint.ads: Addded missing alignment clause. + + * adaint.c, adaint.h, osint.adb (__gnat_reset_attributes, + __gnat_size_of_file_attributes): Rename reset_attributes and + size_of_file_attributes. + +2009-10-30 Javier Miranda <miranda@adacore.com> + + * sem_scil.adb (Adjust_SCIL_Node): Add missing management of sequences + of statements when searching for SCIL nodes. + +2009-10-30 Tristan Gingold <gingold@adacore.com> + + * gnatlink.adb, link.c: By default use shared libgcc on darwin. + +2009-10-30 Emmanuel Briot <briot@adacore.com> + + * make.adb, osint.adb (Add_Lib_Search_Dir): Do not add if dir is + already in the list. + This saves system calls when looking for ALI files + (Scan_Make_Args): The parameter to gnatmake's -D is now converted to an + absolute PATH (so that the above improvement properly occurs if both + -D<dir> and -aO<dir> are specified). + +2009-10-30 Thomas Quinot <quinot@adacore.com> + + * a-direct.adb: Minor reformatting + +2009-10-30 Emmanuel Briot <briot@adacore.com> + + * make.adb, adaint.c, adaint.h, osint.adb, osint.ads, bcheck.adb + (*_attr): new subprograms. + (File_Length, File_Time_Stamp, Is_Writable_File): new subprograms + (Read_Library_Info_From_Full, Full_Library_Info_Name, + Full_Source_Name): Now benefit from a previous cache of the file + attributes, to further save on system calls. + (Smart_Find_File): now also cache the file attributes. This makes the + package File_Stamp_Hash_Table useless, and it was removed. + (Compile_Sources): create subprograms for the various steps of the main + loop, for readibility and to avoid sharing variables between the + various steps. + +2009-10-30 Emmanuel Briot <briot@adacore.com> + + * make.adb, osint.adb, osint.ads (Library_File_Stamp): Removed, since + unused. + (Read_Library_Info_From_Full): New subprogram. + +2009-10-30 Robert Dewar <dewar@adacore.com> + + * a-tideio.adb: Minor reformatting + * a-wtdeio.adb, a-ztdeio.adb: Update comments, code clean up. + + * a-reatim.adb, a-tideau.adb, a-ngelfu.adb, a-ztdeau.adb, a-ngrear.adb, + a-wtedit.adb, a-ststio.adb, a-ztedit.adb: Minor code reorganization + (use conditional expressions). + +2009-10-30 Ed Schonberg <schonberg@adacore.com> + + * gnat_ugn.texi: Additional info on gnatw.i and gnatw.I + + * sem_case.adb: Improved error message. + +2009-10-30 Emmanuel Briot <briot@adacore.com> + + * a-direct.adb, gnatcmd.adb, gnatname.adb, makeutl.adb, opt.ads, + osint.adb, prj-ext.adb, switch-m.adb (Follow_Links_For_Dirs): Now + defaults to False, and controlled by -eL. + * a-direct.adb: Add comments. + * osint.adb (File_Stamp): Avoid unneeded duplicate system call + +2009-10-30 Robert Dewar <dewar@adacore.com> + + * sem_res.adb (Resolve_Type_Conversion): Avoid false positive when + converting non-static subtype to "identical" static subtype. + +2009-10-30 Ed Schonberg <schonberg@adacore.com> + + * usage.adb: Add -gnatw.i switch. + +2009-10-30 Vincent Celier <celier@adacore.com> + + * xsnamest.adb: Update comments with regards to the template files + snames.*.tmpl + +2009-10-30 Bob Duff <duff@adacore.com> + + * s-fileio.adb (Errno_Message): Suppress VMS-specific warning. + +2009-10-30 Ed Schonberg <schonberg@adacore.com> + + * sem_case.adb (Check_Choices): Add explanatory message when there are + missing alternatives when the required range of alternatives is given + by the base type of the case expression or discriminant in a variant + part. + + * opt.ads: New flag Warn_On_Overlap, to enable warnings on potentially + dangerous overlap between actuals in a call, activated by -gnatw.i + * sem_warn.adb (Set_Dot_Warning_Switch): set flag. + (Warn_On_Overlapping_Actuals): use new flag. + + * gnat_ugn.texi: Document -gnatw.i, warning on overlapping actuals + +2009-10-30 Robert Dewar <dewar@adacore.com> + + * exp_aggr.adb, exp_ch9.adb: Minor reformatting + +2009-10-29 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (make_type_from_size) <INTEGER_TYPE>: Do not + create integer types with precision 0. + +2009-10-29 Eric Botcazou <ebotcazou@adacore.com> + + PR ada/41870 + * gcc-interface/decl.c (array_type_has_nonaliased_component): Swap + parameters and rewrite comments. For a derived type, return the + setting of its parent type. + (gnat_to_gnu_entity): Do an alias set copy for derived types if they + are composite. Adjust calls to above function. + +2009-10-29 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/trans.c (Attribute_to_gnu) <Attr_Object_Size>: Do not + return the RM size for padded types. + +2009-10-28 Robert Dewar <dewar@adacore.com> + + * sem_type.adb: Minor reformatting + +2009-10-28 Arnaud Charlet <charlet@adacore.com> + + * exp_ch9.adb (Build_Task_Proc_Specification): Generate a different + suffix for task type bodies. + +2009-10-28 Ed Schonberg <schonberg@adacore.com> + + * exp_aggr.adb (Convert_Aggr_In_Allocator): Do not look for a + finalization list if the designated type requires no control actions, + to prevent a useless semantic dependence on ada.tags. + +2009-10-28 Bob Duff <duff@adacore.com> + + * s-fileio.adb: Give more information in exception messages. + +2009-10-28 Robert Dewar <dewar@adacore.com> + + * gnat_ugn.texi: Document new -gnatyt requirement for space after right + paren if next token starts with digit or letter. + * styleg.adb (Check_Right_Paren): New rule for space after if next + character is a letter or digit. + +2009-10-28 Thomas Quinot <quinot@adacore.com> + + * s-crtl.ads (System.CRTL.strerror): New function. + +2009-10-28 Ed Schonberg <schonberg@adacore.com> + + * sem_type.adb: Add guard to recover some type errors. + +2009-10-28 Vincent Celier <celier@adacore.com> + + * prj-nmsc.adb (Add_To_Or_Remove_From_List): New name of procedure + Add_If_Not_In_List to account to the fact that a directory may be + removed from the list. Only remove directory if Removed is True. + +2009-10-28 Gary Dismukes <dismukes@adacore.com> + + * a-textio.ads, a-textio.ads: Put back function EOF_Char in private + part. Put back body of function EOF_Char. + * a-tienau.adb: Remove with of Interfaces.C_Streams and change EOF back + to EOF_Char. + +2009-10-28 Emmanuel Briot <briot@adacore.com> + + * prj-tree.adb (Free): Fix memory leak. + +2009-10-28 Thomas Quinot <quinot@adacore.com> + + * s-fileio.adb: Minor reformatting + +2009-10-28 Arnaud Charlet <charlet@adacore.com> + + * gcc-interface/Make-lang.in: Update dependencies. + +2009-10-28 Robert Dewar <dewar@adacore.com> + + * exp_attr.adb, exp_ch9.adb, prj-nmsc.adb, tbuild.adb, ali.adb, + types.ads: Minor reformatting + +2009-10-28 Tristan Gingold <gingold@adacore.com> + + * init.c: Fix __gnat_error_handler for Darwin10 (Snow Leopard) + +2009-10-28 Thomas Quinot <quinot@adacore.com> + + * exp_ch4.adb (Expand_N_Type_Conversion): Perform Integer promotion for + the operand of the unary minus and ABS operators. + + * sem_type.adb (Covers): A concurrent type and its corresponding record + type are compatible. + * exp_attr.adb (Expand_N_Attribute_Reference): Do not rewrite a 'Access + attribute reference for the current instance of a protected type while + analyzing an access discriminant constraint in a component definition. + Such a reference is handled in the corresponding record's init proc, + while initializing the constrained component. + * exp_ch9.adb (Expand_N_Protected_Type_Declaration): When creating the + corresponding record type, propagate components' + Has_Per_Object_Constraint flag. + * exp_ch3.adb (Build_Init_Procedure.Build_Init_Statements): + For a concurrent type, set up concurrent aspects before initializing + components with a per object constrain, because they may be controlled, + and their initialization may call entries or protected subprograms of + the enclosing concurrent object. + +2009-10-28 Emmanuel Briot <briot@adacore.com> + + * prj-nmsc.adb (Add_If_Not_In_List): New subprogram, for better sharing + of code. + (Find_Source_Dirs): resolve links if Opt.Follow_Links_For_Dirs when + processing the directories specified explicitly in the project file. + +2009-10-28 Robert Dewar <dewar@adacore.com> + + * a-ztexio.adb, a-ztexio.ads, a-witeio.ads, a-witeio.adb, + a-textio.ads, a-textio.adb: Reorganize (moving specs from private part + to body). + (Initialize_Standard_Files): New procedure. + * a-tienau.adb: Minor change to make EOF directly visible + * a-tirsfi.ads, a-wrstfi.adb, a-wrstfi.ads, a-zrstfi.adb, + a-zrstfi.ads, a-tirsfi.adb: New unit, initial version. + * gnat_rm.texi: Add documentation for + Ada.[Wide_[Wide_]]Text_IO.Reset_Standard_Files. + * Makefile.rtl: Add entries for + Ada.[Wide_[Wide_]]Text_IO.Reset_Standard_Files + +2009-10-28 Thomas Quinot <quinot@adacore.com> + + * exp_ch9.ads: Minor reformatting + * sem_ch3.adb: Minor reformatting + * sem_aggr.adb: Minor reformatting. + * sem_attr.adb: Minor reformatting + * tbuild.adb, tbuild.ads, par-ch4.adb, exp_ch4.adb (Tbuild.New_Op_Node): + New subprogram. + Minor code reorganization/factoring. + +2009-10-27 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (purpose_member_field): New static function. + (annotate_rep): Use it instead of purpose_member. + +2009-10-27 Eric Botcazou <ebotcazou@adacore.com> + + * raise-gcc (db_region_for): Use _Unwind_GetIPInfo instead of + _Unwind_GetIP if HAVE_GETIPINFO is defined. + (db_action_for): Likewise. + +2009-10-27 Robert Dewar <dewar@adacore.com> + + * s-fileio.adb, s-fileio.ads, sem_util.adb, sem_warn.adb, + sem_warn.ads: Minor reformatting + +2009-10-27 Robert Dewar <dewar@adacore.com> + + * sem_warn.adb, sem_util.adb, sem_util.ads: Minor reformatting. Add + comments. + +2009-10-27 Robert Dewar <dewar@adacore.com> + + * s-os_lib.ads, s-os_lib.adb, prj-err.adb, makeutl.adb: Minor + reformatting. + +2009-10-27 Ed Schonberg <schonberg@adacore.com> + + * sem.util.ads, sem_util.adb (Denotes_Same_Object, + Denotes_Same_Prefix): New functions to detect overlap between actuals + that are not by-copy in a call, when one of them is in-out. + * sem_warn.ads, sem_warn.adb (Warn_On_Overlapping_Actuals): New + procedure, called on a subprogram call to warn when an in-out actual + that is not by-copy overlaps with another actual, thus leadind to + potentially dangerous aliasing in the body of the called subprogram. + Currently the warning is under control of the -gnatX switch. + * sem_res.adb (resolve_call): call Warn_On_Overlapping_Actuals. + +2009-10-27 Thomas Quinot <quinot@adacore.com> + + * sem_ch12.adb (Install_Formal_Packages): Do not omit installation of + visible entities when the formal package doesn't have a box. + + * checks.adb: Minor reformatting. + +2009-10-27 Vincent Celier <celier@adacore.com> + + * prj-part.adb (Parse): Catch exception Types.Unrecoverable_Error and + set Project to Empty_Node. + +2009-10-27 Robert Dewar <dewar@adacore.com> + + * gnatbind.adb: Minor reformatting + +2009-10-27 Arnaud Charlet <charlet@adacore.com> + + * exp_aggr.adb: Fix comment. + +2009-10-27 Emmanuel Briot <briot@adacore.com> + + * prj-err.adb (Error_Msg): take into account continuation lines when + computing whether we have a warning. + +2009-10-27 Vasiliy Fofanov <fofanov@adacore.com> + + * make.adb, s-os_lib.adb, s-os_lib.ads (Create_Temp_Output_File): New + routine that is designed to create temp file descriptor specifically + for redirecting an output stream. + +2009-10-24 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: When + processing the parent type, build the COMPONENT_REF for a discriminant + with the proper type. + +2009-10-24 Eric Botcazou <ebotcazou@adacore.com> + + * init.c (__gnat_adjust_context_for_raise): Mention _Unwind_GetIPInfo. + * gcc-interface/Makefile.in (GNATLIBCFLAGS_FOR_C): Add HAVE_GETIPINFO. + Pass GNATLIBCFLAGS_FOR_C to recursive invocations. + +2009-10-21 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interfaces/decl.c (build_subst_list): Convert the expression of + the constraint to the type of the discriminant. + +2009-10-21 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interfaces/decl.c (gnat_to_gnu_entity): Do not create a new + TYPE_DECL when a type is padded if there is already one and reset + TYPE_STUB_DECL in this case. + +2009-10-21 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interfaces/utils.c (create_subprog_decl): Do not redefine + main_identifier_node. + +2009-10-17 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/utils.c (convert): When converting to a padded type + with an inner type of self-referential size, pad the expression before + doing the unchecked conversion. + +2009-10-17 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/utils2.c (build_binary_op) <ARRAY_RANGE_REF>: Make + sure the element type is consistent. + +2009-10-17 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/trans.c (addressable_p): Handle bitwise operations. + +2009-10-16 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/ada-tree.h (TYPE_FAT_POINTER_P): Swap with... + (TYPE_IS_FAT_POINTER_P): ...this. + (TYPE_THIN_POINTER_P): Rename into... + (TYPE_IS_THIN_POINTER_P): ...this. + (TYPE_FAT_OR_THIN_POINTER_P): Rename into... + (TYPE_IS_FAT_OR_THIN_POINTER_P): ...this. + (TYPE_IS_PADDING_P): Change definition, move old one to... + (TYPE_PADDING_P): ...this. + * gcc-interface/decl.c (gnat_to_gnu_entity): Adjust for above changes. + (get_unpadded_type): Likewise. + (gnat_to_gnu_component_type): Likewise. + (gnat_to_gnu_param): Likewise. + (relate_alias_sets): Likewise. + (make_packable_type): Likewise. + (maybe_pad_type): Likewise. + (gnat_to_gnu_field): Likewise. + (is_variable_size): Likewise. + (annotate_object): Likewise. + (validate_size): Likewise. + (set_rm_size): Likewise. + (make_type_from_size): Likewise. + (rm_size): Likewise. + * gcc-interface/misc.c (gnat_print_type): Likewise. + (gnat_get_alias_set): Likewise. + * gcc-interface/trans.c (Identifier_to_gnu): Likewise. + (Attribute_to_gnu): Likewise. + (call_to_gnu): Likewise. + (gnat_to_gnu): Likewise. + (add_decl_expr): Likewise. + (convert_with_check): Likewise. + (addressable_p): Likewise. + (maybe_implicit_deref): Likewise. + (protect_multiple_eval): Likewise. + (gnat_stabilize_reference_1): Likewise. + * gcc-interface/utils.c (gnat_pushdecl): Likewise. + (finish_record_type): Likewise. + (rest_of_record_type_compilation): Likewise. + (create_type_decl): Likewise. + (gnat_types_compatible_p): Likewise. + (build_template): Likewise. + (convert_vms_descriptor64): Likewise. + (convert_vms_descriptor32): Likewise. + (build_unc_object_type_from_ptr): Likewise. + (update_pointer_to): Likewise. + (convert_to_fat_pointer): Likewise. + (convert_to_fat_pointer): Likewise. + (convert): Likewise. + (remove_conversions): Likewise. + (maybe_unconstrained_array): Likewise. + (unchecked_convert): Likewise. + (handle_vector_type_attribute): Likewise. + * gcc-interface/utils2.c (build_binary_op): Likewise. + (build_unary_op): Likewise. + (build_allocator): Likewise. + +2009-10-16 Eric Botcazou <ebotcazou@adacore.com> + + * exp_dbug.ads: Adjust type names in comments. + * gcc-interface/decl.c (maybe_pad_type): Remove NAME_TRAILER parameter, + add new IS_COMPONENT_TYPE parameter. Adjust. Remove dead code. + (gnat_to_gnu_entity): Adjust for above change. + (gnat_to_gnu_component_type): Likewise. + (gnat_to_gnu_field): Likewise. + * gcc-interface/trans.c (call_to_gnu): Likewise. Do not unnecessarily + call max_size. + * gcc-interface/utils.c (finish_record_type): Remove obsolete code. + * gcc-interface/gigi.h (maybe_pad_type): Adjust prototype. + +2009-10-16 Joel Sherrill <joel.sherrill@oarcorp.com> + + * s-osinte-rtems.ads: Add mutex type to pthread_mutexattr_t + * s-stchop-rtems.adb: Correct binding to rtems_stack_checker_is_blown. + +2009-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * env.c [__alpha__ && __osf__] (AES_SOURCE): Define. + +2009-10-10 Samuel Tardieu <sam@rfc1149.net> + + * sem_eval.adb: Give a more precise error message. + +2009-10-06 Samuel Tardieu <sam@rfc1149.net> + + PR ada/41383 + * a-rttiev.adb (Time_Of_Event): Return Time_First for unset event. + +2009-10-06 Samuel Tardieu <sam@rfc1149.net> + + PR ada/38333 + * sem_prag.adb (Process_Import_Or_Interface): Forbid an abstract + subprogram to be completed with a "pragma Import". + +2009-10-02 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: + Generate an XVZ variable alongside the XVS type if the size is + not constant. + (maybe_pad_type): Minor tweak. + +2009-10-02 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (check_ok_for_atomic): Do nothing if the type + doesn't come from source. + +2009-10-02 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (gnat_to_gnu_component_type): Force at least + unit size for the component size of an array with aliased components. + (maybe_pad_type): Do not warn for MAX_EXPR. + +2009-09-29 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Factor out + common code processing the component type into... + <E_Array_Subtype>: Likewise. + (gnat_to_gnu_component_type): ...this new static function. + (maybe_pad_type): Minor cleanup. + +2009-09-29 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Rewrite + the handling of constrained discriminated record subtypes. + (components_to_record): Declare the type of the variants and of the + qualified union. + (build_subst_list): Move around. + (compute_field_positions): Rename into... + (build_position_list): ...this. Return a TREE_VEC. + (annotate_rep): Adjust for above renaming. + (build_variant_list): New static function. + (create_field_decl_from): Likewise. + (get_rep_part): Likewise. + (get_variant_part): Likewise. + (create_variant_part_from): Likewise. + (copy_and_substitute_in_size): Likewise. + +2009-09-28 Olivier Hainque <hainque@adacore.com> + + PR ada/41100 + * gcc-interface/targtyps.c (get_target_default_allocator_alignment): + Account for observable alignments out of default allocators. + +2009-09-28 Richard Henderson <rth@redhat.com> + + * gcc-interface/utils.c (gnat_install_builtins): Update call to + build_common_builtin_nodes. + +2009-09-26 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Filter out + negative size for the array dimensions like in the constrained case. + <E_Array_Subtype>: Do not create an artificially non-constant high + bound if the low bound is non-constant. Minor tweaks. + + * gcc-interface/trans.c (lvalue_required_p): Add CONSTANT parameter + and turn ALIASED into a boolean parameter. Adjust calls to self. + <N_Attribute_Reference>: Return 1 for more attributes. + <N_Object_Renaming_Declaration>: Return 1 for non-constant objects. + <N_Assignment_Statement>: Return 1 for the LHS. + (Identifier_to_gnu): Adjust calls to lvalue_required_p. + (call_to_gnu): Be prepared for wrapped boolean rvalues. + +2009-09-25 Olivier Hainquqe <hainque@adacore.com> + Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/ada-tree.h (TYPE_REPRESENTATIVE_ARRAY): New language + specific node. Representative array type for VECTOR_TYPE entities. + * gcc-interface/utils.c (handle_vector_type_attribute): New handler. + Turn an ARRAY_TYPE entity into a VECTOR_TYPE. + (gnat_types_compatible_p): Handle VECTOR_TYPEs. + (convert): Likewise. Arrange to produce VECTOR_CST out of constant + array aggregates for VECTOR_TYPE entities. + (unchecked_convert): Likewise. + (maybe_vector_array): New function. If EXP has VECTOR_TYPE, return EXP + converted to the associated TYPE_REPRESENTATIVE_ARRAY. + (handle_pure_attribute, handle_sentinel_attribute, + handle_noreturn_attribute, handle_malloc_attribute, + handle_vector_size_attribute): Replace uses of qE format by qs. + Remove GCC_DIAG_STYLE definition. + * gcc-interface/trans.c (gnat_to_gnu) <N_Indexed_Component>: Convert + vector input to representative array type on entry. + <N_Op_Eq, etc>: Likewise. + * gcc-interface/gigi.h (maybe_vector_array): Declare. + (VECTOR_TYPE_P): New predicate. + * gcc-interface/misc.c (gnat_print_type): Handle VECTOR_TYPE. + +2009-09-24 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/ada.h: Fix outdated comment. + * gcc-interface/ada-tree.h (SET_TYPE_RM_VALUE): Use MARK_VISITED in + lieu of mark_visited. + * gcc-interface/gigi.h (mark_visited): Change type of parameter. + (MARK_VISITED): New macro. + (gnat_truthvalue_conversion): Delete. + * gcc-interface/decl.c (gnat_to_gnu_entity): Use MARK_VISITED in lieu + of mark_visited. + (annotate_rep): Fix formatting and tidy. + (compute_field_positions): Get rid of useless variable. + * gcc-interface/trans.c (gnat_to_gnu): Retrieve the Nkind of the GNAT + node only once. Use IN operator for the Nkind in more cases. + Remove calls to gnat_truthvalue_conversion. + (mark_visited): Change type of parameter and adjust. + (mark_visited_r): Dereference TP only once. + (add_decl_expr): Use MARK_VISITED in lieu of mark_visited. + * gcc-interface/utils2.c (gnat_truthvalue_conversion): Delete. + (build_binary_op): Remove calls to gnat_truthvalue_conversion. + (build_unary_op): Likewise. + +2009-09-24 Dave Korn <dave.korn.cygwin@gmail.com> + + * gcc-interface/Makefile.in (LIBGNAT_TARGET_PAIRS): Simplify test for + a-except% in target pairs list; don't (implicitly) compare whitespace. + +2009-09-24 Jakub Jelinek <jakub@redhat.com> + + * gcc-interface/utils.c (gnat_pushdecl): Don't set + DECL_NO_STATIC_CHAIN, set DECL_STATIC_CHAIN for + nested functions. + +2009-09-21 Joel Sherrill <joel.sherrill@oarcorp.com> + + * s-osinte-rtems.ad[bs]: Get_Page_Size cannot return 0. + Bind to getpagesize() in RTEMS 4.10 and newer. + +2009-09-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * env.c [__alpha__ && __osf__] (_BSD): Define. + * init.c [__alpha__ && __osf__] (__gnat_error_handler): Cast msg + to const char *. + +2009-09-18 Pascal Obry <obry@adacore.com> + + * mingw32.h: Activate Unicode support for x86-64 Windows platform. + +2009-09-18 Vadim Godunko <godunko@adacore.com> + + * s-oscons-tmplt.c: Add circuit for handling IOV_MAX macro on IRIX. + +2009-09-18 Javier Miranda <miranda@adacore.com> + + * exp_aggr.adb (Backend_Processing_Possible): Disable backend + processing for array aggregates in the VM backend if the array has + aliased components. + +2009-09-18 Ed Schonberg <schonberg@adacore.com> + + * sem_ch4.adb (Analyze_Indexed_Component): Emit error if the type of + the prefix indicates a previous semantic error, and this is the first + error in the program. + +2009-09-18 Bob Duff <duff@adacore.com> + + * gnat_ugn.texi: Minor editing. + +2009-09-18 Vincent Celier <celier@adacore.com> + + * prj.ads, prj.adb (Project_Data): New component + Imported_Directories_Switches. + +2009-09-18 Pascal Obry <obry@adacore.com> + + * mingw32.h: Include standard _mingw.h file. + Define _WIN32_WINNT only if not already defined. + +2009-09-18 Thomas Quinot <quinot@adacore.com> + + * g-socket.adb (Is_Open): New function indicating whether a + Selector_Type object is open. + +2009-09-18 Vincent Celier <celier@adacore.com> + + * osint-c.adb (Create_Output_Library_Info): Make sure that the ALI file + is deleted before creating it. + +2009-09-18 Robert Dewar <dewar@adacore.com> + + * bindgen.adb: Minor reformatting + +2009-09-18 Arnaud Charlet <charlet@adacore.com> + + * s-taprop-tru64.adb, s-taprop-linux.adb, s-taprop-solaris.adb, + s-taprop-irix.adb, s-taprop-posix.adb (Abort_Task): Do nothing if no + signal handler is installed. + * s-tassta.adb (Finalize_Global_Tasks): Do not wait for independent + tasks if Abort_Task_Interrupt cannot be used. + +2009-09-18 Vincent Celier <celier@adacore.com> + + * prj-tree.ads: Minor comment update + +2009-09-17 Bob Duff <duff@adacore.com> + + * g-socket.ads: Document the fact that Close_Selector has no effect on + a closed selector. + * g-socket.adb: Raise an exception when a Selector that should be open + is closed. + (Check_Selector): Declare RSig as a constant rather than a renames, + less confusing. + +2009-09-17 Robert Dewar <dewar@adacore.com> + + * exp_ch9.adb, exp_ch5.adb, exp_ch4.adb, prj-conf.adb, prj-env.ads, + prj-ext.adb, prj-ext.ads, prj-pars.adb, prj-part.adb, prj-proc.adb, + prj-tree.ads: Minor reformatting + +2009-09-17 Emmanuel Briot <briot@adacore.com> + + * prj-conf.adb, prj-env.adb, prj-env.ads (Create_Temp_File): Moved to + spec. + (Do_Autoconf): If the object directory does not exists, create auto.cgpr + in a temporary directory instead + +2009-09-17 Bob Duff <duff@adacore.com> + + * a-dynpri.adb (Set_Priority): Don't do anything if the task is already + terminated. + (Get_Priority): Correct message for "terminated" case -- it said "null". + +2009-09-17 Robert Dewar <dewar@adacore.com> + + * exp_ch6.adb: Minor reformatting + +2009-09-17 Emmanuel Briot <briot@adacore.com> + + * gnatcmd.adb, make.adb, prj-part.adb, prj-ext.adb, prj-ext.ads, + switch-m.adb, switch-m.ads, clean.adb, prj-tree.ads + (Project_Node_Tree_Data.Project_Path): New field. + + * prj-conf.adb (Do_Autoconf): Remove "creating auto.cgpr" message + +2009-09-17 Emmanuel Briot <briot@adacore.com> + + * prj-ext.adb, prj-ext.ads, makeutl.adb (Is_External_Assignment): + Remove duplicate code. + (Prj.Ext): Fix memory leak + (Check): Now allow the syntax "-Xfoo=" to set an empty value to the + variable. This was previously allowed in the code in + Is_External_Assignment, and some tests rely on it + +2009-09-17 Bob Duff <duff@adacore.com> + + * gnat_rm.texi, s-oscons-tmplt.c: Minor typo + +2009-09-17 Emmanuel Briot <briot@adacore.com> + + * gnatcmd.adb, prj-proc.adb, make.adb, prj-ext.adb, prj-ext.ads, + makeutl.adb, makeutl.ads, clean.adb, prj-pars.adb, prj-pars.ads, + prj-conf.adb, prj-conf.ads, prj-tree.adb, prj-tree.ads, prj-proc.ads, + prj-nmsc.ads (Add, Value_Of, Reset): new parameter Tree. + Scenario variables are now specific to each project tree loaded in + memory. + Code clean ups. + +2009-09-17 Javier Miranda <miranda@adacore.com> + + * exp_disp.adb (Make_DT): Remove wrong line of code that was + undocumented and probably added by mistake. + +2009-09-16 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/trans.c (Attribute_to_gnu) <Attr_Size>: Strip + conversions between original and packable version of types from + the expression. + +2009-09-16 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (gnat_to_gnu_field): Add DEBUG_INFO_P parameter. + If a padding type was made for the field, declare it. + (components_to_record): Add DEBUG_INFO_P parameter. Adjust call + to gnat_to_gnu_field and call to self. + (gnat_to_gnu_entity) <E_Array_Type>: Do not redeclare padding types. + <E_Array_Subtype>: Likewise. + Adjust calls to gnat_to_gnu_field and components_to_record. + +2009-09-16 Robert Dewar <dewar@adacore.com> + + * prj-nmsc.adb: Minor reformatting + +2009-09-16 Ed Schonberg <schonberg@adacore.com> + + * exp_ch4.adb (Expand_N_Conditional_Expression): If the type of the + expression is a by-reference type (tagged or inherently limited) + introduce an access type to capture references to the values of each + branch of the conditional. + +2009-09-16 Emmanuel Briot <briot@adacore.com> + + * prj-proc.adb, prj-part.adb, prj-tree.adb, prj-tree.ads + (Project_Name_And_Node.Display_Name): new field + The display name of a project (as written in the .gpr file) is now + computed when the project file itself is parsed, not when it is + processed. + +2009-09-16 Thomas Quinot <quinot@adacore.com> + + * freeze.adb, exp_intr.adb (Expand_Intrinsic_Call): Leave calls to + intrinsics untouched (to be expanded later on by gigi) if an external + name has been specified. + (Freeze_Entity): Do not generate a default external name for + imported subprograms with convention Intrinsic (so that the above code + can identify the case where an external name has been explicitly + provided). + + * s-oscons-tmplt.c: Quote TARGET_OS early so that it is not erroneously + replaced by something else due to an existing #define clause. + +2009-09-16 Ed Schonberg <schonberg@adacore.com> + + * sinfo.ads, sinfo.adb (Is_Accessibility_Actual): New flag on + Parameter_Association node, created for the extra actual generated for + an access parameter of a function that dispatches on result, to prevent + double generation of such actuals when the call is rewritten is a + dispatching call. + * exp_ch6.adb (Expand_Call): Set Is_Accessibility_Actual when needed. + * exp_disp.adb (Expand_Dispatching_Call): Do not transfer extra actuals + that carry this flag when rewriting the original call as a dispatching + call, after propagating the controlling tag. + +2009-09-16 Vincent Celier <celier@adacore.com> + + * prj-nmsc.adb (Add_Source): New parameter Source_Dir_Rank to be put + in the source data. + (Check_File): New parameter Source_Dir_Rank, to check if a duplicate + source is allowed. + (Find_Source_Dirs): New parameter Rank to be recorded with the source + directories. + (Search_Directories): Call Check_File with the rank of the directory + * prj.adb (Project_Empty): Add new component Source_Dir_Ranks + (Free): Free also Number_Lists + (Reset): Init also Number_Lists + * prj.ads (Number_List_Table): New dynamic table for lists of numbers + (Source_Data): New component Source_Dir_Rank. Remove component + Known_Order_Of_Source_Dirs, no longer needed. + (Project_Data): New component Source_Dir_Ranks + (Project_Tree_Data): New components Number_Lists + +2009-09-16 Vincent Celier <celier@adacore.com> + + * gprep.adb (Yes_No): New global constant + Unix_Line_Terminators: New global Boolean variable + (Process_One_File): Create the out file with a "Text_Translation=" form + that depends on the use of option -T. + (Scan_Command_Line): Add option -T + (Usage): Add line for option -T + +2009-09-16 Ed Schonberg <schonberg@adacore.com> + + * exp_disp.ads, exp_disp.adb (Is_Predefined_Internal_Operation): New + predicate that describes a proper subset of + Is_Predefined_Dispatching_Operation and excludes stream operations, + which can be overridden by the user. + * sem_ch6.adb (Create_Extra_Formals): use + Is_Predefined_Internal_Operation, so that stream operations get extra + formals. + * exp_ch6.adb (Prevent double generation of extra actuals in calls to + 'Input, which may be expanded twice, first as a function call and then + as a dispatching call. + +2009-09-16 Thomas Quinot <quinot@adacore.com> + + * s-oscons-tmplt.c (Target_OS, Target_Name): New constants. + * g-expect.adb (Set_Up_Child_Communications): Use + System.OS_Constants.Target_OS to determine whether running on Windows. + +2009-09-14 Richard Henderson <rth@redhat.com> + + * gcc-interface/trans.c (Pragma_to_gnu): Use build5 for ASM_EXPR. + +2009-09-14 Eric Botcazou <ebotcazou@adacore.com> + + * exp_dbug.ads (Packed Array Encoding): Document the new encoding for + the unconstrained case. + * gcc-interfaces/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Implement + the encoding. Do not give a name to the pointer type to the XUT type. + * gcc-interfaces/utils.c (gnat_pushdecl): Propagate DECL_ORIGINAL_TYPE + for fat pointer types, if any. Make sure DECL_ARTIFICIAL is cleared + on nodes with DECL_ORIGINAL_TYPE set. + (update_pointer_to): Set DECL_ORIGINAL_TYPE to the original pointer + for fat pointer types. Make sure DECL_ARTIFICIAL is cleared. + +2009-09-14 Richard Henderson <rth@redhat.com> + + * gcc-interface/misc.c (gnat_init_gcc_eh): Don't call + default_init_unwind_resume_libfunc. + * gcc-interface/trans.c (Exception_Handler_to_gnu_zcx): Use + __builtin_eh_pointer. + * gcc-interface/utils.c (gnat_install_builtins): Update call + to build_common_builtin_nodes. + +2009-09-13 Richard Guenther <rguenther@suse.de> + Rafael Avila de Espindola <espindola@google.com> + + * gcc-interface/misc.c (gnat_init_gcc_eh): Do not set variables + eh_personality_libfunc and lang_eh_runtime_type. + (LANG_HOOKS_EH_PERSONALITY): Define. + (gnat_eh_personality_decl): New static variable. + (gnat_eh_personality): New static function. + Include gt-ada-misc.h. + * gcc-interface/Make-lang.in (misc.o): Add gt-ada-misc.h dependency. + * gcc-interface/config-lang.in (gtfiles): Add misc.c. + +2009-09-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + PR ada/18302 + * gcc-interface/Make-lang.in (check-acats): Export rootme, EXPECT. + +2009-09-08 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Tidy + flow of control. + Avoid useless work when processing the Treat_As_Volatile flag. + +2009-09-08 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/targtyps.c: Reorder include directives. + +2009-09-07 Laurent GUERBY <laurent@guerby.net> + + * gcc-interface/targtyps.c: Add missing include for tm_p.h. + * gcc-interface/Make-lang.in: Update dependencies. + +2009-09-07 Laurent GUERBY <laurent@guerby.net> + + * make.adb: Add missing documentation for multilib handling. + +2009-09-03 Diego Novillo <dnovillo@google.com> + + * gcc-interface/misc.c (lang_hooks): Remove const qualifier. + +2009-09-02 Richard Henderson <rth@redhat.com> + + * tb-gcc.c (__gnat_backtrace): Mark all arguments unused. + +2009-09-02 Olivier Hainque <hainque@adacore.com> + + * init.c (__gnat_error_handler, AIX): Add ATTRIBUTE_UNUSED on si + and uc arguments. + +2009-09-02 Olivier Hainque <hainque@adacore.com> + + * gcc-interface/decl.c (cannot_be_superflat_p): Handle + Signed_Integer_Type_Definition Scalar_Ranges. + +2009-09-02 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/trans.c (gnat_gimplify_expr) <ADDR_EXPR>: Gimplify the + SAVE_EXPR built for misaligned arguments. Remove redundant stuff. + (addressable_p): Return true for more rvalues. + +2009-09-01 Jakub Jelinek <jakub@redhat.com> + + * gcc-interface/utils2.c (maybe_wrap_malloc, maybe_wrap_free): Cast + POINTER_SIZE to HOST_WIDE_INT. + +2009-09-01 Richard Guenther <rguenther@suse.de> + + * gcc-interface/misc.c (LANG_HOOKS_MARK_ADDRESSABLE): Remove. + +2009-08-25 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/trans.c (call_to_gnu): Tidy. + (gnat_to_gnu) <N_Slice>: Set TYPE_ARRAY_MAX_SIZE if the slice has + non-constant size but the array itself has constant size. + * gcc-interface/utils.c (convert_vms_descriptor64): Fix type + consistency error. + (convert_vms_descriptor32): Likewise. + +2009-08-22 Aurelien Jarno <aurelien@aurel32.net> + + * gcc-interface/Makefile.in: Add Ada support for + GNU/kFreeBSD x86_64. + * system-freebsd-x86_64.ads: New file based on + system-freebsd-x86.ads. + +2009-08-20 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/utils.c (convert): In the padded case, do the final + conversion as an unchecked conversion if the underlying types are + array types with variable size. + +2009-08-20 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/ada-tree.h (SET_TYPE_RM_VALUE): Mark the expression + as visited. + * gcc-interface/misc.c (gnat_get_subrange_bounds): Always return the + bounds. + * gcc-interface/trans.c (add_decl_expr): Do not mark gigi-specific + fields. + (gnat_gimplify_expr) <DECL_EXPR>: New case. + +2009-08-17 Aurelien Jarno <aurelien@aurel32.net> + + * s-osinte-kfreebsd-gnu.ads (SA_ONSTACK): New constant. + (stack_t): New record type. + (sigaltstack): New imported function. + (Alternate_Stack): New imported variable. + (Alternate_Stack_Size): New constant. + +2009-08-17 Vasiliy Fofanov <fofanov@adacore.com> + + * a-calend-vms.adb: Fix typo. + +2009-08-17 Tristan Gingold <gingold@adacore.com> + + * s-taprop-posix.adb: Round up the stack size to avoid failure on + Darwin. + +2009-08-17 Gary Dismukes <dismukes@adacore.com> + + * sem_cat.adb (Validate_Static_Object_Name): Update comment. + +2009-08-17 Vincent Celier <celier@adacore.com> + + * make.adb (Arguments_Collected): Unneeded, removed + (Change_To_Object_Directory): Use Project directly. Add pragma Assert to + ensure caller does not pass in No_Project. + (Compile): Add new parameter Project. Let procedure + Collect_Arguments_And_Compile provide the proper value. + + * switch-c.adb: Add documentation for -gnatea and -gnatez + +2009-08-17 Ben Brosgol <brosgol@adacore.com> + + * gnat_ugn.texi: Changed name of package in SAL example, to avoid + clash with Ada 2005 reserved word (interface). + +2009-08-17 Robert Dewar <dewar@adacore.com> + + * a-crbtgk.adb, a-crdlli.adb, a-direct.adb, a-caldel-vms.adb, + a-calend-vms.adb, a-calfor.adb, a-cdlili.adb, a-chahan.adb, + a-cidlli.adb, a-coinve.adb, a-comlin.adb: Minor code reorganization + (use conditional expressions). + +2009-08-17 Robert Dewar <dewar@adacore.com> + + * make.adb: Add ??? comment + * tbuild.adb: Minor reformatting + +2009-08-17 Thomas Quinot <quinot@adacore.com> + + * exp_ch4.adb (Exp_Ch4.Expand_N_Slice.Make_Temporary): Rename to + Make_Temporary_For_Slice to avoid confusion with Tbuild.Make_Temporary. + Use Tbuild.Make_Temporary to create entity for the temporary. + +2009-08-17 Arnaud Charlet <charlet@adacore.com> + + * make.adb (Process_Multilib, Scan_Make_Arg): Refine previous change + and ignore -mieee switch to avoid spawning an extra gcc in this case. + +2009-08-17 Thomas Quinot <quinot@adacore.com> + + * tbuild.adb: Minor reformatting + +2009-08-17 Ed Schonberg <schonberg@adacore.com> + + * exp_ch3.adb (Build_Discriminant_Formals): If the discriminals already + exist, as is the case for synchronized types, use the type of the + discriminal in the parameter specification, to prevent a spurious + subtype mismatch in gigi. + +2009-08-17 Robert Dewar <dewar@adacore.com> + + * prj-env.adb: Minor reformatting + * make.adb: Minor reformatting + Comment updates + +2009-08-17 Javier Miranda <miranda@adacore.com> + + * exp_ch7.adb (Wrap_Transient_Expression): Update comments. + +2009-08-17 Emmanuel Briot <briot@adacore.com> + + * prj-part.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-conf.adb + (Processing_Flags.Require_Obj_Dirs): new field, which controls whether + object directories must be present. In the case of gprclean at least, + these are optional (if they do not exist there is nothing to clean) + +2009-08-17 Robert Dewar <dewar@adacore.com> + + * prj-env.adb: Minor reformatting + * sem_ch3.adb: Minor reformatting + +2009-08-17 Hristian Kirtchev <kirtchev@adacore.com> + + * sysdep.c (__gnat_localtime_tzoff): VxWorks case - Flip the sign of + the time zone since VxWorks chose positive values to represent west + time zones and negative for east zones. + +2009-08-17 Ed Schonberg <schonberg@adacore.com> + + * sem_ch3.adb (Access_Definition): Do not create an Itype reference for + an anonymous access type whose designated type is generic. + +2009-08-17 Arnaud Charlet <charlet@adacore.com> + + * comperr.adb (Compiler_Abort): Do not generate a bug box when in + codepeer mode, friendlier. + +2009-08-10 Laurent GUERBY <laurent@guerby.net> + + * make.adb: Handle multilib + +2009-08-10 Vincent Celier <celier@adacore.com> + + * prj-env.adb (Create_Config_Pragmas_File.Write_Temp_File): Do not use + the temporary file name in the error message when the temporary file + cannot be created. + +2009-08-10 Yannick Moy <moy@adacore.com> + + * gnat_ugn.texi: Fix typo + +2009-08-10 Robert Dewar <dewar@adacore.com> + + * exp_ch7.adb: Add ??? comment for last change + +2009-08-10 Vincent Celier <celier@adacore.com> + + * prj-env.adb (Add_To_Buffer): New procedure + (Create_Config_Pragmas_File): Write to temporary file in one shot + (Create_Mapping_File): Ditto + (Set_Ada_Paths): Ditto + +2009-08-10 Vincent Celier <celier@adacore.com> + + PR ada/17566 + * xref_lib.adb (Print_Xref): Make sure that there is at least one space + between a declaration name and its type. + +2009-08-07 Javier Miranda <miranda@adacore.com> + + * exp_ch7.adb (Wrap_Transient_Expression): Add missing adjustment of + SCIL node. + +2009-08-07 Robert Dewar <dewar@adacore.com> + + * sem_warn.adb (Warn_On_Unreferenced_Entity): Fix obvious typo. + +2009-08-07 Vincent Celier <celier@adacore.com> + + * gnatcmd.adb (GNATCmd): If -U is not used, one and only one main is + specified on the command line and there are switches in the Compiler + package of the project file, use these compilation switches to invoke + the tool. + +2009-08-07 Ben Brosgol <brosgol@adacore.com> + + * gnat_ugn.texi: Wordsmithing edits at beginning of gnatcheck chapter. + +2009-08-07 Ed Schonberg <schonberg@adacore.com> + + * sem_ch10.adb (Analyze_Proper_Body): Indicate name of missing subunit + even if not in main unit, to simplify debugging. + +2009-08-07 Arnaud Charlet <charlet@adacore.com> + + * gcc-interface/Makefile.in: Fix handling of GCC_FOR_TARGET. + * gcc-interface/Make-lang.in: Update dependencies. + +2009-08-07 Robert Dewar <dewar@adacore.com> + + * types.ads: Minor reformatting + * sem_ch12.ads (Check_Generic_Child_Unit): Add missing documentation. + * frontend.adb, sem_warn.adb, sem_warn.ads: Fix spelling of + Output_Non_Modified_In_Out_Warnings. + * sem_ch13.adb: Remove ??? comment. + +2009-08-07 Vincent Celier <celier@adacore.com> + + * mlib-prj.adb (Build_Library): Include binder generate object file + for SAL when library name is only one character. + +2009-08-07 Thomas Quinot <quinot@adacore.com> + + * targparm.adb: Minor reformatting + * sem.adb: Minor reformatting + * exp_ch4.adb (Expand_N_Conditional_Expression): Add comment. + +2009-08-07 Emmanuel Briot <briot@adacore.com> + + * prj-conf.adb: Remove duplicate directory separator in the output when + an object directory does not exist. + +2009-08-07 Robert Dewar <dewar@adacore.com> + + * exp_util.adb: Minor reformatting + +2009-08-07 Vincent Celier <celier@adacore.com> + + * mlib-prj.adb (Build_Library): Fixed bug in name of ALI file (wrong + length used). + +2009-08-07 Ed Schonberg <schonberg@adacore.com> + + * exp_ch9.adb (Expand_N_Protected_Type_Declaration): In Ravenscar mode, + detect non-static private components that will violate restriction + No_Implicit_Heap_Allocation. + +2009-08-07 Ben Brosgol <brosgol@adacore.com> + + * gnat_ugn.texi: Edited Rule Exemption section of gnatcheck chapter. + +2009-08-02 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/gigi.h (end_subprog_body): Tweak comment. + * gcc-interface/utils.c (end_subprog_body): Likewise. + * gcc-interface/trans.c (gigi): Likewise. + (gnat_to_gnu): Likewise. + +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. + +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, adaint.c: Minor reformatting + +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. + +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. + +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. + +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. + +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. + +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. + +2009-07-28 Arnaud Charlet <charlet@adacore.com> + + * gcc-interface/Make-lang.in: Update dependencies. + +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 + +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. + +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. + +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. + +2009-07-28 Robert Dewar <dewar@adacore.com> + + * prj-nmsc.adb, g-expect.adb, prj.ads: Minor reformatting + +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. + +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. + +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. + +2009-07-27 Emmanuel Briot <briot@adacore.com> + + * prj.ads, prj-nmsc.adb (Override_Kind): add debug trace + Add comments. + +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 + +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. + +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> + + * gnatfind.adb, osint.ads, sem.adb, xr_tabls.adb: Minor reformatting + and code clean up. + +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. + +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. + +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. + +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. + +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 + +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. + +2009-07-26 Dave Korn <dave.korn.cygwin@gmail.com> + + PR bootstrap/40578 + * adaint.h (FOPEN, STAT, FSTAT, LSTAT, STRUCT_STAT): Rename from these + (GNAT_FOPEN, GNAT_STAT, GNAT_FSTAT, GNAT_LSTAT, GNAT_STRUCT_STAT): ... + to these. + (__gnat_stat): Adjust reference to STAT in prototype. + * adaint.c (__gnat_try_lock, __gnat_fopen, __gnat_file_length, + __gnat_named_file_length, __gnat_file_time_name, __gnat_file_time_fd, + __gnat_get_libraries_from_registry, __gnat_stat, __gnat_file_exists, + __gnat_is_regular_file, __gnat_is_directory, __gnat_is_readable_file, + __gnat_is_writable_file, __gnat_is_executable_file, + __gnat_set_writable, __gnat_set_executable, __gnat_set_non_writable, + __gnat_set_readable, __gnat_set_non_readable, __gnat_is_symbolic_link, + __gnat_copy_attribs): Adjust all references to the above. + * cstreams.c (__gnat_is_regular_file_fd): Likewise. + +2009-07-23 Ed Schonberg <schonberg@adacore.com> + + * sem.adb (Do_Unit_And_Dependents): Now that specs and bodies are not + done at the same time, guard against listing a body more than once. + +2009-07-23 Robert Dewar <dewar@adacore.com> + + * exp_ch6.adb: Minor reformatting + +2009-07-23 Ed Schonberg <schonberg@adacore.com> + + * sem_ch3.adb (Analyze_Object_Declaration): A scalar constant with a + static expression is known valid. + * sem_eval.adb (Compile_Time_Compare): Handle properly non-static + operands of a subtype with a single value. + +2009-07-23 Ed Schonberg <schonberg@adacore.com> + + * sem.adb (Do_Units_And_Dependents): Process bodies only for units that + are in the context of the main unit body. + +2009-07-23 Sergey Rybin <rybin@adacore.com> + + * gnat_ugn.texi (Misnamed_Controlling_Parameters gnatcheck rule): Fix + misprint in rule description. + +2009-07-23 Gary Dismukes <dismukes@adacore.com> + + * exp_ch6.adb (Make_Build_In_Place_Call_In_Object_Declaration): Replace + test that the object declaration is within an extended return statement + with direct test of whether the declared object associated with the + build-in-place call is a return object, since the enclosing function + might not even be a build-in-place function. + +2009-07-23 Robert Dewar <dewar@adacore.com> + + * freeze.adb, prj-nmsc.adb, errout.adb: Minor reformatting + Minor code reorganization + +2009-07-23 Arnaud Charlet <charlet@adacore.com> + + * sem_prag.adb (Analyze_Pragma): Do not ignore pragma Pack on records + for static analysis, only packed arrays are causing troubles. + +2009-07-23 Gary Dismukes <dismukes@adacore.com> + + * sem_aggr.adb (Resolve_Extension_Aggregate): Report an error when the + ancestor part is a call to a limited function with an unconstrained + result subtype unless the aggregate has a null extension type. + * sem_ch3.adb (Is_Null_Extension): Use the base type when retrieving + the parent type declaration to avoid blowups on subtype cases. + +2009-07-23 Robert Dewar <dewar@adacore.com> + + * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Better message for missing + comma. + + * sem_util.adb (Wrong_Type): Special message for cases like A and B = 0 + + * s-regexp.adb: Minor reformatting + * scos.ads: Minor reformatting. + +2009-07-23 Arnaud Charlet <charlet@adacore.com> + + * freeze.adb (Set_Small_Size): Remove extra space for consistency with + other similar messages. + * sem_prag.adb (Freeze_Record_Type, Freeze_Entity): Disable error + messages/implicit packing in CodePeer mode. + (Analyze_Pragma [case pragma Pack]): Ignore pragma in CodePeer mode. + * errout.adb (Special_Msg_Delete): Suppress 'size too small' message in + CodePeer mode. + +2009-07-23 Pascal Obry <obry@adacore.com> + + * prj-nmsc.adb: Fix spec/body naming extension on case insensitive + systems. + +2009-07-23 Robert Dewar <dewar@adacore.com> + + * einfo.ads, g-ssvety.ads, s-regexp.adb, g-sse.ads: Update comment. + Minor reformatting. + +2009-07-23 Yannick Moy <moy@adacore.com> + + * s-regexp.adb (Check_Well_Formed_Pattern): Called before compiling the + pattern. + (Raise_Exception_If_No_More_Chars): Remove extra blank in exception + string. + (Raise_Exception): Ditto. + +2009-07-23 Olivier Hainque <hainque@adacore.com> + + * g-sse.ads: Simplify comment. + +2009-07-23 Olivier Hainque <hainque@adacore.com> + + * g-ssinty.ads: New unit. GNAT.SSE.Internal_Types. Factorize + low level internal type definitions for distinct higher level + binding development activities (user type definitions and + operations). + * gnat_rm.texi: Document it. + * g-ssvety.ads: Use it. + * gcc-interface/Makefile.in: (x86 32/64 linux, cygwin32 sections): Add + g-ssinty.o to EXTRA_GNATRTL_NONTASKING_OBJS. + * gcc-interface/utils.c (gnat_internal_attribute_table): Add entry + for the "may_alias" attribute. + +2009-07-23 Thomas Quinot <quinot@adacore.com> + + * scos.ads: Minor typo fix + + * gcc-interface/decl.c (validate_alignment): For the case of an + implicit array base type, look for alignment clause on first subtype. + +2009-07-23 Robert Dewar <dewar@adacore.com> + + * gcc-interface/decl.c (gnat_to_gnu_field): Don't check for overlap + with tagged parent if tagged parent is fully repped. + +2009-07-23 Ed Schonberg <schonberg@adacore.com> + + * sem.adb (Walk_Library_Units): Handle properly the case where a unit + in the context depends on the spec of the main unit, by delaying + processing of the main unit body until all other units have been + processed. + +2009-07-23 Arnaud Charlet <charlet@adacore.com> + + * a-convec.adb: Add comments about suspicious/subtle code. + +2009-07-23 Ed Schonberg <schonberg@adacore.com> + + * einfo.ads: Document use of Alias in private overriding + +2009-07-23 Thomas Quinot <quinot@adacore.com> + + * sem_ch13.adb (Analyze_Attribute_Definition_Clause): For the case of + an array type, propagate alignment from first subtype to implicit base + type so that other subtypes (such as the itypes for aggregates of the + type) also receive the expected alignment. + + * g-comlin.ads: Minor documentation clarification/rewording. + * scos.ads: Minor comments update. + * lib-writ.ads: Minor reformatting + +2009-07-23 Gary Dismukes <dismukes@adacore.com> + + * exp_ch3.adb (Expand_N_Object_Declaration): For an initialized object + of a class-wide interface type that is a return object of a + build-in-place function, bypass the interface-related expansions into + renamings with displacement conversions, etc. + * exp_ch5.adb (Expand_N_Extended_Return_Statement): Add an assertion + for the case where a renaming occurs in a build-in-place context, to + assert that the bypassing of the build-in-place treatment only occurs + in the case of a renaming that is an expansion of a return expression + that is itself a build-in-place function call. + +2009-07-23 Ed Schonberg <schonberg@adacore.com> + + * sem_ch4.adb (Try_Primitive_Operation): A primitive operation is a + valid candidate interpretation in a prefixed view if it is hidden, but + overrides an inherited operation declared in the visible part. + +2009-07-23 Robert Dewar <dewar@adacore.com> + + * exp_ch4.adb (Expand_N_Type_Conversion): Don't promote integer + division operands to 64-bit at all in any circumstances. + +2009-07-23 Robert Dewar <dewar@adacore.com> + + * exp_ch4.adb (Analyze_N_Op_Rem): Assume operands are valid when + checking ranges for mod/rem to see if conditional jump will be + generated. + (Analyze_N_Op_Rem): Don't try to check actual lower bounds for + generating special -1 test for rem, generate it whenever both + operands can be negative (match circuit in Sem_Res). + (Analyze_N_Op_Rem): Don't go to base type, no longer needed and + destroys memory of positive range. + * sem_res.adb (Resolve_Arithmetic_Op): Assume operands are valid when + checking ranges for mod/rem to see if conditional jump will be generated + +2009-07-23 Ed Schonberg <schonberg@adacore.com> + + * exp_ch3.adb (Build_Equivalent_Record_Aggregate): If the type of a + scalar components has non-static bounds, the equivalent aggregate + cannot be built, even if the expression is static, because range checks + will be generated. + +2009-07-23 Robert Dewar <dewar@adacore.com> + + * exp_ch4.adb (Expand_N_Type_Conversion): Don't promote integer + division operands to 64-bit inside a conversion if 64-bit division not + available. + +2009-07-23 Sergey Rybin <rybin@adacore.com> + + * gnat_ugn.texi: Update doc on Misnamed_Identifiers rule. + +2009-07-23 Javier Miranda <miranda@adacore.com> + + * sinfo.ads, sinfo.adb (SCIL_Entity/Set_SCIL_Entity): new subprograms + (Entity/Set_Entity): not available in N_Null_Statement nodes + (Is_Scil_Node): renamed as Is_SCIL_Node + (Scil_Nkind): renamed as SCIL_Nkind + (Scil_Related_Node): renamed as SCIL_Related_Node + (Scil_Target_Prim): renamed as SCIL_Target_Prim + (Set_Is_Scil_Node): Renamed as Set_Is_SCIL_Node + (Set_Scil_Related_Node): Renamed as Set_SCIL_Related_Node + (Set_Scil_Target_Prim): Renamed as Set_SCIL_Target_Prim + Update documentation + * exp_disp.ads (Scil_Node_Kind): Renamed as SCIL_Node_Kind + (Get_Scil_Node_Kind): Renamed as Get_SCIL_Node_Kind + (New_Scil_Node): Renamed as New_SCIL_Node + * exp_disp.adb Update all occurrences of New_Scil_Node to New_SCIL_Node. + (Get_Scil_Node_Kind): Renamed as Get_SCIL_Node_Kind + (New_Scil_Node): Renamed as New_SCIL_Node + * exp_ch3.adb Update occurrence of New_Scil_Node to New_SCIL_Node. + +2009-07-23 Robert Dewar <dewar@adacore.com> + + * sem_prag.adb: No_Return is an Ada 2005 pragma, not a GNAT pragma + * snames.ads-tmpl: No_Return is an Ada 2005 pragma, not a GNAT pragma + * einfo.adb: Minor reformatting + +2009-07-23 Robert Dewar <dewar@adacore.com> + + * checks.adb (Apply_Arithmetic_Overflow_Check): Add comments + cross-referencing the new related code in + Exp_Ch4.Expand_N_Type_Conversion. + * exp_ch4.adb (Expand_N_Type_Conversion): Avoid unnecessary overflows + + * exp_disp.adb, exp_disp.ads, sinfo.ads: Minor reformatting. + Add comment. + +2009-07-23 Javier Miranda <miranda@adacore.com> + + * sinfo.ads (Is_Scil_Node, Scil_Nkind, Scil_Related_Node, + Scil_Target_Prim, N_Has_Entity): Add missing documentation. + * exp_disp.ads (Scil_Node_Kind): Ditto. + * exp_disp.adb (Make_DT, Make_Tags): Ditto. + * exp_ch3.adb (Build_Init_Procedure): Ditto. + +2009-07-23 Javier Miranda <miranda@adacore.com> + + * einfo.adb (Component_Type): Add missing assertion. + * sem_res.adb (Resolve_Call): Ensure proper kind of entity before + reading attribute Component_Size. + * exp_ch4.adb (Is_Safe_In_Place_Array_Op): Ensure proper kind of entity + before reading attributes Component_Size and Component_Type. + * exp_ch3.adb (Build_Initialization_Call): Ensure proper kind of entity + before reading attribute Component_Type. + +2009-07-23 Olivier Hainque <hainque@adacore.com> + + * gnat_rm.texi: Document the GNAT.SSE units. + +2009-07-23 Ed Schonberg <schonberg@adacore.com> + + * sem_ch6.adb (Analyze_Return_Type): Do not create itype reference for + not null return if it appears on a subunit. + +2009-07-23 Robert Dewar <dewar@adacore.com> + + * exp_ch5.adb (Expand_N_Assignment_Statement): Do left-side validity + check right away so it does not get skipped for early returns, e.g. + array assignments. + (Expand_N_Assignment_Statement): Don't propagate Is_Known_Valid to + left-side unless we really know the value is valid. + + * errout.adb, exp_ch3.adb, exp_disp.ads, sinfo.ads, exp_disp.adb: Minor + reformatting. Minor code reorganization. Add comments. + +2009-07-23 Robert Dewar <dewar@adacore.com> + + * get_scos.adb (Skip_EOL): Fix error of mishandling end of line after + complex condition. + +2009-07-23 Gary Dismukes <dismukes@adacore.com> + + * sem_ch6.adb (Check_Return_Subtype_Indication): Replace type equality + with test of coverage, to allow specific type objects in extended + returns of class-wide functions. Remove now-unnecessary special-case + tests that allowed this in certain cases of expanded extended returns. + +2009-07-23 Javier Miranda <miranda@adacore.com> + + * sinfo.ads,sinfo.adb (Entity/Set_Entity): Attribute available in + N_Null_Statements (for SCIL nodes). + (Is_Scil_Node/Set_Is_Scil_Node): New attribute (for SCIL nodes). + (Scil_Nkind/Set_Scil_Nkind): New attribute (for SCIL nodes). + (Scil_Related_Node/Set_Scil_Related_Node): New attribute (for SCIL + nodes). + (Scil_Target_Prim/Set_Scil_Target_Prim): New attribute (for SCIL nodes). + * exp_disp.adb (Expand_Dispatching_Call): Add generation of SCIL node + associated with dispatching call. + (Get_Scil_Node_Kind): New function that returns the kind of SCIL node. + (Make_DT, Make_Tags): Add generation of SCIL nodes associated with + initialization of dispatch tables and initialization of tags. + (New_Scil_Node): New function that creates a new SCIL node. + (Build_Init_Procedure): Add generation of SCIL node associated with the + initialization of tags done in the IP subprogram. + +2009-07-23 Ed Schonberg <schonberg@adacore.com> + + * errout.adb (Error_Msg_NEL): If the entity in the initial message has + Warnings_Off, do not emit continuation messages. + + * sem_ch10.adb: Set Is_Compilation_Unit on generated child subprogram + spec. + +2009-07-23 Emmanuel Briot <briot@adacore.com> + + * ali.adb: Minor comment update + +2009-07-23 Vasiliy Fofanov <fofanov@adacore.com> + + * s-win32.ads (HANDLE): Define to be the same size as address type. + Fix copyright. + +2009-07-23 Olivier Hainque <hainque@adacore.com> + + * g-sse.ads: New file. Root of the SSE facilities trees, with + general description and common declarations. + * g-ssvety.ads: New file. Expose user level SSE vector types. + * impunit.adb (Non_Imp_File_Names_95): Register new units. + * gcc-interface/Makefile.in (x86 32/64 linux, win32): Add + EXTRA_GNATRTL_NONTASKING_OBJS entries for SSE units. + +2009-07-23 Ben Brosgol <brosgol@adacore.com> + + * gnat_ugn.texi: Wordsmithing. + +2009-07-23 Arnaud Charlet <charlet@adacore.com> + + * prj-conf.ads, prj-conf.adb: Switch to GPLv3. + +2009-07-22 Eric Botcazou <ebotcazou@adacore.com> + + * exp_aggr.adb (Gen_Loop): Do not qualify the bounds of the range if + they are already of the base type of the index. + +2009-07-22 Brett Porter <porter@adacore.com> + + * sysdep.c, init.c: Fix typo: _SPE_ should have been __SPE__. + +2009-07-22 Robert Dewar <dewar@adacore.com> + + * vms_data.ads: Add entry for SCO_OUTPUT (-gnateS) + * gnat_ugn.texi: Add documentation for -gnateS switch + * ug_words: Add entry for -gnateS /SCO_OUTPUT + * gcc-interface/Make-lang.in: Update dependencies. + + * get_scos.adb, get_scos.ads, gnat1drv.adb, par_sco.adb, + par_sco.ads, put_scos.adb, put_scos.ads, scos.adb, scos.ads: Initial + complete information for SCO input/output. + +2009-07-22 Sergey Rybin <rybin@adacore.com> + + * gnat_ugn.texi: Update doc for some gnatcheck rules. + +2009-07-22 Robert Dewar <dewar@adacore.com> + + * par_sco.adb, par_sco.ads (pscos): New debug routine to output + contents of SCO tables. + * put_scos.adb, put_scos.ads, get_scos.adb, get_scos.ads, + scos.adb, scos.ads: New files. + * gcc-interface/Make-lang.in: Update dependencies. + + * lib-util.ads, gnatbind.ads, ali.ads, binderr.ads: Minor comment + fixes and reformatting. + +2009-07-22 Robert Dewar <dewar@adacore.com> + + * g-socket.ads: Minor reformatting + +2009-07-22 Gary Dismukes <dismukes@adacore.com> + + * sem_warn.adb (Warn_On_Unreferenced_Entity): Add warning messages that + include the entity kind for following cases of unreferenced entities: + E_Label, E_Discriminant, E_Package, E_Exception, and Formal_Object_Kind. + +2009-07-22 Ed Falis <falis@adacore.com> + + * s-vxwext-kernel.adb, s-vxwext-kernel.ads: Replace use of taskStop + with taskSuspend. + +2009-07-22 Arnaud Charlet <charlet@adacore.com> + + * adadecode.c: Make this file compilable outside of GCC. + +2009-07-22 Thomas Quinot <quinot@adacore.com> + + * g-socket.adb, g-socket.ads (Check_Selector): Make sure that + (partially) default-initialized socket sets are handled properly by + clearing their Set component. + +2009-07-22 Bob Duff <duff@adacore.com> + + * gnat_ugn.texi: Clarify the -gnatVx (validity checking) switches. + +2009-07-22 Robert Dewar <dewar@adacore.com> + + * gnat_ugn.texi: Minor reformatting + +2009-07-22 Ed Schonberg <schonberg@adacore.com> + + * errout.adb (Error_Msg): A style message within an instantiation + should not be labelled as an error. + +2009-07-22 Ed Schonberg <schonberg@adacore.com> + + * freeze.adb (Freeze_Entity): Do not generate extra formal for function + in initialization expression if function does not have convention Ada. + +2009-07-22 Sergey Rybin <rybin@adacore.com> + + * gnat_ugn.texi, vms_data.ads: Add qualifier for new gnatpp option + '--separate-label' to control label layout. + +2009-07-22 Robert Dewar <dewar@adacore.com> + + * exp_tss.ads, sem_eval.adb: Minor reformatting + +2009-07-22 Bob Duff <duff@adacore.com> + + * exp_dist.adb, exp_dist.ads: Update comments. + +2009-07-22 Brett Porter <porter@adacore.com> + + * init.c (__gnat_init_float): For SPE, set bits in SPEFSCR instead of + FPSCR. + * sysdep.c (__gnat_get_task_options): Set task option enabling SPE. + +2009-07-22 Gary Dismukes <dismukes@adacore.com> + + * exp_ch5.adb, sem_util.adb, sem_attr.adb, exp_dbug.ads, exp_ch2.adb, + exp_tss.ads, exp_ch4.adb, sem_ch4.adb: Correct spelling error. + Minor reformatting. + * sem_res.adb (Resolve_Explicit_Dereference): Reword one comment that + used poor terminology. + +2009-07-22 Robert Dewar <dewar@adacore.com> + + * freeze.adb, sem_ch3.adb, sem_prag.adb: Minor reformatting + * sem_eval.adb, exp_tss.adb: Minor comment update. + * stylesw.adb: Code clean up. + +2009-07-22 Ed Schonberg <schonberg@adacore.com> + + * freeze.adb (Freeze_Entity): If Implicit_Packing is enabled, and the + component size is an exact number of bytes, an array type can have a + size clause that forces packing even though the array type itself is + not bit-packed. + +2009-07-22 Thomas Quinot <quinot@adacore.com> + + * sem_ch3.adb (Analyze_Object_Declaration): For a constant declaration, + if there is a previous entity with the same name in the scope, ignore + it if it is the renaming declaration for a generic package introduced + in instances. + +2009-07-22 Nicolas Roche <roche@adacore.com> + + * seh_init.c: use RtlAddFunctionTable to register our SEH exception + handler on x86_64 windows. + +2009-07-22 Arnaud Charlet <charlet@adacore.com> + + * sem_prag.adb (Analyze_Pragma): Initialize/Normalize_Scalars create + false positives in CodePeer, so ignore this pragma in this mode. + +2009-07-22 Thomas Quinot <quinot@adacore.com> + + * sem_util.adb, sem_ch10.adb: Minor reformatting + + * g-socket.adb (Receive_Socket, recvfrom(2) variant): Apply required + special handling for the case of no data received and Item'First = + Stream_Element_Offset'First. + (Last_Index): New subprogram factoring the above special handling + over the various locations where it is required. + +2009-07-22 Arnaud Charlet <charlet@adacore.com> + + * gnat1drv.adb (Gnat1drv): Also disable division by zero and alignment + checks in CodePeer_Mode. + * gcc-interface/Make-lang.in: Update dependencies. + +2009-07-22 Ed Schonberg <schonberg@adacore.com> + + * sem_aggr.adb: Improve error message. + + * sem_ch13.adb: If Ignore_Rep_Clauses is enabled, do a minimal analysis + of an address representation clause. + * freeze.adb (Freeze_Static_Object): An local imported object is legal + if it has an address clause. + +2009-07-22 Thomas Quinot <quinot@adacore.com> + + * sem_elab.adb (Insert_Elab_Check): When relocating an overloaded + expression to insert an elab check using a conditional expression, be + sure to carry the original list of interpretations to the new location. + +2009-07-22 Gary Dismukes <dismukes@adacore.com> + + * gnat1drv.adb: Fix spelling error. + +2009-07-22 Javier Miranda <miranda@adacore.com> + + * sem_type.ads, sem_type.adb (In_Generic_Actual): Leave this subprogram + at the library level and fix a hidden bug in its implementation: its + functionality for renaming objects was broken because + N_Object_Renaming_Declarations nodes are not a subclass of + N_Declaration nodes (as documented in sinfo.ads). + * sem_util.adb (Check_Dynamically_Tagged_Expression): Include in this + check nodes that are actuals of generic instantiations. + +2009-07-22 Ed Schonberg <schonberg@adacore.com> + + * sinfo.ads, sinfo.adb (Pending_Context): New flag to indicate that the + context of a compilation unit is being analyzed. Used to detect + circularities created by with_clauses that are not detected by the + loading machinery. + * sem_ch10.adb (Analyze_Compilation_Unit): Set Pending_Context before + analyzing the context of the current compilation unit, to detect + possible circularities created by with_clauses. + +2009-07-22 Thomas Quinot <quinot@adacore.com> + + * sem_type.adb (Get_First_Interp): Fix wrong loop exit condition. + +2009-07-22 Robert Dewar <dewar@adacore.com> + + * sem_res.adb (Check_No_Direct_Boolean_Operators): Add check for -gnatyB + * style.ads, styleg.adb, styleg.ads (Check_Boolean_Operator): New + procedure. + * usage.adb, stylesw.ads, stylesw.adb: Add handling of -gnatyB switch + * gnat_ugn.texi: Add documentation of -gnatyB + * vms_data.ads: Add entry for -gnatyB (STYLE=BOOLEAN_OPERATORS) + +2009-07-22 Robert Dewar <dewar@adacore.com> + + * s-stchop.adb, a-direct.adb, a-ztexio.adb, gnatchop.adb, prj-proc.adb, + make.adb, s-regpat.adb, ali-util.adb, a-ngcefu.adb, prep.adb, + s-tassta.adb, a-tifiio.adb, a-textio.adb, prj.adb, uintp.adb, + s-valrea.adb, a-ngelfu.adb, prepcomp.adb, sinput-l.adb, vms_conv.adb, + errout.adb, g-alleve.adb, repinfo.adb, a-wtedit.adb, ali.adb, + a-witeio.adb, prj-dect.adb, prj-nmsc.adb, sinput-c.adb, binde.adb, + s-regexp.adb, s-imgrea.adb, a-teioed.adb, errutil.adb, prj-util.adb, + a-ztedit.adb, gnatls.adb, prj-conf.adb, bcheck.adb, s-scaval.adb, + erroutc.adb, osint.adb, a-strfix.adb, s-fileio.adb: Make sure sources + obey short-circuit style rule. + +2009-07-20 Bob Duff <duff@adacore.com> + + * sem_ch13.adb (Analyze_Record_Representation_Clause): Use "and then" + instead of "and", because otherwise Parent_Last_Bit is read + uninitialized in the case where it's not a tagged type, or the tagged + parent does not have a complete rep clause. + +2009-07-20 Robert Dewar <dewar@adacore.com> + + * stylesw.ads: Minor documentation change. + + * types.ads: Minor reformatting + +2009-07-20 Javier Miranda <miranda@adacore.com> + + * exp_disp.ads (Apply_Access_Checks): New subprogram that takes care of + generating the tag checks associated with dispatching calls. + * exp_disp.adb (Apply_Access_Checks): New subprogram. + (New_Value): This routine was previously local to expand dispatching + calls but it is now used also by Apply_Access_Checks. + (Expand_Dispatching_Calls): Cleanup code because the functionality of + tag checks is now provided by Apply_Access_Checks. + * exp_ch6.adb (Expand_Call): Incorporate generation of tag checks in + case of dispatching calls. + +2009-07-20 Arnaud Charlet <charlet@adacore.com> + + * gnat1drv.adb (Gnat1drv): Also disable Elaboration_Check in + CodePeer_Mode. + +2009-07-20 Gary Dismukes <dismukes@adacore.com> + + * exp_prag.adb (Expand_Pragma_Import_Export_Exception): When compiling + for VMS, only rewrite the first component of the associated exception's + aggregate init (as 'V'), and eliminate the bogus rewrites of the second + and third components that were being replaced with 'M' and 'S'. + +2009-07-20 Arnaud Charlet <charlet@adacore.com> + + * gnat1drv.adb (Gnat1drv): Suppress access checks in CodePeer mode. + Also do not generate error when parsing a spec in CodePeer mode. + +2009-07-20 Javier Miranda <miranda@adacore.com> + + * checks.adb (Apply_Access_Check): Avoid checks on availability of + runtime function Offset_To_Top_Ptr when compiling with no tagged + types expansion. + * exp_ch3.adb (Build_Init_Procedure): Leave open the possibility of + adding code to the init proc when compiling for VM backends. + +2009-07-20 Vincent Celier <celier@adacore.com> + + * switch-m.ads, switch-m.adb (Normalize_Compiler_Switches): Take into + account switches -gnatw.? + +2009-07-20 Thomas Quinot <quinot@adacore.com> + + * sem_dist.adb, exp_dist.adb: Minor reformatting + + * Make-generated.in: New file. + + * gcc-interface/Make-lang.in: Use Make-generated.in fragment. + +2009-07-20 Javier Miranda <miranda@adacore.com> + + * sem_util.ads, sem_util.adb (Check_Dynamically_Tagged_Expression): New + subprogram. + * sem_aggr.adb (Resolve_Array_Aggregate): Check incorrect use of + dynamically tagged expression. + * sem_ch3.adb (Analyze_Object_Declaration): Call new routine that + factorizes code. + * sem_ch6.adb (Analyze_Function_Return, Process_Formals): Ditto. + * sem_ch8.adb (Analyze_Object_Renaming): Ditto. + +2009-07-20 Arnaud Charlet <charlet@adacore.com> + + * gnat1drv.adb (Gnat1drv): Set operating mode to Generate_Code when + CodePeer_Mode is set, to benefit from full front-end expansion + (e.g. generics). + +2009-07-20 Ed Schonberg <schonberg@adacore.com> + + * sem_res.adb: Add guard. + + * exp_disp.adb, sem_disp.adb (Make_DT): Check underlying view of type + for possible attribute definition of External_Tag, in case clause + appears in the private part of a package. + +2009-07-20 Jerome Guitton <guitton@adacore.com> + + * gcc-interface/Makefile.in: cleanup powerpc linux target pairs. + +2009-07-20 Vadim Godunko <godunko@adacore.com> + + * a-coorma.adb: Minor reformatting. + +2009-07-20 Ed Schonberg <schonberg@adacore.com> + + * sem_ch3 (Build_Itype_Reference): Make public, for use on non-null + access return types. + * sem_ch6.adb (Analyze_Return_Type): If return is a not null subtype, + provide an itype reference to gigi to force elaboration of the subtype + at the proper point. + +2009-07-20 Tristan Gingold <gingold@adacore.com> + + * g-expect.adb: Avoid closeing already closed handle. + +2009-07-20 Robert Dewar <dewar@adacore.com> + + * sprint.adb (Write_Subprogram_Name): New procedure to output + subprogram name with possible preceding $ (replaces + Note_Implicit_Run_Time_Call). + +2009-07-20 Robert Dewar <dewar@adacore.com> + + * vms_data.ads: Minor reformatting + + * einfo.ads, einfo.adb (Parent_Subtype): Now allowed on record subtype, + applies to base type. + (Parent_Subtype): Now allowed on record subtype, applies to base type + * exp_ch5.adb (Expand_Assign_Record): Handle Componentwise_Assignment + for case of fully repped tagged type. + (Make_Tag_Ctrl_Assignment): Set Componentwise_Assignment and avoid + tag save/restore for fully repped tagged type case. + * exp_util.ads, exp_util.adb (Is_Fully_Repped_Tagged_Type): New function + * fe.h (Is_Fully_Repped_Tagged_Type): New function + * sem_ch13.adb (Analyze_Recorrd_Representation_Clause): Check for + overlap of tagged type components with parent type if parent type is + fully repped. + * sinfo.ads, sinfo.adb (Componentwise_Assignment): New flag + + * sem_res.adb (Check_No_Direct_Boolean_Operators): Remove handling of + comparisons. + (Resolve_Comparison_Operators): Remove No_Direct_Boolean_Operators check + (Resolve_Equality_Op): Remove No_Direct_Boolean_Operators check + + * gnat_rm.texi: Restriction No_Direct_Boolean_Operators includes only + logical operators (AND/OR/XOR), not comparison operators. + + * sprint.ads: Minor reformatting + +2009-07-20 Ed Schonberg <schonberg@adacore.com> + + * sem_intr.adb (Check_Intrinsic_Call): For Import_Value and related + intrinsics, check that argument is a string literal, rather than + checking for staticness. + +2009-07-20 Robert Dewar <dewar@adacore.com> + + * sem_ch13.adb: Minor reformatting + + * einfo.ads: Minor reformatting + Component_Bit_Offset is no longer considered obsolescent + +2009-07-20 Nicolas Roche <roche@adacore.com> + + * a-calend.adb: Redefine time_t as signed integer with same size as + Address type. + * s-os_lib.ads: Redefine OS_Time as signed integer with same size as + Address type + * adaint.h: On Windows 64bits declare OS_Time as long long instead of + long + +2009-07-20 Javier Miranda <miranda@adacore.com> + + * exp_tss.adb (Init_Proc): Add missing support for non-default C++ + constructors that have anonymous access type formals. + + * sem_res.adb (Resolve_Actuals): Disable checks associated with Ada + class-wide arguments in case of imported C++ subprograms. + + * exp_ch3.adb (Build_Initialization_Call): Add assertion. + +2009-07-20 Sergey Rybin <rybin@adacore.com> + + * vms_data.ads: Update qualifiers. + +2009-07-20 Robert Dewar <dewar@adacore.com> + + * einfo.ads, switch.adb, gnatls.adb, inline.adb, sem_ch13.adb: Minor + reformatting + +2009-07-17 Richard Guenther <rguenther@suse.de> + + PR c/40401 + * gcc-interface/utils.c (end_subprog_body): Revert to pre-tuples + state. Remove unused parameter. + (gnat_gimplify_function): Do not gimplify here. + Fold into its only caller and remove. + (gnat_builtin_function): Adjust for end_subprog_body signature change. + (gnat_write_global_declarations): Also finalize the CU. + * gcc-interface/misc.c (gnat_parse_file): Do not finalize the CU here. + * gcc-interface/trans.c (gigi): Revert to pre-tuples state. + (Subprogram_Body_to_gnu): Adjust for end_subprog_body signature + change. + * gcc-interface/gigi.h (end_subprog_body): Remove unused parameter. + +2009-07-15 Arnaud Charlet <charlet@adacore.com> + + * gcc-interface/Make-lang.in: Update dependencies + + * gcc-interface/Makefile.in: Add target pairs for PPC/Xenomai + +2009-07-15 Robert Dewar <dewar@adacore.com> + + * par_sco.adb (Traverse_Declarations_Or_Statements): Add processing for + N_Label. Remove SCO table entry for entry point (not used). + + * par_sco.ads: Remove SCO entry point type (not used) + + * switch.adb: Minor code clean up. + +2009-07-15 Eric Botcazou <ebotcazou@adacore.com> + + * exp_dbug.ads (Base Record Types): Document enhanced encoding. + +2009-07-15 Thomas Quinot <quinot@adacore.com> + + * gnatls.adb: Minor reformatting + + * gnatcmd.adb: Minor code reorganization + +2009-07-15 Ed Schonberg <schonberg@adacore.com> + + * exp_util.adb (Component_May_Be_Bit_Aligned): Use underlying type to + determine whether a component of a private type has a composite type. + +2009-07-15 Robert Dewar <dewar@adacore.com> + + * sem_ch10.adb: Minor reformatting throughout + Minor code reorganization (put nested subprograms in alpha order) + +2009-07-15 Ed Schonberg <schonberg@adacore.com> + + * exp_ch6.adb (Expand_Call): Prevent double attachment of the result + when compiling a call to a protected function that returns a controlled + object. + +2009-07-15 Hristian Kirtchev <kirtchev@adacore.com> + + * sysdep.c (__gnat_localtime_tzoff): Consolidate the Lynx cases into + one. Add task locking and unlocking around the critical region which + mentions localtime_r and global variable timezone for various targets. + Comment reformatting. + +2009-07-15 Robert Dewar <dewar@adacore.com> + + * gnat_rm.texi: Document s-ststop.ads + + * impunit.ad: (Map_Array): New table of alternative names + (Get_Kind_Of_Unit): Return possible suggested alternative name + + * impunit.ads (Get_Kind_Of_Unit): Return possible suggested + alternative name. + + * sem_ch10.adb (Analalyze_With_Clause): Add name of possible + alternative unit if an implementation unit is with'ed. + +2009-07-15 Robert Dewar <dewar@adacore.com> + + * gnat_ugn.texi: Minor updates. + + * snames.ads-tmpl: Minor comment updates for Ada 2005 fully implemented + +2009-07-15 Ed Schonberg <schonberg@adacore.com> + + * sem_warn.adb (Warn_On_Constant_Condition): Handle properly constant + conditions of a derived boolean type. + Minor reformatting + +2009-07-15 Robert Dewar <dewar@adacore.com> + + * gnat1drv.adb: Initialize SCO tables + + * par-load.adb: Call SCO_Record for main unit spec + + * par.adb: Make call to SCO_Record for main unit + + * par_sco.adb (Unit_Table): Change format to facilitate sort + (Process_Decisions): New procedure with list argument + (Traverse_Generic_Package_Declaration): New procedure + (Initialize): New procedure, replaces Init + (SCO_Output): Sort unit table before output + (SCO_Record): Avoid duplications + (SCO_Record): Handle remaining cases of units + (Traverse_Declarations_Or_Statements): Handle generics + + * par_sco.ads (Initialize): New peocedure (replaces Init) + + * sem_ch10.adb (Analyze_Proper_Body): Make call to SCO_Record for + subunit. + +2009-07-15 Arnaud Charlet <charlet@adacore.com> + + * debug.adb: Add -gnatd.J switch for now to support scil generation in + parallel. Add missing doc for -gnatd.I and -gnatd.O + +2009-07-15 Robert Dewar <dewar@adacore.com> + + * lib-load.adb: Minor reformatting + + * lib-writ.adb (Write_ALI): Fix handling of SCO_Output wrt Generate_SCO. + +2009-07-15 Robert Dewar <dewar@adacore.com> + + * par.adb: Minor reformatting + Add ??? comment for possible bad comment + + * par-ch10.adb: Minor reformatting + +2009-07-15 Ed Schonberg <schonberg@adacore.com> + + * sem_warn.adb (Warn_On_Constant_Condition): if the constant condition + is a literal of a derived boolean type, it appears as an unchecked + conversion. Retrieve actual value from expression of conversion. + +2009-07-15 Robert Dewar <dewar@adacore.com> + + * sem_ch3.adb: Minor reformatting + + * lib-xref.ads, lib-xref.adb, lib.ads, par_sco.ads, par_sco.adb, + lib-writ.ads, lib-writ.adb: Minor reformatting. + Fix problem with SCO format in ALI files + +2009-07-15 Robert Dewar <dewar@adacore.com> + + * exp_ch7.adb, exp_util.adb, tbuild.adb, tbuild.ads, exp_ch4.adb, + exp_aggr.adb: Minor code reorganization (better calling sequence for + Make_Temporary). + +2009-07-15 Thomas Quinot <quinot@adacore.com> + + * opt.ads: Minor comment edits + +2009-07-15 Tristan Gingold <gingold@adacore.com> + + * gcc-interface/Makefile.in: Special rule for seh_init.o no longer + needed. + +2009-07-15 Robert Dewar <dewar@adacore.com> + + * lib-writ.adb (Write_Unit_Information): Use SCO_Output to output SCO + information. + + * lib-writ.ads: Document addition of SCO lines to ALI file + + * par_sco.ads, par_sco.adb: New files. + + * opt.ads (Generate_SCO): New switch + + * par.adb (Par): Call SCO_Record to record SCO information + + * sem_warn.adb (Warn_On_Constant_Condition): Adjust SCO condition + + * switch-c.adb: Recognize -gnateS to generate SCO information + + * usage.adb: Add line for -gnateS + + * gcc-interface/Make-lang.in: Add dependency on par_sco.o for gnat1 + +2009-07-15 Robert Dewar <dewar@adacore.com> + + * sinfo.ads, make.adb, par.ads, par.adb, sem_warn.adb: Minor + reformatting. + +2009-07-15 Thomas Quinot <quinot@adacore.com> + + * g-socthi-mingw.adb: Minor comment addition + + * g-socthi-mingw.ads (WSAStartup): First argument is a WORD not an int. + +2009-07-15 Robert Dewar <dewar@adacore.com> + + * g-htable.ads, s-htable.ads: Minor reformatting + +2009-07-15 Robert Dewar <dewar@adacore.com> + + * switch-c.adb, sem_ch10.adb, sem_warn.adb, sem_warn.ads: Implement + new switch -gnatw.g. + (Set_GNAT_Mode_Warnings): New procedure. + + * lib-xref.adb: Minor reformatting + +2009-07-15 Robert Dewar <dewar@adacore.com> + + * exp_aggr.adb, tbuild.ads, tbuild.adb: Minor reformatting + Minor code reorganization + +2009-07-14 Taras Glek <tglek@mozilla.com> + Rafael Espindola <espindola@google.com> + + * gcc-interface/Make-lang.in (ada.install-plugin): New target for + installing plugin headers. + +2009-07-13 Ed Schonberg <schonberg@adacore.com> + + * exp_ch7.adb, exp_util.adb, tbuild.adb, tbuild.ads, exp_ch4.adb, + exp_aggr.adb (Make_Temporary): Utility to create a defining identifier + and link it to the expression whose value it captures. + +2009-07-13 Robert Dewar <dewar@adacore.com> + + * output.adb: Minor comment addition for last change + + * sinfo.ads: Minor reformatting + +2009-07-13 Vasiliy Fofanov <fofanov@adacore.com> + + * adaint.c (__gnat_portable_no_block_spawn): on Windows, return -1 when + spawn failed like on all other targets. + +2009-07-13 Ed Schonberg <schonberg@adacore.com> + + * exp_ch7.adb: Indicate origin of temporary for transient expression. + +2009-07-13 Thomas Quinot <quinot@adacore.com> + + * s-oscons-tmplt.c: Add comment. + +2009-07-13 Robert Dewar <dewar@adacore.com> + + * sinfo.adb, sinfo.ads, sem_util.adb, atree.adb, atree.ads: Minor + reformatting. Minor code reorganization (add 9 argument version of + Nkind_In). + + * impunit.adb: Remove s-os_lib from list of system extensions. + + * sem_util.ads: Minor reformatting + + * output.adb: Add warnings off/on around System.OS_Lib. + +2009-07-13 Bob Duff <duff@adacore.com> + + * exp_dist.adb: Minor comment updates. + +2009-07-13 Gary Dismukes <dismukes@adacore.com> + + * sem_ch10.adb, sem_ch12.adb, gnat1drv.adb, exp_ch4.adb: Fix casing of + several references to CodePeer. + +2009-07-13 Bob Duff <duff@adacore.com> + + * exp_dist.adb (Build_From_Any_Function,Build_To_Any_Function, + Build_TypeCode_Function_All): Do not recurse if the type is the base + type. + +2009-07-13 Robert Dewar <dewar@adacore.com> + + * exp_ch4.adb: Minor comment change + +2009-07-13 Ed Schonberg <schonberg@adacore.com> + + * sem_ch5.adb (Analyze_Iteration_Scheme): Generate dummy reference for + type of iteration, to prevent spurious warnings. + +2009-07-13 Nicolas Roche <roche@adacore.com> + + * s-oscons-tmplt.c: On VxWorks target ensure that vxWorks.h is always + included. + +2009-07-13 Arnaud Charlet <charlet@adacore.com> + + * switch-c.adb, usage.adb, sem_ch9.adb, gnat_ugn.texi, rtsfind.adb, + gnat1drv.adb, opt.ads, sem_ch13.adb (Inspector_Mode): Renamed to + Generate_SCIL. + (CodePeer_Mode): New -gnatC switch. + (Adjust_Global_Switches): Adjust settings for Generate_SCIL and + CodePeer_Mode. + +2009-07-13 Eric Botcazou <ebotcazou@adacore.com> + + * checks.adb (Selected_Range_Checks): Do not consider that a non-static + integer bound forces the check if it is compared to its subtype range. + +2009-07-13 Robert Dewar <dewar@adacore.com> + + * prj.ads, prj-dect.adb, prj-err.ads, prj-err.adb, prj-nmsc.adb, + prj-strt.ads: Minor reformatting + +2009-07-13 Thomas Quinot <quinot@adacore.com> + + * exp_dist.adb (Build_From_Any_Call): For the case of a generic type, + set the type of the From_Any call to the base type. + +2009-07-13 Doug Rupp <rupp@adacore.com> + + * symbols-processing-vms-ia64.adb (Process): Add variables and + constants to retrieve and check for symbol visibility. + +2009-07-13 Javier Miranda <miranda@adacore.com> + + * exp_ch4.adb (Expand_N_Unchecked_Type_Conversion): If conversion is to + the identical type we remove the conversion completely because + it is useless. + +2009-07-13 Emmanuel Briot <briot@adacore.com> + + * prj-err.adb (Error_Msg): One more case where a message should be + considered as a warning. + + * gnatcmd.adb (GNATCmd): Fix previous change, which negated a test. + +2009-07-13 Thomas Quinot <quinot@adacore.com> + + * exp_dist.adb (Expand_All_Calls_Remote_Subprogram_Call): Analyze + calling stubs in the (library level) scope of the RCI locator, where it + is attached, not in the caller's scope. + +2009-07-13 Javier Miranda <miranda@adacore.com> + + * sem_ch3.adb (Analyze_Object_Declaration): In case of class-wide + interface object declarations we delay the generation of the equivalent + record type declarations until its expansion because there are cases in + which they are not required. + + * sem_util.adb (Implements_Interface): Add missing support for subtypes. + + * sem_disp.adb (Check_Controlling_Formals): Minor code cleanup plus + addition of assertion. + + * exp_util.adb (Expand_Subtype_From_Expr): Renamings of class-wide + interface types require no equivalent constrained type declarations + because the expanded code only references the tag component associated + with the interface. + (Find_Interface_Tag): Improve management of interfaces that are + ancestors of tagged types. + + * exp_ch3.adb (Expand_N_Object_Declaration): Improve the expansion of + class-wide object declarations to add missing support to statically + displace the pointer to the object to reference the tag component + associated with the interface. + + * exp_disp.adb (Make_Tags) Avoid generation of internally generated + auxiliary types associated with user-defined dispatching calls if the + type has no user-defined primitives. + +2009-07-13 Vasiliy Fofanov <fofanov@adacore.com> + + * mingw32.h: Make it explicit that we need XP or later. + + * initialize.c: Remove useless extern symbol declaration. + + * adaint.h: Ditto, also expose __gnat_win32_remove_handle to allow + code reuse in expect.c. + + * adaint.c: Changes throughout the Windows section to redesign storage + of the child process list and the process identification. + + * expect.c (__gnat_kill, __gnat_waitpid): Simplify, cleanup, use pids + for interfacing, fix errors. + (__gnat_expect_portable_execvp): use function in adaint.c + +2009-07-13 Emmanuel Briot <briot@adacore.com> + + * prj-proc.adb, prj-part.adb, prj-part.ads, prj-strt.adb, + prj-strt.ads, prj.adb, prj.ads, prj-makr.adb, prj-makr.ads, + prj-dect.adb, prj-dect.ads, prj-nmsc.adb, prj-pars.adb, errutil.adb, + errutil.ads, prj-conf.adb, gnatname.adb, prj-err.adb, prj-err.ads + (Prj.Nmsc.Report_Error): Removed, no longer needed. + Always use Prj.Err.Report_Message. + +2009-07-13 Robert Dewar <dewar@adacore.com> + + * prj.adb, sem_ch4.adb, sem_res.adb, prj-nmsc.adb: Minor reformatting + & comment edits. + +2009-07-13 Robert Dewar <dewar@adacore.com> + + * opt.ads, prj-conf.adb, prj-env.adb, prj-ext.adb, prj-nmsc.adb, + prj-proc.adb, prj-tree.adb, prj-tree.ads: Minor reformatting + +2009-07-13 Emmanuel Briot <briot@adacore.com> + + * prj.adb, prj.ads, prj-env.adb, prj-conf.adb, prj-tree.adb, + mlib-prj.adb (Private_Part.Ada_Prj_Objects_File_Set, + Ada_Prj_Include_File_Set): Removed, since not needed + Code clean up. + +2009-07-13 Ed Schonberg <schonberg@adacore.com> + + * sem_ch4.adb (Analyze_Set_Membership): New procedure, subsidiary of + Analyze_Membership_Op. + + * sem_res.adb (Resolve_Set_Membership): New procedure, subsidiary of + Resolve_Membership_Op. + + * exp_ch4.adb (Expand_Set_Membership): New procedure, subsidiary of + Expand_N_In. + +2009-07-13 Robert Dewar <dewar@adacore.com> + + * clean.adb: Minor reformattting + +2009-07-13 Emmanuel Briot <briot@adacore.com> + + * gnatcmd.adb, prj-proc.adb, make.adb, mlib-prj.adb, prj-ext.adb, + gnat_ugn.texi, prj.adb, prj.ads, clean.adb, prj-nmsc.adb, prj-util.adb, + prj-conf.adb, gnatname.adb, prj-env.adb, prj-env.ads, prj-tree.adb, + prj-tree.ads (Prj.Tree.Create*): New subprograms to create new packages + and attributes in a project tree. + (Add_Default_GNAT_Naming_Scheme): Provide real implementation. + Remove last remaining mode-specific code (ada_only or + multi_language). This was duplicating code + (Get_Mode, Set_Mode): removed, no longer used. + (Initialize_Project_Path): all tools will now take into account both + GPR_PROJECT_PATH and ADA_PROJECT_PATH (in that order). + Remove some global variables and subprograms no longer used + Make temporary files tree-specific, to avoid interferences between + trees loaded in memory at the same time. + (Prj.Delete_Temporary_File): new subprogram + (Object_Paths, Source_Paths): fields no longer stored in the project + tree, since they are only needed locally in Set_Ada_Paths. + (Set_Mapping_File_Initial_State_To_Empty): removed, since had no + effect in practice. + (Project_Tree_Data.Ada_Path_Buffer): removed, since it can be replaced + by local variables in the appropriate subprograms + (Has_Foreign_Sources): removed. + + * gcc-interface/Makefile.in: prj-pp.o is now needed to build gnatmake + +2009-07-13 Arnaud Charlet <charlet@adacore.com> + + * gnat1drv.adb (Adjust_Global_Switches): No longer set + Back_Annotate_Rep_Info in inspector mode. + (Gnat1Drv): Need to call the back-end in inspector mode to generate SCIL + + * opt.ads: Update comment. + +2009-07-13 Robert Dewar <dewar@adacore.com> + + * lib.adb, prj-nmsc.adb, prj-proc.adb, prj-proc.ads, prj.adb, + prj.ads: Minor reformatting and code reorganization. + + * par-ch3.adb (Check_Restricted_Expression): New procedure + +2009-07-13 Ed Schonberg <schonberg@adacore.com> + + * exp_attr.adb (Rewrite_Stream_Proc_Call): When rewriting a stream + attribute into a call of the corresponding suprogram, create extra + formals for the subprogram, because it may be a renaming whose + analysis does not create extra formals. + +2009-07-13 Emmanuel Briot <briot@adacore.com> + + * gnatcmd.adb, prj-proc.adb, prj-proc.ads, make.adb, prj-part.adb, + prj.adb, prj.ads, clean.adb, prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, + prj-pars.ads, prj-conf.adb, prj-conf.ads, prj-env.adb, prj-tree.adb, + prj-tree.ads: Minor reformatting. + (Processing_Flags): new record to encapsulate the set of common + parameters to several subprograms in the project manager. + (Prj.Nmsc.Process_Naming_Scheme): renames Check, and moved to body + Remove the need for the Current_Dir parameter in subprograms. + (Look_For_Sources): minor refactoring, now that we no longer need to + share subprograms between the two Ada_Only and Multi_Language modes + (Processing_Flags): New field Error_On_Unknown_Language. + Merge tests for library project between gnatmake and gprbuild. + +2009-07-13 Arnaud Charlet <charlet@adacore.com> + + * lib.adb, make.adb, mlib.adb, exp_dist.adb: Update comments. + Minor reformatting. + +2009-07-13 Emmanuel Briot <briot@adacore.com> + + * prj-env.adb (Create_Config_Pragmas_File): Iterate on sources rather + than units. + +2009-07-13 Thomas Quinot <quinot@adacore.com> + + * sem_ch3.adb (Process_Full_View): Propagate Has_Specified_Stream_{Read, + Write,Input,Output} from private view to full view. + + * sem_type.adb, sem_type.ads: Minor reformatting + +2009-07-13 Nicolas Setton <setton@adacore.com> + + * exp_dbug.ads: Add documentation note on the utility of + DW_AT_GNAT_encoding for IDEs. + +2009-07-13 Robert Dewar <dewar@adacore.com> + + * g-socthi-vxworks.adb: Minor reformatting + + * gnatcmd.adb: Minor reformatting + +2009-07-13 Thomas Quinot <quinot@adacore.com> + + * rtsfind.ads, exp_dist.adb (RE_Allocate_Buffer): Runtime entry + removed, not used anymore. + (Exp_Dist.PolyORB_Support.Helpers.Assign_Opaque_From_Any): + New subprogram, implements copy of an Any value into a limited object. + (Exp_Dist.PolyORB_Support.Build_General_Calling_Stubs, + Exp_Dist.PolyORB_Support.Build_Subprogram_Receiving_Stubs, + Exp_Dist.PolyORB_Support.Helpers.Build_From_Any_Function): For the case + of parameters of a limited type, use the above new subprogram. + +2009-07-13 Emmanuel Briot <briot@adacore.com> + + * prj-nmsc.adb, prj-proc.adb, mlib.adb (Add_Source): new parameter + Location. + (Copy_ALI_Files): Avoid calls to read when pointing outside of the + allocated space. + (Error_Report): Remove global variable, replaced by parameters. + +2009-07-13 Thomas Quinot <quinot@adacore.com> + + * g-socthi-vxworks.adb (C_Sendto): VxWorks does not support the + standard sendto(2) interface for connected sockets (passing a null + destination address). Use send(2) instead for that case. + +2009-07-13 Pascal Obry <obry@adacore.com> + + * adaint.c: Fix __gnat_stat() with Win32 UNC paths. + +2009-07-13 Emmanuel Briot <briot@adacore.com> + + * prj-proc.adb, prj-proc.ads, prj.ads, prj-nmsc.adb, prj-nmsc.ads, + prj-pars.adb, prj-conf.adb, prj-conf.ads: Remove all remaining global + variables and tables in prj-nmsc.adb. + (Tree_Processing_Data): Renames Processing_Data, some new fields added + (Project_Processing_Data): New record + Simplify/unify check for missing sources. + +2009-07-13 Emmanuel Briot <briot@adacore.com> + + * gnatcmd.adb, make.adb, mlib-prj.adb, prj-part.adb, mlib.adb, + prj.adb, prj.ads, clean.adb, prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, + prj-pars.ads, prj-conf.adb, prj-conf.ads, prj-tree.adb, + prj-tree.ads (Immediate_Directory_Of): Removed. + (Prj.Pars): Now parse the project simulating a default config file. + (Add_Default_GNAT_Naming_Scheme): New subprogram + (Check_Naming_Multi_Lang): Fix default value for Dot_Replacement. + Remove gnatmake-specific parsing of source files. + (Check_Illegal_Suffix): Renames Is_Illegal_Suffix, since it now raises + the error itself to provide more precise diagnostics. + (Process_Exceptions_Unit_Based): Avoid duplicate error message when + a unit belongs to several projects. + (Copy_Interface_Sources): Search the full path of files to copy in the + list of sources of the application rather than in the list of units. + (Parse_Project_And_Apply_Config): Do not reset the name of the main + project file. + (Check_File): Use htables to find out whether a source is duplicated. + (Add_Source): check whether the source or unit were already seen earlier + + * gcc-interface/Makefile.in: Update gnatmake dependencies. + +2009-07-13 Robert Dewar <dewar@adacore.com> + + * par-ch3.adb (P_Discrete_Choice_List): Choice can only be simple + expression if extensions permitted. + + * par-ch4.adb (P_Membership_Test): New procedure (implement membership + set tests). + (P_Relation): Use P_Membership_Test + + * par.adb (P_Membership_Test): New procedure (implement membership set + tests). + + * sinfo.ads, sinfo.adb (N_In, N_Not_In) Add Alternatives field for sets. + + * sprint.adb (Sprint_Node): Handle set form for membership tests. + +2009-07-13 Thomas Quinot <quinot@adacore.com> + + * exp_dist.adb (Add_RACW_Primitive_Declarations_And_Bodies): + Do not attempt to generate stubs for predefined primitives of + synchronized interfaces. + (Add_Stub_Type): Factor some code from the PCS-specific variants of + Build_Stub_Type. + +2009-07-13 Ed Schonberg <schonberg@adacore.com> + + * sem_disp.adb (Override_Dispatching_Operation): Functions inherit the + Controlling_Result flag from the operation they override. + +2009-07-13 Arnaud Charlet <charlet@adacore.com> + + * gcc-interface/Make-lang.in: Update dependencies + +2009-07-13 Robert Dewar <dewar@adacore.com> + + * gnat_ugn.texi: The gnatf switch no longer is needed to get full + details on unsupported constructs. + + * rtsfind.adb: Remove references to All_Errors_Mode, give errors + unconditionally. + + * s-trafor-default.adb: Correct some warnings + + * s-valwch.adb, a-calend.adb, freeze.adb, prj.ads, s-vmexta.adb, + sem.adb, sem_ch10.adb, sem_ch6.adb, sem_disp.adb, vxaddr2line.adb: + Minor reformatting. + + * par-ch4.adb (Conditional_Expression): Capture proper location for + conditional expression, should point to IF. + + * s-tassta.adb, a-wtdeau.adb, s-tasren.adb, s-arit64.adb, s-imgdec.adb, + s-direio.adb, s-tpobop.adb, g-socket.adb, s-tposen.adb, s-taskin.adb, + g-calend.adb, s-regpat.adb, s-scaval.adb, g-catiio.adb: Minor code + reorganization (use conditional expressions). + +2009-07-13 Ed Schonberg <schonberg@adacore.com> + + * exp_util.adb (Remove_Side_Effects): If the expression is a call to a + build-in-place function that returns an inherently limited type (not + just a task type) create proper object declaration so that extra + build-in-place actuals are properly added to the call. + +2009-07-13 Robert Dewar <dewar@adacore.com> + + * freeze.adb (Freeze_Entity): Implement Warn_On_Suspicious_Modulus_Value + + * gnat_ugn.texi: Add documentation for -gnatw.m/.M + + * opt.ads (Warn_On_Suspicious_Modulus_Value): New flag + + * sem_warn.adb (Set_Dot_Warning_Flag): Set/reset + Warn_On_Suspicious_Modulus_Value. + + * ug_words: Add entries for -gnatw.m/-gnatw.M. + + * usage.adb: Add lines for -gnatw.m/.M switches. + + * vms_data.ads: Add [NO]SUSPICIOUS_MODULUS for -gnatw.m/w.M + +2009-07-13 Javier Miranda <miranda@adacore.com> + + * sem_ch6.adb (Check_Synchronized_Overriding): Add missing check before + reading the Is_Interface attribute of the dispatching type. + +2009-07-13 Robert Dewar <dewar@adacore.com> + + * a-convec.adb: Minor code reorganization (use conditional expressions) + +2009-07-13 Robert Dewar <dewar@adacore.com> + + * freeze.adb (Check_Suspicious_Modulus): New procedure. + +2009-07-13 Robert Dewar <dewar@adacore.com> + + * i-cobol.ads: Minor code fix (2**4 instead of 16 as modulus to avoid + warning). + + * par-ch4.adb: Minor reformatting + +2009-07-13 Ed Schonberg <schonberg@adacore.com> + + * freeze.adb, freeze.ads, exp_aggr.adb: Rename Expand_Atomic_Aggregate + => Is_Atomic_Aggregate + +2009-07-13 Emmanuel Briot <briot@adacore.com> + + * prj-nmsc.adb: Avoid traversing the list of source files if + we have already processed all locally removed files. + +2009-07-13 Jose Ruiz <ruiz@adacore.com> + + * gnat_ugn.texi: Fix typo. + +2009-07-13 Robert Dewar <dewar@adacore.com> + + * freeze.adb: Minor reformatting + Minor code reorganization (use Nkind_In) + + * exp_ch6.adb, prj.adb, sem_res.adb: Minor reformatting + +2009-07-11 Eric Botcazou <ebotcazou@adacore.com> + + * checks.adb (Apply_Address_Clause_Check): Remove Size_Warning_Output + local variable and do not test it in Compile_Time_Bad_Alignment. + Do not issue size or alignment warnings for the X'Address form. + * sem_util.ads (Find_Overlaid_Object): Delete. + (Find_Overlaid_Entity): New procedure. + * sem_util.adb (Find_Overlaid_Object): Rename to... + (Find_Overlaid_Entity): ...this and turn into a procedure. Report + whether the address is offseted within the overlaid entity. + (Has_Compatible_Alignment): Track the offset globally instead of + passing it to Check_Offset. For an indexed component, compute the + full offset when possible. If the resulting offset is zero, only + check the prefix. + (Check_Offset): Delete. + * sem_ch13.adb (Address_Clause_Check_Record): Add Off field. + (Address_Aliased_Entity): Delete. + (Analyze_Attribute_Definition_Clause) <Attribute_Address>: Call + Find_Overlaid_Entity to find the overlaid entity and the offset. + Adjust throughout for above change. + (Validate_Address_Clauses): Always use attributes of entities, not of + their type. Tweak message for warning. Call Has_Compatible_Alignment + if the address is offseted to warn about incompatible alignments. + * gcc-interface/gigi.h (annotate_object): Declare. + * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Annotate renaming + entity. Call annotate_object instead of annotating manually objects. + (annotate_object): New function. + * gcc-interface/trans.c (Subprogram_Body_to_gnu): Annotate parameters + at the end. + +2009-07-11 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/ada-tree.h: Minor reorganization. + * gcc-interface/misc.c (gnat_print_decl): Minor tweaks. + (gnat_print_type): Likewise. + +2009-07-11 Thomas Quinot <quinot@adacore.com> + + * sem_util.adb, sem_res.adb, sem_warn.adb: Minor comment editing: + Lvalue -> lvalue + + * exp_ch6.adb: Minor reformatting + +2009-07-11 Ed Schonberg <schonberg@adacore.com> + + * freeze.adb (Expand_Atomic_Aggregate): Clean up code, take into + account possible type qualification to determine whether aggregate + needs a target temporary to respect atomic type or object. + + * exp_aggr.adb (Expand_Record_Aggregate): Use new version of + Expand_Atomic_Aggregate. + +2009-07-11 Emmanuel Briot <briot@adacore.com> + + * prj.adb, prj.ads, prj-nmsc.adb (Mark_Excluded_Sources): Speed up + algorithm. + (Excluded_Sources_Htable): No longer a global table. + Change error message to indicate which files are illegal in the list + of excluded files, as opposed to only the location in the project + file. + (Find_Source): New subprogram. + +2009-07-10 Thomas Quinot <quinot@adacore.com> + + * exp_ch7.adb: Update comments. + +2009-07-10 Arnaud Charlet <charlet@adacore.com> + + * exp_ch13.adb (Expand_N_Record_Representation_Clause): Ignore mod + clause if -gnatI is set instead of crashing. + +2009-07-10 Ed Schonberg <schonberg@adacore.com> + + * sem_ch11.adb (Same_Expression): Null is always equal to itself. + Additional work to remove redundant successive raise statements, in + this case access checks. + +2009-07-10 Vincent Celier <celier@adacore.com> + + * make.adb (Compile): Always create a deep copy of the mapping file + argument (-gnatem=...) as it may be deallocate/reallocate by + Normalize_Arguments. + +2009-07-10 Javier Miranda <miranda@adacore.com> + + * einfo.adb (Directly_Designated_Type): Add assertion. + + * sem_res.adb (Check_Fully_Declared_Prefix): Add missing check on + access types before using attribute Directly_Designated_Type. + +2009-07-10 Emmanuel Briot <briot@adacore.com> + + * prj.ads: Minor typo fix + +2009-07-10 Ed Schonberg <schonberg@adacore.com> + + * sem_ch6.adb (Add_Extra_Formal): Protected operations do no need + special treatment. + + * exp_ch6.adb (Expand_Protected_Subprogram_Call): If rewritten + subprogram is a function call, resolve properly, to ensure that extra + actuals are added as needed. + +2009-07-10 Thomas Quinot <quinot@adacore.com> + + * sem_aggr.adb: Minor comments editing + + * exp_tss.adb, exp_ch3.adb: Minor reformatting + +2009-07-10 Robert Dewar <dewar@adacore.com> + + * exp_util.adb: Minor code reorganization (use N_Short_Circuit) + + * exp_ch4.adb: Add ??? comment for conditional expressions on limited + types. + + * checks.adb (In_Declarative_Region_Of_Subprogram_Body): New procedure, + replaces Safe_To_Capture_In_Parameter_Value, and properly handles the + case of conditional expressions that may not be elaborated. + + * sem_util.adb (Safe_To_Capture_Value): Properly handle case of + conditional expression where we may not execute then then or else + branches. + +2009-07-10 Arnaud Charlet <charlet@adacore.com> + + * i-cexten.ads (bool): New type. + +2009-07-10 Robert Dewar <dewar@adacore.com> + + * sinfo.ads (N_Short_Circuit): New definition + + * sem_ch13.adb, sem_ch6.adb, sem_eval.adb, sem_res.adb, + treepr.adb: Minor code reorganization (use N_Short_Circuit) + +2009-07-10 Javier Miranda <miranda@adacore.com> + + * exp_ch3.adb (Expand_Freeze_Record_Type): Handle constructors of + non-tagged record types. + + * sem_prag.adb + (Process_Import_Or_Interface): Allow the use of "pragma Import (CPP,..)" + with non-tagged types. Required to import C++ classes that have no + virtual primitives. + (Analyze_Pragma): For pragma CPP_Constructor. Allow the use of functions + returning non-tagged types. For backward compatibility, if the + constructor returns a class wide type we internally change the + returned type to the corresponding non class-wide type. + + * sem_aggr.adb + (Valid_Ancestor_Type): CPP_Constructors code cleanup. + (Resolve_Extension_Aggregate): CPP_Constructors code cleanup. + (Resolve_Aggr_Expr): CPP_Constructors code cleanup. + (Resolve_Record_Aggregate): CPP_Constructors code cleanup. + + * sem_ch3.adb + (Analyze_Object_Declaration): CPP_Constructors code cleanup. + + * sem_ch5.adb (Analyze_Assignment): CPP_Constructors code cleanup. + + * sem_util.adb (Is_CPP_Constructor_Call): Code cleanup. + + * sem_res.adb (Resolve_Allocator): CPP_Constructors code cleanup. + + * exp_ch4.adb (Expand_Allocator_Expression): CPP_Constructors code + cleanup. + + * exp_aggr.adb (Build_Record_Aggr_Code): CPP_Constructors code clean up. + + * gnat_rm.texi + (pragma CPP_Class): Document that it can be used now with non-tagged + record types. + (pragma CPP_Constructor): Document that it can be used now with + functions returning specific types. For backward compatibility + we also support functions returning class-wide types. + + * gnat_ugn.texi + (Interfacing with C++ constructors): Update the examples to incorporate + the new syntax in which the functions used to import C++ constructors + return specific types. + (Interfacing with C++ at the Class Level): Update the examples to + incorporate the new syntax in which the functions used to import + C++ constructors return specific types. + +2009-07-10 Thomas Quinot <quinot@adacore.com> + + * exp_disp.adb (Make_Disp_Asynchronous_Select_Body, + Make_Disp_Conditional_Select_Body, + Make_Disp_Timed_Select_Body): For the case of a type that is neither an + interface nor a concurrent type, the primitive body is empty. Generate + a null statement so that it remains well formed. + +2009-07-10 Ed Schonberg <schonberg@adacore.com> + + * exp_aggr.adb (Build_Record_Aggr_Code): If the type has discriminants, + replace references to them in defaulted component expressions with + references to the values of the discriminants of the target object. + +2009-07-10 Ed Schonberg <schonberg@adacore.com> + + * sem_prag.adb (Analyze pragma, case Task_Name): Analyze argument of + pragma, to capture global references if the context is generic. + + * exp_ch2.adb (Expand_Discriminant): If a task type discriminant + appears within the initialization procedure for the corresponding + record, replace it with the proper discriminal. + +2009-07-10 Vincent Celier <celier@adacore.com> + + * make.adb: Do not include object directories or library ALI + directories of library projects in the object path. + +2009-07-10 Javier Miranda <miranda@adacore.com> + + * exp_util.adb (Find_Interface_Tag): Reorder processing of incoming + Typ argument to ensure proper management of access types. + +2009-07-10 Ed Schonberg <schonberg@adacore.com> + + * exp_ch7.adb (Build_Final_List): If the list is being built for a + Taft-Amendment type, place the finalization list in the package body, + to ensure that the tree for the spec is identical whenever it is + compiled. + +2009-07-10 Javier Miranda <miranda@adacore.com> + + * sem_ch3.adb (Build_Derived_Record_Type): Use the full-view when + inheriting attributes from a private Parent_Base. + +2009-07-10 Ed Schonberg <schonberg@adacore.com> + + * sem_ch11.adb (analyze_raise_xxx_error): Remove consecutive raise + statements with the same condition. + +2009-07-10 Robert Dewar <dewar@adacore.com> + + * exp_ch4.adb (Raise_Accessibility_Error): New procedure + +2009-07-09 Tom Tromey <tromey@redhat.com> + + * raise-gcc.c: Include dwarf2h (unconditionally). + +2009-07-09 Ed Schonberg <schonberg@adacore.com> + + * sem_ch10.adb (Install_Context): If the unit is a package body, + install the private with_clauses of the corresponding package + declaration. + +2009-07-09 Robert Dewar <dewar@adacore.com> + + * checks.adb: Minor reformatting + +2009-07-09 Vasiliy Fofanov <fofanov@adacore.com> + + * ug_words, gnat_ugn.texi: Move VMS equivalents of the last check in + into ug_words. + +2009-07-09 Thomas Quinot <quinot@adacore.com> + + * sem_ch13.adb (Analyze_Attribute_Definition_Clause, case Address): + Do not warn for a constant overlaying any constant object + +2009-07-09 Ed Schonberg <schonberg@adacore.com> + + * sem_ch10.adb (Install_Context): If the unit is a package body, + install the private with_clauses of the corresponding package + declaration. + +2009-07-09 Robert Dewar <dewar@adacore.com> + + * checks.adb: Minor reformatting + +2009-07-09 Vasiliy Fofanov <fofanov@adacore.com> + + * ug_words, gnat_ugn.texi: Move VMS equivalents of the last check in + into ug_words. + +2009-07-09 Thomas Quinot <quinot@adacore.com> + + * sem_ch13.adb (Analyze_Attribute_Definition_Clause, case Address): + Do not warn for a constant overlaying any constant object + +2009-07-09 Arnaud Charlet <charlet@adacore.com> + + * gcc-interface/Make-lang.in: Update dependencies + +2009-07-09 Thomas Quinot <quinot@adacore.com> + + * g-socket.adb (Check_Selector): Do not create local copies of the + socket sets on the stack. + +2009-07-09 Vasiliy Fofanov <fofanov@adacore.com> + + * gnat_ugn.texi: Add missing VMS translations. + +2009-07-09 Ed Schonberg <schonberg@adacore.com> + + * sem_prag.adb (Analyze_Pragma, case Precondition): Do not analyze the + condition, to prevent generation of visible code during expansion, + when Check is not enabled. + +2009-07-09 Gary Dismukes <dismukes@adacore.com> + + * checks.adb (Install_Static_Check): Call Possible_Local_Raise so that + the check gets registered for any available local handler + (Set_Local_Raise). + + * sem_util.adb: Add with and use of Exp_Ch11. + (Apply_Compile_Time_Constraint_Error): Call Possible_Local_Raise so + that the check gets registered for any available local handler. + + * exp_ch4.adb (Expand_N_Slice): Remove call to Enable_Range_Check + on slice ranges. + +2009-07-09 Steve Baird <baird@adacore.com> + + * exp_ch11.adb (Force_Static_Allocation_Of_Referenced_Objects): New + function. + (Expand_N_Exception_Declaration): Fix handling of exceptions + declared in a subprogram. + +2009-07-09 Emmanuel Briot <briot@adacore.com> + + * prj-nmsc.adb (Find_Sources): Avoid error messages from gprbuild from + multi-unit files. + +2009-07-09 Thomas Quinot <quinot@adacore.com> + + * freeze.adb: Minor reformatting + + * exp_ch3.adb: Minor comment fix. + + * sinfo.ads: Minor comment fix + +2009-07-09 Ed Schonberg <schonberg@adacore.com> + + * exp_ch4.adb (Expand_N_Conditional_Expression): Set Related_Expression. + +2009-07-09 Ed Schonberg <schonberg@adacore.com> + + * freeze.adb (Freeze_Expression): If the expression is the name of a + function in a call, and the function has not been frozen yet, create + extra formals for it to ensure that the proper actuals are created + when expanding the call. + +2009-07-09 Emmanuel Briot <briot@adacore.com> + + * prj-pp.adb (Print): Fix handling of source index when set on a + declaration node. + +2009-07-09 Ed Schonberg <schonberg@adacore.com> + + * einfo.ads, einfo.adb: New attribute Related_Expression, used to link + a temporary to the source expression whose value it captures. + + * exp_util.adb (Remove_Side_Effects): Set Related_Expression as needed. + +2009-07-07 Manuel López-Ibáñez <manu@gcc.gnu.org> + + * gcc-interface/trans.c (gnat_gimplify_expr): Replace EXPR_LOCUS by + EXPR_LOCATION. + +2009-07-07 Gary Dismukes <dismukes@adacore.com> + + * exp_ch6.adb (Expand_Actuals): Call Add_Call_By_Copy_Code for in out + parameters when the subtype of the actual is not known to be a subrange + of the formal's subtype. + (Expand_Call): Generate a range check only in the E_In_parameter case + (in out parameter range checks are now handled in Expand_Actuals). + + * exp_ch4.adb (Expand_N_Slice): Restore code that calls + Enable_Range_Check. + +2009-07-07 Robert Dewar <dewar@adacore.com> + + * a-stwise.adb, a-stzsea.adb, a-strsea.adb: Add comments + +2009-07-07 Javier Miranda <miranda@adacore.com> + + * exp_disp.adb (Expand_Interface_Conversion): Handle access type whose + designated type comes from a limited views. + +2009-07-07 Emmanuel Briot <briot@adacore.com> + + * prj.ads, prj-nmsc.adb (Mark_Excluded_Sources): Fix handling of + locally removed files that are later made visible again in an importing + project. + +2009-07-07 Robert Dewar <dewar@adacore.com> + + * gnat_rm.texi: Clarify documentation of Stream_Convert pragma + +2009-07-07 Sergey Rybin <rybin@adacore.com> + + * gnat_ugn.texi: Add an example to the description of gnatcheck + 'Style_Checks' rule option. + +2009-07-07 Tristan Gingold <gingold@adacore.com> + + * seh_init.c: Fix inline assembly statement in seh_init.c + +2009-07-07 Ed Schonberg <schonberg@adacore.com> + + * sem_warn.adb (Check_References): Do not emit warnings on formals of + an entry body. Only the formals of the entry declaration are traced. + +2009-07-07 Robert Dewar <dewar@adacore.com> + + * s-osprim-mingw.adb: Minor code reorganization + +2009-07-07 Robert Dewar <dewar@adacore.com> + + * prj-nmsc.adb: Minor reformatting + +2009-07-07 Pascal Obry <obry@adacore.com> + + * a-stwise.adb, a-stzsea.adb, a-strsea.adb (Index): properly handle + cases where Pattern is longer than Source. + +2009-07-07 Pascal Obry <obry@adacore.com> + + * s-osprim-mingw.adb (Get_Base_Time): Avoid infinite loop. + +2009-07-07 Emmanuel Briot <briot@adacore.com> + + * prj-nmsc.adb (Process_Naming): canonicalize file suffixes read in the + project file. + +2009-07-07 Ed Schonberg <schonberg@adacore.com> + + * exp_ch3.adb (Expand_Freeze_Record_Type): Add extra formals to + primitive operations, in case one of them is called in the + initialization procedure for the type. + +2009-07-07 Robert Dewar <dewar@adacore.com> + + * a-calend.adb: Minor code reorganization (use conditional expressions) + + * s-stusta.ads, s-interr-hwint.adb, g-expect-vms.adb, s-secsta.ads, + prj-nmsc.adb, a-teioed.adb, output.ads, prj-attr.ads, a-textio.adb, + s-taskin.ads, scans.ads, s-osinte-vms.adb, s-taprop-solaris.adb, + s-tpopsp-posix-foreign.adb, s-trafor-default.adb, gnat1drv.adb, + s-stchop-vxworks.adb, s-tpopsp-posix.adb, prj-env.adb, prj-env.ads, + g-comlin.adb, exp_ch11.adb: Minor reformatting. + +2009-07-07 Gary Dismukes <dismukes@adacore.com> + + * checks.adb (Generate_Range_Check): Replace type conversions with + unchecked conversions to support the case of performing range checks + on Enum'Val (permits integer values to be converted to enumeration). + + * exp_attr.adb (Expand_N_Attribute_Reference, cases Attribute_Pred, + Attribute_Succ): Set Do_Range_Check to False before calling + Expand_Pred_Succ, to prevent gigi from generating any range checks. + (Expand_N_Attribute_Reference, case Attribute_Val): + Generate a range check when needed (and set Do_Range_Check to False). + + * exp_ch3.adb (Expand_N_Object_Declaration): Generate a range check on + scalar object initialization if needed. + + * exp_ch4.adb (Expand_Allocator_Expression): Generate range checks + when needed on scalar allocators. + (Expand_N_Qualified_Expression): Generate range check when needed. + (Expand_N_Slice): Remove call to Enable_Range_Check on slice ranges. + Checks on slice ranges handled in Resolve_Slice. + + * exp_ch5.adb (Expand_N_Assignment_Statement): Generate a range check, + when needed, for all scalar assignments, not just discrete. + (Expand_Simple_Function_Return): Resolve the conversion created for a + scalar function return so that the conversion will get expanded to + generate a possible constraint check. + + * exp_ch6.adb (Expand_Actuals): Call Add_Call_By_Copy_Code for out and + in out scalar actuals when subtypes don't match, to ensure generation + of return checks (and set Do_Range_Check to False). + (Expand_Call): Uncomment code to perform range checks, but make it apply + only to in and in out parameters (checks on parameter returns are + handled in Expand_Actuals). If a scalar actual for a call to a derived + subprogram is marked as needing a range check, peform it here (and set + Do_Range_Check to False). + + * sem_aggr.adb (Resolve_*_Aggregate.Resolve_Aggr_Expr): Generate a + range check on scalar component associations when needed. + + * sem_eval.adb (In_Subrange_Of): Return False when the first type has + infinities but the second type does not, as these aren't compatible + floating-point types. + + * sem_res.adb (Resolve_Slice): In the case where the prefix of the + slice is itself a slice, pick up the Etype of the prefix. This handles + the case where the prefix was an Image attribute expanded to a slice, + and ensures that we get the subtype with the slice constraint rather + than the unconstrained subbtype of the 'Image. + +2009-07-07 Ed Schonberg <schonberg@adacore.com> + + * sem_ch4.adb (Analyze_Conditional_Expression): handle properly + overloaded expressions in a conditional expressions. + + * sem_res.adb (Resolve): Handle properly overloaded conditional + expressions. + +2009-07-07 Robert Dewar <dewar@adacore.com> + + * scng.adb: Minor reformattting + + * par-ch2.adb (Scan_Pragma_Argument_Association): Pragma argument + association allows conditional expression without parens. + + * par-ch4.adb (P_Name): Attribute arguments can be conditional + expressions without enclosing parentheses, and also as parameters, + indexing expressions etc. + (P_Conditional_Expression): New procedure + (P_Expression_If_OK): New procedure + + * par.adb (P_Conditional_Expression): New procedure + (P_Expression_If_OK): New procedure + + * sem_ch4.adb (Analyze_Conditional_Expression): Allow for two argument + form of conditional expression. + + * sem_res.adb (Resolve_Conditional_Expression): Deal with supplying + missing True argument if ELSE argument missing. + + * sinfo.adb (Is_Elsif): New flag + + * sinfo.ads (N_Conditional_Expression): This node is now a syntactic + part of the language, and the documentation is modified accordingly. + (Is_Elsif): New flag + +2009-07-06 Olivier Hainque <hainque@adacore.com> + + * gcc-interface/trans.c (Handled_Sequence_Of_Statements_to_gnu, + setjmp_longjmp): Attach the exception propagation reraise fallback + to the sequence end label location when we have it. + +2009-07-04 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + + PR ada/40608 + * init.c (APPLE): Include <mach/mach_init.h>. + (__gnat_error_handler, APPLE): Add ATTRIBUTE_UNUSED marker. + +2009-07-04 Eric Botcazou <ebotcazou@adacore.com> + + * ada-tree.h (SET_TYPE_LANG_SPECIFIC): Rewrite. + (SET_DECL_LANG_SPECIFIC): Likewise. + (TYPE_RM_VALUE): New macro. + (SET_TYPE_RM_VALUE): Likewise. + (TYPE_RM_SIZE): Rewrite in terms of TYPE_RM_VALUE. + (TYPE_RM_MIN_VALUE): Likewise. + (TYPE_RM_MAX_VALUE): Likewise. + (SET_TYPE_RM_SIZE): Rewrite in terms of SET_TYPE_RM_VALUE. + (SET_TYPE_RM_MIN_VALUE): Likewise. + (SET_TYPE_RM_MAX_VALUE): Likewise. + * decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Remove kludge. + +2009-07-04 Laurent GUERBY <laurent@guerby.net> + + PR ada/40631 + * tracebak.c (__gnat_backtrace): Fix old-style definition. + +2009-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> + + * tracebak.c [i386 && sun] (IS_BAD_PTR): Use -1UL in comparison. + +2009-07-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + PR ada/40609 + * init.c (__gnat_error_handler, HP-UX): Add ATTRIBUTE_UNUSED marker to + ucontext argument. + +2009-07-01 Eric Botcazou <ebotcazou@adacore.com> + + * init.c (__gnat_error_handler, Solaris): Add ATTRIBUTE_UNUSED marker. + +2009-06-30 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/utils2.c (build_binary_op) <MODIFY_EXPR>: Do not use + the type of the left operand if it pads a self-referential type when + the right operand is a constructor. + + * gcc-interface/lang-specs.h: Fix copyright date. + +2009-06-30 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c: Include tree-inline.h. + (annotate_value) <CALL_EXPR>: Try to inline the call in the expression. + * gcc-interface/utils.c (max_size) <CALL_EXPR>: Likewise. + * gcc-interface/utils2.c: Include tree-inline. + (known_alignment) <CALL_EXPR>: Likewise. + +2009-06-30 Eric Botcazou <ebotcazou@adacore.com> + + * raise-gcc.c: Include dwarf2.h conditionally. + +2009-06-29 Tom Tromey <tromey@redhat.com> + + * raise-gcc.c: Include elf/dwarf2.h. + +2009-06-27 Laurent GUERBY <laurent@guerby.net> + + * tb-gcc.c (trace_callback): Add casts to silence warning. + +2009-06-27 Eric Botcazou <ebotcazou@adacore.com> + + * tb-gcc.c: Fix copyright notice. + +2009-06-27 Eric Botcazou <ebotcazou@adacore.com> + + * init.c (__gnat_set_globals): Add prototype. + * adaint.c (__gnat_binder_supports_auto_init): Likewise. + (__gnat_sals_init_using_constructors): Likewise. + * gcc-interface/utils.c (gnat_pushlevel): Likewise. + (get_block_jmpbuf_decl): Likewise. + (gnat_poplevel): Likewise. + (merge_sizes): Rename local variable. + (copy_type): Likewise. + (build_vms_descriptor32): Likewise. + (build_vms_descriptor): Likewise. + (convert_vms_descriptor64): Likewise. + (convert_vms_descriptor32): Likewise. + (convert_to_fat_pointer): Likewise. + (maybe_unconstrained_array): Likewise. + (def_fn_type): Use promoted type with va_arg. + * gcc-interface/decl.c (gnat_to_gnu_entity): Add declaration. + (substitute_in_type): Rename local variable. + * gcc-interface/Make-lang.in (ada-warn): Use STRICT_WARN. + +2009-06-26 Laurent GUERBY <laurent@guerby.net> + + * tb-gcc.c (trace_callback): Use char* instead of void*. + * gcc-interface/misc.c (enumerate_modes): Make loop C++ compatible. + * gcc-interface/trans.c (parm_attr): Rename to parm_attr_d. + (Attribute_to_gnu): Adjust for above change. + (Subprogram_Body_to_gnu): Likewise. + * gcc-interface/utils.c (merge_sizes): Rename local variable. + (copy_type): Likewise. + (build_vms_descriptor32): Likewise. + (build_vms_descriptor): Likewise. + (convert_vms_descriptor64): Likewise. + (convert_vms_descriptor32): Likewise. + (convert_to_fat_pointer): Likewise. + (maybe_unconstrained_array): Likewise. + * gcc-interface/decl.c (substitute_in_type): Likewise. + +2009-06-26 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (cannot_be_superflat_p): New predicate. + (gnat_to_gnu_entity) <E_Array_Subtype>: Use it to build the expression + of the upper bound of the index types. + +2009-06-26 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Factor + out common predicate. Use the maximum to compute the upper bound of + the index type only when it is not wider than sizetype. Perform the + comparison in the index type for the generic expression. Use real + precision to decide whether to generate special types for debugging + information. + +2009-06-26 Matthew Gingell <gingell@adacore.com> + + * adaint.c: Do not use the dummy version of convert_addresses on LynxOS + +2009-06-26 Vincent Celier <celier@adacore.com> + + * prj.ads (No_Language_Config): Value of Dependency_Kind is None by + default. + +2009-06-26 Robert Dewar <dewar@adacore.com> + + * exp_ch4.adb, gnatcmd.adb, make.adb: Minor reformatting + +2009-06-26 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Pass + correct arguments to create_field_decl. Remove redundant iteration. + Rewrite computation of the maximum size. + <E_Array_Subtype>: Reorder and simplify handling of special cases. + Rewrite computation of the maximum size. Use consistent naming. + * gcc-interface/trans.c (Attribute_to_gnu) <Attr_Length>: Swap + comparison order for consistency. Use generic integer node to + build the operator and fold the result. + +2009-06-25 Vincent Celier <celier@adacore.com> + + * vms_data.ads: Minor comment change + +2009-06-25 Gary Dismukes <dismukes@adacore.com> + + * exp_ch5.adb (Expand_N_Extended_Return_Statement): Don't build an + assignment statement to targeting a caller-provided object when the + result type is an interface type. + + * exp_ch6.adb (Expand_Call): Remove redundant test of + Is_Limited_Interface (Is_Inherently_Limited is sufficient). + (Is_Build_In_Place_Function): Remove test for Is_Limited_Interface. + + * sem_aggr.adb (Check_Expr_OK_In_Limited_Aggregate): Add type in call + to OK_For_Limited_Init. + + * sem_aux.adb (Is_Inherently_Limited_Type): Revise limited type + condition so that True is returned for all limited interfaces, not + just synchronized ones. Ignore components of an interface type when + checking for limited components (such a component can be a parent + component). + + * sem_ch3.ads (OK_For_Limited_Init_In_05): Add type parameter. + (OK_For_Limited_Init): Add type parameter. + + * sem_ch3.adb (Check_Initialization): Add type in call to + OK_For_Limited_Init. + (OK_For_Limited_Init): Add new type param in call to + OK_For_Limited_Init_In_05. + (OK_For_Limited_Init_In_05): Permit arbitrary expressions of a + nonlimited type when the context type is a limited interface. Add type + on recursive calls. + + * sem_ch4.adb (Analyze_Allocator): Add type in call to + OK_For_Limited_Init. + + * sem_ch6.adb (Check_Limited_Return): Add type in call to + OK_For_Limited_Init. + + * sem_ch12.adb (Analyze_Formal_Object_Declaration): Add type in call to + OK_For_Limited_Init. + (Instantiate_Object): Add type in call to OK_For_Limited_Init. + + * sem_type.adb (Interface_Present_In_Ancestor): In the case of a + class-wide interface, get the base type before applying Etype, in order + to account for class-wide subtypes. + +2009-06-25 Emmanuel Briot <briot@adacore.com> + + * gnatcmd.adb, prj-proc.adb, make.adb, prj.adb, prj.ads, prj-nmsc.adb, + prj-util.adb, prj-env.adb, prj-env.ads: Merge handling of naming_data + between gnatmake and gprbuild. + (Naming_Data): Removed, no longer used + (Naming_Table, Project_Tree_Ref.Namings): Removed, since this is only + needed locally in one subprogram, no need to store forever in the + structure. + (Check_Naming_Scheme, Check_Package_Naming): Merged, since they play + a similar role. + (Body_Suffix_Of, Body_Suffix_Id_Of, Register_Default_Naming_Scheme, + Same_Naming_Scheme, Set_Body_Suffix, Set_Spec_Suffix, Spec_Suffix_Of, + Spec_Suffix_Id_Of): removed, no longer used. + +2009-06-25 Javier Miranda <miranda@adacore.com> + + * sem_res.adb (Resolve_Allocator): Skip test requiring exact match of + types on qualified expression in calls to imported C++ constructors. + + * exp_ch4.adb (Expand_Allocator_Expression): Add missing support for + imported C++ constructors. + +2009-06-25 Sergey Rybin <rybin@adacore.com> + + * vms_data.ads: Add qualifier for new gnatcheck '-t' option. + +2009-06-25 Vincent Celier <celier@adacore.com> + + * s-os_lib.adb (Normalize_Pathname.Get_Directory): If directory + provided, on Windows change all '/' to '\'. + + * fmap.ads, fmap.adb (Remove_Forbidden_File_Name): Remove, no longer + used. Minor comment changes + + * prj-nmsc.adb: Do not call Fmap.Add_Forbidden_File_Name or + Remove_Forbidden_File_Name. + +2009-06-25 Quentin Ochem <ochem@adacore.com> + + * prj.ads (Unit_Index): Now general access type. + +2009-06-25 Pascal Obry <obry@adacore.com> + + * a-stwise.adb, a-stzsea.adb: Fix confusion between 'Length and 'Last. + +2009-06-25 Emmanuel Briot <briot@adacore.com> + + * fmap.ads, make.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb, + prj-env.ads (Source_Data.Get_Object): Field removed, since it can be + computed efficiently from the other fields. + (Object_To_Global_Archive): New subprogram + (Create_Mapping): Remove unneeded call to Remove_Forbidden_File_Name. + (Override_Kind): Fix handling of separates in Ada. + (Create_Mapping_File): Remove duplicate code + (Naming_Data.Implementation_Exception, Specification_Exception): + field removed, since never used. + (Naming_Data.Specs, .Bodies): field removed, since this is only + used while processing the project and is not needed once the tree + is in memory. This brings Naming_Data and Lang_Naming_Data + closer (same content now, but different use still). + +2009-06-25 Pascal Obry <obry@adacore.com> + + * sem_ch4.adb: Minor reformatting. + + * a-strsea.adb: Fix confusion between 'Length and 'Last. + +2009-06-25 Ed Schonberg <schonberg@adacore.com> + + * exp_attr.adb (Expand_N_Attribute_Reference, case 'Access and + Unchecked_Access): If the context is an interface type, and the prefix + is of the corresponding class-wide type, do not insert a conversion + because the pointer displacement has already taken place, and we must + retain the class-wide type in a dispatching context. + +2009-06-25 Emmanuel Briot <briot@adacore.com> + + * prj-nmsc.adb, prj-env.adb (Override_Kind): Unset the unit field of + the previous source file. + (Create_Mapping): Iterate on sources rather than on units. + +2009-06-25 Emmanuel Briot <briot@adacore.com> + + * gnatcmd.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, prj-nmsc.adb, + prj-env.adb, prj-env.ads (Slash): removed, no longer used + (Source_Data): no longer use Path.Name to point to a locally removed + file. Instead we use the field Locally_Removed which is clearer + +2009-06-25 Arnaud Charlet <charlet@adacore.com> + + * gcc-interface/Make-lang.in: Remove references to sem_maps.o + + * sem_maps.adb, sem_maps.ads: Removed, not used. + +2009-06-25 Ed Falis <falis@adacore.com> + + * s-vxwext-rtp.ads: Add missing declaration + +2009-06-25 Matthew Gingell <gingell@adacore.com> + + * a-stwise.adb, a-stzsea.adb (Count, Index): Avoid local copy on stack, + speed up unmapped case. + +2009-06-25 Vincent Celier <celier@adacore.com> + + * prj-nmsc.adb (Check): Change error message for illegal abstract + projects. + +2009-06-25 Robert Dewar <dewar@adacore.com> + + * gnat_ugn.texi: Add note on use of -gnatct for ASIS + +2009-06-25 Emmanuel Briot <briot@adacore.com> + + * fmap.ads: Add documentation on mapping files + +2009-06-25 Robert Dewar <dewar@adacore.com> + + * exp_ch6.adb, g-socket.ads, g-socket.adb, sem_ch3.adb: Minor + reformatting + +2009-06-24 Robert Dewar <dewar@adacore.com> + + * prj-nmsc.adb, prj-nmsc.ads, prj-proc.adb, prj.adb: Minor reformatting + + * a-strsea.adb (Count): Avoid local copy on stack, speed up unmapped + case. + (Index): Ditto. + +2009-06-24 Ed Schonberg <schonberg@adacore.com> + + * sem_ch4.adb (Analyze_One_Call): Check that at least one actual is + present when checking whether a call may be interpreted as an indexing + of the result of a call. + + * exp_ch9.adb (Expand_N_Subprogram_Declaration): Place the generated + body for a null procedure on the freeze actions for the procedure, so + that it will be analyzed at the proper place without premature freezing + of actuals. + + * sem_ch3.adb (Check_Completion): Code cleanup. + Do not diagnose a null procedure without a body, if previous errors + have disabled expansion. + +2009-06-24 Doug Rupp <rupp@adacore.com> + + * init.c [VMS] Resignal C$_SIGKILL + +2009-06-24 Ed Falis <falis@adacore.com> + + * s-vxwext.adb, s-vxwext-kernel.adb: Add s-vxwext body for VxWorks 5 + Define ERROR in body for VxWorks 6 kernel + +2009-06-24 Pascal Obry <obry@adacore.com> + + * g-socket.adb, g-socket.ads: Fix possible unexpected constraint error + in [Send/Receive]_Socket. + +2009-06-24 Emmanuel Briot <briot@adacore.com> + + * prj-proc.adb, prj-proc.ads, prj.ads, prj-nmsc.adb, prj-nmsc.ads, + prj-conf.adb, prj-conf.ads (Allow_Duplicate_Basenames): New parameter + to several subprograms. + (Source_Data.Other_Part): Removed, since can be computed from the + language. + (Other_Part): New subprogram. + +2009-06-24 Emmanuel Briot <briot@adacore.com> + + * gnat_ugn.texi, prj-nmsc.adb (Suffix_Matches): A suffix can also match + the full base name of the file when the suffix doesn't start with a '.'. + +2009-06-24 Vincent Celier <celier@adacore.com> + + * prj-nmsc.adb (Check): A project declared abstract is legal if no + attribute Source_Dirs, Source_Files, Source_List_File or Languages is + declared. + +2009-06-24 Robert Dewar <dewar@adacore.com> + + * clean.adb, gnatcmd.adb, make.adb, mlib-prj.adb, + prj-env.adb: Minor reformatting + +2009-06-24 Ed Falis <falis@adacore.com> + + * s-taprop-vxworks.adb, s-osinte-vxworks.ads, s-vxwext.ads, + s-vxwext-kernel.adb, s-vxwext-kernel.ads, s-vxwext-rtp.adb, + s-tasinf-vxworks.ads, gcc-interface/Makefile.in: Add processor affinity + support for VxWorks SMP. + + * gcc-interface/Make-lang.in: Update dependencies + +2009-06-24 Emmanuel Briot <briot@adacore.com> + + * gnatcmd.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, clean.adb, + prj-nmsc.adb, prj-env.adb, prj-proc.adb (Units_Table): Removed, since + no longer useful. + (Source_Data.Lang_Kind): Removed, since it duplicates information + already available through Language.Config. + (Source_Data.Compile): Removed, since information is already available + through the language. + (Is_Compilable): New subprogram. + (Source_Data.Dependency): Removed, since already available through + the language. + (Source_Data.Object_Exist, Object_Linked): Removed since available + through the language already. + (Unit_Data.File_Names): Is now also set in multi_language mode, to + bring the two modes closer in the resulting data structures. + (Source_Data.Unit): Now a direct pointer to the unit data, rather than + just the name that would point into a hash table. + (Get_Language_From_Name): New subprogram. + +2009-06-24 Javier Miranda <miranda@adacore.com> + + * exp_ch4.adb (Expand_N_Type_Conversion): Handle entities that are + visible through limited-with context clauses. In addition, avoid an + extra tag check that is not required when the class-wide + designated types of the operand and target types are + the same entity. + (Tagged_Membership): Handle entities from the limited view. + +2009-06-24 Emmanuel Briot <briot@adacore.com> + + * gnatcmd.adb, make.adb, mlib-prj.adb, prj.ads, clean.adb, + prj-nmsc.adb, prj-env.adb (File_Name_Data): removed + (Spec_Or_Body): now a subtype of Source_Kind, to avoid using two + different vocabularies for similar concepts (Impl/Body_Part and + Spec/Specification). + (Unit_Data): now points directly to a Source_Id, rather than duplicating + some of the information in File_Name_Data. This also saves a bit of + memory. However, since we are now using a pointer we need to test + for null explicitly in several places of the code + +2009-06-24 Javier Miranda <miranda@adacore.com> + + * exp_ch4.adb (Expand_N_Type_Conversion): return immediately + from processing the type conversion when the node is + replaced by an N_Raise_Program_Error node. + +2009-06-24 Hristian Kirtchev <kirtchev@adacore.com> + + * sem_ch6.adb (Designates_From_With_Type): New routine. + (Process_Formals): Since anonymous access types are no longer flagged + as from with types, traverse the designated type to determine whether + it is coming from a limited view. + + * sem_res.adb: Remove with and use clauses for Sem_Ch10. + (Full_Designated_Type): Use Available_View to extract the non-limited / + full view of a type. + +2009-06-24 Robert Dewar <dewar@adacore.com> + + * exp_ch6.adb: Minor reformatting + + * layout.adb: Minor reformatting + + * make.adb: Minor reformatting + +2009-06-24 Thomas Quinot <quinot@adacore.com> + + * sem_ch10.adb: Minor code reorganization. + +2009-06-24 Eric Botcazou <ebotcazou@adacore.com> + + * ttypes.ads: Minor editing. + +2009-06-24 Robert Dewar <dewar@adacore.com> + + * exp_ch6.adb (Expand_Actuals): Use Is_Volatile, not Treat_As_Volatile + in deciding to do call-by-copy code. + +2009-06-24 Vincent Celier <celier@adacore.com> + + * make.adb (Gnatmake): To decide if an executable should be rebuilt, + check if an externally built library file is more current than the + executable. + +2009-06-23 Olivier Hainque <hainque@adacore.com> + + * gcc-interface/utils.c (handle_vector_size_attribute): Import from + c-common.c and populate in gnat_internal_attribute_table. + +2009-06-23 Ed Schonberg <schonberg@adacore.com> + + * sem_res.adb (Valid_Conversion, Full_Designated_Type): Use + Available_View only when designated type of an anonymous access type + is limited view. + +2009-06-23 Robert Dewar <dewar@adacore.com> + + * sem_ch10.adb: Minor reformatting + + * ali.ads: Mino reformatting. + + * gnat1drv.adb (Adjust_Global_Switches): New procedure (take care of + turning off inlining if ASIS mode active). + + * switch-c.adb: Remove fiddling with Inspector_Mode and ASIS_Mode + This belongs in gnat1drv.adb after switches are scanned. + +2009-06-23 Hristian Kirtchev <kirtchev@adacore.com> + + * sem_attr.adb: Add with and use clauses for Sem_Ch10. + (Check_Not_Incomplete_Type): Minor reformatting. Retrieve the root type + when dealing with class-wide types. Detect a legal shadow entity and + retrieve its non-limited view. + + * sem_ch10.adb (Has_With_Clause): Move the spec and body of the + subprogram to top package level from Intall_Limited_Withed_Unit. + (Install_Limited_Withed_Unit): Remove spec and body of Has_With_Clause. + Add check which prevents the installation of a limited view if the + non-limited view is already visible through a with clause. + (Is_Legal_Shadow_Entity_In_Body): New routine. Detect a residual, but + legal shadow entity which may occur in subprogram formals of anonymous + access type. + + * sem_ch10.ads (Is_Legal_Shadow_Entity_In_Body): New routine. + + * sem_ch3.adb (Access_Definition): Remove the propagation of flag + From_With_Type from the designated type to the generated anonymous + access type. Remove associated comment. + + * sem_res.adb Add with and use clauses for Sem_Ch10. + (Full_Designated_Type): Detect a legal shadow entity and retrieve its + non-limited view. Since the shadow entity may replace a regular + incomplete type, return the available full view. + +2009-06-23 Ed Schonberg <schonberg@adacore.com> + + * sem_ch10.adb (Remove_Limited_With_Clause): Clean up code that handles + incomplete type declarations. Previous code was potentially quadratic + in the number of visible declarations in any package appearing in a + limited_with_clause. + +2009-06-23 Robert Dewar <dewar@adacore.com> + + * prj-conf.ads, prj-part.adb, prj-proc.adb, prj-proc.ads, sem_ch8.adb, + xref_lib.adb: Minor reformatting + +2009-06-23 Robert Dewar <dewar@adacore.com> + + * a-stzhas.adb: Provide dummy body to avoid build problems with old + versions which did have a body for this unit. + +2009-06-23 Vincent Celier <celier@adacore.com> + + * prj-attr.adb: Attribute names Initial_Required_Switches and + Final_Required_Switches changed to Leading_Required_Switches and + Trailing_Required_Switches. + + * prj-nmsc.adb (Process_Compiler): Attribute names + Initial_Required_Switches and Final_Required_Switches changed to + Leading_Required_Switches and Trailing_Required_Switches. + + * prj.ads (Language_Config): Component Initial_Required_Switches and + Final_Required_Switches changed to Leading_Required_Switches and + Trailing_Required_Switches. + + * snames.ads-tmpl: Remove standard names Initial_Required_Switches and + Final_Required_Switches; add standard names Leading_Required_Switches + and Trailing_Required_Switches. + +2009-06-23 Thomas Quinot <quinot@adacore.com> + + * prj-conf.adb: Minor reformatting + + * xref_lib.adb: Minor cleanup + +2009-06-23 Emmanuel Briot <briot@adacore.com> + + * prj-proc.adb, prj-proc.ads, prj-nmsc.adb, prj-nmsc.ads, prj-conf.adb, + prj-conf.ads (Check_Configuration): New parameter + Compiler_Driver_Mandatory. + +2009-06-23 Ed Schonberg <schonberg@adacore.com> + + * sem_ch10.adb (Analyze_With_Clause): If a subprogram instance in the + context of the current unit has an inline pragma, the instance is not + rewritten as the declaration of the package wrapper. Handle both + possibilities when retrieving the visible subprogram that renames the + instantiation itself. + +2009-06-23 Javier Miranda <miranda@adacore.com> + + * exp_ch4.adb (Displace_Allocator_Pointer, Expand_N_Allocator): Handle + designated types referencing entities from the limited view. + +2009-06-23 Robert Dewar <dewar@adacore.com> + + * s-strhas.adb, s-strhas.ads: Restrict to 32-bit modular types + + * s-imgdec.adb (Set_Decimal_Digits): Fix error of too many digits for + small values + + * prj-conf.ads: Minor reformatting + + * prj-conf.adb: Minor reformatting + +2009-06-23 Vasiliy Fofanov <fofanov@adacore.com> + + * g-debpoo.adb (Dump_Gnatmem): Output dummy timestamps for allocations + to correspond to the log format that gnatmem now expects. + +2009-06-23 Vincent Celier <celier@adacore.com> + + * prj-attr.adb: New attributes Initial_Required_Switches, + Final_Required_Switches and Object_File_Switches + + * prj-nmsc.adb (Process_Compiler): Process new attributes + Name_Final_Required_Switches, Name_Initial_Required_Switches and + Name_Object_File_Switches. + + * prj.ads (Language_Config): New component + Compiler_Initial_Required_Switches (replace Compiler_Required_Switches), + Compiler_Final_Required_Switches and Object_File_Switches. + + * snames.ads-tmpl: New standard names Initial_Required_Switches, + Final_Required_Switches and Object_File_Switches + +2009-06-23 Pascal Obry <obry@adacore.com> + + * s-strhas.adb, s-strhas.ads: Minor reformatting. + +2009-06-23 Ed Schonberg <schonberg@adacore.com> + + * sem_ch10.adb (Install_Limited_Withed_Unit): a null procedure does + not indicate that the enclosing unit needs a body. + +2009-06-23 Emmanuel Briot <briot@adacore.com> + + * prj-conf.ads, prj-conf.adb: New files part of the project manager. + +2009-06-23 Ed Schonberg <schonberg@adacore.com> + + * sem_ch3.adb (Derive_Subprogram): If the inherited subprogram is a + primitive equality include it with its source name even if the + operation is currently invisible, to make sure that the corresponding + slot in the dispatch table is reserved for the internal equality + subsequently generated during expansion. + +2009-06-23 Matthew Gingell <gingell@adacore.com> + + * Makefile.rtl, a-stwiha.adb: Add a-stwiha.adb back. + +2009-06-22 Jose Ruiz <ruiz@adacore.com> + + * sysdep.c (__gnat_localtime_tzoff for RTX): + SystemTimeToTzSpecificLocalTime is not supported by RTX. Use + GetTimeZoneInformation instead. + +2009-06-22 Robert Dewar <dewar@adacore.com> + + * sem_res.adb (Check_No_Direct_Boolean_Operators): New procedure + +2009-06-22 Ed Schonberg <schonberg@adacore.com> + + * sem_ch12.adb (Collect_Previous_Instances): Do not collect + instantiations declared in a previous generic package body. + +2009-06-22 Robert Dewar <dewar@adacore.com> + + * gnat_rm.texi: Add doc that X=True and X=False is allowed for the + restriction No_Direct_Boolean_Operators. + +2009-06-22 Thomas Quinot <quinot@adacore.com> + + * bindusg.adb: Minor fixes to gnatbind usage message + + * sem_eval.adb: Minor reformatting + +2009-06-22 Javier Miranda <miranda@adacore.com> + + * sem_ch3.adb (Analyze_Object_Declaration, Freeze_Entity): Move to the + freezing point the check on the use of abstract types in object + declarations. Done to allow the declaration of C++ imported variables + or constants whose type corresponds with an imported C++ classes for + which the constructor is not imported. + +2009-06-22 Thomas Quinot <quinot@adacore.com> + + * sem_ch6.adb: Minor reformatting + +2009-06-22 Ed Schonberg <schonberg@adacore.com> + + * exp_ch3.adb (Build_Initialization_Call): If a discriminated record + component is constrained with an expression rather than with a + discriminant of the enclosing type, use that expression when building + the call to default-initialize the component, when the call is part of + an aggregate with box initialization. + +2009-06-22 Ed Schonberg <schonberg@adacore.com> + + * sem_ch6.adb (Check_Overriding_Indicator): Clean up code, make warning + unconditional rather than a style check, because a formal name out of + order is suspicious. + +2009-06-22 Vincent Celier <celier@adacore.com> + + * prj-nmsc.adb (Locate_Directory): Indicate the project name when + creating a directory automatically. + +2009-06-22 Eric Botcazou <ebotcazou@adacore.com> + + * sem_ch3.adb (Create_Constrained_Components): For a subtype of an + untagged derived type, add a hidden component for every constrained + discriminant of the parent type to keep record layout consistent. + +2009-06-22 Thomas Quinot <quinot@adacore.com> + + * exp_ch3.adb: Minor code reorganization (avoid an unnecessary tree + copy). + +2009-06-22 Matthew Gingell <gingell@adacore.com> + + * a-stzhas.adb, a-stwiha.adb, impunit.adb, a-swbwha.adb, a-shcain.adb, + s-htable.adb, a-szuzha.adb, a-stunha.adb, a-stboha.adb, a-strhas.adb, + g-spitbo.adb, s-strhas.adb, a-szbzha.adb, s-strhas.ads, Makefile.rtl, + a-swuwha.adb: New unit System.String_Hash. + Refactor redundant cut and pasted hash functions with instances of a + new generic hash function. + Implement a new string hashing algorithm which appears in testing to + be move effective than to previous approach. + +2009-06-22 Ed Falis <falis@adacore.com> + + * sysdep.c: remove include for nfsLib.h and an NFS specific error + message for VxWorks 653 vThreads: not supported by the OS. + + * gsocket.h: disable sockets for VxWorks 653 vThreads. + +2009-06-22 Robert Dewar <dewar@adacore.com> + + * sem_ch6.adb: Add ??? comment for bad use of Style_Check + +2009-06-22 Robert Dewar <dewar@adacore.com> + + * sinput.adb, sinput.ads (Expr_First_Char, Expr_Last_Char): Replaced + by Sloc_Range. + + * freeze.adb: Minor comment updates + + * s-valrea.adb (Bad_Based_Value): New procedure + (Scan_Real): Raise exceptions with messages + +2009-06-22 Matthew Gingell <gingell@adacore.com> + + * adaint.h: Complete previous change. + +2009-06-22 Thomas Quinot <quinot@adacore.com> + + * exp_ch7.ads, exp_ch3.adb: Minor reformatting + +2009-06-22 Ed Schonberg <schonberg@adacore.com> + + * sem_ch6.adb (Check_Overriding_Indicator): When style checks are + enabled, emit warning when a non-controlling argument of the overriding + operation appears out of place vis-a-vis of the formal of the + overridden operation. + +2009-06-22 Vincent Celier <celier@adacore.com> + + * gnatcmd.adb (Check_Files): Close temporary files after all file names + have been written into it. + +2009-06-22 Matthew Gingell <gingell@adacore.com> + + * adaint.c, adaint.h, cstreams.c: Call stat64 on platforms where it is + available. + +2009-06-22 Thomas Quinot <quinot@adacore.com> + + * sem_disp.adb (Check_Direct_Call): Handle the case where the full + view of the root type is visible at the point of the call. + +2009-06-22 Pat Rogers <rogers@adacore.com> + + * gnat_ugn.texi: Revised a sentence to correct a minor grammar error. + +2009-06-22 Jerome Lambourg <lambourg@adacore.com> + + * freeze.adb: Add comments. + +2009-06-21 Thomas Quinot <quinot@adacore.com> + + * exp_ch3.adb, exp_prag.adb, exp_util.adb, exp_util.ads, freeze.adb, + sem_ch13.adb, sem_elab.adb (Exp_Prag.Expand_Pragma_Import_Or_Interface): + Factor out code to new subprogram... + (Exp_Util.Find_Init_Call): New shared routine to find the init proc call + for a default initialized variable. + (Freeze.Check_Address_Clause): Do not reset Has_Delayed_Freeze on an + entity that has an associated freeze node. + (Sem_Ch13.Analyze_Attribute_Definition_Clause, case Address): + If there is an init call for the object, defer it to the object freeze + point. + (Check_Elab_Call.Find_Init_Call): Rename to Check_Init_Call, to avoid + name clash with new subprogram introduced in Exp_Util. + +2009-06-21 Robert Dewar <dewar@adacore.com> + + * einfo.ads: Minor reformatting + +2009-06-21 Ed Falis <falis@adacore.com> + + * env.c (__gnat_environ): return NULL for vThreads - unimplemented + +2009-06-21 Eric Botcazou <ebotcazou@adacore.com> + + * einfo.ads: Update comments. + +2009-06-21 Hristian Kirtchev <kirtchev@adacore.com> + + * sem_disp.adb (Check_Direct_Call): New routine. Dispatching calls + where the controlling formal is of private class-wide type whose + completion is a synchronized type can be converted into direct calls. + +2009-06-21 Vincent Celier <celier@adacore.com> + + * gnatcmd.adb (Check_Files): When all sources of the project are to be + indicated to gnatcheck, gnatpp or gnatmetric, always specify the list + of sources using -files=, so that the distinction can be made by the + tool of a call with no source (to display the usage) from a call with + a project file that contains no source. + +2009-06-21 Jerome Lambourg <lambourg@adacore.com> + + * exp_ch3.adb (Build_Array_Init_Proc): Do not build the init proc in + case of VM convention arrays. + +2009-06-20 Robert Dewar <dewar@adacore.com> + + * a-nudira.adb: Minor reformatting + +2009-06-20 Ed Schonberg <schonberg@adacore.com> + + * exp_ch3.adb (Build_Record_Init_Proc): When copying initial + expressions (possibly from a parent type) indicate that the scope of + the new itypes is the initialization procedure being built. + +2009-06-20 Robert Dewar <dewar@adacore.com> + + * a-nudira.adb (Fits_In_32_Bits): New name (inverted sense) for + Needs_64, and now computed without anomolies for some dynamic types. + +2009-06-20 Thomas Quinot <quinot@adacore.com> + + * sem_prag.adb: Minor reformatting + + * exp_disp.ads: Minor reformatting + +2009-06-20 Ed Schonberg <schonberg@adacore.com> + + * sem_ch3.adb (Is_OK_For_Limited_Init): An unchecked conversion of a + function call is a legal expression to initialize a limited object. + + * exp_ch3.adb: Rename various freeze operations that perform expansion + actions, to prevent confusion with subprograms in the freeze package. + +2009-06-20 Ed Schonberg <schonberg@adacore.com> + + * sem.adb (Walk_Library_Units): Check instantiations first. + + * sem_ch6.adb (Analyze_Subprogram_Declaration): Mark a subprogram as a + private primitive if it is a function with a controlling result that is + a type extension with progenitors. + + * exp_ch9.adb (Build_Wrapper_Spec, Build_Wrapper_Body): Handle properly + a primitive operation of a synchronized tagged type that has a + controlling result. + +2009-06-20 Thomas Quinot <quinot@adacore.com> + + * einfo.ads: Fix typo. + +2009-06-20 Ed Falis <falis@adacore.com> + + * s-vxwext.ads, s-vxwext-kernel.adb: Complete previous change. + +2009-06-19 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/trans.c (emit_check): Do not wrap up the result + in a SAVE_EXPR. + (protect_multiple_eval): Always protect complex expressions. + +2009-06-19 Emmanuel Briot <briot@adacore.com> + + * prj-ext.adb, makeutl.adb, makeutl.ads (Executable_Prefix_Path): Now + make sure we always return a name ending with a path separator. + +2009-06-19 Javier Miranda <miranda@adacore.com> + + * sem_ch12.adb (Instantiate_Package_Body, Instantiate_Subprogram_Body): + Save and restore the visibility of the parent when installed. + +2009-06-19 Jose Ruiz <ruiz@adacore.com> + + * s-tposen.ads (Protection_Entry): Replace fields L, Ceiling, and Owner + by Common which contains all these fields. + + * s-tposen.adb (Initialize_Protection_Entry, Lock_Entry, + Lock_Read_Only_Entry, Timed_Protected_Single_Entry_Call, Unlock_Entry): + Remove code duplication in this package by means of calling the + equivalent code in s-taprob. + +2009-06-19 Robert Dewar <dewar@adacore.com> + + * a-einuoc.ads: Minor reformatting + +2009-06-19 Ed Falis <falis@adacore.com> + + * a-einuoc.ads, s-osinte-vxworks.ads, s-vxwext.ads, s-vxwext-kernel.adb, + s-vxwext-kernel.ads, s-vxwext-rtp.ads: Code clean up. + +2009-06-19 Eric Botcazou <ebotcazou@adacore.com> + + * einfo.ads (Handling of Type'Size Values): Fix Object_Size values. + +2009-06-19 Robert Dewar <dewar@adacore.com> + + * a-nudira.adb (Need_64): Handle negative ranges and also dynamic + ranges + + * checks.adb (Determine_Range): Move the test for generic types later. + + * sem_eval.adb (Compile_Time_Compare): Improve circuitry to catch more + cases. + (Eval_Relational_Op): Fold more cases including string compares + + * sem_util.ads, sem_util.adb (References_Generic_Formal_Type): New + function. + +2009-06-19 Robert Dewar <dewar@adacore.com> + + * sem_type.ads, sem_ch12.adb: Minor reformatting + + * s-wchcnv.adb (UTF_32_To_Char_Sequence): Handle invalid data properly + +2009-06-19 Ed Schonberg <schonberg@adacore.com> + + * exp_ch9.adb (Build_Wrapper_Spec): Handle properly an overridden + primitive operation of a rivate extension whose controlling argument + is an out parameter. + + * sem.adb (Walk_Library_Units): exclude generic package declarations + from check. + +2009-06-19 Thomas Quinot <quinot@adacore.com> + + * i-vxwoio.ads: Add comments + +2009-06-19 Thomas Quinot <quinot@adacore.com> + + * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, + g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads, + g-socthi.adb, g-socthi.ads, g-socket.adb, g-sothco.ads + (GNAT.Sockets.Thin.C_Ioctl): Rename to Socket_Ioctl. + (GNAT.Sockets.Thin.Socket_Ioctl): Use new function + Thin_Common.Socket_Ioctl. + (GNAT.Sockets.Thin_Common.Socket_Ioctl): Binding to new C wrapper + __gnat_socket_ioctl. + (__gnat_socket_ioctl): Wrapper for ioctl(2) called with a single int* + argument after the file descriptor and request code. + +2009-06-19 Robert Dewar <dewar@adacore.com> + + * checks.adb: Minor reformatting + +2009-06-19 Jose Ruiz <ruiz@adacore.com> + + * env.c (__gnat_environ): RTX does not support this functionality. + +2009-06-19 Ed Schonberg <schonberg@adacore.com> + + * sem.adb (Walk_Library_Items): Include bodies in the list of units to + traverse, to account for front-end inlining and instantiations in a + spec or in the main unit. + +2009-06-19 Robert Dewar <dewar@adacore.com> + + * checks.adb (Determine_Range): Do not attempt to get range of generic + type. + +2009-06-19 Sergey Rybin <rybin@adacore.com> + + * gnat_ugn.texi, vms_data.ads: Add the documentation for the new + gnatmetric option for generating the schema file for gnatmetric XML + output. Add corresponding VMS qualifier. + +2009-06-19 Robert Dewar <dewar@adacore.com> + + * g-cgi.adb: Minor reformatting + +2009-06-19 Eric Botcazou <ebotcazou@adacore.com> + + * s-intman-solaris.adb (Notify_Exception): Do not discriminate on the + signal code for SIGFPE and raise Program_Error for SIGILL. + + * s-osinte-solaris.ads: Remove signal code constants for SIGFPE. + +2009-06-19 Ed Schonberg <schonberg@adacore.com> + + * sem_ch8.adb (Nvis_Messages): Do not list an entity declared in a + generic package if there is a visibility candidate that is declared in + a regular package. + +2009-06-18 Olivier Hainque <hainque@adacore.com> + + * system-aix64.ads: New file. + * gcc-interface/Makefile.in (aix LIBGNAT_TARGET_PAIRS): Use the + 64bit system.ads for ppc64 multilib variants. + +2009-06-16 Robert Dewar <dewar@adacore.com> + Olivier Hainque <hainque@adacore.com> + + Relax constraints on Machine_Attribute argument types: + * sem_prag.adb (Check_Arg_Is_Static_Expression): Allow for + missing type. + (Analyze_Attribute, case Machine_Attribute): Allow any type for arg 3. + * gcc-interface/decl.c (prepend_attributes): Accept static + expressions of any type as attribute arguments, not only string + literals. + * gnat_rm.texi (pragma Machine_Attribute section): Adjust to reflect + the relaxation of the restriction on the Info argument type. + +2009-06-13 Aldy Hernandez <aldyh@redhat.com> + + * gcc-interface/utils.c (record_builtin_type): Pass location + argument to build_decl. + (create_type_stub_decl): Same. + (create_type_decl): Same. + (create_var_decl_1): Same. + (create_field_decl): Same. + (create_param_decl): Same. + (create_label_decl): Same. + (create_subprog_decl): Same. + * gcc-interface/decl.c (gnat_to_gnu_entity): Same. + * gcc-interface/trans.c (Case_Statement_to_gnu): Pass location + argument to create_artificial_label. + (Loop_Statement_to_gnu): Same. + (Subprogram_Body_to_gnu): Same. + (gnat_gimplify_stmt): Same. + +2009-06-11 Richard Henderson <rth@redhat.com> + + * gcc-interface/misc.c (gnat_handle_option): Rename OPT_gdwarf_ to + OPT_gdwarfplus. + +2009-06-11 Ed Schonberg <schonberg@adacore.com> + + * sem_attr.adb (Resolve_Attribute, case 'access): Add missing + accessibiliy check on access_to_subprogram in the context of an + anonymous access that is not an access parameter. + +2009-06-11 Eric Botcazou <ebotcazou@adacore.com> + + * tracebak.c (i386 section): Define IS_BAD_PTR on Solaris. + +2009-06-11 Quentin Ochem <ochem@adacore.com> + + * sem_warn.adb, scng.adb, sfn_scan.adb, freeze.adb: Add CODEFIX + comments for message handled by GPS. + +2009-06-11 Matthew Gingell <gingell@adacore.com> + + * adaint.c: Use fopen64 instead of fopen on platforms where we know + it's supported. + +2009-06-11 Pascal Obry <obry@adacore.com> + + * g-cgi.ads: Fix comment typo. + + * g-cgi.adb: Properly decode "+" in CGI parameters as spaces. + +2009-06-10 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Use + a reference to the original type for the type of the field of the + XVS type. + (maybe_pad_type): Likewise. + + * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: Factor + common predicate and remove redundant setting of TYPE_BY_REFERENCE_P. + Pass correctly typed arguments to create_field_decl. + <E_Record_Subtype>: Set BLKmode for tagged and limited types in the + case of contrained discriminants as well. Use the padded base type + in the other case as well. Rename temporary variable. Tweak test. + Factor common access pattern. Set GNU_SIZE only once. + +2009-06-09 Olivier Hainque <hainque@adacore.com> + + * gcc-interface/utils2.c (build_call_alloc_dealloc_proc): New + helper for build_call_alloc_dealloc with arguments to be interpreted + identically. Process the case where a GNAT_PROC to call is provided. + (maybe_wrap_malloc): New helper for build_call_alloc_dealloc, to build + and return an allocator for DATA_SIZE bytes aimed at containing a + DATA_TYPE object, using the default __gnat_malloc allocator. Honor + DATA_TYPE alignments greater than what the latter offers. + (maybe_wrap_free): New helper for build_call_alloc_dealloc, to + release a DATA_TYPE object designated by DATA_PTR using the + __gnat_free entry point. + (build_call_alloc_dealloc): Expect object data type instead of naked + alignment constraint. Use the new helpers. + (build_allocator): Remove special processing for the super-aligned + case, now handled by build_call_alloc_dealloc. Pass data + type instead of the former alignment argument, as expected by the new + interface. + * gcc-interface/gigi.h (build_call_alloc_dealloc): Adjust prototype + and comment. + * gcc-interface/trans.c (gnat_to_gnu) <case N_Free_Statement>: + Remove special processing for the super-aligned case, now handled + by build_call_alloc_dealloc. Pass data type instead of the former + alignment argument, as expected by the new interface. + +2009-06-08 Alexandre Oliva <aoliva@redhat.com> + + * lib-writ.adb (flag_compare_debug): Import. + (Write_ALI): Skip during -fcompare-debug-second. + +2009-06-03 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: When + adjusting the discriminant nodes in an extension, use the full view + of the parent subtype if it is of a private kind. + +2009-06-03 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: Add the + _Parent field, if any, to the record before adding the other fields. + <E_Record_Subtype>: Put the _Controller field before the other fields + except for the _Tag or _Parent fields. + (components_to_record): Likewise. Retrieve the _Parent field from the + record type. + +2009-06-03 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (substitution_list): Rename to build_subst_list, + remove unused parameter and simplify. + (gnat_to_gnu_entity) <E_Record_Type>: Do not set TYPE_FIELDS. Factor + common predicate. Rewrite loop for clarity. Use GNU_TYPE directly + as context for all discriminants. Fix formatting nits. + <E_Record_Subtype>: Add cosmetic 'break'. Test Has_Discriminants + before Discriminant_Constraint. Adjust for above renaming. Do not + set GNU_TYPE more than once. + (elaborate_entity): Test Has_Discriminants on the entity and use + Implementation_Base_Type. + (components_to_record): Rename component_list to gnat_component_list. + Retrieve the _Parent field from the list. Fix nits in comments. + Clarify logic in loop. Pass correct arguments to create_field_decl. + +2009-06-02 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/Make-lang.in: Fix formatting. + +2009-06-01 Olivier Hainque <hainque@adacore.com> + Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/utils.c (convert) <CONSTRUCTOR case>: When converting + to the packable version of the type, clear TREE_STATIC/TREE_CONSTANT + on the result if at least one of the input fields couldn't be output + as a static constant any more. + +2009-06-01 Olivier Hainque <hainque@adacore.com> + Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/utils2.c (gnat_build_constructor): Factor + out code. Use initializer_constant_valid_for_bitfield_p and + CONSTRUCTOR_BITFIELD_P for bit-fields. + +2009-05-26 Ian Lance Taylor <iant@google.com> + + * gcc-interface/Makefile.in (COMPILER): Define. + (COMPILER_FLAGS, ALL_COMPILERFLAGS): Define. + (.c.o, cio.o, init.o, initialize.o, targext.o): Use $(COMPILER). + (seh_init.o, tracebak.o): Likewise. + * gcc-interface/Make-lang.in (ada/targext.o): Likewise. + (ada/cio.o, ada/init.o, ada/initialize.o, ada/raise.o): Likewise. + (ada/tracebak.o, ada/cuintp.o, ada/decl.o, ada/misc.o): Likewise. + (ada/targtyps.o, ada/trans.o, ada/utils.o): Likewise. + (ada/utils2.o): Likewise. + +2009-05-24 Olivier Hainque <hainque@adacore.com> + + * switch.adb (Is_Internal_GCC_Switch, Switch_Last): Bodies of ... + * switch.ads (Is_Internal_GCC_Switch, Switch_Last): New functions. + Add -auxbase variants to the list of recognized internal switches. + * back_end.adb (Scan_Back_End_Switches): Use the new functions and + adjust comments. + * lib.ads: Make comment on internal GCC switches more general. + * gcc-interface/lang-specs.h (specs for Ada): Pass -auxbase variants + as for C. + +2009-05-23 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/misc.c (gnat_get_subrange_bounds): Fix thinko. + +2009-05-23 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (set_rm_size): Bypass the check for packed array + types. + +2009-05-23 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Do not modify the + original type because of the alignment when there is an address clause. + +2009-05-20 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: When + discriminants affect the shape of the subtype, retrieve the GCC type + directly from the original field if the GNAT types for the field and + the original field are the same. + +2009-05-15 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/ada-tree.h (TYPE_GCC_MIN_VALUE, TYPE_GCC_MAX_VALUE): + New macros. + (TYPE_RM_VALUES): Likewise. + (TYPE_RM_SIZE): Rewrite in terms of TYPE_RM_VALUES. + (SET_TYPE_RM_SIZE): New macro. + (TYPE_RM_MIN_VALUE, TYPE_RM_MAX_VALUE): Likewise. + (SET_TYPE_RM_SIZE, SET_TYPE_RM_MAX_VALUE): Likewise. + (TYPE_MIN_VALUE, TYPE_MAX_VALUE): Redefine. + * gcc-interface/gigi.h (create_range_type): Declare. + * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Modular_Integer_Type> + Use SET_TYPE_RM_MAX_VALUE to set the upper bound on the UMT type. + <E_Signed_Integer_Subtype>: Build a regular integer type first and + then set the RM bounds. Use SET_TYPE_RM_SIZE to set the RM size. + <E_Floating_Point_Subtype>: Build a regular floating-point type first + and then set the RM bounds. + <E_Array_Type>: Use create_range_type instead of build_range_type. + <E_Array_Subtype>: Build a regular integer type first and then set + the RM bounds for the extra subtype. + <E_String_Literal_Subtype>: Use create_range_type instead of + build_range_type. + <all>: Set the RM bounds for enumeration types and the GCC bounds for + floating-point types. + (set_rm_size): Use SET_TYPE_RM_SIZE to set the RM size. + (make_type_from_size) <INTEGER_TYPE>: Use SET_TYPE_RM_{MIN,MAX}_VALUE + to set the bounds. Use SET_TYPE_RM_SIZE to set the RM size. + (substitute_in_type) <INTEGER_TYPE>: Deal with GCC bounds for domain + types and with RM bounds for subtypes. + * gcc-interface/misc.c (LANG_HOOKS_GET_SUBRANGE_BOUNDS): Define. + (gnat_print_type) <REAL_TYPE>: New case. + <ENUMERAL_TYPE>: Fall through to above case. + (gnat_get_subrange_bounds): New function. + * gcc-interface/trans.c (add_decl_expr): Mark the trees rooted as + TYPE_RM_MIN_VALUE and TYPE_RM_MAX_VALUE, if any. + * gcc-interface/utils.c (gnat_init_decl_processing): Use precision 8 + for booleans. Adjust and use SET_TYPE_RM_SIZE to set the RM size. + (create_range_type): New function. + (create_param_decl): Build a regular integer type first and then set + the RM bounds for the extra subtype. + (unchecked_convert): Remove kludge for 'Valid. + * gcc-interface/utils2.c (build_binary_op) <ARRAY_RANGE_REF>: Convert + the index to sizetype instead of TYPE_DOMAIN. + +2009-05-14 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (elaborate_expression_1): Remove GNAT_EXPR + parameter and move check for static expression to... + (elaborate_expression): ...here. Adjust call to above function. + (gnat_to_gnu_entity): Likewise for all calls. Use correct arguments + in calls to elaborate_expression. + (elaborate_entity): Likewise. + (substitution_list): Likewise. + (maybe_variable): Fix formatting. + (substitute_in_type) <REAL_TYPE>: Merge with INTEGER_TYPE case and add + missing guard. + * gcc-interface/trans.c (protect_multiple_eval): Minor cleanup. + +2009-05-07 Arnaud Charlet <charlet@adacore.com> + + * gcc-interface/Make-lang.in: Update dependencies. + +2009-05-06 Laurent GUERBY <laurent@guerby.net> + + * s-linux.ads, s-linux-alpha.ads, s-linux-hppa.ads, osinte-linux.ads: + Define sa_handler_pos. + * s-osinte-linux.ads: Use it. + * s-linux-mipsel.ads: New. + * system-linux-mips64el.ads: New. + * gcc-interface/Makefile.in: Multilib handling for mipsel-linux and + mips64el-linux. + +2009-05-06 Arnaud Charlet <charlet@adacore.com> + + * exp_ch5.adb, exp_util.adb, exp_attr.adb, sem_util.adb, sem_res.adb, + targparm.adb, targparm.ads, exp_ch4.adb, exp_ch6.adb, exp_disp.adb, + opt.ads, exp_aggr.adb, exp_intr.adb, sem_disp.adb, exp_ch3.adb + (Tagged_Type_Expansion): New flag. + Replace use of VM_Target related to tagged types expansion by + Tagged_Type_Expansion, since tagged type expansion is not necessarily + linked to VM targets. + +2009-05-06 Robert Dewar <dewar@adacore.com> + + * sem_attr.adb: Add processing for Standard'Compiler_Version + + * sinput.adb (Expr_Last_Char): Fix some copy-paste errors for paren + skipping. + (Expr_First_Char): Add ??? comment that paren skipping needs work + (Expr_Last_Char): Add ??? comment that paren skipping needs work + + * exp_attr.adb: Add processing for Compiler_Version + + * sem_attr.adb: New attribute Compiler_Version + + * snames.ads-tmpl: Add entries for Compiler_Version attribute + + * gnat_rm.texi: Document Compiler_Version attribute + +2009-05-06 Robert Dewar <dewar@adacore.com> + + * errout.adb: Minor reformatting + + * scng.adb, sem_prag.adb, par-ch4.adb, sem_res.adb, par-ch6.adb, + sem_ch6.adb, par-prag.adb, sem_ch8.adb, sem_warn.adb, par-util.adb, + styleg.adb: Add stylized comments to error messages that are included + in the codefix circuitry of IDE's such as GPS. + +2009-05-06 Sergey Rybin <rybin@adacore.com> + + * gnat_ugn.texi: For Misnamed_Identifiers rule all description of the + new form of the rule parameter that allows to specify the suffix for + access-to-access type names. + +2009-05-06 Robert Dewar <dewar@adacore.com> + + * sem_warn.adb (Warn_On_Useless_Assignment): Avoid false negative for + out parameter assigned when exception handlers are present. + + * sem_ch5.adb (Analyze_Exit_Statement): Kill current value last + assignments on exit. + + * par-ch9.adb, sem_aggr.adb, par-endh.adb, sem_res.adb, par-ch6.adb, + sinput-l.adb, par-load.adb, errout.ads, sem_ch4.adb, lib-load.adb, + prj-dect.adb, par-ch12.adb, sem_ch8.adb, par-util.adb, par-ch3.adb, + par-tchk.adb, par-ch5.adb: This patch adds stylized comments to error + messages that are included in the codefix circuitry of IDE's such as + GPS. + + * sinput.ads, sinput.adb (Expr_First_Char): New function + (Expr_Last_Char): New function + +2009-05-06 Sergey Rybin <rybin@adacore.com> + + * gnat_ugn.texi: Add subsection for Exits_From_Conditional_Loops rule + Add formal definition for extra exit point metric + +2009-05-06 Pascal Obry <obry@adacore.com> + + * adaint.c: Support for setting attributes on unicode filename on + Windows. + +2009-05-06 Robert Dewar <dewar@adacore.com> + + * sem_warn.adb: Minor reformatting + +2009-05-06 Javier Miranda <miranda@adacore.com> + + * sem_prag.adb (Process_Import_Or_Interface): Imported CPP types must + not have discriminants or components with default expressions. + (Analyze_Pragma): For pragma CPP_Class check that imported types + have no discriminants and components have no default expression. + + * sem_aggr.adb (Resolve_Aggr_Expr): Add missing check on wrong use of + class-wide types in the expression of a record component association. + +2009-05-06 Sergey Rybin <rybin@adacore.com> + + * vms_data.ads: Add qualifier for gnatmetric extra exit points metric + + * gnat_ugn.texi: Add description for the new extra exit points metric + (gnatmetric section). + +2009-05-06 Robert Dewar <dewar@adacore.com> + + * s-fileio.adb: Minor comment update + + * sem_ch8.adb: Minor reformatting + + * exp_ch3.adb: Update comments. + +2009-05-06 Tristan Gingold <gingold@adacore.com> + + * init.c, s-osinte-darwin.ads: Reduce alternate stack size + +2009-05-06 Arnaud Charlet <charlet@adacore.com> + + * gcc-interface/Makefile.in: Update LIBGNAT_TARGET_PAIRS for Xenomai. + Fix missing unit for rtp-smp runtime on both ppc and x86 vxworks + + * gcc-interface/Make-lang.in: Update dependencies + +2009-05-06 Ed Schonberg <schonberg@adacore.com> + + * sem_ch12.adb (Build_Instance_Compilation_Unit_Nodes): Revert previous + change. The context clause of a generic instance declaration must be + preserved until the end of the compilation, because it may have to be + installed/removed repeatedly. + The latest change to sem.adb ensures that the context of both spec and + body of an instance is traversed before the instance itself, making + this patch redundant. + +2009-05-06 Gary Dismukes <dismukes@adacore.com> + + * sem_aggr.adb: Fix typo. + +2009-05-06 Thomas Quinot <quinot@adacore.com> + + * exp_ch3.adb (Expand_N_Object_Declaration): For a controlled object + declaration, do not adjust if the declaration is to be rewritten into + a renaming. + +2009-05-06 Ed Schonberg <schonberg@adacore.com> + + * sem_ch8.adb (Find_Type): Reject the use of a task type in its own + discriminant part. + +2009-05-06 Bob Duff <duff@adacore.com> + + * s-fileio.adb (File_IO_Clean_Up_Type): Make this type limited, since + otherwise the compiler would be allowed to optimize away the cleanup + code. + +2009-05-06 Gary Dismukes <dismukes@adacore.com> + + * gnat_ugn.texi: Fix typo. + +2009-05-06 Thomas Quinot <quinot@adacore.com> + + * g-debuti.adb: Minor reformatting + + * exp_attr.adb: Minor reformatting + +2009-05-06 Robert Dewar <dewar@adacore.com> + + * sem_aggr.adb: Minor reformatting. + + * g-socthi-vms.adb: Minor reformatting + +2009-05-06 Bob Duff <duff@adacore.com> + + * g-table.ads, g-table.adb, g-dyntab.ads, g-dyntab.adb: + (Append_All): Add Append_All to g-table and g-dyntab, similar to table. + +2009-05-06 Bob Duff <duff@adacore.com> + + * gnat_ugn.texi, gnat_rm.texi: Add missing documentation for warnings + flags. + +2009-05-06 Javier Miranda <miranda@adacore.com> + + * sem_aggr.adb (Valid_Ancestor_Type): Add support for C++ constructors. + (Resolve_Extension_Aggregate): Do not reject C++ constructors in + extension aggregates. + (Resolve_Record_Aggregate): Add support for C++ constructors in + extension aggregates. + + * exp_aggr.adb (Build_Record_Aggr_Code): Add support for C++ + constructors in extension aggregates. + +2009-05-06 Robert Dewar <dewar@adacore.com> + + * freeze.adb (Freeze_Record_Type): Improve error msg for bad size + clause. + +2009-05-06 Thomas Quinot <quinot@adacore.com> + + * g-socthi-vms.adb (C_Recvmsg, C_Sendmsg): Convert Msg to appropriate + packed type, since on OpenVMS, struct msghdr is packed. + +2009-05-06 Ed Schonberg <schonberg@adacore.com> + + * sem_ch8.adb (Analyze_Object_Renaming): If the object is a function + call returning an unconstrained composite value, create the proper + subtype for it, as is done for object dclarations with unconstrained + nominal subtypes. Perform this transformation regarless of whether + call comes from source. + +2009-05-06 Robert Dewar <dewar@adacore.com> + + * freeze.adb (Freeze_Record_Type): Implement Implicit_Packing for + records + + * gnat_rm.texi: + Add documentation for pragma Implicit_Packing applied to record + types. + +2009-05-06 Ed Schonberg <schonberg@adacore.com> + + * sem.adb (Walk_Library_Items): Place all with_clauses of an + instantiation on the spec, because late instance bodies may generate + with_clauses for the instance body but are inserted in the instance + spec. + +2009-05-06 Emmanuel Briot <briot@adacore.com> + + * prj-nmsc.adb (Locate_Directory): Remove unused parameters, and add + support for returning the directory even if it doesn't exist. This is + used for the object directory, since we are always setting it to a + non-null value, and we should set it to an absolute name rather than a + relative name for the sake of external tools that might depend on it. + (Check_Library_Attributes): When Project.Library_Dir is known, check + that the directory exists. + +2009-05-06 Ed Schonberg <schonberg@adacore.com> + + * sem_attr.adb (Check_Dereference): If the prefix of an attribute + reference is an implicit dereference, do not freeze the designated type + if within a default expression or when preanalyzing a pre/postcondtion. + +2009-05-06 Ed Schonberg <schonberg@adacore.com> + + * sem_ch8.adb (Analyze_Object_Renaming): If the object is a function + call returning an unconstrained composite value, create the proper + subtype for it, as is done for object dclarations with unconstrained + nominal subtypes + +2009-05-06 Robert Dewar <dewar@adacore.com> + + * sem_ch13.adb (Check_Constant_Address_Clause): Minor error message + improvements + + * freeze.adb: Minor reformatting + +2009-05-06 Thomas Quinot <quinot@adacore.com> + + * sem_ch3.adb (Access_Type_Declaration): An access type whose + designated type is a limited view from a limited with clause (flagged + From_With_Type) is not itself such a limited view. + +2009-05-06 Emmanuel Briot <briot@adacore.com> + + * prj-nmsc.adb: Remove unused variable. + + * clean.adb, gnatcmd.adb, makeutl.ads, prj-pars.adb, prj-pars.ads, + prj-proc.ads, prj.ads, switch-m.adb (Subdirs_Option): Moved to + makeutl.ads, since not all users of prj.ads need this. + +2009-05-06 Javier Miranda <miranda@adacore.com> + + * exp_aggr.adb (Build_Record_Aggr_Code): Add implicit call to the C++ + constructor in case of aggregates whose type is a CPP_Class type. + +2009-05-06 Robert Dewar <dewar@adacore.com> + + * sem_ch13.adb: Minor comment additions + + * osint.adb: Minor reformatting + +2009-05-06 Pascal Obry <obry@adacore.com> + + * initialize.c: On Windows, keep full pathname to expanded command + line patterns. + +2009-05-06 Ed Schonberg <schonberg@adacore.com> + + * sem_aggr.adb (Resolve_Record_Aggregate): If a defaulted component of + an aggregate with box default is of a discriminated private type, do + not build a subaggregate for it. + A proper call to the initialization procedure is generated for it. + +2009-05-06 Thomas Quinot <quinot@adacore.com> + + * rtsfind.adb, rtsfind.ads, exp_dist.adb, exp_dist.ads + (Exp_Dist.Build_TC_Call, Build_From_Any_Call, Build_To_Any_Call): + Use PolyORB strings to represent Ada.Strings.Unbounded_String value; + use standard array code for Standard.String. + (Exp_Dist): Bump PolyORB s-parint API version to 3. + (Rtsfind): New entities TA_Std_String, Unbounded_String. + +2009-05-06 Robert Dewar <dewar@adacore.com> + + * g-comlin.ads: Minor reformatting + + * xoscons.adb: Minor reformatting + +2009-05-06 Gary Dismukes <dismukes@adacore.com> + + * sem_aggr.adb (Resolve_Record_Aggregate): In step 5, get the + Underlying_Type before retrieving the type definition for gathering + components, to account for the case where the type is private. + +2009-05-06 Tristan Gingold <gingold@adacore.com> + + * g-comlin.ads: Fix minor typos (Getopt instead of Get_Opt). + +2009-05-06 Thomas Quinot <quinot@adacore.com> + + * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, + g-socthi-vxworks.ads, g-socthi-mingw.adb g-socthi-mingw.ads, + g-socthi.adb, g-stsifd-sockets.adb, g-socthi.ads, g-socket.adb + (GNAT.Sockets.Thin.C_Sendmsg, GNAT.Sockets.Thin.C_Recvmsg, + Windows versions): Fix incorrect base + address of Iovec (it's Msg_Iov, not Msg_Iov'Address). + (GNAT.Sockets.Thin.C_Sendto, GNAT.Sockets.Thin.C_Recvfrom): Use a + System.Address for the To parameter instead of a Sockaddr_In_Access, to + achieve independance from AF_INET family, and also to allow this + parameter to be retrieved from a Msghdr for the Windows case where + these routines are used to implement C_Sendmsg and C_Recvmsg. + +2009-05-06 Bob Duff <duff@adacore.com> + + * g-expect.adb, g-expect.ads: Minor reformatting + + * sdefault.ads: Minor comment fix + + * g-expect-vms.adb: Minor reformatting + + * table.ads, table.adb (Append_All): New convenience procedure for + appending a whole array. + + * comperr.adb (Compiler_Abort): Mention the -gnatd.n switch in the bug + box message. Call Osint.Dump_Source_File_Names to print out the file + list, instead of rummaging around in various data structures. + + * debug.adb: New switch -gnatd.n, to print source file names as they + are read. + + * alloc.ads: Add parameters for Osint.File_Name_Chars. + + * osint.ads, osint.adb (Dump_Source_File_Names): New procedure to print + out source file names during a "bug box". + (Include_Dir_Default_Prefix): Use memo-izing to avoid repeated new/free. + (Read_Source_File): Print out the file name, if requested via -gnatd.n. + If it's not part of the runtimes, store it for later printing by + Dump_Source_File_Names. + +2009-05-06 Javier Miranda <miranda@adacore.com> + + * gnat_rm.texi (CPP_Constructor): Avoid duplication of the + documentation and add reference to the GNAT user guide for further + details. + +2009-05-06 Javier Miranda <miranda@adacore.com> + + * gnat_ugn.texi: Complete documentation for CPP_Constructor and remove + also wrong examples that use extension aggregates. + +2009-05-06 Albert Lee <lee@adacore.com> + + * s-oscons-tmplt.c (System.OS_Constants): Do not use special definition + of Msg_Iovlen_T for VMS. + +2009-05-04 Laurent GUERBY <laurent@guerby.net> + + PR ada/38874 + * make.adb (Scan_Make_Arg): Pass --param= to compiler and linker. + +2009-04-29 Ed Schonberg <schonberg@adacore.com> + + * sem_ch8.adb (Analyze_Subprogram_Renaming): Improve error message on + box-defaulted operator in an instantiation, when the type of the + operands is not directly visible. + +2009-04-29 Gary Dismukes <dismukes@adacore.com> + + * sem_aggr.adb (Valid_Limited_Ancestor): Undo previous change. + (Resolve_Extension_Aggregate): Call Check_Parameterless_Call after the + analysis of the ancestor part. Remove prohibition against limited + interpretations of the ancestor expression in the case of Ada 2005. + Revise error message in overloaded case, adding a message to cover + the Ada 2005 case. + +2009-04-29 Thomas Quinot <quinot@adacore.com> + + * xoscons.adb: Minor reformatting + +2009-04-29 Bob Duff <duff@adacore.com> + + * sem_ch13.adb (Analyze_Attribute_Definition_Clause): Do not ignore + attribute_definition_clauses for the following attributes when the + -gnatI switch is used: External_Tag, Input, Output, Read, Storage_Pool, + Storage_Size, Write. Otherwise, we get spurious errors (for example, + missing Read attribute on remote types). + + * gnat_ugn.texi: Document the change, and add a stern warning. + +2009-04-29 Ed Schonberg <schonberg@adacore.com> + + * sem_attr.adb (Check_Local_Access): Indicate that value tracing is + disabled not just for the current scope, but for the innermost dynamic + scope as well. + +2009-04-29 Arnaud Charlet <charlet@adacore.com> + + * gcc-interface/Make-lang.in: Update dependencies + +2009-04-29 Vincent Celier <celier@adacore.com> + + * prj-part.adb: Minor comment update + +2009-04-29 Ed Schonberg <schonberg@adacore.com> + + * sem_aggr.adb (Resolve_Record_Aggregate): handle properly + box-initialized records with discriminated subcomponents that are + constrained by discriminants of enclosing components. New subsidiary + procedures Add_Discriminant_Values, Propagate_Discriminants. + +2009-04-29 Arnaud Charlet <charlet@adacore.com> + + * g-socket.adb: Code clean up. + +2009-04-29 Gary Dismukes <dismukes@adacore.com> + + * sem_aggr.adb (Valid_Limited_Ancestor): Add test for the name of a + function entity, to cover the case of a parameterless function call + that has not been resolved. + +2009-04-29 Robert Dewar <dewar@adacore.com> + + * err_vars.ads, prj-part.adb, scans.ads, exp_tss.adb: Minor + reformatting and comment updates. + +2009-04-29 Arnaud Charlet <charlet@adacore.com> + + * gnat_ugn.texi: Update some documentation about interfacing with C++ + Mention -fkeep-inline-functions. + + * gnat_ugn.texi: Minor edits + +2009-04-29 Ed Schonberg <schonberg@adacore.com> + + * sem_aggr.adb (Resolve_Record_Aggregate): When building an aggregate + for a defaulted component of an enclosing aggregate, inherit the type + from the component declaration of the enclosing type. + +2009-04-29 Albert Lee <lee@adacore.com> + + * g-socthi-vms.ads, g-socthi-vxworks.ads, s-oscons-tmplt.c, + g-socthi-mingw.ads, g-socthi.ads, g-socket.adb, g-sothco.ads + (System.OS_Constants): New type Msg_Iovlen_T which follows whether the + msg_iovlen field in struct msghdr is 32 or 64 bits wide. + Relocate the Msghdr record type from GNAT.Sockets.Thin to + GNAT.Sockets.Common, and use System.OS_Constants.Msg_Iovlen_T as the + type for the Msg_Iovlen field. + +2009-04-29 Vincent Celier <celier@adacore.com> + + * sinput-l.adb (Load_File): When preprocessing, set temporarily the + Source_File_Index_Table entries for the source, to avoid crash when + reporting an error. + + * gnatcmd.adb (Test_If_Relative_Path): Use + Makeutl.Test_If_Relative_Path. + + * makeutl.adb:(Test_If_Relative_Path): Process switches --RTS= only if + Including_RTS is True. + + * makeutl.ads (Test_If_Relative_Path): New Boolean parameter + Including_RTS defaulted to False. + + * sinput.ads, scans.ads, err_vars.ads: Initialize some variables with + a default value. + +2009-04-29 Javier Miranda <miranda@adacore.com> + + * gnat_ugn.texi: Adding documentation for non-default C++ constructors. + +2009-04-29 Javier Miranda <miranda@adacore.com> + + * sem_ch3.adb (Analyze_Object_Declaration): Disable error message + associated with dyamically tagged expressions if the expression + initializing a tagged type corresponds with a non default CPP + constructor. + (OK_For_Limited_Init): CPP constructor calls are OK for initialization + of limited type objects. + + * sem_ch5.adb (Analyze_Assignment): Improve the error message reported + when a CPP constructor is called in an assignment. Disable also the + error message associated with dyamically tagged expressions if the + exporession initializing a tagged type corresponds with a non default + CPP constructor. + + * sem_prag.adb (Analyze_Pragma): Remove code disabling the use of + non-default C++ constructors. + + * sem_util.ads, sem_util.adb (Is_CPP_Constructor_Call): New subprogram. + + * exp_tss.ads, exp_tss.adb (Base_Init_Proc): Add support for + non-default constructors. + (Init_Proc): Add support for non-default constructors. + + * exp_disp.adb (Set_Default_Constructor): Removed. + (Set_CPP_Constructors): Code based in removed Set_Default_Constructor + but extending its functionality to handle non-default constructors. + + * exp_aggr.adb (Build_Record_Aggr_Code): Add support for non-default + constructors. Minor code cleanup removing unrequired label and goto + statement. + + * exp_ch3.adb (Build_Initialization_Call): Add support for non-default + constructors. + (Build_Init_Statements): Add support for non-default constructors. + (Expand_N_Object_Declaration): Add support for non-default constructors. + (Freeze_Record_Type): Replace call to Set_Default_Constructor by call + to Set_CPP_Constructors. + + * exp_ch5.adb (Expand_N_Assignment_Statement): Add support for + non-default constructors. + Required to handle its use in build-in-place statements. + + * gnat_rm.texi (CPP_Constructor): Document new extended use of this + pragma for non-default C++ constructors and the new compiler support + that allows the use of these constructors in record components, limited + aggregates, and extended return statements. + +2009-04-29 Vincent Celier <celier@adacore.com> + + * prj-part.adb (Parse_Single_Project): Do not attempt to find a + project extending an abstract project. + +2009-04-29 Eric Botcazou <ebotcazou@adacore.com> + + * targparm.ads: Fix oversight. + +2009-04-29 Ed Schonberg <schonberg@adacore.com> + + * lib-xref.adb (Output_Overridden_Op): Follow several levels of + derivation when necessary, to find the user-subprogram that is actally + being overridden. + +2009-04-29 Robert Dewar <dewar@adacore.com> + + * sem_util.adb (May_Be_Lvalue): Fix cases involving indexed/selected + components + +2009-04-29 Ed Schonberg <schonberg@adacore.com> + + * exp_ch9.ads, exp_ch9.adb (Build_Wrapper_Spec): Use source line of + primitive operation, rather than source line of synchronized type, when + building the wrapper for a primitive operation that overrides an + operation inherited from a progenitor, to improve the error message on + duplicate declarations. + + * sem_ch3.adb (Process_Full_View): Use new signature of + Build_Wrapper_Spec. + +2009-04-29 Robert Dewar <dewar@adacore.com> + + * prj-nmsc.ads: Minor reformatting + +2009-04-29 Eric Botcazou <ebotcazou@adacore.com> + + * exp_ch4.adb (Expand_N_Conditional_Expression): Set the SLOC of the + expression on the existing parent If statement. + +2009-04-29 Robert Dewar <dewar@adacore.com> + + * prj-proc.adb, prj.ads: Minor reformatting + +2009-04-29 Eric Botcazou <ebotcazou@adacore.com> + + * exp_ch4.adb (Expand_N_Conditional_Expression): Set the SLOC of an + existing parent If statement on the newly created one. + +2009-04-29 Emmanuel Briot <briot@adacore.com> + + * gnatcmd.adb, prj-proc.adb, prj-proc.ads, make.adb, prj-part.adb, + prj-part.ads, prj.adb, prj.ads, clean.adb, prj-dect.adb, prj-dect.ads, + prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads, prj-makr.adb + (Set_In_Configuration, In_Configuration): Removed. + Replaced by an extra parameter Is_Config_File in several parameter to + avoid global variables to store the state of the parser. + +2009-04-29 Ed Schonberg <schonberg@adacore.com> + + * sinfo.ads, sinfo.adb: New attribute Next_Implicit_With, to chain + with_clauses generated for the same unit through rtsfind, and that + appear in the context of different units. + + * rtsfind.adb: New attribute First_Implicit_With, component of the + Unit_Record that stores information about a unit loaded through rtsfind. + +2009-04-29 Gary Dismukes <dismukes@adacore.com> + + * exp_ch3.adb (Stream_Operation_OK): Return True for limited interfaces + (other conditions permitting), so that abstract stream subprograms will + be declared for them. + +2009-04-29 Bob Duff <duff@adacore.com> + + * g-expect.adb (Expect_Internal): Fix check for overfull buffer. + + * g-expect.ads: Minor comment fixes. + +2009-04-29 Ed Schonberg <schonberg@adacore.com> + + * freeze.adb, lib-xref.adb (Check_Dispatching_Operation): if the + dispatching operation is a body without previous spec, update the list + of primitive operations to ensure that cross-reference information is + up-to-date. + +2009-04-29 Albert Lee <lee@adacore.com> + + * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, + g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads, + g-socthi.adb, g-socthi.ads, g-socket.adb, g-socket.ads + (GNAT.Sockets.Thin.C_Readv, + GNAT.Sockets.Thin.C_Writev): Remove unused subprograms. + (GNAT.Sockets.Thin.C_Recvmsg, + GNAT.Sockets.Thin.C_Sendmsg): New bindings to call recvmsg(2) and + sendmsg(2). + (GNAT.Sockets.Receive_Vector, GNAT.Sockets.Send_Vector): Use + C_Recvmsg/C_Sendmsg rather than Readv/C_Writev. + +2009-04-29 Ed Schonberg <schonberg@adacore.com> + + * sem_disp.adb (Check_Dispatching_Operation): if the dispatching + operation is a body without previous spec, update the list of + primitive operations to ensure that cross-reference information is + up-to-date. + + * sem_ch12.adb (Build_Instance_Compilation_Unit_Nodes): When creating a + new compilation unit node for the instance declaration, keep the + context items of the original unit on it, so that the context of the + instance body only holds the context inherited from the generic body. + +2009-04-29 Bob Duff <duff@adacore.com> + + * sem_res.adb: Minor comment fix. + +2009-04-29 Thomas Quinot <quinot@adacore.com> + + * sem_elim.adb: Minor reformatting + +2009-04-29 Ed Schonberg <schonberg@adacore.com> + + * exp_aggr.adb (Convert_To_Positional): if the current unit is a + predefined unit, allow arbitrary number of components in static + aggregate, to ensure that the same level of constant folding applies + for Ada 95 and Ada 05 versions of the file. + +2009-04-29 Ed Schonberg <schonberg@adacore.com> + + * sem_elim.adb (Check_Eliminated): Handle new improved eliminate + information: no need for full scope check. + (Eliminate_Error): Do not emit error in a generic context. + +2009-04-29 Ed Falis <falis@adacore.com> + + * adaint.c (__gnat_rmdir): return error code if VTHREADS is defined. + VxWorks 653 POS does not support rmdir. + +2009-04-29 Matteo Bordin <bordin@adacore.com> + + * s-stausa.adb, s-stausa.ads: Get_Usage_Range: changing the way + results are printed. + +2009-04-29 Arnaud Charlet <charlet@adacore.com> + + * s-taskin.adb (Initialize): Remove pragma Warnings Off and remove + unused assignment. + +2009-04-29 Thomas Quinot <quinot@adacore.com> + + * make.adb: Minor reformatting. + Minor code reorganization throughout. + +2009-04-29 Matteo Bordin <bordin@adacore.com> + + * s-stausa.ads: Changed visibility of type Task_Result: moved to + public part to give application visibility over it. + This is for future improvement and to build a public API on top of it. + Changed record components name of type Task_Result to reflect the new + way of reporting. + + * s-stausa.adb: Actual_Size_Str changed to reflect the new way of + reporting Stack usage. + + * gnat_ugn.texi: Update doc of stack usage report. + + * g-tastus.ads, s-stusta.ads, s-stusta.adb: New files. + + * Makefile.rtl: Add new run-time files. + +2009-04-29 Pascal Obry <obry@adacore.com> + + * initialize.c: Do not expand quoted arguments. + +2009-04-29 Emmanuel Briot <briot@adacore.com> + + * prj-ext.adb, prj.adb, prj.ads: Fix memory leaks. + + * clean.adb (Ultimate_Extension_Of): removed, since duplicate of + Prj.Ultimate_Extending_Project_Of + +2009-04-29 Ed Schonberg <schonberg@adacore.com> + + * exp_ch7.adb (Build_Final_List): If the designated type is a Taft + Amendment type, add the with_clause for Finalization.List_Controller + only if the current context is a package body. + +2009-04-29 Thomas Quinot <quinot@adacore.com> + + * sem_ch12.adb: Minor reformatting + + * sem_aggr.adb: Minor reformatting + + * sem_ch6.adb, sem_cat.ads: Minor reformatting + + * sem_ch10.adb, gnat1drv.adb, prj-nmsc.adb: Minor reformatting + +2009-04-29 Quentin Ochem <ochem@adacore.com> + + * prj.ads (Source_Id): Now general pointer type. + +2009-04-29 Thomas Quinot <quinot@adacore.com> + + * exp_ch7.adb, rtsfind.adb: Minor reformatting + + * sem_res.adb: Minor reformatting + +2009-04-29 Thomas Quinot <quinot@adacore.com> + + * sem_res.adb (Static_Concatenation): An N_Op_Concat with static + operands is static only if it is a predefined concatenation operator. + + * sem_util.adb: Minor reformatting + + * sem_ch12.adb (Save_References): When propagating semantic information + from generic copy back to generic template, for the case of an + identifier that has been rewritten to an explicit dereference whose + prefix is either an object name or a parameterless funcion call + denoting a global object or function, properly capture the denoted + global entity: perform the corresponding rewriting in the template, + and point the rewritten identifier to the correct global entity (not + to the associated identifier in the generic copy). + +2009-04-29 Robert Dewar <dewar@adacore.com> + + * rtsfind.adb, prj-env.adb: Minor reformatting + Minor code reorganization + +2009-04-29 Emmanuel Briot <briot@adacore.com> + + * make.adb: Fix comment + + * prj.adb (Ultimate_Extending_Project_Of): Fix handling when no project + is given as argument, as might happen in gnatmake. + +2009-04-29 Ed Schonberg <schonberg@adacore.com> + + * sem_ch3.adb (Check_Abstract_Overriding): Improve error message when + an abstract operation of a progenitor is not properly overridden by an + operation of a derived synchronized type. + +2009-04-29 Robert Dewar <dewar@adacore.com> + + * mlib-prj.adb, mlib-tgt.adb, mlib-tgt.ads, prj-nmsc.adb, + prj-proc.adb: Minor reformatting + Minor code reorganization + +2009-04-29 Bob Duff <duff@adacore.com> + + * exp_ch7.adb (Build_Final_List): For an access type that designates a + Taft Amendment type, if the access type needs finalization, make sure + the implicit with clause for List_Controller occurs on the package spec. + + * rtsfind.adb (Text_IO_Kludge): Fine tune the creation of implicit + with's created for the pseudo-children of Text_IO and friends. In + particular, avoid cycles, such as Ada.Wide_Text_IO.Integer_IO and + Ada.Text_IO.Integer_IO both with-ing each other. + + * sem.adb (Walk_Library_Items): Suppress assertion failure in certain + oddball cases when pragma Extend_System is used. + + * sem_ch12.adb (Get_Associated_Node): Prevent direct 'with' cycles in + the case where a package spec instantiates a generic whose body with's + this package, so Walk_Library_Items won't complain about cyclic with's. + +2009-04-29 Emmanuel Briot <briot@adacore.com> + + * gnatcmd.adb, prj-proc.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, + prj-pp.adb, prj-pp.ads, makeutl.adb, clean.adb, prj-nmsc.adb, + mlib-tgt.adb, mlib-tgt.ads, prj-util.adb, prj-env.adb, prj-env.ads + (Project_Id): now a real pointer to Project_Data, instead of an index + into the Projects_Table. This simplifies the API significantly, avoiding + extra lookups in this table and the need to pass the Project_Tree_Ref + parameter in several cases + +2009-04-29 Nicolas Setton <setton@adacore.com> + + * gcc-interface/Makefile.in: Produce .dSYM files for shared libs on + darwin. + +2009-04-25 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Put + back kludge. + +2009-04-24 Robert Dewar <dewar@adacore.com> + + * mlib-prj.adb, prj-env.adb, prj-nmsc.adb, prj-proc.adb, make.adb, + clean.adb: Minor reformatting. + Minor code reorganization and message improvement. + +2009-04-24 Emmanuel Briot <briot@adacore.com> + + * prj-proc.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-nmsc.ads + (Alternate_Languages): now implemented as a malloc-ed list rather + than through a table. + +2009-04-24 Thomas Quinot <quinot@adacore.com> + + * sem_res.adb (Static_Concatenation): Simplify predicate to make it + accurately handle cases such as "lit" & "lit" and + "lit" & static_string_constant + +2009-04-24 Emmanuel Briot <briot@adacore.com> + + * prj-proc.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, clean.adb, + prj-nmsc.adb, prj-env.adb (Project_List_Table, Project_Element): + removed. Lists of projects are now implemented via standard malloc + rather than through the table. + +2009-04-24 Thomas Quinot <quinot@adacore.com> + + * sem_ch12.adb: Minor reformatting + + * g-trasym.adb: Minor reformatting + + * exp_ch6.adb: Minor reformatting + +2009-04-24 Robert Dewar <dewar@adacore.com> + + * layout.adb (Layout_Type): For packed array type, copy unset + size/alignment fields from the referenced Packed_Array_Type. + +2009-04-24 Bob Duff <duff@adacore.com> + + * lib-load.adb (Make_Instance_Unit): Revert previous change, no + longer needed after sem_ch12 changes. + + * sem.adb (Walk_Library_Items): Include with's in some debugging + printouts. + +2009-04-24 Emmanuel Briot <briot@adacore.com> + + * prj.ads, prj-nmsc.adb (Unit_Project): removed, since in fact we were + only ever using the Project field. + +2009-04-24 Ed Schonberg <schonberg@adacore.com> + + * sem_ch12.adb (Build_Instance_Compilation_Unit_Nodes): Do not set + Body_Required on the generated compilation node. The new node is linked + to its body, but both share the same file, so we do not set this flag + on the new unit so as not to create a spurious dependency on a + non-existent body in the ali file for the instance. + +2009-04-24 Robert Dewar <dewar@adacore.com> + + * make.adb: Minor reformatting + +2009-04-24 Emmanuel Briot <briot@adacore.com> + + * prj.adb, prj.ads, prj-nmsc.adb (Check_File, Record_Ada_Source, + Add_Source): merge some code between those. In particular change where + file normalization is done to avoid a few extra calls to + Canonicalize_File_Name. This also removes the need for passing + Current_Dir in a number of subprograms. + +2009-04-24 Bob Duff <duff@adacore.com> + + * lib-load.adb (Make_Instance_Unit): In the case where In_Main is + False, assign the correct unit to the Cunit field of the new table + entry. We want the spec unit, not the body unit. + + * rtsfind.adb (Make_Unit_Name, Maybe_Add_With): Simplify calling + interface for these. + (Maybe_Add_With): Check whether we're trying to a with on the current + unit, and avoid creating such directly self-referential with clauses. + (Text_IO_Kludge): Add implicit with's for the generic pseudo-children of + [[Wide_]Wide_]Text_IO. These are needed for Walk_Library_Items, + and matches existing comments in the spec. + + * sem.adb (Walk_Library_Items): Add various special cases to make the + assertions pass. + + * sem_ch12.adb (Build_Instance_Compilation_Unit_Nodes): Use Body_Cunit + instead of Parent (N), for uniformity. + +2009-04-24 Robert Dewar <dewar@adacore.com> + + * errout.ads: Minor reformatting + +2009-04-24 Emmanuel Briot <briot@adacore.com> + + * gnat_ugn.texi (Library Projects): add documentation on gnatmake's + behavior when the project includes sources from multiple languages + +2009-04-24 Vincent Celier <celier@adacore.com> + + * prj.adb (Has_Foreign_Sources): Returns True in Ada_Only mode if there + is a language other than Ada declared. + + * makeutl.adb (Linker_Options_Switches): Call For_All_Projects with + Imported_First set to True. + +2009-04-24 Ed Schonberg <schonberg@adacore.com> + + * sem_res.adb: additional optimization to inhibit creation of + redundant transient scopes. + +2009-04-24 Bob Duff <duff@adacore.com> + + * rtsfind.ads: Minor comment fix + +2009-04-24 Emmanuel Briot <briot@adacore.com> + + * prj-proc.adb, prj-nmsc.adb (Find_Ada_Sources, + Get_Path_Name_And_Record_Ada_Sources): merged, since these were + basically doing the same work (for explicit or implicit sources). + (Find_Explicit_Sources): renamed to Find_Sources to better reflect its + role. Rewritten to share some code (testing that all explicit sources + have been found) between ada_only and multi_language modes. + +2009-04-24 Jerome Lambourg <lambourg@adacore.com> + + * sem_prag.adb (Check_Form_Of_Interface_Name): Allow space in Ext_Name + for CLI imported types. + (Analyze_Pragma): Allow CIL or Java imported functions returning + access-to-subprogram types. + +2009-04-24 Emmanuel Briot <briot@adacore.com> + + * make.adb, prj.adb, prj.ads, makeutl.adb, makeutl.ads: + (Project_Data.Dir_Path): field removed, since it can be computed + directly from .Directory, and is needed only once when processing the + project is buildgpr.adb or make.adb + +2009-04-24 Robert Dewar <dewar@adacore.com> + + * prj-env.adb, prj-proc.adb, prj.adb, prj.ads, + rtsfind.adb: Minor reformatting. + Minor code reorganization + +2009-04-24 Arnaud Charlet <charlet@adacore.com> + + * mlib-prj.adb: Use friendlier english identifier. + + * gnatcmd.adb, make.adb: Use better english identifiers. + +2009-04-24 Robert Dewar <dewar@adacore.com> + + * clean.adb: Minor reformatting + +2009-04-24 Robert Dewar <dewar@adacore.com> + + * einfo.adb (OK_To_Rename): New flag + + * einfo.ads (OK_To_Rename): New flag + + * exp_ch3.adb (Expand_N_Object_Declaration): Rewrite as renames if + OK_To_Rename set. + + * exp_ch4.adb (Expand_Concatenate): Mark temp variable OK_To_Rename + + * sem_ch7.adb (Uninstall_Declarations): Allow for renames from + OK_To_Rename. + +2009-04-24 Emmanuel Briot <briot@adacore.com> + + * prj-proc.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, makeutl.adb, + clean.adb, prj-nmsc.adb, prj-env.adb, prj-env.ads (Project_Data.Seen): + field removed. This is not a property of the + project, just a boolean used to traverse the project tree, and storing + it in the structure prevents doing multiple traversal in parallel. + (Project_Data.Checked): also removed, since it was playing the same role + as Seen when we had two nested loops, and this is no longer necessary + (For_All_Imported_Projects): removed, since in fact there was already + the equivalent in For_Every_Project_Imported. The latter was rewritten + to use a local hash table instead of Project_Data.Seen + Various loops were rewritten to use For_Every_Project_Imported, thus + removing the need for Project_Data.Seen. This avoids a lot of code + duplication + +2009-04-24 Ed Schonberg <schonberg@adacore.com> + + * sem_res.adb (Resolve_Actuals): Do not create blocks around code + statements, even though the actual of the call is a concatenation, + because the argument is static, and we want to preserve warning + messages about sequences of code statements that are not marked + volatile. + + * sem_warn.adb: remove obsolete comment about warning being obsolete + + * s-tasren.adb (Task_Do_Or_Queue): If a timed entry call is being + requeued and the delay has expired while within the accept statement + that executes the requeue, do not perform the requeue and indicate that + the timed call has been aborted. + +2009-04-24 Emmanuel Briot <briot@adacore.com> + + * mlib-prj.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb + (Has_Ada_Sources, Has_Foreign_Sources): new subprograms + (Project_Data.Ada_Sources_Present, Foreign_Sources_Present): removed, + since they can be computed from the above. + +2009-04-24 Vincent Celier <celier@adacore.com> + + * gnatcmd.adb: Call Prj.Env.Initialize with the Project_Tree + + * prj-env.adb: Move all global variables to the private part of the + project tree data. + Access these new components instead of the global variables no longer + in existence. + (Add_To_Path): New Project_Tree_Ref parameter, to access the new + components that were previously global variables. + + * prj-env.ads (Initialize): New Project_Tree_Ref parameter + (Set_Mapping_File_Initial_State_To_Empty): New Project_Tree_Ref + parameter. + + * prj-nmsc.adb (Compute_Unit_Name): New Project_Tree_Ref parameter to + be able to call Set_Mapping_File_Initial_State_To_Empty with it. + + * prj.adb (Initialize): Do not call Prj.Env.Initialize + (Reset): Do not call Prj.Env.Initialize. Instead, initialize the new + components in the private part of the project tree data. + + * prj.ads (Private_Project_Tree_Data): new components moved from + Prj.Env: Current_Source_Path_File, Current_Object_Path_File, + Ada_Path_Buffer, Ada_Path_Length, Ada_Prj_Include_File_Set, + Ada_Prj_Objects_File_Set, Fill_Mapping_File. + +2009-04-24 Vincent Celier <celier@adacore.com> + + * opt.ads (Unchecked_Shared_Lib_Imports): New Boolean flag. + + * prj-nmsc.adb (Check_Library): No error for imports by shared library + projects, when --unchecked-shared-lib-imports is used. + +2009-04-24 Robert Dewar <dewar@adacore.com> + + * sem_ch7.adb: Minor reformatting + +2009-04-24 Tristan Gingold <gingold@adacore.com> + + * s-osinte-darwin.adb, s-osinte-darwin.ads: lwp_self now returns the + mach thread id. + +2009-04-24 Emmanuel Briot <briot@adacore.com> + + * prj-env.adb, prj-env.ads (Body_Path_Name_Of, Spec_Path_Name_Of, + Path_Name_Of_Library_Unit_Body): rEmove unused subprograms. + (For_All_Imported_Projects): new procedure + (For_All_Source_Dirs, For_All_Object_Dirs): Rewritten based on the + above rather than duplicating code. + +2009-04-24 Emmanuel Briot <briot@adacore.com> + + * prj-proc.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb + (Source_Id, Source_Data): use a real list to store sources rather than + using an external table to store the elements. This makes code more + efficient and more readable. + +2009-04-24 Emmanuel Briot <briot@adacore.com> + + * prj-proc.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb + (Source_Iterator): new type. + This removes the need for having the sources on three different + lists at the project tree, project and language level. They are now + on a single list. + +2009-04-24 Emmanuel Briot <briot@adacore.com> + + * gnatcmd.adb, prj.adb, prj.ads: Remove unused entities + +2009-04-24 Ed Schonberg <schonberg@adacore.com> + + * sem_warn.adb: Add comment on obsolete warning + +2009-04-24 Arnaud Charlet <charlet@adacore.com> + + * s-tassta.adb (Create_Task): Fix violation of locking rule. + +2009-04-24 Emmanuel Briot <briot@adacore.com> + + * prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb (Language_Index): renamed + to Language_Ptr to better reflect its new implementation. + (Project_Data.First_Languages_Processing): renamed to Languages now + that the field with that name is no longer used + (Project_Data.Languages): removed, no longer used, and duplicates + information already available through First_Language_Processing. + (Prj.Language_Index): now an actual pointer, instead of an index into + a table. This makes the list somewhat more obvious, but more importantly + removes the need to pass a pointer to the project_tree_data in a few + places, and makes accessing the attributes of a languages more + efficient. + +2009-04-24 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> + Thomas Quinot <quinot@adacore.com> + + * fe.h (Set_Identifier_Casing): Add const to second parameter. + * gcc-interface/misc.c (internal_error_function): Make copy of return + from pp_formatted_text before assigning BUFFER to it. + (gnat_init): Likewise for main_input_filename and gnat_argv. + (gnat_printable_name): Remove cast from call to Set_Identifier_Casing. + +2009-04-24 Eric Botcazou <ebotcazou@adacore.com> + + * ttypes.ads (Target_Double_Float_Alignment): New variable. + (Target_Double_Scalar_Alignment): Likewise. + * get_targ.ads (Get_Strict_Alignment): Adjust external name. + (Get_Double_Float_Alignment): New imported function. + (Get_Double_Scalar_Alignment): Likewise. + * layout.adb (Set_Elem_Alignment): Take into account specific caps for + the alignment of "double" floating-point types and "double" or larger + scalar types, as parameterized by Target_Double_Float_Alignment and + Target_Double_Scalar_Alignment respectively. + * gcc-interface/gigi.h (double_float_alignment): Declare. + (double_scalar_alignment): Likewise. + (is_double_float_or_array): Likewise. + (is_double_scalar_or_array): Likewise. + (get_target_double_float_alignment): Likewise. + (get_target_double_scalar_alignment): Likewise. + * gcc-interface/targtyps.c (get_strict_alignment): Rename into... + (get_target_strict_alignment): ...this. + (get_target_double_float_alignment): New function. + (get_target_double_scalar_alignment): Likewise. + * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>: + Test the presence of an alignment clause for under-aligned integer + types. Take into account specific caps for the alignment of "double" + floating-point types and "double" or larger scalar types, as + parameterized by Target_Double_Float_Alignment and + Target_Double_Scalar_Alignment respectively. + (validate_alignment): Likewise. + * gcc-interface/trans.c (Attribute_to_gnu) <Attr_Alignment>: Likewise. + (gigi): Initialize double_float_alignment and double_scalar_alignment. + * gcc-interface/utils.c (double_float_alignment): New global variable. + (double_scalar_alignment): Likewise. + (is_double_float_or_array): New predicate. + (is_double_scalar_or_array): Likewise. + +2009-04-24 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/utils2.c (build_cond_expr): Move SAVE_EXPR ahead of + the conditional expression only if it is common to both arms. + +2009-04-24 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/gigi.h (build_call_alloc_dealloc): Update comment. + * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Pass correct + arguments to build_allocator. + * gcc-interface/utils2.c (build_call_alloc_dealloc): Update comment. + Remove code handling special allocator and assert its uselessness. + +2009-04-24 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: If an + alignment is specified, do not promote that of the component type + beyond it. + <E_Array_Subtype>: Likewise. + +2009-04-23 Eric Botcazou <ebotcazou@adacore.com> + + * einfo.ads (Is_True_Constant): Lift restriction on atomic objects. + * sinfo.ads (Object Declaration): Likewise. + (Assignment Statement): Likewise. + * freeze.adb (Expand_Atomic_Aggregate): Remove useless test. + Do not force Is_True_Constant to false on the temporary. + (Freeze_Entity): Do not force Is_True_Constant to false on names on + the RHS of object declarations. + * gcc-interface/trans.c (lvalue_required_p) <N_Object_Declaration>: + New case. Return 1 if the object is atomic. + <N_Assignment_Statement>: Likewise. + +2009-04-23 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Modular_Integer_Subtype> + For packed array types, make the original array type a parallel type + for the modular type and its JM wrapper if the type is bit-packed. + <E_Array_Subtype>: Likewise. Do not generate the special XA parallel + record type for packed array types. Remove kludge. + +2009-04-23 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/gigi.h (create_index_type): Adjust head comment. + * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>: + Use front-end predicates to compute signedness and precision. + <E_String_Literal_Subtype>: Fold range type. + Make sure to set longest_float_type_node to a scalar type. + (elaborate_entity): Use consistent Constraint_Error spelling. + (substitute_in_type) <INTEGER_TYPE>: Always copy the type. + * gcc-interface/misc.c (gnat_print_type) <INTEGER_TYPE>: Use brief + output for the modulus, if any. + <ENUMERAL_TYPE>: Likewise for the RM size. + * gcc-interface/trans.c (gnat_to_gnu): Use consistent Constraint_Error + spelling. + * gcc-interface/utils.c (finish_record_type): Really test the alignment + of BLKmode bit-fields to compute their addressability. + (create_index_type): Adjust comments. + (create_param_decl): Create the biased subtype manually. + * gcc-interface/utils2.c (build_component_ref): Use consistent + Constraint_Error spelling. + +2009-04-23 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/cuintp.c: Clean up include directives. + * gcc-interface/targtyps.c: Likewise. + * gcc-interface/decl.c: Likewise. + * gcc-interface/misc.c: Likewise. + * gcc-interface/trans.c: Likewise. + * gcc-interface/utils.c: Likewise. + * gcc-interface/utils2.c: Likewise. + * gcc-interface/Make-lang.in: Adjust dependencies accordingly. + +2009-04-23 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/ada-tree.h (union lang_tree_node): Use standard idiom. + (SET_TYPE_LANG_SPECIFIC): Likewise. Fix formatting. + (SET_DECL_LANG_SPECIFIC): Likewise. + Reorder macros. + * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>: + Update comment about use of build_range_type. + <E_Array_Type, E_Array_Subtype>: Use consistent naming convention. + <E_Array_Subtype>: Rework comments about TYPE_ACTUAL_BOUNDS and add + check for other cases of overloading. + * gcc-interface/trans.c (gigi): Use size_int in lieu of build_int_cst. + * gcc-interface/utils2.c (build_call_raise): Fix off-by-one error. + Use size_int in lieu of build_int_cst. + (build_call_alloc_dealloc): Use build_index_2_type in lieu of + build_range_type. + +2009-04-22 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/utils2.c (build_binary_op) <PLUS_EXPR>: If operation's + type is an enumeral or a boolean type, change it to an integer type + with the same mode and signedness. + +2009-04-22 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/utils.c (create_var_decl_1): Do not emit debug info + for an external constant whose initializer is not absolute. + +2009-04-22 Taras Glek <tglek@mozilla.com> + + * gcc-interface/ada-tree.h: Update GTY annotations to new syntax. + * gcc-interface/trans.c: Likewise. + * gcc-interface/utils.c: Likewise. + +2009-04-22 Ed Schonberg <schonberg@adacore.com> + + * sem_res.adb: Create block around procedure call when actual is a + concatenation. + +2009-04-22 Thomas Quinot <quinot@adacore.com> + + * s-soflin.ads: Fix typos + +2009-04-22 Vincent Celier <celier@adacore.com> + + * prj-env.adb: Minor comment change + + * prj-nmsc.adb (Check_Common): Add guard to avoid calling + Get_Name_String with No_File. + + * tempdir.adb (Create_Temp_File): Output diagnostic when temp file + cannot be created even when not in verbose mode. + +2009-04-22 Emmanuel Briot <briot@adacore.com> + + * make.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj.adb, + prj.ads (Create_Mapping_File): merge the two versions for Ada_Only and + Multi_Language modes, to avoid code duplication. + (Project_Data.Include_Language): Removed. + +2009-04-22 Vincent Celier <celier@adacore.com> + + * tempdir.adb (Create_Temp_File): Add a diagnostic in verbose mode when + the temporary file cannot be created, indicating the directory when the + creation was attempted. + +2009-04-22 Emmanuel Briot <briot@adacore.com> + + * prj-env.adb, prj-env.ads (Create_Mapping_File): we need to compare + the language names, not their indices. + +2009-04-22 Emmanuel Briot <briot@adacore.com> + + * prj.ads, prj-nmsc.adb, prj-env.adb, prj-env.ads + (Source_Data.Language_Name): Field removed. + +2009-04-22 Emmanuel Briot <briot@adacore.com> + + * prj.adb, prj.ads, prj-nmsc.adb (Project_Data.Unit_Based_Language_*): + Two fields removed. + +2009-04-22 Emmanuel Briot <briot@adacore.com> + + * prj-nmsc.adb (Check_Naming_Ada_Only): Properly initialize the + separate_suffix to the same value as the body_suffix. + +2009-04-22 Robert Dewar <dewar@adacore.com> + + * prj.adb: Minor code reorganization + Code clean up. + + * prj-proc.adb: Minor code reorganization, clean up. + + * prj-nmsc.adb: Minor reformatting + Minor code reorganization + + * gnat_ugn.texi: Add to doc on strict aliasing + +2009-04-22 Pascal Obry <obry@adacore.com> + + * s-osinte-mingw.ads: Rename Reserved field in CRITICAL_SECTION to + SpinCount. + + * s-tasini.adb: Minor reformatting. + + * s-tassta.adb: Minor reformatting. + +2009-04-22 Emmanuel Briot <briot@adacore.com> + + * prj-proc.adb, prj-nmsc.adb (Check_Naming_Schemes): split into several + smaller subprograms. + Renamed to Check_File_Naming_Schemes to avoid confusion with the + other Check_Naming_Schemes functions that plays a totally different + role. + (Check_Unit_Based_Lang, Check_File_Based_Lang): new subprograms, + extracted from the above. These were partially rewritten to avoid + unnecessary code and temporary variables. + (Compute_Unit_Name): new subprogram, merge of Check_Unit_Based_Lang + and Get_Unit (which for now still exist since they contain mode-specific + code) + +2009-04-22 Emmanuel Briot <briot@adacore.com> + + * prj.ads, prj.adb, prj-nmsc.adb, prj-proc.adb (Recursive_Process): + Remove duplicated code. + (Canonical_Case_File_Name): new subprogram + (Check_And_Normalize_Unit_Names): new subprogram + (Write_Attr): new subprogram + Better sharing of code + (Check_Naming_Ada_Only, Check_Naming_Multi_Lang): new subprogram, to + split Check_Naming and help find duplicated code + (Check_Common): new subprogram, sharing code between ada_only and + multi_language mode. + (Naming_Data.Dot_Repl_Loc): field removed + +2009-04-22 Emmanuel Briot <briot@adacore.com> + + * prj-proc.adb, prj-nmsc.adb (Load_Naming_Exceptions): New subprogram. + Minor refactoring to reduce the size of + Process_Sources_In_Multi_Language_Mode. + Avoid extra copied of Source_Data, which we found in the past could be + quite slow. + (Mark_Excluded_Sources): new subprogram. + (Remove_Locally_Removed_Files_From_Units): merged into the above + Refactors Process_Sources_In_Multi_Language_Mode to reduce its size, + and allow better sharing of code between multi_lang and ada_only modes + (Project_Extends): removed, since exact duplicate of Prj.Is_Extending + +2009-04-22 Emmanuel Briot <briot@adacore.com> + + * prj-proc.adb, prj.adb, prj.ads (Project_Data.First_Referred_By): + Removed, since unused. + +2009-04-22 Vincent Celier <celier@adacore.com> + + * prj-attr.adb: New single project level attribute + Separate_Run_Path_Options. + + * prj-nmsc.adb (Process_Project_Level_Simple_Attributes): Process + attribute Seperate_Run_Path_Options. + + * prj.ads: (Project_Configuration): New Boolean component + Separate_Run_Path_Options, defaulted to False. + + * snames.ads-tmpl: New standard name Seperate_Run_Path_Options + +2009-04-22 Robert Dewar <dewar@adacore.com> + + * sem_type.adb: Minor reformatting + + * mlib.adb: Minor reformatting + + * sem_aggr.adb: Minor reformatting. Defend against junk aggregate from + syntax error. + +2009-04-22 Nicolas Setton <setton@adacore.com> + + * link.c: Add flag __gnat_separate_run_path_options. + + * mlib.adb (Separate_Run_Path_Options): New subprogram. + + * mlib.ads (Separate_Run_Path_Options): Declare. + + * gnatcmd.adb (Process_Link): Add support for emitting one "rpath" + switch per directory, rather than one "rpath" switch listing all + directories. + + * gnatlink.adb (Process_Binder_File): Likewise. + + * make.adb (Gnatmake): Likewise. + +2009-04-22 Hristian Kirtchev <kirtchev@adacore.com> + + * exp_ch6.adb (Make_Build_In_Place_Call_In_Assignment): Code cleanup. + Add a call to Move_Final_List when the target of the assignment is a + return object that needs finalization and the expression is a + controlled build-in-place function. + +2009-04-22 Vincent Celier <celier@adacore.com> + + * make.adb (Gnatmake, Bind_Step): call Set_Ada_Paths with + Including_Libraries set to True. + +2009-04-22 Ed Schonberg <schonberg@adacore.com> + + * lib-load.ads, lib-load.adb (Make_Child_Decl_Unit): New subprogram, to + create a unit table entry for the subprogram declaration created for a + child suprogram body that has no separate specification. + + * sem_ch10.adb (Analyze_Compilation_Unit): For a child unit that is a + subprogram body, call Make_Child_Decl_Unit. + + * lib.adb (Get_Cunit_Unit_Number): Verify that an entry not yet in the + table can only be the created specification of a child subprogram body + that is the main unit, which has not been entered in the table yet. + + * errout.adb (Output_Messages): Ignore created specification of a + child subprogram body to prevent repeated listing of error messages. + + * gnat1drv.adb (gnat1drv): The generated specification for a child + subprogram body does not generate code. + +2009-04-22 Arnaud Charlet <charlet@adacore.com> + + * s-bitops.adb, s-bitops.ads (Raise_Error): Do not use Ada 05 syntax, + since this unit is now part of bootstrap units, so must use Ada 95 + syntax only. + +2009-04-22 Thomas Quinot <quinot@adacore.com> + + * a-tasatt.adb: Minor reformatting + +2009-04-22 Bob Duff <duff@adacore.com> + + * s-stalib.ads: Remove "with System;" since we're inside System, so + it's unnecessary. + +2009-04-22 Vincent Celier <celier@adacore.com> + + * prj-nmsc.adb (Add_Source): Always put the dependency file name in + the source record, as there may be a dependency file even if no object + file is created. + +2009-04-22 Robert Dewar <dewar@adacore.com> + + * lib-load.adb: Minor reformatting + + * lib-load.ads: Minor reformatting + + * sinfo.ads: Minor reformatting + +2009-04-22 Bob Duff <duff@adacore.com> + + * exp_pakd.adb: Minor comment fixes. + + * sinfo.ads, par-load.adb, sem_ch10.adb, lib-load.ads, lib-load.adb + sem_ch12.adb: Change the meaning of the Library_Unit attribute to + include units containing instantiations, as well as units that are + generic instantiations. + + * sem.adb: Include dependents and corresponding specs/bodies in the + unit walk. + + * gcc-interface/Make-lang.in: + sem now depends on s-bitops, because of the packed array of Booleans. + +2009-04-22 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/ada-tree.def: Fix formatting nits. + (REGION_STMT): Delete. + (HANDLER_STMT): Likewise. + * gcc-interface/ada-tree.h: Fix formatting nits. + (IS_STMT): Delete. + (REGION_STMT_BODY): Likewise. + (REGION_STMT_HANDLE): Likewise. + (REGION_STMT_BLOCK): Likewise. + (HANDLER_STMT_ARG): Likewise. + (HANDLER_STMT_LIST): Likewise. + (HANDLER_STMT_BLOCK): Likewise. + * gcc-interface/gigi.h (fp_prec_to_size): Update comment. + (fp_size_to_prec): Likewise. + (largest_move_alignment): Delete. + (gnat_compute_largest_alignment): Likewise. + Fix minor nits. + * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>: + Remove redundant code. + <E_Array_Type>: Remove redundant assert. + <E_Array_Subtype>: Exit early from index computation in pathological + cases. + Rewrite conditional assignment. + (make_type_from_size): Likewise. + * gcc-interface/misc.c (largest_move_alignment): Delete. + (gnat_finish_incomplete_decl): Likewise. + (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Likewise. + (asm_out_file): Likewise + (gnat_print_type) <INTEGER_TYPE>: Fall through to ENUMERAL_TYPE case. + (gnat_dwarf_name): Move around. + * gcc-interface/trans.c (Attribute_to_gnu): Fix minor nits. + (gigi): Remove call to gnat_compute_largest_alignment. + * utils.c (create_field_decl): Rewrite conditional assignment. + Fix minor nits. + +2009-04-22 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (gnat_to_gnu_entity): Compute is_type predicate + on entry. Defer common processing for types. Reorder and clean up. + Compute the equivalent GNAT node and the default size for types only. + <E_Modular_Integer_Type>: Directly use Esize for the type's precision. + <E_Access_Type>: For an unconstrained designated type, do not pretend + that a dummy type is always made. + <all> Fix nits in comments. + (validate_size): Fix formatting nits and comments. + (set_rm_size): Likewise. + * gcc-interface/utils.c (create_param_decl): Replace bogus argument + passed to TARGET_PROMOTE_PROTOTYPES hook. + +2009-04-22 Eric Botcazou <ebotcazou@adacore.com> + + * fe.h (Get_External_Name): Declare. + * gcc-interface/gigi.h (concat_id_with_name): Rename to... + (concat_name): ...this. + * gcc-interface/decl.c (gnat_to_gnu_entity): Rename gnu_entity_id to + gnu_entity_name and adjust for above renaming. + <E_Access_Type>: Use create_concat_name to get the name of the various + types associated with unconstrained array types. + (make_aligning_type): Adjust for above renaming. + (maybe_pad_type): Likewise. + (components_to_record): Likewise. Use get_identifier_with_length for + the encoding of the variant. + (get_entity_name): Use get_identifier_with_length. + (create_concat_name): Likewise. Use Get_External_Name if no suffix. + Do not fiddle with Name_Buffer. + (concat_id_with_name): Rename to... + (concat_name): ...this. Use get_identifier_with_length. Do not fiddle + with Name_Buffer. + * gcc-interface/utils.c (rest_of_record_type_compilation): Adjust for + above renaming. + +2009-04-21 Joseph Myers <joseph@codesourcery.com> + + * ChangeLog, ChangeLog.ptr, ChangeLog.tree-ssa: Add copyright and + license notices. + +2009-04-21 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/trans.c (gnat_to_gnu): Do not overwrite location info. + +2009-04-21 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/ada-tree.h (TYPE_RM_SIZE_NUM): Delete. + (TYPE_RM_SIZE): Access TYPE_LANG_SLOT_1 directly for integral types. + * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Modular_Integer_Type>: + Remove useless support code for packed array types and assert its + uselessness. + <E_Signed_Integer_Subtype>: Reuse entity identifier in more places and + adjust for TYPE_RM_SIZE change. + <all> Fix nits in comments. Use Original_Array_Type accessor instead + of Associated_Node_For_Itype accessor for packed array types. + (make_packable_type): Likewise. + (maybe_pad_type): Likewise. + (set_rm_size): Likewise. Rework conditional statement. Adjust for + TYPE_RM_SIZE change. + (make_type_from_size): Adjust for TYPE_RM_SIZE change. + (rm_size): Fix nits in comments. Rework conditional statements. + * gcc-interface/misc.c (gnat_print_type): Adjust for TYPE_RM_SIZE + change. + * gcc-interface/trans.c (Attribute_to_gnu): Fix nits in comments. + * gcc-interface/utils.c (gnat_init_decl_processing): Use more + appropriate function to initialize the size_type_node. Adjust for + TYPE_RM_SIZE change. + +2009-04-21 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (gnat_to_gnu_entity): Do not set force_global + for imported subprograms. + +2009-04-21 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Do not make + constant objects covered by 13.3(19) volatile. + +2009-04-21 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/utils.c (create_type_decl): Do not pass declarations + of dummy fat pointer types to the debug back-end. + +2009-04-20 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (gnat_to_gnu_entity): Rewrite Esize calculation. + <E_Signed_Integer_Subtype>: Set the RM size on the integer type + before wrapping it up in the record type. Do not overwrite the + Ada size of the record type with the Esize. + +2009-04-20 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/trans.c (unchecked_conversion_lhs_nop): New predicate. + (gnat_to_gnu) <N_Unchecked_Type_Conversion>: Return the expression + if the conversion is on the LHS of an assignment and a no-op. + <all> Do not convert the result to the result type if the Parent + node is such a conversion. + +2009-04-20 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/ada-tree.h (DECL_HAS_REP_P): Delete. + * gcc-interface/decl.c (gnat_to_gnu_entity): Add support for extension + of types with unknown discriminants. + (substitute_in_type): Rewrite and restrict to formal substitutions. + * gcc-interface/utils.c (create_field_decl): Do not set DECL_HAS_REP_P. + (update_pointer_to): Update comment. + +2009-04-20 Ed Schonberg <schonberg@adacore.com> + + * sem_ch8.adb (Use_One_Package): In an instance, if two + potentially_use_visible and non-overloadable homonyms are available + from the actuals of distinct formal packages, retain the current one, + which was visible in the generic, to prevent spurious visibility + errors. + (End_Use_Package): Restore use_visibility when needed. + +2009-04-20 Sergey Rybin <rybin@adacore.com> + + * gnat_ugn.texi, vms_data.ads: Update doc. + +2009-04-20 Arnaud Charlet <charlet@adacore.com> + + * gcc-interface/Make-lang.in: Update dependencies + + * gcc-interface/Makefile.in: Link run-time against winsock2 lib under + Windows. + +2009-04-20 Robert Dewar <dewar@adacore.com> + + * checks.ads: Fix documentation of range check handling + +2009-04-20 Ed Schonberg <schonberg@adacore.com> + + * sem_ch8.adb (Use_One_Type): Use proper entity on warning message for + a redundant use_type clause. + +2009-04-20 Robert Dewar <dewar@adacore.com> + + * sem_attr.adb (Eval_Attribute, case Length): Catch more cases where + this attribute can be evaluated at compile time. + (Eval_Attribute, case Range_Length): Same improvement + + * sem_eval.ads, sem_eval.adb (Compile_Time_Compare): New procedure + +2009-04-20 Ed Schonberg <schonberg@adacore.com> + + * sem_ch6.adb (Analye_Subprogram_Declaration): Code reorganization, + for better handling of null procedures. + (Check_Overriding_Indicator): Do not emit a warning on a missing + overriding indicator on an operator when the type of which the operator + is a primitive is private. + +2009-04-20 Bob Duff <duff@adacore.com> + + * sem.adb, gnat1drv.adb, debug.adb: Use the -gnatd.W switch to control + debugging output. + +2009-04-20 Robert Dewar <dewar@adacore.com> + + * sem_attr.adb: Minor reformatting + + * gnatcmd.adb: Minor reformatting + +2009-04-20 Ed Schonberg <schonberg@adacore.com> + + * sem_ch4.adb (Analyze_User_Defined_Binary_Op): If left operand is + overloaded and one interpretation matches the context, label the + operand with the type of first formal. + +2009-04-20 Bob Duff <duff@adacore.com> + + * debug.ads: Minor comment fix. + + * debug.adb: Minor comment fixes. + +2009-04-20 Javier Miranda <miranda@adacore.com> + + * rtsfind.ads (RE_Null_Id): New entity of package Ada.Exceptions + + * exp_ch6.adb (Expand_Inlined_Call): Undo previous patch. + + * exp_ch11.adb (Expand_N_Raise_Statement): When the raise stmt + is expanded into a call to Raise_Exception, avoid passing the + exception-name'identity in runtimes in which this argument + is not used. + +2009-04-20 Jerome Lambourg <lambourg@adacore.com> + + * impunit.adb: Add i-cil and i-cilobj packages, now needed by the + generated bindings for cil. + +2009-04-20 Ed Schonberg <schonberg@adacore.com> + + * sem_aggr.adb (Resolve_Record_Aggregate): If the type has unknown + discriminants, collect components from the Underlying_Record_View, + which will be used in the expansion of the aggregate into assignments. + + * sem_ch3.adb: Do not label derived type with unknown discriminants as + having a private declaration. + +2009-04-20 Ed Schonberg <schonberg@adacore.com> + + * exp_util.adb (Expand_Subtype_From_Expr): use the + underlying_record_view when available, to create the proper constrained + subtype for an object of a derived type with unknown discriminants. + +2009-04-20 Javier Miranda <miranda@adacore.com> + + * exp_ch6.adb (Expand_Inlined_Call): Avoid generation of temporaries for + formals that have pragma unreferenced. + +2009-04-20 Pascal Obry <obry@adacore.com> + + * a-direct.adb (To_Lower_If_Case_Insensitive): Removed. + Remove all calls to To_Lower_If_Case_Insensitive to preserve + the pathname original casing. + +2009-04-20 Robert Dewar <dewar@adacore.com> + + * g-trasym.adb: Minor reformatting + + * s-os_lib.adb: Minor reformatting + + * sem.adb: Minor reformatting + Minor code reorganization + + * sem_ch3.adb: Minor reformatting + + * sem_ch4.adb: Minor reformatting + + * sem_ch8.adb: Minor reformatting + + * sem_type.adb: Minor reformatting + +2009-04-20 Javier Miranda <miranda@adacore.com> + + * sem_disp.adb (Find_Dispatching_Type): For subprograms internally + generated by derivations of tagged types use the aliased subprogram a + reference to locate their controlling type. + +2009-04-20 Tristan Gingold <gingold@adacore.com> + + * g-trasym.adb: Set size of result buffer before calling + convert_address. + +2009-04-20 Ed Schonberg <schonberg@adacore.com> + + * sem_ch4.adb (Valid_Candidate): When checking whether a prefixed call + to a function returning an array can be interpreted as a call with + defaulted parameters whose result is indexed, take into account the + types of all the indices of the array result type. + +2009-04-20 Pascal Obry <obry@adacore.com> + + * a-direct.adb, s-os_lib.adb: Minor reformatting. + +2009-04-20 Ed Schonberg <schonberg@adacore.com> + + * sem_ch8.adb (Analyze_Object_Renaming): Proper checks on incorrect + null exclusion qualifiers for object renaming declarations. + +2009-04-20 Nicolas Roche <roche@adacore.com> + + * sysdep.c (__gnat_localtime_tzoff): on Windows, manipulated times are + unsigned long long. So compare local_time and utc_time before computing + the difference. + +2009-04-20 Eric Botcazou <ebotcazou@adacore.com> + + * sem_ch3.adb (Build_Derived_Private_Type): Insert the declaration + of the Underlying_Record_View before that of the derived type. + + * exp_ch3.adb (Expand_Record_Extension): Do not special-case types + with unknown discriminants with regard to the parent subtype. + +2009-04-20 Bob Duff <duff@adacore.com> + + * sem.adb (Semantics, Walk_Library_Items): Include dependents of bodies + that are not included. This is necessary if the main unit is a generic + instantiation. + + * gnat1drv.adb (Gnat1drv): Comment out the call to Check_Library_Items, + because it doesn't work if -gnatn is used. + +2009-04-20 Ed Schonberg <schonberg@adacore.com> + + * rtsfind.adb (RTE, RTE_Record_Component): In + Configurable_Run_Time_Mode, do not enable front-end inlining. + +2009-04-20 Thomas Quinot <quinot@adacore.com> + + * g-socthi-vms.adb: Remove now unnecessary WITH clause on + System.Address_To_Access_Conversions. + +2009-04-20 Ed Schonberg <schonberg@adacore.com> + + * sem.adb: Guard against ill-formed subunits. + +2009-04-20 Bob Duff <duff@adacore.com> + + * output.adb (Flush_Buffer): Do not indent blank lines. + (Ignore_Output): New procedure for output suppression. + +2009-04-20 Hristian Kirtchev <kirtchev@adacore.com> + + * a-calfor.adb (Image): Subtract 0.5 from the sub second component only + when it is positive. This avoids a potential constraint error raised + by the conversion to Natural. + +2009-04-20 Gary Dismukes <dismukes@adacore.com> + + * exp_ch5.adb (Expand_Assign_Array): For the case where the assignment + involves a target that has a specified address, don't set Forward_OK + and Backward_OK to False if the rhs is an aggregate, since overlap + can't occur. + +2009-04-20 Ed Schonberg <schonberg@adacore.com> + + * sem_ch8.adb (Analyze_Object_Renaming): Reject ambiguous expressions + in an object renaming declaration when the expected type is an + anonymous access type. + + * sem_type.adb (Disambiguate): Use anonymousness to resolve a potential + ambiguity when one interpretation is an anonymous access type and the + other is a named access type, and the context itself is anonymous + +2009-04-20 Thomas Quinot <quinot@adacore.com> + + * einfo.ads: Minor comment rewording + + * sem_aggr.adb: Minor comment rewording + + * sem_ch3.adb, sem_ch6.adb: Minor reformatting + +2009-04-20 Pascal Obry <obry@adacore.com> + + * adaint.c (__gnat_is_readable_file): Check for file existence + when not using ACL (always the case on remote drives). + +2009-04-20 Robert Dewar <dewar@adacore.com> + + * sinfo.ads: Minor comment fixes + + * exp_disp.adb: Minor reformatting + + * gnat1drv.adb: Minor reformatting + + * output.adb: Minor reformatting + + * s-vxwext-kernel.ads: Minor reformatting + + * sem.ads: Minor reformatting + + * sem.adb: Minor reformatting + + * sem_elim.adb: Minor reformatting + + * uname.ads: Minor reformatting + +2009-04-20 Eric Botcazou <ebotcazou@adacore.com> + + * init.c (__gnat_adjust_context_for_raise): On x86{-64}/Linux, add + a small dope of 4 words to the adjustment to the stack pointer. + +2009-04-20 Thomas Quinot <quinot@adacore.com> + + * xoscons.adb: generate C header s-oscons.h in + addition to s-oscons.ads. + + * socket.c: On VMS, use s-oscons.h. + + * sem_ch3.adb: Minor reformatting + + * exp_ch9.adb: Minor reformatting + +2009-04-20 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/trans.c (check_for_eliminated_entity): Remove. + (Attribute_to_gnu): Do not call check_for_eliminated_entity. + (call_to_gnu): Likewise. + +2009-04-20 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/trans.c (gigi): Declare the name of the compilation + unit as the first global name at the very beginning. + +2009-04-20 Thomas Quinot <quinot@adacore.com> + + * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.ads, + s-oscons-tmplt.c, gsocket.h, g-socthi-mingw.ads, g-socthi.ads, + g-sothco.ads (__gnat_inet_pton): Needs to be enabled for HP-UX as well, + since HP-UX supports neither inet_aton nor inet_pton (altough the + latter is part of the Single UNIX Specification!). + So reorganize code, and share C implementation based on inet_addr(3) + with VMS (instead of having a VMS specific Ada implementation in + g-socthi-vms.adb). + +2009-04-20 Gary Dismukes <dismukes@adacore.com> + + * osint-c.ads, osint-c.adb (Get_Object_Output_File_Name): New function + to return the object file name saved by Set_Object_Output_File_Name. + +2009-04-20 Emmanuel Briot <briot@adacore.com> + + * g-comlin.adb (Initialize_Option_Scan): Fix initialization of parsers + for the standard command line, when argc has been modified since the + start of the application. + +2009-04-20 Thomas Quinot <quinot@adacore.com> + + * socket.c (__gnat_inet_pton, Windows case): Adjust return value. + WSAStringToAddress returns 0 for success and SOCKET_ERROR for failure. + +2009-04-20 Bob Duff <duff@adacore.com> + + * gnat1drv.adb (Gnat1drv): Put call to Check_Library_Items inside + pragma Debug. + +2009-04-20 Ed Schonberg <schonberg@adacore.com> + + * exp_ch9.adb (Build_Protected_Sub_Specification): Mark generated + subprogram as Eliminated when source operation is. + (Expand_N_Protected_Type_Declaration): Generate protected and + unprotected specs for the internal operations, even if the source + operation is eliminated. + +2009-04-20 Hristian Kirtchev <kirtchev@adacore.com> + + * exp_ch3.adb (Make_Predefined_Primitive_Specs, + Predefined_Primitive_Bodies): Do not create the declarations and bodies + of the primitive subprograms associated with dispatching select + statements when the runtime is in configurable mode. + +2009-04-20 Ed Falis <falis@adacore.com> + + * s-vxwext-kernel.ads (tickGet): Use tick64Get. + +2009-04-20 Thomas Quinot <quinot@adacore.com> + + * s-oscons-tmplt.c: Add support for generating a dummy version of + s-oscons.ads providing all possible constants. + + * g-socthi-mingw.ads: Fix calling convention for __gnat_inet_pton. + + * socket.c (__gnat_inet_pton): On Windows make sure we always use the + ANSI version (not the UNICODE version) of WSAStringToAddress. + +2009-04-20 Pascal Obry <obry@adacore.com> + + * adaint.c (__gnat_set_OWNER_ACL): properly free memory + allocated for the security descriptor and make sure all + handles are closed before leaving this procedure. + +2009-04-20 Javier Miranda <miranda@adacore.com> + + * einfo.ads, einfo.adb (Is_Underlying_Record_View): New subprogram + (Set_Is_Underlying_Record_View): New subprogram + + * sem_aggr.adb (Discr_Present, Resolve_Record_Aggregate): In case of + private types with unknown discriminants use the underlying record view + if available. + + * sem_ch3.adb (Build_Derived_Private_Type): Enable construction of the + underlying record view in the full view of private types whose parent + has unknown discriminants. + (Build_Derived_Record_Type): Avoid generating the class-wide entity + associated with an underlying record view. + (Derived_Type_Declaration): Avoid deriving parent primitives in + underlying record views. + + * sem_ch6.adb (Check_Return_Subtype_Indication): Add support for + records with unknown discriminants. + + * sem_type.adb (Covers): Handle underlying record views. + (Is_Ancestor): Add support for underlying record views. + + * exp_attr.adb (Expand_Attribute): Expand attribute 'size into a + dispatching call if the type of the target object is tagged and has + unknown discriminants. + + * exp_aggr.adb (Resolve_Record_Aggregate): Add support for records with + unknown discriminants. + + * exp_disp.adb (Build_Dispatch_Tables): Avoid generating dispatch + tables for internally built underlying record views. + + * sprint.adb (sprint_node_actual): Improve output of aggregates with an + empty list of component associations. + +2009-04-20 Thomas Quinot <quinot@adacore.com> + + * sem_ch10.adb: Minor reformatting + + * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.ads, + g-socthi-mingw.ads, g-socthi.ads, g-socket.adb + (GNAT.Sockets.Inet_Addr): Do not use non-portable inet_aton, instead use + standard inet_pton API (and emulate it on platforms that do not + support it). + (GNAT.Sockets.Thin.Inet_Pton, VMS case): Implement in terms of + DECC$INET_ADDR, imported in Ada. + (GNAT.Sockets.Thin.Inet_Pton, VxWorks and Windows cases): Use C + implementation provided by GNAT runtime. + (__gnat_inet_pton): C implementation of inet_pton(3) for VxWorks and + Windows. + +2009-04-20 Eric Botcazou <ebotcazou@adacore.com> + + * gnat_ugn.texi: Add documentation for -fno-ivopts. + +2009-04-20 Ed Schonberg <schonberg@adacore.com> + + * sem_ch10.adb (Analyze_Context): Do not analyze a unit in a + with_clause if it is the main unit. + +2009-04-20 Thomas Quinot <quinot@adacore.com> + + * sem_type.adb, ali.adb, erroutc.adb: Minor code reorganization + (no behaviour change): Use Append instead of Increment_Last followed + by assignment. + +2009-04-20 Hristian Kirtchev <kirtchev@adacore.com> + + * exp_ch3.adb (Make_Predefined_Primitive_Specs): Do not generate the + declarations of all primitives associated with dispatching asynchronous, + conditional and timed selects when dispaching calls are forbidden and + select statements are not allowed (such as in Ravenscar). + (Predefined_Primitive_Bodies): Ditto for bodies. + + * exp_disp.ad (Make_DT): Do not create and populate the + Select_Specific_Data of the dispatch table when dispatching calls are + forbidden and select statements are not allowed (such as in Ravenscar). + +2009-04-20 Robert Dewar <dewar@adacore.com> + + * a-tifiio.adb: Minor reformatting + +2009-04-20 Thomas Quinot <quinot@adacore.com> + + * g-socthi-vms.adb, g-socket.adb, g-socket.ads: inet_aton(3), unlike + other C library functions, report *failure* with a zero status, and + success with a non-zero status. + +2009-04-20 Bob Duff <duff@adacore.com> + + * sem.ads, sem.adb (Walk_Library_Items): New generic procedure. + (Semantics): After analyzing each unit, Append it to the + Comp_Unit_List, if appropriate. + + * gnat1drv.adb (Check_Library_Items): New procedure for debugging + purposes. + (Gnat1drv): Correct comment regarding Back_End_Mode. + +2009-04-20 Eric Botcazou <ebotcazou@adacore.com> + + * gnat_ugn.texi: Add documentation for -fno-inline-small-functions. + +2009-04-20 Thomas Quinot <quinot@adacore.com> + + * s-taprop-irix.adb, s-taprop-tru64.adb, s-taprop-vms.adb, + output.adb, output.ads, s-taprop-hpux-dce.adb, + s-taprop-linux.adb, s-taprop-solaris.adb, s-taprop-posix.adb: Minor + reformatting. + +2009-04-20 Thomas Quinot <quinot@adacore.com> + + * g-socket.adb, g-socket.ads, g-socthi-mingw.ads, g-socthi-vms.adb, + g-socthi-vms.ads, g-socthi-vxworks.ads, g-socthi.ads + (GNAT.Sockets.Thin.C_Inet_Addr): Remove. + (GNAT.Sockets.Thin.Inet_Aton): New function, imported from C library + except for VMS where it is reimplemented in Ada using DECC$INET_ADDR. + (GNAT.Sockets.Inet_Addr): Use inet_aton(3) instead of inet_addr(3). + + * debug.adb: Fix typo + + * gnat_rm.texi: Minor doc fix. + + * sem_ch7.adb, freeze.adb: Minor reformatting + +2009-04-20 Thomas Quinot <quinot@adacore.com> + + * g-socket.ads: Add new constants: + Loopback_Inet_Addr + Unspecified_Group_Inet_Addr + All_Hosts_Group_Inet_Addr + All_Routers_Group_Inet_Addr + + * s-oscons-tmplt.c, g-sttsne-vxworks.adb (System.OS_Constants): Add + ERANGE (Result too large). + (GNAT.Sockets.Thin.Task_Safe_NetDB, VxWorks version): Add missing + propagation of errno to caller. + +2009-04-20 Hristian Kirtchev <kirtchev@adacore.com> + + * a-calend.adb, a-calend-vms.adb: Increase the number of leap seconds + to 24. Increment Leap_Seconds_Count and add an entry to aggregate + Leap_Second_Times. + +2009-04-20 Gary Dismukes <dismukes@adacore.com> + + * sem_elim.ads (Check_For_Eliminated_Subprogram): New procedure for + checking for references to eliminated subprograms that should be + flagged. + (Eliminate_Error_Message): Update comment to say "references" rather + than "calls" (since attribute cases are handled here as well). + + * sem_elim.adb (Check_For_Eliminated_Subprogram): New procedure for + checking for references to eliminated subprograms that should be + flagged. Add with and use of Sem and Sem_Util. + + * sem_res.adb (Resolve_Call): Reject calls to eliminated subprograms. + Add with and use of Sem_Elim. + + * sem_attr.adb (Analyze_Access_Attribute): Reject access attributes + applied to eliminated subprograms. + (Analyze_Attribute): Reject 'Address and 'Code_Address applied to + eliminated subprograms. + Add with and use of Sem_Elim. + + * sem_disp.adb (Check_Dispatching_Call): Remove error check for calls + to eliminated subprograms, now handled during Resolve_Call. + Remove with and use of Sem_Elim. + + * exp_disp.adb (Make_DT): Get Ultimate_Alias of primitive before + testing Is_Eliminated, for proper handling of primitive derived from + eliminated subprograms. + +2009-04-20 Vincent Celier <celier@adacore.com> + + * mlib-prj.adb (Build_Library): Use the shared library linker, if one + has been declared (Library_GCC or Linker'Driver), for the driver name. + + * prj-nmsc.adb (Process_Linker): If Library_GCC is not declared and + Linker'Driver is, use Linker'Driver as the shared library linker. + (Process_Project_Level_Simple_Attributes): Issue a warning if attribute + Library_GCC is declared. + (Check_Library_Attributes): Set up the shared linker driver: either + Library_GCC or Linker'Driver. Issue a warning if Library_GCC is + declared. + +2009-04-20 Thomas Quinot <quinot@adacore.com> + + * g-socket.ads (Send_Socket): Fix misleading comment. + +2009-04-20 Arnaud Charlet <charlet@adacore.com> + + * switch-c.adb (Scan_Front_End_Switches): Disable inspector mode in + ASIS mode. + +2009-04-20 Geert Bosch <bosch@adacore.com> + + * a-tifiio.adb (Put): Avoid generating too many digits for certain + fixed types with smalls that are neither integer or the reciprocal + of an integer. + +2009-04-20 Bob Duff <duff@adacore.com> + + * uname.ads: Minor comment fix. + + * types.ads: Minor comment fix. + +2009-04-20 Pascal Obry <obry@adacore.com> + + * adaint.c (__gnat_get_libraries_from_registry): Fix code to + avoid warning. At the same time fix a memory leak. + + * osint.adb (Get_Libraries_From_Registry): Properly free memory + returned by the above routine. + +2009-04-20 Robert Dewar <dewar@adacore.com> + + * s-conca5.adb, s-conca5.ads, s-conca7.adb, s-conca7.ads, s-conca9.adb, + s-conca9.ads, rtsfind.ads, s-conca2.adb, s-conca2.ads, s-conca4.adb, + s-conca4.ads, s-conca6.adb, s-conca6.ads, s-conca8.adb, s-conca8.ads, + s-conca3.adb, s-conca3.ads (Str_Concat_Bounds_x): New functions. + + * exp_ch4.adb (Expand_Concatenate): Minor code reorganization + +2009-04-20 Pascal Obry <obry@adacore.com> + + * initialize.c (__gnat_initialize): Add braces to kill warning. + + * adaint.c: Minor reformatting, remove trailing spaces. + +2009-04-17 Arnaud Charlet <charlet@adacore.com> + + * gcc-interface/Make-lang.in: Update dependencies. + +2009-04-20 Eric Botcazou <ebotcazou@adacore.com> + + * adaint.h (__gnat_lwp_self): Declare on Linux. + + * adaint.c (__gnat_os_filename): Add ATTRIBUTE_UNUSED on 'filename'. + +2009-04-20 Robert Dewar <dewar@adacore.com> + + * exp_ch5.adb, usage.adb, back_end.adb, opt.ads: Implement + front-end part of -fpreserve-control-flow switch. + +2009-04-20 Bob Duff <duff@adacore.com> + + * rtsfind.adb: Minor comment fix + +2009-04-20 Robert Dewar <dewar@adacore.com> + + * exp_aggr.adb: Minor reformatting + Minor code reorganization (use Nkind_In) + + * g-socket.adb: Minor reformatting + + * g-socket.ads: Minor comment fix + + * s-auxdec.ads: Minor comment and organization update. + + * s-auxdec-vms_64.ads: Minor comment and organization update. + + * sem_ch10.adb: Minor addition of ??? comment + + * sem_disp.adb: Minor reformatting + +2009-04-20 Ed Schonberg <schonberg@adacore.com> + + * inline.adb (Add_Inlined_Subprogram): Do not place on the back-end + list a caller of an inlined subprogram, if the caller itself is not + called. + +2009-04-20 Pascal Obry <obry@adacore.com> + + * adaint.c: Disable use of ACL on network drives. + +2009-04-20 Arnaud Charlet <charlet@adacore.com> + + * gnat_ugn.texi: Add examples. + +2009-04-20 Thomas Quinot <quinot@adacore.com> + + * g-socket.ads (Abort_Selector): Clarify documentation. + +2009-04-20 Arnaud Charlet <charlet@adacore.com> + + * opt.ads (Inspector_Mode): Update documentation of this flag. + +2009-04-20 Thomas Quinot <quinot@adacore.com> + + * g-socket.ads: Minor reformatting + + * socket.c, gsocket.h (__gnat_get_h_errno, VxWorks case): No need to + consider S_resolvLib error codes since we only use the hostLib wrappers. + +2009-04-20 Eric Botcazou <ebotcazou@adacore.com> + + * sem_ch3.adb (Build_Derived_Private_Type): Insert the declaration + of the Underlying_Record_View after that of the derived type. + +2009-04-20 Arnaud Charlet <charlet@adacore.com> + + * switch-c.adb (Scan_Front_End_Switches): Disable front-end inlining + in inspector mode. + +2009-04-20 Javier Miranda <miranda@adacore.com> + + * sem_ch6.adb (New_Overloaded_Entity): Minor reformating. + + * sem_ch6.ads (Subtype_Conformant, Type_Conformant): Add missing + documentation. + + * exp_aggr.adb (Build_Record_Aggr_Code): Code cleanup. + + * sem_disp.adb + (Check_Dispatching_Operation): Set attribute Is_Dispatching_Operation + in internally built overriding subprograms. + +2009-04-20 Doug Rupp <rupp@adacore.com> + + * s-auxdec-vms_64.ads (Integer_{8,16,32,64}_Array): New array types. + + * s-auxdec.ads: Likewise + +2009-04-20 Ed Schonberg <schonberg@adacore.com> + + * sem_ch3.adb (Find_Type_Name): Reject the completion of a private + type by an interface. + + * exp_ch6.adb (Expand_Call): Inline To_Address unconditionally, to + minimze difference in expanded tree when compiled as spec of the main + unit, or as a spec in the context of another unit. + +2009-04-20 Hristian Kirtchev <kirtchev@adacore.com> + + * a-calend.adb: Remove types char_Pointer, int, tm and tm_Pointer. + (localtime_tzoff): This routine no longer accepts an actual of type + tm_Pointer. + (UTC_Time_Offset): Remove local variable Secs_TM. + + * sysdep.c (__gnat_localtime_tzoff): This routine no longer accepts an + actual of type struct tm*. Add local variable of type struct tm for all + targets that provide localtime_r and need to invoke it. + +2009-04-20 Thomas Quinot <quinot@adacore.com> + + * s-oscons-tmplt.c, g-socket.adb, g-socket.ads + (GNAT.Sockets.Resolve_Error): Add case of EPIPE + Add case of EAGAIN for platforms where it is not equal to EWOULDBLOCK + +2009-04-20 Robert Dewar <dewar@adacore.com> + + * sem_ch3.adb: Minor reformatting + + * lib-load.adb: Minor reformatting + + * sem_ch4.adb: Minor reformatting + +2009-04-20 Robert Dewar <dewar@adacore.com> + + * namet-sp.ads, namet-sp.adb (Is_Bad_Spelling_Of): Implement new spec + (equal values => False). + +2009-04-20 Ed Schonberg <schonberg@adacore.com> + + * exp_ch6.adb (Is_Null_Procedure): predicate is global, so that calls + to null procedures can be inlined unconditionally. + +2009-04-20 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/trans.c (call_to_gnu): When creating the copy for a + non-addressable parameter passed by reference, do not convert the + actual if its type is already the nominal type, unless it is of + self-referential size. + +2009-04-20 Arnaud Charlet <charlet@adacore.com> + + * gnat_ugn.texi: Fix typos. + +2009-04-20 Robert Dewar <dewar@adacore.com> + + * debug.adb, gnat1drv.adb, sem_ch13.adb: Add circuitry to + Validate_Unchecked_Warnings to suppress warnings about size or + alignment or extra bits if either type involved has pragma Warnings + (Off) set for the type entity. + +2009-04-19 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/trans.c (gigi): Make the special IA-64 descriptor type + a builtin type and give it a name. + +2009-04-17 Diego Novillo <dnovillo@google.com> + + * gcc-interface/misc.c (gnat_expand_expr): Remove. + (LANG_HOOKS_EXPAND_EXPR): Remove. + +2009-04-17 Robert Dewar <dewar@adacore.com> + + * sem_ch3.adb: Minor reformatting + +2009-04-17 Pascal Obry <obry@adacore.com> + + * adaint.c: Add __gnat_use_acl global variable to control use of ACL. + +2009-04-17 Ed Schonberg <schonberg@adacore.com> + + * sem_ch3.adb (Build_Derived_Enumeration_Type): Diagnose properly + illegal constraints on type derived from formal discrete types. + +2009-04-17 Thomas Quinot <quinot@adacore.com> + + PR ada/35953 + + * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, + g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads, + g-socthi.adb, g-stsifd-sockets.adb, g-socthi.ads, g-socket.adb, + g-socket.ads (GNAT.Sockets.Thin.C_Send, + GNAT.Sockets.Thin.Syscall_Send): Remove unused subprograms. + Replace calls to send(2) with equivalent sendto(2) calls. + (GNAT.Sockets.Send_Socket): Factor common code in inlined subprogram. + (GNAT.Sockets.Write): Account for the case of hyper-empty arrays, do not + report an error in that case. Factor code common to the two versions + (datagram and stream) in common routine Stream_Write. + +2009-04-17 Robert Dewar <dewar@adacore.com> + + * exp_disp.adb: Minor reformatting + Minor code reorganization (use Nkind_In) + + * prepcomp.adb: Minor reformatting + + * sem_ch3.adb: Minor reformatting + + * sem_res.adb: Minor comment addition + + * exp_ch5.adb (Expand_Assign_Array): Use Has_Address_Clause to test + for address clause + + * lib-xref.adb (Generate_Reference): Exclude recursive calls from + setting Is_Referenced + + * types.ads: Minor reformatting + +2009-04-17 Arnaud Charlet <charlet@adacore.com> + + * gnat_ugn.texi: Initial documentation on binding generator. + +2009-04-17 Ed Schonberg <schonberg@adacore.com> + + * einfo.ads, einfo.adb: New attribute Underlying_Record_View, to handle + type extensions whose parent is a type with unknown discriminants. + + * exp_aggr.adb (Expand_Record_Aggregate): If the type of an extension + aggregate has unknown discriminants, use the Underlying_Record_View to + obtain the discriminants of the ancestor part. + + * exp_disp.adb (Build_Dispatch_Tables): Types that are + Underlying_Record_Views share the dispatching information of the + original record extension. + + * exp_ch3.adb (Expand_Record_Extension): If the type inherits unknown + discriminants, propagate dispach table information to the + Underlying_Record_View. + + * sem_ch3.adb (Build_Derived_Private_Type): If parent type has unknown + discriminants and declaration is not a completion, generate + Underlying_Record_View to provide proper discriminant information to + the front-end and to gigi. + +2009-04-17 Robert Dewar <dewar@adacore.com> + + * s-conca5.adb, g-sercom.adb, s-conca5.ads, s-conca7.adb, exp_imgv.adb, + s-conca7.ads, s-crc32.adb, s-crc32.ads, s-conca9.adb, s-conca9.ads, + s-addope.adb, i-cstrin.ads, s-addope.ads, s-carun8.adb, s-carun8.ads, + g-htable.ads, g-hesora.adb, g-hesora.ads, s-htable.adb, s-htable.ads, + s-conca2.adb, s-conca2.ads, a-except.adb, s-conca4.adb, a-except.ads, + s-conca4.ads, s-except.adb, s-except.ads, s-conca6.adb, s-conca6.ads, + g-spchge.adb, g-spchge.ads, g-u3spch.adb, g-u3spch.ads, s-conca8.adb, + s-conca8.ads, g-byorma.adb, g-byorma.ads, s-memory.adb, s-memory.ads, + g-speche.adb, g-speche.ads, g-stsifd-sockets.adb, exp_dist.adb, + s-imgenu.adb, s-imgenu.ads, s-mastop.adb, s-mastop.ads, s-exctab.adb, + s-exctab.ads, s-imenne.adb, s-imenne.ads, s-casuti.adb, osint.adb, + s-assert.adb, s-casuti.ads, s-assert.ads, s-os_lib.adb, s-conca3.adb, + s-conca3.ads: Remove unneeded pragma Warnings + +2009-04-17 Robert Dewar <dewar@adacore.com> + + * g-moreex.adb: Add comments. + + * s-auxdec.ads: Add ??? comment for uncommented pragma Warnings (Off) + + * s-auxdec-vms_64.ads: Add ??? comment for uncommented pragma + Warnings (Off) + + * prepcomp.adb: Add ??? comment + + * a-tasatt.adb: Minor reformatting + + * g-trasym-vms-alpha.adb: Add ??? comment + + * g-trasym-vms-ia64.adb: Add ??? comment + + * xoscons.adb: Minor reformatting + + * s-tassta.adb: Minor reformatting + + * s-scaval.adb: Add ??? comment + + * stand.ads: Minor code clean up (remove junk with of Namet) + + * s-strcom.adb, s-strcom.ads, s-string.adb, s-string.ads, s-sopco3.adb, + s-sopco3.ads, s-strops.adb, s-strops.ads, s-sopco5.adb, s-sopco5.ads, + s-wchcnv.adb, s-wchcnv.ads, s-ststop.adb, s-ststop.ads, s-soflin.adb, + s-soflin.ads, s-traceb.adb, s-traceb.ads, s-traent.adb, s-traent.ads, + s-secsta.adb, s-secsta.ads, s-utf_32.adb, s-utf_32.ads, s-wchcon.adb, + s-wchjis.adb, s-wchcon.ads, s-wchjis.ads, s-sopco4.adb, s-sopco4.ads, + s-stache.adb, s-stache.ads, s-stoele.adb, s-stoele.ads, s-stalib.adb, + s-stalib.ads, s-os_lib.ads, s-purexc.ads: Remove no longer needed + Warnings off pragmas. + +2009-04-17 Pascal Obry <obry@adacore.com> + + * initialize.c: Fix test for reallocating the arguments array. + +2009-04-17 Geert Bosch <bosch@adacore.com> + + * exp_fixd.adb (Expand_Convert_Float_To_Fixed): Have float to fixed + conversion truncate only for decimal fixed point types. + +2009-04-17 Jerome Lambourg <lambourg@adacore.com> + + * g-comlin.adb (Initialize_Scan_Option): Make sure the sections are + reinitialized. + +2009-04-17 Robert Dewar <dewar@adacore.com> + + * exp_ch5.adb (Expand_Assign_Array): Do not set Forwards_OK and + Backwards_OK if either operand has an address clause. + +2009-04-17 Pascal Obry <obry@adacore.com> + + * initialize.c: Code clean up, use realloc. + +2009-04-17 Pascal Obry <obry@adacore.com> + + * initialize.c: Do not get Unicode command line if Unicode support not + activated. + Add support for wildcard expansion for Unicode parameters on Win32. + + * mingw32.h: Add missing macros when Unicode support not activated. + +2009-04-17 Javier Miranda <miranda@adacore.com> + + * sem_ch6.adb (Check_Anonymous_Return): Add missing checks to + avoid generating code that references the Current_Master + when compiling without tasks. + +2009-04-17 Vincent Celier <celier@adacore.com> + + * prj-attr.adb: New project level attribute Target + + * prj-nmsc.adb (Process_Project_Level_Simple_Attributes): Process + attribute Target + + * prj.ads (Project_Configuration): New component Target + +2009-04-17 Thomas Quinot <quinot@adacore.com> + + * exp_ch7.adb (Expand_Ctrl_Function_Call): Remove incorrect special + case for the case of an aggregate component, the attach call for the + result is actually needed. + + * exp_aggr.adb (Backend_Processing_Possible): Backend processing for + an array aggregate must be disabled if the component type requires + controlled actions. + + * exp_ch3.adb: Minor reformatting + +2009-04-17 Bob Duff <duff@adacore.com> + + * output.ads (Indent,Outdent): New procedures for indenting the output. + (Write_Char): Correct comment -- LF _is_ allowed. + + * output.adb (Indent,Outdent): New procedures for indenting the output. + Keep track of the indentation level, and make sure it doesn't get too + high. + (Flush_Buffer): Insert spaces at the beginning of each line, if + indentation level is nonzero. + (Save_Output_Buffer,Restore_Output_Buffer): Save and restore the current + indentation level. + (Set_Standard_Error,Set_Standard_Output): Remove superfluous + "Next_Col := 1;". Flush_Buffer does that. + + * sem_ch6.adb, sem_ch7.adb (Debug_Flag_C): Reorganize the output + controlled by the -gnatdc switch. It now occurs on entry/exit to the + relevant analysis routines, and calls Indent/Outdent to make the + indentation reflect the nesting level. Add "helper" routines, since + otherwise lots of "return;" statements would skip the debugging output. + +2009-04-17 Arnaud Charlet <charlet@adacore.com> + + * s-taprop-tru64.adb, s-taprop-vms.adb, s-taprop-linux.adb, + s-taprop-solaris.adb, s-taprop-irix.adb, s-taprop-hpux-dce.adb, + s-taprop-posix.adb (Suspend_Until_True): Protect against early wakeup. + +2009-04-17 Thomas Quinot <quinot@adacore.com> + + * exp_aggr.adb: Minor code reorganization, no behaviour change. + +2009-04-17 Ed Schonberg <schonberg@adacore.com> + + * sem_ch8.adb (Use_One_Type): Handle properly a redundant use type + clause in a unit that is a package body or a subunit, when the previous + clause appears in a spec or a parent. + +2009-04-17 Thomas Quinot <quinot@adacore.com> + + * sinfo.ads, exp_aggr.adb, exp_aggr.ads: Minor reformatting + + * exp_ch7.adb: Minor reformatting + +2009-04-17 Bob Duff <duff@adacore.com> + + * exp_ch4.adb (Expand_Allocator_Expression): In an initialized + allocator, check that the expression of the qualified expression obeys + the constraints of the subtype of the qualified expression. + +2009-04-17 Thomas Quinot <quinot@adacore.com> + + * sprint.adb (Write_Itype): Add handling of enumeration subtypes. + +2009-04-17 Ed Schonberg <schonberg@adacore.com> + + * exp_ch4.adb (Expand_Allocator_Expression): Apply constraint check to + aggregate, using context imposed by subtype mark in allocator. + +2009-04-17 Pascal Obry <obry@adacore.com> + + * gnat_rm.texi: Document GNAT_CODE_PAGE environment variable + +2009-04-17 Nicolas Roche <roche@adacore.com> + + * initialize.c (__gnat_initialize): remove MAX_PATH limitation on each + argument length. + +2009-04-17 Gary Dismukes <dismukes@adacore.com> + + * sem_elim.adb (Eliminate_Error_Msg): Minor change to error message to + cover both calls and attribute references ("call" => "reference"). + +2009-04-17 Ed Schonberg <schonberg@adacore.com> + + * sem_ch3.adb (Analyze_Subtype_Declaration): A subtype of an access + type for which Storage_Size is set to 0 is legal in a pure unit. + +2009-04-17 Thomas Quinot <quinot@adacore.com> + + * exp_ch7.adb: Minor reformatting + +2009-04-17 Robert Dewar <dewar@adacore.com> + + * restrict.adb (Check_Restriction_No_Dependence): Don't check + restriction if outside main extended source unit. + + * sem_ch10.adb (Analyze_With_Clause): Check No_Dependence restriction + for parents of child units as well as the child unit itself. + +2009-04-17 Bob Duff <duff@adacore.com> + + * checks.ads: Minor comment fix + + * exp_aggr.ads: Minor comment fix + +2009-04-17 Nicolas Roche <roche@adacore.com> + + * adaint.c: Improve cross compiler detection and handling. + +2009-04-17 Eric Botcazou <ebotcazou@adacore.com> + + * exp_ch4.adb (Expand_Concatenation): Do not use calls at -Os. + +2009-04-17 Pascal Obry <obry@adacore.com> + + * mingw32.h: Add S2WSC and WS2SC macros to convert to/from + CurrentCodePage. + + * adaint.h: Encoding_Unspecified is now defined. Corresponds to the + value when no encoding form paramter is set on Text_IO services. + + * adaint.c: CurrentCodePage new variable on Windows. + Use new macros S2WSC and WS2SC instead of the UTF-8 oriented + ones. + + * mkdir.c: Use new macros S2WSC and WS2SC instead of the UTF-8 oriented + ones. + + * initialize.c: Initialize CurrentCodePage depending on GNAT_CODE_PAGE + environment variable value. Default is UTF-8. + + * s-crtl.ads: Filename_Encoding add Unspecified in the enumeration type. + fopen and freopen encoding parameter is now set to Unspecified. + The default value is in this case UTF-8 (as it was before) but + use the new macros that convert to/from the code page set + at runtime (CurrentCodePage). + + * s-fileio.adb: When no encoding specified use Unspecified value. + +2009-04-17 Ed Schonberg <schonberg@adacore.com> + + * atree.adb, atree.ads: Remove dead code. + +2009-04-17 Arnaud Charlet <charlet@adacore.com> + + * gcc-interface/Make-lang.in: Update dependencies. + +2009-04-17 Ed Schonberg <schonberg@adacore.com> + + * sem_ch3.adb (Access_Subprogram_Definition): Additional checks on + illegal uses of incomplete types in formal parts and return types. + + * sem_ch6.adb (Process_Formals): Taft-amendment types are legal in + access to subprograms. + + * sem_ch7.adb (Uninstall_Declarations): diagnose attempts to use + Taft-amendment types as the return type of an access_to_function type. + + * freeze.adb (Freeze_Entity): Remove tests on formals of an incomplete + type for access_to_subprograms. The check is performed on package exit. + +2009-04-17 Ed Schonberg <schonberg@adacore.com> + + * atree.ads, atree.adb: Move New_Copy_Tree.to sem_util. + + * nlists.ads, nlists.adb: Move New_Copy_List to sem_util. + + * lib-load.adb: Use Copy_Separate_Tree rather than New_Copy_Tree + + * sem_util.ads, sem_util.adb: New_Copy_Tree and New_Copy_List belong in + semantic units, because the handling of itypes in the copied tree + requires semantic information that does not belong in atree. + +2009-04-17 Robert Dewar <dewar@adacore.com> + + * par-ch6.adb: Minor reformatting + + * prj.adb: Minor reformatting + +2009-04-17 Gary Dismukes <dismukes@adacore.com> + + * par-ch6.adb (P_Subprogram): Overriding indicators should be allowed + on protected subprogram bodies, so exclude the case where Pf_Flags is + Pf_Decl_Pbod from the error check. + + * par-ch9.adb (P_Protected_Operation_Items): Permit overriding + indicators on subprograms in protected bodies, and proceed with parsing + the subprogram. + + * sem_ch6.adb (Verify_Overriding_Indicator): Exclude protected + subprograms from the check for primitiveness on subprograms with + overriding indicators. + (Check_Overriding_Indicator): Include protected subprograms in the + style check for missing overriding indicators. + +2009-04-17 Tristan Gingold <gingold@adacore.com> + + * init.c: Fix stack checking for x86 Darwin. + +2009-04-17 Vincent Celier <celier@adacore.com> + + * prj-attr.adb: New project level attribute Object_File_Suffix + (<language>). + + * prj-nmsc.adb (Add_Source): Use the object file suffix to get the + object file name + (Process_Compiler): Process attribute Object_File_Suffix + + * prj.adb (Object_Name): Use suffix Object_File_Suffix instead of + platform suffix, when specified. + + * prj.ads (Language_Config): New component Object_File_Suffix, + defaulted to No_Name. + (Object_Name): New parameter Object_File_Suffix, defaulted to No_Name + + * snames.ads-tmpl: New standard name Object_File_Suffix + +2009-04-17 Robert Dewar <dewar@adacore.com> + + * gnat_rm.texi: Add documentation about No_Streams restriction + + * sem_attr.adb (Check_Stream_Attribute): Exclude implicit stream + attributes when checking No_Streams restriction. + +2009-04-17 Thomas Quinot <quinot@adacore.com> + + * rtsfind.ads (RE_Request_Destroy): New PolyORB s-parint entity. + + * exp_dist.adb (PolyORB_Support.Build_General_Calling_Stubs): Add + missing calls to RE_Request_Destroy to deallocate request objects after + use. + +2009-04-17 Nicolas Setton <setton@adacore.com> + + * link.c: Fix support for passing a response file under Darwin. + +2009-04-17 Emmanuel Briot <briot@adacore.com> + + * prj.adb (Free): new subprogram. + +2009-04-17 Ed Schonberg <schonberg@adacore.com> + + * sem_ch3.adb: additional initialization on incomplete subtypes. + + * sem_ch6.adb (Process_Formals): if the subprogram is in the private + part and one of the formals is an incomplete tagged type, attach to + list of private dependends of the type for later validation. + + * sem_ch7.adb (Uninstall_Declarations): diagnose attempts to declare + primitive operations of a Taft-amendmment type. + + * freeze.adb (Freeze_Entity): Remove tests on formals of an incomplete + type. The check is performed on package exit, possibly after the + subprogram is frozen. + +2009-04-17 Vincent Celier <celier@adacore.com> + + * prj-nmsc.adb (Get_Directories): Get the object and exec directory + before looking for source directories, but make sure that there are nil + if they are not explicitely declared and there is explicitely no + sources in the project. + +2009-04-17 Pascal Obry <obry@adacore.com> + + * initialize.c: Set gnat_argv with UTF-8 encoded strings on Windows. + + * init.c: Fix minor typo and style fix. + +2009-04-17 Robert Dewar <dewar@adacore.com> + + * a-except.adb, a-except-2005.adb: Add PE_Address_Of_Intrinsic + + * sem_attr.adb (Analyze_Attribute, case Address): Use + PE_Address_Of_Intrinsic. + + * types.ads: Add PE_Address_Of_Intrinsic + + * types.h: Add PE_Address_Of_Intrinsic + +2009-04-17 Nicolas Setton <setton@adacore.com> + + * gcc-interface/Makefile.in: Under darwin, build shared libraries + with install_name starting with "@rpath/". + +2009-04-17 Nicolas Setton <setton@adacore.com> + + * link.c: Add darwin section + +2009-04-16 Robert Dewar <dewar@adacore.com> + + * g-pehage.adb: Minor reformatting + + * sem_ch12.adb: Minor reformatting + + * exp_dist.adb: Minor reformatting + + * bindgen.adb: Minor style fixes. + +2009-04-16 Ed Schonberg <schonberg@adacore.com> + + * sem_eval.adb (Eval_Indexed_Component): Extend constant-folding of + indexed components to the case where the prefix is a static string + literal. + +2009-04-16 Javier Miranda <miranda@adacore.com> + + * exp_ch3.adb (Expand_N_Object_Declaration): In case of build-in-place + objects avoid any further expansion of the expression initializing the + object. + +2009-04-16 Ed Schonberg <schonberg@adacore.com> + + * sem_ch12.adb (Preanalyze_Actuals): If the instance is a child unit + that hides an outer homograph, make that homograph invisible when + analyzing the actuals, to to prevent illegal direct visibility on it. + +2009-04-16 Eric Botcazou <ebotcazou@adacore.com> + + * g-pehage.adb (Initialize): Fix off-by-one error. + +2009-04-16 Tristan Gingold <gingold@adacore.com> + + * init.c: Detect real stack overflow on Darwin. + + * system-darwin-x86.ads: Use stack probing on darwin x86. + +2009-04-16 Ed Schonberg <schonberg@adacore.com> + + * sem_attr.adb (Analyze_Attribute, case 'Address): It is illegal to + take the address of an intrinsic subprogram. + +2009-04-16 Arnaud Charlet <charlet@adacore.com> + + * gcc-interface/Makefile.in: Change g-trasym to g-trasym-unimplemented + for the targets where GNAT.Traceback.Symbolic is not supported. + +2009-04-16 Vincent Celier <celier@adacore.com> + + * g-trasym-unimplemented.ads, g-trasym-unimplemented.adb: New file. + + * g-trasym.ads: Update comments. + +2009-04-16 Vasiliy Fofanov <fofanov@adacore.com> + + * tracebak.c (STOP_FRAME): Verify validity of the current address + before dereferencing. + +2009-04-16 Ed Schonberg <schonberg@adacore.com> + + * sprint.adb (Write_Itype): If the itype is an array subtype, preserve + the original location of the index expressions and the index subtypes, + to prevent spurious out-of-scope references in gigi. + +2009-04-16 Tristan Gingold <gingold@adacore.com> + + * init.c, s-osinte-darwin.ads, system-darwin-x86_64.ads: + Add support for stack checking on darwin. + +2009-04-16 Vincent Celier <celier@adacore.com> + + * prj-attr.adb: New attribute Runtime_Source_Dir + + * prj-nmsc.adb (Process_Project_Level_Array_Attributes): Process + attribute Runtime_Source_Dir. + (Check_Naming_Schemes): Give default values to out parameters to avoid + invalid data. + + * prj.ads (Language_Config): New component Runtime_Source_Dir + + * snames.ads-tmpl: New standard name Runtime_Source_Dir + +2009-04-16 Pascal Obry <obry@adacore.com> + + * adaint.h, adaint.c (__gnat_rmdir): New routine. + Simple wrapper routines used to convert to proper encoding on + Windows. + + * s-crtl.ads: Use __gnat_rmdir instead of direct call to the C library. + + * g-dirope.adb (Remove_Dir): Fix a bug, the root directory was removed + twice. + +2009-04-16 Pascal Obry <obry@adacore.com> + + * s-crtl.ads, s-os_lib.adb: Minor code clean-up. + +2009-04-16 Thomas Quinot <quinot@adacore.com> + + * snames.ads-tmpl (Name_Defined): New predefined name for use by the + integrated preprocessor. + + * prep.ads, prep.adb (Setup_Hooks): New subprogram. + (Initialize): Split into two subprograms, Initialize (to be called + prior to compiler command line processing) and Setup_Hooks (to be called + later on when the first source file is loaded). + + * gprep.adb: Change call to Prep.Initialize to call to Prep.Setup_Hooks. + Add call to Prep.Initialize. + + * sinput-l.adb, prepcomp.adb: Change call to Prep.Initialize to call + to Prep.Setup_Hooks. + +2009-04-16 Pascal Obry <obry@adacore.com> + + * adaint.h, adaint.c (__gnat_chdir): New routine. + Simple wrapper routines used to convert to proper encoding on + Windows. + + * s-crtl.ads: Use __gnat_chdir instead of direct call to the C library. + + * a-direct.adb, g-dirope.adb: Use chdir from System.CRTL. + +2009-04-16 Quentin Ochem <ochem@adacore.com> + + * sinput-p.adb (Clear_Source_File_Table): Use Sinput.Initialize instead + of Source.Init. + +2009-04-16 Eric Botcazou <ebotcazou@adacore.com> + + * a-convec.ads (Is_Empty): Mark inline. + +2009-04-16 Nicolas Roche <roche@adacore.com> + + * init.c (__gnat_init_float): Initialize FPU on x86_64 windows + +2009-04-16 Thomas Quinot <quinot@adacore.com> + + * prepcomp.adb: Minor reformatting + +2009-04-16 Jerome Lambourg <lambourg@adacore.com> + + * sem_prag.adb (Process_Import_Or_Interface): With .NET, + Access_Subprogram types can also be imported. + (Check_Form_Of_Interface_Name): Accept '/' character in entity CIL + names. + +2009-04-16 Ed Schonberg <schonberg@adacore.com> + + * exp_ch6.adb (Make_Build_In_Place_Call_In_Object_Declaration): + preserve homonym chain when the declaration is rewritten into a + renaming declaration, in order to preserve visibility structure. + +2009-04-16 Jerome Lambourg <lambourg@adacore.com> + + * sem_prag.adb (Analyze_Pragma): Make sure that pragma pack is not + taken into account for VM targets. + +2009-04-16 Hristian Kirtchev <kirtchev@adacore.com> + + * g-calend.ads, g-calend.adb (Week_In_Year): Now calls + Year_Week_In_Year. + (Year_Week_In_Year): New routine which contains the original code from + Week_In_Year. Add the missing special case for January 1st falling on + a Monday. + +2009-04-16 Thomas Quinot <quinot@adacore.com> + + * exp_dist.adb (Build_From_Any_Call): For a subtype that is a generic + actual type, use the base type to build the To_Any function. + (Build_From_Any_Function): Remove junk, useless subtype conversion. + +2009-04-16 Thomas Quinot <quinot@adacore.com> + + * exp_ch9.adb, exp_code.adb, tbuild.adb, sem_case.adb, + restrict.adb: Minor code reorganization (use + Add_{Char,Str}_To_Name_Buffer instead of inlining it by hand). + +2009-04-16 Bob Duff <duff@adacore.com> + + * exp_ch6.ads, exp_ch6.adb (Is_Build_In_Place_Function_Return): Remove, + unused. + +2009-04-16 Thomas Quinot <quinot@adacore.com> + + * sem_ch4.adb: Minor reformatting + + * adaint.c: Remove junk duplicated code. + + * sem_ch3.adb: Minor reformatting + + * exp_dist.adb: Minor comment rewording + +2009-04-16 Robert Dewar <dewar@adacore.com> + + * gnat_rm.texi: Document effect of Assume_No_Invalid_Values and -gnatVa + used together. + +2009-04-16 Ed Schonberg <schonberg@adacore.com> + + * sem_ch4.adb (Find_Equality_Types): Filter out types that are not + usable before calling Add_One_Interp, to resolve spurious ambiguities. + +2009-04-16 Robert Dewar <dewar@adacore.com> + + * Make-lang.in: Add entries for s-conca?.o + + * Makefile.rtl: Add entries for s-conca? + + * debug.adb: Add debug flags -gnatd.c and -gnatd.C to control behavior + of concatenation expansion + + * exp_ch4.adb (Expand_Concatenation): Generate calls for certain + string cases instead of expanding assignments inline. + + * opt.ads (Optimize_Size): New flag + + * s-conca2.ads, s-conca2.adb, s-conca3.adb, s-conca3.ads, + s-conca4.adb, s-conca4.ads, s-conca5.adb, s-conca5.ads, s-conca6.adb, + s-conca6.ads, s-conca7.ads, s-conca7.adb, s-conca8.adb, s-conca8.ads, + s-conca9.adb, s-conca9.ads: New file. + +2009-04-16 Robert Dewar <dewar@adacore.com> + + * exp_ch6.adb: Add comments + + * rtsfind.ads: Add entries for s-conca? routines + +2009-04-16 Arnaud Charlet <charlet@adacore.com> + + * gcc-interface/Make-lang.in: Update dependencies. + + * gcc-interface/Makefile.in: Update translation for vms. + +2009-04-16 Ed Schonberg <schonberg@adacore.com> + + * sem_ch12.adb (Map_Formal_Package_Entities): renamed from Map_Entities + and made global, to be used when installing parents of a child + instance, to provide mappings for entities declared in formal packages + of ancestor units. Now called from Install_Formal_Packages. + +2009-04-16 Doug Rupp <rupp@adacore.com> + + * s-taskin.adb (Initialize_ATCB): Initialize Debug_Events with others + notation for clarity. + + * s-taprop-vxworks.adb, s-taprop-tru64.adb, s-taprop-vms.adb, + s-taprop-mingw.adb, s-taprop-linux.adb, s-taprop-solaris.adb, + s-taprop-irix.adb, s-taprop-hpux-dce.adb, s-taprop-posix.adb + (Initialize): Initialize Known_Tasks with Environment task. + + * s-taskin.ads (Task_States): Move new states to end for the sake of + GDB compatibility. + + * s-tassta.adb (Task_Wrapper): Fix comment about Enter_Task. + +2009-04-16 Ed Schonberg <schonberg@adacore.com> + + * exp_ch9.adb (Expand_N_Protected_Type_Declaration): If a protected + operation has an inline pragma, propagate the flag to the internal + unprotected subprogram. + +2009-04-16 Doug Rupp <rupp@adacore.com> + + * s-taprop-vxworks.adb, s-taprop-tru64.adb, s-taprop-mingw.adb, + s-taprop-linux.adb, s-taprop-solaris.adb, s-taprop-irix.adb, + s-taprop-hpux-dce.adb, s-taprop-posix.adb + (Enter_Task): Move Known_Tasks initialization to s-tassta.adb + + * s-taprop-vms.adb (Enter_Task): Likewise. + (Initialize): Import DBEXT, Debug_Register. Register DBGEXT callback. + + * s-tassta.adb (Activate_Tasks): After task creation set state to + Activating, vice Runnable. Initialize Known_Tasks, moved here from + s-taprop.adb (Enter_Task). Set Debug_Event_Activating for debugger. + Set state to Runnable after above. + (Task_Wrapper): Set Debug_Event_Run. In exception block set + Debug_Event_Terminated. + + * s-taskin.ads (Task_States): Add new states Activiting and + Activator_Delay_Sleep. + (Bit_Array, Debug_Event_Array): New types. + (Global_Task_Debug_Event_Set: New flag. + (Common_ATCB): New field Debug_Events. + + * s-taskin.adb (Initialize_ATCB): Initialize Debug_Events. + + * s-tasren.adb (Timed_Selective_Wait): Set Activator_Delay_Sleep vice + Activator_Sleep. + + * s-tasini.adb (Locked_Abort_To_Level): Add case alternatives for when + Activating and when Acceptor_Delay_Sleep. + + * s-tasdeb.ads: Add constants for Debug_Events. + (Debug_Event_Kind_Type): New subtype. + (Signal_Debug_Event): New subprogram. + + * s-tasdeb.adb (Signal_Debug_Event): New null subprogram. + +2009-04-16 Thomas Quinot <quinot@adacore.com> + + * sem_elim.adb: Minor reformatting + + * freeze.adb: Minor reformatting + + * exp_ch4.adb: Minor reformatting + +2009-04-16 Emmanuel Briot <briot@adacore.com> + + * prj-nmsc.adb (Path_Name_Of): fix memory leak + +2009-04-16 Robert Dewar <dewar@adacore.com> + + * sinfo.ads (Backwards_OK, Forwards_OK): Clarify documentation + +2009-04-16 Vincent Celier <celier@adacore.com> + + * fmap.adb (Initialize): Show the current line when the mapping file + is detected as "incorrectly formatted". + +2009-04-16 Robert Dewar <dewar@adacore.com> + + * sem_ch12.adb: Minor reformatting + + * sem_ch5.adb: Minor comment addition + + * sem_util.adb: Minor reformatting + + * sinput-p.adb: Minor reformatting + Add missing pragma Warnings (On) + +2009-04-16 Ed Falis <falis@adacore.com> + + * s-vxwext-kernel.adb: (ERROR): deleted unused constant + +2009-04-16 Vincent Celier <celier@adacore.com> + + * ali-util.adb: Minor comment spelling error fix + +2009-04-16 Eric Botcazou <ebotcazou@adacore.com> + + * exp_ch5.adb (Expand_Assign_Array): For the GCC back-end, do not + generate an assignment loop in case of overlap. + +2009-04-16 Olivier Hainque <hainque@adacore.com> + + * gnat_ugn.texi (gnatmem description): Make it explicit that + gnatmem is designed to work in association with static runtime + library only. + +2009-04-16 Thomas Quinot <quinot@adacore.com> + + * sem_type.adb: Minor reformatting + +2009-04-16 Hristian Kirtchev <kirtchev@adacore.com> + + * s-osprim-darwin.adb, s-osprim-posix.adb (Clock): Add comment + concerning return codes of gettimeofday and return value check. + +2009-04-16 Ed Falis <falis@adacore.com> + + * s-vxwext-kernel.ads (Int_Lock, Int_Unlock): set to convention C so + body can be renaming of imported routines. + +2009-04-16 Vasiliy Fofanov <fofanov@adacore.com> + + * s-asthan-vms-alpha.adb: Disable warnings on alignment in a more + targeted fashion. + +2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> + + * exp_ch9.adb: Comment improvements. + (Build_Entry_Family_Name): Add parentheses around the index of a entry + family member. + +2009-04-15 Bob Duff <duff@adacore.com> + + * sem_warn.adb (Check_Infinite_Loop_Warning): Catch cases like + "while X /= null loop" where X is unchanged inside the loop. We were + not warning in this case, because of the pointers -- we feared that the + loop variable could be updated via a pointer, if there are any pointers + around the place. But that is impossible in this case. + + * sem_util.adb (May_Be_Lvalue): This routine was overly pessimistic in + the case of dereferences. In X.all, X cannot be an l-value. We now + catch that case (and implicit dereferences, too). + +2009-04-15 Vincent Celier <celier@adacore.com> + + * sinput-p.ads, sinput-p.adb (Clear_Source_File_Table): New procedure + +2009-04-15 Ed Schonberg <schonberg@adacore.com> + + * sem_ch12.adb (Is_Actual_Of_Previous_Formal): Make fully recursive. + From code reading. + (Analyze_Package_Instantiation): If generic unit in child instance is + the same as generic unit in parent instance, look for an outer homonym + to locate the desired generic. + +2009-04-15 Bob Duff <duff@adacore.com> + + * sem_ch5.adb (Analyze_Loop_Statement): Don't check for infinite loop + warnings unless the loop comes from source, because checking generated + loops is a waste of time, and makes it harder to debug + Check_Infinite_Loop_Warning. + + * sem_warn.adb (Check_Infinite_Loop_Warning): If the local variable + tested in the while loop is a renaming, do not warn. Otherwise, we get + false alarms, because it's usually renaming something that we can't + deal with (an indexed component, a global variable, ...). + + * gnat_rm.texi: Fix typo + +2009-04-15 Thomas Quinot <quinot@adacore.com> + + * sem_ch6.adb: Minor reformatting + +2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> + + * exp_ch7.adb (Expand_Ctrl_Function_Call): Check for the case where the + immediate parent of the controlled function call is a component + association. + +2009-04-15 Ed Schonberg <schonberg@adacore.com> + + * sem_ch8.adb (Use_One_Type): If the type is tagged, indicate that the + corresponding class-wide type is also in use. + +2009-04-15 Thomas Quinot <quinot@adacore.com> + + * frontend.adb: Minor comment fix + +2009-04-15 Robert Dewar <dewar@adacore.com> + + * gnatchop.adb (BOM_Length): New global variable + (Write_Unit): Add new parameter Write_BOM + (Write_Chopped_Files): Check for BOM and set Write_BOM for call + to Write_Unit + + * gnat_ugn.texi: Add note on propagation of BOM by gnatchop + +2009-04-15 Geert Bosch <bosch@adacore.com> + + * system-mingw-x86_64.ads, system-darwin-x86_64.ads + (Backend_Overflow_Checks): Set to True. + +2009-04-15 Gary Dismukes <dismukes@adacore.com> + + * par-ch3.adb (P_Type_Declaration): Issue an error if the synchronized + keyword is given in a record extension. + +2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> + + * exp_ch7.adb (Expand_Ctrl_Function_Call): Procede with the expansion + of a controlled function call in the context of a record aggregate. + This does not apply to array aggregates since the call will be expanded + into assignments. + +2009-04-15 Ed Falis <falis@adacore.com> + + * s-osinte-vxworks-kernel.adb, s-osinte-vxworks.adb, + s-osinte-vxworks.ads s-vxwext.ads, s-vxwext-kernel.adb, + s-vxwext-kernel.ads, s-vxwext-rtp.ads, s-vxwext-rtp.adb: Reorganize + s-osinte-vxworks* and s-vxwext*. + +2009-04-15 Arnaud Charlet <charlet@adacore.com> + + * gcc-interface/Make-lang.in: Update dependencies. + + * gcc-interface/Makefile.in: Reorganization of s-osinte-vxworks* + and s-vxwext*. + +2009-04-15 Robert Dewar <dewar@adacore.com> + + * sem_ch13.adb (Unchecked_Conversions): Store source location instead + of node for location for warning messages. + + * gnatchop.adb: Minor reformatting + +2009-04-15 Ed Schonberg <schonberg@adacore.com> + + * exp_ch6.adb: additional guard for renaming declarations for in + parameters of an array type. + +2009-04-15 Robert Dewar <dewar@adacore.com> + + * sem_eval.adb (Get_Static_Length): Go to origin node for array bounds + in case they were rewritten by expander (Force_Evaluation). + + * targparm.adb (Get_Target_Parameters): Correct check for + Suppress_Exception_Locations. + +2009-04-15 Ed Schonberg <schonberg@adacore.com> + + * exp_ch6.adb (Expand_Inlined_Call): If an in-parameter in a call to be + inlined is of an array type that is not bit-packed, use a renaming + declaration to capture its value, rather than a constant declaration. + +2009-04-15 Robert Dewar <dewar@adacore.com> + + * rtsfind.adb: Minor reformatting. + +2009-04-15 Emmanuel Briot <briot@adacore.com> + + * prj-part.adb, prj-tree.adb, prj-tree.ads (Restore_And_Free): renames + Restore, and free the saved context. + +2009-04-15 Gary Dismukes <dismukes@adacore.com> + + * sem_ch3.adb (Analyze_Private_Extension_Declaration): Move error check + for illegal private extension from a synchronized interface parent in + front of check for illegal limited extension so that limited extension + from a synchronized interface will be rejected. + (Check_Ifaces): Check that a private extension that has a synchronized + interface as a progenitor must be explicitly declared synchronized. + Also check that a record extension cannot derive from a synchronized + interface. + +2009-04-15 Pascal Obry <obry@adacore.com> + + * adaint.h (__gnat_unlink): Add spec. + (__gnat_rename): Likewise. + +2009-04-15 Vincent Celier <celier@adacore.com> + + * prj-nmsc.adb: Minor spelling error corrections in error messages + +2009-04-15 Robert Dewar <dewar@adacore.com> + + * sinfo.ads: Minor comment update + + * opt.ads: Minor comment updates + + * checks.adb (Enable_Overflow_Check): Do not set Do_Overflow_Check for + modular type. + +2009-04-15 Ed Schonberg <schonberg@adacore.com> + + * exp_disp.ads, exp_disp.adb (Register_Primitive): Is now a function + that generates the code needed to update a dispatch table when a + primitive operation is declared with a subprogram body without previous + spec. Insertion of the generated code is responsibility of the caller. + (Make_DT): When building static tables, append the code created by + Register_Primitive to update a secondary table after it has been + constructed. + + * exp_ch3.adb, exp_ch6.adb: use new version of Register_Primitive. + + * sem_disp.adb (Check_Dispatching_Operation): Call Register_Primitive + on an overriding operation that implements an interface operation only + if not building static dispatch tables. + +2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> + + * a-caldel-vms.adb (To_Duration): Declare a "safe" end of time which + does not cause overflow when converted to Duration. Use the safe value + as the maximum allowable time delay.. + +2009-04-15 Jerome Lambourg <lambourg@adacore.com> + + * g-comlin.adb (Set_Command_Line): When adding a switch with attached + parameter, specify that the delimiter is NUL, otherwise "-j2" will be + translated to "-j 2". + +2009-04-15 Bob Duff <duff@adacore.com> + + * rtsfind.adb (Maybe_Add_With): Split out procedure to add implicit + with_clauses, to avoid code duplication. Change this processing so we + always add a with_clause on the main unit if needed. + +2009-04-15 Pascal Obry <obry@adacore.com> + + Add support for Win32 native encoding for delete/rename routines. + + * adaint.c (__gnat_unlink): New routine. + (__gnat_rename): New routine. + Simple wrapper routines used to convert to proper encoding on + Windows. + + * s-os_lib.adb: Use __gnat_unlink and __gnat_rename instead of direct + call to the C library. + + * g-sercom-mingw.adb, s-win32.ads: Update Win32 binding. + +2009-04-15 Robert Dewar <dewar@adacore.com> + + * s-tassta.adb: Minor reformatting + +2009-04-15 Robert Dewar <dewar@adacore.com> + + * frontend.adb (Frontend): Set proper default for + Warn_On_Non_Local_Exception. + + * opt.ads (Exception_Handler_Encountered): New flag + (No_Warn_On_Non_Local_Exception): New flag + + * par-ch11.adb (P_Exception_Handler): Set Exception_Handler_Encountered + + * sem_warn.adb (Set_Warning_Switch): Set No_Warn_On_Non_Local_Exception + (Set_Dot_Warning_Switch): Set No_Warn_On_Non_Local_Exception + +2009-04-15 Cyrille Comar <comar@adacore.com> + + * s-tassta.adb, a-exextr.adb, a-elchha.adb + (Ada.Exception.Last_Chance_Handler): Do not print unhandled exception + message when exception traces are active since it would generate + redundant information. + (Exception_Traces.Notify_Exception): put message output by a critical + section to avoid unsynchronized output. + (Trace_Unhandled_Exception_In_Task): put message output by a critical + section to avoid unsynchronized output. + +2009-04-15 Emmanuel Briot <briot@adacore.com> + + * g-comlin.adb, prj-tree.adb, prj-tree.ads, prj.adb, prj.ads + (Free): New subprogram. + +2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> + + * a-calend.adb: Add new constant Nanos_In_Four_Years. + (Formatting_Operations.Time_Of): Change the way four year chunks of + nanoseconds are added to the intermediate result. + +2009-04-15 Nicolas Setton <setton@adacore.com> + + * sysdep.c: Add __APPLE__ in the list of systems where get_immediate + does not need to wait for a carriage return. + +2009-04-15 Tristan Gingold <gingold@adacore.com> + + * bindgen.adb: Do not generate adafinal if No_Finalization restriction + is set. + +2009-04-15 Ed Schonberg <schonberg@adacore.com> + + * freeze.adb (Freeze_Entity): improve error message for improper use of + incomplete types. + Diagnose additional illegal uses of incomplete types in formal parts. + appearing in formal parts. + + * sem_ch6.adb (Process_Formals, Analyze_Return_Type): ditto. + +2009-04-15 Robert Dewar <dewar@adacore.com> + + * exp_ch4.adb (Expand_N_Allocator): Install test for object too large. + +2009-04-15 Nicolas Roche <roche@adacore.com> + + * adaint.c: Add function __gnat_lwp_self that retrieves the LWP of the + current thread. + + * s-osinte-linux.ads: Import the __gnat_lwp_self function as lwp_self + + * s-taprop-linux.adb (Enter_Task): Store the LWP in the TCB + +2009-04-15 Ed Schonberg <schonberg@adacore.com> + + * sem_ch4.adb: improve error message on exponentiation. + +2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> + + * a-calend.adb: Move constant Epoch_Offset from package + Conversion_Operations to top level. + (Delay_Operations.To_Duration): Define a constant which represents + "end of time" and use it as a guard against very distant delay dates. + Protect the code against overflow when performing the origin shift to + Unix time. + +2009-04-15 Robert Dewar <dewar@adacore.com> + + * sem_prag.adb: Minor reformatting. + + * sem_type.adb: Minor reformatting + +2009-04-15 Javier Miranda <miranda@adacore.com> + + * sem_ch6.adb (Analyze_Abstract_Subprogram_Declaration): Add missing + support to check eliminated subprograms. + + * sem_elim.ads (Eliminate_Error_Msg): Update documentation. + + * sem_elim.adb (Set_Eliminated): Add support for elimination of + dispatching subprograms. + + * exp_disp.adb (Make_DT): Minor code cleanup when freezing primitive + operations. Initialize with "null" the slots of eliminated dispaching + primitives. + (Write_DT): Add output for eliminated primitives. + + * sem_disp.adb (Check_Dispatching_Call): Check eliminated primitives. + +2009-04-15 Ed Schonberg <schonberg@adacore.com> + + * sem_ch8.adb (Use_One_Type): If both clauses appear on the same unit, + the second is redundant, regardless of scopes. + +2009-04-15 Vincent Celier <celier@adacore.com> + + * prj-nmsc.adb (Get_Directories): Check for sources before checking + the object directory as when there are no sources, they may not be any + object directory. + + * make.adb (Gnatmake): Do not attempt to get the path name of the exec + directory, when there are no exec directory. + +2009-04-15 Ed Schonberg <schonberg@adacore.com> + + * sem_type.adb (Remove_Conversions): In order to resolve spurious + ambiguities, refine removal of universal interpretations from complex + expressions with literal arguments, when some numeric operators have + been declared abstract. + +2009-04-15 Ed Falis <falis@adacore.com> + + * init.c: Map SIGSEGV to Storage_Error for all targets for uniformity + and backward compatibility for targets using probing for stack overflow + +2009-04-15 Ed Schonberg <schonberg@adacore.com> + + * sem_prag.adb (Analyze_Pragma, case 'Obsolescent): Pragma is legal + after any declaration, including renaming declarations. + +2009-04-15 Arnaud Charlet <charlet@adacore.com> + + * gcc-interface/Make-lang.in: Update dependencies. + + * gcc-interface/Makefile.in: Fix VxWorks target pairs. + Update xenomai target pairs. + +2009-04-15 Javier Miranda <miranda@adacore.com> + + * exp_ch4.adb (Expand_N_Allocator): Code cleanup. + + * sem_ch6.adb (Check_Anonymous_Return): Add missing support for + functions returning anonymous access to class-wide limited types. Mark + also the containing scope as a task master. + + * sem_ch8.adb (Restore_Scope_Stack): Add missing management for + limited-withed packages. Required to restore their visibility after + processing packages associated with implicit with-clauses. + + * exp_ch3.adb (Build_Class_Wide_Master): Avoid marking masters + associated with return statements because this work is now done by + Check_Anonymous_Return. + (Build_Master): Code cleanup. + +2009-04-15 Thomas Quinot <quinot@adacore.com> + + * sem_warn.ads: Minor reformatting + +2009-04-15 Ed Schonberg <schonberg@adacore.com> + + * sem_ch3.adb: better error message for illegal interfaces + + * sem_ch6.adb (Possible_Freeze): Delay freezing a subprogram if a + formal is an incomplete type from a limited_with clause. + +2009-04-15 Vincent Celier <celier@adacore.com> + + * prj-nmsc.adb (Locate_Directory): New Boolean parameter + Externally_Built indicating if the project is externally built. If it + is, and --subdirs is specified, but the subdir does not exist, look + for the specified directory, without the subdir. + +2009-04-15 Gary Dismukes <dismukes@adacore.com> + + * a-tasatt.adb: Fix typo, plus minor reformatting + + * sem_ch3.ads: Add missing hyphen ("class wide" => "class-wide"). + + * sem_ch10.adb: Add missing hyphen ("use visible" => "use-visible"). + +2009-04-15 Ed Schonberg <schonberg@adacore.com> + + * sem_ch3.adb (Analyze_Private_Extension_Declaration): Verify that a + private extension whose parent is a synchronized interface carries an + explicit synchronized keyword. + +2009-04-15 Thomas Quinot <quinot@adacore.com> + + * exp_smem.adb (Make_Shared_Var_Procs): For a protected type, + instantiate generic shared object package with the corresponding + record type. + +2009-04-15 Arnaud Charlet <charlet@adacore.com> + + * system-linux-sparc.ads: Remove obsolete entries. + +2009-04-15 Thomas Quinot <quinot@adacore.com> + + * s-tasuti.ads: Add ??? comment + +2009-04-15 Ed Schonberg <schonberg@adacore.com> + + * sem_ch3.adb (Analyze_Type_Declaration): Create freeze node for access + type even if the designated type comes from a limited_with clause, to + ensure that the symbol for the finalization list of the access type is + created. + +2009-04-10 Robert Dewar <dewar@adacore.com> + + * sem_warn.ads, sem_warn.adb (Check_Low_Bound_Tested): Catch more cases + for warning suppression. + +2009-04-10 Ed Schonberg <schonberg@adacore.com> + + * sem_ch8.adb (Use_One_Type): If the two use_type clauses are + identical, there is no redudancy to check. + +2009-04-10 Gary Dismukes <dismukes@adacore.com> + + * exp_ch5.adb (Expand_N_Extended_Return_Statement): Delete redundant + calls initializing SS_Allocator (which is initialized in following + code). + (Expand_Simple_Function_Return): Add comment about False value for + Comes_From_Source on secondary-stack allocator. + + * exp_ch9.adb (Build_Entry_Family_Name): Add comment. + (Build_Entry_Name): Add comment. + +2009-04-10 Robert Dewar <dewar@adacore.com> + + * einfo.ads, einfo.adb (Low_Bound_Tested): New name for Low_Bound_Known + + * sem_prag.adb (Analyze_Pragma, case Check): Remove check for lower + bound tested, since this is now done more generally in Sem_Res. + + * sem_res.adb (Resolve_Comparison_Op): Add call to + Check_Lower_Bound_Tested. + (Resolve_Equality_Op): Add call to Check_Lower_Bound_Tested + + * sem_warn.ads, sem_warn.adb (Check_Low_Bound_Tested): New procedure + (Low_Bound_Tested): New name for Low_Bound_Known flag + + * exp_ch5.adb: Minor reformatting + + * exp_ch4.adb: + Add comments on copying the Comes_From_Source flag for allocators + + * sinfo.ads: + Add comments on copying the Comes_From_Source flag for allocators + + * exp_ch6.adb (Make_Build_In_Place_Call_In_Allocator): Copy + Comes_From_Source flag from old allocator to new one. + +2009-04-10 Ed Schonberg <schonberg@adacore.com> + + * sem_ch6.ads: Address missing documentation query + +2009-04-10 Vincent Celier <celier@adacore.com> + + * prj-attr.adb: + Add new Linker attributes Max_Command_Line_Length, Response_File_Format + and Response_File_Switches. + + * prj-nmsc.adb (Process_Linker): Process new attributes + Max_Command_Line_Length, Response_File_Format and + Response_File_Switches. + + * prj.ads (Response_File_Format): New enumeration type + (Project_Configuration): New componants Max_Command_Line_Length, + Resp_File_Format and Resp_File_Options. + + * snames.ads-tmpl: Add new standard names for linking response files + for gprbuild: GNU, None, Object_List, Option_List, + Max_Command_Line_Length, Response_File_Format and + Response_File_Switches. + +2009-04-10 Geert Bosch <bosch@adacore.com> + + * system-aix.ads, system-darwin-ppc.ads, system-darwin-x86.ads, + system-freebsd-x86.ads, system-hpux.ads, system-hpux-ia64.ads, + system-irix-n32.ads, system-irix-o32.ads, system-linux-alpha.ads, + system-linux-hppa.ads, system-linux-ia64.ads, system-linux-ppc.ads, + system-linux-s390.ads, system-linux-s390x.ads, system-linux-sh4.ads, + system-linux-sparc.ads, system-linux-x86_64.ads, system-linux-x86.ads, + system-mingw.ads, system-solaris-sparc.ads, system-solaris-sparcv9.ads, + system-solaris-x86.ads, system-tru64.ads, system-vms_64.ads, + system-vms.ads, system-vms-ia64.ads, system-vms-zcx.ads, + system-vxworks-arm.ads, system-vxworks-m68k.ads, + system-vxworks-mips.ads, system-vxworks-ppc.ads, + system-vxworks-sparcv9.ads, system-vxworks-x86.ads + (Backend_Overflow_Checks): Set to True. + +2009-04-10 Thomas Quinot <quinot@adacore.com> + + * exp_attr.adb: Minor reformatting + +2009-04-10 Ed Schonberg <schonberg@adacore.com> + + * sem_prag.adb (Check_Precondition_Postcondition): Within a generic, + analyze the expression for a postcondition, even if the compiler mode + is Generate_Code. + +2009-04-10 Robert Dewar <dewar@adacore.com> + + * sem_aux.adb: Minor reformatting + +2009-04-10 Ed Falis <falis@adacore.com> + + * init.c: Change VxWorks 6 stack overflow checking for kernel apps. + + * system-vxworks-ppc.ads, system-vxworks-x86.ads: Update header. + +2009-04-10 Thomas Quinot <quinot@adacore.com> + + * sem_ch6.ads (Check_Subtype_Conformant): Add ??? comment for + undocumented formal. + Minor reformatting + + * a-direio.ads: Fix typo in comment + + * sem_ch3.adb, g-dirope.adb, sem_type.adb, sem_ch12.adb, sem_case.adb, + errout.adb, sem_ch4.adb, sem_ch11.adb, exp_dist.adb, sem_ch13.adb: + Use uniform phrasing for comment at start of subprogram body. + + * xsnamest.adb: Add note to explain why we use specific names for the + newly generated files instead of generating snames.{ads,adb,h} directly + +2009-04-10 Sergey Rybin <rybin@adacore.com> + + * vms_data.ads: + Add qualifier for new gnatstub option '--no-exception' + + * gnat_ugn.texi: + Add the description of the new gnatstub option '--no-exception' + +2009-04-10 Robert Dewar <dewar@adacore.com> + + * rtsfind.adb: Minor reformatting + +2009-04-10 Thomas Quinot <quinot@adacore.com> + + * sem_disp.adb: Minor reformatting. + Add comment pointing to RM clause for the case of warning against a + (failed) attempt at declaring a primitive operation elsewhere than in a + package spec. + +2009-04-10 Ed Schonberg <schonberg@adacore.com> + + * sem_ch12.adb (Denotes_Formal_Package): Check whether the package is + an actual for a previous formal package of the current instance. + +2009-04-10 Bob Duff <duff@adacore.com> + + * rtsfind.adb (RTE): Put implicit with_clauses on whatever unit needs + them first, rather than on the extended main unit. + +2009-04-10 Ed Schonberg <schonberg@adacore.com> + + * sem_ch6.adb (Check_Discriminant_Conformance): If discriminant + specification of full view carries a null exclusion indicator, create + an itype for it, to check for conformance with partial view. + +2009-04-10 Bob Duff <duff@adacore.com> + + * rtsfind.ads: Minor code change: make RE_Unit_Table constant. + + * rtsfind.adb: Minor comment changes, and remove useless code. + + * sinfo.ads: Add ??? comment. + +2009-04-10 Vincent Celier <celier@adacore.com> + + * vms_data.ads: Add missing GNAT SYNC VMS qualifiers -main= and -U + +2009-04-10 Ed Schonberg <schonberg@adacore.com> + + * exp_attr.adb (Expand_N_Attribute_Reference, case 'Tag): If the tagged + type is a synchronized type, retrieve tag information from the + corresponding record, which has the dispatch table link. + +2009-04-10 Jerome Lambourg <lambourg@adacore.com> + + * g-comlin.adb (Group_Analysis): Take care of switches that might be + decomposed afterwards, but are present as-is in the command line + configuration, and thus should be kept as-is. + +2009-04-10 Robert Dewar <dewar@adacore.com> + + * gnat_rm.texi: Document that postconditions are tested on implicit + returns. + + * sem_aux.adb: Minor reformatting + +2009-04-10 Gary Dismukes <dismukes@adacore.com> + + * itypes.adb (Create_Null_Excluding_Itype): Apply Base_Type when + setting Etype. + + * par-ch3.adb (P_Access_Type_Definition): Set new attribute + Null_Exclusion_In_Return_Present when an access-to-function type has a + result type with an explicit not null. + + * sem_ch3.adb (Access_Subprogram_Definition): If a null exclusion is + given on the result type, then create a null-excluding itype for the + function. + + * sem_ch6.adb (Analyze_Return_Type): Create a null-excluding itype in + the case where a null exclusion is imposed on a named access type. + (Analyze_Subprogram_Specification): Push and pop the scope of the + function around the call to Analyze_Return_Type in the case of no + formals, for consistency with handling when formals are present + (Process_Formals does this). Ensures that any itype created for the + return type will be associated with the proper scope. + + * sem_ch12.adb (Analyze_Generic_Subprogram_Declaration): If a null + exclusion is given on a generic function's result type, then create a + null-excluding itype for the generic function. + (Instantiate_Object): Set Null_Exclusion_Present of a constant created + for an actual for a formal in object according to the setting on the + formal. Ensures null exclusion checks are done when the association is + elaborated. + + * sinfo.ads: Add new flag Null_Exclusion_In_Return_Present on + N_Access_Function_Definition. + + * sinfo.adb: Add Get_ and Set_ operations for + Null_Exclusion_In_Return_Present. + +2009-04-10 Bob Duff <duff@adacore.com> + + * exp_ch5.adb, exp_ch6.adb, sem_ch6.adb: Move the code that creates a + call to the _Postconditions procedure in the case of implicit returns + from analysis to expansion. This eliminates some duplicated code. Use + the Postcondition_Proc to find the identity of this procedure during + expansion. + +2009-04-10 Robert Dewar <dewar@adacore.com> + + * sem_ch6.adb: Minor code clean up. + + * einfo.ads, sem_attr.adb: Minor comment fixes. + +2009-04-10 Robert Dewar <dewar@adacore.com> + + * sem_ch8.adb: Minor reformatting + +2009-04-10 Robert Dewar <dewar@adacore.com> + + * einfo.ads, einfo.adb (Postcondition_Proc): New attribute for + procedures. + + * sem_ch6.adb: Minor code clean up. + +2009-04-10 Robert Dewar <dewar@adacore.com> + + * mlib-tgt-specific-xi.adb: Minor reformatting + +2009-04-10 Bob Duff <duff@adacore.com> + + * einfo.ads: Minor comment fixes + +2009-04-10 Vincent Celier <celier@adacore.com> + + * snames.ads-tmpl: Remove names that are no longer used in the + Project Manager. + Mark specifically those that are used only in gprbuild + +2009-04-10 Eric Botcazou <ebotcazou@adacore.com> + + * init.c: Adjust EH support code on Alpha/Tru64. + +2009-04-10 Bob Duff <duff@adacore.com> + + * sem_ch6.adb (Process_PPCs): Add a call to the _Postconditions + procedure on every path that could return implicitly (not via a return + statement) from a procedure. + +2009-04-10 Ed Schonberg <schonberg@adacore.com> + + * exp_ch9.adb (Build_Master_Entity): An extended return statement is a + valid scope for a task declarations and therefore for a master id. + +2009-04-10 Robert Dewar <dewar@adacore.com> + + * sem_aux.adb: Minor reformatting + +2009-04-10 Vincent Celier <celier@adacore.com> + + * scn.adb (Obsolescent_Check_Flag): New Boolean flag, initialized to + True. + (Obsolescent_Check): Do nothing if Obsolescent_Check_Flag is False + (Set_Obsolescent_Check): New procedure to change the value of + Obsolescent_Check_Flag. + + * scn.ads (Set_Obsolescent_Check): New procedure to control + Obsolescent_Check. + + * sinput-l.adb (Load_File): Do not check for pragma Restrictions on + obsolescent features while preprocessing. + +2009-04-10 Thomas Quinot <quinot@adacore.com> + + * xsnamest.adb: Use XUtil to have uniform line endings (UNIX style) in + generated files on all platforms. + +2009-04-10 Robert Dewar <dewar@adacore.com> + + * sem_aux.adb: Minor reformatting + +2009-04-10 Ed Schonberg <schonberg@adacore.com> + + * sem_ch3.adb (Access_Definition): Handle properly the case of a + protected function with formals that returns an anonymous access type. + +2009-04-10 Thomas Quinot <quinot@adacore.com> + + * sem_disp.adb: Minor reformatting + +2009-04-10 Vasiliy Fofanov <fofanov@adacore.com> + + * seh_init.c: Do not use the 32-bit specific implementation of + __gnat_install_SEH_handler on 64-bit Windows target (64-bit specific + version TBD). + +2009-04-10 Jose Ruiz <ruiz@adacore.com> + + * mlib-tgt-specific-xi.adb (Get_Target_Prefix): Target_Name may contain + a '/' at the end so we better use the complete target name to determine + whether it is a PowerPC 55xx target. + +2009-04-10 Thomas Quinot <quinot@adacore.com> + + * sem_eval.adb: Minor reformatting + +2009-04-10 Thomas Quinot <quinot@adacore.com> + + * snames.h, snames.ads, snames.adb: Remove files, now generated from + templates. + + * snames.h-tmpl, snames.ads-tmpl, snames.adb-tmpl: Templates for the + above. + + * xsnamest.adb: New file. + + * gcc-interface/Make-lang.in: New target for automated generation of + snames.ads, snames.adb and snames.h + +2009-04-10 Tristan Gingold <gingold@adacore.com> + + * gcc-interface/Makefile.in, gcc-interface/utils.c: Include "rtl.h" to + avoid compile time warnings. + Do not add gcc/config in include search list while compiling the RTS. + Pragma Thread_Local_Storage is available on any target. + +2009-04-10 Bob Duff <duff@adacore.com> + + * sem.ads, par.adb, sem_ch6.adb, sem_ch8.adb: Minor comment fixes. + +2009-04-10 Tristan Gingold <gingold@adacore.com> + + * init.c: Install signal handler on Darwin. + +2009-04-10 Robert Dewar <dewar@adacore.com> + + * sem_prag.adb: Minor reformatting + + * exp_util.adb (Make_Non_Empty_Check): New function + (Silly_Boolean_Array_Not_Test): Add call to Make_Non_Empty_Check + (Silly_Boolean_Array_Xor_Test): Use Make_Non_Empty_Check + +2009-04-10 Arnaud Charlet <charlet@adacore.com> + + * make.adb, gnatlink.adb: Rename JGNAT toolchain. + +2009-04-10 Jose Ruiz <ruiz@adacore.com> + + * mlib-tgt-specific-xi.adb (Get_Target_Prefix): Insert the appropriate + tool prefix for AVR and PowerPC 55xx targets. + +2009-04-10 Robert Dewar <dewar@adacore.com> + + * sem_warn.adb (Within_Postcondition): New function + (Check_Unset_Reference): Use Within_Postcondition to stop bad warning + +2009-04-10 Robert Dewar <dewar@adacore.com> + + * sem_warn.adb: Minor reformatting + + * make.adb: Minor reformatting. + +2009-04-10 Gary Dismukes <dismukes@adacore.com> + + * exp_ch7.adb (Find_Final_List): When creating a finalization-chain + entity and the scope is a subprogram, retrieve the Sloc of the + subprogram's body rather than using the sloc of the spec, for better + line-stepping behavior in gdb. + (Wrap_Transient_Declaration): For the Sloc of nodes created with a list + controller, use the Sloc of the first declaration of the containing list + rather than that of the node that triggered creation of the list + controller. + +2009-04-10 Vincent Celier <celier@adacore.com> + + * prj-nmsc.adb (Check_Naming_Schemes): Initialize local variable Casing + to avoid gcc warning. + +2009-04-10 Robert Dewar <dewar@adacore.com> + + * g-comlin.adb: Add ??? comment + +2009-04-10 Ed Schonberg <schonberg@adacore.com> + + * sem_warn.adb (Check_Unused_Withs): Do not emit message about + unreferenced entities for a package with no visible declarations. + +2009-04-10 Robert Dewar <dewar@adacore.com> + + * exp_ch9.adb: Minor reformatting + +2009-04-10 Thomas Quinot <quinot@adacore.com> + + * sem_prag.adb: Minor reformatting + +2009-04-10 Vincent Celier <celier@adacore.com> + + * prj-nmsc.adb: + (Check_Library_Attributes): For a project qualified as a library project + that is not a library project, indicate in the error message which + attributes are missing (Library_Dir and/or Library_Name). + +2009-04-10 Bob Duff <duff@adacore.com> + + * exp_ch5.adb, exp_ch9.adb: Avoid use of No_Position in Sloc of + generated nodes, because it might confuse various circuits in the FE. + +2009-04-10 Ed Schonberg <schonberg@adacore.com> + + * sem_prag.adb (Analyze_Pragma, case Task_Name): Do not expand argument + of pragma. It will be recopied and analyzed when used in call to + Create_Task. + + * sem_res.adb (Resolve_Call): Clarify use of secondary stack within + initialization operations and recognize use of it in procedure calls + within init_procs. + + * exp_ch9.adb (Make_Task_Create_Call): Copy full tree of Task_Name + argument, because it may have side-effects. + + * exp_ch2.adb: Remove obsolete comments on default functions + +2009-04-10 Jose Ruiz <ruiz@adacore.com> + + * adaint.c (RTX section): Do for RTX the same thing as we do for + Windows (include ctype.h and define a fallback ISALPHA if IN_RTS). + +2009-04-10 Robert Dewar <dewar@adacore.com> + + * sem_aux.ads, sem_aux.adb (Nearest_Current_Scope): New function. + + * sem_res.adb (Resolve_Call): Fix test for + Suppress_Value_Tracking_On_Call (was wrong for the case of a call from + a non-dynamic scope). + +2009-04-10 Robert Dewar <dewar@adacore.com> + + * make.adb: Add comment. + Minor reformatting + +2009-04-10 Nicolas Setton <setton@adacore.com> + + * s-osprim-darwin.adb: New file. + + * s-osinte-darwin.adb, s-osinte-darwin.ads: Fix binding to timespec. + +2009-04-10 Thomas Quinot <quinot@adacore.com> + + * g-socket.ads: Add comment clarifying alignment requirement for Fd_Set + +2009-04-09 Nick Clifton <nickc@redhat.com> + + * adadecode.h: Change copyright header to refer to version + 3 of the GNU General Public License with version 3.1 of the + GCC Runtime Library Exception and to point readers at the + COPYING3 and COPYING3.RUNTIME files and the FSF's license web + page. + * 9drpc.adb: Likewise. + * a-assert.adb: Likewise. + * a-astaco.adb: Likewise. + * a-calari.adb: Likewise. + * a-calcon.adb: Likewise. + * a-calcon.ads: Likewise. + * a-caldel.ads: Likewise. + * a-calend-vms.adb: Likewise. + * a-calend-vms.ads: Likewise. + * a-calend.adb: Likewise. + * a-calend.ads: Likewise. + * a-calfor.adb: Likewise. + * a-catizo.adb: Likewise. + * a-cdlili.adb: Likewise. + * a-cdlili.ads: Likewise. + * a-cgaaso.adb: Likewise. + * a-cgaaso.ads: Likewise. + * a-cgarso.adb: Likewise. + * a-cgcaso.adb: Likewise. + * a-chacon.adb: Likewise. + * a-chacon.ads: Likewise. + * a-chahan.adb: Likewise. + * a-chahan.ads: Likewise. + * a-chlat9.ads: Likewise. + * a-chtgke.adb: Likewise. + * a-chtgke.ads: Likewise. + * a-chtgop.adb: Likewise. + * a-chtgop.ads: Likewise. + * a-chzla1.ads: Likewise. + * a-chzla9.ads: Likewise. + * a-cidlli.adb: Likewise. + * a-cidlli.ads: Likewise. + * a-cihama.adb: Likewise. + * a-cihama.ads: Likewise. + * a-cihase.adb: Likewise. + * a-cihase.ads: Likewise. + * a-ciorma.adb: Likewise. + * a-ciorma.ads: Likewise. + * a-ciormu.adb: Likewise. + * a-ciormu.ads: Likewise. + * a-ciorse.adb: Likewise. + * a-ciorse.ads: Likewise. + * a-clrefi.adb: Likewise. + * a-clrefi.ads: Likewise. + * a-cohama.adb: Likewise. + * a-cohama.ads: Likewise. + * a-cohase.adb: Likewise. + * a-cohase.ads: Likewise. + * a-cohata.ads: Likewise. + * a-coinve.adb: Likewise. + * a-coinve.ads: Likewise. + * a-colien.adb: Likewise. + * a-colien.ads: Likewise. + * a-colire.adb: Likewise. + * a-colire.ads: Likewise. + * a-comlin.adb: Likewise. + * a-comlin.ads: Likewise. + * a-convec.adb: Likewise. + * a-convec.ads: Likewise. + * a-coorma.adb: Likewise. + * a-coorma.ads: Likewise. + * a-coormu.adb: Likewise. + * a-coormu.ads: Likewise. + * a-coorse.adb: Likewise. + * a-coorse.ads: Likewise. + * a-coprnu.adb: Likewise. + * a-coprnu.ads: Likewise. + * a-crbltr.ads: Likewise. + * a-crbtgk.adb: Likewise. + * a-crbtgk.ads: Likewise. + * a-crbtgo.adb: Likewise. + * a-crbtgo.ads: Likewise. + * a-crdlli.adb: Likewise. + * a-crdlli.ads: Likewise. + * a-cwila1.ads: Likewise. + * a-cwila9.ads: Likewise. + * a-decima.adb: Likewise. + * a-decima.ads: Likewise. + * a-diocst.adb: Likewise. + * a-diocst.ads: Likewise. + * a-direct.adb: Likewise. + * a-direct.ads: Likewise. + * a-direio.adb: Likewise. + * a-direio.ads: Likewise. + * a-dirval-mingw.adb: Likewise. + * a-dirval-vms.adb: Likewise. + * a-dirval.adb: Likewise. + * a-dirval.ads: Likewise. + * a-dynpri.adb: Likewise. + * a-einuoc.adb: Likewise. + * a-einuoc.ads: Likewise. + * a-elchha.adb: Likewise. + * a-elchha.ads: Likewise. + * a-envvar.adb: Likewise. + * a-excach.adb: Likewise. + * a-except-2005.adb: Likewise. + * a-except-2005.ads: Likewise. + * a-except.adb: Likewise. + * a-except.ads: Likewise. + * a-excpol-abort.adb: Likewise. + * a-excpol.adb: Likewise. + * a-exctra.adb: Likewise. + * a-exctra.ads: Likewise. + * a-exetim-mingw.adb: Likewise. + * a-exetim-mingw.ads: Likewise. + * a-exexda.adb: Likewise. + * a-exexpr-gcc.adb: Likewise. + * a-exexpr.adb: Likewise. + * a-exextr.adb: Likewise. + * a-exstat.adb: Likewise. + * a-filico.adb: Likewise. + * a-filico.ads: Likewise. + * a-finali.adb: Likewise. + * a-finali.ads: Likewise. + * a-interr.ads: Likewise. + * a-intnam-aix.ads: Likewise. + * a-intnam-darwin.ads: Likewise. + * a-intnam-dummy.ads: Likewise. + * a-intnam-freebsd.ads: Likewise. + * a-intnam-hpux.ads: Likewise. + * a-intnam-irix.ads: Likewise. + * a-intnam-linux.ads: Likewise. + * a-intnam-lynxos.ads: Likewise. + * a-intnam-mingw.ads: Likewise. + * a-intnam-rtems.ads: Likewise. + * a-intnam-solaris.ads: Likewise. + * a-intnam-tru64.ads: Likewise. + * a-intnam-vms.ads: Likewise. + * a-intnam-vxworks.ads: Likewise. + * a-intsig.adb: Likewise. + * a-intsig.ads: Likewise. + * a-ngcefu.adb: Likewise. + * a-ngcoar.adb: Likewise. + * a-ngcoty.adb: Likewise. + * a-ngcoty.ads: Likewise. + * a-ngelfu.adb: Likewise. + * a-ngrear.adb: Likewise. + * a-ngrear.ads: Likewise. + * a-nudira.adb: Likewise. + * a-nudira.ads: Likewise. + * a-nuflra.adb: Likewise. + * a-nuflra.ads: Likewise. + * a-numaux-darwin.adb: Likewise. + * a-numaux-darwin.ads: Likewise. + * a-numaux-libc-x86.ads: Likewise. + * a-numaux-vxworks.ads: Likewise. + * a-numaux-x86.adb: Likewise. + * a-numaux-x86.ads: Likewise. + * a-numaux.ads: Likewise. + * a-rbtgso.adb: Likewise. + * a-rbtgso.ads: Likewise. + * a-reatim.ads: Likewise. + * a-retide.adb: Likewise. + * a-retide.ads: Likewise. + * a-rttiev.adb: Likewise. + * a-rttiev.ads: Likewise. + * a-secain.adb: Likewise. + * a-secain.ads: Likewise. + * a-sequio.adb: Likewise. + * a-sequio.ads: Likewise. + * a-shcain.adb: Likewise. + * a-shcain.ads: Likewise. + * a-siocst.adb: Likewise. + * a-siocst.ads: Likewise. + * a-slcain.adb: Likewise. + * a-slcain.ads: Likewise. + * a-ssicst.adb: Likewise. + * a-ssicst.ads: Likewise. + * a-stboha.adb: Likewise. + * a-stmaco.ads: Likewise. + * a-storio.adb: Likewise. + * a-strbou.adb: Likewise. + * a-strbou.ads: Likewise. + * a-stream.ads: Likewise. + * a-strfix.adb: Likewise. + * a-strhas.adb: Likewise. + * a-strmap.adb: Likewise. + * a-strmap.ads: Likewise. + * a-strsea.adb: Likewise. + * a-strsea.ads: Likewise. + * a-strsup.adb: Likewise. + * a-strsup.ads: Likewise. + * a-strunb.adb: Likewise. + * a-strunb.ads: Likewise. + * a-ststio.adb: Likewise. + * a-ststio.ads: Likewise. + * a-stunau.adb: Likewise. + * a-stunau.ads: Likewise. + * a-stunha.adb: Likewise. + * a-stwibo.adb: Likewise. + * a-stwibo.ads: Likewise. + * a-stwifi.adb: Likewise. + * a-stwiha.adb: Likewise. + * a-stwima.adb: Likewise. + * a-stwima.ads: Likewise. + * a-stwise.adb: Likewise. + * a-stwise.ads: Likewise. + * a-stwisu.adb: Likewise. + * a-stwisu.ads: Likewise. + * a-stwiun.adb: Likewise. + * a-stwiun.ads: Likewise. + * a-stzbou.adb: Likewise. + * a-stzbou.ads: Likewise. + * a-stzfix.adb: Likewise. + * a-stzhas.adb: Likewise. + * a-stzmap.adb: Likewise. + * a-stzmap.ads: Likewise. + * a-stzsea.adb: Likewise. + * a-stzsea.ads: Likewise. + * a-stzsup.adb: Likewise. + * a-stzsup.ads: Likewise. + * a-stzunb.adb: Likewise. + * a-stzunb.ads: Likewise. + * a-suteio.adb: Likewise. + * a-suteio.ads: Likewise. + * a-swbwha.adb: Likewise. + * a-swmwco.ads: Likewise. + * a-swunau.adb: Likewise. + * a-swunau.ads: Likewise. + * a-swuwha.adb: Likewise. + * a-swuwti.adb: Likewise. + * a-swuwti.ads: Likewise. + * a-sytaco.adb: Likewise. + * a-sytaco.ads: Likewise. + * a-szbzha.adb: Likewise. + * a-szmzco.ads: Likewise. + * a-szunau.adb: Likewise. + * a-szunau.ads: Likewise. + * a-szuzha.adb: Likewise. + * a-szuzti.adb: Likewise. + * a-szuzti.ads: Likewise. + * a-tags.adb: Likewise. + * a-tags.ads: Likewise. + * a-tasatt.ads: Likewise. + * a-taside.adb: Likewise. + * a-taside.ads: Likewise. + * a-taster.adb: Likewise. + * a-teioed.adb: Likewise. + * a-teioed.ads: Likewise. + * a-textio.adb: Likewise. + * a-textio.ads: Likewise. + * a-tiboio.adb: Likewise. + * a-ticoau.adb: Likewise. + * a-ticoau.ads: Likewise. + * a-ticoio.adb: Likewise. + * a-ticoio.ads: Likewise. + * a-tideau.adb: Likewise. + * a-tideau.ads: Likewise. + * a-tideio.adb: Likewise. + * a-tideio.ads: Likewise. + * a-tienau.adb: Likewise. + * a-tienau.ads: Likewise. + * a-tienio.adb: Likewise. + * a-tienio.ads: Likewise. + * a-tifiio.adb: Likewise. + * a-tifiio.ads: Likewise. + * a-tiflau.adb: Likewise. + * a-tiflau.ads: Likewise. + * a-tiflio.adb: Likewise. + * a-tiflio.ads: Likewise. + * a-tigeau.adb: Likewise. + * a-tigeau.ads: Likewise. + * a-tiinau.adb: Likewise. + * a-tiinau.ads: Likewise. + * a-tiinio.adb: Likewise. + * a-tiinio.ads: Likewise. + * a-timoau.adb: Likewise. + * a-timoau.ads: Likewise. + * a-timoio.adb: Likewise. + * a-timoio.ads: Likewise. + * a-tiocst.adb: Likewise. + * a-tiocst.ads: Likewise. + * a-titest.adb: Likewise. + * a-wichun.adb: Likewise. + * a-wichun.ads: Likewise. + * a-witeio.adb: Likewise. + * a-witeio.ads: Likewise. + * a-wtcoau.adb: Likewise. + * a-wtcoau.ads: Likewise. + * a-wtcoio.adb: Likewise. + * a-wtcstr.adb: Likewise. + * a-wtcstr.ads: Likewise. + * a-wtdeau.adb: Likewise. + * a-wtdeau.ads: Likewise. + * a-wtdeio.adb: Likewise. + * a-wtdeio.ads: Likewise. + * a-wtedit.adb: Likewise. + * a-wtedit.ads: Likewise. + * a-wtenau.adb: Likewise. + * a-wtenau.ads: Likewise. + * a-wtenio.adb: Likewise. + * a-wtenio.ads: Likewise. + * a-wtfiio.adb: Likewise. + * a-wtfiio.ads: Likewise. + * a-wtflau.adb: Likewise. + * a-wtflau.ads: Likewise. + * a-wtflio.adb: Likewise. + * a-wtflio.ads: Likewise. + * a-wtgeau.adb: Likewise. + * a-wtgeau.ads: Likewise. + * a-wtinau.adb: Likewise. + * a-wtinau.ads: Likewise. + * a-wtinio.adb: Likewise. + * a-wtmoau.adb: Likewise. + * a-wtmoau.ads: Likewise. + * a-wtmoio.adb: Likewise. + * a-wtmoio.ads: Likewise. + * a-wttest.adb: Likewise. + * a-wwboio.adb: Likewise. + * a-zchuni.adb: Likewise. + * a-zchuni.ads: Likewise. + * a-ztcoau.adb: Likewise. + * a-ztcoau.ads: Likewise. + * a-ztcoio.adb: Likewise. + * a-ztcstr.adb: Likewise. + * a-ztcstr.ads: Likewise. + * a-ztdeau.adb: Likewise. + * a-ztdeau.ads: Likewise. + * a-ztdeio.adb: Likewise. + * a-ztdeio.ads: Likewise. + * a-ztedit.adb: Likewise. + * a-ztedit.ads: Likewise. + * a-ztenau.adb: Likewise. + * a-ztenau.ads: Likewise. + * a-ztenio.adb: Likewise. + * a-ztenio.ads: Likewise. + * a-ztexio.adb: Likewise. + * a-ztexio.ads: Likewise. + * a-ztfiio.adb: Likewise. + * a-ztfiio.ads: Likewise. + * a-ztflau.adb: Likewise. + * a-ztflau.ads: Likewise. + * a-ztflio.adb: Likewise. + * a-ztflio.ads: Likewise. + * a-ztgeau.adb: Likewise. + * a-ztgeau.ads: Likewise. + * a-ztinau.adb: Likewise. + * a-ztinau.ads: Likewise. + * a-ztinio.adb: Likewise. + * a-ztmoau.adb: Likewise. + * a-ztmoau.ads: Likewise. + * a-ztmoio.adb: Likewise. + * a-ztmoio.ads: Likewise. + * a-zttest.adb: Likewise. + * a-zzboio.adb: Likewise. + * adadecode.c: Likewise. + * adaint.c: Likewise. + * adaint.h: Likewise. + * alloc.ads: Likewise. + * argv.c: Likewise. + * arit64.c: Likewise. + * atree.adb: Likewise. + * atree.ads: Likewise. + * aux-io.c: Likewise. + * cal.c: Likewise. + * casing.adb: Likewise. + * casing.ads: Likewise. + * cio.c: Likewise. + * csets.adb: Likewise. + * csets.ads: Likewise. + * cstreams.c: Likewise. + * ctrl_c.c: Likewise. + * debug.adb: Likewise. + * debug.ads: Likewise. + * dec.ads: Likewise. + * einfo.adb: Likewise. + * einfo.ads: Likewise. + * elists.adb: Likewise. + * elists.ads: Likewise. + * env.c: Likewise. + * env.h: Likewise. + * errno.c: Likewise. + * exit.c: Likewise. + * fe.h: Likewise. + * final.c: Likewise. + * fname.adb: Likewise. + * fname.ads: Likewise. + * g-allein.ads: Likewise. + * g-alleve.adb: Likewise. + * g-alleve.ads: Likewise. + * g-altcon.adb: Likewise. + * g-altcon.ads: Likewise. + * g-altive.ads: Likewise. + * g-alveop.adb: Likewise. + * g-alveop.ads: Likewise. + * g-alvety.ads: Likewise. + * g-alvevi.ads: Likewise. + * g-arrspl.adb: Likewise. + * g-arrspl.ads: Likewise. + * g-calend.ads: Likewise. + * g-comlin.adb: Likewise. + * g-debpoo.adb: Likewise. + * g-debpoo.ads: Likewise. + * g-eacodu-vms.adb: Likewise. + * g-eacodu.adb: Likewise. + * g-excact.adb: Likewise. + * g-excact.ads: Likewise. + * g-locfil.adb: Likewise. + * g-os_lib.ads: Likewise. + * g-rannum.adb: Likewise. + * g-rannum.ads: Likewise. + * g-regist.adb: Likewise. + * g-regist.ads: Likewise. + * g-signal.adb: Likewise. + * g-signal.ads: Likewise. + * g-soccon.ads: Likewise. + * g-string.adb: Likewise. + * g-string.ads: Likewise. + * g-strspl.ads: Likewise. + * g-timsta.adb: Likewise. + * g-timsta.ads: Likewise. + * g-trasym-vms-alpha.adb: Likewise. + * g-trasym-vms-ia64.adb: Likewise. + * g-utf_32.adb: Likewise. + * g-utf_32.ads: Likewise. + * g-wistsp.ads: Likewise. + * g-zstspl.ads: Likewise. + * gmem.c: Likewise. + * gnatvsn.adb: Likewise. + * gnatvsn.ads: Likewise. + * gsocket.h: Likewise. + * hostparm.ads: Likewise. + * i-c.adb: Likewise. + * i-cexten.ads: Likewise. + * i-cobol.adb: Likewise. + * i-cobol.ads: Likewise. + * i-cpoint.adb: Likewise. + * i-cpoint.ads: Likewise. + * i-cpp.adb: Likewise. + * i-cpp.ads: Likewise. + * i-cstrea-vms.adb: Likewise. + * i-cstrea.adb: Likewise. + * i-cstrea.ads: Likewise. + * i-cstrin.adb: Likewise. + * i-cstrin.ads: Likewise. + * i-forbla-darwin.adb: Likewise. + * i-forbla-unimplemented.ads: Likewise. + * i-forbla.adb: Likewise. + * i-forbla.ads: Likewise. + * i-forlap.ads: Likewise. + * i-fortra.adb: Likewise. + * i-pacdec.adb: Likewise. + * i-pacdec.ads: Likewise. + * i-vxwoio.adb: Likewise. + * i-vxwoio.ads: Likewise. + * indepsw-aix.adb: Likewise. + * indepsw-gnu.adb: Likewise. + * indepsw-mingw.adb: Likewise. + * indepsw.adb: Likewise. + * indepsw.ads: Likewise. + * init.c: Likewise. + * initialize.c: Likewise. + * interfac.ads: Likewise. + * krunch.adb: Likewise. + * krunch.ads: Likewise. + * lib-list.adb: Likewise. + * lib-sort.adb: Likewise. + * lib.adb: Likewise. + * lib.ads: Likewise. + * link.c: Likewise. + * math_lib.adb: Likewise. + * memtrack.adb: Likewise. + * mingw32.h: Likewise. + * mkdir.c: Likewise. + * namet-sp.adb: Likewise. + * namet-sp.ads: Likewise. + * namet.adb: Likewise. + * namet.ads: Likewise. + * nlists.adb: Likewise. + * nlists.ads: Likewise. + * opt.adb: Likewise. + * opt.ads: Likewise. + * output.adb: Likewise. + * output.ads: Likewise. + * raise-gcc.c: Likewise. + * raise.c: Likewise. + * raise.h: Likewise. + * repinfo.adb: Likewise. + * repinfo.ads: Likewise. + * repinfo.h: Likewise. + * rident.ads: Likewise. + * s-addima.adb: Likewise. + * s-addima.ads: Likewise. + * s-addope.adb: Likewise. + * s-addope.ads: Likewise. + * s-arit64.adb: Likewise. + * s-arit64.ads: Likewise. + * s-assert.adb: Likewise. + * s-assert.ads: Likewise. + * s-asthan-vms-alpha.adb: Likewise. + * s-asthan.adb: Likewise. + * s-asthan.ads: Likewise. + * s-atacco.adb: Likewise. + * s-atacco.ads: Likewise. + * s-auxdec-empty.adb: Likewise. + * s-auxdec-empty.ads: Likewise. + * s-auxdec-vms_64.ads: Likewise. + * s-auxdec.adb: Likewise. + * s-auxdec.ads: Likewise. + * s-bitops.adb: Likewise. + * s-bitops.ads: Likewise. + * s-boarop.ads: Likewise. + * s-carsi8.adb: Likewise. + * s-carsi8.ads: Likewise. + * s-carun8.adb: Likewise. + * s-carun8.ads: Likewise. + * s-casi16.adb: Likewise. + * s-casi16.ads: Likewise. + * s-casi32.adb: Likewise. + * s-casi32.ads: Likewise. + * s-casi64.adb: Likewise. + * s-casi64.ads: Likewise. + * s-casuti.ads: Likewise. + * s-caun16.adb: Likewise. + * s-caun16.ads: Likewise. + * s-caun32.adb: Likewise. + * s-caun32.ads: Likewise. + * s-caun64.adb: Likewise. + * s-caun64.ads: Likewise. + * s-chepoo.ads: Likewise. + * s-crc32.adb: Likewise. + * s-crc32.ads: Likewise. + * s-crtl.ads: Likewise. + * s-direio.adb: Likewise. + * s-direio.ads: Likewise. + * s-dsaser.ads: Likewise. + * s-except.adb: Likewise. + * s-except.ads: Likewise. + * s-exctab.adb: Likewise. + * s-exctab.ads: Likewise. + * s-exnint.adb: Likewise. + * s-exnint.ads: Likewise. + * s-exnllf.adb: Likewise. + * s-exnllf.ads: Likewise. + * s-exnlli.adb: Likewise. + * s-exnlli.ads: Likewise. + * s-expint.adb: Likewise. + * s-expint.ads: Likewise. + * s-explli.adb: Likewise. + * s-explli.ads: Likewise. + * s-expllu.adb: Likewise. + * s-expllu.ads: Likewise. + * s-expmod.adb: Likewise. + * s-expmod.ads: Likewise. + * s-expuns.adb: Likewise. + * s-expuns.ads: Likewise. + * s-fatflt.ads: Likewise. + * s-fatgen.adb: Likewise. + * s-fatgen.ads: Likewise. + * s-fatlfl.ads: Likewise. + * s-fatllf.ads: Likewise. + * s-fatsfl.ads: Likewise. + * s-ficobl.ads: Likewise. + * s-fileio.adb: Likewise. + * s-fileio.ads: Likewise. + * s-filofl.ads: Likewise. + * s-finimp.adb: Likewise. + * s-finimp.ads: Likewise. + * s-finroo.adb: Likewise. + * s-finroo.ads: Likewise. + * s-fishfl.ads: Likewise. + * s-fore.adb: Likewise. + * s-fore.ads: Likewise. + * s-fvadfl.ads: Likewise. + * s-fvaffl.ads: Likewise. + * s-fvagfl.ads: Likewise. + * s-gearop.adb: Likewise. + * s-gearop.ads: Likewise. + * s-gecobl.adb: Likewise. + * s-gecobl.ads: Likewise. + * s-gecola.adb: Likewise. + * s-gecola.ads: Likewise. + * s-gerebl.adb: Likewise. + * s-gerebl.ads: Likewise. + * s-gerela.adb: Likewise. + * s-gerela.ads: Likewise. + * s-geveop.adb: Likewise. + * s-geveop.ads: Likewise. + * s-gloloc.adb: Likewise. + * s-gloloc.ads: Likewise. + * s-hibaen.ads: Likewise. + * s-imenne.adb: Likewise. + * s-imenne.ads: Likewise. + * s-imgbiu.adb: Likewise. + * s-imgbiu.ads: Likewise. + * s-imgboo.adb: Likewise. + * s-imgboo.ads: Likewise. + * s-imgcha.adb: Likewise. + * s-imgcha.ads: Likewise. + * s-imgdec.adb: Likewise. + * s-imgdec.ads: Likewise. + * s-imgenu.adb: Likewise. + * s-imgenu.ads: Likewise. + * s-imgint.adb: Likewise. + * s-imgint.ads: Likewise. + * s-imgllb.adb: Likewise. + * s-imgllb.ads: Likewise. + * s-imglld.adb: Likewise. + * s-imglld.ads: Likewise. + * s-imglli.adb: Likewise. + * s-imglli.ads: Likewise. + * s-imgllu.adb: Likewise. + * s-imgllu.ads: Likewise. + * s-imgllw.adb: Likewise. + * s-imgllw.ads: Likewise. + * s-imgrea.adb: Likewise. + * s-imgrea.ads: Likewise. + * s-imguns.adb: Likewise. + * s-imguns.ads: Likewise. + * s-imgwch.adb: Likewise. + * s-imgwch.ads: Likewise. + * s-imgwiu.adb: Likewise. + * s-imgwiu.ads: Likewise. + * s-inmaop-dummy.adb: Likewise. + * s-inmaop-vms.adb: Likewise. + * s-inmaop.ads: Likewise. + * s-interr-hwint.adb: Likewise. + * s-interr-sigaction.adb: Likewise. + * s-interr-vms.adb: Likewise. + * s-interr.adb: Likewise. + * s-interr.ads: Likewise. + * s-intman-dummy.adb: Likewise. + * s-intman-mingw.adb: Likewise. + * s-intman-posix.adb: Likewise. + * s-intman-solaris.adb: Likewise. + * s-intman-vms.adb: Likewise. + * s-intman-vms.ads: Likewise. + * s-intman-vxworks.adb: Likewise. + * s-intman-vxworks.ads: Likewise. + * s-intman.ads: Likewise. + * s-io.adb: Likewise. + * s-io.ads: Likewise. + * s-linux-alpha.ads: Likewise. + * s-linux-hppa.ads: Likewise. + * s-linux.ads: Likewise. + * s-maccod.ads: Likewise. + * s-mantis.adb: Likewise. + * s-mantis.ads: Likewise. + * s-mastop-irix.adb: Likewise. + * s-mastop.adb: Likewise. + * s-mastop.ads: Likewise. + * s-memcop.ads: Likewise. + * s-memory-mingw.adb: Likewise. + * s-memory.adb: Likewise. + * s-memory.ads: Likewise. + * s-os_lib.ads: Likewise. + * s-oscons-tmplt.c: Likewise. + * s-osinte-aix.adb: Likewise. + * s-osinte-darwin.adb: Likewise. + * s-osinte-freebsd.adb: Likewise. + * s-osinte-irix.adb: Likewise. + * s-osinte-lynxos-3.adb: Likewise. + * s-osinte-rtems.ads: Likewise. + * s-osinte-tru64.adb: Likewise. + * s-osinte-vxworks-kernel.adb: Likewise. + * s-osinte-vxworks.adb: Likewise. + * s-osprim-mingw.adb: Likewise. + * s-osprim-posix.adb: Likewise. + * s-osprim-solaris.adb: Likewise. + * s-osprim-unix.adb: Likewise. + * s-osprim-vms.adb: Likewise. + * s-osprim-vms.ads: Likewise. + * s-osprim-vxworks.adb: Likewise. + * s-osprim.ads: Likewise. + * s-pack03.adb: Likewise. + * s-pack03.ads: Likewise. + * s-pack05.adb: Likewise. + * s-pack05.ads: Likewise. + * s-pack06.adb: Likewise. + * s-pack06.ads: Likewise. + * s-pack07.adb: Likewise. + * s-pack07.ads: Likewise. + * s-pack09.adb: Likewise. + * s-pack09.ads: Likewise. + * s-pack10.adb: Likewise. + * s-pack10.ads: Likewise. + * s-pack11.adb: Likewise. + * s-pack11.ads: Likewise. + * s-pack12.adb: Likewise. + * s-pack12.ads: Likewise. + * s-pack13.adb: Likewise. + * s-pack13.ads: Likewise. + * s-pack14.adb: Likewise. + * s-pack14.ads: Likewise. + * s-pack15.adb: Likewise. + * s-pack15.ads: Likewise. + * s-pack17.adb: Likewise. + * s-pack17.ads: Likewise. + * s-pack18.adb: Likewise. + * s-pack18.ads: Likewise. + * s-pack19.adb: Likewise. + * s-pack19.ads: Likewise. + * s-pack20.adb: Likewise. + * s-pack20.ads: Likewise. + * s-pack21.adb: Likewise. + * s-pack21.ads: Likewise. + * s-pack22.adb: Likewise. + * s-pack22.ads: Likewise. + * s-pack23.adb: Likewise. + * s-pack23.ads: Likewise. + * s-pack24.adb: Likewise. + * s-pack24.ads: Likewise. + * s-pack25.adb: Likewise. + * s-pack25.ads: Likewise. + * s-pack26.adb: Likewise. + * s-pack26.ads: Likewise. + * s-pack27.adb: Likewise. + * s-pack27.ads: Likewise. + * s-pack28.adb: Likewise. + * s-pack28.ads: Likewise. + * s-pack29.adb: Likewise. + * s-pack29.ads: Likewise. + * s-pack30.adb: Likewise. + * s-pack30.ads: Likewise. + * s-pack31.adb: Likewise. + * s-pack31.ads: Likewise. + * s-pack33.adb: Likewise. + * s-pack33.ads: Likewise. + * s-pack34.adb: Likewise. + * s-pack34.ads: Likewise. + * s-pack35.adb: Likewise. + * s-pack35.ads: Likewise. + * s-pack36.adb: Likewise. + * s-pack36.ads: Likewise. + * s-pack37.adb: Likewise. + * s-pack37.ads: Likewise. + * s-pack38.adb: Likewise. + * s-pack38.ads: Likewise. + * s-pack39.adb: Likewise. + * s-pack39.ads: Likewise. + * s-pack40.adb: Likewise. + * s-pack40.ads: Likewise. + * s-pack41.adb: Likewise. + * s-pack41.ads: Likewise. + * s-pack42.adb: Likewise. + * s-pack42.ads: Likewise. + * s-pack43.adb: Likewise. + * s-pack43.ads: Likewise. + * s-pack44.adb: Likewise. + * s-pack44.ads: Likewise. + * s-pack45.adb: Likewise. + * s-pack45.ads: Likewise. + * s-pack46.adb: Likewise. + * s-pack46.ads: Likewise. + * s-pack47.adb: Likewise. + * s-pack47.ads: Likewise. + * s-pack48.adb: Likewise. + * s-pack48.ads: Likewise. + * s-pack49.adb: Likewise. + * s-pack49.ads: Likewise. + * s-pack50.adb: Likewise. + * s-pack50.ads: Likewise. + * s-pack51.adb: Likewise. + * s-pack51.ads: Likewise. + * s-pack52.adb: Likewise. + * s-pack52.ads: Likewise. + * s-pack53.adb: Likewise. + * s-pack53.ads: Likewise. + * s-pack54.adb: Likewise. + * s-pack54.ads: Likewise. + * s-pack55.adb: Likewise. + * s-pack55.ads: Likewise. + * s-pack56.adb: Likewise. + * s-pack56.ads: Likewise. + * s-pack57.adb: Likewise. + * s-pack57.ads: Likewise. + * s-pack58.adb: Likewise. + * s-pack58.ads: Likewise. + * s-pack59.adb: Likewise. + * s-pack59.ads: Likewise. + * s-pack60.adb: Likewise. + * s-pack60.ads: Likewise. + * s-pack61.adb: Likewise. + * s-pack61.ads: Likewise. + * s-pack62.adb: Likewise. + * s-pack62.ads: Likewise. + * s-pack63.adb: Likewise. + * s-pack63.ads: Likewise. + * s-parame-ae653.ads: Likewise. + * s-parame-hpux.ads: Likewise. + * s-parame-rtems.adb: Likewise. + * s-parame-vms-alpha.ads: Likewise. + * s-parame-vms-ia64.ads: Likewise. + * s-parame-vms-restrict.ads: Likewise. + * s-parame-vxworks.adb: Likewise. + * s-parame-vxworks.ads: Likewise. + * s-parame.adb: Likewise. + * s-parame.ads: Likewise. + * s-parint.adb: Likewise. + * s-parint.ads: Likewise. + * s-pooglo.adb: Likewise. + * s-pooglo.ads: Likewise. + * s-pooloc.adb: Likewise. + * s-pooloc.ads: Likewise. + * s-poosiz.adb: Likewise. + * s-poosiz.ads: Likewise. + * s-powtab.ads: Likewise. + * s-proinf-irix-athread.adb: Likewise. + * s-proinf-irix-athread.ads: Likewise. + * s-proinf.adb: Likewise. + * s-proinf.ads: Likewise. + * s-purexc.ads: Likewise. + * s-rannum.adb: Likewise. + * s-rannum.ads: Likewise. + * s-restri.adb: Likewise. + * s-restri.ads: Likewise. + * s-rident.ads: Likewise. + * s-rpc.adb: Likewise. + * s-rpc.ads: Likewise. + * s-scaval.adb: Likewise. + * s-scaval.ads: Likewise. + * s-secsta.adb: Likewise. + * s-secsta.ads: Likewise. + * s-sequio.adb: Likewise. + * s-sequio.ads: Likewise. + * s-shasto.adb: Likewise. + * s-shasto.ads: Likewise. + * s-soflin.adb: Likewise. + * s-soflin.ads: Likewise. + * s-solita.adb: Likewise. + * s-solita.ads: Likewise. + * s-sopco3.adb: Likewise. + * s-sopco3.ads: Likewise. + * s-sopco4.adb: Likewise. + * s-sopco4.ads: Likewise. + * s-sopco5.adb: Likewise. + * s-sopco5.ads: Likewise. + * s-stache.adb: Likewise. + * s-stache.ads: Likewise. + * s-stalib.adb: Likewise. + * s-stalib.ads: Likewise. + * s-stausa.adb: Likewise. + * s-stausa.ads: Likewise. + * s-stchop-limit.ads: Likewise. + * s-stchop-rtems.adb: Likewise. + * s-stchop-vxworks.adb: Likewise. + * s-stchop.adb: Likewise. + * s-stchop.ads: Likewise. + * s-stoele.adb: Likewise. + * s-stoele.ads: Likewise. + * s-stopoo.adb: Likewise. + * s-stopoo.ads: Likewise. + * s-stratt.adb: Likewise. + * s-stratt.ads: Likewise. + * s-strcom.adb: Likewise. + * s-strcom.ads: Likewise. + * s-string.adb: Likewise. + * s-string.ads: Likewise. + * s-strops.adb: Likewise. + * s-strops.ads: Likewise. + * s-strxdr.adb: Likewise. + * s-ststop.adb: Likewise. + * s-ststop.ads: Likewise. + * s-taasde.adb: Likewise. + * s-taasde.ads: Likewise. + * s-tadeca.adb: Likewise. + * s-tadeca.ads: Likewise. + * s-tadert.adb: Likewise. + * s-tadert.ads: Likewise. + * s-taenca.adb: Likewise. + * s-taenca.ads: Likewise. + * s-taprob.ads: Likewise. + * s-taprop-dummy.adb: Likewise. + * s-taprop-hpux-dce.adb: Likewise. + * s-taprop-irix.adb: Likewise. + * s-taprop-linux.adb: Likewise. + * s-taprop-lynxos.adb: Likewise. + * s-taprop-mingw.adb: Likewise. + * s-taprop-posix.adb: Likewise. + * s-taprop-solaris.adb: Likewise. + * s-taprop-tru64.adb: Likewise. + * s-taprop-vms.adb: Likewise. + * s-taprop-vxworks.adb: Likewise. + * s-taprop.ads: Likewise. + * s-tarest.adb: Likewise. + * s-tarest.ads: Likewise. + * s-tasdeb.adb: Likewise. + * s-tasdeb.ads: Likewise. + * s-tasinf-irix.ads: Likewise. + * s-tasinf-linux.adb: Likewise. + * s-tasinf-linux.ads: Likewise. + * s-tasinf-mingw.adb: Likewise. + * s-tasinf-mingw.ads: Likewise. + * s-tasinf-solaris.adb: Likewise. + * s-tasinf-solaris.ads: Likewise. + * s-tasinf-tru64.ads: Likewise. + * s-tasinf.adb: Likewise. + * s-tasinf.ads: Likewise. + * s-tasini.adb: Likewise. + * s-tasini.ads: Likewise. + * s-taskin.adb: Likewise. + * s-taskin.ads: Likewise. + * s-taspri-dummy.ads: Likewise. + * s-taspri-hpux-dce.ads: Likewise. + * s-taspri-mingw.ads: Likewise. + * s-taspri-solaris.ads: Likewise. + * s-taspri-tru64.ads: Likewise. + * s-taspri-vms.ads: Likewise. + * s-taspri-vxworks.ads: Likewise. + * s-tasque.adb: Likewise. + * s-tasque.ads: Likewise. + * s-tasren.adb: Likewise. + * s-tasren.ads: Likewise. + * s-tasres.ads: Likewise. + * s-tassta.adb: Likewise. + * s-tassta.ads: Likewise. + * s-tasuti.adb: Likewise. + * s-tasuti.ads: Likewise. + * s-tfsetr-default.adb: Likewise. + * s-tfsetr-vxworks.adb: Likewise. + * s-tpinop.adb: Likewise. + * s-tpinop.ads: Likewise. + * s-tpoben.adb: Likewise. + * s-tpoben.ads: Likewise. + * s-tpobop.adb: Likewise. + * s-tpobop.ads: Likewise. + * s-tpopde-vms.adb: Likewise. + * s-tpopde-vms.ads: Likewise. + * s-tpopsp-lynxos.adb: Likewise. + * s-tpopsp-posix-foreign.adb: Likewise. + * s-tpopsp-posix.adb: Likewise. + * s-tpopsp-solaris.adb: Likewise. + * s-tpopsp-vxworks.adb: Likewise. + * s-tporft.adb: Likewise. + * s-tposen.adb: Likewise. + * s-tposen.ads: Likewise. + * s-traceb.adb: Likewise. + * s-traceb.ads: Likewise. + * s-traces-default.adb: Likewise. + * s-traces.adb: Likewise. + * s-traces.ads: Likewise. + * s-traent-vms.adb: Likewise. + * s-traent-vms.ads: Likewise. + * s-traent.adb: Likewise. + * s-traent.ads: Likewise. + * s-trafor-default.adb: Likewise. + * s-trafor-default.ads: Likewise. + * s-tratas-default.adb: Likewise. + * s-tratas.adb: Likewise. + * s-tratas.ads: Likewise. + * s-unstyp.ads: Likewise. + * s-utf_32.adb: Likewise. + * s-utf_32.ads: Likewise. + * s-vaflop-vms-alpha.adb: Likewise. + * s-vaflop.adb: Likewise. + * s-vaflop.ads: Likewise. + * s-valboo.adb: Likewise. + * s-valboo.ads: Likewise. + * s-valcha.adb: Likewise. + * s-valcha.ads: Likewise. + * s-valdec.adb: Likewise. + * s-valdec.ads: Likewise. + * s-valenu.adb: Likewise. + * s-valenu.ads: Likewise. + * s-valint.adb: Likewise. + * s-valint.ads: Likewise. + * s-vallld.adb: Likewise. + * s-vallld.ads: Likewise. + * s-vallli.adb: Likewise. + * s-vallli.ads: Likewise. + * s-valllu.adb: Likewise. + * s-valllu.ads: Likewise. + * s-valrea.adb: Likewise. + * s-valrea.ads: Likewise. + * s-valuns.adb: Likewise. + * s-valuns.ads: Likewise. + * s-valuti.adb: Likewise. + * s-valuti.ads: Likewise. + * s-valwch.adb: Likewise. + * s-valwch.ads: Likewise. + * s-veboop.adb: Likewise. + * s-veboop.ads: Likewise. + * s-vector.ads: Likewise. + * s-vercon.adb: Likewise. + * s-vercon.ads: Likewise. + * s-vmexta.adb: Likewise. + * s-vmexta.ads: Likewise. + * s-vxwext-kernel.ads: Likewise. + * s-vxwext-rtp.adb: Likewise. + * s-vxwext-rtp.ads: Likewise. + * s-vxwext.ads: Likewise. + * s-vxwork-arm.ads: Likewise. + * s-vxwork-m68k.ads: Likewise. + * s-vxwork-mips.ads: Likewise. + * s-vxwork-ppc.ads: Likewise. + * s-vxwork-sparcv9.ads: Likewise. + * s-vxwork-x86.ads: Likewise. + * s-wchcnv.adb: Likewise. + * s-wchcnv.ads: Likewise. + * s-wchcon.adb: Likewise. + * s-wchcon.ads: Likewise. + * s-wchjis.adb: Likewise. + * s-wchjis.ads: Likewise. + * s-wchstw.adb: Likewise. + * s-wchstw.ads: Likewise. + * s-wchwts.adb: Likewise. + * s-wchwts.ads: Likewise. + * s-widboo.adb: Likewise. + * s-widboo.ads: Likewise. + * s-widcha.adb: Likewise. + * s-widcha.ads: Likewise. + * s-widenu.adb: Likewise. + * s-widenu.ads: Likewise. + * s-widlli.adb: Likewise. + * s-widlli.ads: Likewise. + * s-widllu.adb: Likewise. + * s-widllu.ads: Likewise. + * s-widwch.adb: Likewise. + * s-widwch.ads: Likewise. + * s-win32.ads: Likewise. + * s-winext.ads: Likewise. + * s-wwdcha.adb: Likewise. + * s-wwdcha.ads: Likewise. + * s-wwdenu.adb: Likewise. + * s-wwdenu.ads: Likewise. + * s-wwdwch.adb: Likewise. + * s-wwdwch.ads: Likewise. + * scans.adb: Likewise. + * scans.ads: Likewise. + * seh_init.c: Likewise. + * sfn_scan.adb: Likewise. + * sinfo.adb: Likewise. + * sinfo.ads: Likewise. + * sinput.adb: Likewise. + * sinput.ads: Likewise. + * snames.adb: Likewise. + * snames.ads: Likewise. + * socket.c: Likewise. + * stand.adb: Likewise. + * stand.ads: Likewise. + * stringt.adb: Likewise. + * stringt.ads: Likewise. + * sysdep.c: Likewise. + * system-aix.ads: Likewise. + * system-darwin-ppc.ads: Likewise. + * system-darwin-x86.ads: Likewise. + * system-darwin-x86_64.ads: Likewise. + * system-freebsd-x86.ads: Likewise. + * system-hpux-ia64.ads: Likewise. + * system-hpux.ads: Likewise. + * system-irix-n32.ads: Likewise. + * system-irix-n64.ads: Likewise. + * system-irix-o32.ads: Likewise. + * system-linux-alpha.ads: Likewise. + * system-linux-hppa.ads: Likewise. + * system-linux-ia64.ads: Likewise. + * system-linux-mips.ads: Likewise. + * system-linux-mipsel.ads: Likewise. + * system-linux-ppc.ads: Likewise. + * system-linux-ppc64.ads: Likewise. + * system-linux-s390.ads: Likewise. + * system-linux-s390x.ads: Likewise. + * system-linux-sh4.ads: Likewise. + * system-linux-sparc.ads: Likewise. + * system-linux-sparcv9.ads: Likewise. + * system-linux-x86.ads: Likewise. + * system-linux-x86_64.ads: Likewise. + * system-lynxos-ppc.ads: Likewise. + * system-lynxos-x86.ads: Likewise. + * system-mingw-x86_64.ads: Likewise. + * system-mingw.ads: Likewise. + * system-rtems.ads: Likewise. + * system-solaris-sparc.ads: Likewise. + * system-solaris-sparcv9.ads: Likewise. + * system-solaris-x86.ads: Likewise. + * system-solaris-x86_64.ads: Likewise. + * system-tru64.ads: Likewise. + * system-vms-ia64.ads: Likewise. + * system-vms-zcx.ads: Likewise. + * system-vms.ads: Likewise. + * system-vms_64.ads: Likewise. + * system-vxworks-arm.ads: Likewise. + * system-vxworks-m68k.ads: Likewise. + * system-vxworks-mips.ads: Likewise. + * system-vxworks-ppc.ads: Likewise. + * system-vxworks-sparcv9.ads: Likewise. + * system-vxworks-x86.ads: Likewise. + * system.ads: Likewise. + * table.adb: Likewise. + * table.ads: Likewise. + * targext.c: Likewise. + * targparm.ads: Likewise. + * tree_in.adb: Likewise. + * tree_in.ads: Likewise. + * tree_io.adb: Likewise. + * tree_io.ads: Likewise. + * types.adb: Likewise. + * types.ads: Likewise. + * uintp.adb: Likewise. + * uintp.ads: Likewise. + * uname.adb: Likewise. + * uname.ads: Likewise. + * urealp.adb: Likewise. + * urealp.ads: Likewise. + * vx_stack_info.c: Likewise. + * widechar.adb: Likewise. + * widechar.ads: Likewise. + * exp_attr.adb: Change copyright header to refer to version + 3 of the GNU General Public License and to point readers at the + COPYING3 file and the FSF's license web page. + * sem.adb: Likewise. + * sem_attr.ads: Likewise. + * freeze.adb: Likewise. + * freeze.ads: Likewise. + * errout.ads: Likewise. + * erroutc.adb: Likewise. + * exp_ch11.ads: Likewise. + +2009-04-09 Jakub Jelinek <jakub@redhat.com> + + * config-lang.in: Change copyright header to refer to version + 3 of the GNU General Public License and to point readers at the + COPYING3 file and the FSF's license web page. + * gcc-interface/trans.c: Likewise. + * gnathtml.pl: Likewise. + * gcc-interface/ada.h: Likewise. Remove runtime exception. + * gcc-interface/gigi.h: Likewise. + * gcc-interface/misc.c: Likewise. + * gcc-interface/targtyps.c: Likewise. + +2009-04-09 Nicolas Setton <setton@adacore.com> + + * s-osinte-darwin.ads: Fix wrong binding to struc timeval. + + * s-osinte-darwin.adb (To_Timeval): Adapt to fixed implementation of + struct_timeval. + +2009-04-09 Bob Duff <duff@adacore.com> + + * exp_ch5.adb, exp_ch9.adb: Correct miscellaneous Slocs in + internally-generated nodes related to select statements to avoid + confusing the debugger. + +2009-04-09 Pascal Obry <obry@adacore.com> + + * make.adb: Ensure that all linker arguments are duplicated. + +2009-04-09 Robert Dewar <dewar@adacore.com> + + * sem_ch5.adb: Minor reformatting + +2009-04-09 Vincent Celier <celier@adacore.com> + + * vms_data.ads: + Change GNAT CHECK qualifier /DIAGNOSIS_LIMIT to /DIAGNOSTIC_LIMIT + New qualifier /LEXPAND_SOURCE=nnn for -gnatGnnn + New qualifier /LXDEBUG=nnn for -gnatDnnn + For H820-010 + + * gnat_ugn.texi: + Update documentation for VMS qualifiers equivalent to -gnatGnn and + -gnatDnn + +2009-04-09 Nicolas Setton <setton@adacore.com> + + * s-osinte-darwin.ads: (Pad_Type): Make this an array of unsigned_long, + to match layout of siginfo_t in sys/signal.h. + + * gcc-interface/Makefile.in: Add section for x86_64 darwin. + +2009-04-09 Thomas Quinot <quinot@adacore.com> + + * g-socket.ads: (Fd_Set): Use Interfaces.C.long alignment. + +2009-04-09 Nicolas Setton <setton@adacore.com> + + * s-oscons-tmplt.c: Allow long lines in the generated spec. + Add generation of Darwin-specific constants needed when binding to the + pthread library. + +2009-04-09 Robert Dewar <dewar@adacore.com> + + * checks.adb: + (Insert_Valid_Check): Avoid unnecessary generation of junk declaration + when no invalid values exist, Avoid duplicate read of atomic variable. + + * cstand.adb (Build_Signed_Integer_Type): Set Is_Known_Valid + (Standard_Unsigned): Set Is_Known_Valid + + * sem_ch3.adb (Analyze_Subtype_Declaration): Copy Is_Known_Valid on + subtype declaration if no constraint. + (Set_Modular_Size): Set Is_Known_Valid if appropriate + (Build_Derived_Numeric_Type): Copy Is_Known_Valid if no constraint + +2009-04-09 Robert Dewar <dewar@adacore.com> + + * switch-c.adb, gnat_ugn.texi, vms_data.ads, switch.adb, + switch.ads: for numeric switches, an optional equal sign is always + allowed. + +2009-04-09 Vincent Celier <celier@adacore.com> + + * prj-nmsc.adb (Get_Unit): Do not consider Casing on platform where + the case of file names is not significant. + +2009-04-09 Vincent Celier <celier@adacore.com> + + * errout.adb: Remove dependency on package Style + + * style.ads, styleg.adb, styleg.ads (RM_Column_Check): Remove function, + moved to Stylesw. + + * stylesw.ads, stylesw.adb (RM_Column_Check): New function, moved from + Styleg. + + * errutil.adb, par.adb: Import Stylesw + +2009-04-09 Arnaud Charlet <charlet@adacore.com> + + * opt.ads: Fix typos. + +2009-04-09 Robert Dewar <dewar@adacore.com> + + * einfo.adb: Minor reformatting + +2009-04-09 Robert Dewar <dewar@adacore.com> + + * gcc-interface/Make-lang.in, style.ads, style.adb: Reorganize style + units. + + * styleg-c.ads, styleg-c.adb: Removed, no longer used. + +2009-04-09 Robert Dewar <dewar@adacore.com> + + * g-comver.adb: Minor reformatting. + +2009-04-09 Thomas Quinot <quinot@adacore.com> + + * lib-load.ads (Load_Unit): Update documentation. + +2009-04-09 Ed Schonberg <schonberg@adacore.com> + + * lib-load.adb (Load_Unit): When loading the parent of a child unit + named in a with_clause, retain the with_clause to preserve a + limited_with indication. + +2009-04-09 Robert Dewar <dewar@adacore.com> + + * sem_ch7.adb, sem_ch10.adb, sem_prag.adb, sem_ch12.adb, sem_util.adb, + exp_ch13.adb, sem_ch6.adb, exp_disp.adb, sem_ch8.adb, sem_warn.adb, + sem_cat.adb: Code clean up: use Is_Package_Or_Generic_Package where + possible to replace an OR of two separate tests. + +2009-04-09 Robert Dewar <dewar@adacore.com> + + * binderr.adb, errout.adb, errutil.adb: New circuitry for handling + Maximum_Messages. + + * erroutc.adb, erroutc.ads (Warnings_Suppressed): Now tests global + warning status as well. + + * opt.ads (Maximum_Messages): New name for Maximum_Errors. + + * switch-b.adb, switch-c.adb: Change name Maximum_Errors to + Maximum_Messages. + + * bindusg.adb, usage.adb: Update line for -gnatm switch + + * gnat_ugn.texi: Update documentation for -gnatmnn compiler switch and + -mnn binder switch. + +2009-04-09 Robert Dewar <dewar@adacore.com> + + * sem_ch10.adb: Minor reformatting. + +2009-04-09 Bob Duff <duff@adacore.com> + + * exp_ch11.adb (Expand_Exception_Handlers, Prepend_Call_To_Handler): + Set Sloc of generated nodes for calls to Undefer_Aborts and + Save_Occurrence to No_Location, so the debugger ignores them and + therefore does not jump back and forth when single stepping. + +2009-04-09 Robert Dewar <dewar@adacore.com> + + * switch-b.adb: Minor reformatting. + +2009-04-09 Robert Dewar <dewar@adacore.com> + + * sem_aggr.adb, exp_ch5.adb, sem_ch3.adb, exp_atag.adb, layout.adb, + sem_dist.adb, exp_ch7.adb, sem_ch5.adb, sem_type.adb, exp_imgv.adb, + exp_util.adb, sem_aux.adb, sem_aux.ads, exp_attr.adb, exp_ch9.adb, + sem_ch7.adb, inline.adb, fe.h, sem_ch9.adb, exp_code.adb, einfo.adb, + einfo.ads, exp_pakd.adb, checks.adb, sem_ch12.adb, exp_smem.adb, + tbuild.adb, freeze.adb, sem_util.adb, sem_res.adb, sem_attr.adb, + exp_dbug.adb, sem_case.adb, exp_tss.adb, exp_ch4.adb, exp_ch6.adb, + sem_smem.adb, sem_ch4.adb, sem_mech.adb, sem_ch6.adb, exp_disp.adb, + sem_ch8.adb, exp_aggr.adb, sem_eval.adb, sem_cat.adb, exp_dist.adb, + sem_ch13.adb, exp_strm.adb, lib-xref.adb, sem_disp.adb, exp_ch3.adb: + Reorganize einfo/sem_aux, moving routines from einfo to sem_aux + +2009-04-09 Robert Dewar <dewar@adacore.com> + + * exp_util.adb (Silly_Boolean_Array_Xor_Test): Simplify existing code. + + * atree.h: Add Elist26 + + * gnat_ugn.texi: Complete documentation deprecating -gnatN for non-gcc + backends. + +2009-04-09 Javier Miranda <miranda@adacore.com> + + * exp_disp.adb (Export_DT): Addition of a new argument (Index); used to + retrieve from the Dispatch_Table_Wrappers list the external name. + Addition of documentation. + (Make_Secondary_DT): Addition of a new argument (Suffix_Index) that is + used to export secondary dispatch tables (in the previous version of + the frontend only primary dispatch tables were exported). Addition of + documentation. + (Import_DT): New subprogram (internal of Make_Tags). Used to import a + dispatch table of a given tagged type. + (Make_Tags): Modified to import secondary dispatch tables. + + * sem_ch3.adb (Analyze_Object_Declaration): Code cleanup. + (Constant_Redeclaration): Code cleanup. + + * einfo.ads (Dispatch_Table_Wrapper): Renamed to + Dispatch_Table_Wrappers. Update documentation. + + * einfo.adb (Dispatch_Table_Wrapper, Set_Dispatch_Table_Wrapper): + Renamed to Dispatch_Table_Wrappers. + + * sem_util.adb (Collect_Interface_Components): Improve handling of + private types. + + * atree.ads (Elist26, Set_Elist26): New subprograms + + * atree.adb (Elist26, Set_Elist26): New subprograms + +2009-04-09 Javier Miranda <miranda@adacore.com> + + * sem_ch3.adb (Build_Derived_Record_Type): Fix typo. + (Derive_Progenitor_Subprograms): Handle interfaces in subtypes of + tagged types. + +2009-04-09 Robert Dewar <dewar@adacore.com> + + * s-direio.adb: Minor reformatting + + * exp_ch4.adb (Expand_Concatenate): Avoid overflow checks for String + +2009-04-09 Robert Dewar <dewar@adacore.com> + + * exp_ch4.adb (Expand_Concatenate): Improve handling of overflow cases + +2009-04-09 Pascal Obry <obry@adacore.com> + + * a-cihama.adb, a-cihama.ads, a-coinve.adb, a-coinve.ads, + s-tpoben.adb, s-tpoben.ads, s-finimp.adb, s-finimp.ads, + a-convec.adb, a-convec.ads, a-finali.adb, a-finali.ads, + a-filico.ads: Add some missing overriding keywords. + +2009-04-09 Pascal Obry <obry@adacore.com> + + * a-cihama.adb, a-cihama.ads, a-coinve.adb, a-coorma.ads, a-cihase.adb, + a-cihase.ads, a-cohama.adb, a-cohama.ads, a-coorse.adb, a-coorse.ads, + a-coormu.adb, a-coormu.ads, a-cohase.adb, a-cohase.ads: Minor + reformatting. + +2009-04-09 Ed Schonberg <schonberg@adacore.com> + + * sem_ch6.adb (Check_Overriding_Indicator): Do not generate warning on + missing overriding indicator if the new declaration is not seen as + primitive. + +2009-04-09 Thomas Quinot <quinot@adacore.com> + + * exp_ch4.adb (Expand_Concatenate): Add circuitry to properly handle + overflows in computation of bounds. + +2009-04-09 Pascal Obry <obry@adacore.com> + + * a-cihama.adb, a-cgcaso.adb, a-cihase.adb, a-cohase.adb: Fix some + typos in comment. + +2009-04-09 Robert Dewar <dewar@adacore.com> + + * sem_attr.adb (Check_Stream_Attribute): Check violation of + restriction No_Streams + + * gnat_rm.texi: Clarify No_Streams restriction + + * g-socket.adb: Minor reformatting. + +2009-04-09 Thomas Quinot <quinot@adacore.com> + + * g-socket.ads: Mark Initialize and Finalize as obsolesent interfaces. + +2009-04-09 Geert Bosch <bosch@adacore.com> + + * exp_fixd.adb (Build_Conversion): Accept new optional Trunc argument. + (Set_Result): Likewise. + (Expand_Convert_Float_To_Fixed): Have Set_Result truncate the + conversion, as required by RM 4.6(31). + +2009-04-08 Robert Dewar <dewar@adacore.com> + + * checks.adb (Enable_Overflow_Check): Do not enable if overflow checks + suppressed. + + * exp_ch4.adb (Expand_Concatenate): Make sure checks are off for all + resolution steps. + +2009-04-08 Robert Dewar <dewar@adacore.com> + + * sem_ch12.adb (Analyze_Package_Instantiation): Remove test for + No_Local_Allocators restriction preventing local instantiation. + +2009-04-08 Thomas Quinot <quinot@adacore.com> + + * sem_eval.adb: Minor comment fix + +2009-04-08 Thomas Quinot <quinot@adacore.com> + + * g-socket.adb, g-socket.ads (GNAT.Sockets.Sockets_Library_Controller): + New limited controlled type used to automate the initialization and + finalization of the sockets implementation. + (GNAT.Sockets.Initialize, Finalize): Make these no-ops + +2009-04-08 Vincent Celier <celier@adacore.com> + + * prj-attr.adb: New read-only project-level attribute Project_Dir + + * prj-proc.adb (Add_Attributes): New parameter Project_Dir, value of + read-only attribute of the same name. + (Process_Declarative_Items): Call Add_Attributes with Project_Dir + (Recursive_Process): Ditto + + * snames.adb: Add new standard name Project_Dir + + * snames.ads: Add new standard name Project_Dir + +2009-04-08 Thomas Quinot <quinot@adacore.com> + + * checks.adb: Minor reformatting + +2009-04-08 Vincent Celier <celier@adacore.com> + + * vms_data.ads: Add documentation for new style keyword + OVERRIDING_INDICATORS + +2009-04-08 Robert Dewar <dewar@adacore.com> + + * sem_ch3.adb (Check_Completion.Post_Error): Post error on spec if the + spec is in the current unit. + +2009-04-08 Ed Schonberg <schonberg@adacore.com> + + * sem_util.adb (Is_Protected_Self_Reference): Add guard to check for + presence of entity. + + * usage.adb, gnat_ugn.texi: add info on -gnatyO: overriding indicators + +2009-04-08 Vincent Celier <celier@adacore.com> + + * vms_data.ads: Add VMS equivalent for -gnatyO (OVERRIDING_INDICATORS) + +2009-04-08 Thomas Quinot <quinot@adacore.com> + + * checks.ads: Minor reformatting + +2009-04-08 Robert Dewar <dewar@adacore.com> + + * gnat_rm.texi: Update documentation of pragma Obsolescent + + * sem_prag.adb (Analyze_Pragma, case Obsolescent): Allow identifiers to + be omitted, and allow Entity parameter to be omitted. + +2009-04-08 Thomas Quinot <quinot@adacore.com> + + * exp_util.adb: Minor comment fix + +2009-04-08 Robert Dewar <dewar@adacore.com> + + * g-socket.ads: Fix bad syntax in pragma Obsolescent + + * par-ch2.adb (Scan_Pragma_Argument_Association): Check for error of + argument with no identifier following one that has an identifier. Was + missed in some cases. + + * sem_prag.adb (Analyze_Pragma, case Check_Policy): Allow Policy + identifier. + (Analyze_Pragma, case Obsolescent): Allow Message, Version identifiers + + * snames.adb: Add Name_Policy + + * snames.ads: Add Name_Policy + +2009-04-08 Robert Dewar <dewar@adacore.com> + + * gnat_rm.texi: Minor reformatting + + * par-ch2.adb: Minor reformatting + +2009-04-08 Robert Dewar <dewar@adacore.com> + + * exp_attr.adb, sem_attr.adb, sem_util.adb: Code clean up. + +2009-04-08 Robert Dewar <dewar@adacore.com> + + * sem_cat.adb (Check_Categorization_Dependencies): Handle Preelaborate + properly in the presence of Remote_Types or Remote_Call_Interface. + + * sem_util.adb: Add comment. + +2009-04-08 Robert Dewar <dewar@adacore.com> + + * ug_words: Add /ASSUME_VALID for -gnatB + + * vms_data.ads: Add /ASSUME_VALID for -gnatB + + * sem_cat.adb: Add clarifying commment + + * a-direio.ads (Bytes): Make sure value is non-zero + +2009-04-08 Ed Schonberg <schonberg@adacore.com> + + * sem_util.adb (Is_Variable): If the prefix is an explicit dereference + that does not come from source, check for a rewritten function call in + prefixed notation before other forms of rewriting. + +2009-04-08 Robert Dewar <dewar@adacore.com> + + * Makefile.rtl: Remove s-strops and s-sopco? from the run time, since + these are now obsolescent units used only for bootrapping with an + older compiler. + +2009-04-08 Robert Dewar <dewar@adacore.com> + + * gnat_rm.texi: Add documentation for pragma Thread_Local_Storage + + * sem_ch3.adb: Minor comment updates + +2009-04-08 Ed Schonberg <schonberg@adacore.com> + + * inline.adb (Back_End_Cannot_Inline): restrict warning to subprograms + that come from source. + +2009-04-08 Tristan Gingold <gingold@adacore.com> + + * gcc-interface/gigi.h (enum attr_type): Add ATTR_THREAD_LOCAL_STORAGE. + * gcc-interface/decl.c (prepend_attributes): New case + Pragma_Thread_Local_Storage. + * gcc-interface/utils.c (process_attributes): New case + ATTR_THREAD_LOCAL_STORAGE. + +2009-04-08 Ed Schonberg <schonberg@adacore.com> + + * inline.adb (Back_End_Cannot_Inline): Do not mark a body as inlineable + by the back-end if it contains a call to a subprogram without a + previous spec that is declared in the same unit. + + * errout.ads: Update comments on uses of dirs + +2009-04-08 Robert Dewar <dewar@adacore.com> + + * exp_ch4.adb (Expand_Concatenate): Make sure nodes are properly typed + +2009-04-08 Tristan Gingold <gingold@adacore.com> + + * sem_prag.adb: Restrict pragma Thread_Local_Storage to library level + variables. + Set Has_Gigi_Rep_Item flag to TLS variables (to ease gigi work). + +2009-04-08 Vincent Celier <celier@adacore.com> + + * prj-nmsc.adb: + (Add_Source): Add the mapping of the unit name to source file name in + the Unit_Sources_HT hash table, if the unit name is not null. + + * prj.adb (Reset): Reset hash table Tree.Unit_Sources_HT + + * prj.ads (Unit_Sources_Htable): New hash table instantiation + (Project_Tree_Data): New component Unit_Sources_HT + +2009-04-08 Thomas Quinot <quinot@adacore.com> + + * sem_ch8.adb: Minor reformatting. + Minor code reorganization. + +2009-04-08 Robert Dewar <dewar@adacore.com> + + * snames.h, einfo.adb, einfo.ads, sem_prag.adb, snames.adb, + snames.ads, freeze.adb, par-prag.adb: Add implementation of + pragma Thread_Local_Storage, setting new flag + Has_Pragma_Thread_Local_Storage in corresponding entities. + +2009-04-08 Emmanuel Briot <briot@adacore.com> + + * prj.ads: Update comment on switches file + + * prj-nmsc.adb: Code clean up. Use renaming clauses. + +2009-04-08 Robert Dewar <dewar@adacore.com> + + * exp_ch4.adb (Expand_Concatenate): Further fixes to bounds handling + +2009-04-08 Thomas Quinot <quinot@adacore.com> + + * ali-util.adb: Minor comment fix + +2009-04-08 Ed Schonberg <schonberg@adacore.com> + + * sem_ch8.adb (Analyze_Use_Type): Improve error message when clause + appears in a context clause, and the enclosing package is mentioned in + a limited_with_clause. + (Use_One_Type): Reject clause if type is still incomplete. + +2009-04-08 Emmanuel Briot <briot@adacore.com> + + * prj-nmsc.adb (Check_File, Process_Sources_In_Multi_Language_Mode): + avoid copies of Source_Data variables when possible, since these + involve calls to memcpy() which are done too many times. + +2009-04-08 Robert Dewar <dewar@adacore.com> + + * exp_ch4.adb (Expand_Concatenate): Clean up code + +2009-04-07 Thomas Quinot <quinot@adacore.com> + + * exp_ch4.adb (Expand_Concatenate): Add missing conversion to index + type for the case of concatenating a constrained array indexed by an + enumeration type. + +2009-04-07 Ed Schonberg <schonberg@adacore.com> + + * sem_ch6.adb (Check_Conformance): when checking conformance of an + operation that overrides an abstract operation inherited from an + interface, return False if only one of the controlling formals is an + access parameter. + +2009-04-07 Ed Schonberg <schonberg@adacore.com> + + * sem_ch8.adb (Analyze_Object_Renaming): additional error messages + mandated by AI05-105. + +2009-04-07 Vincent Celier <celier@adacore.com> + + * prj-nmsc.adb (Get_Mains): Warn if a main is an empty string + +2009-04-07 Thomas Quinot <quinot@adacore.com> + + * usage.adb: Minor fix in usage message. + + * sem_ch10.adb (Remove_Homonyms): Fix subtype of formal in body to + match declaration; the correct subtype is Node_Id, not Entity_Id, + because the expected node kind is an identifier, not a defining + identifier. + + * switch-c.adb: Minor reformatting. + + * uintp.adb: Minor reformatting. + +2009-04-07 Robert Dewar <dewar@adacore.com> + + * exp_ch13.adb: Minor reformatting + +2009-04-07 Robert Dewar <dewar@adacore.com> + + * sem_warn.adb (Check_Infinite_Loop_Warning.Test_Ref): Add defence + against missing parent. + +2009-04-07 Thomas Quinot <quinot@adacore.com> + + * xoscons.adb: Minor reformatting + +2009-04-07 Robert Dewar <dewar@adacore.com> + + * rtsfind.ads: Remove obsolete string concatenation entries + +2009-04-07 Robert Dewar <dewar@adacore.com> + + * exp_ch4.adb (Expand_Concatenate): Redo handling of bounds + +2009-04-07 Ed Schonberg <schonberg@adacore.com> + + * sem_ch10.adb (Check_Body_Required): Handle properly imported + subprograms. + +2009-04-07 Gary Dismukes <dismukes@adacore.com> + + * exp_ch13.adb (Expand_N_Attribute_Definition_Clause, case + Attribute_Address): When Init_Or_Norm_Scalars is True and the object + is of a scalar or string type then suppress the setting of the + expression to Empty. + + * freeze.adb (Warn_Overlay): Also emit the warnings about default + initialization for the cases of scalar and string objects when + Init_Or_Norm_Scalars is True. + +2009-04-07 Bob Duff <duff@adacore.com> + + * s-secsta.ads, g-pehage.ads, s-fileio.ads: Minor comment fixes + +2009-04-07 Bob Duff <duff@adacore.com> + + * gnat_rm.texi, s-fileio.adb (System.File_IO.Open): New feature: A + Form parameter of Text_Translation=No allows binary mode for Text_IO + files. + + * gnat_rm.texi: Document Form parameter Text_Translation=xxx. + +2009-04-07 Javier Miranda <miranda@adacore.com> + + * exp_ch5.adb (Expand_Assign_Array): Add implicit conversion when + processing the bounds for bit packed arrays or VM target machines. + +2009-04-07 Thomas Quinot <quinot@adacore.com> + + * g-sothco.ads (Int_Access): Remove extraneous access type (use + anonymous access instead). + (Get_Socket_From_Set): Fix incorrectly reverted formals + Last and Socket to match the underlying C routine. + + * g-socket.adb, g-socket.ads + (Get): Use named parameter associations instead of positional ones in + call go Get_Socket_From_Set, since this routine has two formals of the + same type. + (Image): New procedure. + + * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, + g-socthi-vxworks.ads, g-socthi-mingw.ads, g-socthi.adb, g-socthi.ads: + (C_Ioctl, Syscall_Ioctl): use "access C.int" instead of "Int_Access" + for type of Arg formal. + + * sem_warn.adb: Minor reformatting + +2009-04-07 Ed Schonberg <schonberg@adacore.com> + + * sem_util.adb (Has_Tagged_Component): Fix typo in loop that iterates + over record components. + +2009-04-07 Nicolas Roche <roche@adacore.com> + + * gsocket.h: + Don't include resolvLib.h on VxWorks 6 (kernel and rtp). This library + has disappeared between VxWorks 6.4 and VxWorks 6.5 + In RTP mode use time.h instead of times.h + +2009-04-07 Robert Dewar <dewar@adacore.com> + + * exp_ch4.adb (Expand_N_Op_Concat): Improve lower bound handling + +2009-04-07 Kevin Pouget <pouget@adacore.com> + + * exp_dist.adb: Modify Build_From_Any_Fonction procedure to correct + expanded code for constrained types. + +2009-04-07 Ed Schonberg <schonberg@adacore.com> + + * sem_ch4.adb (Analyze_Overloaded_Selected_Component): implement + AI05-105: in an object renaming declaration, anonymousness is a name + resolution rule. + + * sem_ch8.adb (Analyze_Object_Renaming): Ditto. + +2009-04-07 Arnaud Charlet <charlet@adacore.com> + + * g-comlin.adb (Expansion): Fix old regression: also return directory + names when matching. + +2009-04-07 Robert Dewar <dewar@adacore.com> + + * exp_ch4.adb: + (Expand_N_Op_Concat): Call Expand_Concatenate for all cases + (Expand_Concatenate): New name for Expand_Concatenate_String which has + been rewritten to handle all types. + (Expand_Concatenate_Other): Remove + +2009-04-07 Ed Schonberg <schonberg@adacore.com> + + * lib-xref.adb (Generate_Reference): A default subprogram in an + instance appears within the tree for the instance, but generates an + implicit reference in the ALI. + +2009-04-07 Javier Miranda <miranda@adacore.com> + + * sem_ch3.adb (Build_Derived_Record_Type): When processing a tagged + derived type that has discriminants, propagate the list of interfaces + to the corresponding new base type. In addition, propagate also + attribute Limited_Present (found working in this patch). + +2009-04-07 Robert Dewar <dewar@adacore.com> + + * exp_ch4.adb: Rewrite concatenation expansion. + +2009-04-07 Ed Schonberg <schonberg@adacore.com> + + * sem_ch8.adb (Restore_Scope_Stack): First_Private_Entity is only + relevant to packages. + +2009-04-07 Robert Dewar <dewar@adacore.com> + + * sem_attr.adb: Minor reformatting + + * sem_ch6.adb: Minor reformatting + +2009-04-07 Tristan Gingold <gingold@adacore.com> + + * socket.c: Add more protections against S_resolvLib_ macros. + +2009-04-07 Thomas Quinot <quinot@adacore.com> + + * sem_attr.adb: Minor reformatting + +2009-04-07 Ed Schonberg <schonberg@adacore.com> + + * sem_ch6.adb (New_Overloaded_Entity): New predicate + Is_Overriding_Alias to handle properly types that inherit two homonym + operations that have distinct dispatch table entries. + +2009-04-07 Emmanuel Briot <briot@adacore.com> + + * s-regexp.adb (Create_Mapping): Ignore excaped open parenthesis when + looking for the end of a parenthesis group + +2009-04-07 Tristan Gingold <gingold@adacore.com> + + * gsocket.h Don't #include resolvLib.h if __RTP__ is defined. + + * socket.c Don't use resolvLib_ macros if not defined. + +2009-04-07 Robert Dewar <dewar@adacore.com> + + * g-socket.adb: Minor reformatting. + + * g-socthi-mingw.adb: Minor reformatting + + * g-sothco.ads: Minor reformatting + + * exp_ch4.adb: + (Expand_Concatenate_String): Complete rewrite to generate efficient code + inline instead of relying on external library routines. + + * s-strops.ads, s-sopco5.ads, s-sopco5.adb, s-sopco4.ads, s-sopco4.adb, + s-sopco3.ads, s-sopco3.adb, s-strops.adb: Note that this unit is now + obsolescent + +2009-04-07 Ed Schonberg <schonberg@adacore.com> + + * sem_attr.adb: + (Eval_Attribute): for attributes of array objects that are not strings, + attributes are not static if nominal subtype of object is unconstrained. + +2009-04-07 Ed Schonberg <schonberg@adacore.com> + + * sem_ch6.adb (New_Overloaded_Entity): If two implicit homonym + operations for a type T in an instance do not override each other, + when T is derived from a formal private type, the corresponding + operations inherited by a type derived from T outside + of the instance do not override each other either. + +2009-04-07 Robert Dewar <dewar@adacore.com> + + (Osint.Fail): Change calling sequence to have one string arg + (Make.Make_Failed): Same change + All callers are adjusted to use concatenation + +2009-04-07 Robert Dewar <dewar@adacore.com> + + * exp_ch4.adb: Fix documentation typo + +2009-04-07 Robert Dewar <dewar@adacore.com> + + * tbuild.ads: Minor reformatting + +2009-04-07 Javier Miranda <miranda@adacore.com> + + * exp_disp.adb (Make_DT): Avoid the generation of the OSD_Table + when compiling under ZFP runtime. + +2009-04-07 Robert Dewar <dewar@adacore.com> + + * g-comlin.adb: Minor reformatting + +2009-04-07 Thomas Quinot <quinot@adacore.com> + + * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, + g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads, + g-socthi.adb, g-socthi.ads, g-socket.adb, g-socket.ads, g-sothco.ads: + Remove dynamic allocation of Fd_Set in Socket_Set_Type objects. + +2009-04-07 Robert Dewar <dewar@adacore.com> + + * gnat_ugn.texi: Document -gnatDnn/-gnatGnn + + * opt.ads (Sprint_Line_Limit): New parameter + + * sprint.adb: Usa Sprint_Line_Limit instead of Line_Limit throughout + + * switch-c.adb: Recognize -gnatDnnn and -gnatGnnn switches + + * usage.adb: Output information for -gnatGnn -gnatDnn + +2009-04-07 Robert Dewar <dewar@adacore.com> + + * make.adb: Minor reformatting + +2009-04-07 Robert Dewar <dewar@adacore.com> + + * mlib-tgt-specific-vms-alpha.adb: Minor reformatting + +2009-04-07 Robert Dewar <dewar@adacore.com> + + * mlib-tgt-specific-vms-ia64.adb: Minor reformatting + +2009-04-07 Robert Dewar <dewar@adacore.com> + + * checks.adb: + Remove Assume_Valid parameter from In_Subrange_Of calls + + * sem_eval.adb: + (Is_Subrange_Of): Remove Assume_Valid parameter, not needed + (Is_In_Range): Remove incorrect use of Assume_Valid + (Is_Out_Of_Range): Remove incorrect use of Assume_Valid + + * sem_eval.ads: + (Is_Subrange_Of): Remove Assume_Valid parameter, not needed + (Is_In_Range): Documentation cleanup + (Is_Out_Of_Range): Documentation cleanup + + * gnat_rm.texi: + Add documentation for Assume_No_Invalid_Values pragma + + * sem_ch12.adb: Minor reformatting + + * sem_ch6.adb: (Check_Conformance): Avoid cascaded errors + + * sem_prag.adb: Improve error message. + + * gnatchop.adb, osint.ads, sinput.adb, sinput.ads, styleg.adb: + LF/CR no longer recognized as line terminator + + * switch.ads: Minor documentation improvement + + * vms_data.ads: Minor reformatting + +2009-04-07 Robert Dewar <dewar@adacore.com> + + * checks.adb (Determine_Range): Add Assume_Valid parameter + + * checks.ads (Determine_Range): Add Assume_Valid parameter + + * errout.adb (Error_Msg_NEL): Use Suppress_Loop_Warnings rather than + Is_Null_Loop to suppress warnings in a loop body. + + * exp_ch4.adb: + (Rewrite_Comparison): Major rewrite to accomodate invalid values + + * exp_ch5.adb: + (Expand_N_Loop_Statement): Delete loop known not to execute + + * opt.ads: + (Assume_No_Invalid_Values): Now set to False, and as documented, this + fully enables the proper handling of invalid values. + + * sem_attr.adb: + New calling sequence for Is_In_Range + + * sem_ch5.adb: + (Analyze_Iteration_Scheme): Accomodate possible invalid values + in determining if a loop range is null. + + * sem_eval.adb: + (Is_In_Range): Add Assume_Valid parameter + (Is_Out_Of_Range): Add Assume_Valid_Parameter + (Compile_Time_Compare): Major rewrite to accomodate invalid values and + also to do more accurate and complete range analysis, catching more + cases. + + * sem_eval.ads: + (Is_In_Range): Add Assume_Valid parameter + (Is_Out_Of_Range): Add Assume_Valid_Parameter + + * sem_util.adb: + New calling sequence for Is_In_Range + + * sinfo.adb: + (Suppress_Loop_Warnings): New flag + + * sinfo.ads: + (Is_Null_Loop): Update documentation + (Suppress_Loop_Warnings): New flag + + * gnat_ugn.texi: Document -gnatB switch + +2009-04-07 Arnaud Charlet <charlet@adacore.com> + + * gnatvsn.ads: Bump version number. + +2009-04-07 Thomas Quinot <quinot@adacore.com> + + * exp_ch3.adb: Minor rewording (comments) + +2009-04-07 Robert Dewar <dewar@adacore.com> + + * exp_disp.adb: Minor reformatting + +2009-04-07 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Test the + underlying type. + * gcc-interface/trans.c (lvalue_required_p): Likewise. + +2009-04-07 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/trans.c (Attribute_to_gnu) <Max_Size_In_Storage_Elmts>: + Do not convert the result. Remove obsolete comment. + +2009-04-07 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/trans.c (establish_gnat_vms_condition_handler): Clear + DECL_CONTEXT. + (Subprogram_Body_to_gnu): Fix pasto. + +2009-04-07 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/gigi.h (standard_datatypes): Remove ADT_void_type_decl. + (void_type_decl_node): Remove. + (init_gigi_decls): Likewise. + (gnat_install_builtins): Declare. + (record_builtin_type): Likewise. + (create_type_stub_decl): Likewise. + * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Void>: Use void_type. + (gnat_to_gnu_entity) <E_Array_Type>: Make fat and thin pointer types + artificial. + <E_Array_Subtype>: Use the index types, not only their name, in the + record giving the names of the bounds, if any. + For a packed array type, make it artificial only if the base type + was artificial as well. Remove redundant statement. + (gnat_to_gnu_entity) <E_Incomplete_Type>: Do not create TYPE_DECL for + dummy types. + Use create_type_stub_decl to build the TYPE_STUB_DECL of types. + (rest_of_type_decl_compilation_no_defer): Likewise. + * gcc-interface/misc.c (gnat_printable_name): Add missing guard. + * gcc-interface/utils.c (make_dummy_type): Always create TYPE_STUB_DECL + and use create_type_stub_decl to build it. + (gnat_pushdecl): Rewrite condition. + (gnat_install_builtins): Remove bogus declaration. + (record_builtin_type): New function. + (finish_record_type): Use create_type_stub_decl to build TYPE_STUB_DECL + of types. + (create_type_stub_decl): New function. + (create_type_decl): Assert that the type is not dummy. If the type + hasn't been named yet, equate the TYPE_STUB_DECL to the created node. + (build_vms_descriptor32): Do not create TYPE_DECL for the descriptor. + (build_vms_descriptor): Likewise. + (init_gigi_decls): Delete and move bulk of code to... + * gcc-interface/trans.c (gigi): ...here. Use record_builtin_type. + (emit_range_check): Add gnat_node parameter. + (emit_index_check): Likewise. + (emit_check): Likewise. + (build_unary_op_trapv): Likewise. + (build_binary_op_trapv): Likewise. + (convert_with_check): Likewise. + (Attribute_to_gnu): Adjust calls for above changes. + (call_to_gnu): Likewise. + (gnat_to_gnu): Likewise. + (assoc_to_constructor): Likewise. + (pos_to_constructor): Likewise. + (Sloc_to_locus): Set BUILTINS_LOCATION for Standard_Location nodes. + (process_type): Do not create TYPE_DECL for dummy types. + +2009-04-07 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (gnat_to_gnu_entity): Reorder local variables. + * gcc-interface/trans.c: Fix formatting throughout. Fix comments. + * gcc-interface/utils.c: Fix comments. + +2009-04-07 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (compile_time_known_address_p): Rewrite and + move around. + (gnat_to_gnu_type): Move around. + (get_unpadded_type): Likewise. + * gcc-interface/utils.c (update_pointer_to): Use synthetic macro. + Tidy comments. + +2009-04-07 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/trans.c (check_for_eliminated_entity): New function. + (Attribute_to_gnu): Invoke it for Access- and Address-like attributes. + (call_to_gnu): Invoke it instead of manually checking. + +2009-04-04 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/utils.c (finish_record_type): Force structural equality + checks if the record type is discriminated. + +2009-03-31 Eric Botcazou <ebotcazou@adacore.com> + + * system-linux-alpha.ads (Functions_Return_By_DSP): Remove. + * system-linux-mips.ads (Functions_Return_By_DSP): Likewise. + * system-linux-mipsel.ads (Functions_Return_By_DSP): Likewise. + * system-linux-s390.ads (Functions_Return_By_DSP): Likewise. + * system-linux-s390x.ads (Functions_Return_By_DSP): Likewise. + * system-linux-sparc.ads (Functions_Return_By_DSP): Likewise. + * system-linux-sparcv9.ads (Functions_Return_By_DSP): Likewise. + +2009-03-30 Paolo Bonzini <bonzini@gnu.org> + + * gcc-interface/decl.c (maybe_pad_type): Use TREE_OVERFLOW instead + of TREE_CONSTANT_OVERFLOW. + +2009-03-30 Joseph Myers <joseph@codesourcery.com> + + PR rtl-optimization/323 + * gcc-interface/misc.c (gnat_post_options): Set + flag_excess_precision_cmdline. Give an error for + -fexcess-precision=standard for processors where the option is + significant. + +2009-03-27 H.J. Lu <hongjiu.lu@intel.com> + + PR c/39323 + * gcc-interface/utils.c (create_field_decl): Use "unsigned int" + on bit_align. + +2009-03-11 Olivier Hainque <hainque@adacore.com> + + * gcc-interface/trans.c (gnat_to_gnu) <case N_Slice>: In range + checks processing, remove unintended TREE_TYPE walk on index type. + +2009-03-01 Eric Botcazou <ebotcazou@adacore.com> + + PR ada/39264 + * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Do no + call make_packable_type on fat pointer types. + <E_Array_Subtype>: Likewise. + <E_Record_Subtype>: Call make_packable_type on all record types + except for fat pointer types. + (make_packable_type): Likewise. + (gnat_to_gnu_field): Likewise. + +2009-02-28 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/Makefile.in (cygwin/mingw): Revert accidental + EH_MECHANISM change made on 2007-12-06. + +2009-02-26 Andreas Schwab <schwab@suse.de> + + PR ada/39172 + * Makefile.in (srcdir): Set to @top_srcdir@ instead of @srcdir@. + * gcc-interface/Makefile.in: Change all uses of $(srcdir), + $(fsrcdir) and $(fsrcpfx) to add ada subdir. + (AWK): Substitute. + (target_cpu_default): Substitute. + +2009-02-25 Laurent GUERBY <laurent@guerby.net> + + PR ada/39221 + * a-teioed.adb (Expand): Fix Result overflow. + +2009-02-25 Laurent GUERBY <laurent@guerby.net> + + * gcc-interface/Makefile.in: Fix multilib handling for + sparc64-linux. + +2009-02-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> + + * s-oscons-tmplt.c [__osf__ && !_SS_MAXSIZE]: Undef AF_UNIX6. + +2009-02-18 H.J. Lu <hongjiu.lu@intel.com> + + * gcc-interface/misc.c (gnat_post_options): Turn off warn_psabi. + +2009-02-16 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/deftarg.c: Remove. + +2009-02-10 Olivier Hainque <hainque@adacore.com> + Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (enum alias_set_op): New enumeration. + (copy_alias_set): Rename into... + (relate_alias_sets): ...this. Add third parameter OP. Retrieve the + underlying array of unconstrained arrays for the new type as well. + If the old and new alias sets don't conflict, make one a subset of + the other as per the OP parameter. + (gnat_to_gnu_entity): Adjust calls to copy_alias_set. + <E_Record_Type>: Do not copy the alias set for derived types. + For all types, make the alias set of derived types a superset of + that of their parent type. + (make_aligning_type): Adjust calls to copy_alias_set. + (make_packable_type): Likewise. + * gcc-interface/trans.c (gnat_to_gnu)<N_Validate_Unchecked_Conversion>: + Check for alias set conflict instead of strict equality to issue the + warning. + +2009-02-09 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (gnat_to_gnu_entity) <E_String_Literal_Subtype>: + Set TYPE_NONALIASED_COMPONENT on the array type only if appropriate. + (copy_alias_set): Assert that arrays have the same aliasing settings. + (substitute_in_type) <ARRAY_TYPE>: Copy TYPE_NONALIASED_COMPONENT. + +2009-02-08 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (gnat_to_gnu_entity) <E_String_Literal_Subtype>: + Set TYPE_NONALIASED_COMPONENT on the array type. + +2009-01-31 Laurent GUERBY <laurent@guerby.net> + + * gcc-interface/Makefile.in: Fix mipsel linux handling. + +2009-01-16 Jakub Jelinek <jakub@redhat.com> + + * gcc-interface/Makefile.in: Fix multilib handling for + powerpc64-linux. + +2009-01-12 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Really strip + only useless conversions around renamed objects. + +2009-01-11 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Put + the _Tag field before any discriminants in the field list. + (components_to_record): Remove obsolete comment. + + + +Copyright (C) 2009 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. diff --git a/gcc/builtins.c b/gcc/builtins.c index d48263c..607117a 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -1,6 +1,6 @@ /* Expand builtin functions. Copyright (C) 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, - 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 + 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. This file is part of GCC. diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index c39304c..af2d0c6d 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3745 +1,6 @@ -2009-12-28 Jason Merrill <jason@redhat.com> - - PR c++/42447 - * pt.c (iterative_hash_template_arg): Don't rely on TYPE_CANONICAL - for ARRAY_TYPE. - -2009-12-24 Jason Merrill <jason@redhat.com> - - PR c++/41305, DR 384 - * name-lookup.c (arg_assoc_class): Split out arg_assoc_class_only - and arg_assoc_bases. - (friend_of_associated_class_p): Remove. - (arg_assoc_namespace): Don't call it. - (arg_assoc_template_arg): Use arg_assoc_class_only for member - template context. - (arg_assoc_type): Handle UNION_TYPE and ENUMERAL_TYPE properly. - - * name-lookup.c (arg_assoc): Handle TEMPLATE_ID_EXPR properly. - -2009-12-23 Dodji Seketeli <dodji@redhat.com> - - PR c++/42260 - * cp-tree.h (lookup_conversions): Add new bool parameter to - declaration. - * search.c (lookup_conversion): Use new bool parameter in - definition. - * call.c (add_builtin_candidates): Don't lookup template conversion - (convert_class_to_reference, build_user_type_conversion_1, - build_op_call): Adjust. - * cvt.c (build_expr_type_conversion): Likewise - -2009-12-22 Jason Merrill <jason@redhat.com> - - PR c++/42466 - * pt.c (reduce_template_parm_level): Check the type before - returning cached TEMPLATE_PARM_INDEX. - - PR c++/42331 - * typeck.c (cp_build_modify_expr): Fix thinko. - -2009-12-21 Jason Merrill <jason@redhat.com> - - * mangle.c (write_member_name): Move abi-version=1 code back to... - (write_expression): ...here. - -2009-12-21 Brian Hackett <bhackett1024@gmail.com> - - * decl.c (finish_function): Rename pre-genericize event. - -2009-12-19 Dodji Seketeli <dodji@redhat.com> - - PR c++/42225 - * pt.c (push_template_decl_real): Set DECL_CONTEXT of template type parms - to their containing template decl. - * typeck.c (comp_template_parms_position): Split this from - structural_comptypes. - (incompatible_template_type_parms_p): Renamed - incompatible_dependent_typedefs_p into this. Change the function to - handle comparison between TEMPLATE_TYPE_PARMs only. - (structural_comptypes): Use comp_template_parms_position in - TEMPLATE_TEMPLATE_PARM and BOUND_TEMPLATE_TEMPLATE_PARM cases. - Use incompatible_template_type_parms_p in TEMPLATE_TYPE_PARM case. - * mangle.c (decl_mangling_context): Template type parms don't have - a mangling context. - * tree.c (cp_set_underlying_type): Set type structural equality - only for TEMPLATE_TYPE_PARMs. - -2009-12-18 Jason Merrill <jason@redhat.com> - - PR c++/28300 - PR c++/42062 - * pt.c (check_specialization_namespace): Complain about - specialization at non-namespace scope. - - PR c++/42415 - * call.c (build_new_method_call): Complain about calling the - constructor directly. - -2009-12-18 Shujing Zhao <pearly.zhao@oracle.com> - - PR c++/31665 - * decl.c (duplicate_decls, grokdeclarator): Put the diagnostics in - full sentences for easy translation and wrapped into G_(). - * typeck.c (build_x_unary_op): Likewise. - -2009-12-17 Shujing Zhao <pearly.zhao@oracle.com> - - * call.c (build_over_call, build_java_interface_fn_ref): Update - cp_build_indirect_ref calls. - * typeck2.c (build_m_component_ref): Likewise. - -2009-12-17 Shujing Zhao <pearly.zhao@oracle.com> - - * typeck.c (build_indirect_ref): Update the argument. - (build_x_indirect_ref): Likewise. - (cp_build_indirect_ref): Update the argument and emit the diagnostics - for easy translation. - (build_class_member_access_expr, build_array_ref, - get_member_function_from_ptrfunc): Update calls. - * cp-tree.h (build_x_indirect_ref, cp_build_indirect_ref): Update - prototypes. - * call.c (build_new_op, convert_like_real, build_x_va_arg, - build_over_call): Update calls. - * class.c (build_base_path, build_simple_base_path, build_vfn_ref): - Likewise. - * decl.c (start_preparsed_function): Likewise. - * except.c (expand_start_catch_block, build_throw): Likewise. - * init.c (emit_mem_initializers, expand_virtual_init, - expand_virtual_init, build_new_1, build_vec_init, build_delete, - build_vec_delete): Likewise. - * parser.c (cp_parser_unary_expression): Likewise. - * pt.c (tsubst_copy_and_build): Likewise. - * rtti.c (build_headof, get_tinfo_decl_dynamic, get_typeid): Likewise. - * semantics.c (finish_non_static_data_member, thisify_lambda_field): - Likewise. - * tree.c (build_dummy_object, stabilize_expr): Likewise. - * typeck2.c (build_x_arrow): Likewise. - -2009-12-16 Jason Merrill <jason@redhat.com> - - PR c++/42387 - * decl.c (compute_array_index_type): Mark a VLA as dependent. - -2009-12-15 Jason Merrill <jason@redhat.com> - - PR c++/42358 - * pt.c (iterative_hash_template_arg): Completely ignore - ARGUMENT_PACK_SELECT. - -2009-12-15 Jakub Jelinek <jakub@redhat.com> - - PR c++/41183 - * cp-tree.h (current_class_ptr): Give NULL even when cfun - has NULL cfun->language. - -2009-12-14 Jason Merrill <jason@redhat.com> - - PR c++/42364 - * pt.c (function_parameter_expanded_from_pack_p): Don't require - a pack to have a name. - (tsubst_decl): Do typedef magic after applying attributes. - -2009-12-15 Paolo Bonzini <bonzini@gnu.org> - Shujing Zhao <pearly.zhao@oracle.com> - - * Makefile.in (cp/pt.o): Depend on intl.h - * call.c (print_z_candidates): Make loop more compact, - choose head string depending on number of candidates, - extract creation of spaces string to intl.c. - * pt.c (print_overloaded_functions): Replace with... - (print_candidates_1): ... this rewrite. - (print_candidates): Rewrite to call print_candidates_1. - (most_specialized_class): Make loop more compact, - choose head string depending on number of candidates, - and size indents depending on translations. - -2009-12-11 Jason Merrill <jason@redhat.com> - - PR c++/42219 - * typeck.c (error_type_p): New. - (ptr_reasonably_similar): Use it. - * cp-tree.h: Declare it. - -2009-12-11 Dodji Seketeli <dodji@redhat.com> - - PR c++/42225 - * typeck.c (incompatible_dependent_typedefs_p): New function. - (structural_comptypes): Use it. - * cp-tree.h (cp_set_underlying_type): Declare ... - * tree.c (cp_set_underlying_type): ... new function. - * class.c (build_self_reference): Use cp_set_underlying_type - instead of set_underlying_type. - * decl2.c (grokfield): Likewise. - * name-lookup.c (pushdecl_maybe_friend): Likewise. - -2009-12-11 Dodji Seketeli <dodji@redhat.com> - - PR c++/42251 - * pt.c (convert_template_argument): Avoid missing folding of SCOPE_REFs. - -2009-12-10 Jakub Jelinek <jakub@redhat.com> - - PR c++/42317 - * decl2.c (cp_write_global_declarations): Clear DECL_EXTERNAL - also on all other functions in the same comdat group. - * optimize.c (maybe_clone_body): Also optimize virtual implicit - dtors. For virtual comdat dtors tell cgraph that base and deleting - dtor are in the same comdat group. - -2009-12-04 Jason Merrill <jason@redhat.com> - - PR c++/42010 - * cp-tree.h (DECL_DISCRIMINATOR_SET_P): New. - * mangle.c (discriminator_for_local_entity): Check it. - - PR c++/42277 - * semantics.c (finish_decltype_type): Defer handling of decltype - of a non-dependent COMPONENT_REF in a template. - -2009-12-04 Dodji Seketeli <dodji@redhat.com> - - PR c++/42218 - * cxx-pretty-print.c (pp_cxx_unqualified_id): Print only innermost - template arguments. - -2009-12-03 Jason Merrill <jason@redhat.com> - - PR c++/41611 - * decl2.c (get_guard): Don't use the same comdat group as the decl. - - PR c++/42266 - * cvt.c (convert_from_reference): Do nothing if TREE_TYPE is null. - -2009-12-03 Dodji Seketeli <dodji@redhat.com> - - PR c++/42217 - * class.c (remove_zero_width_bit_fields): The width of the bit field is - in DECL_SIZE, not in DECL_INITIAL. - -2009-12-03 Jakub Jelinek <jakub@redhat.com> - - PR c++/42256 - * optimize.c (maybe_clone_body): Call emit_associated_thunks - after expand_or_defer_fn_1. - -2009-12-02 Taras Glek <taras@mozilla.com> - - * parser.c (cp_parser_class_specifier): Back out my previous change. - * semantics.c (begin_class_definition): Back out my previous change. - -2009-12-02 Paolo Bonzini <bonzini@gnu.org> - Shujing Zhao <pearly.zhao@oracle.com> - - PR c++/29917 - * call.c (op_error): Accept a boolean to indicate no match/ambiguous - match, instead of a string. Callers adjusted. - - PR c++/34836 - * cp-tree.h (readonly_error_kind): New type. - (readonly_error): Adjust prototype with new argument. - * typeck2.c (readonly_error): Accept readonly_error_kind as argument - and add macro ERROR_FOR_ASSIGNMENT to emit diagnostics. - * semantics.c (finish_asm_stmt): Adjust readonly_error call. - * typeck.c (cp_build_unary_op, cp_build_modify_expr): Likewise. - - * decl.c (grokparms, grok_op_properties): Put the diagnostics in full - sentences for easy translation and wrap the diagnostics into G_() when - needed. - (create_array_type_for_decl): Likewise. - * pt.c (tsubst): Likewise. - * typeck2.c (cp_build_unary_op): Wrap diagnostic into _(). - * rtti.c (build_dynamic_cast_1): Likewise. - * Make-lang.in: Adjust. - -2009-12-02 Jakub Jelinek <jakub@redhat.com> - - * g++spec.c (lang_specific_driver): Remove unused saw_verbose_flag - variable. - * pt.c (tsubst_pack_expansion): Remove unused first_arg_pack variable. - * init.c (build_vec_init): Remove unused size variable. - * typeck2.c (check_narrowing): Remove unused was_decl variable. - * decl.c (poplevel): Remove unused tmp and real_functionbody - variables. - (decls_match): Remove unused tree_name variable. - (start_decl): Remove unused type variable. - * parser.c (cp_parser_type_parameter): Remove unused parameter_list - variable. - (cp_parser_template_id, cp_parser_explicit_instantiation, - cp_parser_declarator): Remove unused token variable. - (cp_parser_simple_type_specifier): Remove unused id variable. - (cp_parser_parameter_declaration): Remove unused - greater_than_is_operator_p variable. - (cp_parser_check_declarator_template_parameters): Remove unused - member variable. - (c_parse_file): Remove unused error_occurred variable. - * cp-gimplify.c (cp_gimplify_init_expr): Remove unused slot variable. - * typeck.c (cp_build_function_call_vec): Remove unused name variable. - * class.c (resolve_address_of_overloaded_function): Remove unused - is_reference variable. - (build_rtti_vtbl_entries): Remove unused basetype variable. - * mangle.c (write_template_param): Remove unused parm_level and - parm_type variables. - -2009-12-01 Taras Glek <taras@mozilla.com> - - * parser.c (cp_parser_class_specifier): Set class location to that - of IDENTIFIER_NODE instead of '{' when possible. - -2009-12-01 Taras Glek <taras@mozilla.com> - - * semantics.c (begin_class_definition): Do not overide locations with less precise ones. - -2009-12-01 Jason Merrill <jason@redhat.com> - - PR c++/41611 - * decl2.c (get_guard): Copy DECL_COMDAT. - (comdat_linkage): Set DECL_COMDAT unconditionally. - -2009-12-01 Jakub Jelinek <jakub@redhat.com> - - PR c++/3187 - * optimize.c (cdtor_comdat_group): New function. - (maybe_clone_body): Also optimize DECL_COMDAT base/complete cdtors - and in that case put also the deleting dtor in the same comdat group - as base and complete dtor if dtor is virtual. - -2009-11-30 Paolo Carlini <paolo.carlini@oracle.com> - - PR c++/40371 - * call.c (add_template_candidate_real): Early return NULL if - the arglist length is smaller than skip_without_in_chrg; tidy. - -2009-11-30 Dodji Seketeli <dodji@redhat.com> - - PR c++/42069 - * pt.c (convert_template_argument): Strip typedefs from SCOPE_REFs. - -2009-11-29 Dodji Seketeli <dodji@redhat.com> - - PR c++/36408 - * semantics.c (empty_expr_stmt_p): Handle void_zero_node and fix - bad indentation. - * pt.c (tsubst_copy_and_build): Fix typo. - -2009-11-29 Jan Hubicka <jh@suse.cz> - - * optimize.c (maybe_clone_body): Emit thunks associated to alias. - * Make-lang.in (method.o): Add dependency on gimple.h. - * method.c: Include gimple.h - (make_alias_for_thunk): Use same body alias instead of assemble_alias. - (use_thunk): Drop codegen; use cgraph_add_thunk; gimplify - generic thunks. - * semantics.c (expand_or_defer_fn): Emit associated thunks. - -2009-11-28 Dodji Seketeli <dodji@redhat.com> - - PR c++/36408 - * cp-tree.h (empty_expr_stmt_p): Declare ... - * semantics.c (empty_expr_stmt_p): ... this. - * pt.c (tsubst_copy_and_build) <STMT_EXPR>: Use it. - -2009-11-27 Paolo Carlini <paolo.carlini@oracle.com> - - PR c++/38656 - * cxx-pretty-print.c (pp_cxx_expression): Handle TEMPLATE_ID_EXPR. - -2009-11-27 Paolo Carlini <paolo.carlini@oracle.com> - - PR c++/35112 - * pt.c (print_overloaded_functions): New. - (print_candidates): Call the latter. - * parser.c (cp_parser_class_name): Do not duplicate the diagnostics - after the cp_parser_lookup_name call. - -2009-11-26 Jason Merrill <jason@redhat.com> - - PR c++/42026, DR 239 - * parser.c (cp_parser_postfix_expression): A local extern also - prevents arg-dependent lookup. - -2009-11-26 Gabriel Dos Reis <gdr@cs.tamu.edu> - - * decl.c (grokdeclarator): Remove period at end of diagnosic message. - -2009-11-25 Jason Merrill <jason@redhat.com> - - PR c++/10690 - * rtti.c (get_tinfo_decl_dynamic): Call resolve_nondeduced_context. - -2009-11-24 Jason Merrill <jason@redhat.com> - - PR c++/42137 - * parser.c (cp_parser_mem_initializer_id): Pass typename_type to - cp_parser_class_name. - (cp_parser_unqualified_id): Same, rather than class_type. - - PR c++/11764 - * parser.c (cp_parser_expression_statement): Give helpful error - for constructor name used as type. - - * pt.c (determine_specialization): Give helpful error about missing - "template<>". - -2009-11-23 Jakub Jelinek <jakub@redhat.com> - - PR middle-end/42095 - * tree.c: Include cgraph.h. - (cp_fix_function_decl_p): Don't return true for same_body aliases. - * Make-lang.in (cp/tree.o): Depend on $(CGRAPH_H). - -2009-11-23 Dodji Seketeli <dodji@redhat.com> - - PR c++/14777 - * cp-tree.def <TEMPLATE_INFO>: Declare new kind of tree - node. - * cp-tree.h (struct tree_template_info, - struct qualified_typedef_usage_s): New. - (cp_tree_node_structure_enum): add TS_CP_TEMPLATE_INFO. - (union lang_tree_node): Add template_info. - (TI_TEMPLATE, TI_ARGS, TI_TYPEDEFS_NEEDING_ACCESS_CHECKING): - Adjust. - (build_template_info): Declare. - (get_types_needing_access_check): Adjust return type. - (add_typedef_to_current_template_for_access_check): Declare. - * cp-objcp-common.c (cp_tree_size): Handle TEMPLATE_INFO. - * semantics.c (add_typedef_to_current_template_for_access_check): - Split from ... - (check_accessibility_of_qualified_id): ... here. - * decl.c (make_typename_type): Use it. - * pt.c (build_template_info): Define. - (check_explicit_specialization, find_parameter_packs_r, - push_template_decl_real, lookup_template_class, - for_each_template_parm_r, tsubst_decl, tsubst): Use - build_template_info. - (get_types_needing_access_check): Adjust return type. - (append_type_to_template_for_access_check_1): Record the - location of the usage point of the typedef. Adjust to TEMPLATE_INFO. - (append_type_to_template_for_access_check): Add new location - parameter. Pass it to append_type_to_template_for_access_check_1. - Adjust to TEMPLATE_INFO. - (perform_typedefs_access_check): Temporarily set input_location to - the usage point of the typedef we are checking access for. Adjust - to new TEMPLATE_INFO tree node. - * tree.c (bind_template_template_parm): Use build_template_info. - * call.c (add_template_candidate_real): Likewise. - * decl.c (grokfndecl): Likewise. - (cp_tree_node_structure): Handle TEMPLATE_INFO. - -2009-11-20 Jason Merrill <jason@redhat.com> - - PR c++/9050, DR 147, DR 318 - * parser.c (cp_parser_lookup_name): If the name matches the explicit - class scope, we're naming the constructor. - (cp_parser_constructor_declarator_p): Just use cp_parser_unqualified_id - if we have a nested-name-specifier. - (cp_parser_direct_declarator): Handle getting an overload set as a - constructor declarator. - (cp_parser_unqualified_id): Avoid looking up the constructor when - naming the destructor. - (cp_parser_diagnose_invalid_type_name): Give good - diagnostic for improper use of constructor as template. - * typeck.c (finish_class_member_access_expr): Give good diagnostic - about calling constructor. - - * error.c (dump_aggr_type): Don't print A::A for injected-class-name. - -2009-11-20 Simon Martin <simartin@users.sourceforge.net> - - PR c++/38646 - * pt.c (process_partial_specialization): Do not turn wrongly located - parameter pack arguments into error_mark_node. - Split too long lines into two. - -2009-11-20 Paolo Carlini <paolo.carlini@oracle.com> - - PR c++/42060 - * except.c (build_throw): Check the tree returned by - decay_conversion for error_mark_node. - -2009-11-20 Shujing Zhao <pearly.zhao@oracle.com> - - PR c++/29017 - * cp-tree.h (composite_pointer_operation): New type. - (composite_pointer_type): Adjust prototype with new argument. - * typeck.c (composite_pointer_type): Accept - composite_pointer_operation as argument and emit diagnostic to be - visible to gettext and checked at compile time. - (composite_pointer_type_r): Likewise. - (common_pointer_type): Update call to composite_pointer_type. - (cp_build_binary_op): Likewise. - * call.c (build_conditional_expr): Likewise. - -2009-11-19 Jason Merrill <jason@redhat.com> - - PR c++/42115 - * call.c (build_op_delete_call): Don't complain about using - op delete (void *, size_t) for placement delete if there's an - op delete (void *). - - DR 176 permissiveness - * class.c (build_self_reference): Call set_underlying_type. - * decl.c (check_elaborated_type_specifier): Don't complain about - injected-class-name. - (type_is_deprecated): Use TYPE_MAIN_VARIANT. - * pt.c (convert_template_argument): Handle injected-class-name used - as template template argument. - * typeck2.c (abstract_virtuals_error): Use TYPE_MAIN_VARIANT. - - PR c++/561 - * decl.c (static_fn_type): Split out... - (revert_static_member_fn): ...from here. - * cp-tree.h: Declare it. - * class.c (resolve_address_of_overloaded_function): Use it to compare - pointers to member functions. - * typeck.c (build_static_cast_1): Call instantiate_type. - -2009-11-18 Shujing Zhao <pearly.zhao@oracle.com> - - PR c++/40892 - * error.c (maybe_warn_cpp0x): Accept enum cpp0x_warn_str as argument. - (maybe_warn_variadic_templates): Update the maybe_warn_cpp0x calls to - match the new declaration. - * cp-tree.h (cpp0x_warn_str): New type. - (maybe_warn_cpp0x): Adjust prototype with new argument. - * call.c (reference_binding): Update the maybe_warn_cpp0x calls. - * decl.c (reshape_init_r, check_initializer, grokdeclarator): - Likewise. - * parser.c (cp_parser_primary_expression) - (cp_parser_parenthesized_expression_list, cp_parser_new_initializer) - (cp_parser_assignment_expression, cp_parser_condition) - (cp_parser_jump_statement, cp_parser_mem_initializer) - (cp_parser_simple_type_specifier, cp_parser_elaborated_type_specifier) - (cp_parser_enum_specifier, cp_parser_initializer) - (cp_parser_pure_specifier, cp_parser_functional_cast): Likewise. - -2009-11-18 Jakub Jelinek <jakub@redhat.com> - - PR c++/3187 - * cp-tree.h (expand_or_defer_fn_1): New prototype. - * decl2.c (cp_write_global_declarations): Mark as !DECL_EXTERNAL - also all same_body aliases. - * semantics.c (expand_or_defer_fn): Move most of the function - except registering with cgraph to ... - (expand_or_defer_fn_1): ... here. New function. - * optimize.c: Include cgraph.h. - (maybe_clone_body): If in charge parm is not used and both base - and complete clones are created and are not comdat, tell cgraph - they have the same body. - * Make-lang.in (cp/optimize.o): Depend on $(CGRAPH_H). - -2009-11-17 Paolo Carlini <paolo.carlini@oracle.com> - - PR c++/42058 - * typeck2.c (digest_init_r): Check init for error_operand_p. - * decl.c (reshape_init_class): Check return value of reshape_init_r - for error_mark_node. - -2009-11-17 Jakub Jelinek <jakub@redhat.com> - - PR c++/42061 - * call.c (reference_binding): Return NULL for initializer list with - error operand inside of it. - - PR c++/42059 - * typeck.c (cp_build_modify_expr): For initializer list call - check_array_initializer to make sure lhs isn't a VLA. - -2009-11-16 Jason Merrill <jason@redhat.com> - - PR c++/189, c++/9937, c++/13950, DR 176 - * search.c (lookup_field_r): Allow lookup to find the - injected-class-name from a template base. - (template_self_reference_p): Remove. - * decl.c (make_typename_type): Diagnose ambiguity. Use - maybe_get_template_decl_from_type_decl. - * parser.c (cp_parser_template_name): Pass true to is_template - rather than use maybe_get_template_decl_from_type_decl. - (cp_parser_lookup_name): Use maybe_get_template_decl_from_type_decl. - * pt.c (maybe_get_template_decl_from_type_decl): Handle ambiguity. - Use DECL_SELF_REFERENCE_P. - - * parser.c (cp_parser_parse_and_diagnose_invalid_type_name): - Avoid duplicate ambiguity error. - * error.c (dump_decl): Don't say "typedef" for injected-class-name. - * pt.c (convert_template_argument): Tweak logic. - -2009-11-16 Paolo Carlini <paolo.carlini@oracle.com> - - PR c++/42055 - * pt.c (determine_specialization): Assign to candidates the return - value of the chainon called before print_candidates. - -2009-11-16 Paolo Carlini <paolo.carlini@oracle.com> - - PR c++/32056 - * decl.h (enum decl_context): Add TPARM enumerator. - * decl.c (grokdeclarator): Per 14.1/2, error out if a storage class - is specified in a template parameter declaration. - * parser.c (cp_parser_template_parameter): Call grokdeclarator with - TPARM as third argument. - -2009-11-13 Jason Merrill <jason@redhat.com> - - PR c++/27425 - PR c++/34274 - * pt.c (expand_template_argument_pack): Handle null arg gracefully. - (convert_template_argument): Use %T for type. - - PR c++/29363 - * decl.c (create_implicit_typedef): Set TYPE_STUB_DECL here. - (cxx_init_decl_processing): Not here. - * name-lookup.c (pushtag): Or here. - * pt.c (lookup_template_class): Or here. - - PR c++/35075 - * pt.c (convert_nontype_argument): Give helpful error about - reference variable argument to reference template parameter. - - PR c++/21008, DR 515 - * semantics.c (finish_non_static_data_member): Don't check - derivation in a template. - - PR c++/11987 - * parser.c (cp_parser_direct_declarator): Give helpful error about - trying to define member of a dependent typedef. - * pt.c (resolve_typename_type): Don't resolve a typedef typename. - * tree.c (typedef_variant_p): New. - * cp-tree.h: Declare it. - -2009-11-12 Jason Merrill <jason@redhat.com> - - PR c++/27078 - * parser.c (cp_parser_primary_expression): Don't give a duplicate - ambiguity error. - - PR c++/39560 - * decl2.c (build_anon_union_vars): Set DECL_ARTIFICIAL. - - PR c++/37037 - * decl.c (grokdeclarator): Don't generate a void PARM_DECL. - - PR c++/42013 - * call.c (build_conditional_expr): Check specifically for folding - to CALL_EXPR rather than TREE_SIDE_EFFECTS. - - * typeck.c (cv_qualified_p): New fn. - (decay_conversion): Use it. - * cp-tree.h: Declare it. - * tree.c (rvalue): Use it and cv_unqualified. - * init.c (build_aggr_init): Likewise. - - PR c++/42013 - * call.c (build_conditional_expr): Don't fold a TREE_SIDE_EFFECTS - COND_EXPR in unevaluated context. - -2009-11-12 Jan Hubicka <jh@suse.cz> - - * decl2.c (constrain_visibility): Clear WEAK and COMMON flags. - -2009-11-11 Jason Merrill <jason@redhat.com> - - PR c++/39131 - * rtti.c (emit_support_tinfos): Add DFP types. - - * call.c (build_op_delete_call): Downgrade error about - placement/non-placement confusion to permerror. - -2009-11-10 Jason Merrill <jason@redhat.com> - - * call.c (build_op_delete_call): Tweak error. - - PR c++/34158 - PR c++/36406 - * call.c (non_placement_deallocation_fn_p): Split out... - (build_op_delete_call): ...from here. Use instantiate_type - for placement delete. Simplify logic. - * pt.c (primary_template_instantiation_p): Non-static. - * cp-tree.h: Declare it. - -2009-11-09 Jason Merrill <jason@redhat.com> - - PR c++/41972 - * parser.c (cp_parser_template_argument): Accept SCOPE_REF around - VAR_DECL. - - PR c++/41994 - * pt.c (tsubst_baselink): tsubst the name. - -2009-11-07 Jason Merrill <jason@redhat.com> - - PR c++/37920 - * pt.c (tsubst) [TYPEOF_TYPE]: Set cp_unevaluated_operand. - - PR c++/18451 - PR c++/40738 - * cp-tree.h (cp_decl_specifier_seq): Add any_type_specifiers_p. - * parser.c (cp_parser_single_declaration): Call - cp_parser_parse_and_diagnose_invalid_type_name here, too. - (cp_parser_parameter_declaration): And here. - (cp_parser_parse_and_diagnose_invalid_type_name): Be - less picky about declarator form. Don't skip to - the end of the block if we're in a declarator. - (cp_parser_decl_specifier_seq): Set any_type_specifiers_p. - (cp_parser_simple_declaration): Check it. - (cp_parser_member_declaration): Likewise. - (cp_parser_diagnose_invalid_type_name): Tweak error message. - (cp_parser_expression_statement): Likewise. - * decl2.c (grokfield): Mention decltype instead of typeof. - -2009-11-06 Jason Merrill <jason@redhat.com> - - PR c++/15946 - * parser.c (cp_parser_check_template_parameters): Don't talk about - specialization at function scope. - (cp_parser_diagnose_invalid_type_name): Handle dependent scope. - (cp_parser_parse_and_diagnose_invalid_type_name): Likewise. - (cp_parser_expression_statement): Suggest typename. - * error.c (dump_decl) [SCOPE_REF]: Print the type here. - (dump_expr) [SCOPE_REF]: Call it. - (dump_type) [UNBOUND_CLASS_TEMPLATE]: Check TFF_UNQUALIFIED_NAME. - * cxx-pretty-print.c (pp_cxx_unqualified_id): Print class template - args. - - PR c++/9381 - * decl2.c (build_memfn_type): Preserve attributes. - (cp_reconstruct_complex_type): Likewise. - (maybe_retrofit_in_chrg): Likewise. - * class.c (adjust_clone_args): Likewise. - * call.c (standard_conversion): Use build_memfn_type. - * pt.c (tsubst): Likewise. - * decl.c (build_ptrmem_type): Likewise - (check_function_type): Preserve attributes. - * tree.c (cp_build_type_attribute_variant): Propagate exception - specs on METHOD_TYPE, too. - (strip_typedefs): Preserve exception specs and attributes. - -2009-11-06 Andrew Pinski <andrew_pinski@playstation.sony.com> - - PR c++/41536 - * optimize.c (maybe_clone_body): Copy DECL_ATTRIBUTES and - DECL_DISREGARD_INLINE_LIMITS also. - -2009-11-06 Jakub Jelinek <jakub@redhat.com> - - PR c++/41967 - * parser.c (cp_parser_omp_for_loop): After diagnosing not perfectly - nested loop and parsing statements, don't cp_parser_require }, instead - exit the loop if next token is CPP_EOF. - -2009-11-05 Jason Merrill <jason@redhat.com> - - PR c++/34180 - * method.c (do_build_copy_constructor): Don't drop cv-quals from - the field type. - - PR c++/7046 - * class.c (finish_struct): Store maximum_field_alignment in - TYPE_PRECISION. - * pt.c (instantiate_class_template): Set maximum_field_alignment. - - PR c++/34870 - * name-lookup.c (arg_assoc_class): Call complete_type. - * pt.c (instantiate_class_template): Call uses_template_parms - instead of dependent_type_p. - - PR c++/41703 - * pt.c (check_undeduced_parms): New subroutine of... - (more_specialized_fn): ...here. Undeduced template parms can make - a template less specialized than another. - -2009-11-04 Jason Merrill <jason@redhat.com> - - PR c++/39413 - * search.c (lookup_base): Don't complete_type (base). - - PR c++/35067 - * method.c (use_thunk): Check DECL_WEAK as well as - DECL_ONE_ONLY. - - PR c++/17365, DR 218 - * name-lookup.c (add_function): Ignore non-functions. - -2009-11-03 Jason Merrill <jason@redhat.com> - - PR c++/36959 - * decl2.c (cxx_callgraph_analyze_expr): Don't reference a function - just because a static variable in it is needed unless -frepo. - - PR c++/41876 - * parser.c (cp_parser_type_specifier_seq): Rename is_condition to - is_declaration. - (cp_parser_exception_declaration): Pass true. - (cp_parser_omp_for_loop): Likewise. - - PR c++/41927 - * typeck.c (build_x_binary_op): Don't do warn_parentheses - if we're in a SFINAE context. - - PR c++/41815 - * call.c (build_call_a): Strip cv-quals from rvalue result. - - PR c++/40944 - * call.c (initialize_reference): Add complain parm. - * typeck.c (convert_for_initialization): Pass it. - * decl.c (grok_reference_init): Likewise. - * cp-tree.h: Declare it. - - PR c++/40687 - * pt.c (do_auto_deduction): Diagnose inconsistent deduction. - -2009-11-02 Dodji Seketeli <dodji@redhat.com> - - PR c++/37093 - * pt.c (check_valid_ptrmem_cst_expr): New function. - (convert_nontype_argument): Use it to output an error for - illegal pointer to member expressions used as template arguments. - -2009-11-02 Jason Merrill <jason@redhat.com> - - Restrict DR 757 change to C++0x mode. - * decl2.c (mark_used): Check cxx_dialect. - * decl.c (grokfndecl): Do check type linkage in C++98 mode. - (grokvardecl): Likewise. - * pt.c (check_instantiated_arg): Likewise. - -2009-11-02 Jakub Jelinek <jakub@redhat.com> - - PR c++/41774 - * name-lookup.c (handle_namespace_attrs): Pass 1 as last argument to - push_visibility. - * parser.c (cp_parser_namespace_definition): Pass 1 as argument to - pop_visibility. - * rtti.c (push_abi_namespace): Pass 2 as last argument to - push_visibility. - (pop_abi_namespace): Pass 2 as argument to pop_visibility. - -2009-10-31 Jason Merrill <jason@redhat.com> - - * tree.c (cv_unqualified): New fn. - * cp-tree.h: Declare it. - * typeck.c (decay_conversion): Use it instead of TYPE_MAIN_VARIANT. - - * rtti.c (tinfo_name): Fix lengths for private case. - -2009-10-31 Jason Merrill <jason@redhat.com> - - PR c++/41754 - * call.c (compare_ics): Avoid bad union use when - comparing two ck_lists. - -2009-10-30 Jerry Quinn <jlquinn@optonline.net> - - * mangle.c (mangle_type_string_for_rtti): Reapply 153734. - (needs_fake_anon): Likewise. - (write_name): Likewise. - (write_nested_name): Likewise. - * cp-tree.h (mangle_type_string_for_rtti): Likewise. - (get_anonymous_namespace): Likewise. - * name-lookup.c (get_anonymous_namespace_name): Likewise. - * rtti.c (tinfo_name): Likewise, with +1 in the second - build_string call fixed. - (tinfo_base_init): Likewise. - -2009-10-30 Jason Merrill <jason@redhat.com> - - Revert: - * decl.c (cp_fname_init): Correct build_string argument. - -2009-10-30 Jerry Quinn <jlquinn@optonline.net> - - * mangle.c (mangle_type_string_for_rtti): Revert 153734. - (needs_fake_anon): Likewise. - (write_name): Likewise. - (write_nested_name): Likewise. - * cp-tree.h (mangle_type_string_for_rtti): Likewise. - (get_anonymous_namespace): Likewise. - * name-lookup.c (get_anonymous_namespace_name): Likewise. - * rtti.c (tinfo_name): Likewise. - (tinfo_base_init): Likewise. - -2009-10-30 Dodji Seketeli <dodji@redhat.com> - - PR c++/41863 - * pt.c (iterative_hash_template_arg): articifial parms - don't have DECL_PARM_INDEX set. Do not hash it. - -2009-10-28 Jerry Quinn <jlquinn@optonline.net> - - * mangle.c (mangle_type_string_for_rtti): Revert r149964. - (needs_fake_anon): Likewise. - (write_name): Likewise. - (write_nested_name): Likewise. - * cp-tree.h (mangle_type_string_for_rtti): Likewise. - (get_anonymous_namespace): Likewise. - * name-lookup.c (get_anonymous_namespace_name): Likewise. - * rtti.c (tinfo_name): Insert '*' in front of private names. - (tinfo_base_init): Use it. - -2009-10-28 Jason Merrill <jason@redhat.com> - - Core issue 812, 861 - * name-lookup.c (set_decl_namespace): Deal properly with inline - namespaces. - (qualified_lookup_using_namespace): Overhaul. - * pt.c (print_candidates): Handle getting an OVERLOAD. - -2009-10-28 Jason Merrill <jason@redhat.com> - - * decl.c (cp_fname_init): Correct build_string argument. - -2009-10-27 Jason Merrill <jason@redhat.com> - - Allow no-capture lambdas to convert to function pointer. - * semantics.c (maybe_add_lambda_conv_op): New. - * parser.c (cp_parser_lambda_expression): Call it. - (cp_parser_lambda_declarator_opt): Make op() static if - no captures. - * mangle.c (write_closure_type_name): Adjust. - * semantics.c (finish_this_expr): Adjust. - * decl.c (grok_op_properties): Allow it. - * call.c (build_user_type_conversion_1): Handle static conversion op. - (build_op_call): And op(). - -2009-10-26 Jakub Jelinek <jakub@redhat.com> - - PR debug/41828 - * cp-lang.c (cxx_dwarf_name): Return NULL instead of - <anonymous ...> for anonymous aggregate names. - -2009-10-26 Jason Merrill <jason@redhat.com> - - PR c++/38796, Core issue 906 - * cp-tree.h (DECL_DEFAULTED_OUTSIDE_CLASS_P): New. - (DECL_DEFAULTED_IN_CLASS_P): New. - * class.c (user_provided_p): Non-static. - (check_methods): Use it. - (check_bases_and_members): Check defaulted fns. - (defaultable_fn_p): Move and rename to... - * method.c (defaultable_fn_check): ...this. - (defaulted_late_check): New. - * pt.c (tsubst_decl): Call it. - * decl2.c (grokfield): Adjust. - * decl.c (cp_finish_decl): Adjust. - (grok_special_member_properties): Use user_provided_p. - -2009-10-26 Dodji Seketeli <dodji@redhat.com> - - PR c++/41785 - * pt.c (template_args_equal): Handle comparison of - an ARGUMENT_PACK_SELECT node with the arguments node it selects into. - * cp-tree.def: Fix a typo in the description of TYPE_PACK_EXPANSION. - -2009-10-26 Dodji Seketeli <dodji@redhat.com> - - PR c++/41020 - * decl.c (decls_match): Use DECL_IS_BUILTIN instead of - DECL_BUILT_IN. - -2009-10-23 Dodji Seketeli <dodji@redhat.com> - - PR c++/40808 - * mangle.c (write_template_args): Allow mangling of empty template - argument list. Updated function comments. - -2009-10-23 Jason Merrill <jason@redhat.com> - - * semantics.c (lambda_expr_this_capture): Use thisify_lambda_field. - - * semantics.c (outer_lambda_capture_p): New fn. - (thisify_lambda_field): Factor out... - (add_default_capture): ...from here. - (finish_id_expression): Use them. - - Core issue 899 - * call.c (add_function_candidate): Only permit explicit conversion - ops if copy ctor was called with a single argument. - - * call.c (initialize_reference): Tweak error message. - -2009-10-21 Jakub Jelinek <jakub@redhat.com> - - * mangle.c (finish_mangling_get_identifier): Use - obstack_base (mangle_obstack) instead of name_base. - -2009-10-19 Jakub Jelinek <jakub@redhat.com> - - * parser.c (cp_lexer_print_token, cp_parser_is_string_literal, - cp_parser_string_literal, cp_parser_primary_expression): Likewise. - (cp_lexer_get_preprocessor_token): Use C_LEX_STRING_JOIN instead - of C_LEX_RAW_STRINGS. - -2009-10-15 Jason Merrill <jason@redhat.com> - - PR c++/38888 - * error.c (dump_template_bindings): Wrap argument packs in {}. - - PR c++/38798 - * parser.c (CP_PARSER_FLAGS_NO_TYPE_DEFINITIONS): New. - (cp_parser_type_specifier): Don't try to parse a class-specifier - or enum-specifier in that case. - (cp_parser_trailing_type_id): New. - (cp_parser_late_return_type_opt): Call it. - (cp_parser_type_id_1): Add is_trailing_return parm. - (cp_parser_type_specifier_seq): Likewise. - -2009-10-14 Jason Merrill <jason@redhat.com> - - PR c++/39866 - * call.c (print_z_candidates): Don't print deleted candidates. - (print_z_candidate): Note deleted candidates. - -2009-10-14 Larry Evans <cppljevans@suddenlink.net> - - PR c++/40092 - * tree.c (cp_tree_equal): Add test for TEMPLATE_PARM_PARAMETER_PACK - equality. - -2009-10-12 Jason Merrill <jason@redhat.com> - - PR c++/37875 - * parser.c (cp_parser_decltype): Set greater_than_is_operator_p. - - PR c++/37766 - * pt.c (type_unification_real): Call convert_template_argument - for function default template arguments. - (check_default_tmpl_args): Suggest -std=c++0x when function default - template args seen in C++98 mode. - -2009-10-11 Jason Merrill <jason@redhat.com> - - PR c++/37204 - * typeck.c (build_reinterpret_cast_1): Handle rvalue refs - properly. - -2009-10-11 Richard Guenther <rguenther@suse.de> - - * tree.c (cp_free_lang_data): Drop anonymous aggregate names. - -2009-10-08 Jason Merrill <jason@redhat.com> - - PR c++/36816 - * pt.c (maybe_adjust_types_for_deduction): Do rvalue ref adjustment - even when DEDUCE_EXACT. - - PR c++/37177 - * pt.c (resolve_nondeduced_context): New. - * cvt.c (convert_to_void): Call it. - * semantics.c (finish_decltype_type): Likewise. - * typeck.c (decay_conversion): Here too. - * pt.c (tsubst_decl): Don't clobber input_location. - Don't register a bad specialization. - -2009-10-07 Gabriel Dos Reis <gdr@cs.tamu.edu> - - * cp-tree.h: Fix location of documentation for DECL_LANG_FLAG_7. - -2009-10-07 Jason Merrill <jason@redhat.com> - - PR c++/39863 - * pt.c (tsubst_pack_expansion): Don't do anything now if we - have incomplete packs of different lengths. - - PR c++/41038 - * tree.c (build_qualified_name): Call convert_from_reference. - -2009-10-06 Jason Merrill <jason@redhat.com> - - Fix lookup of initialized captures in unevaluated context. - * cp-tree.h (DECL_NORMAL_CAPTURE_P): New. - * name-lookup.c (qualify_lookup): Check it. - * parser.c (cp_parser_lambda_introducer): Pass explicit_init_p - to add_capture. - * semantics.c (add_capture): Set DECL_NORMAL_CAPTURE_P - on captures without explicit init. - (add_default_capture): Pass explicit_init_p. - - Fix capture by copy of types with explicit copy constructor. - * cp-tree.h (TARGET_EXPR_DIRECT_INIT_P): New. - (DIRECT_INIT_EXPR_P): New. - * typeck.c (convert_for_initialization): Just return if - DIRECT_INIT_EXPR_P. - * semantics.c (build_lambda_object): Use - TARGET_EXPR_DIRECT_INIT_P for normal captures. - -2009-10-05 Jason Merrill <jason@redhat.com> - - * parser.c: Mark lambda_scope and lambda_count for PCH. - -2009-10-03 Jason Merrill <jason@redhat.com> - - PR c++/41553 - * parser.c (cp_parser_lambda_introducer): Avoid infinite loop on - parse error. - -2009-10-02 Jason Merrill <jason@redhat.com> - - * mangle.c (write_unnamed_type_name): Implement. - (local_class_index): Split out from... - (discriminator_for_local_entity): ...here. - (nested_anon_class_index): New. - * cp-tree.h (TYPE_FUNCTION_SCOPE_P): New. - -2009-10-02 Janis Johnson <janis187@us.ibm.com> - - * call.c (convert_arg_to_ellipsis): Avoid promoting decimal32 - to double. - -2009-10-01 Jason Merrill <jason@redhat.com> - - * parser.c (cp_parser_lambda_expression): Compute visibility. - (no_linkage_lambda_type_p): Remove. - * cp-tree.h: Remove declaration. - * tree.c (no_linkage_check): Don't call it. Don't check template - args. Don't check TREE_PUBLIC Types. - -2009-10-01 Gabriel Dos Reis <gdr@cse.tamu.edu> - Jason Merrill <jason@redhat.com> - - * decl.c (grokdeclarator): Set constexprness before announcing - friendship. - -2009-10-01 Gabriel Dos Reis <gdr@cs.tamu.edu> - - * decl.c (record_builtin_java_type): Undo unintended change. - (cxx_init_decl_processing): Likewise. - -2009-10-01 Jason Merrill <jason@redhat.com> - - * pt.c (register_specialization): Push DECL_SOURCE_LOCATION to the - clones. - - * decl.c (grok_special_member_properties): Only adjust - TYPE_HAS_COMPLEX_* if the function is defaulted in the class body. - (cp_finish_decl): Push DECL_DELETED_FN/DECL_DEFAULTED_FN to the - clones. - -2009-09-30 Gabriel Dos Reis <gdr@cs.tamu.edu> - - * decl.c (check_for_uninitialized_const_var): Check constexpr - variables too. - (grokdeclarator): Handle `constexpr'. - (check_tag_decl): Reject `constexpr'. - (check_function_type): Check constexpr functions. - * cp-tree.h (ds_constexpr): New cp_decl_spec enumerator. - (CLASSTYPE_LITERAL_P): New. - (lang_type_class::is_literal): New. - (lang_type_class::dummy): Adjust width. - (literal_type_p): Declare. - * parser.c (cp_parser_check_decl_spec): Print it. - (cp_parser_decl_specifier_seq): Accept "constexpr". - * semantics.c (validate_constexpr_fundecl): Define. - (literal_type_p): Define. - -2009-09-30 Jason Merrill <jason@redhat.com> - - * semantics.c (lambda_expr_this_capture): Fix default capture - of explicit capture of 'this'. - -2009-09-30 Jason Merrill <jason@redhat.com> - - * parser.c (cp_parser_lambda_expression): Don't add __ to __this. - -2009-09-30 Jason Merrill <jason@redhat.com> - - * cp-tree.h (LANG_DECL_U2_CHECK): Check LANG_DECL_HAS_MIN. - -2009-09-29 John Freeman <jfreeman08@gmail.com> - Jason Merrill <jason@redhat.com> - - Add support for lambda-expressions as per N2927. - * cp-tree.def (VEC_INIT_EXPR, LAMBDA_EXPR): New. - * cp-tree.h (LAMBDA_TYPE_P, LAMBDA_FUNCTION_P): New. - (LAMBDA_EXPR_DEFAULT_CAPTURE_MODE): New. - (LAMBDA_EXPR_DEFAULT_CAPTURE_LIST): New. - (LAMBDA_EXPR_THIS_CAPTURE, LAMBDA_EXPR_CAPTURES_THIS_P): New. - (LAMBDA_EXPR_MUTABLE_P, LAMBDA_EXPR_DEDUCE_RETURN_TYPE_P): New. - (LAMBDA_EXPR_RETURN_TYPE, LAMBDA_EXPR_LOCATION): New. - (LAMBDA_EXPR_EXTRA_SCOPE, LAMBDA_EXPR_DISCRIMINATOR): New. - (struct tree_lambda_expr): New. - (union lang_tree_node): Add lambda_expression. - (struct lang_type_class): Add lazy_move_ctor flag, lambda_expr field. - (CLASSTYPE_LAZY_MOVE_CTOR, CLASSTYPE_LAMBDA_EXPR): New. - (LAMBDA_TYPE_EXTRA_SCOPE, VEC_INIT_EXPR_SLOT): New. - (VEC_INIT_EXPR_INIT, DECLTYPE_FOR_LAMBDA_CAPTURE): New. - (DECLTYPE_FOR_LAMBDA_RETURN): New. - (enum special_function_kind): Add sfk_move_constructor. - (LAMBDANAME_PREFIX, LAMBDANAME_FORMAT, LAMBDANAME_P): New. - * parser.c (cp_parser_lambda_expression, cp_parser_lambda_introducer) - (cp_parser_lambda_declarator_opt, cp_parser_lambda_body): New. - (start_lambda_scope, record_lambda_scope, finish_lambda_scope): New. - (no_linkage_lambda_type_p): New. - (cp_parser_primary_expression): Recognize lambda expression. - (cp_parser_init_declarator): Note lambda scope. - (cp_parser_function_definition_after_declarator): Likewise. - (cp_parser_late_parsing_default_args): Likewise. - (cp_parser_skip_to_closing_parenthesis): Skip to end of lambda capture - lists, too. - (cp_parser_parameter_declaration): Don't defer lambda default args. - * semantics.c (finish_non_static_data_member, finish_id_expression): - Handle default capture for lambda expressions. - (finish_this_expr): Handle 'this' keyword inside of lambda expressions. - (outer_automatic_var_p): New. - (finish_decltype_type): Handle decltypes within lambda expressions. - (classtype_has_nothrow_assign_or_copy_p): Synthesized move constructor. - (build_lambda_expr, build_lambda_object, begin_lambda_type) - (lambda_return_type, lambda_capture_field_type, apply_lambda_return_type) - (capture_decltype, add_capture, add_default_capture) - (lambda_expr_this_capture): New. - * mangle.c (write_unnamed_type_name): New. Incomplete. - (write_closure_type_name): New. - (write_unqualified_name): Recognize unnamed, closure types. - (write_type): Do not write decltypes from lambda expressions. - (decl_mangling_context): New. - (write_name): Use it. Handle PARM_DECL scope. - (write_prefix): Likewise. Handle VAR_DECL/FIELD_DECL scope. - (write_compact_number): Factor out from... - (write_expression, write_template_param): ...here. - (discriminator_for_local_entity): Recognize lambdas. - (write_local_name): Handle PARM_DECL scope. - * typeck.c (structural_comptypes): Compare decltypes from lambda - expressions. - (check_return_expr): Deduce lambda return type from multiple return - statements. - * class.c (add_implicitly_declared_members): Add lazy move constructor - for lambda types. - (check_bases_and_members): Delete default constructor and assignment - operator for lambda types. - (maybe_note_name_used_in_class): Do not confuse lambda expression with - defining a class. - * decl.c (reshape_init_r): Array copy. - (grokfndecl): Synthesized move constructor. - (cp_tree_node_structure): Lambda expression. - * method.c (use_thunk): Synthesized move constructor. - (do_build_copy_constructor): Likewise. - (locate_copy): Likewise. - (implicitly_declare_fn): Likewise. - * cp-objcp-common.c (cp_tree_size): Handle LAMBDA_EXPR. - * error.c (dump_aggr_type): Recognize lambda type. - (dump_function_decl): Recognize lambda function. - (function_category): Likewise. - (dump_function_name): Hide lambda name. - * tree.c (build_array_copy, move): New. - (special_function_p): Synthesized move constructor. - (no_linkage_check): Handle lambdas. - * search.c (lookup_fnfields_1): Synthesized move constructor. - * cp-gimplify.c (cp_gimplify_init_expr, cp_gimplify_expr): - Handle VEC_INIT_EXPR. - * typeck2.c (digest_init_r): Array copy. - * pt.c (get_template_info): Don't touch typedefs. - (instantiate_decl): Don't resubstitute artificial decls. - (tsubst_decl, tsubst, tsubst_copy_and_build): Handle lambdas. - (lookup_template_class): Don't fall back on name lookup. - * name-lookup.c (make_lambda_name): New. - (pushdecl_class_level): Handle default capture for lambda expressions. - (qualify_lookup): Handle decltypes within lambda expressions. - (pushtag): Handle ts_within_enclosing_non_class in function scope. - -2009-09-28 Janis Johnson <janis187@us.ibm.com> - - * mangle.c (write_builtin_type): Support decimal float types. - -2009-09-28 Richard Henderson <rth@redhat.com> - - * cp-objcp-common.h (LANG_HOOKS_EH_USE_CXA_END_CLEANUP): New. - -2009-09-24 Jakub Jelinek <jakub@redhat.com> - - * method.c (make_thunk, make_alias_for): Don't set - DECL_NO_STATIC_CHAIN. - * decl.c (builtin_function_1, grokfndecl): Likewise. - * lex.c (build_lang_decl): Likewise. - -2009-09-23 Dodji Seketeli <dodji@redhat.com> - - PR debug/41065 - * decl.c (cp_finish_decl): Record the types used by the global - variable declaration we've just parsed. - -2009-09-22 Dodji Seketeli <dodji@redhat.com> - - * cp-lang.c (LANG_HOOKS_FUNCTION_PARAMETER_PACK_P, - LANG_HOOKS_FUNCTION_PARM_EXPANDED_FROM_PACK_P, - LANG_HOOKS_GET_GENERIC_FUNCTION_DECL): Initialize these - hooks for the c++ FE. - * cp-tree.h (function_parameter_pack_p, get_function_template_decl, - function_parameter_expanded_from_pack_p): Declare ... - * pt.c (function_parameter_pack_p, get_function_template_decl, - function_parameter_expanded_from_pack_p): ... new hooks. - (get_template_info): Make this more robust. - (template_args_variadic_p, make_ith_pack_parameter_name): Add a new - line between comment and function. - (get_template_argument_pack_elems): Fix comment. - (tsubst_decl): Arguments of function parameter packs are not - parameter packs themselves. - -2009-09-21 Jason Merrill <jason@redhat.com> - - PR c++/41421 - * tree.c (trivial_type_p): Fix logic. - -2009-09-21 Jason Merrill <jason@redhat.com> - - * name-lookup.c (push_class_level_binding): Sanity check. - -2009-09-18 Jason Merrill <jason@redhat.com> - - * decl2.c (determine_visibility): Make anonymous types internal. - (mark_used): Complain about types without linkage used in - decls with internal linkage. - (vague_linkage_fn_p): Split out from... - * decl.c (maybe_commonize_var): ...here. - (grokdeclarator): Adjust linkage when a typedef gives linkage name. - * tree.c (no_linkage_check): Check the enclosing class and template - arguments. - - * cp-tree.h (TYPE_NAMESPACE_SCOPE_P): New. - - * pt.c (get_pattern_parm): New. - (listify): Split out from... - (listify_autos): ...here. - (unify): Deduce std::initializer_list for T. - * call.c (build_over_call): Warn about it. - -2009-09-17 Andrew Pinski <pinskia@gcc.gnu.org> - - PR c++/39365 - * typeck.c (cp_build_unary_op): Check TREE_CODE for bools instead of - using same_type_p. - (convert_for_assignment): Likewise. - * cvt.c (type_promotes_to): Likewise. - -2009-09-14 Richard Henderson <rth@redhat.com> - Jakub Jelinek <jakub@redhat.com> - - * cp-tree.h (finish_asm_stmt): Update decl. - * parser.c (cp_parser_asm_definition): Parse asm goto. - (cp_parser_asm_label_list): New. - * pt.c (tsubst_copy_asm_operands): Don't recurse on labels. - (tsubst_expr): Handle asm labels. - * semantics.c (finish_asm_stmt): Add and use labels parameter. - -2009-09-14 Richard Henderson <rth@redhat.com> - - * except.c (init_exception_processing): Don't call - default_init_unwind_resume_libfunc. - (cp_protect_cleanup_actions): Return the decl to call. - (build_exc_ptr): Use __builtin_eh_pointer. - * optimize.c (clone_body): Set eh_lp_nr, not eh_region. - -2009-09-13 Richard Guenther <rguenther@suse.de> - Rafael Avila de Espindola <espindola@google.com> - - * except.c (init_exception_processing): Do not set - lang_eh_runtime_type. - (choose_personality_routine): Do not set eh_personality_decl, - set pragma_java_exceptions. - * cp-lang.c (LANG_HOOKS_EH_RUNTIME_TYPE): Define. - (LANG_HOOKS_EH_PERSONALITY): Likewise. - (cp_eh_personality_decl): New. - (cp_eh_personality): Likewise. - * Make-lang.in (cp-lang.o): Add $(EXPR_H) and $(EXCEPT_H) - dependencies. - -2009-09-13 Wei Guozhi <carrot@google.com> - - PR c++/3187 - * cp/optimize.c (build_delete_destructor_body): New function. - (maybe_clone_body): Call build_delete_destructor_body for - deleting destructor. - -2009-09-10 Jason Merrill <jason@redhat.com> - - * repo.c (extract_string, get_base_filename, init_repo): constify. - -2009-09-09 Jason Merrill <jason@redhat.com> - - * error.c (find_typenames_r): Also add decltypes. - -2009-09-09 Paolo Carlini <paolo.carlini@oracle.com> - - PR c++/28293 - * decl2.c (grokfield): Check for explicit template argument lists. - -2009-09-09 Jack Howarth <howarth@bromo.med.uc.edu> - - PR bootstrap/41180 - * Make-lang.in: Remove redundant code from linkage for darwin10. - -2009-09-08 Paolo Carlini <paolo.carlini@oracle.com> - - PR c++/39923 - * decl.c (build_init_list_var_init): Check return value of - perform_implicit_conversion. - -2009-09-08 Jason Merrill <jason@redhat.com> - - * class.c (currently_open_class): Make sure we're dealing with the - main variant. - - * cp-tree.h (enum overload_flags): Remove OP_FLAG. - * method.c (lazily_declare_fn): Check for dtorness in ABI warning. - - * name-lookup.c (is_class_level): Remove. - (push_binding_level, leave_scope, resume_scope): Adjust. - (pushlevel_class): Adjust. - (poplevel_class): Make sure we're on class_binding_level. - - * decl.c (grokmethod): Rename from start_method. - (finish_method): Remove. - * cp-tree.h: Adjust. - * parser.c (cp_parser_save_member_function_body): Adjust. - -2009-09-03 Doug Kwan <dougkwan@google.com> - - * tree.c (cp_fix_function_decl_p): New. - (cp_free_lang_data): New. - -2009-09-03 Diego Novillo <dnovillo@google.com> - - * Make-lang.in (decl2.o): Add dependency on $(POINTER_SET_H). - * decl2.c: Include pointer-set.h. - (collect_candidates_for_java_method_aliases): New. - (cp_write_global_declarations): Call it. - Add local variable CANDIDATES. If set, call - build_java_method_aliases. - (build_java_method_aliases): Add argument CANDIDATES. - Use it to determine if FNDECL should get a hidden alias. - * cp-objcp-common.h (LANG_HOOKS_FREE_LANG_DATA): Define. - * cp-tree.h (cp_free_lang_data): Declare. - -2009-09-03 Richard Guenther <rguenther@suse.de> - - * method.c (use_thunk): Use cgraph_finalize_function to hand - off thunks to the cgraph. - * semantics.c (emit_associated_thunks): Do not emit thunks - for really extern functions. - -2009-09-03 Diego Novillo <dnovillo@google.com> - - * cp-lang.c (lang_hooks): Remove const qualifier. - -2009-09-02 Jason Merrill <jason@redhat.com> - - * semantics.c (describable_type): Don't pretend to be in a template. - - * ptree.c (cxx_print_type) [DECLTYPE_TYPE]: Print the expression. - -2009-09-01 Alexandre Oliva <aoliva@redhat.com> - - * cp-tree.h (TFF_NO_OMIT_DEFAULT_TEMPLATE_ARGUMENTS): New. - * cp-lang.c (cxx_dwarf_name): Pass it. - * error.c (count_non_default_template_args): Take flags as - argument. Adjust all callers. Skip counting of default - arguments if the new flag is given. - -2009-09-01 Dodji Seketeli <dodji@redhat.com> - - PR bootstrap/41205 - * pt.c (make_ith_pack_parameter_name): Don't use strnlen that is a - GNU extension. - -2009-09-01 Richard Guenther <rguenther@suse.de> - - * cp-objcp-common.c (cp_expr_size): Use tree_expr_size. - * cp-objcp-common.h (LANG_HOOKS_EXPR_SIZE): Do not define. - -2009-09-01 Richard Guenther <rguenther@suse.de> - - * cp-objcp-common.h (LANG_HOOKS_MARK_ADDRESSABLE): Remove. - -2009-08-31 Dodji Seketeli <dodji@redhat.com> - - PR debug/30161 - * cp-tree.h (get_template_info): Parameter should be const. - (CLASSTYPE_SPECIALIZATION_OF_PRIMARY_TEMPLATE_P): Fix typo. - (get_template_argument_pack_elems, - get_primary_template_innermost_parameters, - get_template_innermost_arguments, template_template_parameter_p): - Declare ... - * pt.c (get_template_argument_pack_elems, - get_template_innermost_parameters, get_template_innermost_arguments, - template_template_parameter_p): - ... New C++ front end implementation of new language hooks. - (primary_template_instantiation_p): New private helper. - (make_ith_pack_parameter_name): Use snprintf and strnlen instead of - printf and strlen. - (get_template_info): Const-ify parameter. - * cp-lang.c (LANG_HOOKS_GET_INNERMOST_GENERIC_PARMS, - LANG_HOOKS_GET_INNERMOST_GENERIC_ARGS, - LANG_HOOKS_GET_ARGUMENT_PACK_ELEMS, - LANG_HOOKS_GENERIC_TYPE_PARAMETER_DECL_P): Initialize these - interfaces for the C++ front-end. - -2009-08-31 Jason Merrill <jason@redhat.com> - - PR c++/41127 - * parser.c (cp_parser_enum_specifier): Make sure the : is followed by a - type-specifier-seq before we commit. - -2009-08-28 Richard Guenther <rguenther@suse.de> - - PR lto/41058 - * cp-gimplify.c (cp_genericize_r): Do not leak zero-sized stores - into the generic IL. - -2009-08-27 Richard Guenther <rguenther@suse.de> - - * class.c (build_vtbl_ref_1): Remove excess vertical space. - * Make-lang.in (CXX_TREE_H): Remove c-common.def dependency - tracked by $(TREE_H). - * semantics.c (expand_or_defer_fn): Zero DECL_SAVED_TREE. - -2009-08-26 Jason Merrill <jason@redhat.com> - - * call.c (build_builtin_candidate): Don't set LOOKUP_ONLYCONVERTING - if we're contextually converting to bool. - (build_conditional_expr): Likewise. - * typeck.c (condition_conversion): Likewise. - - * call.c (build_conditional_expr): Fix logic errors. - (build_new_op): Remove dead COND_EXPR handling. - -2009-08-24 Jason Merrill <jason@redhat.com> - - * cp-tree.h (DECL_DEFERRED_FN): Remove. - (struct lang_decl_fn): Remove deferred flag. - * class.c (build_clone): Don't set it. - * decl2.c (note_vague_linkage_fn): Don't check or set it. - (mark_used): Don't check it. - * method.c (make_thunk, make_alias_for): Don't set it. - - * decl2.c (mark_used): Streamline logic. - - PR c++/41109 - PR c++/41110 - PR c++/41134 - * cp-tree.h (DECL_ODR_USED): New macro. - (struct lang_decl_base): Add odr_used flag. - * decl.c (duplicate_decls): Propagate it. Use it for error. - * pt.c (register_specialization): Use it for error. - * decl2.c (mark_used): Use it as gating flag rather than TREE_USED. - (cp_write_global_declarations): Use it for error. - (tree_used_ok): Remove. - * cp-tree.h: Remove tree_used_ok. - * call.c (build_call_a): Don't call it. - * init.c (build_offset_ref): Likewise. - -2009-08-21 Jakub Jelinek <jakub@redhat.com> - - PR c++/41131 - * tree.c (lvalue_p_1) <case CONST_DECL>: Return clk_none if - not TREE_STATIC. - -2009-08-19 Jason Merrill <jason@redhat.com> - - PR c++/41119 - PR c++/41120 - * decl2.c (mark_used): Increment function_depth during synthesis. - * parser.c (cp_parser_default_argument): Not here. - -2009-08-19 Jakub Jelinek <jakub@redhat.com> - - * method.c (use_thunk): Call free_after_compilation after - assemble_end_function. - -2009-08-17 Richard Guenther <rguenther@suse.de> - - * decl.c (build_ptrmemfunc_type): Keep variant chain intact. - Avoid useless copy. - (finish_enum): Keep variant chain intact. - * tree.c (cp_build_reference_type): Likewise. - -2009-08-16 Jason Merrill <jason@redhat.com> - - Make TREE_USED match the [basic.def.odr] concept for FUNCTION_DECL - and VAR_DECL, so mark_used only has effect the first time. - * decl2.c (mark_used): Just return if TREE_USED is already set. - Don't set TREE_USED if cp_unevaluated_operand is set. - (tree_used_ok): New fn. - * init.c (build_offset_ref): Check it instead of TREE_USED. - * call.c (build_call_a): Likewise. - * cp-tree.h: Declare it. - (DECL_NO_LINKAGE_CHECKED): No longer needed. - (struct lang_decl_base): Remove no_linkage_checked bitfield. - - * decl2.c (finish_static_data_member_decl): Don't set TREE_USED. - - * decl2.c (mark_used): It's ok to synthesize for default args now. - -2009-08-10 Jason Merrill <jason@redhat.com> - - Implement DR 757: It's OK for a decl to use a type without linkage - so long as the decl is defined in the current translation unit. - * decl2.c (no_linkage_decls): New vector. - (mark_used): Add decls that use types with no linkage. - (cp_write_global_declarations): Check that they are defined. - (decl_defined_p, no_linkage_error): New fns. - * cp-tree.h (DECL_NO_LINKAGE_CHECKED): New macro. - (struct lang_decl_base): Add flag. - * decl.c (grokfndecl): Don't check type linkage. - (grokvardecl): If the type has no linkage, just make sure - DECL_LANG_SPECIFIC is set. - * pt.c (check_instantiated_arg): Don't check type linkage. - * name-lookup.c (is_local_extern): New fn. - * name-lookup.h: Declare it. - -2009-08-05 Jason Merrill <jason@redhat.com> - - PR c++/40948 - * init.c (build_vec_init): Evaluate the initializer before - starting the initialization try block. - -2009-08-05 Manuel López-Ibáñez <manu@gcc.gnu.org> - - PR c++/36069 - * typeck.c (convert_for_assignment): Do not warn for any boolean - variant. Use explicit location. - -2009-08-04 Dodji Seketeli <dodji@redhat.com> - - PR c++/39987 - * pt.c (tsubst_default_argument): Let access checks of the - default argument happen in the context of the current function. - -2009-08-04 Manuel López-Ibáñez <manu@gcc.gnu.org> - - PR c++/16696 - * call.c (build_new_op): Only try prefix operator if -fpermissive, - otherwise just error. - -2009-08-04 Dodji Seketeli <dodji@redhat.com> - - PR debug/39706 - * error.c (lang_decl_name): Print qualified names for decls - in namespace scope. - -2009-08-03 Jason Merrill <jason@redhat.com> - Jakub Jelinek <jakub@redhat.com> - - PR c++/40948 - * init.c (build_vec_init): Look through a TARGET_EXPR around a - CONSTRUCTOR. - -2009-07-31 Jason Merrill <jason@redhat.com> - Douglas Gregor <doug.gregor@gmail.com> - - Remove implicit binding of lvalues to rvalue references (N2831) - * call.c (convert_class_to_reference): Binding an lvalue to an - rvalue reference is bad. If the user-defined conversion is bad, - set bad_p before merging conversions. - (maybe_handle_ref_bind): Don't push down bad_p. - (reference_binding): Binding an lvalue to an rvalue reference is bad. - (convert_like_real): Give a helpful error about binding lvalue - to rvalue reference. - (reference_related_p): No longer static. - * typeck.c (build_typed_address): New. - (build_static_cast_1): Add static_cast from lvalue to &&. - * cp-tree.h: Adjust. - -2009-07-31 Jason Merrill <jason@redhat.com> - - * call.c (reference_binding): Rename lvalue_p to is_lvalue. - Do direct binding of "rvalues" in memory to rvalue references. - * tree.c (lvalue_p_1): Can't be both non-addressable lvalue and - "rvalue" in memory. - * typeck.c (build_static_cast_1): Do direct binding of memory - "rvalues" to rvalue references. - * cvt.c (cp_fold_convert): New. - * cp-tree.h: Declare it. - -2009-07-31 Jason Merrill <jason@redhat.com> - - * typeck.c (build_address): Do fold away ADDR_EXPR of INDIRECT_REF. - * tree.c (rvalue): Use cp_build_qualified_type, not TYPE_MAIN_VARIANT. - -2009-07-29 Jason Merrill <jason@redhat.com> - - 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. - -2009-07-29 Richard Guenther <rguenther@suse.de> - - PR c++/40834 - * cp-gimplify.c (cp_genericize_r): Properly walk the BIND_EXPR - vars. - -2009-07-26 Simon Martin <simartin@users.sourceforge.net> - - PR c++/40749 - * decl.c (grokdeclarator): Do not set TREE_NO_WARNING for functions - with a qualified return type. - -2009-07-24 Jason Merrill <jason@redhat.com> - - Core issue 901 - * call.c (build_op_delete_call): If this is for a new-expression - and the op delete is deleted, do nothing. - - Core issue 702 - * call.c (compare_ics): Give list-initialization of std::init_list - priority over conversion to scalar, too. - -2009-07-22 Jason Merrill <jason@redhat.com> - - * mangle.c (mangle_type_string_for_rtti): Rename to be clearer. - (needs_fake_anon): New. - (write_name): Check it. - (write_nested_name): Add a fake anonymous namespace scope if true. - * name-lookup.c (get_anonymous_namespace_name): No longer static. - * rtti.c, cp-tree.h: Adjust. - -2009-07-22 Richard Guenther <rguenther@suse.de> - - PR c++/40799 - * cp-gimplify.c (cp_gimplify_expr): Move handling of using - related exprs to ... - (cp_genericize_r): ... genericization stage. - (cp_genericize): Adjust. - -2009-07-21 Jason Merrill <jason@redhat.com> - - Core issue 934 - * call.c (reference_binding): Implement binding to { }. - (initialize_reference): Binding temporary to non-const && is fine. - * decl.c (grok_reference_init): Remove error for CONSTRUCTOR. - - * decl.c (reshape_init_r): { T } is not an aggregate initializer - for class T. - -2009-07-17 Richard Guenther <rguenther@suse.de> - - PR c/40401 - * decl.c (finish_function): Do not emit unused result warnings - from here. - * cp-objcp-common.h (LANG_HOOKS_POST_GIMPLIFY_PASS): Use - c_warn_unused_result_pass. - * semantics.c (expand_or_defer_fn): Adjust assertion about IL status. - * optimize.c (clone_body): Clone in GENERIC. - (maybe_clone_body): Do not clear DECL_SAVED_TREE. - * decl2.c (cp_write_global_declarations): Fix body test. - Do not call cgraph_optimize. - * Make-lang.in (optimize.o): Add tree-iterator.h dependency. - * method.c (use_thunk): Register thunk with - cgraph_finalize_function. - * error.c (function_category): Guard access of DECL_LANG_SPECIFIC. - -2009-07-17 Richard Guenther <rguenther@suse.de> - - * init.c (build_vec_delete_1): Do not set DECL_REGISTER on the - temporary pointer. - -2009-07-17 Aldy Hernandez <aldyh@redhat.com> - Manuel López-Ibáñez <manu@gcc.gnu.org> - - PR 40435 - * typeck.c, init.c, class.c, method.c, rtti.c, except.c, error.c, - tree.c, cp-gimplify.c, cxx-pretty-print.c, pt.c, semantics.c, - call.c, cvt.c, mangle.c: Add location argument to - fold_{unary,binary,ternary}, fold_build[123], build_call_expr, - build_size_arg, build_fold_addr_expr, build_call_array, - non_lvalue, size_diffop, fold_build1_initializer, - fold_build2_initializer, fold_build3_initializer, - fold_build_call_array, fold_build_call_array_initializer, - fold_single_bit_test, omit_one_operand, omit_two_operands, - invert_truthvalue, fold_truth_not_expr, build_fold_indirect_ref, - fold_indirect_ref, combine_comparisons, fold_builtin_*, - fold_call_expr, build_range_check, maybe_fold_offset_to_address, - round_up, round_down. - -2009-07-16 Jason Merrill <jason@redhat.com> - - PR libstdc++/37907 - Split POD into "standard-layout" and "trivial" as per N2230, - Support std::is_standard_layout and std::is_trivial traits. - * cp-tree.h (enum cp_trait_kind): Add CPTK_IS_STD_LAYOUT, - CPTK_IS_TRIVIAL. - (struct lang_type_class): Add non_std_layout. - (CLASSTYPE_NON_STD_LAYOUT): New. - * class.c (check_bases): Set it. - (check_field_decls): Likewise. - (check_bases_and_members): Likewise. - * parser.c (cp_parser_primary_expression): Handle RID_IS_STD_LAYOUT, - RID_IS_TRIVIAL. - (cp_parser_trait_expr): Likewise. - * semantics.c (trait_expr_value): Handle CPTK_IS_STD_LAYOUT, - CPTK_IS_TRIVIAL. - (finish_trait_expr): Likewise. - * tree.c (scalarish_type_p, trivial_type_p, std_layout_type_p): New. - (pod_type_p): Use them. - (type_has_nontrivial_copy_init, type_has_nontrivial_default_init): New. - - Adjust bits of the language that no longer refer to POD types. - * call.c (convert_arg_to_ellipsis): Use type_has_nontrivial_copy_init - and TYPE_HAS_NONTRIVIAL_DESTRUCTOR rather than pod_type_p. - (build_x_va_arg): Likewise. - (call_builtin_trap): Remove. - * decl.c (declare_local_label): Use type_has_nontrivial_default_init - and TYPE_HAS_NONTRIVIAL_DESTRUCTOR rather than pod_type_p. - (cp_finish_decl): Likewise. - (check_previous_goto_1, check_goto): Adjust error. - * typeck.c (build_class_member_access_expr): Check - CLASSTYPE_NON_STD_LAYOUT rather than CLASSTYPE_NON_POD_P. - -2009-07-14 Taras Glek <tglek@mozilla.com> - Rafael Espindola <espindola@google.com> - - * Make-lang.in: Added CP_PLUGIN_HEADERS and - c.install-target to export cp-tree.h cxx-pretty-print.h - name-lookup.h headers for plugins. - -2009-07-14 Jason Merrill <jason@redhat.com> - - PR c++/37276 - * decl.c (decls_match): A non-extern-C declaration doesn't match - a builtin extern-C declaration. - - PR c++/40746 - * name-lookup.c (qualified_lookup_using_namespace): Don't stop - looking in used namespaces just because we found something on - another branch. - - PR c++/40740 - * semantics.c (perform_koenig_lookup): Handle empty template args. - - * call.c (build_over_call): Use can_trust_pointer_alignment. - -2009-07-14 Dodji Seketeli <dodji@redhat.com> - - PR debug/40705 - PR c++/403057 - * decl2.c (grokfield): Don't call set_underlying_type on typedef - decls that are type names. - -2009-07-13 Andrew Pinski <andrew_pinski@playstation.sony.com> - - PR C++/22154 - * parser.c (cp_parser_elaborated_type_specifier): Accept typename in - front of qualified names. - -2009-07-12 Jason Merrill <jason@redhat.com> - - PR c++/36628 - * tree.c (rvalue): Use lvalue_or_rvalue_with_address_p. - - PR c++/37206 - * cp-tree.h (enum cp_lvalue_kind_flags): Add clk_rvalueref. - * tree.c (lvalue_p_1): Return it. Remove - treat_class_rvalues_as_lvalues parm. - (real_lvalue_p): Disallow pseudo-lvalues here. - (lvalue_or_rvalue_with_address_p): New fn. - * call.c (initialize_reference): Use it instead of real_lvalue_p. - - PR c++/40689 - * init.c (build_new_1): Handle initializer list as array initializer. - (build_vec_init): Likewise. - * typeck.c (cp_build_modify_expr): Likewise. - * typeck2.c (process_init_constructor_array): Error rather than abort - if too many initializers. - -2009-07-10 Jakub Jelinek <jakub@redhat.com> - - PR c++/40502 - * error.c (cp_print_error_function): Check for NULL block. - -2008-07-09 Simon Martin <simartin@users.sourceforge.net> - Jason Merrill <jason@redhat.com> - - * pt.c (perform_typedefs_access_check, get_types_needing_access_check, - append_type_to_template_for_access_check_1): Use CLASS_TYPE_P. - -2009-07-09 Dodji Seketeli <dodji@redhat.com> - - PR c++/40684 - * pt.c (type_unification_real): Use tsubst_template_arg instead - of tsubst to substitute default template arguments. - -2009-07-08 Manuel López-Ibáñez <manu@gcc.gnu.org> - - PR c++/31246 - * init.c (build_new_1): Set TREE_NO_WARNING for compiler-generated - code. - * cp-gimplify.c (genericize_eh_spec_block): Likewise. - - -2009-07-07 Jason Merrill <jason@redhat.com> - - PR c++/35828 - * pt.c (tsubst_decl): Don't abort if we didn't change anything - in a TEMPLATE_DECL's args. - -2009-07-07 Manuel López-Ibáñez <manu@gcc.gnu.org> - - * semantics.c (finalize_nrv_r): Replace EXPR_LOCUS by - EXPR_LOCATION. - -2009-07-07 Jason Merrill <jason@redhat.com> - - PR c++/37816 - * decl.c (build_enumerator): Don't add enumerators for a - scoped enum to the enclosing class. - - PR c++/40639 - * decl.c (start_enum): Allow dependent underlying type. - - PR c++/40633 - * decl.c (finish_enum): Finish scope even in a template. - -2009-07-07 Manuel López-Ibáñez <manu@gcc.gnu.org> - - * init.c: Replace %J by an explicit location. Update all calls. - * decl.c: Likewise. - * typeck2.c: Likewise. - * pt.c: Likewise. - * name-lookup.c: Likewise. - -2009-07-06 Manuel López-Ibáñez <manu@gcc.gnu.org> - - * decl.c: Replace %H by an explicit location. Update all calls. - * except.c: Likewise. - * semantics.c: Likewise. - * parser.c: Likewise. - -2009-07-06 Simon Martin <simartin@users.sourceforge.net> - - PR c++/40557 - * pt.c (perform_typedefs_access_check, get_types_needing_access_check, - append_type_to_template_for_access_check_1): Use - RECORD_OR_UNION_CODE_P. - -2009-07-04 Jason Merrill <jason@redhat.com> - - * pt.c (retrieve_specialization): Don't get confused by a - using-declaration that brings in another instance of this template - from a base class. - - * ptree.c (cxx_print_type): Fix logic. - - * cp-tree.h (LANG_DECL_FN_CHECK): Fix non-checking version. - - PR c++/40619 - * cp-tree.h (struct lang_decl_parm): New. - (struct lang_decl): Add it. - (LANG_DECL_PARM_CHECK): New. - (DECL_PARM_INDEX): New. - * decl2.c (parm_index): Remove. - * lex.c (retrofit_lang_decl): Handle parms. - (cxx_dup_lang_specific_decl): Likewise. - * mangle.c (write_expression): Adjust. - * tree.c (cp_tree_equal): Adjust. - (decl_linkage): Only check DECL_COMDAT for functions and variables. - * parser.c (cp_parser_parameter_declaration_list): Set - DECL_PARM_INDEX. - * pt.c (iterative_hash_template_arg): Hash it. - -2009-07-03 Jason Merrill <jason@redhat.com> - - * cp-tree.h (struct lang_decl): Overhaul. - (struct lang_decl_flags): Remove. - (struct lang_decl_base): New. - (struct lang_decl_min): New. - (struct lang_decl_fn): New. - (struct lang_decl_ns): New. - (CAN_HAVE_FULL_LANG_DECL_P): Replace with LANG_DECL_HAS_MIN. - (LANG_DECL_MIN_CHECK): New. - (LANG_DECL_FN_CHECK): New. - (LANG_DECL_NS_CHECK): New. - (STRIP_TEMPLATE): New. - (NON_THUNK_FUNCTION_CHECK): Remove. - (DECL_DECLARES_FUNCTION_P): New. - (lots): Adjust. - * lex.c (retrofit_lang_decl, cxx_dup_lang_specific_decl): Adjust. - * decl.c (push_local_name, duplicate_decls): Adjust. - * decl2.c (start_objects): Don't set u2sel. - * semantics.c (finish_omp_threadprivate): Adjust. - * class.c (build_clone): Don't do much on TEMPLATE_DECLs. - (decl_cloned_function_p): Out-of-line implementation of macros. - (clone_function_decl, adjust_clone_args): Use DECL_CLONED_FUNCTION_P. - * mangle.c (write_unqualified_name): Don't check function flags - on non-functions. - * method.c (make_alias_for): Don't set DECL_CLONED_FUNCTION. - * pt.c (build_template_decl): Don't set function flags. - (check_default_tmpl_args): Check that it's a function. - (instantiate_template): Use DECL_ABSTRACT_ORIGIN to find the - cloned template. - - * pt.c (tsubst_decl) [FUNCTION_DECL]: Don't tsubst - DECL_CLONED_FUNCTION. - - * cp-tree.h (struct lang_type_class): Move sorted_fields here. - * class.c (finish_struct_1): Adjust. - * ptree.c (cxx_print_decl, cxx_print_type): Adjust. - * search.c (lookup_field_1): Adjust. - - * cp-tree.h (CLASSTYPE_INLINE_FRIENDS): Remove. - * decl.c (finish_method): Don't add to it. - * class.c (fixup_pending_inline): Remove. - (fixup_inline_methods): Remove. - (finish_struct_1): Don't call it. - - * error.c (dump_function_name): Handle null name. - -2009-07-02 Mark Mitchell <mark@codesourcery.com> - - * typeck.c (cp_build_binary_op): Move warnings about use of NULL - in arithmetic earlier and allow comparisions of NULL with - pointers-to-members. - -2009-07-02 Jason Merrill <jason@redhat.com> - - Use hash tables for template specialization lookup. - * pt.c (struct spec_entry): New type. - (decl_specializations, type_specializations): New hash tables. - (register_specialization, retrieve_specialization): Use them. - (reregister_specialization, lookup_template_class): Use them. - (eq_specializations, hash_tmpl_and_args, hash_specialization): New. - (iterative_hash_template_arg): New. - (init_template_processing): New - (process_partial_specialization): Don't look to see if we already - have this partial specialization. - (maybe_process_partial_specialization): Handle reassigning - full specializations when we get an explicit specialization - of the partial instantiation. - (tsubst_friend_function): Adjust specialization reassignment code. - (instantiate_template): Only do one lookup. - (instantiate_decl): Don't do any lookup. - * cp-tree.h: Declare init_template_processing. - * decl.c (duplicate_decls): Pass args to reregister_specialization. - -2009-07-01 Jason Merrill <jason@redhat.com> - - * cp-tree.h (DECL_CLASS_TEMPLATE_P): Use DECL_IMPLICIT_TYPEDEF_P. - - * pt.c (register_specialization): Use duplicate_decls to merge - the argument with a previous specialization. - (check_explicit_specialization): Call register_specialization to - merge the TEMPLATE_DECL with a previous version. - (determine_specialization): Return the args even if fn is a template. - -2009-07-01 Ian Lance Taylor <iant@google.com> - - * g++spec.c (lang_specific_driver): Bump num_args by 1. - -2009-06-30 Jason Merrill <jason@redhat.com> - - PR c++/40595 - * pt.c (tsubst_pack_expansion): Handle unexpanded packs in an - EXPR_PACK_EXPANSION. - -2009-06-29 Jason Merrill <jason@redhat.com> - - PR c++/40274 - * error.c (dump_template_parms): Pass all args to - count_non_default_template_args. - (count_non_default_template_args): Pull out the inner ones. - -2009-06-26 H.J. Lu <hongjiu.lu@intel.com> - - * decl.c (duplicate_decls): Re-indent. - -2009-06-25 Ian Lance Taylor <iant@google.com> - - * call.c (avoid_sign_compare_warnings): New static function. - (build_new_op): Call it. - * typeck.c (cp_build_binary_op): Don't call warn_sign_compare if - TREE_NO_WARNING is set on either operand. - -2009-06-25 Ian Lance Taylor <iant@google.com> - - * g++spec.c (SKIPOPT): define. - (lang_specific_driver): Handle -static-libstdc++. Only add - LIBSTDCXX_STATIC if we add LIBSTDCXX. - -2009-06-25 Ian Lance Taylor <iant@google.com> - - * cvt.c (convert_to_void): Only warn about COND_EXPR if neither - the second nor third operand has side effects. - -2009-06-25 Ian Lance Taylor <iant@google.com> - - * parser.c (cp_parser_binary_expression): Increment - c_inhibit_evaluation_warnings while parsing the right hand side of - "true || x" or "false && x". - * typeck.c (cp_build_binary_op): Only call warn_for_sign_compare - if c_inhibit_evaluation_warnings is zero. - -2009-06-24 Jason Merrill <jason@redhat.com> - - * error.c (dump_decl): Do say "typedef" for the injected class name. - - * pt.c (lookup_template_class): Use currently_open_class, - compare template args later. - - PR c++/40342 - * decl.c (decls_match): Check DECL_TI_TEMPLATE too. - * class.c (resolve_address_of_overloaded_function): Fix typo. - -2009-06-18 Aldy Hernandez <aldyh@redhat.com> - - * class.c (get_vtable_decl): Replace finish_decl with cp_finish_decl. - * decl.c (finish_decl): Remove. - (declare_global_var): Replace finish_decl with cp_finish_decl. - (start_method): Same. - * rtti.c (emit_tinfo_decl): Same. - * pt.c (tsubst_expr): Same. - (instantiate_decl): Same. - * decl2.c (grokbitfield): Same. - * name-lookup.c (pushdecl_top_level_1): Same. - * cp-tree.h: Remove finish_decl. - -2009-06-16 David Edelsohn <edelsohn@gnu.org> - - * g++-spec.c (LIBSTDCXX_STATIC): Default to NULL. - (lang_specific_driver): Always allocate extra argument. - Add LIBSTDCXX_STATIC to arglist if defined and linking - statically. - -2009-06-16 Ian Lance Taylor <iant@google.com> - - * Make-lang.in (cp/class.o): Depend upon gt-cp-class.h. - (cp/semantics.o): Depend upon gt-cp-semantics.h. - -2009-06-16 Ian Lance Taylor <iant@google.com> - - * parser.c (cp_unevaluated_operand): Define global variable. - (cp_parser_question_colon_clause): Increment - c_inhibit_evaluation_warnings when evaluating an expression which - will never be executed. - (cp_parser_decltype): Increment cp_unevaluated_operand and - c_inhibit_evaluation_warnings, not skip_evaluation. - (cp_parser_sizeof_operand): Likewise. - (cp_parser_enclosed_template_argument_list): Save - cp_unevaluated_operand and c_inhibit_evaluation_warnings, not - skip_evaluation. - * cp-tree.h (struct saved_scope): Remove skip_evaluation field. - Add unevaluated_operand and inhibit_evaluation_warnings fields. - (cp_unevaluated_operand): Declare. - * name-lookup.c (push_to_top_level): Save cp_unevaluated_operand - and c_inhibit_evaluation_warnings rather than skip_evaluation. - (pop_from_top_level): Restore cp_unevaluated_operand and - c_inhibit_evaluation_warnings rather than skip_evaluation. - * class.c (build_base_path): Check cp_unevaluated_operand rather - than skip_evaluation. - * typeck.c (build_class_member_access_expr): Likewise. - (cp_build_binary_op): Don't warn about bad shift counts if - c_inhibit_evaluation_warnings is non-zero. - * pt.c (coerce_template_parms): Save state of - cp_unevaluated_operand and c_inhibit_evaluation_warnings, not - skip_evaluation. - (tsubst_aggr_type): Likewise. - (tsubst_pack_expansion): Check cp_unevaluated_operand rather than - skip_evaluation. - (tsubst_copy): Likewise. - (tsubst): Set cp_unevaluated_operand and - c_inhibit_evaluation_warnings, not skip_evaluation. - (tsubst_copy_and_build): Likewise. - * call.c (convert_arg_to_ellipsis): Check cp_unevaluated_operand - rather than skip_evaluation. - * decl2.c (mark_used): Likewise. - * semantics.c (finish_non_static_data_member): Likewise. - * cvt.c (cp_convert_and_check): Check - c_inhibit_evaluation_warnings rather than skip_evaluation. - * mangle.c (write_type): Set cp_unevaluated_operand rather than - skip_evaluation. - -2009-06-15 Ian Lance Taylor <iant@google.com> - - * parser.c (cp_parser_direct_declarator): Add braces around - variables declared before label. - -2009-06-15 Rafael Avila de Espindola <espindola@google.com> - - * cp-objcp-common.h (LANG_HOOKS_COMDAT_GROUP): Remove. - * cp-tree.h (cxx_comdat_group): Change signature. - * decl.c (duplicate_decls): Use DECL_COMDAT_GROUP. - (cxx_comdat_group): Change signature. - * decl2.c (comdat_linkage, maybe_make_one_only): Update call to - make_decl_one_only. - (constrain_visibility, get_guard): Use DECL_COMDAT_GROUP. - * method.c (use_thunk): Update call to make_decl_one_only. - * optimize.c (maybe_clone_body): Use DECL_COMDAT_GROUP - -2009-06-12 Aldy Hernandez <aldyh@redhat.com> - - * typeck.c (cp_build_binary_op): Pass location to overflow_warning. - (build_modify_expr): New arg. - * semantics.c (finish_unary_op_expr): Pass location to - overflow_warning. - (handle_omp_for_class_iterator): Pass location to build_modify_expr. - * typeck.c (cxx_sizeof_or_alignof_type): Pass location to - c_sizeof_or_alignof_type. - (build_array_ref): New argument. - (build_compound_expr): Same. - (build_const_cast): Same. - (build_ptrmemfunc): Pass location to build_c_cast. - * init.c (avoid_placement_new_aliasing): Pass location to - build_stmt. - (build_vec_delete_1): Pass location to cp_build_modify_expr, - build_compound_expr. - * class.c (build_vtbl_ref_1): Pass location to build_array_ref. - * decl.c (poplevel): Pass location to c_build_bind_expr. - (finish_case_label): Pass location to build_case_label. - (finish_constructor_body): Same. - (finish_destructor_body): Pass location to build_stmt. - (cxx_maybe_build_cleanup): Same, but to build_compound_expr. - * call.c (build_new_op): Pass location to build_array_ref. - (build_x_va_arg): Pass location to build_va_arg. - * except.c (expand_end_catch_block): Pass location to - build_stmt. - * cp-tree.h (build_array_ref): New argument. - (build_compound_expr): Same. - (build_c_cast): Same. - * cp-gimplify.c (gimplify_if_stmt): Pass location on down. - (gimplify_switch_stmt): Same. - * typeck2.c (split_nonconstant_init_1): Same. - * pt.c (tsubst_copy): Same. - * semantics.c (add_decl_expr): Same. - (do_poplevel): Same. - (push_cleanup): Same. - (finish_goto_stmt): Same. - (finish_expr_stmt): Same. - (begin_if_stmt): Same. - (begin_while_stmt): Same. - (begin_do_stmt): Same. - (finish_return_stmt): Same. - (begin_for_stmt): Same. - (finish_break_stmt): Same. - (finish_continue_stmt): Same. - (begin_switch_stmt): Same. - (begin_try_block): Same. - (begin_handler): Same. - (finish_asm_stmt): Same. - (finish_label_stmt): Same. - (finish_stmt_expr_expr): Same. - (finalize_nrv_r): Same. - (finish_omp_atomic): Same. - * name-lookup.c (do_using_directive): Same. - * decl2.c (grok_array_decl): Same. - * parser.c (cp_parser_cast_expression): Same. - (cp_parser_selection_statement): Same. - (cp_parser_implicitly_scoped_statement): Same. - (cp_parser_objc_selector_expression): Same. - (cp_parser_objc_synchronized_statement): Same. - (cp_parser_objc_throw_statement): Same. - (cp_parser_omp_critical): Same. - (cp_parser_omp_master): Same. - * typeck.c (build_function_call): Add location argument. - * init.c: Add location argument to all build_decl calls. - * class.c: Same. - * method.c: Same. - * rtti.c: Same. - * tree.c: Same. - * pt.c: Same. - * semantics.c: Same. - * lex.c: Same. - * decl2.c: Same. - * cp-gimplify.c: Same. - * decl.c: Same. - (cp_make_fname_decl): Add location argument. Pass location ot - build_decl. - (finish_case_label): Same. - * cp-tree.h (finish_case_label): Add location argument. - * parser.c (cp_parser_label_for_labeled_statement): Pass location to - finish_case_label. - -2009-06-09 Jason Merrill <jason@redhat.com> - - PR c++/40381 - * decl2.c (mark_used): Return after complaining about deleted fn. - -2009-06-08 Jason Merrill <jason@redhat.com> - - * parser.c (cp_parser_type_id_1): 'auto' type is ok with a - late-specified return type. - -2009-06-08 Jakub Jelinek <jakub@redhat.com> - - PR c++/40373 - * call.c (check_dtor_name): Return false even if - get_type_value (name) is error_mark_node. - - PR c++/40370 - PR c++/40372 - * parser.c (cp_parser_direct_declarator): Don't set TREE_SIDE_EFFECTS - on error_mark_node. Check for VLAs outside of function context - before check whether to wrap bounds into a NOP_EXPR with - TREE_SIDE_EFFECTS. - -2009-06-08 Alexandre Oliva <aoliva@redhat.com> - - * repo.c (get_base_filename): Use aux_base_name rather than - alternate temporary file during second compare debug compilation. - (finish_repo): Skip during -fcompare-debug-second. - -2009-06-06 Ian Lance Taylor <iant@google.com> - - * parser.c (cp_parser_label_for_labeled_statement): Support - attribute on labels if immediately followed by semicolon. - * semantics.c (finish_label_stmt): Return new label. - * pt.c (tsubst_expr): Handle attributes for LABEL_EXPR. - -2009-06-03 Ian Lance Taylor <iant@google.com> - - * Make-lang.in (cc1plus-checksum.o): Depend upon $(CONFIG_H) and - $(SYSTEM_H). - -2009-06-02 Mark Mitchell <mark@codesourcery.com> - - * decl.c (maybe_deduce_size_from_array_init): Use relayout_decl. - -2009-06-02 Jason Merrill <jason@redhat.com> - - PR c++/40308 - PR c++/40311 - * typeck.c (cp_build_modify_expr): Always pass init-lists to the - conversion code. - * call.c (implicit_conversion): Allow init-list conversion to scalar - during direct-initialization, too. Mark the conversion bad if it - has too many levels of braces. - (convert_like_real): And give a helpful error. - - PR c++/40306 - PR c++/40307 - * decl.c (cp_finish_decl): Handle auto deduction from (). - * typeck.c (build_x_indirect_ref): Handle dereferencing an operand - with dependent type that is known to be a pointer. - -2009-06-02 Simon Martin <simartin@users.sourceforge.net> - - PR c++/38089 - * pt.c (register_specialization): Properly setup DECL_CONTEXT for - specializations in an invalid namespace. - -2009-06-01 Aldy Hernandez <aldyh@redhat.com> - - * error.c (print_instantiation_partial_context): Print column - numbers. - -2009-05-29 Ian Lance Taylor <iant@google.com> - - * error.c (cp_printer): Don't use va_arg with enum type. - -2009-05-28 Dodji Seketeli <dodji@redhat.com> - - PR c++/39754 - * cp-tree.h (canonical_type_variant): Remove this function declaration. - (strip_typedefs): New function declaration. - * tree.c (strip_typedefs): New function definition. - (canonical_type_variant): Remove function definition. - * cvt.c (convert_from_reference): No need to use - canonical_type_variant. - * typeck.c (cp_build_indirect_ref): Likewise. - * error.c (dump_template_bindings): Use strip_typedefs instead of - canonical_type_variant. - * pt.c (convert_template_argument, unify): Likewise. - * mangle.c (canonicalize_for_substitution): Don't use - canonical_type_variant. - -2009-05-27 Jason Merrill <jason@redhat.com> - - * call.c (implicit_conversion): Handle conversion from - initializer-list to scalar. - (convert_like_real): Likewise. Avoid crashing on list - initialization with bad conversions. - (can_convert): Use LOOKUP_EXPLICIT. - (can_convert_arg_bad): Add flags parm. - * cp-tree.h: Adjust. - * typeck.c (convert_for_assignment): Pass flags. - -2009-05-27 Ian Lance Taylor <iant@google.com> - - * Make-lang.in (g++$(exeext)): Change $(COMPILER) to $(LINKER). - (cc1plus-dummy$(exeext), cc1plus$(exeext)): Likewise. - -2009-05-26 Ian Lance Taylor <iant@google.com> - - * Make-lang.in (g++spec.o): Use $(COMPILER). - (g++$(exeext), cc1plus-dummy$(exeext)): Likewise. - (cc1plus$(exeext)): Likewise. - -2009-05-26 Dodji Seketeli <dodji@redhat.com> - - PR c++/40007 - * cp-tree.h (MEMBER_TYPES_NEEDING_ACCESS_CHECK): Remove this accessor. - (TI_TYPEDEFS_NEEDING_ACCESS_CHECKING): New accessor. - (get_types_needing_access_check): Declare new entry point. - * pt.c (append_type_to_template_for_access_check_1, - get_types_needing_access_check): New functions. - (perform_typedefs_access_check): Accept FUNCTION_DECLs and - RECORD_TYPEs rather than TEMPLATE_DECLs. Use the new - get_types_needing_access_check, no more - MEMBER_TYPES_NEEDING_ACCESS_CHECK. - (instantiate_class_template): Set input_location to the source - location of the most specialized template definition. - Perform access check using the RECORD_TYPE of the template, not its - associated most generic TEMPLATE_DECL. - (append_type_to_template_for_access_check): Augment function - comments. Use the new get_types_needing_access_check, not - MEMBER_TYPE_NEEDING_ACCESS_CHECK. Use the new - append_type_to_template_for_access_check_1 subroutine. - -2009-05-22 Jason Merrill <jason@redhat.com> - - PR c++/38064 - * typeck.c (cp_build_binary_op): Allow ENUMERAL_TYPE in - arithmetic comparisons. - (cp_common_type): Handle scoped enums. - - * call.c (promoted_arithmetic_type_p): Don't use INTEGRAL_TYPE_P. - (add_builtin_candidate, add_builtin_candidates): Likewise. - (convert_like_real): Likewise. - * class.c (check_bitfield_decl): Likewise. - * decl.c (check_static_variable_definition): Likewise. - (compute_array_index_type): Likewise. - * decl2.c (grokbitfield): Likewise. - * init.c (build_new_1): Likewise. - * pt.c (convert_nontype_argument): Likewise. - (current_instantiation): Likewise. - * tree.c (pod_type_p): Likewise. - * typeck.c (build_static_cast_1): Likewise. - (build_reinterpret_cast_1): Likewise. - -2009-05-22 Richard Guenther <rguenther@suse.de> - - PR middle-end/38964 - * init.c (avoid_placement_new_aliasing): Remove. - (build_new_1): Do not call it. - -2009-05-22 Mark Mitchell <mark@codesourcery.com> - - * decl2.c (decl_needed_p): Consider dllexport'd functions needed. - * semantics.c (expand_or_defer_fn): Similarly. - -2009-05-20 Ian Lance Taylor <iant@google.com> - - * parser.c (cp_parser_postfix_expression): Change args to a vec. - Release it when done. - (tree_vector): Define typedef. Define VEC functions. - (cp_parser_parenthesized_expression_list): Change return type to - vec. Change all callers. - (cp_parser_new_expression): Change placement and initializer to - vecs. Release them when done. - (cp_parser_new_placement): Change return type to vec. Change all - callers. - (cp_parser_new_initializer): Likewise. - * typeck.c (build_function_call_vec): Just call - cp_build_function_call_vec. - (cp_build_function_call): Just build a vec and call - cp_build_function_call_vec. - (cp_build_function_call_vec): New function based on old - cp_build_function_call. - (convert_arguments): Remove nargs and argarray parameters. Change - values to a vec. Change caller. - (build_x_compound_expr_from_vec): New function. - (cp_build_modify_expr): Build vec to pass to - build_special_member_call. - * call.c (struct z_candidate): Add first_arg field. Change args - field to vec. - (convert_class_to_reference): Handle first argument separately. - (add_candidate): Add first_arg parameter. Change args parameter - to vec. Change all callers. - (add_function_candidate, add_conv_candidate): Likewise. - (add_template_candidate_real, add_template_candidate): Likewise. - (add_template_conv_candidate): Likewise. - (build_user_type_conversion_1): Handle first argument separately. - (resolve_args): Change return type and parameter type to vecs. - Change all callers. - (perform_overload_resolution): Change args parameter to vec. - Change all callers. - (build_new_function_call, build_operator_new_call): Likewise. - (add_candidates): Likewise. - (build_op_call): New globally visible function, built from and - replacing static function build_object_call. - (build_new_op): Don't handle CALL_EXPR. Build vec, not tree_list, - of arguments. - (build_op_delete_call): Build vec to pass to - cp_build_function_call_vec. - (build_temp): Build vec to pass to build_special_member_call. - (convert_like_real): Likewise. - (perform_direct_initialization_if_possible): Likewise. - (build_over_call): Handle first_arg field. Use build_call_array - rather than build_call_list. - (build_special_member_call): Change args parameter to vec. Change - all callers. - (build_new_method_call): Likewise. - * init.c (expand_default_init): Change parms to vec. - (build_raw_new_expr): Change placement and init to vecs. Change - all callers. - (build_new_1, build_new): Likewise. - * class.c (resolve_address_of_overloaded_function): Build array to - pass to fn_type_unification. - * pt.c (tsubst_copy_and_build): For NEW_EXPR build vecs to pass to - build_new. For CALL_EXPR create a vec rather than a tree_list; - expand a pack if necessary. - (fn_type_unification): Change args parameter to const tree *. Add - nargs parameter. Change all callers. - (type_unification_real): Likewise. - (unify): Build array to pass to type_unification_real. - (get_bindings): Build array to pass to fn_type_unification. - (any_type_dependent_arguments_p): Change args parameter to a vec. - Change all callers. - (make_args_non_dependent): Renamed from build_non_dependent_args. - Change return type to void. Change parameter type to vec. Change - all callers. - (do_auto_deduction): Pass an array to type_unification_real. - * semantics.c (perform_koenig_lookup): Change args to vec. Change - all callers. - (finish_call_expr): Change args to vec. Change all callers. Call - build_op_call instead of passing CALL_EXPR to build_new_op. - (cxx_omp_create_clause_info): Allocate vec to pass to - build_special_member_call. - * decl2.c (build_offset_ref_call_from_tree): Change args parameter - to vec. Change all callers. - * name-lookup.c (lookup_function_nonclass): Likewise. - (struct arg_lookup): Change args to vec. - (arg_assoc_namespace): Handle args as a vec. - (arg_assoc_args_vec): New static function. - (lookup_arg_dependent): Change args parameter to vec. Change all - callers. - * method.c (do_build_assign_ref): Allocate vec to pass to - build_special_member_call. - * except.c (build_throw): Likewise. - * typeck2.c (build_functional_cast): Likewise. - * cvt.c (ocp_convert): Likewise. - * tree.c (build_min_non_dep_call_vec): Change last parameter to - vec. Change all callers. - * cp-tree.h: Update declarations. - * name-lookup.h: Update declarations. - -2009-05-20 Sandra Loosemore <sandra@codesourcery.com> - - * typeck.c (default_conversion): Check targetm.promoted_type. - * decl.c (grokdeclarator): Check targetm.invalid_return_type. - (grokparms): Check targetm.invalid_parameter_type. - * cvt.c (ocp_convert): Check targetm.convert_to_type. - (build_expr_type_conversion): Check targetm.promoted_type. - -2009-05-19 Andrew Pinski <andrew_pinski@playstation.sony.com> - - * typeck.c (build_binary_op): Allow % on integal vectors. - -2009-05-18 Jason Merrill <jason@redhat.com> - - Implement explicit conversions ops as specified in N2437. - * decl.c (grokdeclarator): Handle explicit conversion ops. - (check_initializer): Pass flags to store_init_value. - * decl2.c (maybe_emit_vtables): Likewise. - * init.c (expand_aggr_init_1): Likewise. - * call.c (convert_class_to_reference): Take flags parm, - check DECL_NONCONVERTING_P. - (build_user_type_conversion_1): Check DECL_NONCONVERTING_P. - (add_builtin_candidates): Simplify getting type of conversion. - (build_object_call): Likewise. Check DECL_NONCONVERTING_P. - (implicit_conversion): Pass through LOOKUP_ONLYCONVERTING. - (reference_binding): Take flags parm. Direct-initialize copy parm. - (add_function_candidate): Direct-initialize the copy parm. - (add_conv_candidate): Use LOOKUP_IMPLICIT, not LOOKUP_NORMAL. - (build_builtin_candidate): Add LOOKUP_ONLYCONVERTING. - (conditional_conversion): Likewise. - (convert_like_real): Only complain about DECL_NONCONVERTING_P - constructors. - (perform_implicit_conversion_flags): Add flags parm to - perform_implicit_conversion. Improve diagnostics. - * cp-tree.h (LOOKUP_IMPLICIT): New macro. - (LOOKUP_COPY_PARM): New bit macro. - * cvt.c (build_expr_type_conversion): Check DECL_NONCONVERTING_P. - * typeck.c (convert_for_assignment): Take flags parm, pass it to - perform_implicit_conversion_flags. - (cp_build_modify_expr): Pass flags to convert_for_assignment. - (convert_for_initialization): Likewise. - * typeck2.c (store_init_value): Take flags parm, pass to - digest_init_flags. - (digest_init_flags): Add flags parm to digest_init. - (digest_init_r): Take flags parm, pass to convert_for_initialization. - (process_init_constructor_array): Pass it. - (process_init_constructor_record): Likewise. - (process_init_constructor_union): Likewise. - -2009-05-16 Jason Merrill <jason@redhat.com> - - PR c++/40139 - * pt.c (tsubst_qualified_id): Retain the type if we aren't dealing - with a dependent type. Actually look up the destructor. - * semantics.c (finish_id_expression): Fix logic. - (finish_qualified_id_expr): Don't try to use 'this' if we aren't in - a function. - * typeck.c (build_x_unary_op): Diagnose taking the address of a - constructor or destructor. - * tree.c (get_first_fn): Handle OFFSET_REF. - -2009-05-17 Joseph Myers <joseph@codesourcery.com> - - * tree.c (cxx_printable_name_internal): Allow consecutive - translated and untranslated cached copies of the name of the - current function. - -2009-05-15 Ian Lance Taylor <iant@google.com> - - * cp-tree.h (enum cp_lvalue_kind_flags): Rename from - cp_lvalue_kind. Change all uses. - (enum base_access_flags): Rename from enum base_access. Change - all uses. - * parser.c (enum cp_parser_flags): Remove enum tag. - -2009-05-15 Manuel López-Ibáñez <manu@gcc.gnu.org> - - PR 16302 - * call.c (build_new_op): Update calls to warn_logical_operator. - -2009-05-14 Ian Lance Taylor <iant@google.com> - - * class.c (layout_class_type): Change itk to unsigned int. - * decl.c (finish_enum): Change itk to unsigned int. - * parser.c (cp_parser_check_decl_spec): Change ds to int. Remove - casts. - -2009-05-13 David Mandelin <dmandelin@mozilla.com>: - - * decl.c (duplicate_decls): Preserve parameter attributes. - -2009-05-10 Jan Hubicka <jh@suse.cz> - - * decl2.c (cxx_callgraph_analyze_expr): Use - cgraph_mark_address_taken. - -2009-05-10 Joseph Myers <joseph@codesourcery.com> - - * call.c (name_as_c_string): Call type_as_string_translate. - Translate identifiers to locale character set. - * cp-tree.h (lang_decl_name): Update prototype. - (type_as_string_translate, decl_as_string_translate, - cxx_printable_name_translate): Declare. - * cxx-pretty-print.c (M_): Define. - (pp_cxx_unqualified_id, pp_cxx_canonical_template_parameter): Mark - English fragments for conditional translation with M_. - * decl.c (grokdeclarator): Translate identifiers to locale - character set for diagnostics. - * error.c (M_): Define. - (dump_template_bindings, dump_type, dump_aggr_type, - dump_type_prefix, dump_global_iord, dump_simple_decl, dump_decl, - dump_function_decl, dump_template_parms, dump_expr, - dump_binary_op, op_to_string, assop_to_string): Mark English - fragments for conditional translation with M_. - (type_as_string): Disable translation of identifiers. - (type_as_string_translate): New. - (expr_as_string): Disable translation of identifiers. - (decl_as_string): Disable translation of identifiers. - (decl_as_string_translate): New. - (lang_decl_name): Add parameter translate. - (args_to_string): Call type_as_string_translate. - (cp_print_error_function): Call cxx_printable_name_translate. - (print_instantiation_full_context, - print_instantiation_partial_context): Call - decl_as_string_translate. - * parser.c (cp_lexer_get_preprocessor_token): Use %qE for - identifier in diagnostic. - * tree.c (cxx_printable_name): Change to - cxx_printable_name_internal. Add parameter translate. - (cxx_printable_name, cxx_printable_name_translate): New wrappers - round cxx_printable_name_internal. - -2009-05-08 H.J. Lu <hongjiu.lu@intel.com> - - PR c/36892 - * call.c (build_call_a): Updated warn_deprecated_use call. - (build_over_call): Likewise. - * decl.c (grokdeclarator): Likewise. - (grokparms): Likewise. - * semantics.c (finish_id_expression): Likewise. - * typeck.c (build_class_member_access_expr): Likewise. - (finish_class_member_access_expr): Likewise. - -2009-05-06 Dodji Seketeli <dodji@redhat.com> - - PR c++/17395 - * pt.c (tsubst_copy) <case PARM_DECL>: We don't want to tsubst the - whole list of PARM_DECLs, just the current one. - -2009-05-05 Shujing Zhao <pearly.zhao@oracle.com> - - * cp-tree.h: - (opname_tab, assignop_tab, update_member_visibility, yyerror, yyhook, - mangle_compound_literal): Remove unused declarations. - (build_vfield_ref, cxx_print_statistics, clone_function_decl, - adjust_clone_args, maybe_push_cleanup_level, pushtag, make_anon_name, - pushdecl_top_level_maybe_friend, pushdecl_top_level_and_finish, - check_for_out_of_scope_variable, print_other_binding_stack, - maybe_push_decl, cxx_mark_addressable, force_target_expr, - build_target_expr_with_type, finish_case_label, - cxx_maybe_build_cleanup, begin_eh_spec_block, finish_eh_spec_block, - check_template_keyword, cxx_omp_predetermined_sharing, - cxx_omp_clause_default_ctor, cxx_omp_clause_copy_ctor, - cxx_omp_clause_assign_op, cxx_omp_clause_dtor, cxx_omp_finish_clause, - cxx_omp_privatize_by_reference): Rearrange the declarations line to - match the comment that indicates the .c file which the functions are - defined. - (cxx_print_xnode, cxx_print_decl, cxx_print_type, - cxx_print_identifier, cxx_print_error_function, pushdecl): Add comment. - -2009-05-05 Nathan Sidwell <nathan@codesourcery.com> - - * typeck.c (cp_build_compound_expr): Require RHS to have a known - type. - * class.c (resolve_address_of_overloaded_function): Use - OVL_CURRENT for error message. - (instantiate_type): Forbid COMPOUND_EXPRs and remove code dealing - with them. Do not copy the node. - -2009-05-05 Jakub Jelinek <jakub@redhat.com> - - PR c++/40013 - * pt.c (tsubst): If magic NOP_EXPR with side-effects has no type, - set it from its operand's type after tsubst_expr. - -2009-05-04 Manuel Lopez-Ibanez <manu@gcc.gnu.org> - - PR c++/28152 - * parser.c (cp_lexer_get_preprocessor_token): Do not store the - canonical spelling for keywords. - (cp_parser_attribute_list): Use the canonical spelling for - keywords in attributes. - -2009-05-01 Joseph Myers <joseph@codesourcery.com> - - * cxx-pretty-print.c (is_destructor_name, pp_cxx_unqualified_id, - pp_cxx_template_keyword_if_needed, pp_cxx_postfix_expression, - pp_cxx_new_expression, pp_cxx_delete_expression, - pp_cxx_unary_expression, pp_cxx_assignment_operator, - pp_cxx_assignment_expression, pp_cxx_expression, - pp_cxx_function_specifier, pp_cxx_decl_specifier_seq, - pp_cxx_simple_type_specifier, pp_cxx_type_specifier_seq, - pp_cxx_exception_specification, pp_cxx_direct_declarator, - pp_cxx_ctor_initializer, pp_cxx_type_id, pp_cxx_statement, - pp_cxx_namespace_alias_definition, pp_cxx_template_parameter, - pp_cxx_canonical_template_parameter, pp_cxx_template_declaration, - pp_cxx_declaration, pp_cxx_typeid_expression, - pp_cxx_va_arg_expression, pp_cxx_offsetof_expression, - pp_cxx_trait_expression): Mostly use pp_string and - pp_cxx_ws_string in place of pp_identifier and pp_cxx_identifier - for non-identifiers. Mark English strings for translation. - * cxx-pretty-print.h (pp_cxx_ws_string): Define. - * error.c (dump_template_parameter, dump_template_bindings, - dump_type, dump_aggr_type, dump_type_prefix, dump_simple_decl, - dump_decl, dump_template_decl, dump_function_decl, - dump_parameters, dump_exception_spec, dump_template_parms, - dump_expr, dump_binary_op, dump_unary_op, op_to_string, - assop_to_string, args_to_string, cp_print_error_function, - print_instantiation_full_context, - print_instantiation_partial_context): Mostly use pp_string and - pp_cxx_ws_string in place of pp_identifier and pp_cxx_identifier - for non-identifiers. Mark English strings for translation. - (dump_global_iord): Mark strings for translation; use longer - strings instead of substituting single words. - (function_category): Return a format string marked for - translation, not a single word or phrase to substitute in a longer - phrase. - -2009-04-28 Ben Elliston <bje@au.ibm.com> - - PR c++/35652 - Revert: - - 2009-03-27 Manuel Lopez-Ibanez <manu@gcc.gnu.org> - - * typeck.c (cp_pointer_sum): Adjust call to pointer_int_sum. - -2009-04-27 Ian Lance Taylor <iant@google.com> - - * semantics.c (finish_omp_clauses): Change type of c_kind to enum - omp_clause_code. - -2009-04-27 Jakub Jelinek <jakub@redhat.com> - - PR c++/39875 - * cvt.c (convert_to_void) <case INDIRECT_REF>: Only warn about - -Wunused-value if implicit. - -2009-04-24 Ian Lance Taylor <iant@google.com> - - * call.c (build_temp): Change 0 to enum constant. - * cp-tree.h (cp_lvalue_kind): Typedef to int rather than enum - type. - * cp-gimplify.c (cp_gimplify_expr): Add cast to enum type. - * decl2.c (constrain_visibility): Likewise. - * parser.c (cp_lexer_get_preprocessor_token): Likewise. - (cp_parser_flags): Typedef to int rather than enum type. - (cp_parser_expression_stack_entry): Change prec field to enum - cp_parser_prec. - - * typeck.c (build_modify_expr): Add lhs_origtype parameter. - Change all callers. - -2009-04-22 Dodji Seketeli <dodji@redhat.com> - - PR c++/39639 - * parser.c (cp_parser_template_argument_list): Display an error - when an ellipsis is not preceded by a parameter pack. Also, warn - about variadic templates usage without -std=c++0x. - -2009-04-21 Taras Glek <tglek@mozilla.com> - - * cp-tree.h: Update GTY annotations to new syntax. - * decl.c: Likewise. - * mangle.c: Likewise. - * name-lookup.c: Likewise. - * name-lookup.h: Likewise. - * parser.c: Likewise. - * pt.c: Likewise. - * rtti.c: Likewise. - * semantics.c: Likewise. - * typeck2.c: Likewise. - -2009-04-22 Manuel Lopez-Ibanez <manu@gcc.gnu.org> - - PR c++/14875 - * parser.c (cp_parser_error): Pass token->flags to c_parse_error. - -2009-04-21 Manuel Lopez-Ibanez <manu@gcc.gnu.org> - - PR c++/35711 - * typeck.c (check_for_casting_away_constness): We diagnose casting - away any qualifiers not just constness. - (casts_away_constness): Mention that it handles more than just - constness. - -2009-04-21 Joseph Myers <joseph@codesourcery.com> - - * ChangeLog, ChangeLog-1993, ChangeLog-1994, ChangeLog-1995, - ChangeLog-1996, ChangeLog-1997, ChangeLog-1998, ChangeLog-1999, - ChangeLog-2000, ChangeLog-2001, ChangeLog-2002, ChangeLog-2003, - ChangeLog-2004, ChangeLog-2005, ChangeLog-2006, ChangeLog-2007, - ChangeLog-2008, ChangeLog.ptr, ChangeLog.tree-ssa, NEWS, - cfns.gperf: Add copyright and license notices. - * cfns.h: Regenerate. - * ChangeLog, ChangeLog-2004: Correct dates. - -2009-04-21 Manuel López-Ibáñez <manu@gcc.gnu.org> - - PR 16202 - * tree.c (lvalue_p_1): Use const_tree. - Use CONST_CAST_TREE to avoid warning. - (lvalue_p): Returns bool, receives const_tree. - -2009-04-21 Manuel Lopez-Ibanez <manu@gcc.gnu.org> - - PR c++/13358 - * parser.c (cp_parser_check_decl_spec): Drop redundant flags. - * error.c (pedwarn_cxx98): New. - * cp-tree.h (pedwarn_cxx98): Declare. - -2009-04-20 Le-Chun Wu <lcwu@google.com> - - PR c++/39803 - * init.c (build_vec_init): Set TREE_NO_WARNING on the - compiler-generated INDIRECT_REF expression. - -2009-04-20 Ian Lance Taylor <iant@google.com> - - * typeck.c (build_function_call_vec): New function. - (cp_build_function_call): Only pass first parameter to - objc_rewrite_function_call. - (build_modify_expr): Add rhs_origtype parameter. Change all - callers. - * decl.c (finish_decl): Add origtype parameter. Change all - callers. - * semantics.c (finish_call_expr): Pass VEC to - resolve_overloaded_builtin. - -2009-04-20 Ian Lance Taylor <iant@google.com> - - * cp-tree.h (base_access): Change typedef to int. - * parser.c (cp_parser_omp_flush): Change 0 to OMP_CLAUSE_ERROR. - (cp_parser_omp_threadprivate): Likewise. - * pt.c (unify_pack_expansion): Add casts to enum type. - -2009-04-19 Manuel López-Ibáñez <manu@gcc.gnu.org> - - PR c/32061 - PR c++/36954 - * call.c (build_new_op): Save the original codes of operands - before folding. - -2009-04-18 Kazu Hirata <kazu@codesourcery.com> - - * cp-tree.h: Remove the prototype for insert_block. - * decl.c (insert_block): Remove. - -2009-04-16 Ian Lance Taylor <iant@google.com> - - * cp-tree.h (enum tsubst_flags): Rename from enum tsubst_flags_t. - (tsubst_flags_t): Change typedef from enum type to int. - -2009-04-16 Paolo Bonzini <bonzini@gnu.org> - - * decl.c (check_initializer): Use TYPE_VECTOR_OPAQUE - instead of targetm.vector_opaque_p. - -2009-04-15 Le-Chun Wu <lcwu@google.com> - - PR c++/39551 - * call.c (build_over_call): Set TREE_NO_WARNING on the - compiler-generated INDIRECT_REF expression. - * cvt.c (convert_to_void): Emit warning when stripping off - INDIRECT_REF. - -2009-04-14 Diego Novillo <dnovillo@google.com> - - * parser.c (cp_parser_type_specifier_seq): Move call to - invoke_plugin_callbacks ... - (cp_parser_type_specifier_seq): ... here. - -2009-04-14 Le-Chun Wu <lcwu@google.com> - - * Make-lang.in: Modify dependencies of files including plugin.h. - * decl.c (finish_function): Call invoke_plugin_callbacks. - * parser.c (cp_parser_type_specifier): Call invoke_plugin_callbacks. - -2009-04-14 Jason Merrill <jason@redhat.com> - - PR c++/39763 - * name-lookup.c (pushdecl_maybe_friend): Avoid all warnings - about shadowing by tentative parms. - -2009-04-13 Jason Merrill <jason@redhat.com> - - PR c++/39480 - * call.c (build_over_call): Don't call memcpy if the target is - the same as the source. - -2009-04-13 Jason Merrill <jason@redhat.com> - - PR c++/39750 - * pt.c (uses_template_parms): Handle CONSTRUCTOR. - -2009-04-12 Jason Merrill <jason@redhat.com> - - PR c++/39742 - * call.c (joust): Don't crash on variadic fn. - -2009-04-10 Jason Merrill <jason@redhat.com> - - PR c++/28301 - * parser.c (cp_parser_skip_to_end_of_block_or_statement): Return - if we see a close brace without an open brace. - -2009-04-10 H.J. Lu <hongjiu.lu@intel.com> - - * parser.c (cp_parser_class_specifier): Remove the unused - has_trailing_semicolon. - -2009-04-10 Manuel López-Ibáñez <manu@gcc.gnu.org> - - PR c++/20118 - * parser.c (cp_parser_check_template_parameters): Take a - cp_declarator parameter. - (cp_parser_elaborated_type_specifier): Update to - cp_parser_check_template_parameters. - (cp_parser_class_head): Likewise. - (cp_parser_check_declarator_template_parameters): Likewise. - (cp_parser_check_template_parameters): Handle first the non-error - conditions. Give more accurate diagnostics if a declarator is - given. - -2009-04-08 Jason Merrill <jason@redhat.com> - - PR c++/25185 - * error.c (dump_aggr_type): Chase template typedefs if - -fno-pretty-templates. - -2009-04-08 Dodji Seketeli <dodji@redhat.com> - - PR c++/39637 - * parser.c (cp_parser_enumerator_definition): Make sure the - initializer of the enumerator doesn't contain any bare parameter pack. - -2009-04-07 Jason Merrill <jason@redhat.com> - - PR c++/34691 - * name-lookup.c (merge_functions): Keep multiple extern "C" functions. - * call.c (joust): Complain about mismatched default arguments - in extern "C" functions. - * class.c (resolve_address_of_overloaded_function): Handle multiple - extern "C" functions. - * pt.c (resolve_overloaded_unification): Likewise. - -2009-04-07 Jason Merrill <jason@redhat.com> - - PR c++/25185 - * error.c (dump_function_decl): Don't pretty-print templates - if -fno-pretty-templates. - (count_non_default_template_args): Print all args if - -fno-pretty-templates. - -2009-04-06 Jason Merrill <jason@redhat.com> - - PR c++/35146 - * pt.c (fn_type_unification): For DEDUCE_EXACT check that - the deduced template arguments give us the parameter types - we're looking for. - -2009-04-05 Giovanni Bajo <giovannibajo@libero.it> - Jason Merrill <jason@redhat.com> - - PR c++/14912 - * error.c (count_non_default_template_args): New fn. - (dump_template_parms): Call it. - (dump_template_argument_list): Call it. Add parms parm. - (dump_template_argument): Adjust call to dump_template_argument_list. - (dump_type, dump_decl): Likewise. - (dump_template_bindings): Refactor logic. - -2009-04-03 Jason Merrill <jason@redhat.com> - - PR c++/25185 - * error.c (dump_template_bindings): Look through typedefs in - typename results. - (dump_type) [TYPENAME_TYPE]: Print the typedef name if any. - (find_typenames_r): Also collect typedefs. - * pt.c (unify): Strip typedefs. - - PR c++/39608 - * semantics.c (finish_id_expression): Don't assume a dependent - member of the current instantiation isn't a valid integral - constant expression. Check dependent_scope_p. - * pt.c (dependent_scope_p): Check TYPE_P. - (tsubst_copy): If args is null, just return. - -2009-04-02 Jason Merrill <jason@redhat.com> - - PR c++/25185 - * error.c (find_typenames, find_typenames_r): New fns. - (dump_function_decl): Call find_typenames. - (dump_template_bindings): Print typenames as well. - * pt.c (tsubst): Non-static. - * cp-tree.h: Declare it. - -2009-04-02 Dodji Seketeli <dodji@redhat.com> - - PR c++/26693 - * decl2.c (grokfield): when a typedef appears in a - class, create the typedef variant type node for it. - (save_template_attributes): Creating typedef variant type node - here is now useless. - * decl.c (grokdeclarator): If the typedef'ed struct/class was - anonymous, set the proper type name to all its type variants. - (xref_basetypes) : Fixup the variant types after setting - TYPE_BINFO on REF. - * name-lookup.c (pushdecl_maybe_friend): Reuse the - set_underlying_type function to install typedef variant types. - * cp-tree.h (MEMBER_TYPES_NEEDING_ACCESS_CHECK): New template accessor - macro. - (append_type_to_template_for_access_check): New entry points. - * semantics.c (check_accessibility_of_qualified_id): - When a typedef that is a member of a class appears in a template, - add it to the template. It will be ... - * class.c (finish_struct_bits): Split type variant fixup into ... - (fixup_type_variants): A new entry point. - * pt.c (instantiate_class_template, instantiate_template ): ... access - checked at template instantiation time. - (resolve_type_name_type): The type name should be the name of the - main type variant. - (retrieve_specialization): Specializations of template typedefs aren't - to looked up in DECL_TEMPLATE_INSTANTIATIONS (tmpl). - (append_type_to_template_for_access_check): New entry point. - (tsubst_decl): For typedefs, build the variant type from the correct - original type. - (get_class_bindings): Fix function comment. - (perform_typedefs_access_check): New entry point. - -2009-03-31 Jason Merrill <jason@redhat.com> - - PR c++/34691 - * name-lookup.c (pushdecl_maybe_friend): Diagnose mismatched - extern "C" declarations. - - C++ DR 613 - * semantics.c (finish_non_static_data_member): Allow such references - without an associated object in sizeof/decltype/alignof. - - * ptree.c (cxx_print_decl): Pretty-print full name of - function/template. - (cxx_print_type): Pretty-print full name of class. - - * decl.c (grokdeclarator): Reject pointer to qualified function - type. - - PR c++/37806, core issue 547 - * typeck.c (cp_apply_type_quals_to_decl): Don't apply any quals - to a typedef. - * tree.c (cp_build_qualified_type_real): Don't apply restrict to a - function type. - * decl.h (enum decl_context): Add TEMPLATE_TYPE_ARG. - * decl.c (groktypename): Add is_template_arg parameter. - (grokdeclarator): Allow function cv-quals on a template type arg. - * parser.c (cp_parser_new_type_id, cp_parser_type_id): Add - is_template_arg argument in calls to groktypename. - * cp-tree.h: Adjust prototype. - * error.c (dump_type_prefix, dump_type_suffix): Fix plain - FUNCTION_TYPE printing. - - * mangle.c (write_expression): Mangle dependent name as - source-name. - - PR c++/38030, 38850, 39070 - * pt.c (type_dependent_expression_p_push): New fn. - (tsubst_copy_and_build) [CALL_EXPR]: Only do arg-dep lookup when the - substitution makes the call non-dependent. Preserve koenig_p. - * parser.c (cp_parser_postfix_expression): Only do arg-dep lookup - for non-dependent calls. - * semantics.c (finish_call_expr): Revert earlier changes. - * cp-tree.h: Revert change to finish_call_expr prototype. - -2009-03-29 Joseph Myers <joseph@codesourcery.com> - - PR preprocessor/34695 - * cp-tree.h (cp_cpp_error): Remove. - * error.c (cp_cpp_error): Remove. - * parser.c (cp_lexer_new_main): Set done_lexing instead of - client_diagnostic and error callback. - -2009-03-28 Paolo Bonzini <bonzini@gnu.org> - - * cp/cp-objcp-common.h (LANG_HOOKS_STATICP): Remove. - * cp/cp-objcp-common.c (cxx_staticp): Remove. - * cp/cp-tree.h (cxx_staticp): Remove. - -2009-03-28 Jakub Jelinek <jakub@redhat.com> - - PR c++/39554 - * parser.c (cp_parser_postfix_expression): Don't call - warning_if_disallowed_function_p. - -2009-03-27 Jan Hubicka <jh@suse.cz> - - * except.c (choose_personality_routine): Set terminate_node to abort - for java exceptions. - -2009-03-27 Dodji Seketeli <dodji@redhat.com> - Jakub Jelinek <jakub@redhat.com> - - PR debug/37959 - * cp-objcp-common.h (LANG_HOOKS_FUNCTION_DECL_EXPLICIT_P): Define. - (cp_function_decl_explicit_p): New prototype. - * cp-objcp-common.c (cp_function_decl_explicit_p): New function. - -2009-03-27 Andrew Pinski <andrew_pinski@playstation.sony.com> - - PR c++/38638 - * parser.c (cp_parser_elaborated_type_specifier): If we have a - typename tag and don't have either a TYPE_DECL or a - TEMPLATE_ID_EXPR, set the type to NULL. - -2009-03-27 Simon Martin <simartin@users.sourceforge.net> - - PR c++/37647 - * decl.c (grokdeclarator): Reject [con|de]stuctors in a non-class - scope. - -2009-03-27 Simon Martin <simartin@users.sourceforge.net> - - PR c++/29727 - * decl.c (check_array_designated_initializer): Handle error_mark_node. - -2009-03-27 Manuel Lopez-Ibanez <manu@gcc.gnu.org> - - PR c++/35652 - * typeck.c (cp_pointer_sum): Adjust call to pointer_int_sum. - -2009-03-26 Andrew Haley <aph@redhat.com> - - PR C++/39380 - * decl2.c (possibly_inlined_p): If java exceptions are in use - don't inline a decl unless it is explicitly marked inline. - * lex.c: (pragma_java_exceptions): New variable. - (handle_pragma_java_exceptions): Set pragma_java_exceptions. - * cp-tree.h (pragma_java_exceptions): Declare new variable. - -2009-03-24 Jason Merrill <jason@redhat.com> - - PR c++/28274 - * name-lookup.c (pushdecl_maybe_friend): Check default args later. - -2009-03-23 Jakub Jelinek <jakub@redhat.com> - - PR c/39495 - * semantics.c (handle_omp_for_class_iterator): Swap cond operands and - code if iter is the second operand. - * parser.c (cp_parser_binary_expression): Add no_toplevel_fold_p - argument. If it is set, don't build the toplevel expression with - build_x_binary_op, but build2. - (cp_parser_assignment_expression, cp_parser_omp_for_incr): Adjust - callers. - (cp_parser_omp_for_cond): Don't assume the first operand of the - comparison must be decl. - -2009-03-23 Jason Merrill <jason@redhat.com> - - PR c++/37729 - * pt.c (make_fnparm_pack): Split out from... - (instantiate_decl): ...here. - (tsubst_pack_expansion): Handle being called in a late-specified - return type. - - PR c++/39526 - * name-lookup.c (pushdecl_maybe_friend): Don't warn about shadowing - a parm with a parm. - -2009-03-20 Jason Merrill <jason@redhat.com> - - PR c++/28879 - * parser.c (cp_parser_direct_declarator): In a template, wrap - non-constant expression in NOP_EXPR with TREE_SIDE_EFFECTS set. - * pt.c (tsubst): Preserve it in a partial instantiation. - (dependent_type_p_r): Don't check value_dependent_expression_p. - * decl.c (compute_array_index_type): Don't check - value_dependent_expression_p if TREE_SIDE_EFFECTS. - - C++ core issue 703 - * typeck2.c (check_narrowing): Don't complain about loss of - precision when converting a floating-point constant. - -2009-03-19 Jakub Jelinek <jakub@redhat.com> - - PR c/39495 - * parser.c (cp_parser_omp_for_cond): Don't check lhs if decl is NULL. - (cp_parser_omp_for_loop): Always use cp_parser_omp_for_cond. - -2009-03-18 Jakub Jelinek <jakub@redhat.com> - - * parser.c (struct cp_token): Reorder fields for 64-bit hosts. - (eof_token): Adjust. - -2009-03-18 H.J. Lu <hongjiu.lu@intel.com> - - PR c++/39425 - * parser.c (cp_parser_explicit_specialization): Don't skip the - rest of the specialization when begin_specialization returns - false. - -2009-03-17 Jason Merrill <jason@redhat.com> - - * decl.c (grokfndecl): Set DECL_CONTEXT on parms. - (duplicate_decls): Adjust DECL_CONTEXT of newdecl's parms. - * pt.c (check_explicit_specialization): Likewise. - (tsubst_copy) [PARM_DECL]: Return a dummy parm if we don't have a - local specialization. - * tree.c (cp_tree_equal) [PARM_DECL]: Check type and index, not name. - * decl2.c (parm_index): New fn. - * semantics.c (finish_decltype_type): Don't use describable_type. - * mangle.c (write_expression): Likewise. Mangle ALIGNOF_EXPR. - Give a sorry for unsupported codes rather than crash. Mangle - conversions with other than 1 operand. New mangling for PARM_DECL. - * operators.def (ALIGNOF_EXPR): Mangle as "az". - -2009-03-17 Jing Yu <jingyu@google.com> - - PR middle-end/39378 - * method.c (use_thunk): Change is_thunk from crtl to cfun. - -2009-03-17 Paolo Carlini <paolo.carlini@oracle.com> - - PR c++/39475 - * semantics.c (check_trait_type): New. - (finish_trait_expr): Use it. - -2009-03-17 Jakub Jelinek <jakub@redhat.com> - - * name-lookup.c (cp_emit_debug_info_for_using): Emit USING_STMTs - instead of calling imported_module_or_decl debug hook if - building_stmt_tree (). - * cp-gimplify.c (cp_gimplify_expr): Don't assert the first operand - is a NAMESPACE_DECL. - - PR debug/37890 - * name-lookup.c (do_namespace_alias): Don't call global_decl debug - hook at function scope. - - PR debug/39471 - * cp-gimplify.c (cp_gimplify_expr): Don't set DECL_NAME - on IMPORTED_DECL. - -2009-03-09 Jakub Jelinek <jakub@redhat.com> - - PR c++/39371 - * semantics.c (finish_switch_cond): Don't call get_unwidened. - * decl.c (finish_case_label): Pass SWITCH_STMT_TYPE as 3rd argument - instead of TREE_TYPE (cond). - -2009-03-08 H.J. Lu <hongjiu.lu@intel.com> - - PR c++/39060 - * parser.c (cp_parser_late_parsing_default_args): Continue - the loop when cp_parser_assignment_expression returns - error_mark_node. - -2009-03-07 Jason Merrill <jason@redhat.com> - - PR c++/39367 - * init.c (build_new_1): Don't use a VLA type. - (build_vec_init): Handle getting a pointer for BASE. - -2009-03-06 H.J. Lu <hongjiu.lu@intel.com> - - PR c++/37520 - * cp-tree.h: Check NO_DOT_IN_LABEL before NO_DOLLAR_IN_LABEL - when mangling symbols. - -2009-03-06 Paolo Carlini <paolo.carlini@oracle.com> - - PR c++/33492 - * error.c (dump_expr): Don't try to print THROW_EXPRs in full. - -2009-03-06 Alexandre Oliva <aoliva@redhat.com> - - * decl.c (record_builtin_java_type): Use canonicalized integer - types. - -2009-03-04 Jason Merrill <jason@redhat.com> - - PR c++/38908 - * class.c (is_really_empty_class): New fn. - * cp-tree.h: Declare it. - * cp-objcp-common.c (cp_expr_size): Use it. - - PR c++/13549 - * semantics.c (perform_koenig_lookup): Handle TEMPLATE_ID_EXPR. - * parser.c (cp_parser_postfix_expression): Call it for - TEMPLATE_ID_EXPR. - * tree.c (is_overloaded_fn): Look through TEMPLATE_ID_EXPR. - (get_first_fn): Likewise. - - PR c++/9634 - PR c++/29469 - PR c++/29607 - Implement DR 224. - * decl.c (make_typename_type): Do look inside currently open classes. - * parser.c (cp_parser_lookup_name): Likewise. - (cp_parser_template_name): Likewise. - * pt.c (dependent_scope_p): New function. - * cp-tree.h: Declare it. - * class.c (currently_open_class): Return fast if T isn't a class. - -2009-02-26 H.J. Lu <hongjiu.lu@intel.com> - - PR c++/37789 - * parser.c (cp_parser_mem_initializer): Return error_mark_node - if cp_parser_mem_initializer_id returns error_mark_node. - -2009-02-24 Richard Guenther <rguenther@suse.de> - - PR c++/39242 - * pt.c (instantiate_decl): Do not instantiate extern, non-inline - declared functions. - -2009-02-23 H.J. Lu <hongjiu.lu@intel.com> - - PR c++/36411 - * pt.c (coerce_template_template_parms): Return 0 if parameter - is error_mark_node. - -2009-02-23 Jason Merrill <jason@redhat.com> - - * pt.c (unify): Call maybe_adjust_types_for_deduction when - deducing from an initializer list. - -2009-02-20 Jason Merrill <jason@redhat.com> - - PR c++/39225 - * decl.c (grokdeclarator): Handle ~identifier. - -2009-02-19 Jakub Jelinek <jakub@redhat.com> - - PR target/39175 - * decl2.c (determine_visibility): If visibility changed and - DECL_RTL has been already set, call make_decl_rtl to update symbol - flags. - -2009-02-19 H.J. Lu <hongjiu.lu@intel.com> - - PR c++/39188 - * cp-tree.h (maybe_commonize_var): New. - - * decl.c (maybe_commonize_var): Make it extern. - - * decl2.c (finish_anon_union): Call maybe_commonize_var. - -2009-02-18 H.J. Lu <hongjiu.lu@intel.com> - - PR c++/39219 - * parser.c (cp_parser_enum_specifier): Apply all attributes. - -2009-02-18 Jason Merrill <jason@redhat.com> - - * cfns.h: Tweak pathname for cfns.gperf. - -2009-02-13 Jason Merrill <jason@redhat.com> - - PR c++/39070 - * semantics.c (finish_call_expr): Change koenig_p parm to int. - If -1, don't set KOENIG_LOOKUP_P but do keep hidden candidates. - * cp-tree.h: Adjust prototype. - * pt.c (tsubst_copy_and_build) [CALL_EXPR]: Pass -1. - -2009-02-12 Jason Merrill <jason@redhat.com> - - PR c++/38950 - * pt.c (unify)[TEMPLATE_PARM_INDEX]: Convert to the tsubsted type. - -2009-02-11 Jason Merrill <jason@redhat.com> - - PR c++/39153 - * decl2.c (cp_write_global_declarations): - Check DECL_DEFAULTED_FN, not DECL_ARTIFICIAL. - - PR c++/30111 - * init.c (build_value_init_noctor): Split out from... - (build_value_init): ...here. - (expand_aggr_init_1): Handle value-initialization. - * cp-tree.h: Add declaration. - * class.c (type_has_user_provided_constructor): - Handle non-class arguments. - -2009-02-10 Jason Merrill <jason@redhat.com> - - PR c++/38649 - * class.c (defaultable_fn_p): Handle ... properly. - - PR c++/36744 - * tree.c (lvalue_p_1): Condition rvalue ref handling on - treat_class_rvalues_as_lvalues, too. - -2009-02-10 Paolo Carlini <paolo.carlini@oracle.com> - - PR c++/34397 - * typeck.c (build_x_array_ref): New. - * cp-tree.h: Declare it. - * pt.c (tsubst_copy_and_build): Use it for case ARRAY_REF. - -2009-02-09 Jason Merrill <jason@redhat.com> - - PR c++/39109 - * semantics.c (simplify_aggr_init_expr): Do zero-initialization here. - * init.c (build_value_init): Not here. Don't build a TARGET_EXPR. - * tree.c (get_target_expr): Handle AGGR_INIT_EXPR. - * cp-gimplify.c (cp_gimplify_init_expr): Remove special handling - for build_value_init TARGET_EXPR. - * cp-tree.h (AGGR_INIT_ZERO_FIRST): New macro. - -2009-02-06 Paolo Carlini <paolo.carlini@oracle.com> - - PR c++/35147 - PR c++/37737 - * cp-tree.h (TMPL_ARGS_HAVE_MULTIPLE_LEVELS): Check TREE_VEC_LENGTH. - -2009-02-04 Jakub Jelinek <jakub@redhat.com> - - PR c++/39095 - * operators.def: Use COMPONENT_REF code for ->/pt operator again, - remove ./dt operator. - * mangle.c (write_expression): Handle COMPONENT_REF after handling - ADDR_EXPR, for COMPONENT_REF without ARROW_EXPR inside of it - write_string ("dt") instead of using operators.def. - -2009-02-03 Jason Merrill <jason@redhat.com> - - * typeck.c (cp_build_unary_op): Only complain about taking address - of main if pedantic. - -2009-02-03 Jakub Jelinek <jakub@redhat.com> - - PR inline-asm/39059 - * parser.c (cp_parser_primary_expression): Reject FIXED_CSTs. - - PR c++/39056 - * typeck2.c (digest_init_r): Don't call process_init_constructor - for COMPLEX_TYPE. - -2009-02-03 Paolo Bonzini <bonzini@gnu.org> - - PR c++/36897 - * pt.c (convert_nontype_argument_function): Expect expr to be an - ADDR_EXPR. - - PR c++/37314 - * typeck.c (merge_types): Call resolve_typename_type if only - one type is a typename. - -2009-02-02 Jason Merrill <jason@redhat.com> - - PR c++/39054 - * parser.c (cp_parser_unqualified_id): Don't wrap error_mark_node - in BIT_NOT_EXPR. - -2009-02-01 Paolo Carlini <paolo.carlini@oracle.com> - - PR c++/39053 - * parser.c (cp_parser_pure_specifier): If there are no tokens left - do not call cp_lexer_consume_token. - -2009-01-30 Jakub Jelinek <jakub@redhat.com> - - PR c++/39028 - * parser.c (cp_parser_already_scoped_statement): Handle __label__ - declarations. - -2009-01-30 Paolo Carlini <paolo.carlini@oracle.com> - - PR c++/33465 - * error.c (dump_expr): Handle FIX_TRUNC_EXPR and FLOAT_EXPR. - -2009-01-30 Paolo Carlini <paolo.carlini@oracle.com> - - PR c++/38655 - * error.c (dump_type_prefix, dump_type_suffix): Handle FIXED_POINT_TYPE. - -2009-01-29 Paolo Carlini <paolo.carlini@oracle.com> - - * typeck.c (invalid_nonstatic_memfn_p): Use - DECL_NONSTATIC_MEMBER_FUNCTION_P. - -2009-01-27 Paolo Carlini <paolo.carlini@oracle.com> - - PR c++/37554 - * call.c (build_over_call): If convert_for_arg_passing returns - error_mark_node unconditionally return it. - -2009-01-22 Adam Nemet <anemet@caviumnetworks.com> - - * class.c (check_field_decls): Also inherit packed for bitfields - regardless of their type. - -2009-01-22 Dodji Seketeli <dodji@redhat.com> - - PR c++/38930 - * decl2.c (grokfield): Reverting changes of PR c++/26693 - (save_template_attributes): Likewise. - * decl.c (grokdeclarator): Likewise. - * name-lookup.c (pushdecl_maybe_friend): Likewise. - * cp-tree.h (MEMBER_TYPES_NEEDING_ACCESS_CHECK): Likewise. - (append_type_to_template_for_access_check): Likewise. - * semantics.c (check_accessibility_of_qualified_id): Likewise. - * pt.c (instantiate_class_template, instantiate_template ): Likewise. - (tsubst): Likewise. - (resolve_type_name_type): Likewise. - (append_type_to_template_for_access_check): Likewise. - -2009-01-21 Dodji Seketeli <dodji@redhat.com> - - PR c++/26693 - * decl2.c (grokfield): when a typedef appears in a - class, create the typedef variant type node for it. - (save_template_attributes): Creating typedef variant type node - here is now useless. - * decl.c (grokdeclarator): If the typedef'ed struct/class was - anonymous, set the proper type name to all its type variants. - * name-lookup.c (pushdecl_maybe_friend): Reuse the - set_underlying_type function to install typedef variant types. - * cp-tree.h (MEMBER_TYPES_NEEDING_ACCESS_CHECK): New template accessor - macro. - (append_type_to_template_for_access_check): New entry points. - * semantics.c (check_accessibility_of_qualified_id): - When a typedef that is a member of a class appears in a template, - add it to the template. It will be ... - * pt.c (instantiate_class_template, instantiate_template ): ... access - checked at template instantiation time. - (tsubst): Handle the case of being called with NULL args. - (resolve_type_name_type): The type name should be the name of the - main type variant. - (append_type_to_template_for_access_check): New entry point. - -2009-01-19 Jason Merrill <jason@redhat.com> - - PR c++/23287 - * parser.c (cp_parser_unqualified_id): In a template, - accept ~identifier. - * typeck.c (lookup_destructor): Handle IDENTIFIER_NODE. - -2009-01-16 Jason Merrill <jason@redhat.com> - - PR c++/38877 - * tree.c (lvalue_p_1): Allow non-fields in COMPONENT_REF. - * init.c (build_new): Don't call describable_type unless we - have an auto. - - PR c++/29470 - * pt.c (tsubst_decl) [USING_DECL]: Propagate access flags. - - PR c++/38579 - * search.c (protected_accessible_p): N doesn't vary. - -2009-01-15 Jason Merrill <jason@redhat.com> - - PR c++/38850 - * pt.c (tsubst_copy_and_build): Tell finish_call_expr to - accept hidden friends. - -2009-01-15 Andrew Pinski <andrew_pinski@playstation.sony.com> - - PR C++/29388 - * decl.c (grokdeclarator): Check for a non namespace/class context. - -2009-01-15 Jason Merrill <jason@redhat.com> - - PR c++/36334 - PR c++/37646 - * tree.c (lvalue_p_1): Handle BASELINK. A COMPONENT_REF to - a function isn't necessarily an lvalue. Take tree, not const_tree. - (lvalue_p, real_lvalue_p): Take tree, not const_tree. - * typeck.c (lvalue_or_else): Likewise. - * cp-tree.h: Adjust prototypes. - -2009-01-15 Steve Ellcey <sje@cup.hp.com> - - PR c++/38357 - * pt.c (tsubst): Check for NULL args. - -2009-01-15 Dodji Seketeli <dodji@redhat.com> - - PR c++/38636 - * name-lookup.c (pushtag): Don't create members to types that are not - being created. - -2009-01-14 Nick Clifton <nickc@redhat.com> - - PR c++/37862 - * parser.c: Pass cp_id_kind computed in - cp_parser_postfix_dot_deref_expression to - cp_parser_primary_expression. - -2009-01-13 Jakub Jelinek <jakub@redhat.com> - - PR c++/38795 - * tree.c (cp_walk_subtrees): Handle REINTERPRET_CAST_EXPR, - STATIC_CAST_EXPR, CONST_CAST_EXPR and DYNAMIC_CAST_EXPR the same - as CAST_EXPR. - -2009-01-12 Jason Merrill <jason@redhat.com> - Steve Ellcey <sje@cup.hp.com> - - PR c++/35109 - * name-lookup.c (lookup_name_real): Keep looking past a hidden - binding. - -2009-01-12 Dodji Seketeli <dodji@redhat.com> - - PR c++/36019 - * pt.c (parameter_of_template_p): New function. - * cp-tree.h: Declare it. - * name-lookup.c (binding_to_template_parms_of_scope_p): New - function. - (outer_binding): Take template parameters in account when looking for - a name binding. - -2009-01-12 Jason Merrill <jason@redhat.com> - - PR c++/31488 - * tree.c (pod_type_p): Return 1 for structs created by the back end. - -2009-01-12 Jakub Jelinek <jakub@redhat.com> - - PR c/32041 - * parser.c (cp_parser_builtin_offsetof): Allow `->' in - offsetof member-designator, handle it as `[0].'. - - PR c++/38794 - * decl.c (start_function): If grokdeclarator hasn't returned - FUNCTION_DECL nor error_mark_node, issue diagnostics. - -2009-01-11 Jakub Jelinek <jakub@redhat.com> - - PR c++/36254 - * cp-gimplify.c (genericize_if_stmt): Renamed from ... - (gimplify_if_stmt): ... this. - (cp_gimplify_expr): Don't handle IF_STMT here. - (cp_genericize_r): Call genericize_if_stmt for IF_STMT. - -2009-01-10 Andrew Pinski <pinskia@gmail.com> - - PR c++/38648 - * typeck.c (cp_build_modify_expr): Check for NULL current_function_decl. - - PR c++/36695 - * typeck2.c (build_functional_cast): Check for reference type and NULL - PARMS. - -2009-01-09 Steve Ellcey <sje@cup.hp.com> - - * typeck.c (cp_build_unary_op): Check for ERROR_MARK. - -2009-01-09 Jakub Jelinek <jakub@redhat.com> - - PR c++/35335 - * error.c (dump_expr): Handle EXPR_STMT like BIND_EXPR. - -2009-01-09 John F. Carr <jfc@mit.edu> - - PR c++/37877 - * parser.c (cp_parser_class_specifier): Clear - parser->in_unbraced_linkage_specification_p while parsing class - specifiers. - -2009-01-07 Jakub Jelinek <jakub@redhat.com> - - PR c++/38725 - * semantics.c (finish_goto_stmt): Convert destination to - void *. - -2009-01-06 Jason Merrill <jason@redhat.com> - - PR c++/35297 - PR c++/35477 - PR c++/35784 - PR c++/36846 - PR c++/38276 - * pt.c (check_default_tmpl_args): Don't complain about - out-of-order parameter packs in the enclosing class - or parameter packs after default args. - (coerce_template_parms): If we have more than one - parameter pack, don't flatten argument packs. - (template_args_equal): Handle argument packs. - (comp_template_args): Don't flatten argument packs. - (check_instantiated_arg): Split out from... - (check_instantiated_args): Here. Handle arg packs. - (convert_template_argument): Just check that nontype argument - packs have the right type. - -2009-01-05 Dodji Seketeli <dodji@redhat.com> - - PR c++/38472 - * typeck.c (type_after_usual_arithmetic_conversions): Fix a typo. - -2009-01-05 Jason Merrill <jason@redhat.com> - - PR c++/38698 - * typeck2.c (process_init_constructor_union): Handle union with - no fields. - - * mangle.c (write_expression): Remove mangling for zero-operand - casts. - - PR c++/38701 - * decl.c (cp_finish_decl): Clear DECL_INITIAL for invalid - defaulting. - - PR c++/38702 - * class.c (defaultable_fn_p): Only operator== can be a copy - assignment operator. - -2009-01-02 Jason Merrill <jason@redhat.com> - - PR c++/38698 - * typeck2.c (process_init_constructor_union): Handle excess - initializers. - (process_init_constructor_record): Likewise. - - PR c++/38684 - * typeck2.c (digest_init_r): Don't use process_init_constructor - for non-aggregate classes. -Copyright (C) 2009 Free Software Foundation, Inc. +Copyright (C) 2010 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright diff --git a/gcc/cp/ChangeLog-2009 b/gcc/cp/ChangeLog-2009 new file mode 100644 index 0000000..c39304c --- /dev/null +++ b/gcc/cp/ChangeLog-2009 @@ -0,0 +1,3746 @@ +2009-12-28 Jason Merrill <jason@redhat.com> + + PR c++/42447 + * pt.c (iterative_hash_template_arg): Don't rely on TYPE_CANONICAL + for ARRAY_TYPE. + +2009-12-24 Jason Merrill <jason@redhat.com> + + PR c++/41305, DR 384 + * name-lookup.c (arg_assoc_class): Split out arg_assoc_class_only + and arg_assoc_bases. + (friend_of_associated_class_p): Remove. + (arg_assoc_namespace): Don't call it. + (arg_assoc_template_arg): Use arg_assoc_class_only for member + template context. + (arg_assoc_type): Handle UNION_TYPE and ENUMERAL_TYPE properly. + + * name-lookup.c (arg_assoc): Handle TEMPLATE_ID_EXPR properly. + +2009-12-23 Dodji Seketeli <dodji@redhat.com> + + PR c++/42260 + * cp-tree.h (lookup_conversions): Add new bool parameter to + declaration. + * search.c (lookup_conversion): Use new bool parameter in + definition. + * call.c (add_builtin_candidates): Don't lookup template conversion + (convert_class_to_reference, build_user_type_conversion_1, + build_op_call): Adjust. + * cvt.c (build_expr_type_conversion): Likewise + +2009-12-22 Jason Merrill <jason@redhat.com> + + PR c++/42466 + * pt.c (reduce_template_parm_level): Check the type before + returning cached TEMPLATE_PARM_INDEX. + + PR c++/42331 + * typeck.c (cp_build_modify_expr): Fix thinko. + +2009-12-21 Jason Merrill <jason@redhat.com> + + * mangle.c (write_member_name): Move abi-version=1 code back to... + (write_expression): ...here. + +2009-12-21 Brian Hackett <bhackett1024@gmail.com> + + * decl.c (finish_function): Rename pre-genericize event. + +2009-12-19 Dodji Seketeli <dodji@redhat.com> + + PR c++/42225 + * pt.c (push_template_decl_real): Set DECL_CONTEXT of template type parms + to their containing template decl. + * typeck.c (comp_template_parms_position): Split this from + structural_comptypes. + (incompatible_template_type_parms_p): Renamed + incompatible_dependent_typedefs_p into this. Change the function to + handle comparison between TEMPLATE_TYPE_PARMs only. + (structural_comptypes): Use comp_template_parms_position in + TEMPLATE_TEMPLATE_PARM and BOUND_TEMPLATE_TEMPLATE_PARM cases. + Use incompatible_template_type_parms_p in TEMPLATE_TYPE_PARM case. + * mangle.c (decl_mangling_context): Template type parms don't have + a mangling context. + * tree.c (cp_set_underlying_type): Set type structural equality + only for TEMPLATE_TYPE_PARMs. + +2009-12-18 Jason Merrill <jason@redhat.com> + + PR c++/28300 + PR c++/42062 + * pt.c (check_specialization_namespace): Complain about + specialization at non-namespace scope. + + PR c++/42415 + * call.c (build_new_method_call): Complain about calling the + constructor directly. + +2009-12-18 Shujing Zhao <pearly.zhao@oracle.com> + + PR c++/31665 + * decl.c (duplicate_decls, grokdeclarator): Put the diagnostics in + full sentences for easy translation and wrapped into G_(). + * typeck.c (build_x_unary_op): Likewise. + +2009-12-17 Shujing Zhao <pearly.zhao@oracle.com> + + * call.c (build_over_call, build_java_interface_fn_ref): Update + cp_build_indirect_ref calls. + * typeck2.c (build_m_component_ref): Likewise. + +2009-12-17 Shujing Zhao <pearly.zhao@oracle.com> + + * typeck.c (build_indirect_ref): Update the argument. + (build_x_indirect_ref): Likewise. + (cp_build_indirect_ref): Update the argument and emit the diagnostics + for easy translation. + (build_class_member_access_expr, build_array_ref, + get_member_function_from_ptrfunc): Update calls. + * cp-tree.h (build_x_indirect_ref, cp_build_indirect_ref): Update + prototypes. + * call.c (build_new_op, convert_like_real, build_x_va_arg, + build_over_call): Update calls. + * class.c (build_base_path, build_simple_base_path, build_vfn_ref): + Likewise. + * decl.c (start_preparsed_function): Likewise. + * except.c (expand_start_catch_block, build_throw): Likewise. + * init.c (emit_mem_initializers, expand_virtual_init, + expand_virtual_init, build_new_1, build_vec_init, build_delete, + build_vec_delete): Likewise. + * parser.c (cp_parser_unary_expression): Likewise. + * pt.c (tsubst_copy_and_build): Likewise. + * rtti.c (build_headof, get_tinfo_decl_dynamic, get_typeid): Likewise. + * semantics.c (finish_non_static_data_member, thisify_lambda_field): + Likewise. + * tree.c (build_dummy_object, stabilize_expr): Likewise. + * typeck2.c (build_x_arrow): Likewise. + +2009-12-16 Jason Merrill <jason@redhat.com> + + PR c++/42387 + * decl.c (compute_array_index_type): Mark a VLA as dependent. + +2009-12-15 Jason Merrill <jason@redhat.com> + + PR c++/42358 + * pt.c (iterative_hash_template_arg): Completely ignore + ARGUMENT_PACK_SELECT. + +2009-12-15 Jakub Jelinek <jakub@redhat.com> + + PR c++/41183 + * cp-tree.h (current_class_ptr): Give NULL even when cfun + has NULL cfun->language. + +2009-12-14 Jason Merrill <jason@redhat.com> + + PR c++/42364 + * pt.c (function_parameter_expanded_from_pack_p): Don't require + a pack to have a name. + (tsubst_decl): Do typedef magic after applying attributes. + +2009-12-15 Paolo Bonzini <bonzini@gnu.org> + Shujing Zhao <pearly.zhao@oracle.com> + + * Makefile.in (cp/pt.o): Depend on intl.h + * call.c (print_z_candidates): Make loop more compact, + choose head string depending on number of candidates, + extract creation of spaces string to intl.c. + * pt.c (print_overloaded_functions): Replace with... + (print_candidates_1): ... this rewrite. + (print_candidates): Rewrite to call print_candidates_1. + (most_specialized_class): Make loop more compact, + choose head string depending on number of candidates, + and size indents depending on translations. + +2009-12-11 Jason Merrill <jason@redhat.com> + + PR c++/42219 + * typeck.c (error_type_p): New. + (ptr_reasonably_similar): Use it. + * cp-tree.h: Declare it. + +2009-12-11 Dodji Seketeli <dodji@redhat.com> + + PR c++/42225 + * typeck.c (incompatible_dependent_typedefs_p): New function. + (structural_comptypes): Use it. + * cp-tree.h (cp_set_underlying_type): Declare ... + * tree.c (cp_set_underlying_type): ... new function. + * class.c (build_self_reference): Use cp_set_underlying_type + instead of set_underlying_type. + * decl2.c (grokfield): Likewise. + * name-lookup.c (pushdecl_maybe_friend): Likewise. + +2009-12-11 Dodji Seketeli <dodji@redhat.com> + + PR c++/42251 + * pt.c (convert_template_argument): Avoid missing folding of SCOPE_REFs. + +2009-12-10 Jakub Jelinek <jakub@redhat.com> + + PR c++/42317 + * decl2.c (cp_write_global_declarations): Clear DECL_EXTERNAL + also on all other functions in the same comdat group. + * optimize.c (maybe_clone_body): Also optimize virtual implicit + dtors. For virtual comdat dtors tell cgraph that base and deleting + dtor are in the same comdat group. + +2009-12-04 Jason Merrill <jason@redhat.com> + + PR c++/42010 + * cp-tree.h (DECL_DISCRIMINATOR_SET_P): New. + * mangle.c (discriminator_for_local_entity): Check it. + + PR c++/42277 + * semantics.c (finish_decltype_type): Defer handling of decltype + of a non-dependent COMPONENT_REF in a template. + +2009-12-04 Dodji Seketeli <dodji@redhat.com> + + PR c++/42218 + * cxx-pretty-print.c (pp_cxx_unqualified_id): Print only innermost + template arguments. + +2009-12-03 Jason Merrill <jason@redhat.com> + + PR c++/41611 + * decl2.c (get_guard): Don't use the same comdat group as the decl. + + PR c++/42266 + * cvt.c (convert_from_reference): Do nothing if TREE_TYPE is null. + +2009-12-03 Dodji Seketeli <dodji@redhat.com> + + PR c++/42217 + * class.c (remove_zero_width_bit_fields): The width of the bit field is + in DECL_SIZE, not in DECL_INITIAL. + +2009-12-03 Jakub Jelinek <jakub@redhat.com> + + PR c++/42256 + * optimize.c (maybe_clone_body): Call emit_associated_thunks + after expand_or_defer_fn_1. + +2009-12-02 Taras Glek <taras@mozilla.com> + + * parser.c (cp_parser_class_specifier): Back out my previous change. + * semantics.c (begin_class_definition): Back out my previous change. + +2009-12-02 Paolo Bonzini <bonzini@gnu.org> + Shujing Zhao <pearly.zhao@oracle.com> + + PR c++/29917 + * call.c (op_error): Accept a boolean to indicate no match/ambiguous + match, instead of a string. Callers adjusted. + + PR c++/34836 + * cp-tree.h (readonly_error_kind): New type. + (readonly_error): Adjust prototype with new argument. + * typeck2.c (readonly_error): Accept readonly_error_kind as argument + and add macro ERROR_FOR_ASSIGNMENT to emit diagnostics. + * semantics.c (finish_asm_stmt): Adjust readonly_error call. + * typeck.c (cp_build_unary_op, cp_build_modify_expr): Likewise. + + * decl.c (grokparms, grok_op_properties): Put the diagnostics in full + sentences for easy translation and wrap the diagnostics into G_() when + needed. + (create_array_type_for_decl): Likewise. + * pt.c (tsubst): Likewise. + * typeck2.c (cp_build_unary_op): Wrap diagnostic into _(). + * rtti.c (build_dynamic_cast_1): Likewise. + * Make-lang.in: Adjust. + +2009-12-02 Jakub Jelinek <jakub@redhat.com> + + * g++spec.c (lang_specific_driver): Remove unused saw_verbose_flag + variable. + * pt.c (tsubst_pack_expansion): Remove unused first_arg_pack variable. + * init.c (build_vec_init): Remove unused size variable. + * typeck2.c (check_narrowing): Remove unused was_decl variable. + * decl.c (poplevel): Remove unused tmp and real_functionbody + variables. + (decls_match): Remove unused tree_name variable. + (start_decl): Remove unused type variable. + * parser.c (cp_parser_type_parameter): Remove unused parameter_list + variable. + (cp_parser_template_id, cp_parser_explicit_instantiation, + cp_parser_declarator): Remove unused token variable. + (cp_parser_simple_type_specifier): Remove unused id variable. + (cp_parser_parameter_declaration): Remove unused + greater_than_is_operator_p variable. + (cp_parser_check_declarator_template_parameters): Remove unused + member variable. + (c_parse_file): Remove unused error_occurred variable. + * cp-gimplify.c (cp_gimplify_init_expr): Remove unused slot variable. + * typeck.c (cp_build_function_call_vec): Remove unused name variable. + * class.c (resolve_address_of_overloaded_function): Remove unused + is_reference variable. + (build_rtti_vtbl_entries): Remove unused basetype variable. + * mangle.c (write_template_param): Remove unused parm_level and + parm_type variables. + +2009-12-01 Taras Glek <taras@mozilla.com> + + * parser.c (cp_parser_class_specifier): Set class location to that + of IDENTIFIER_NODE instead of '{' when possible. + +2009-12-01 Taras Glek <taras@mozilla.com> + + * semantics.c (begin_class_definition): Do not overide locations with less precise ones. + +2009-12-01 Jason Merrill <jason@redhat.com> + + PR c++/41611 + * decl2.c (get_guard): Copy DECL_COMDAT. + (comdat_linkage): Set DECL_COMDAT unconditionally. + +2009-12-01 Jakub Jelinek <jakub@redhat.com> + + PR c++/3187 + * optimize.c (cdtor_comdat_group): New function. + (maybe_clone_body): Also optimize DECL_COMDAT base/complete cdtors + and in that case put also the deleting dtor in the same comdat group + as base and complete dtor if dtor is virtual. + +2009-11-30 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/40371 + * call.c (add_template_candidate_real): Early return NULL if + the arglist length is smaller than skip_without_in_chrg; tidy. + +2009-11-30 Dodji Seketeli <dodji@redhat.com> + + PR c++/42069 + * pt.c (convert_template_argument): Strip typedefs from SCOPE_REFs. + +2009-11-29 Dodji Seketeli <dodji@redhat.com> + + PR c++/36408 + * semantics.c (empty_expr_stmt_p): Handle void_zero_node and fix + bad indentation. + * pt.c (tsubst_copy_and_build): Fix typo. + +2009-11-29 Jan Hubicka <jh@suse.cz> + + * optimize.c (maybe_clone_body): Emit thunks associated to alias. + * Make-lang.in (method.o): Add dependency on gimple.h. + * method.c: Include gimple.h + (make_alias_for_thunk): Use same body alias instead of assemble_alias. + (use_thunk): Drop codegen; use cgraph_add_thunk; gimplify + generic thunks. + * semantics.c (expand_or_defer_fn): Emit associated thunks. + +2009-11-28 Dodji Seketeli <dodji@redhat.com> + + PR c++/36408 + * cp-tree.h (empty_expr_stmt_p): Declare ... + * semantics.c (empty_expr_stmt_p): ... this. + * pt.c (tsubst_copy_and_build) <STMT_EXPR>: Use it. + +2009-11-27 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/38656 + * cxx-pretty-print.c (pp_cxx_expression): Handle TEMPLATE_ID_EXPR. + +2009-11-27 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/35112 + * pt.c (print_overloaded_functions): New. + (print_candidates): Call the latter. + * parser.c (cp_parser_class_name): Do not duplicate the diagnostics + after the cp_parser_lookup_name call. + +2009-11-26 Jason Merrill <jason@redhat.com> + + PR c++/42026, DR 239 + * parser.c (cp_parser_postfix_expression): A local extern also + prevents arg-dependent lookup. + +2009-11-26 Gabriel Dos Reis <gdr@cs.tamu.edu> + + * decl.c (grokdeclarator): Remove period at end of diagnosic message. + +2009-11-25 Jason Merrill <jason@redhat.com> + + PR c++/10690 + * rtti.c (get_tinfo_decl_dynamic): Call resolve_nondeduced_context. + +2009-11-24 Jason Merrill <jason@redhat.com> + + PR c++/42137 + * parser.c (cp_parser_mem_initializer_id): Pass typename_type to + cp_parser_class_name. + (cp_parser_unqualified_id): Same, rather than class_type. + + PR c++/11764 + * parser.c (cp_parser_expression_statement): Give helpful error + for constructor name used as type. + + * pt.c (determine_specialization): Give helpful error about missing + "template<>". + +2009-11-23 Jakub Jelinek <jakub@redhat.com> + + PR middle-end/42095 + * tree.c: Include cgraph.h. + (cp_fix_function_decl_p): Don't return true for same_body aliases. + * Make-lang.in (cp/tree.o): Depend on $(CGRAPH_H). + +2009-11-23 Dodji Seketeli <dodji@redhat.com> + + PR c++/14777 + * cp-tree.def <TEMPLATE_INFO>: Declare new kind of tree + node. + * cp-tree.h (struct tree_template_info, + struct qualified_typedef_usage_s): New. + (cp_tree_node_structure_enum): add TS_CP_TEMPLATE_INFO. + (union lang_tree_node): Add template_info. + (TI_TEMPLATE, TI_ARGS, TI_TYPEDEFS_NEEDING_ACCESS_CHECKING): + Adjust. + (build_template_info): Declare. + (get_types_needing_access_check): Adjust return type. + (add_typedef_to_current_template_for_access_check): Declare. + * cp-objcp-common.c (cp_tree_size): Handle TEMPLATE_INFO. + * semantics.c (add_typedef_to_current_template_for_access_check): + Split from ... + (check_accessibility_of_qualified_id): ... here. + * decl.c (make_typename_type): Use it. + * pt.c (build_template_info): Define. + (check_explicit_specialization, find_parameter_packs_r, + push_template_decl_real, lookup_template_class, + for_each_template_parm_r, tsubst_decl, tsubst): Use + build_template_info. + (get_types_needing_access_check): Adjust return type. + (append_type_to_template_for_access_check_1): Record the + location of the usage point of the typedef. Adjust to TEMPLATE_INFO. + (append_type_to_template_for_access_check): Add new location + parameter. Pass it to append_type_to_template_for_access_check_1. + Adjust to TEMPLATE_INFO. + (perform_typedefs_access_check): Temporarily set input_location to + the usage point of the typedef we are checking access for. Adjust + to new TEMPLATE_INFO tree node. + * tree.c (bind_template_template_parm): Use build_template_info. + * call.c (add_template_candidate_real): Likewise. + * decl.c (grokfndecl): Likewise. + (cp_tree_node_structure): Handle TEMPLATE_INFO. + +2009-11-20 Jason Merrill <jason@redhat.com> + + PR c++/9050, DR 147, DR 318 + * parser.c (cp_parser_lookup_name): If the name matches the explicit + class scope, we're naming the constructor. + (cp_parser_constructor_declarator_p): Just use cp_parser_unqualified_id + if we have a nested-name-specifier. + (cp_parser_direct_declarator): Handle getting an overload set as a + constructor declarator. + (cp_parser_unqualified_id): Avoid looking up the constructor when + naming the destructor. + (cp_parser_diagnose_invalid_type_name): Give good + diagnostic for improper use of constructor as template. + * typeck.c (finish_class_member_access_expr): Give good diagnostic + about calling constructor. + + * error.c (dump_aggr_type): Don't print A::A for injected-class-name. + +2009-11-20 Simon Martin <simartin@users.sourceforge.net> + + PR c++/38646 + * pt.c (process_partial_specialization): Do not turn wrongly located + parameter pack arguments into error_mark_node. + Split too long lines into two. + +2009-11-20 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/42060 + * except.c (build_throw): Check the tree returned by + decay_conversion for error_mark_node. + +2009-11-20 Shujing Zhao <pearly.zhao@oracle.com> + + PR c++/29017 + * cp-tree.h (composite_pointer_operation): New type. + (composite_pointer_type): Adjust prototype with new argument. + * typeck.c (composite_pointer_type): Accept + composite_pointer_operation as argument and emit diagnostic to be + visible to gettext and checked at compile time. + (composite_pointer_type_r): Likewise. + (common_pointer_type): Update call to composite_pointer_type. + (cp_build_binary_op): Likewise. + * call.c (build_conditional_expr): Likewise. + +2009-11-19 Jason Merrill <jason@redhat.com> + + PR c++/42115 + * call.c (build_op_delete_call): Don't complain about using + op delete (void *, size_t) for placement delete if there's an + op delete (void *). + + DR 176 permissiveness + * class.c (build_self_reference): Call set_underlying_type. + * decl.c (check_elaborated_type_specifier): Don't complain about + injected-class-name. + (type_is_deprecated): Use TYPE_MAIN_VARIANT. + * pt.c (convert_template_argument): Handle injected-class-name used + as template template argument. + * typeck2.c (abstract_virtuals_error): Use TYPE_MAIN_VARIANT. + + PR c++/561 + * decl.c (static_fn_type): Split out... + (revert_static_member_fn): ...from here. + * cp-tree.h: Declare it. + * class.c (resolve_address_of_overloaded_function): Use it to compare + pointers to member functions. + * typeck.c (build_static_cast_1): Call instantiate_type. + +2009-11-18 Shujing Zhao <pearly.zhao@oracle.com> + + PR c++/40892 + * error.c (maybe_warn_cpp0x): Accept enum cpp0x_warn_str as argument. + (maybe_warn_variadic_templates): Update the maybe_warn_cpp0x calls to + match the new declaration. + * cp-tree.h (cpp0x_warn_str): New type. + (maybe_warn_cpp0x): Adjust prototype with new argument. + * call.c (reference_binding): Update the maybe_warn_cpp0x calls. + * decl.c (reshape_init_r, check_initializer, grokdeclarator): + Likewise. + * parser.c (cp_parser_primary_expression) + (cp_parser_parenthesized_expression_list, cp_parser_new_initializer) + (cp_parser_assignment_expression, cp_parser_condition) + (cp_parser_jump_statement, cp_parser_mem_initializer) + (cp_parser_simple_type_specifier, cp_parser_elaborated_type_specifier) + (cp_parser_enum_specifier, cp_parser_initializer) + (cp_parser_pure_specifier, cp_parser_functional_cast): Likewise. + +2009-11-18 Jakub Jelinek <jakub@redhat.com> + + PR c++/3187 + * cp-tree.h (expand_or_defer_fn_1): New prototype. + * decl2.c (cp_write_global_declarations): Mark as !DECL_EXTERNAL + also all same_body aliases. + * semantics.c (expand_or_defer_fn): Move most of the function + except registering with cgraph to ... + (expand_or_defer_fn_1): ... here. New function. + * optimize.c: Include cgraph.h. + (maybe_clone_body): If in charge parm is not used and both base + and complete clones are created and are not comdat, tell cgraph + they have the same body. + * Make-lang.in (cp/optimize.o): Depend on $(CGRAPH_H). + +2009-11-17 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/42058 + * typeck2.c (digest_init_r): Check init for error_operand_p. + * decl.c (reshape_init_class): Check return value of reshape_init_r + for error_mark_node. + +2009-11-17 Jakub Jelinek <jakub@redhat.com> + + PR c++/42061 + * call.c (reference_binding): Return NULL for initializer list with + error operand inside of it. + + PR c++/42059 + * typeck.c (cp_build_modify_expr): For initializer list call + check_array_initializer to make sure lhs isn't a VLA. + +2009-11-16 Jason Merrill <jason@redhat.com> + + PR c++/189, c++/9937, c++/13950, DR 176 + * search.c (lookup_field_r): Allow lookup to find the + injected-class-name from a template base. + (template_self_reference_p): Remove. + * decl.c (make_typename_type): Diagnose ambiguity. Use + maybe_get_template_decl_from_type_decl. + * parser.c (cp_parser_template_name): Pass true to is_template + rather than use maybe_get_template_decl_from_type_decl. + (cp_parser_lookup_name): Use maybe_get_template_decl_from_type_decl. + * pt.c (maybe_get_template_decl_from_type_decl): Handle ambiguity. + Use DECL_SELF_REFERENCE_P. + + * parser.c (cp_parser_parse_and_diagnose_invalid_type_name): + Avoid duplicate ambiguity error. + * error.c (dump_decl): Don't say "typedef" for injected-class-name. + * pt.c (convert_template_argument): Tweak logic. + +2009-11-16 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/42055 + * pt.c (determine_specialization): Assign to candidates the return + value of the chainon called before print_candidates. + +2009-11-16 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/32056 + * decl.h (enum decl_context): Add TPARM enumerator. + * decl.c (grokdeclarator): Per 14.1/2, error out if a storage class + is specified in a template parameter declaration. + * parser.c (cp_parser_template_parameter): Call grokdeclarator with + TPARM as third argument. + +2009-11-13 Jason Merrill <jason@redhat.com> + + PR c++/27425 + PR c++/34274 + * pt.c (expand_template_argument_pack): Handle null arg gracefully. + (convert_template_argument): Use %T for type. + + PR c++/29363 + * decl.c (create_implicit_typedef): Set TYPE_STUB_DECL here. + (cxx_init_decl_processing): Not here. + * name-lookup.c (pushtag): Or here. + * pt.c (lookup_template_class): Or here. + + PR c++/35075 + * pt.c (convert_nontype_argument): Give helpful error about + reference variable argument to reference template parameter. + + PR c++/21008, DR 515 + * semantics.c (finish_non_static_data_member): Don't check + derivation in a template. + + PR c++/11987 + * parser.c (cp_parser_direct_declarator): Give helpful error about + trying to define member of a dependent typedef. + * pt.c (resolve_typename_type): Don't resolve a typedef typename. + * tree.c (typedef_variant_p): New. + * cp-tree.h: Declare it. + +2009-11-12 Jason Merrill <jason@redhat.com> + + PR c++/27078 + * parser.c (cp_parser_primary_expression): Don't give a duplicate + ambiguity error. + + PR c++/39560 + * decl2.c (build_anon_union_vars): Set DECL_ARTIFICIAL. + + PR c++/37037 + * decl.c (grokdeclarator): Don't generate a void PARM_DECL. + + PR c++/42013 + * call.c (build_conditional_expr): Check specifically for folding + to CALL_EXPR rather than TREE_SIDE_EFFECTS. + + * typeck.c (cv_qualified_p): New fn. + (decay_conversion): Use it. + * cp-tree.h: Declare it. + * tree.c (rvalue): Use it and cv_unqualified. + * init.c (build_aggr_init): Likewise. + + PR c++/42013 + * call.c (build_conditional_expr): Don't fold a TREE_SIDE_EFFECTS + COND_EXPR in unevaluated context. + +2009-11-12 Jan Hubicka <jh@suse.cz> + + * decl2.c (constrain_visibility): Clear WEAK and COMMON flags. + +2009-11-11 Jason Merrill <jason@redhat.com> + + PR c++/39131 + * rtti.c (emit_support_tinfos): Add DFP types. + + * call.c (build_op_delete_call): Downgrade error about + placement/non-placement confusion to permerror. + +2009-11-10 Jason Merrill <jason@redhat.com> + + * call.c (build_op_delete_call): Tweak error. + + PR c++/34158 + PR c++/36406 + * call.c (non_placement_deallocation_fn_p): Split out... + (build_op_delete_call): ...from here. Use instantiate_type + for placement delete. Simplify logic. + * pt.c (primary_template_instantiation_p): Non-static. + * cp-tree.h: Declare it. + +2009-11-09 Jason Merrill <jason@redhat.com> + + PR c++/41972 + * parser.c (cp_parser_template_argument): Accept SCOPE_REF around + VAR_DECL. + + PR c++/41994 + * pt.c (tsubst_baselink): tsubst the name. + +2009-11-07 Jason Merrill <jason@redhat.com> + + PR c++/37920 + * pt.c (tsubst) [TYPEOF_TYPE]: Set cp_unevaluated_operand. + + PR c++/18451 + PR c++/40738 + * cp-tree.h (cp_decl_specifier_seq): Add any_type_specifiers_p. + * parser.c (cp_parser_single_declaration): Call + cp_parser_parse_and_diagnose_invalid_type_name here, too. + (cp_parser_parameter_declaration): And here. + (cp_parser_parse_and_diagnose_invalid_type_name): Be + less picky about declarator form. Don't skip to + the end of the block if we're in a declarator. + (cp_parser_decl_specifier_seq): Set any_type_specifiers_p. + (cp_parser_simple_declaration): Check it. + (cp_parser_member_declaration): Likewise. + (cp_parser_diagnose_invalid_type_name): Tweak error message. + (cp_parser_expression_statement): Likewise. + * decl2.c (grokfield): Mention decltype instead of typeof. + +2009-11-06 Jason Merrill <jason@redhat.com> + + PR c++/15946 + * parser.c (cp_parser_check_template_parameters): Don't talk about + specialization at function scope. + (cp_parser_diagnose_invalid_type_name): Handle dependent scope. + (cp_parser_parse_and_diagnose_invalid_type_name): Likewise. + (cp_parser_expression_statement): Suggest typename. + * error.c (dump_decl) [SCOPE_REF]: Print the type here. + (dump_expr) [SCOPE_REF]: Call it. + (dump_type) [UNBOUND_CLASS_TEMPLATE]: Check TFF_UNQUALIFIED_NAME. + * cxx-pretty-print.c (pp_cxx_unqualified_id): Print class template + args. + + PR c++/9381 + * decl2.c (build_memfn_type): Preserve attributes. + (cp_reconstruct_complex_type): Likewise. + (maybe_retrofit_in_chrg): Likewise. + * class.c (adjust_clone_args): Likewise. + * call.c (standard_conversion): Use build_memfn_type. + * pt.c (tsubst): Likewise. + * decl.c (build_ptrmem_type): Likewise + (check_function_type): Preserve attributes. + * tree.c (cp_build_type_attribute_variant): Propagate exception + specs on METHOD_TYPE, too. + (strip_typedefs): Preserve exception specs and attributes. + +2009-11-06 Andrew Pinski <andrew_pinski@playstation.sony.com> + + PR c++/41536 + * optimize.c (maybe_clone_body): Copy DECL_ATTRIBUTES and + DECL_DISREGARD_INLINE_LIMITS also. + +2009-11-06 Jakub Jelinek <jakub@redhat.com> + + PR c++/41967 + * parser.c (cp_parser_omp_for_loop): After diagnosing not perfectly + nested loop and parsing statements, don't cp_parser_require }, instead + exit the loop if next token is CPP_EOF. + +2009-11-05 Jason Merrill <jason@redhat.com> + + PR c++/34180 + * method.c (do_build_copy_constructor): Don't drop cv-quals from + the field type. + + PR c++/7046 + * class.c (finish_struct): Store maximum_field_alignment in + TYPE_PRECISION. + * pt.c (instantiate_class_template): Set maximum_field_alignment. + + PR c++/34870 + * name-lookup.c (arg_assoc_class): Call complete_type. + * pt.c (instantiate_class_template): Call uses_template_parms + instead of dependent_type_p. + + PR c++/41703 + * pt.c (check_undeduced_parms): New subroutine of... + (more_specialized_fn): ...here. Undeduced template parms can make + a template less specialized than another. + +2009-11-04 Jason Merrill <jason@redhat.com> + + PR c++/39413 + * search.c (lookup_base): Don't complete_type (base). + + PR c++/35067 + * method.c (use_thunk): Check DECL_WEAK as well as + DECL_ONE_ONLY. + + PR c++/17365, DR 218 + * name-lookup.c (add_function): Ignore non-functions. + +2009-11-03 Jason Merrill <jason@redhat.com> + + PR c++/36959 + * decl2.c (cxx_callgraph_analyze_expr): Don't reference a function + just because a static variable in it is needed unless -frepo. + + PR c++/41876 + * parser.c (cp_parser_type_specifier_seq): Rename is_condition to + is_declaration. + (cp_parser_exception_declaration): Pass true. + (cp_parser_omp_for_loop): Likewise. + + PR c++/41927 + * typeck.c (build_x_binary_op): Don't do warn_parentheses + if we're in a SFINAE context. + + PR c++/41815 + * call.c (build_call_a): Strip cv-quals from rvalue result. + + PR c++/40944 + * call.c (initialize_reference): Add complain parm. + * typeck.c (convert_for_initialization): Pass it. + * decl.c (grok_reference_init): Likewise. + * cp-tree.h: Declare it. + + PR c++/40687 + * pt.c (do_auto_deduction): Diagnose inconsistent deduction. + +2009-11-02 Dodji Seketeli <dodji@redhat.com> + + PR c++/37093 + * pt.c (check_valid_ptrmem_cst_expr): New function. + (convert_nontype_argument): Use it to output an error for + illegal pointer to member expressions used as template arguments. + +2009-11-02 Jason Merrill <jason@redhat.com> + + Restrict DR 757 change to C++0x mode. + * decl2.c (mark_used): Check cxx_dialect. + * decl.c (grokfndecl): Do check type linkage in C++98 mode. + (grokvardecl): Likewise. + * pt.c (check_instantiated_arg): Likewise. + +2009-11-02 Jakub Jelinek <jakub@redhat.com> + + PR c++/41774 + * name-lookup.c (handle_namespace_attrs): Pass 1 as last argument to + push_visibility. + * parser.c (cp_parser_namespace_definition): Pass 1 as argument to + pop_visibility. + * rtti.c (push_abi_namespace): Pass 2 as last argument to + push_visibility. + (pop_abi_namespace): Pass 2 as argument to pop_visibility. + +2009-10-31 Jason Merrill <jason@redhat.com> + + * tree.c (cv_unqualified): New fn. + * cp-tree.h: Declare it. + * typeck.c (decay_conversion): Use it instead of TYPE_MAIN_VARIANT. + + * rtti.c (tinfo_name): Fix lengths for private case. + +2009-10-31 Jason Merrill <jason@redhat.com> + + PR c++/41754 + * call.c (compare_ics): Avoid bad union use when + comparing two ck_lists. + +2009-10-30 Jerry Quinn <jlquinn@optonline.net> + + * mangle.c (mangle_type_string_for_rtti): Reapply 153734. + (needs_fake_anon): Likewise. + (write_name): Likewise. + (write_nested_name): Likewise. + * cp-tree.h (mangle_type_string_for_rtti): Likewise. + (get_anonymous_namespace): Likewise. + * name-lookup.c (get_anonymous_namespace_name): Likewise. + * rtti.c (tinfo_name): Likewise, with +1 in the second + build_string call fixed. + (tinfo_base_init): Likewise. + +2009-10-30 Jason Merrill <jason@redhat.com> + + Revert: + * decl.c (cp_fname_init): Correct build_string argument. + +2009-10-30 Jerry Quinn <jlquinn@optonline.net> + + * mangle.c (mangle_type_string_for_rtti): Revert 153734. + (needs_fake_anon): Likewise. + (write_name): Likewise. + (write_nested_name): Likewise. + * cp-tree.h (mangle_type_string_for_rtti): Likewise. + (get_anonymous_namespace): Likewise. + * name-lookup.c (get_anonymous_namespace_name): Likewise. + * rtti.c (tinfo_name): Likewise. + (tinfo_base_init): Likewise. + +2009-10-30 Dodji Seketeli <dodji@redhat.com> + + PR c++/41863 + * pt.c (iterative_hash_template_arg): articifial parms + don't have DECL_PARM_INDEX set. Do not hash it. + +2009-10-28 Jerry Quinn <jlquinn@optonline.net> + + * mangle.c (mangle_type_string_for_rtti): Revert r149964. + (needs_fake_anon): Likewise. + (write_name): Likewise. + (write_nested_name): Likewise. + * cp-tree.h (mangle_type_string_for_rtti): Likewise. + (get_anonymous_namespace): Likewise. + * name-lookup.c (get_anonymous_namespace_name): Likewise. + * rtti.c (tinfo_name): Insert '*' in front of private names. + (tinfo_base_init): Use it. + +2009-10-28 Jason Merrill <jason@redhat.com> + + Core issue 812, 861 + * name-lookup.c (set_decl_namespace): Deal properly with inline + namespaces. + (qualified_lookup_using_namespace): Overhaul. + * pt.c (print_candidates): Handle getting an OVERLOAD. + +2009-10-28 Jason Merrill <jason@redhat.com> + + * decl.c (cp_fname_init): Correct build_string argument. + +2009-10-27 Jason Merrill <jason@redhat.com> + + Allow no-capture lambdas to convert to function pointer. + * semantics.c (maybe_add_lambda_conv_op): New. + * parser.c (cp_parser_lambda_expression): Call it. + (cp_parser_lambda_declarator_opt): Make op() static if + no captures. + * mangle.c (write_closure_type_name): Adjust. + * semantics.c (finish_this_expr): Adjust. + * decl.c (grok_op_properties): Allow it. + * call.c (build_user_type_conversion_1): Handle static conversion op. + (build_op_call): And op(). + +2009-10-26 Jakub Jelinek <jakub@redhat.com> + + PR debug/41828 + * cp-lang.c (cxx_dwarf_name): Return NULL instead of + <anonymous ...> for anonymous aggregate names. + +2009-10-26 Jason Merrill <jason@redhat.com> + + PR c++/38796, Core issue 906 + * cp-tree.h (DECL_DEFAULTED_OUTSIDE_CLASS_P): New. + (DECL_DEFAULTED_IN_CLASS_P): New. + * class.c (user_provided_p): Non-static. + (check_methods): Use it. + (check_bases_and_members): Check defaulted fns. + (defaultable_fn_p): Move and rename to... + * method.c (defaultable_fn_check): ...this. + (defaulted_late_check): New. + * pt.c (tsubst_decl): Call it. + * decl2.c (grokfield): Adjust. + * decl.c (cp_finish_decl): Adjust. + (grok_special_member_properties): Use user_provided_p. + +2009-10-26 Dodji Seketeli <dodji@redhat.com> + + PR c++/41785 + * pt.c (template_args_equal): Handle comparison of + an ARGUMENT_PACK_SELECT node with the arguments node it selects into. + * cp-tree.def: Fix a typo in the description of TYPE_PACK_EXPANSION. + +2009-10-26 Dodji Seketeli <dodji@redhat.com> + + PR c++/41020 + * decl.c (decls_match): Use DECL_IS_BUILTIN instead of + DECL_BUILT_IN. + +2009-10-23 Dodji Seketeli <dodji@redhat.com> + + PR c++/40808 + * mangle.c (write_template_args): Allow mangling of empty template + argument list. Updated function comments. + +2009-10-23 Jason Merrill <jason@redhat.com> + + * semantics.c (lambda_expr_this_capture): Use thisify_lambda_field. + + * semantics.c (outer_lambda_capture_p): New fn. + (thisify_lambda_field): Factor out... + (add_default_capture): ...from here. + (finish_id_expression): Use them. + + Core issue 899 + * call.c (add_function_candidate): Only permit explicit conversion + ops if copy ctor was called with a single argument. + + * call.c (initialize_reference): Tweak error message. + +2009-10-21 Jakub Jelinek <jakub@redhat.com> + + * mangle.c (finish_mangling_get_identifier): Use + obstack_base (mangle_obstack) instead of name_base. + +2009-10-19 Jakub Jelinek <jakub@redhat.com> + + * parser.c (cp_lexer_print_token, cp_parser_is_string_literal, + cp_parser_string_literal, cp_parser_primary_expression): Likewise. + (cp_lexer_get_preprocessor_token): Use C_LEX_STRING_JOIN instead + of C_LEX_RAW_STRINGS. + +2009-10-15 Jason Merrill <jason@redhat.com> + + PR c++/38888 + * error.c (dump_template_bindings): Wrap argument packs in {}. + + PR c++/38798 + * parser.c (CP_PARSER_FLAGS_NO_TYPE_DEFINITIONS): New. + (cp_parser_type_specifier): Don't try to parse a class-specifier + or enum-specifier in that case. + (cp_parser_trailing_type_id): New. + (cp_parser_late_return_type_opt): Call it. + (cp_parser_type_id_1): Add is_trailing_return parm. + (cp_parser_type_specifier_seq): Likewise. + +2009-10-14 Jason Merrill <jason@redhat.com> + + PR c++/39866 + * call.c (print_z_candidates): Don't print deleted candidates. + (print_z_candidate): Note deleted candidates. + +2009-10-14 Larry Evans <cppljevans@suddenlink.net> + + PR c++/40092 + * tree.c (cp_tree_equal): Add test for TEMPLATE_PARM_PARAMETER_PACK + equality. + +2009-10-12 Jason Merrill <jason@redhat.com> + + PR c++/37875 + * parser.c (cp_parser_decltype): Set greater_than_is_operator_p. + + PR c++/37766 + * pt.c (type_unification_real): Call convert_template_argument + for function default template arguments. + (check_default_tmpl_args): Suggest -std=c++0x when function default + template args seen in C++98 mode. + +2009-10-11 Jason Merrill <jason@redhat.com> + + PR c++/37204 + * typeck.c (build_reinterpret_cast_1): Handle rvalue refs + properly. + +2009-10-11 Richard Guenther <rguenther@suse.de> + + * tree.c (cp_free_lang_data): Drop anonymous aggregate names. + +2009-10-08 Jason Merrill <jason@redhat.com> + + PR c++/36816 + * pt.c (maybe_adjust_types_for_deduction): Do rvalue ref adjustment + even when DEDUCE_EXACT. + + PR c++/37177 + * pt.c (resolve_nondeduced_context): New. + * cvt.c (convert_to_void): Call it. + * semantics.c (finish_decltype_type): Likewise. + * typeck.c (decay_conversion): Here too. + * pt.c (tsubst_decl): Don't clobber input_location. + Don't register a bad specialization. + +2009-10-07 Gabriel Dos Reis <gdr@cs.tamu.edu> + + * cp-tree.h: Fix location of documentation for DECL_LANG_FLAG_7. + +2009-10-07 Jason Merrill <jason@redhat.com> + + PR c++/39863 + * pt.c (tsubst_pack_expansion): Don't do anything now if we + have incomplete packs of different lengths. + + PR c++/41038 + * tree.c (build_qualified_name): Call convert_from_reference. + +2009-10-06 Jason Merrill <jason@redhat.com> + + Fix lookup of initialized captures in unevaluated context. + * cp-tree.h (DECL_NORMAL_CAPTURE_P): New. + * name-lookup.c (qualify_lookup): Check it. + * parser.c (cp_parser_lambda_introducer): Pass explicit_init_p + to add_capture. + * semantics.c (add_capture): Set DECL_NORMAL_CAPTURE_P + on captures without explicit init. + (add_default_capture): Pass explicit_init_p. + + Fix capture by copy of types with explicit copy constructor. + * cp-tree.h (TARGET_EXPR_DIRECT_INIT_P): New. + (DIRECT_INIT_EXPR_P): New. + * typeck.c (convert_for_initialization): Just return if + DIRECT_INIT_EXPR_P. + * semantics.c (build_lambda_object): Use + TARGET_EXPR_DIRECT_INIT_P for normal captures. + +2009-10-05 Jason Merrill <jason@redhat.com> + + * parser.c: Mark lambda_scope and lambda_count for PCH. + +2009-10-03 Jason Merrill <jason@redhat.com> + + PR c++/41553 + * parser.c (cp_parser_lambda_introducer): Avoid infinite loop on + parse error. + +2009-10-02 Jason Merrill <jason@redhat.com> + + * mangle.c (write_unnamed_type_name): Implement. + (local_class_index): Split out from... + (discriminator_for_local_entity): ...here. + (nested_anon_class_index): New. + * cp-tree.h (TYPE_FUNCTION_SCOPE_P): New. + +2009-10-02 Janis Johnson <janis187@us.ibm.com> + + * call.c (convert_arg_to_ellipsis): Avoid promoting decimal32 + to double. + +2009-10-01 Jason Merrill <jason@redhat.com> + + * parser.c (cp_parser_lambda_expression): Compute visibility. + (no_linkage_lambda_type_p): Remove. + * cp-tree.h: Remove declaration. + * tree.c (no_linkage_check): Don't call it. Don't check template + args. Don't check TREE_PUBLIC Types. + +2009-10-01 Gabriel Dos Reis <gdr@cse.tamu.edu> + Jason Merrill <jason@redhat.com> + + * decl.c (grokdeclarator): Set constexprness before announcing + friendship. + +2009-10-01 Gabriel Dos Reis <gdr@cs.tamu.edu> + + * decl.c (record_builtin_java_type): Undo unintended change. + (cxx_init_decl_processing): Likewise. + +2009-10-01 Jason Merrill <jason@redhat.com> + + * pt.c (register_specialization): Push DECL_SOURCE_LOCATION to the + clones. + + * decl.c (grok_special_member_properties): Only adjust + TYPE_HAS_COMPLEX_* if the function is defaulted in the class body. + (cp_finish_decl): Push DECL_DELETED_FN/DECL_DEFAULTED_FN to the + clones. + +2009-09-30 Gabriel Dos Reis <gdr@cs.tamu.edu> + + * decl.c (check_for_uninitialized_const_var): Check constexpr + variables too. + (grokdeclarator): Handle `constexpr'. + (check_tag_decl): Reject `constexpr'. + (check_function_type): Check constexpr functions. + * cp-tree.h (ds_constexpr): New cp_decl_spec enumerator. + (CLASSTYPE_LITERAL_P): New. + (lang_type_class::is_literal): New. + (lang_type_class::dummy): Adjust width. + (literal_type_p): Declare. + * parser.c (cp_parser_check_decl_spec): Print it. + (cp_parser_decl_specifier_seq): Accept "constexpr". + * semantics.c (validate_constexpr_fundecl): Define. + (literal_type_p): Define. + +2009-09-30 Jason Merrill <jason@redhat.com> + + * semantics.c (lambda_expr_this_capture): Fix default capture + of explicit capture of 'this'. + +2009-09-30 Jason Merrill <jason@redhat.com> + + * parser.c (cp_parser_lambda_expression): Don't add __ to __this. + +2009-09-30 Jason Merrill <jason@redhat.com> + + * cp-tree.h (LANG_DECL_U2_CHECK): Check LANG_DECL_HAS_MIN. + +2009-09-29 John Freeman <jfreeman08@gmail.com> + Jason Merrill <jason@redhat.com> + + Add support for lambda-expressions as per N2927. + * cp-tree.def (VEC_INIT_EXPR, LAMBDA_EXPR): New. + * cp-tree.h (LAMBDA_TYPE_P, LAMBDA_FUNCTION_P): New. + (LAMBDA_EXPR_DEFAULT_CAPTURE_MODE): New. + (LAMBDA_EXPR_DEFAULT_CAPTURE_LIST): New. + (LAMBDA_EXPR_THIS_CAPTURE, LAMBDA_EXPR_CAPTURES_THIS_P): New. + (LAMBDA_EXPR_MUTABLE_P, LAMBDA_EXPR_DEDUCE_RETURN_TYPE_P): New. + (LAMBDA_EXPR_RETURN_TYPE, LAMBDA_EXPR_LOCATION): New. + (LAMBDA_EXPR_EXTRA_SCOPE, LAMBDA_EXPR_DISCRIMINATOR): New. + (struct tree_lambda_expr): New. + (union lang_tree_node): Add lambda_expression. + (struct lang_type_class): Add lazy_move_ctor flag, lambda_expr field. + (CLASSTYPE_LAZY_MOVE_CTOR, CLASSTYPE_LAMBDA_EXPR): New. + (LAMBDA_TYPE_EXTRA_SCOPE, VEC_INIT_EXPR_SLOT): New. + (VEC_INIT_EXPR_INIT, DECLTYPE_FOR_LAMBDA_CAPTURE): New. + (DECLTYPE_FOR_LAMBDA_RETURN): New. + (enum special_function_kind): Add sfk_move_constructor. + (LAMBDANAME_PREFIX, LAMBDANAME_FORMAT, LAMBDANAME_P): New. + * parser.c (cp_parser_lambda_expression, cp_parser_lambda_introducer) + (cp_parser_lambda_declarator_opt, cp_parser_lambda_body): New. + (start_lambda_scope, record_lambda_scope, finish_lambda_scope): New. + (no_linkage_lambda_type_p): New. + (cp_parser_primary_expression): Recognize lambda expression. + (cp_parser_init_declarator): Note lambda scope. + (cp_parser_function_definition_after_declarator): Likewise. + (cp_parser_late_parsing_default_args): Likewise. + (cp_parser_skip_to_closing_parenthesis): Skip to end of lambda capture + lists, too. + (cp_parser_parameter_declaration): Don't defer lambda default args. + * semantics.c (finish_non_static_data_member, finish_id_expression): + Handle default capture for lambda expressions. + (finish_this_expr): Handle 'this' keyword inside of lambda expressions. + (outer_automatic_var_p): New. + (finish_decltype_type): Handle decltypes within lambda expressions. + (classtype_has_nothrow_assign_or_copy_p): Synthesized move constructor. + (build_lambda_expr, build_lambda_object, begin_lambda_type) + (lambda_return_type, lambda_capture_field_type, apply_lambda_return_type) + (capture_decltype, add_capture, add_default_capture) + (lambda_expr_this_capture): New. + * mangle.c (write_unnamed_type_name): New. Incomplete. + (write_closure_type_name): New. + (write_unqualified_name): Recognize unnamed, closure types. + (write_type): Do not write decltypes from lambda expressions. + (decl_mangling_context): New. + (write_name): Use it. Handle PARM_DECL scope. + (write_prefix): Likewise. Handle VAR_DECL/FIELD_DECL scope. + (write_compact_number): Factor out from... + (write_expression, write_template_param): ...here. + (discriminator_for_local_entity): Recognize lambdas. + (write_local_name): Handle PARM_DECL scope. + * typeck.c (structural_comptypes): Compare decltypes from lambda + expressions. + (check_return_expr): Deduce lambda return type from multiple return + statements. + * class.c (add_implicitly_declared_members): Add lazy move constructor + for lambda types. + (check_bases_and_members): Delete default constructor and assignment + operator for lambda types. + (maybe_note_name_used_in_class): Do not confuse lambda expression with + defining a class. + * decl.c (reshape_init_r): Array copy. + (grokfndecl): Synthesized move constructor. + (cp_tree_node_structure): Lambda expression. + * method.c (use_thunk): Synthesized move constructor. + (do_build_copy_constructor): Likewise. + (locate_copy): Likewise. + (implicitly_declare_fn): Likewise. + * cp-objcp-common.c (cp_tree_size): Handle LAMBDA_EXPR. + * error.c (dump_aggr_type): Recognize lambda type. + (dump_function_decl): Recognize lambda function. + (function_category): Likewise. + (dump_function_name): Hide lambda name. + * tree.c (build_array_copy, move): New. + (special_function_p): Synthesized move constructor. + (no_linkage_check): Handle lambdas. + * search.c (lookup_fnfields_1): Synthesized move constructor. + * cp-gimplify.c (cp_gimplify_init_expr, cp_gimplify_expr): + Handle VEC_INIT_EXPR. + * typeck2.c (digest_init_r): Array copy. + * pt.c (get_template_info): Don't touch typedefs. + (instantiate_decl): Don't resubstitute artificial decls. + (tsubst_decl, tsubst, tsubst_copy_and_build): Handle lambdas. + (lookup_template_class): Don't fall back on name lookup. + * name-lookup.c (make_lambda_name): New. + (pushdecl_class_level): Handle default capture for lambda expressions. + (qualify_lookup): Handle decltypes within lambda expressions. + (pushtag): Handle ts_within_enclosing_non_class in function scope. + +2009-09-28 Janis Johnson <janis187@us.ibm.com> + + * mangle.c (write_builtin_type): Support decimal float types. + +2009-09-28 Richard Henderson <rth@redhat.com> + + * cp-objcp-common.h (LANG_HOOKS_EH_USE_CXA_END_CLEANUP): New. + +2009-09-24 Jakub Jelinek <jakub@redhat.com> + + * method.c (make_thunk, make_alias_for): Don't set + DECL_NO_STATIC_CHAIN. + * decl.c (builtin_function_1, grokfndecl): Likewise. + * lex.c (build_lang_decl): Likewise. + +2009-09-23 Dodji Seketeli <dodji@redhat.com> + + PR debug/41065 + * decl.c (cp_finish_decl): Record the types used by the global + variable declaration we've just parsed. + +2009-09-22 Dodji Seketeli <dodji@redhat.com> + + * cp-lang.c (LANG_HOOKS_FUNCTION_PARAMETER_PACK_P, + LANG_HOOKS_FUNCTION_PARM_EXPANDED_FROM_PACK_P, + LANG_HOOKS_GET_GENERIC_FUNCTION_DECL): Initialize these + hooks for the c++ FE. + * cp-tree.h (function_parameter_pack_p, get_function_template_decl, + function_parameter_expanded_from_pack_p): Declare ... + * pt.c (function_parameter_pack_p, get_function_template_decl, + function_parameter_expanded_from_pack_p): ... new hooks. + (get_template_info): Make this more robust. + (template_args_variadic_p, make_ith_pack_parameter_name): Add a new + line between comment and function. + (get_template_argument_pack_elems): Fix comment. + (tsubst_decl): Arguments of function parameter packs are not + parameter packs themselves. + +2009-09-21 Jason Merrill <jason@redhat.com> + + PR c++/41421 + * tree.c (trivial_type_p): Fix logic. + +2009-09-21 Jason Merrill <jason@redhat.com> + + * name-lookup.c (push_class_level_binding): Sanity check. + +2009-09-18 Jason Merrill <jason@redhat.com> + + * decl2.c (determine_visibility): Make anonymous types internal. + (mark_used): Complain about types without linkage used in + decls with internal linkage. + (vague_linkage_fn_p): Split out from... + * decl.c (maybe_commonize_var): ...here. + (grokdeclarator): Adjust linkage when a typedef gives linkage name. + * tree.c (no_linkage_check): Check the enclosing class and template + arguments. + + * cp-tree.h (TYPE_NAMESPACE_SCOPE_P): New. + + * pt.c (get_pattern_parm): New. + (listify): Split out from... + (listify_autos): ...here. + (unify): Deduce std::initializer_list for T. + * call.c (build_over_call): Warn about it. + +2009-09-17 Andrew Pinski <pinskia@gcc.gnu.org> + + PR c++/39365 + * typeck.c (cp_build_unary_op): Check TREE_CODE for bools instead of + using same_type_p. + (convert_for_assignment): Likewise. + * cvt.c (type_promotes_to): Likewise. + +2009-09-14 Richard Henderson <rth@redhat.com> + Jakub Jelinek <jakub@redhat.com> + + * cp-tree.h (finish_asm_stmt): Update decl. + * parser.c (cp_parser_asm_definition): Parse asm goto. + (cp_parser_asm_label_list): New. + * pt.c (tsubst_copy_asm_operands): Don't recurse on labels. + (tsubst_expr): Handle asm labels. + * semantics.c (finish_asm_stmt): Add and use labels parameter. + +2009-09-14 Richard Henderson <rth@redhat.com> + + * except.c (init_exception_processing): Don't call + default_init_unwind_resume_libfunc. + (cp_protect_cleanup_actions): Return the decl to call. + (build_exc_ptr): Use __builtin_eh_pointer. + * optimize.c (clone_body): Set eh_lp_nr, not eh_region. + +2009-09-13 Richard Guenther <rguenther@suse.de> + Rafael Avila de Espindola <espindola@google.com> + + * except.c (init_exception_processing): Do not set + lang_eh_runtime_type. + (choose_personality_routine): Do not set eh_personality_decl, + set pragma_java_exceptions. + * cp-lang.c (LANG_HOOKS_EH_RUNTIME_TYPE): Define. + (LANG_HOOKS_EH_PERSONALITY): Likewise. + (cp_eh_personality_decl): New. + (cp_eh_personality): Likewise. + * Make-lang.in (cp-lang.o): Add $(EXPR_H) and $(EXCEPT_H) + dependencies. + +2009-09-13 Wei Guozhi <carrot@google.com> + + PR c++/3187 + * cp/optimize.c (build_delete_destructor_body): New function. + (maybe_clone_body): Call build_delete_destructor_body for + deleting destructor. + +2009-09-10 Jason Merrill <jason@redhat.com> + + * repo.c (extract_string, get_base_filename, init_repo): constify. + +2009-09-09 Jason Merrill <jason@redhat.com> + + * error.c (find_typenames_r): Also add decltypes. + +2009-09-09 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/28293 + * decl2.c (grokfield): Check for explicit template argument lists. + +2009-09-09 Jack Howarth <howarth@bromo.med.uc.edu> + + PR bootstrap/41180 + * Make-lang.in: Remove redundant code from linkage for darwin10. + +2009-09-08 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/39923 + * decl.c (build_init_list_var_init): Check return value of + perform_implicit_conversion. + +2009-09-08 Jason Merrill <jason@redhat.com> + + * class.c (currently_open_class): Make sure we're dealing with the + main variant. + + * cp-tree.h (enum overload_flags): Remove OP_FLAG. + * method.c (lazily_declare_fn): Check for dtorness in ABI warning. + + * name-lookup.c (is_class_level): Remove. + (push_binding_level, leave_scope, resume_scope): Adjust. + (pushlevel_class): Adjust. + (poplevel_class): Make sure we're on class_binding_level. + + * decl.c (grokmethod): Rename from start_method. + (finish_method): Remove. + * cp-tree.h: Adjust. + * parser.c (cp_parser_save_member_function_body): Adjust. + +2009-09-03 Doug Kwan <dougkwan@google.com> + + * tree.c (cp_fix_function_decl_p): New. + (cp_free_lang_data): New. + +2009-09-03 Diego Novillo <dnovillo@google.com> + + * Make-lang.in (decl2.o): Add dependency on $(POINTER_SET_H). + * decl2.c: Include pointer-set.h. + (collect_candidates_for_java_method_aliases): New. + (cp_write_global_declarations): Call it. + Add local variable CANDIDATES. If set, call + build_java_method_aliases. + (build_java_method_aliases): Add argument CANDIDATES. + Use it to determine if FNDECL should get a hidden alias. + * cp-objcp-common.h (LANG_HOOKS_FREE_LANG_DATA): Define. + * cp-tree.h (cp_free_lang_data): Declare. + +2009-09-03 Richard Guenther <rguenther@suse.de> + + * method.c (use_thunk): Use cgraph_finalize_function to hand + off thunks to the cgraph. + * semantics.c (emit_associated_thunks): Do not emit thunks + for really extern functions. + +2009-09-03 Diego Novillo <dnovillo@google.com> + + * cp-lang.c (lang_hooks): Remove const qualifier. + +2009-09-02 Jason Merrill <jason@redhat.com> + + * semantics.c (describable_type): Don't pretend to be in a template. + + * ptree.c (cxx_print_type) [DECLTYPE_TYPE]: Print the expression. + +2009-09-01 Alexandre Oliva <aoliva@redhat.com> + + * cp-tree.h (TFF_NO_OMIT_DEFAULT_TEMPLATE_ARGUMENTS): New. + * cp-lang.c (cxx_dwarf_name): Pass it. + * error.c (count_non_default_template_args): Take flags as + argument. Adjust all callers. Skip counting of default + arguments if the new flag is given. + +2009-09-01 Dodji Seketeli <dodji@redhat.com> + + PR bootstrap/41205 + * pt.c (make_ith_pack_parameter_name): Don't use strnlen that is a + GNU extension. + +2009-09-01 Richard Guenther <rguenther@suse.de> + + * cp-objcp-common.c (cp_expr_size): Use tree_expr_size. + * cp-objcp-common.h (LANG_HOOKS_EXPR_SIZE): Do not define. + +2009-09-01 Richard Guenther <rguenther@suse.de> + + * cp-objcp-common.h (LANG_HOOKS_MARK_ADDRESSABLE): Remove. + +2009-08-31 Dodji Seketeli <dodji@redhat.com> + + PR debug/30161 + * cp-tree.h (get_template_info): Parameter should be const. + (CLASSTYPE_SPECIALIZATION_OF_PRIMARY_TEMPLATE_P): Fix typo. + (get_template_argument_pack_elems, + get_primary_template_innermost_parameters, + get_template_innermost_arguments, template_template_parameter_p): + Declare ... + * pt.c (get_template_argument_pack_elems, + get_template_innermost_parameters, get_template_innermost_arguments, + template_template_parameter_p): + ... New C++ front end implementation of new language hooks. + (primary_template_instantiation_p): New private helper. + (make_ith_pack_parameter_name): Use snprintf and strnlen instead of + printf and strlen. + (get_template_info): Const-ify parameter. + * cp-lang.c (LANG_HOOKS_GET_INNERMOST_GENERIC_PARMS, + LANG_HOOKS_GET_INNERMOST_GENERIC_ARGS, + LANG_HOOKS_GET_ARGUMENT_PACK_ELEMS, + LANG_HOOKS_GENERIC_TYPE_PARAMETER_DECL_P): Initialize these + interfaces for the C++ front-end. + +2009-08-31 Jason Merrill <jason@redhat.com> + + PR c++/41127 + * parser.c (cp_parser_enum_specifier): Make sure the : is followed by a + type-specifier-seq before we commit. + +2009-08-28 Richard Guenther <rguenther@suse.de> + + PR lto/41058 + * cp-gimplify.c (cp_genericize_r): Do not leak zero-sized stores + into the generic IL. + +2009-08-27 Richard Guenther <rguenther@suse.de> + + * class.c (build_vtbl_ref_1): Remove excess vertical space. + * Make-lang.in (CXX_TREE_H): Remove c-common.def dependency + tracked by $(TREE_H). + * semantics.c (expand_or_defer_fn): Zero DECL_SAVED_TREE. + +2009-08-26 Jason Merrill <jason@redhat.com> + + * call.c (build_builtin_candidate): Don't set LOOKUP_ONLYCONVERTING + if we're contextually converting to bool. + (build_conditional_expr): Likewise. + * typeck.c (condition_conversion): Likewise. + + * call.c (build_conditional_expr): Fix logic errors. + (build_new_op): Remove dead COND_EXPR handling. + +2009-08-24 Jason Merrill <jason@redhat.com> + + * cp-tree.h (DECL_DEFERRED_FN): Remove. + (struct lang_decl_fn): Remove deferred flag. + * class.c (build_clone): Don't set it. + * decl2.c (note_vague_linkage_fn): Don't check or set it. + (mark_used): Don't check it. + * method.c (make_thunk, make_alias_for): Don't set it. + + * decl2.c (mark_used): Streamline logic. + + PR c++/41109 + PR c++/41110 + PR c++/41134 + * cp-tree.h (DECL_ODR_USED): New macro. + (struct lang_decl_base): Add odr_used flag. + * decl.c (duplicate_decls): Propagate it. Use it for error. + * pt.c (register_specialization): Use it for error. + * decl2.c (mark_used): Use it as gating flag rather than TREE_USED. + (cp_write_global_declarations): Use it for error. + (tree_used_ok): Remove. + * cp-tree.h: Remove tree_used_ok. + * call.c (build_call_a): Don't call it. + * init.c (build_offset_ref): Likewise. + +2009-08-21 Jakub Jelinek <jakub@redhat.com> + + PR c++/41131 + * tree.c (lvalue_p_1) <case CONST_DECL>: Return clk_none if + not TREE_STATIC. + +2009-08-19 Jason Merrill <jason@redhat.com> + + PR c++/41119 + PR c++/41120 + * decl2.c (mark_used): Increment function_depth during synthesis. + * parser.c (cp_parser_default_argument): Not here. + +2009-08-19 Jakub Jelinek <jakub@redhat.com> + + * method.c (use_thunk): Call free_after_compilation after + assemble_end_function. + +2009-08-17 Richard Guenther <rguenther@suse.de> + + * decl.c (build_ptrmemfunc_type): Keep variant chain intact. + Avoid useless copy. + (finish_enum): Keep variant chain intact. + * tree.c (cp_build_reference_type): Likewise. + +2009-08-16 Jason Merrill <jason@redhat.com> + + Make TREE_USED match the [basic.def.odr] concept for FUNCTION_DECL + and VAR_DECL, so mark_used only has effect the first time. + * decl2.c (mark_used): Just return if TREE_USED is already set. + Don't set TREE_USED if cp_unevaluated_operand is set. + (tree_used_ok): New fn. + * init.c (build_offset_ref): Check it instead of TREE_USED. + * call.c (build_call_a): Likewise. + * cp-tree.h: Declare it. + (DECL_NO_LINKAGE_CHECKED): No longer needed. + (struct lang_decl_base): Remove no_linkage_checked bitfield. + + * decl2.c (finish_static_data_member_decl): Don't set TREE_USED. + + * decl2.c (mark_used): It's ok to synthesize for default args now. + +2009-08-10 Jason Merrill <jason@redhat.com> + + Implement DR 757: It's OK for a decl to use a type without linkage + so long as the decl is defined in the current translation unit. + * decl2.c (no_linkage_decls): New vector. + (mark_used): Add decls that use types with no linkage. + (cp_write_global_declarations): Check that they are defined. + (decl_defined_p, no_linkage_error): New fns. + * cp-tree.h (DECL_NO_LINKAGE_CHECKED): New macro. + (struct lang_decl_base): Add flag. + * decl.c (grokfndecl): Don't check type linkage. + (grokvardecl): If the type has no linkage, just make sure + DECL_LANG_SPECIFIC is set. + * pt.c (check_instantiated_arg): Don't check type linkage. + * name-lookup.c (is_local_extern): New fn. + * name-lookup.h: Declare it. + +2009-08-05 Jason Merrill <jason@redhat.com> + + PR c++/40948 + * init.c (build_vec_init): Evaluate the initializer before + starting the initialization try block. + +2009-08-05 Manuel López-Ibáñez <manu@gcc.gnu.org> + + PR c++/36069 + * typeck.c (convert_for_assignment): Do not warn for any boolean + variant. Use explicit location. + +2009-08-04 Dodji Seketeli <dodji@redhat.com> + + PR c++/39987 + * pt.c (tsubst_default_argument): Let access checks of the + default argument happen in the context of the current function. + +2009-08-04 Manuel López-Ibáñez <manu@gcc.gnu.org> + + PR c++/16696 + * call.c (build_new_op): Only try prefix operator if -fpermissive, + otherwise just error. + +2009-08-04 Dodji Seketeli <dodji@redhat.com> + + PR debug/39706 + * error.c (lang_decl_name): Print qualified names for decls + in namespace scope. + +2009-08-03 Jason Merrill <jason@redhat.com> + Jakub Jelinek <jakub@redhat.com> + + PR c++/40948 + * init.c (build_vec_init): Look through a TARGET_EXPR around a + CONSTRUCTOR. + +2009-07-31 Jason Merrill <jason@redhat.com> + Douglas Gregor <doug.gregor@gmail.com> + + Remove implicit binding of lvalues to rvalue references (N2831) + * call.c (convert_class_to_reference): Binding an lvalue to an + rvalue reference is bad. If the user-defined conversion is bad, + set bad_p before merging conversions. + (maybe_handle_ref_bind): Don't push down bad_p. + (reference_binding): Binding an lvalue to an rvalue reference is bad. + (convert_like_real): Give a helpful error about binding lvalue + to rvalue reference. + (reference_related_p): No longer static. + * typeck.c (build_typed_address): New. + (build_static_cast_1): Add static_cast from lvalue to &&. + * cp-tree.h: Adjust. + +2009-07-31 Jason Merrill <jason@redhat.com> + + * call.c (reference_binding): Rename lvalue_p to is_lvalue. + Do direct binding of "rvalues" in memory to rvalue references. + * tree.c (lvalue_p_1): Can't be both non-addressable lvalue and + "rvalue" in memory. + * typeck.c (build_static_cast_1): Do direct binding of memory + "rvalues" to rvalue references. + * cvt.c (cp_fold_convert): New. + * cp-tree.h: Declare it. + +2009-07-31 Jason Merrill <jason@redhat.com> + + * typeck.c (build_address): Do fold away ADDR_EXPR of INDIRECT_REF. + * tree.c (rvalue): Use cp_build_qualified_type, not TYPE_MAIN_VARIANT. + +2009-07-29 Jason Merrill <jason@redhat.com> + + 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. + +2009-07-29 Richard Guenther <rguenther@suse.de> + + PR c++/40834 + * cp-gimplify.c (cp_genericize_r): Properly walk the BIND_EXPR + vars. + +2009-07-26 Simon Martin <simartin@users.sourceforge.net> + + PR c++/40749 + * decl.c (grokdeclarator): Do not set TREE_NO_WARNING for functions + with a qualified return type. + +2009-07-24 Jason Merrill <jason@redhat.com> + + Core issue 901 + * call.c (build_op_delete_call): If this is for a new-expression + and the op delete is deleted, do nothing. + + Core issue 702 + * call.c (compare_ics): Give list-initialization of std::init_list + priority over conversion to scalar, too. + +2009-07-22 Jason Merrill <jason@redhat.com> + + * mangle.c (mangle_type_string_for_rtti): Rename to be clearer. + (needs_fake_anon): New. + (write_name): Check it. + (write_nested_name): Add a fake anonymous namespace scope if true. + * name-lookup.c (get_anonymous_namespace_name): No longer static. + * rtti.c, cp-tree.h: Adjust. + +2009-07-22 Richard Guenther <rguenther@suse.de> + + PR c++/40799 + * cp-gimplify.c (cp_gimplify_expr): Move handling of using + related exprs to ... + (cp_genericize_r): ... genericization stage. + (cp_genericize): Adjust. + +2009-07-21 Jason Merrill <jason@redhat.com> + + Core issue 934 + * call.c (reference_binding): Implement binding to { }. + (initialize_reference): Binding temporary to non-const && is fine. + * decl.c (grok_reference_init): Remove error for CONSTRUCTOR. + + * decl.c (reshape_init_r): { T } is not an aggregate initializer + for class T. + +2009-07-17 Richard Guenther <rguenther@suse.de> + + PR c/40401 + * decl.c (finish_function): Do not emit unused result warnings + from here. + * cp-objcp-common.h (LANG_HOOKS_POST_GIMPLIFY_PASS): Use + c_warn_unused_result_pass. + * semantics.c (expand_or_defer_fn): Adjust assertion about IL status. + * optimize.c (clone_body): Clone in GENERIC. + (maybe_clone_body): Do not clear DECL_SAVED_TREE. + * decl2.c (cp_write_global_declarations): Fix body test. + Do not call cgraph_optimize. + * Make-lang.in (optimize.o): Add tree-iterator.h dependency. + * method.c (use_thunk): Register thunk with + cgraph_finalize_function. + * error.c (function_category): Guard access of DECL_LANG_SPECIFIC. + +2009-07-17 Richard Guenther <rguenther@suse.de> + + * init.c (build_vec_delete_1): Do not set DECL_REGISTER on the + temporary pointer. + +2009-07-17 Aldy Hernandez <aldyh@redhat.com> + Manuel López-Ibáñez <manu@gcc.gnu.org> + + PR 40435 + * typeck.c, init.c, class.c, method.c, rtti.c, except.c, error.c, + tree.c, cp-gimplify.c, cxx-pretty-print.c, pt.c, semantics.c, + call.c, cvt.c, mangle.c: Add location argument to + fold_{unary,binary,ternary}, fold_build[123], build_call_expr, + build_size_arg, build_fold_addr_expr, build_call_array, + non_lvalue, size_diffop, fold_build1_initializer, + fold_build2_initializer, fold_build3_initializer, + fold_build_call_array, fold_build_call_array_initializer, + fold_single_bit_test, omit_one_operand, omit_two_operands, + invert_truthvalue, fold_truth_not_expr, build_fold_indirect_ref, + fold_indirect_ref, combine_comparisons, fold_builtin_*, + fold_call_expr, build_range_check, maybe_fold_offset_to_address, + round_up, round_down. + +2009-07-16 Jason Merrill <jason@redhat.com> + + PR libstdc++/37907 + Split POD into "standard-layout" and "trivial" as per N2230, + Support std::is_standard_layout and std::is_trivial traits. + * cp-tree.h (enum cp_trait_kind): Add CPTK_IS_STD_LAYOUT, + CPTK_IS_TRIVIAL. + (struct lang_type_class): Add non_std_layout. + (CLASSTYPE_NON_STD_LAYOUT): New. + * class.c (check_bases): Set it. + (check_field_decls): Likewise. + (check_bases_and_members): Likewise. + * parser.c (cp_parser_primary_expression): Handle RID_IS_STD_LAYOUT, + RID_IS_TRIVIAL. + (cp_parser_trait_expr): Likewise. + * semantics.c (trait_expr_value): Handle CPTK_IS_STD_LAYOUT, + CPTK_IS_TRIVIAL. + (finish_trait_expr): Likewise. + * tree.c (scalarish_type_p, trivial_type_p, std_layout_type_p): New. + (pod_type_p): Use them. + (type_has_nontrivial_copy_init, type_has_nontrivial_default_init): New. + + Adjust bits of the language that no longer refer to POD types. + * call.c (convert_arg_to_ellipsis): Use type_has_nontrivial_copy_init + and TYPE_HAS_NONTRIVIAL_DESTRUCTOR rather than pod_type_p. + (build_x_va_arg): Likewise. + (call_builtin_trap): Remove. + * decl.c (declare_local_label): Use type_has_nontrivial_default_init + and TYPE_HAS_NONTRIVIAL_DESTRUCTOR rather than pod_type_p. + (cp_finish_decl): Likewise. + (check_previous_goto_1, check_goto): Adjust error. + * typeck.c (build_class_member_access_expr): Check + CLASSTYPE_NON_STD_LAYOUT rather than CLASSTYPE_NON_POD_P. + +2009-07-14 Taras Glek <tglek@mozilla.com> + Rafael Espindola <espindola@google.com> + + * Make-lang.in: Added CP_PLUGIN_HEADERS and + c.install-target to export cp-tree.h cxx-pretty-print.h + name-lookup.h headers for plugins. + +2009-07-14 Jason Merrill <jason@redhat.com> + + PR c++/37276 + * decl.c (decls_match): A non-extern-C declaration doesn't match + a builtin extern-C declaration. + + PR c++/40746 + * name-lookup.c (qualified_lookup_using_namespace): Don't stop + looking in used namespaces just because we found something on + another branch. + + PR c++/40740 + * semantics.c (perform_koenig_lookup): Handle empty template args. + + * call.c (build_over_call): Use can_trust_pointer_alignment. + +2009-07-14 Dodji Seketeli <dodji@redhat.com> + + PR debug/40705 + PR c++/403057 + * decl2.c (grokfield): Don't call set_underlying_type on typedef + decls that are type names. + +2009-07-13 Andrew Pinski <andrew_pinski@playstation.sony.com> + + PR C++/22154 + * parser.c (cp_parser_elaborated_type_specifier): Accept typename in + front of qualified names. + +2009-07-12 Jason Merrill <jason@redhat.com> + + PR c++/36628 + * tree.c (rvalue): Use lvalue_or_rvalue_with_address_p. + + PR c++/37206 + * cp-tree.h (enum cp_lvalue_kind_flags): Add clk_rvalueref. + * tree.c (lvalue_p_1): Return it. Remove + treat_class_rvalues_as_lvalues parm. + (real_lvalue_p): Disallow pseudo-lvalues here. + (lvalue_or_rvalue_with_address_p): New fn. + * call.c (initialize_reference): Use it instead of real_lvalue_p. + + PR c++/40689 + * init.c (build_new_1): Handle initializer list as array initializer. + (build_vec_init): Likewise. + * typeck.c (cp_build_modify_expr): Likewise. + * typeck2.c (process_init_constructor_array): Error rather than abort + if too many initializers. + +2009-07-10 Jakub Jelinek <jakub@redhat.com> + + PR c++/40502 + * error.c (cp_print_error_function): Check for NULL block. + +2008-07-09 Simon Martin <simartin@users.sourceforge.net> + Jason Merrill <jason@redhat.com> + + * pt.c (perform_typedefs_access_check, get_types_needing_access_check, + append_type_to_template_for_access_check_1): Use CLASS_TYPE_P. + +2009-07-09 Dodji Seketeli <dodji@redhat.com> + + PR c++/40684 + * pt.c (type_unification_real): Use tsubst_template_arg instead + of tsubst to substitute default template arguments. + +2009-07-08 Manuel López-Ibáñez <manu@gcc.gnu.org> + + PR c++/31246 + * init.c (build_new_1): Set TREE_NO_WARNING for compiler-generated + code. + * cp-gimplify.c (genericize_eh_spec_block): Likewise. + + +2009-07-07 Jason Merrill <jason@redhat.com> + + PR c++/35828 + * pt.c (tsubst_decl): Don't abort if we didn't change anything + in a TEMPLATE_DECL's args. + +2009-07-07 Manuel López-Ibáñez <manu@gcc.gnu.org> + + * semantics.c (finalize_nrv_r): Replace EXPR_LOCUS by + EXPR_LOCATION. + +2009-07-07 Jason Merrill <jason@redhat.com> + + PR c++/37816 + * decl.c (build_enumerator): Don't add enumerators for a + scoped enum to the enclosing class. + + PR c++/40639 + * decl.c (start_enum): Allow dependent underlying type. + + PR c++/40633 + * decl.c (finish_enum): Finish scope even in a template. + +2009-07-07 Manuel López-Ibáñez <manu@gcc.gnu.org> + + * init.c: Replace %J by an explicit location. Update all calls. + * decl.c: Likewise. + * typeck2.c: Likewise. + * pt.c: Likewise. + * name-lookup.c: Likewise. + +2009-07-06 Manuel López-Ibáñez <manu@gcc.gnu.org> + + * decl.c: Replace %H by an explicit location. Update all calls. + * except.c: Likewise. + * semantics.c: Likewise. + * parser.c: Likewise. + +2009-07-06 Simon Martin <simartin@users.sourceforge.net> + + PR c++/40557 + * pt.c (perform_typedefs_access_check, get_types_needing_access_check, + append_type_to_template_for_access_check_1): Use + RECORD_OR_UNION_CODE_P. + +2009-07-04 Jason Merrill <jason@redhat.com> + + * pt.c (retrieve_specialization): Don't get confused by a + using-declaration that brings in another instance of this template + from a base class. + + * ptree.c (cxx_print_type): Fix logic. + + * cp-tree.h (LANG_DECL_FN_CHECK): Fix non-checking version. + + PR c++/40619 + * cp-tree.h (struct lang_decl_parm): New. + (struct lang_decl): Add it. + (LANG_DECL_PARM_CHECK): New. + (DECL_PARM_INDEX): New. + * decl2.c (parm_index): Remove. + * lex.c (retrofit_lang_decl): Handle parms. + (cxx_dup_lang_specific_decl): Likewise. + * mangle.c (write_expression): Adjust. + * tree.c (cp_tree_equal): Adjust. + (decl_linkage): Only check DECL_COMDAT for functions and variables. + * parser.c (cp_parser_parameter_declaration_list): Set + DECL_PARM_INDEX. + * pt.c (iterative_hash_template_arg): Hash it. + +2009-07-03 Jason Merrill <jason@redhat.com> + + * cp-tree.h (struct lang_decl): Overhaul. + (struct lang_decl_flags): Remove. + (struct lang_decl_base): New. + (struct lang_decl_min): New. + (struct lang_decl_fn): New. + (struct lang_decl_ns): New. + (CAN_HAVE_FULL_LANG_DECL_P): Replace with LANG_DECL_HAS_MIN. + (LANG_DECL_MIN_CHECK): New. + (LANG_DECL_FN_CHECK): New. + (LANG_DECL_NS_CHECK): New. + (STRIP_TEMPLATE): New. + (NON_THUNK_FUNCTION_CHECK): Remove. + (DECL_DECLARES_FUNCTION_P): New. + (lots): Adjust. + * lex.c (retrofit_lang_decl, cxx_dup_lang_specific_decl): Adjust. + * decl.c (push_local_name, duplicate_decls): Adjust. + * decl2.c (start_objects): Don't set u2sel. + * semantics.c (finish_omp_threadprivate): Adjust. + * class.c (build_clone): Don't do much on TEMPLATE_DECLs. + (decl_cloned_function_p): Out-of-line implementation of macros. + (clone_function_decl, adjust_clone_args): Use DECL_CLONED_FUNCTION_P. + * mangle.c (write_unqualified_name): Don't check function flags + on non-functions. + * method.c (make_alias_for): Don't set DECL_CLONED_FUNCTION. + * pt.c (build_template_decl): Don't set function flags. + (check_default_tmpl_args): Check that it's a function. + (instantiate_template): Use DECL_ABSTRACT_ORIGIN to find the + cloned template. + + * pt.c (tsubst_decl) [FUNCTION_DECL]: Don't tsubst + DECL_CLONED_FUNCTION. + + * cp-tree.h (struct lang_type_class): Move sorted_fields here. + * class.c (finish_struct_1): Adjust. + * ptree.c (cxx_print_decl, cxx_print_type): Adjust. + * search.c (lookup_field_1): Adjust. + + * cp-tree.h (CLASSTYPE_INLINE_FRIENDS): Remove. + * decl.c (finish_method): Don't add to it. + * class.c (fixup_pending_inline): Remove. + (fixup_inline_methods): Remove. + (finish_struct_1): Don't call it. + + * error.c (dump_function_name): Handle null name. + +2009-07-02 Mark Mitchell <mark@codesourcery.com> + + * typeck.c (cp_build_binary_op): Move warnings about use of NULL + in arithmetic earlier and allow comparisions of NULL with + pointers-to-members. + +2009-07-02 Jason Merrill <jason@redhat.com> + + Use hash tables for template specialization lookup. + * pt.c (struct spec_entry): New type. + (decl_specializations, type_specializations): New hash tables. + (register_specialization, retrieve_specialization): Use them. + (reregister_specialization, lookup_template_class): Use them. + (eq_specializations, hash_tmpl_and_args, hash_specialization): New. + (iterative_hash_template_arg): New. + (init_template_processing): New + (process_partial_specialization): Don't look to see if we already + have this partial specialization. + (maybe_process_partial_specialization): Handle reassigning + full specializations when we get an explicit specialization + of the partial instantiation. + (tsubst_friend_function): Adjust specialization reassignment code. + (instantiate_template): Only do one lookup. + (instantiate_decl): Don't do any lookup. + * cp-tree.h: Declare init_template_processing. + * decl.c (duplicate_decls): Pass args to reregister_specialization. + +2009-07-01 Jason Merrill <jason@redhat.com> + + * cp-tree.h (DECL_CLASS_TEMPLATE_P): Use DECL_IMPLICIT_TYPEDEF_P. + + * pt.c (register_specialization): Use duplicate_decls to merge + the argument with a previous specialization. + (check_explicit_specialization): Call register_specialization to + merge the TEMPLATE_DECL with a previous version. + (determine_specialization): Return the args even if fn is a template. + +2009-07-01 Ian Lance Taylor <iant@google.com> + + * g++spec.c (lang_specific_driver): Bump num_args by 1. + +2009-06-30 Jason Merrill <jason@redhat.com> + + PR c++/40595 + * pt.c (tsubst_pack_expansion): Handle unexpanded packs in an + EXPR_PACK_EXPANSION. + +2009-06-29 Jason Merrill <jason@redhat.com> + + PR c++/40274 + * error.c (dump_template_parms): Pass all args to + count_non_default_template_args. + (count_non_default_template_args): Pull out the inner ones. + +2009-06-26 H.J. Lu <hongjiu.lu@intel.com> + + * decl.c (duplicate_decls): Re-indent. + +2009-06-25 Ian Lance Taylor <iant@google.com> + + * call.c (avoid_sign_compare_warnings): New static function. + (build_new_op): Call it. + * typeck.c (cp_build_binary_op): Don't call warn_sign_compare if + TREE_NO_WARNING is set on either operand. + +2009-06-25 Ian Lance Taylor <iant@google.com> + + * g++spec.c (SKIPOPT): define. + (lang_specific_driver): Handle -static-libstdc++. Only add + LIBSTDCXX_STATIC if we add LIBSTDCXX. + +2009-06-25 Ian Lance Taylor <iant@google.com> + + * cvt.c (convert_to_void): Only warn about COND_EXPR if neither + the second nor third operand has side effects. + +2009-06-25 Ian Lance Taylor <iant@google.com> + + * parser.c (cp_parser_binary_expression): Increment + c_inhibit_evaluation_warnings while parsing the right hand side of + "true || x" or "false && x". + * typeck.c (cp_build_binary_op): Only call warn_for_sign_compare + if c_inhibit_evaluation_warnings is zero. + +2009-06-24 Jason Merrill <jason@redhat.com> + + * error.c (dump_decl): Do say "typedef" for the injected class name. + + * pt.c (lookup_template_class): Use currently_open_class, + compare template args later. + + PR c++/40342 + * decl.c (decls_match): Check DECL_TI_TEMPLATE too. + * class.c (resolve_address_of_overloaded_function): Fix typo. + +2009-06-18 Aldy Hernandez <aldyh@redhat.com> + + * class.c (get_vtable_decl): Replace finish_decl with cp_finish_decl. + * decl.c (finish_decl): Remove. + (declare_global_var): Replace finish_decl with cp_finish_decl. + (start_method): Same. + * rtti.c (emit_tinfo_decl): Same. + * pt.c (tsubst_expr): Same. + (instantiate_decl): Same. + * decl2.c (grokbitfield): Same. + * name-lookup.c (pushdecl_top_level_1): Same. + * cp-tree.h: Remove finish_decl. + +2009-06-16 David Edelsohn <edelsohn@gnu.org> + + * g++-spec.c (LIBSTDCXX_STATIC): Default to NULL. + (lang_specific_driver): Always allocate extra argument. + Add LIBSTDCXX_STATIC to arglist if defined and linking + statically. + +2009-06-16 Ian Lance Taylor <iant@google.com> + + * Make-lang.in (cp/class.o): Depend upon gt-cp-class.h. + (cp/semantics.o): Depend upon gt-cp-semantics.h. + +2009-06-16 Ian Lance Taylor <iant@google.com> + + * parser.c (cp_unevaluated_operand): Define global variable. + (cp_parser_question_colon_clause): Increment + c_inhibit_evaluation_warnings when evaluating an expression which + will never be executed. + (cp_parser_decltype): Increment cp_unevaluated_operand and + c_inhibit_evaluation_warnings, not skip_evaluation. + (cp_parser_sizeof_operand): Likewise. + (cp_parser_enclosed_template_argument_list): Save + cp_unevaluated_operand and c_inhibit_evaluation_warnings, not + skip_evaluation. + * cp-tree.h (struct saved_scope): Remove skip_evaluation field. + Add unevaluated_operand and inhibit_evaluation_warnings fields. + (cp_unevaluated_operand): Declare. + * name-lookup.c (push_to_top_level): Save cp_unevaluated_operand + and c_inhibit_evaluation_warnings rather than skip_evaluation. + (pop_from_top_level): Restore cp_unevaluated_operand and + c_inhibit_evaluation_warnings rather than skip_evaluation. + * class.c (build_base_path): Check cp_unevaluated_operand rather + than skip_evaluation. + * typeck.c (build_class_member_access_expr): Likewise. + (cp_build_binary_op): Don't warn about bad shift counts if + c_inhibit_evaluation_warnings is non-zero. + * pt.c (coerce_template_parms): Save state of + cp_unevaluated_operand and c_inhibit_evaluation_warnings, not + skip_evaluation. + (tsubst_aggr_type): Likewise. + (tsubst_pack_expansion): Check cp_unevaluated_operand rather than + skip_evaluation. + (tsubst_copy): Likewise. + (tsubst): Set cp_unevaluated_operand and + c_inhibit_evaluation_warnings, not skip_evaluation. + (tsubst_copy_and_build): Likewise. + * call.c (convert_arg_to_ellipsis): Check cp_unevaluated_operand + rather than skip_evaluation. + * decl2.c (mark_used): Likewise. + * semantics.c (finish_non_static_data_member): Likewise. + * cvt.c (cp_convert_and_check): Check + c_inhibit_evaluation_warnings rather than skip_evaluation. + * mangle.c (write_type): Set cp_unevaluated_operand rather than + skip_evaluation. + +2009-06-15 Ian Lance Taylor <iant@google.com> + + * parser.c (cp_parser_direct_declarator): Add braces around + variables declared before label. + +2009-06-15 Rafael Avila de Espindola <espindola@google.com> + + * cp-objcp-common.h (LANG_HOOKS_COMDAT_GROUP): Remove. + * cp-tree.h (cxx_comdat_group): Change signature. + * decl.c (duplicate_decls): Use DECL_COMDAT_GROUP. + (cxx_comdat_group): Change signature. + * decl2.c (comdat_linkage, maybe_make_one_only): Update call to + make_decl_one_only. + (constrain_visibility, get_guard): Use DECL_COMDAT_GROUP. + * method.c (use_thunk): Update call to make_decl_one_only. + * optimize.c (maybe_clone_body): Use DECL_COMDAT_GROUP + +2009-06-12 Aldy Hernandez <aldyh@redhat.com> + + * typeck.c (cp_build_binary_op): Pass location to overflow_warning. + (build_modify_expr): New arg. + * semantics.c (finish_unary_op_expr): Pass location to + overflow_warning. + (handle_omp_for_class_iterator): Pass location to build_modify_expr. + * typeck.c (cxx_sizeof_or_alignof_type): Pass location to + c_sizeof_or_alignof_type. + (build_array_ref): New argument. + (build_compound_expr): Same. + (build_const_cast): Same. + (build_ptrmemfunc): Pass location to build_c_cast. + * init.c (avoid_placement_new_aliasing): Pass location to + build_stmt. + (build_vec_delete_1): Pass location to cp_build_modify_expr, + build_compound_expr. + * class.c (build_vtbl_ref_1): Pass location to build_array_ref. + * decl.c (poplevel): Pass location to c_build_bind_expr. + (finish_case_label): Pass location to build_case_label. + (finish_constructor_body): Same. + (finish_destructor_body): Pass location to build_stmt. + (cxx_maybe_build_cleanup): Same, but to build_compound_expr. + * call.c (build_new_op): Pass location to build_array_ref. + (build_x_va_arg): Pass location to build_va_arg. + * except.c (expand_end_catch_block): Pass location to + build_stmt. + * cp-tree.h (build_array_ref): New argument. + (build_compound_expr): Same. + (build_c_cast): Same. + * cp-gimplify.c (gimplify_if_stmt): Pass location on down. + (gimplify_switch_stmt): Same. + * typeck2.c (split_nonconstant_init_1): Same. + * pt.c (tsubst_copy): Same. + * semantics.c (add_decl_expr): Same. + (do_poplevel): Same. + (push_cleanup): Same. + (finish_goto_stmt): Same. + (finish_expr_stmt): Same. + (begin_if_stmt): Same. + (begin_while_stmt): Same. + (begin_do_stmt): Same. + (finish_return_stmt): Same. + (begin_for_stmt): Same. + (finish_break_stmt): Same. + (finish_continue_stmt): Same. + (begin_switch_stmt): Same. + (begin_try_block): Same. + (begin_handler): Same. + (finish_asm_stmt): Same. + (finish_label_stmt): Same. + (finish_stmt_expr_expr): Same. + (finalize_nrv_r): Same. + (finish_omp_atomic): Same. + * name-lookup.c (do_using_directive): Same. + * decl2.c (grok_array_decl): Same. + * parser.c (cp_parser_cast_expression): Same. + (cp_parser_selection_statement): Same. + (cp_parser_implicitly_scoped_statement): Same. + (cp_parser_objc_selector_expression): Same. + (cp_parser_objc_synchronized_statement): Same. + (cp_parser_objc_throw_statement): Same. + (cp_parser_omp_critical): Same. + (cp_parser_omp_master): Same. + * typeck.c (build_function_call): Add location argument. + * init.c: Add location argument to all build_decl calls. + * class.c: Same. + * method.c: Same. + * rtti.c: Same. + * tree.c: Same. + * pt.c: Same. + * semantics.c: Same. + * lex.c: Same. + * decl2.c: Same. + * cp-gimplify.c: Same. + * decl.c: Same. + (cp_make_fname_decl): Add location argument. Pass location ot + build_decl. + (finish_case_label): Same. + * cp-tree.h (finish_case_label): Add location argument. + * parser.c (cp_parser_label_for_labeled_statement): Pass location to + finish_case_label. + +2009-06-09 Jason Merrill <jason@redhat.com> + + PR c++/40381 + * decl2.c (mark_used): Return after complaining about deleted fn. + +2009-06-08 Jason Merrill <jason@redhat.com> + + * parser.c (cp_parser_type_id_1): 'auto' type is ok with a + late-specified return type. + +2009-06-08 Jakub Jelinek <jakub@redhat.com> + + PR c++/40373 + * call.c (check_dtor_name): Return false even if + get_type_value (name) is error_mark_node. + + PR c++/40370 + PR c++/40372 + * parser.c (cp_parser_direct_declarator): Don't set TREE_SIDE_EFFECTS + on error_mark_node. Check for VLAs outside of function context + before check whether to wrap bounds into a NOP_EXPR with + TREE_SIDE_EFFECTS. + +2009-06-08 Alexandre Oliva <aoliva@redhat.com> + + * repo.c (get_base_filename): Use aux_base_name rather than + alternate temporary file during second compare debug compilation. + (finish_repo): Skip during -fcompare-debug-second. + +2009-06-06 Ian Lance Taylor <iant@google.com> + + * parser.c (cp_parser_label_for_labeled_statement): Support + attribute on labels if immediately followed by semicolon. + * semantics.c (finish_label_stmt): Return new label. + * pt.c (tsubst_expr): Handle attributes for LABEL_EXPR. + +2009-06-03 Ian Lance Taylor <iant@google.com> + + * Make-lang.in (cc1plus-checksum.o): Depend upon $(CONFIG_H) and + $(SYSTEM_H). + +2009-06-02 Mark Mitchell <mark@codesourcery.com> + + * decl.c (maybe_deduce_size_from_array_init): Use relayout_decl. + +2009-06-02 Jason Merrill <jason@redhat.com> + + PR c++/40308 + PR c++/40311 + * typeck.c (cp_build_modify_expr): Always pass init-lists to the + conversion code. + * call.c (implicit_conversion): Allow init-list conversion to scalar + during direct-initialization, too. Mark the conversion bad if it + has too many levels of braces. + (convert_like_real): And give a helpful error. + + PR c++/40306 + PR c++/40307 + * decl.c (cp_finish_decl): Handle auto deduction from (). + * typeck.c (build_x_indirect_ref): Handle dereferencing an operand + with dependent type that is known to be a pointer. + +2009-06-02 Simon Martin <simartin@users.sourceforge.net> + + PR c++/38089 + * pt.c (register_specialization): Properly setup DECL_CONTEXT for + specializations in an invalid namespace. + +2009-06-01 Aldy Hernandez <aldyh@redhat.com> + + * error.c (print_instantiation_partial_context): Print column + numbers. + +2009-05-29 Ian Lance Taylor <iant@google.com> + + * error.c (cp_printer): Don't use va_arg with enum type. + +2009-05-28 Dodji Seketeli <dodji@redhat.com> + + PR c++/39754 + * cp-tree.h (canonical_type_variant): Remove this function declaration. + (strip_typedefs): New function declaration. + * tree.c (strip_typedefs): New function definition. + (canonical_type_variant): Remove function definition. + * cvt.c (convert_from_reference): No need to use + canonical_type_variant. + * typeck.c (cp_build_indirect_ref): Likewise. + * error.c (dump_template_bindings): Use strip_typedefs instead of + canonical_type_variant. + * pt.c (convert_template_argument, unify): Likewise. + * mangle.c (canonicalize_for_substitution): Don't use + canonical_type_variant. + +2009-05-27 Jason Merrill <jason@redhat.com> + + * call.c (implicit_conversion): Handle conversion from + initializer-list to scalar. + (convert_like_real): Likewise. Avoid crashing on list + initialization with bad conversions. + (can_convert): Use LOOKUP_EXPLICIT. + (can_convert_arg_bad): Add flags parm. + * cp-tree.h: Adjust. + * typeck.c (convert_for_assignment): Pass flags. + +2009-05-27 Ian Lance Taylor <iant@google.com> + + * Make-lang.in (g++$(exeext)): Change $(COMPILER) to $(LINKER). + (cc1plus-dummy$(exeext), cc1plus$(exeext)): Likewise. + +2009-05-26 Ian Lance Taylor <iant@google.com> + + * Make-lang.in (g++spec.o): Use $(COMPILER). + (g++$(exeext), cc1plus-dummy$(exeext)): Likewise. + (cc1plus$(exeext)): Likewise. + +2009-05-26 Dodji Seketeli <dodji@redhat.com> + + PR c++/40007 + * cp-tree.h (MEMBER_TYPES_NEEDING_ACCESS_CHECK): Remove this accessor. + (TI_TYPEDEFS_NEEDING_ACCESS_CHECKING): New accessor. + (get_types_needing_access_check): Declare new entry point. + * pt.c (append_type_to_template_for_access_check_1, + get_types_needing_access_check): New functions. + (perform_typedefs_access_check): Accept FUNCTION_DECLs and + RECORD_TYPEs rather than TEMPLATE_DECLs. Use the new + get_types_needing_access_check, no more + MEMBER_TYPES_NEEDING_ACCESS_CHECK. + (instantiate_class_template): Set input_location to the source + location of the most specialized template definition. + Perform access check using the RECORD_TYPE of the template, not its + associated most generic TEMPLATE_DECL. + (append_type_to_template_for_access_check): Augment function + comments. Use the new get_types_needing_access_check, not + MEMBER_TYPE_NEEDING_ACCESS_CHECK. Use the new + append_type_to_template_for_access_check_1 subroutine. + +2009-05-22 Jason Merrill <jason@redhat.com> + + PR c++/38064 + * typeck.c (cp_build_binary_op): Allow ENUMERAL_TYPE in + arithmetic comparisons. + (cp_common_type): Handle scoped enums. + + * call.c (promoted_arithmetic_type_p): Don't use INTEGRAL_TYPE_P. + (add_builtin_candidate, add_builtin_candidates): Likewise. + (convert_like_real): Likewise. + * class.c (check_bitfield_decl): Likewise. + * decl.c (check_static_variable_definition): Likewise. + (compute_array_index_type): Likewise. + * decl2.c (grokbitfield): Likewise. + * init.c (build_new_1): Likewise. + * pt.c (convert_nontype_argument): Likewise. + (current_instantiation): Likewise. + * tree.c (pod_type_p): Likewise. + * typeck.c (build_static_cast_1): Likewise. + (build_reinterpret_cast_1): Likewise. + +2009-05-22 Richard Guenther <rguenther@suse.de> + + PR middle-end/38964 + * init.c (avoid_placement_new_aliasing): Remove. + (build_new_1): Do not call it. + +2009-05-22 Mark Mitchell <mark@codesourcery.com> + + * decl2.c (decl_needed_p): Consider dllexport'd functions needed. + * semantics.c (expand_or_defer_fn): Similarly. + +2009-05-20 Ian Lance Taylor <iant@google.com> + + * parser.c (cp_parser_postfix_expression): Change args to a vec. + Release it when done. + (tree_vector): Define typedef. Define VEC functions. + (cp_parser_parenthesized_expression_list): Change return type to + vec. Change all callers. + (cp_parser_new_expression): Change placement and initializer to + vecs. Release them when done. + (cp_parser_new_placement): Change return type to vec. Change all + callers. + (cp_parser_new_initializer): Likewise. + * typeck.c (build_function_call_vec): Just call + cp_build_function_call_vec. + (cp_build_function_call): Just build a vec and call + cp_build_function_call_vec. + (cp_build_function_call_vec): New function based on old + cp_build_function_call. + (convert_arguments): Remove nargs and argarray parameters. Change + values to a vec. Change caller. + (build_x_compound_expr_from_vec): New function. + (cp_build_modify_expr): Build vec to pass to + build_special_member_call. + * call.c (struct z_candidate): Add first_arg field. Change args + field to vec. + (convert_class_to_reference): Handle first argument separately. + (add_candidate): Add first_arg parameter. Change args parameter + to vec. Change all callers. + (add_function_candidate, add_conv_candidate): Likewise. + (add_template_candidate_real, add_template_candidate): Likewise. + (add_template_conv_candidate): Likewise. + (build_user_type_conversion_1): Handle first argument separately. + (resolve_args): Change return type and parameter type to vecs. + Change all callers. + (perform_overload_resolution): Change args parameter to vec. + Change all callers. + (build_new_function_call, build_operator_new_call): Likewise. + (add_candidates): Likewise. + (build_op_call): New globally visible function, built from and + replacing static function build_object_call. + (build_new_op): Don't handle CALL_EXPR. Build vec, not tree_list, + of arguments. + (build_op_delete_call): Build vec to pass to + cp_build_function_call_vec. + (build_temp): Build vec to pass to build_special_member_call. + (convert_like_real): Likewise. + (perform_direct_initialization_if_possible): Likewise. + (build_over_call): Handle first_arg field. Use build_call_array + rather than build_call_list. + (build_special_member_call): Change args parameter to vec. Change + all callers. + (build_new_method_call): Likewise. + * init.c (expand_default_init): Change parms to vec. + (build_raw_new_expr): Change placement and init to vecs. Change + all callers. + (build_new_1, build_new): Likewise. + * class.c (resolve_address_of_overloaded_function): Build array to + pass to fn_type_unification. + * pt.c (tsubst_copy_and_build): For NEW_EXPR build vecs to pass to + build_new. For CALL_EXPR create a vec rather than a tree_list; + expand a pack if necessary. + (fn_type_unification): Change args parameter to const tree *. Add + nargs parameter. Change all callers. + (type_unification_real): Likewise. + (unify): Build array to pass to type_unification_real. + (get_bindings): Build array to pass to fn_type_unification. + (any_type_dependent_arguments_p): Change args parameter to a vec. + Change all callers. + (make_args_non_dependent): Renamed from build_non_dependent_args. + Change return type to void. Change parameter type to vec. Change + all callers. + (do_auto_deduction): Pass an array to type_unification_real. + * semantics.c (perform_koenig_lookup): Change args to vec. Change + all callers. + (finish_call_expr): Change args to vec. Change all callers. Call + build_op_call instead of passing CALL_EXPR to build_new_op. + (cxx_omp_create_clause_info): Allocate vec to pass to + build_special_member_call. + * decl2.c (build_offset_ref_call_from_tree): Change args parameter + to vec. Change all callers. + * name-lookup.c (lookup_function_nonclass): Likewise. + (struct arg_lookup): Change args to vec. + (arg_assoc_namespace): Handle args as a vec. + (arg_assoc_args_vec): New static function. + (lookup_arg_dependent): Change args parameter to vec. Change all + callers. + * method.c (do_build_assign_ref): Allocate vec to pass to + build_special_member_call. + * except.c (build_throw): Likewise. + * typeck2.c (build_functional_cast): Likewise. + * cvt.c (ocp_convert): Likewise. + * tree.c (build_min_non_dep_call_vec): Change last parameter to + vec. Change all callers. + * cp-tree.h: Update declarations. + * name-lookup.h: Update declarations. + +2009-05-20 Sandra Loosemore <sandra@codesourcery.com> + + * typeck.c (default_conversion): Check targetm.promoted_type. + * decl.c (grokdeclarator): Check targetm.invalid_return_type. + (grokparms): Check targetm.invalid_parameter_type. + * cvt.c (ocp_convert): Check targetm.convert_to_type. + (build_expr_type_conversion): Check targetm.promoted_type. + +2009-05-19 Andrew Pinski <andrew_pinski@playstation.sony.com> + + * typeck.c (build_binary_op): Allow % on integal vectors. + +2009-05-18 Jason Merrill <jason@redhat.com> + + Implement explicit conversions ops as specified in N2437. + * decl.c (grokdeclarator): Handle explicit conversion ops. + (check_initializer): Pass flags to store_init_value. + * decl2.c (maybe_emit_vtables): Likewise. + * init.c (expand_aggr_init_1): Likewise. + * call.c (convert_class_to_reference): Take flags parm, + check DECL_NONCONVERTING_P. + (build_user_type_conversion_1): Check DECL_NONCONVERTING_P. + (add_builtin_candidates): Simplify getting type of conversion. + (build_object_call): Likewise. Check DECL_NONCONVERTING_P. + (implicit_conversion): Pass through LOOKUP_ONLYCONVERTING. + (reference_binding): Take flags parm. Direct-initialize copy parm. + (add_function_candidate): Direct-initialize the copy parm. + (add_conv_candidate): Use LOOKUP_IMPLICIT, not LOOKUP_NORMAL. + (build_builtin_candidate): Add LOOKUP_ONLYCONVERTING. + (conditional_conversion): Likewise. + (convert_like_real): Only complain about DECL_NONCONVERTING_P + constructors. + (perform_implicit_conversion_flags): Add flags parm to + perform_implicit_conversion. Improve diagnostics. + * cp-tree.h (LOOKUP_IMPLICIT): New macro. + (LOOKUP_COPY_PARM): New bit macro. + * cvt.c (build_expr_type_conversion): Check DECL_NONCONVERTING_P. + * typeck.c (convert_for_assignment): Take flags parm, pass it to + perform_implicit_conversion_flags. + (cp_build_modify_expr): Pass flags to convert_for_assignment. + (convert_for_initialization): Likewise. + * typeck2.c (store_init_value): Take flags parm, pass to + digest_init_flags. + (digest_init_flags): Add flags parm to digest_init. + (digest_init_r): Take flags parm, pass to convert_for_initialization. + (process_init_constructor_array): Pass it. + (process_init_constructor_record): Likewise. + (process_init_constructor_union): Likewise. + +2009-05-16 Jason Merrill <jason@redhat.com> + + PR c++/40139 + * pt.c (tsubst_qualified_id): Retain the type if we aren't dealing + with a dependent type. Actually look up the destructor. + * semantics.c (finish_id_expression): Fix logic. + (finish_qualified_id_expr): Don't try to use 'this' if we aren't in + a function. + * typeck.c (build_x_unary_op): Diagnose taking the address of a + constructor or destructor. + * tree.c (get_first_fn): Handle OFFSET_REF. + +2009-05-17 Joseph Myers <joseph@codesourcery.com> + + * tree.c (cxx_printable_name_internal): Allow consecutive + translated and untranslated cached copies of the name of the + current function. + +2009-05-15 Ian Lance Taylor <iant@google.com> + + * cp-tree.h (enum cp_lvalue_kind_flags): Rename from + cp_lvalue_kind. Change all uses. + (enum base_access_flags): Rename from enum base_access. Change + all uses. + * parser.c (enum cp_parser_flags): Remove enum tag. + +2009-05-15 Manuel López-Ibáñez <manu@gcc.gnu.org> + + PR 16302 + * call.c (build_new_op): Update calls to warn_logical_operator. + +2009-05-14 Ian Lance Taylor <iant@google.com> + + * class.c (layout_class_type): Change itk to unsigned int. + * decl.c (finish_enum): Change itk to unsigned int. + * parser.c (cp_parser_check_decl_spec): Change ds to int. Remove + casts. + +2009-05-13 David Mandelin <dmandelin@mozilla.com>: + + * decl.c (duplicate_decls): Preserve parameter attributes. + +2009-05-10 Jan Hubicka <jh@suse.cz> + + * decl2.c (cxx_callgraph_analyze_expr): Use + cgraph_mark_address_taken. + +2009-05-10 Joseph Myers <joseph@codesourcery.com> + + * call.c (name_as_c_string): Call type_as_string_translate. + Translate identifiers to locale character set. + * cp-tree.h (lang_decl_name): Update prototype. + (type_as_string_translate, decl_as_string_translate, + cxx_printable_name_translate): Declare. + * cxx-pretty-print.c (M_): Define. + (pp_cxx_unqualified_id, pp_cxx_canonical_template_parameter): Mark + English fragments for conditional translation with M_. + * decl.c (grokdeclarator): Translate identifiers to locale + character set for diagnostics. + * error.c (M_): Define. + (dump_template_bindings, dump_type, dump_aggr_type, + dump_type_prefix, dump_global_iord, dump_simple_decl, dump_decl, + dump_function_decl, dump_template_parms, dump_expr, + dump_binary_op, op_to_string, assop_to_string): Mark English + fragments for conditional translation with M_. + (type_as_string): Disable translation of identifiers. + (type_as_string_translate): New. + (expr_as_string): Disable translation of identifiers. + (decl_as_string): Disable translation of identifiers. + (decl_as_string_translate): New. + (lang_decl_name): Add parameter translate. + (args_to_string): Call type_as_string_translate. + (cp_print_error_function): Call cxx_printable_name_translate. + (print_instantiation_full_context, + print_instantiation_partial_context): Call + decl_as_string_translate. + * parser.c (cp_lexer_get_preprocessor_token): Use %qE for + identifier in diagnostic. + * tree.c (cxx_printable_name): Change to + cxx_printable_name_internal. Add parameter translate. + (cxx_printable_name, cxx_printable_name_translate): New wrappers + round cxx_printable_name_internal. + +2009-05-08 H.J. Lu <hongjiu.lu@intel.com> + + PR c/36892 + * call.c (build_call_a): Updated warn_deprecated_use call. + (build_over_call): Likewise. + * decl.c (grokdeclarator): Likewise. + (grokparms): Likewise. + * semantics.c (finish_id_expression): Likewise. + * typeck.c (build_class_member_access_expr): Likewise. + (finish_class_member_access_expr): Likewise. + +2009-05-06 Dodji Seketeli <dodji@redhat.com> + + PR c++/17395 + * pt.c (tsubst_copy) <case PARM_DECL>: We don't want to tsubst the + whole list of PARM_DECLs, just the current one. + +2009-05-05 Shujing Zhao <pearly.zhao@oracle.com> + + * cp-tree.h: + (opname_tab, assignop_tab, update_member_visibility, yyerror, yyhook, + mangle_compound_literal): Remove unused declarations. + (build_vfield_ref, cxx_print_statistics, clone_function_decl, + adjust_clone_args, maybe_push_cleanup_level, pushtag, make_anon_name, + pushdecl_top_level_maybe_friend, pushdecl_top_level_and_finish, + check_for_out_of_scope_variable, print_other_binding_stack, + maybe_push_decl, cxx_mark_addressable, force_target_expr, + build_target_expr_with_type, finish_case_label, + cxx_maybe_build_cleanup, begin_eh_spec_block, finish_eh_spec_block, + check_template_keyword, cxx_omp_predetermined_sharing, + cxx_omp_clause_default_ctor, cxx_omp_clause_copy_ctor, + cxx_omp_clause_assign_op, cxx_omp_clause_dtor, cxx_omp_finish_clause, + cxx_omp_privatize_by_reference): Rearrange the declarations line to + match the comment that indicates the .c file which the functions are + defined. + (cxx_print_xnode, cxx_print_decl, cxx_print_type, + cxx_print_identifier, cxx_print_error_function, pushdecl): Add comment. + +2009-05-05 Nathan Sidwell <nathan@codesourcery.com> + + * typeck.c (cp_build_compound_expr): Require RHS to have a known + type. + * class.c (resolve_address_of_overloaded_function): Use + OVL_CURRENT for error message. + (instantiate_type): Forbid COMPOUND_EXPRs and remove code dealing + with them. Do not copy the node. + +2009-05-05 Jakub Jelinek <jakub@redhat.com> + + PR c++/40013 + * pt.c (tsubst): If magic NOP_EXPR with side-effects has no type, + set it from its operand's type after tsubst_expr. + +2009-05-04 Manuel Lopez-Ibanez <manu@gcc.gnu.org> + + PR c++/28152 + * parser.c (cp_lexer_get_preprocessor_token): Do not store the + canonical spelling for keywords. + (cp_parser_attribute_list): Use the canonical spelling for + keywords in attributes. + +2009-05-01 Joseph Myers <joseph@codesourcery.com> + + * cxx-pretty-print.c (is_destructor_name, pp_cxx_unqualified_id, + pp_cxx_template_keyword_if_needed, pp_cxx_postfix_expression, + pp_cxx_new_expression, pp_cxx_delete_expression, + pp_cxx_unary_expression, pp_cxx_assignment_operator, + pp_cxx_assignment_expression, pp_cxx_expression, + pp_cxx_function_specifier, pp_cxx_decl_specifier_seq, + pp_cxx_simple_type_specifier, pp_cxx_type_specifier_seq, + pp_cxx_exception_specification, pp_cxx_direct_declarator, + pp_cxx_ctor_initializer, pp_cxx_type_id, pp_cxx_statement, + pp_cxx_namespace_alias_definition, pp_cxx_template_parameter, + pp_cxx_canonical_template_parameter, pp_cxx_template_declaration, + pp_cxx_declaration, pp_cxx_typeid_expression, + pp_cxx_va_arg_expression, pp_cxx_offsetof_expression, + pp_cxx_trait_expression): Mostly use pp_string and + pp_cxx_ws_string in place of pp_identifier and pp_cxx_identifier + for non-identifiers. Mark English strings for translation. + * cxx-pretty-print.h (pp_cxx_ws_string): Define. + * error.c (dump_template_parameter, dump_template_bindings, + dump_type, dump_aggr_type, dump_type_prefix, dump_simple_decl, + dump_decl, dump_template_decl, dump_function_decl, + dump_parameters, dump_exception_spec, dump_template_parms, + dump_expr, dump_binary_op, dump_unary_op, op_to_string, + assop_to_string, args_to_string, cp_print_error_function, + print_instantiation_full_context, + print_instantiation_partial_context): Mostly use pp_string and + pp_cxx_ws_string in place of pp_identifier and pp_cxx_identifier + for non-identifiers. Mark English strings for translation. + (dump_global_iord): Mark strings for translation; use longer + strings instead of substituting single words. + (function_category): Return a format string marked for + translation, not a single word or phrase to substitute in a longer + phrase. + +2009-04-28 Ben Elliston <bje@au.ibm.com> + + PR c++/35652 + Revert: + + 2009-03-27 Manuel Lopez-Ibanez <manu@gcc.gnu.org> + + * typeck.c (cp_pointer_sum): Adjust call to pointer_int_sum. + +2009-04-27 Ian Lance Taylor <iant@google.com> + + * semantics.c (finish_omp_clauses): Change type of c_kind to enum + omp_clause_code. + +2009-04-27 Jakub Jelinek <jakub@redhat.com> + + PR c++/39875 + * cvt.c (convert_to_void) <case INDIRECT_REF>: Only warn about + -Wunused-value if implicit. + +2009-04-24 Ian Lance Taylor <iant@google.com> + + * call.c (build_temp): Change 0 to enum constant. + * cp-tree.h (cp_lvalue_kind): Typedef to int rather than enum + type. + * cp-gimplify.c (cp_gimplify_expr): Add cast to enum type. + * decl2.c (constrain_visibility): Likewise. + * parser.c (cp_lexer_get_preprocessor_token): Likewise. + (cp_parser_flags): Typedef to int rather than enum type. + (cp_parser_expression_stack_entry): Change prec field to enum + cp_parser_prec. + + * typeck.c (build_modify_expr): Add lhs_origtype parameter. + Change all callers. + +2009-04-22 Dodji Seketeli <dodji@redhat.com> + + PR c++/39639 + * parser.c (cp_parser_template_argument_list): Display an error + when an ellipsis is not preceded by a parameter pack. Also, warn + about variadic templates usage without -std=c++0x. + +2009-04-21 Taras Glek <tglek@mozilla.com> + + * cp-tree.h: Update GTY annotations to new syntax. + * decl.c: Likewise. + * mangle.c: Likewise. + * name-lookup.c: Likewise. + * name-lookup.h: Likewise. + * parser.c: Likewise. + * pt.c: Likewise. + * rtti.c: Likewise. + * semantics.c: Likewise. + * typeck2.c: Likewise. + +2009-04-22 Manuel Lopez-Ibanez <manu@gcc.gnu.org> + + PR c++/14875 + * parser.c (cp_parser_error): Pass token->flags to c_parse_error. + +2009-04-21 Manuel Lopez-Ibanez <manu@gcc.gnu.org> + + PR c++/35711 + * typeck.c (check_for_casting_away_constness): We diagnose casting + away any qualifiers not just constness. + (casts_away_constness): Mention that it handles more than just + constness. + +2009-04-21 Joseph Myers <joseph@codesourcery.com> + + * ChangeLog, ChangeLog-1993, ChangeLog-1994, ChangeLog-1995, + ChangeLog-1996, ChangeLog-1997, ChangeLog-1998, ChangeLog-1999, + ChangeLog-2000, ChangeLog-2001, ChangeLog-2002, ChangeLog-2003, + ChangeLog-2004, ChangeLog-2005, ChangeLog-2006, ChangeLog-2007, + ChangeLog-2008, ChangeLog.ptr, ChangeLog.tree-ssa, NEWS, + cfns.gperf: Add copyright and license notices. + * cfns.h: Regenerate. + * ChangeLog, ChangeLog-2004: Correct dates. + +2009-04-21 Manuel López-Ibáñez <manu@gcc.gnu.org> + + PR 16202 + * tree.c (lvalue_p_1): Use const_tree. + Use CONST_CAST_TREE to avoid warning. + (lvalue_p): Returns bool, receives const_tree. + +2009-04-21 Manuel Lopez-Ibanez <manu@gcc.gnu.org> + + PR c++/13358 + * parser.c (cp_parser_check_decl_spec): Drop redundant flags. + * error.c (pedwarn_cxx98): New. + * cp-tree.h (pedwarn_cxx98): Declare. + +2009-04-20 Le-Chun Wu <lcwu@google.com> + + PR c++/39803 + * init.c (build_vec_init): Set TREE_NO_WARNING on the + compiler-generated INDIRECT_REF expression. + +2009-04-20 Ian Lance Taylor <iant@google.com> + + * typeck.c (build_function_call_vec): New function. + (cp_build_function_call): Only pass first parameter to + objc_rewrite_function_call. + (build_modify_expr): Add rhs_origtype parameter. Change all + callers. + * decl.c (finish_decl): Add origtype parameter. Change all + callers. + * semantics.c (finish_call_expr): Pass VEC to + resolve_overloaded_builtin. + +2009-04-20 Ian Lance Taylor <iant@google.com> + + * cp-tree.h (base_access): Change typedef to int. + * parser.c (cp_parser_omp_flush): Change 0 to OMP_CLAUSE_ERROR. + (cp_parser_omp_threadprivate): Likewise. + * pt.c (unify_pack_expansion): Add casts to enum type. + +2009-04-19 Manuel López-Ibáñez <manu@gcc.gnu.org> + + PR c/32061 + PR c++/36954 + * call.c (build_new_op): Save the original codes of operands + before folding. + +2009-04-18 Kazu Hirata <kazu@codesourcery.com> + + * cp-tree.h: Remove the prototype for insert_block. + * decl.c (insert_block): Remove. + +2009-04-16 Ian Lance Taylor <iant@google.com> + + * cp-tree.h (enum tsubst_flags): Rename from enum tsubst_flags_t. + (tsubst_flags_t): Change typedef from enum type to int. + +2009-04-16 Paolo Bonzini <bonzini@gnu.org> + + * decl.c (check_initializer): Use TYPE_VECTOR_OPAQUE + instead of targetm.vector_opaque_p. + +2009-04-15 Le-Chun Wu <lcwu@google.com> + + PR c++/39551 + * call.c (build_over_call): Set TREE_NO_WARNING on the + compiler-generated INDIRECT_REF expression. + * cvt.c (convert_to_void): Emit warning when stripping off + INDIRECT_REF. + +2009-04-14 Diego Novillo <dnovillo@google.com> + + * parser.c (cp_parser_type_specifier_seq): Move call to + invoke_plugin_callbacks ... + (cp_parser_type_specifier_seq): ... here. + +2009-04-14 Le-Chun Wu <lcwu@google.com> + + * Make-lang.in: Modify dependencies of files including plugin.h. + * decl.c (finish_function): Call invoke_plugin_callbacks. + * parser.c (cp_parser_type_specifier): Call invoke_plugin_callbacks. + +2009-04-14 Jason Merrill <jason@redhat.com> + + PR c++/39763 + * name-lookup.c (pushdecl_maybe_friend): Avoid all warnings + about shadowing by tentative parms. + +2009-04-13 Jason Merrill <jason@redhat.com> + + PR c++/39480 + * call.c (build_over_call): Don't call memcpy if the target is + the same as the source. + +2009-04-13 Jason Merrill <jason@redhat.com> + + PR c++/39750 + * pt.c (uses_template_parms): Handle CONSTRUCTOR. + +2009-04-12 Jason Merrill <jason@redhat.com> + + PR c++/39742 + * call.c (joust): Don't crash on variadic fn. + +2009-04-10 Jason Merrill <jason@redhat.com> + + PR c++/28301 + * parser.c (cp_parser_skip_to_end_of_block_or_statement): Return + if we see a close brace without an open brace. + +2009-04-10 H.J. Lu <hongjiu.lu@intel.com> + + * parser.c (cp_parser_class_specifier): Remove the unused + has_trailing_semicolon. + +2009-04-10 Manuel López-Ibáñez <manu@gcc.gnu.org> + + PR c++/20118 + * parser.c (cp_parser_check_template_parameters): Take a + cp_declarator parameter. + (cp_parser_elaborated_type_specifier): Update to + cp_parser_check_template_parameters. + (cp_parser_class_head): Likewise. + (cp_parser_check_declarator_template_parameters): Likewise. + (cp_parser_check_template_parameters): Handle first the non-error + conditions. Give more accurate diagnostics if a declarator is + given. + +2009-04-08 Jason Merrill <jason@redhat.com> + + PR c++/25185 + * error.c (dump_aggr_type): Chase template typedefs if + -fno-pretty-templates. + +2009-04-08 Dodji Seketeli <dodji@redhat.com> + + PR c++/39637 + * parser.c (cp_parser_enumerator_definition): Make sure the + initializer of the enumerator doesn't contain any bare parameter pack. + +2009-04-07 Jason Merrill <jason@redhat.com> + + PR c++/34691 + * name-lookup.c (merge_functions): Keep multiple extern "C" functions. + * call.c (joust): Complain about mismatched default arguments + in extern "C" functions. + * class.c (resolve_address_of_overloaded_function): Handle multiple + extern "C" functions. + * pt.c (resolve_overloaded_unification): Likewise. + +2009-04-07 Jason Merrill <jason@redhat.com> + + PR c++/25185 + * error.c (dump_function_decl): Don't pretty-print templates + if -fno-pretty-templates. + (count_non_default_template_args): Print all args if + -fno-pretty-templates. + +2009-04-06 Jason Merrill <jason@redhat.com> + + PR c++/35146 + * pt.c (fn_type_unification): For DEDUCE_EXACT check that + the deduced template arguments give us the parameter types + we're looking for. + +2009-04-05 Giovanni Bajo <giovannibajo@libero.it> + Jason Merrill <jason@redhat.com> + + PR c++/14912 + * error.c (count_non_default_template_args): New fn. + (dump_template_parms): Call it. + (dump_template_argument_list): Call it. Add parms parm. + (dump_template_argument): Adjust call to dump_template_argument_list. + (dump_type, dump_decl): Likewise. + (dump_template_bindings): Refactor logic. + +2009-04-03 Jason Merrill <jason@redhat.com> + + PR c++/25185 + * error.c (dump_template_bindings): Look through typedefs in + typename results. + (dump_type) [TYPENAME_TYPE]: Print the typedef name if any. + (find_typenames_r): Also collect typedefs. + * pt.c (unify): Strip typedefs. + + PR c++/39608 + * semantics.c (finish_id_expression): Don't assume a dependent + member of the current instantiation isn't a valid integral + constant expression. Check dependent_scope_p. + * pt.c (dependent_scope_p): Check TYPE_P. + (tsubst_copy): If args is null, just return. + +2009-04-02 Jason Merrill <jason@redhat.com> + + PR c++/25185 + * error.c (find_typenames, find_typenames_r): New fns. + (dump_function_decl): Call find_typenames. + (dump_template_bindings): Print typenames as well. + * pt.c (tsubst): Non-static. + * cp-tree.h: Declare it. + +2009-04-02 Dodji Seketeli <dodji@redhat.com> + + PR c++/26693 + * decl2.c (grokfield): when a typedef appears in a + class, create the typedef variant type node for it. + (save_template_attributes): Creating typedef variant type node + here is now useless. + * decl.c (grokdeclarator): If the typedef'ed struct/class was + anonymous, set the proper type name to all its type variants. + (xref_basetypes) : Fixup the variant types after setting + TYPE_BINFO on REF. + * name-lookup.c (pushdecl_maybe_friend): Reuse the + set_underlying_type function to install typedef variant types. + * cp-tree.h (MEMBER_TYPES_NEEDING_ACCESS_CHECK): New template accessor + macro. + (append_type_to_template_for_access_check): New entry points. + * semantics.c (check_accessibility_of_qualified_id): + When a typedef that is a member of a class appears in a template, + add it to the template. It will be ... + * class.c (finish_struct_bits): Split type variant fixup into ... + (fixup_type_variants): A new entry point. + * pt.c (instantiate_class_template, instantiate_template ): ... access + checked at template instantiation time. + (resolve_type_name_type): The type name should be the name of the + main type variant. + (retrieve_specialization): Specializations of template typedefs aren't + to looked up in DECL_TEMPLATE_INSTANTIATIONS (tmpl). + (append_type_to_template_for_access_check): New entry point. + (tsubst_decl): For typedefs, build the variant type from the correct + original type. + (get_class_bindings): Fix function comment. + (perform_typedefs_access_check): New entry point. + +2009-03-31 Jason Merrill <jason@redhat.com> + + PR c++/34691 + * name-lookup.c (pushdecl_maybe_friend): Diagnose mismatched + extern "C" declarations. + + C++ DR 613 + * semantics.c (finish_non_static_data_member): Allow such references + without an associated object in sizeof/decltype/alignof. + + * ptree.c (cxx_print_decl): Pretty-print full name of + function/template. + (cxx_print_type): Pretty-print full name of class. + + * decl.c (grokdeclarator): Reject pointer to qualified function + type. + + PR c++/37806, core issue 547 + * typeck.c (cp_apply_type_quals_to_decl): Don't apply any quals + to a typedef. + * tree.c (cp_build_qualified_type_real): Don't apply restrict to a + function type. + * decl.h (enum decl_context): Add TEMPLATE_TYPE_ARG. + * decl.c (groktypename): Add is_template_arg parameter. + (grokdeclarator): Allow function cv-quals on a template type arg. + * parser.c (cp_parser_new_type_id, cp_parser_type_id): Add + is_template_arg argument in calls to groktypename. + * cp-tree.h: Adjust prototype. + * error.c (dump_type_prefix, dump_type_suffix): Fix plain + FUNCTION_TYPE printing. + + * mangle.c (write_expression): Mangle dependent name as + source-name. + + PR c++/38030, 38850, 39070 + * pt.c (type_dependent_expression_p_push): New fn. + (tsubst_copy_and_build) [CALL_EXPR]: Only do arg-dep lookup when the + substitution makes the call non-dependent. Preserve koenig_p. + * parser.c (cp_parser_postfix_expression): Only do arg-dep lookup + for non-dependent calls. + * semantics.c (finish_call_expr): Revert earlier changes. + * cp-tree.h: Revert change to finish_call_expr prototype. + +2009-03-29 Joseph Myers <joseph@codesourcery.com> + + PR preprocessor/34695 + * cp-tree.h (cp_cpp_error): Remove. + * error.c (cp_cpp_error): Remove. + * parser.c (cp_lexer_new_main): Set done_lexing instead of + client_diagnostic and error callback. + +2009-03-28 Paolo Bonzini <bonzini@gnu.org> + + * cp/cp-objcp-common.h (LANG_HOOKS_STATICP): Remove. + * cp/cp-objcp-common.c (cxx_staticp): Remove. + * cp/cp-tree.h (cxx_staticp): Remove. + +2009-03-28 Jakub Jelinek <jakub@redhat.com> + + PR c++/39554 + * parser.c (cp_parser_postfix_expression): Don't call + warning_if_disallowed_function_p. + +2009-03-27 Jan Hubicka <jh@suse.cz> + + * except.c (choose_personality_routine): Set terminate_node to abort + for java exceptions. + +2009-03-27 Dodji Seketeli <dodji@redhat.com> + Jakub Jelinek <jakub@redhat.com> + + PR debug/37959 + * cp-objcp-common.h (LANG_HOOKS_FUNCTION_DECL_EXPLICIT_P): Define. + (cp_function_decl_explicit_p): New prototype. + * cp-objcp-common.c (cp_function_decl_explicit_p): New function. + +2009-03-27 Andrew Pinski <andrew_pinski@playstation.sony.com> + + PR c++/38638 + * parser.c (cp_parser_elaborated_type_specifier): If we have a + typename tag and don't have either a TYPE_DECL or a + TEMPLATE_ID_EXPR, set the type to NULL. + +2009-03-27 Simon Martin <simartin@users.sourceforge.net> + + PR c++/37647 + * decl.c (grokdeclarator): Reject [con|de]stuctors in a non-class + scope. + +2009-03-27 Simon Martin <simartin@users.sourceforge.net> + + PR c++/29727 + * decl.c (check_array_designated_initializer): Handle error_mark_node. + +2009-03-27 Manuel Lopez-Ibanez <manu@gcc.gnu.org> + + PR c++/35652 + * typeck.c (cp_pointer_sum): Adjust call to pointer_int_sum. + +2009-03-26 Andrew Haley <aph@redhat.com> + + PR C++/39380 + * decl2.c (possibly_inlined_p): If java exceptions are in use + don't inline a decl unless it is explicitly marked inline. + * lex.c: (pragma_java_exceptions): New variable. + (handle_pragma_java_exceptions): Set pragma_java_exceptions. + * cp-tree.h (pragma_java_exceptions): Declare new variable. + +2009-03-24 Jason Merrill <jason@redhat.com> + + PR c++/28274 + * name-lookup.c (pushdecl_maybe_friend): Check default args later. + +2009-03-23 Jakub Jelinek <jakub@redhat.com> + + PR c/39495 + * semantics.c (handle_omp_for_class_iterator): Swap cond operands and + code if iter is the second operand. + * parser.c (cp_parser_binary_expression): Add no_toplevel_fold_p + argument. If it is set, don't build the toplevel expression with + build_x_binary_op, but build2. + (cp_parser_assignment_expression, cp_parser_omp_for_incr): Adjust + callers. + (cp_parser_omp_for_cond): Don't assume the first operand of the + comparison must be decl. + +2009-03-23 Jason Merrill <jason@redhat.com> + + PR c++/37729 + * pt.c (make_fnparm_pack): Split out from... + (instantiate_decl): ...here. + (tsubst_pack_expansion): Handle being called in a late-specified + return type. + + PR c++/39526 + * name-lookup.c (pushdecl_maybe_friend): Don't warn about shadowing + a parm with a parm. + +2009-03-20 Jason Merrill <jason@redhat.com> + + PR c++/28879 + * parser.c (cp_parser_direct_declarator): In a template, wrap + non-constant expression in NOP_EXPR with TREE_SIDE_EFFECTS set. + * pt.c (tsubst): Preserve it in a partial instantiation. + (dependent_type_p_r): Don't check value_dependent_expression_p. + * decl.c (compute_array_index_type): Don't check + value_dependent_expression_p if TREE_SIDE_EFFECTS. + + C++ core issue 703 + * typeck2.c (check_narrowing): Don't complain about loss of + precision when converting a floating-point constant. + +2009-03-19 Jakub Jelinek <jakub@redhat.com> + + PR c/39495 + * parser.c (cp_parser_omp_for_cond): Don't check lhs if decl is NULL. + (cp_parser_omp_for_loop): Always use cp_parser_omp_for_cond. + +2009-03-18 Jakub Jelinek <jakub@redhat.com> + + * parser.c (struct cp_token): Reorder fields for 64-bit hosts. + (eof_token): Adjust. + +2009-03-18 H.J. Lu <hongjiu.lu@intel.com> + + PR c++/39425 + * parser.c (cp_parser_explicit_specialization): Don't skip the + rest of the specialization when begin_specialization returns + false. + +2009-03-17 Jason Merrill <jason@redhat.com> + + * decl.c (grokfndecl): Set DECL_CONTEXT on parms. + (duplicate_decls): Adjust DECL_CONTEXT of newdecl's parms. + * pt.c (check_explicit_specialization): Likewise. + (tsubst_copy) [PARM_DECL]: Return a dummy parm if we don't have a + local specialization. + * tree.c (cp_tree_equal) [PARM_DECL]: Check type and index, not name. + * decl2.c (parm_index): New fn. + * semantics.c (finish_decltype_type): Don't use describable_type. + * mangle.c (write_expression): Likewise. Mangle ALIGNOF_EXPR. + Give a sorry for unsupported codes rather than crash. Mangle + conversions with other than 1 operand. New mangling for PARM_DECL. + * operators.def (ALIGNOF_EXPR): Mangle as "az". + +2009-03-17 Jing Yu <jingyu@google.com> + + PR middle-end/39378 + * method.c (use_thunk): Change is_thunk from crtl to cfun. + +2009-03-17 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/39475 + * semantics.c (check_trait_type): New. + (finish_trait_expr): Use it. + +2009-03-17 Jakub Jelinek <jakub@redhat.com> + + * name-lookup.c (cp_emit_debug_info_for_using): Emit USING_STMTs + instead of calling imported_module_or_decl debug hook if + building_stmt_tree (). + * cp-gimplify.c (cp_gimplify_expr): Don't assert the first operand + is a NAMESPACE_DECL. + + PR debug/37890 + * name-lookup.c (do_namespace_alias): Don't call global_decl debug + hook at function scope. + + PR debug/39471 + * cp-gimplify.c (cp_gimplify_expr): Don't set DECL_NAME + on IMPORTED_DECL. + +2009-03-09 Jakub Jelinek <jakub@redhat.com> + + PR c++/39371 + * semantics.c (finish_switch_cond): Don't call get_unwidened. + * decl.c (finish_case_label): Pass SWITCH_STMT_TYPE as 3rd argument + instead of TREE_TYPE (cond). + +2009-03-08 H.J. Lu <hongjiu.lu@intel.com> + + PR c++/39060 + * parser.c (cp_parser_late_parsing_default_args): Continue + the loop when cp_parser_assignment_expression returns + error_mark_node. + +2009-03-07 Jason Merrill <jason@redhat.com> + + PR c++/39367 + * init.c (build_new_1): Don't use a VLA type. + (build_vec_init): Handle getting a pointer for BASE. + +2009-03-06 H.J. Lu <hongjiu.lu@intel.com> + + PR c++/37520 + * cp-tree.h: Check NO_DOT_IN_LABEL before NO_DOLLAR_IN_LABEL + when mangling symbols. + +2009-03-06 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/33492 + * error.c (dump_expr): Don't try to print THROW_EXPRs in full. + +2009-03-06 Alexandre Oliva <aoliva@redhat.com> + + * decl.c (record_builtin_java_type): Use canonicalized integer + types. + +2009-03-04 Jason Merrill <jason@redhat.com> + + PR c++/38908 + * class.c (is_really_empty_class): New fn. + * cp-tree.h: Declare it. + * cp-objcp-common.c (cp_expr_size): Use it. + + PR c++/13549 + * semantics.c (perform_koenig_lookup): Handle TEMPLATE_ID_EXPR. + * parser.c (cp_parser_postfix_expression): Call it for + TEMPLATE_ID_EXPR. + * tree.c (is_overloaded_fn): Look through TEMPLATE_ID_EXPR. + (get_first_fn): Likewise. + + PR c++/9634 + PR c++/29469 + PR c++/29607 + Implement DR 224. + * decl.c (make_typename_type): Do look inside currently open classes. + * parser.c (cp_parser_lookup_name): Likewise. + (cp_parser_template_name): Likewise. + * pt.c (dependent_scope_p): New function. + * cp-tree.h: Declare it. + * class.c (currently_open_class): Return fast if T isn't a class. + +2009-02-26 H.J. Lu <hongjiu.lu@intel.com> + + PR c++/37789 + * parser.c (cp_parser_mem_initializer): Return error_mark_node + if cp_parser_mem_initializer_id returns error_mark_node. + +2009-02-24 Richard Guenther <rguenther@suse.de> + + PR c++/39242 + * pt.c (instantiate_decl): Do not instantiate extern, non-inline + declared functions. + +2009-02-23 H.J. Lu <hongjiu.lu@intel.com> + + PR c++/36411 + * pt.c (coerce_template_template_parms): Return 0 if parameter + is error_mark_node. + +2009-02-23 Jason Merrill <jason@redhat.com> + + * pt.c (unify): Call maybe_adjust_types_for_deduction when + deducing from an initializer list. + +2009-02-20 Jason Merrill <jason@redhat.com> + + PR c++/39225 + * decl.c (grokdeclarator): Handle ~identifier. + +2009-02-19 Jakub Jelinek <jakub@redhat.com> + + PR target/39175 + * decl2.c (determine_visibility): If visibility changed and + DECL_RTL has been already set, call make_decl_rtl to update symbol + flags. + +2009-02-19 H.J. Lu <hongjiu.lu@intel.com> + + PR c++/39188 + * cp-tree.h (maybe_commonize_var): New. + + * decl.c (maybe_commonize_var): Make it extern. + + * decl2.c (finish_anon_union): Call maybe_commonize_var. + +2009-02-18 H.J. Lu <hongjiu.lu@intel.com> + + PR c++/39219 + * parser.c (cp_parser_enum_specifier): Apply all attributes. + +2009-02-18 Jason Merrill <jason@redhat.com> + + * cfns.h: Tweak pathname for cfns.gperf. + +2009-02-13 Jason Merrill <jason@redhat.com> + + PR c++/39070 + * semantics.c (finish_call_expr): Change koenig_p parm to int. + If -1, don't set KOENIG_LOOKUP_P but do keep hidden candidates. + * cp-tree.h: Adjust prototype. + * pt.c (tsubst_copy_and_build) [CALL_EXPR]: Pass -1. + +2009-02-12 Jason Merrill <jason@redhat.com> + + PR c++/38950 + * pt.c (unify)[TEMPLATE_PARM_INDEX]: Convert to the tsubsted type. + +2009-02-11 Jason Merrill <jason@redhat.com> + + PR c++/39153 + * decl2.c (cp_write_global_declarations): + Check DECL_DEFAULTED_FN, not DECL_ARTIFICIAL. + + PR c++/30111 + * init.c (build_value_init_noctor): Split out from... + (build_value_init): ...here. + (expand_aggr_init_1): Handle value-initialization. + * cp-tree.h: Add declaration. + * class.c (type_has_user_provided_constructor): + Handle non-class arguments. + +2009-02-10 Jason Merrill <jason@redhat.com> + + PR c++/38649 + * class.c (defaultable_fn_p): Handle ... properly. + + PR c++/36744 + * tree.c (lvalue_p_1): Condition rvalue ref handling on + treat_class_rvalues_as_lvalues, too. + +2009-02-10 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/34397 + * typeck.c (build_x_array_ref): New. + * cp-tree.h: Declare it. + * pt.c (tsubst_copy_and_build): Use it for case ARRAY_REF. + +2009-02-09 Jason Merrill <jason@redhat.com> + + PR c++/39109 + * semantics.c (simplify_aggr_init_expr): Do zero-initialization here. + * init.c (build_value_init): Not here. Don't build a TARGET_EXPR. + * tree.c (get_target_expr): Handle AGGR_INIT_EXPR. + * cp-gimplify.c (cp_gimplify_init_expr): Remove special handling + for build_value_init TARGET_EXPR. + * cp-tree.h (AGGR_INIT_ZERO_FIRST): New macro. + +2009-02-06 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/35147 + PR c++/37737 + * cp-tree.h (TMPL_ARGS_HAVE_MULTIPLE_LEVELS): Check TREE_VEC_LENGTH. + +2009-02-04 Jakub Jelinek <jakub@redhat.com> + + PR c++/39095 + * operators.def: Use COMPONENT_REF code for ->/pt operator again, + remove ./dt operator. + * mangle.c (write_expression): Handle COMPONENT_REF after handling + ADDR_EXPR, for COMPONENT_REF without ARROW_EXPR inside of it + write_string ("dt") instead of using operators.def. + +2009-02-03 Jason Merrill <jason@redhat.com> + + * typeck.c (cp_build_unary_op): Only complain about taking address + of main if pedantic. + +2009-02-03 Jakub Jelinek <jakub@redhat.com> + + PR inline-asm/39059 + * parser.c (cp_parser_primary_expression): Reject FIXED_CSTs. + + PR c++/39056 + * typeck2.c (digest_init_r): Don't call process_init_constructor + for COMPLEX_TYPE. + +2009-02-03 Paolo Bonzini <bonzini@gnu.org> + + PR c++/36897 + * pt.c (convert_nontype_argument_function): Expect expr to be an + ADDR_EXPR. + + PR c++/37314 + * typeck.c (merge_types): Call resolve_typename_type if only + one type is a typename. + +2009-02-02 Jason Merrill <jason@redhat.com> + + PR c++/39054 + * parser.c (cp_parser_unqualified_id): Don't wrap error_mark_node + in BIT_NOT_EXPR. + +2009-02-01 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/39053 + * parser.c (cp_parser_pure_specifier): If there are no tokens left + do not call cp_lexer_consume_token. + +2009-01-30 Jakub Jelinek <jakub@redhat.com> + + PR c++/39028 + * parser.c (cp_parser_already_scoped_statement): Handle __label__ + declarations. + +2009-01-30 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/33465 + * error.c (dump_expr): Handle FIX_TRUNC_EXPR and FLOAT_EXPR. + +2009-01-30 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/38655 + * error.c (dump_type_prefix, dump_type_suffix): Handle FIXED_POINT_TYPE. + +2009-01-29 Paolo Carlini <paolo.carlini@oracle.com> + + * typeck.c (invalid_nonstatic_memfn_p): Use + DECL_NONSTATIC_MEMBER_FUNCTION_P. + +2009-01-27 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/37554 + * call.c (build_over_call): If convert_for_arg_passing returns + error_mark_node unconditionally return it. + +2009-01-22 Adam Nemet <anemet@caviumnetworks.com> + + * class.c (check_field_decls): Also inherit packed for bitfields + regardless of their type. + +2009-01-22 Dodji Seketeli <dodji@redhat.com> + + PR c++/38930 + * decl2.c (grokfield): Reverting changes of PR c++/26693 + (save_template_attributes): Likewise. + * decl.c (grokdeclarator): Likewise. + * name-lookup.c (pushdecl_maybe_friend): Likewise. + * cp-tree.h (MEMBER_TYPES_NEEDING_ACCESS_CHECK): Likewise. + (append_type_to_template_for_access_check): Likewise. + * semantics.c (check_accessibility_of_qualified_id): Likewise. + * pt.c (instantiate_class_template, instantiate_template ): Likewise. + (tsubst): Likewise. + (resolve_type_name_type): Likewise. + (append_type_to_template_for_access_check): Likewise. + +2009-01-21 Dodji Seketeli <dodji@redhat.com> + + PR c++/26693 + * decl2.c (grokfield): when a typedef appears in a + class, create the typedef variant type node for it. + (save_template_attributes): Creating typedef variant type node + here is now useless. + * decl.c (grokdeclarator): If the typedef'ed struct/class was + anonymous, set the proper type name to all its type variants. + * name-lookup.c (pushdecl_maybe_friend): Reuse the + set_underlying_type function to install typedef variant types. + * cp-tree.h (MEMBER_TYPES_NEEDING_ACCESS_CHECK): New template accessor + macro. + (append_type_to_template_for_access_check): New entry points. + * semantics.c (check_accessibility_of_qualified_id): + When a typedef that is a member of a class appears in a template, + add it to the template. It will be ... + * pt.c (instantiate_class_template, instantiate_template ): ... access + checked at template instantiation time. + (tsubst): Handle the case of being called with NULL args. + (resolve_type_name_type): The type name should be the name of the + main type variant. + (append_type_to_template_for_access_check): New entry point. + +2009-01-19 Jason Merrill <jason@redhat.com> + + PR c++/23287 + * parser.c (cp_parser_unqualified_id): In a template, + accept ~identifier. + * typeck.c (lookup_destructor): Handle IDENTIFIER_NODE. + +2009-01-16 Jason Merrill <jason@redhat.com> + + PR c++/38877 + * tree.c (lvalue_p_1): Allow non-fields in COMPONENT_REF. + * init.c (build_new): Don't call describable_type unless we + have an auto. + + PR c++/29470 + * pt.c (tsubst_decl) [USING_DECL]: Propagate access flags. + + PR c++/38579 + * search.c (protected_accessible_p): N doesn't vary. + +2009-01-15 Jason Merrill <jason@redhat.com> + + PR c++/38850 + * pt.c (tsubst_copy_and_build): Tell finish_call_expr to + accept hidden friends. + +2009-01-15 Andrew Pinski <andrew_pinski@playstation.sony.com> + + PR C++/29388 + * decl.c (grokdeclarator): Check for a non namespace/class context. + +2009-01-15 Jason Merrill <jason@redhat.com> + + PR c++/36334 + PR c++/37646 + * tree.c (lvalue_p_1): Handle BASELINK. A COMPONENT_REF to + a function isn't necessarily an lvalue. Take tree, not const_tree. + (lvalue_p, real_lvalue_p): Take tree, not const_tree. + * typeck.c (lvalue_or_else): Likewise. + * cp-tree.h: Adjust prototypes. + +2009-01-15 Steve Ellcey <sje@cup.hp.com> + + PR c++/38357 + * pt.c (tsubst): Check for NULL args. + +2009-01-15 Dodji Seketeli <dodji@redhat.com> + + PR c++/38636 + * name-lookup.c (pushtag): Don't create members to types that are not + being created. + +2009-01-14 Nick Clifton <nickc@redhat.com> + + PR c++/37862 + * parser.c: Pass cp_id_kind computed in + cp_parser_postfix_dot_deref_expression to + cp_parser_primary_expression. + +2009-01-13 Jakub Jelinek <jakub@redhat.com> + + PR c++/38795 + * tree.c (cp_walk_subtrees): Handle REINTERPRET_CAST_EXPR, + STATIC_CAST_EXPR, CONST_CAST_EXPR and DYNAMIC_CAST_EXPR the same + as CAST_EXPR. + +2009-01-12 Jason Merrill <jason@redhat.com> + Steve Ellcey <sje@cup.hp.com> + + PR c++/35109 + * name-lookup.c (lookup_name_real): Keep looking past a hidden + binding. + +2009-01-12 Dodji Seketeli <dodji@redhat.com> + + PR c++/36019 + * pt.c (parameter_of_template_p): New function. + * cp-tree.h: Declare it. + * name-lookup.c (binding_to_template_parms_of_scope_p): New + function. + (outer_binding): Take template parameters in account when looking for + a name binding. + +2009-01-12 Jason Merrill <jason@redhat.com> + + PR c++/31488 + * tree.c (pod_type_p): Return 1 for structs created by the back end. + +2009-01-12 Jakub Jelinek <jakub@redhat.com> + + PR c/32041 + * parser.c (cp_parser_builtin_offsetof): Allow `->' in + offsetof member-designator, handle it as `[0].'. + + PR c++/38794 + * decl.c (start_function): If grokdeclarator hasn't returned + FUNCTION_DECL nor error_mark_node, issue diagnostics. + +2009-01-11 Jakub Jelinek <jakub@redhat.com> + + PR c++/36254 + * cp-gimplify.c (genericize_if_stmt): Renamed from ... + (gimplify_if_stmt): ... this. + (cp_gimplify_expr): Don't handle IF_STMT here. + (cp_genericize_r): Call genericize_if_stmt for IF_STMT. + +2009-01-10 Andrew Pinski <pinskia@gmail.com> + + PR c++/38648 + * typeck.c (cp_build_modify_expr): Check for NULL current_function_decl. + + PR c++/36695 + * typeck2.c (build_functional_cast): Check for reference type and NULL + PARMS. + +2009-01-09 Steve Ellcey <sje@cup.hp.com> + + * typeck.c (cp_build_unary_op): Check for ERROR_MARK. + +2009-01-09 Jakub Jelinek <jakub@redhat.com> + + PR c++/35335 + * error.c (dump_expr): Handle EXPR_STMT like BIND_EXPR. + +2009-01-09 John F. Carr <jfc@mit.edu> + + PR c++/37877 + * parser.c (cp_parser_class_specifier): Clear + parser->in_unbraced_linkage_specification_p while parsing class + specifiers. + +2009-01-07 Jakub Jelinek <jakub@redhat.com> + + PR c++/38725 + * semantics.c (finish_goto_stmt): Convert destination to + void *. + +2009-01-06 Jason Merrill <jason@redhat.com> + + PR c++/35297 + PR c++/35477 + PR c++/35784 + PR c++/36846 + PR c++/38276 + * pt.c (check_default_tmpl_args): Don't complain about + out-of-order parameter packs in the enclosing class + or parameter packs after default args. + (coerce_template_parms): If we have more than one + parameter pack, don't flatten argument packs. + (template_args_equal): Handle argument packs. + (comp_template_args): Don't flatten argument packs. + (check_instantiated_arg): Split out from... + (check_instantiated_args): Here. Handle arg packs. + (convert_template_argument): Just check that nontype argument + packs have the right type. + +2009-01-05 Dodji Seketeli <dodji@redhat.com> + + PR c++/38472 + * typeck.c (type_after_usual_arithmetic_conversions): Fix a typo. + +2009-01-05 Jason Merrill <jason@redhat.com> + + PR c++/38698 + * typeck2.c (process_init_constructor_union): Handle union with + no fields. + + * mangle.c (write_expression): Remove mangling for zero-operand + casts. + + PR c++/38701 + * decl.c (cp_finish_decl): Clear DECL_INITIAL for invalid + defaulting. + + PR c++/38702 + * class.c (defaultable_fn_p): Only operator== can be a copy + assignment operator. + +2009-01-02 Jason Merrill <jason@redhat.com> + + PR c++/38698 + * typeck2.c (process_init_constructor_union): Handle excess + initializers. + (process_init_constructor_record): Likewise. + + PR c++/38684 + * typeck2.c (digest_init_r): Don't use process_init_constructor + for non-aggregate classes. + + +Copyright (C) 2009 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 43d206a..af2d0c6d 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3709 +1,6 @@ -2009-12-29 Janus Weil <janus@gcc.gnu.org> - - PR fortran/42517 - * invoke.texi: Document the interference of - -fcheck=recursion and -fopenmp. - * trans-decl.c (gfc_generate_function_code): Disable -fcheck=recursion - when used with -fopenmp. - -2009-12-28 Janus Weil <janus@gcc.gnu.org> - - PR fortran/42353 - * symbol.c (gfc_find_derived_vtab): Make vtabs and vtypes private. - -2009-12-27 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> - Daniel Kraft <d@domob.eu> - - PR fortran/22552 - * lang.opt (Wimplicit-procedure): New option. - * gfortran.h (struct gfc_option_t): New member `warn_implicit_procedure' - * options.c (gfc_handle_option): Handle -Wimplicit-procedure. - * interface.c (gfc_procedure_use): Warn about procedure never - explicitly declared if requested by the new flag. - * invoke.texi: Document new flag -Wimplicit-procedure. - -2009-12-17 Janus Weil <janus@gcc.gnu.org> - - PR fortran/42144 - * trans-expr.c (select_class_proc): Skip abstract base types. - -2009-12-16 Kazu Hirata <kazu@codesourcery.com> - - * gfc-internals.texi, gfortran.texi, invoke.texi: Fix typos. - Follow spelling conventions. - -2009-12-15 Tobias Burnus <burnus@net-b.de> - Daniel Franke <franke.daniel@gmail.com> - - PR fortran/41235 - * resolve.c (resolve_global_procedure): Add check for - presence of an explicit interface for nonconstant, - nonassumed character-length functions. - (resolve_fl_procedure): Remove check for nonconstant - character-length functions. - -2009-12-14 Daniel Franke <franke.daniel@gmail.com> - - PR fortran/42354 - * expr.c (check_init_expr): Do not check for specification functions. - -2009-12-11 Janus Weil <janus@gcc.gnu.org> - - PR fortran/42257 - * module.c (write_dt_extensions): Check for accessibility. - -2009-12-11 Daniel Franke <franke.daniel@gmail.com> - - PR fortran/40290 - * expr.c (gfc_type_convert_binary): Added warn-on-conversion flag, - passed on to gfc_convert_type_warn() instead of gfc_convert_type(); - enabled warnings on all callers but ... - * arith.c (eval_intrinsic): Disabled warnings on implicit type - conversion. - * gfortran.h gfc_type_convert_binary): Adjusted prototype. - -2009-12-11 Janus Weil <janus@gcc.gnu.org> - - PR fortran/42335 - * symbol.c (select_type_insert_tmp): Add an extra check for - error recovery. - -2009-12-10 Daniel Franke <franke.daniel@gmail.com> - - PR fortran/40287 - * iresolve.c (resolve_mask_arg): Disabled warning on conversion - to LOGICAL(1). - -2009-12-10 Daniel Franke <franke.daniel@gmail.com> - - PR fortran/41369 - * parse.c (match_deferred_characteristics): Removed check for empty - types in function return values. - -2009-12-10 Daniel Franke <franke.daniel@gmail.com> - - PR fortran/34402 - * expr.c (check_alloc_comp_init): New. - (check_init_expr): Verify that allocatable components - are not data-initalized. - -2008-12-08 Daniel Kraft <d@domob.eu> - - PR fortran/41177 - * gfortran.h (struct symbol_attribute): New flag `class_pointer'. - * symbol.c (gfc_build_class_symbol): Set the new flag. - * resolve.c (update_compcall_arglist): Remove wrong check for - non-scalar base-object. - (check_typebound_baseobject): Add the correct version here as well - as some 'not implemented' message check in the old case. - (resolve_typebound_procedure): Check that the passed-object dummy - argument is scalar, non-pointer and non-allocatable as it should be. - -2009-12-08 Tobias Burnus <burnus@net-b.de> - - PR fortran/40961 - PR fortran/40377 - * gfortran.texi (Non-Fortran Main Program): Add - _gfortran_set_fpe documentation. - (Interoperability with C): Mention array storage order. - -2009-12-07 Daniel Franke <franke.daniel@gmail.com> - - PR fortran/41940 - * match.c (gfc_match_allocate): Improved error message for - allocatable scalars that are allocated with a shape. - -2009-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - PR other/40302 - * arith.c: Remove HAVE_mpc* checks throughout. - * expr.c: Likewise. - * gfortran.h: Likewise. - * resolve.c: Likewise. - * simplify.c: Likewise. - * target-memory.c: Likewise. - * target-memory.h: Likewise. - -2009-12-06 Daniel Franke <franke.daniel@gmail.com> - - PR fortran/40904 - * intrinsics.texi: Fixed description of COUNT. - -2009-12-01 Janne Blomqvist <jb@gcc.gnu.org> - - PR fortran/42131 - * trans-stmt.c (gfc_trans_do): Sign test using ternary operator. - -2009-11-30 Janus Weil <janus@gcc.gnu.org> - - PR fortran/42053 - * resolve.c (resolve_select_type): Check for duplicate CLASS IS blocks. - -2009-11-30 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41631 - * decl.c (gfc_match_derived_decl): Set extension level. - * gfortran.h (symbol_attribute): Expand 'extension' bit field to 8 bit. - * iresolve.c (gfc_resolve_extends_type_of): Return value of - 'is_extension_of' has kind=4. - * match.c (select_type_set_tmp,gfc_match_class_is): Create temporary - for CLASS IS blocks. - * module.c (MOD_VERSION): Bump module version. - (ab_attribute,attr_bits): Remove AB_EXTENSION. - (mio_symbol_attribute): Handle expanded 'extension' field. - * resolve.c (resolve_select_type): Implement CLASS IS blocks. - (resolve_fl_variable_derived): Show correct type name. - * symbol.c (gfc_build_class_symbol): Set extension level. - -2009-11-30 Janus Weil <janus@gcc.gnu.org> - - * intrinsic.h (gfc_resolve_extends_type_of): Add prototype. - * intrinsic.c (add_functions): Use 'gfc_resolve_extends_type_of'. - * iresolve.c (gfc_resolve_extends_type_of): New function, which - replaces the call to EXTENDS_TYPE_OF by the library function - 'is_extension_of' and modifies the arguments. - * trans-intrinsic.c (gfc_conv_extends_type_of): Removed. - (gfc_conv_intrinsic_function): FOR EXTENDS_TYPE_OF, don't call - gfc_conv_extends_type_of but gfc_conv_intrinsic_funcall. - -2009-11-30 Paul Thomas <pault@gcc.gnu.org> - Janus Weil <janus@gcc.gnu.org> - - * decl.c (encapsulate_class_symbol): Replaced by - 'gfc_build_class_symbol'. - (build_sym,build_struct): Call 'gfc_build_class_symbol'. - (gfc_match_derived_decl): Replace vindex by hash_value. - * dump-parse-tree.c (show_symbol): Replace vindex by hash_value. - * gfortran.h (symbol_attribute): Add field 'vtab'. - (gfc_symbol): Replace vindex by hash_value. - (gfc_class_esym_list): Ditto. - (gfc_get_derived_type,gfc_build_class_symbol,gfc_find_derived_vtab): - New prototypes. - * module.c (mio_symbol): Replace vindex by hash_value. - * resolve.c (vindex_expr): Rename to 'hash_value_expr'. - (resolve_class_compcall,resolve_class_typebound_call): Renamed - 'vindex_expr'. - (resolve_select_type): Replace $vindex by $vptr->$hash. - * symbol.c (gfc_add_save): Handle vtab symbols. - (gfc_type_compatible): Rewrite. - (gfc_build_class_symbol): New function which replaces - 'encapsulate_class_symbol'. - (gfc_find_derived_vtab): New function to set up a vtab symbol for a - derived type. - * trans-decl.c (gfc_create_module_variable): Handle vtab symbols. - * trans-expr.c (select_class_proc): Replace vindex by hash_value. - (gfc_conv_derived_to_class): New function to construct a temporary - CLASS variable from a derived type expression. - (gfc_conv_procedure_call): Call 'gfc_conv_derived_to_class'. - (gfc_conv_structure): Initialize the $extends and $size fields of - vtab symbols. - (gfc_trans_class_assign): Replace $vindex by $vptr. Remove the $size - assignment. - * trans-intrinsic.c (gfc_conv_same_type_as): Replace $vindex by - $vptr->$hash, and replace vindex by hash_value. - * trans-stmt.c (gfc_trans_allocate): Insert $vptr references, replace - $vindex by $vptr. Remove the $size assignment. - * trans-types.c (gfc_get_derived_type): Make it non-static. - -2009-11-30 Thomas Koenig <tkoenig@gcc.gnu.org> - - PR fortran/42131 - * trans-stmt.c (gfc_trans_do): Calculate loop count - without if statements. - -2009-11-28 Jakub Jelinek <jakub@redhat.com> - - * trans-common.c (create_common): Remove unused offset variable. - * io.c (gfc_match_wait): Remove unused loc variable. - * trans-openmp.c (gfc_trans_omp_clauses): Remove unused old_clauses - variable. - (gfc_trans_omp_do): Remove unused outermost variable. - * iresolve.c (gfc_resolve_alarm_sub, gfc_resolve_fseek_sub): Remove - unused status variable. - * module.c (number_use_names): Remove unused c variable. - (load_derived_extensions): Remove unused nuse variable. - * trans-expr.c (gfc_conv_substring): Remove unused var variable. - * trans-types.c (gfc_get_array_descr_info): Remove unused offset_off - variable. - * matchexp.c (match_primary): Remove unused where variable. - * trans-intrinsic.c (gfc_conv_intrinsic_bound): Remove unused cond2 - variable. - (gfc_conv_intrinsic_sizeof): Remove unused source variable. - (gfc_conv_intrinsic_transfer): Remove unused stride variable. - (gfc_conv_intrinsic_function): Remove unused isym variable. - * arith.c (gfc_hollerith2real, gfc_hollerith2complex, - gfc_hollerith2logical): Remove unused len variable. - * parse.c (parse_derived): Remove unused derived_sym variable. - * decl.c (variable_decl): Remove unused old_locus variable. - * resolve.c (check_class_members): Remove unused tbp_sym variable. - (resolve_ordinary_assign): Remove unused assign_proc variable. - (resolve_equivalence): Remove unused value_name variable. - * data.c (get_array_index): Remove unused re variable. - * trans-array.c (gfc_conv_array_transpose): Remove unused src_info - variable. - (gfc_conv_resolve_dependencies): Remove unused aref and temp_dim - variables. - (gfc_conv_loop_setup): Remove unused dim and len variables. - (gfc_walk_variable_expr): Remove unused head variable. - * match.c (match_typebound_call): Remove unused var variable. - * intrinsic.c (gfc_convert_chartype): Remove unused from_ts variable. - -2009-11-26 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR fortran/41807 - * trans-const.c (gfc_conv_const): Set se->expr to a constant on error. - -2009-11-26 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR fortran/41278 - * trans-array.c (gfc_conv_array_transpose): Delete unnecessary assert. - -2009-11-26 Janus Weil <janus@gcc.gnu.org> - - PR fortran/42048 - PR fortran/42167 - * gfortran.h (gfc_is_function_return_value): New prototype. - * match.c (gfc_match_call): Use new function - 'gfc_is_function_return_value'. - * primary.c (gfc_is_function_return_value): New function to check if a - symbol is the return value of an encompassing function. - (match_actual_arg,gfc_match_rvalue,match_variable): Use new function - 'gfc_is_function_return_value'. - * resolve.c (resolve_common_blocks,resolve_actual_arglist): Ditto. - -2009-11-25 Jakub Jelinek <jakub@redhat.com> - - PR fortran/42162 - * trans-openmp.c (gfc_trans_omp_do): When dovar isn't a VAR_DECL, - don't use simple loop and handle clauses properly. - -2009-11-24 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR fortran/42008 - * decl.c (variable_decl): Do not error on initialization within a - derived type specification of a pure procedure. - -2009-11-24 Janus Weil <janus@gcc.gnu.org> - - PR fortran/42045 - * resolve.c (resolve_actual_arglist): Make sure procedure pointer - actual arguments are resolved correctly. - (resolve_function): An EXPR_FUNCTION which is a procedure pointer - component, has already been resolved. - (resolve_fl_derived): Procedure pointer components should not be - implicitly typed. - -2009-11-21 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR fortran/41807 - * trans-const.c (gfc_conv_const): Fix typo in comment. Replace assert - with error message if not constant. - * resolve.c (next_data_value): Delete check for constant. - -2009-11-20 Janus Weil <janus@gcc.gnu.org> - - * intrinsic.texi (C_F_PROCPOINTER): Remove obsolete comment. - -2009-11-20 Paul Thomas <pault@gcc.gnu.org> - Janus Weil <janus@gcc.gnu.org> - - PR fortran/42104 - * trans-expr.c (gfc_conv_procedure_call): If procedure pointer - component call, use the component's 'always_explicit' attr - for array arguments. - -2009-11-19 Janus Weil <janus@gcc.gnu.org> - - * trans-expr.c (conv_isocbinding_procedure): New function. - (gfc_conv_procedure_call): Move ISO_C_BINDING stuff to - separate function. - -2009-11-19 Tobias Burnus <burnus@net-b.de> - - * gfortran.texi (Interoperable Subroutines and Functions): Fix - example. - -2009-11-18 Janus Weil <janus@gcc.gnu.org> - - PR fortran/42072 - * trans-expr.c (gfc_conv_procedure_call): Handle procedure pointer - dummies which are passed to C_F_PROCPOINTER. - -2009-11-18 Alexandre Oliva <aoliva@redhat.com> - - * module.c (mio_f2k_derived): Initialize op. - -2009-11-15 Janus Weil <janus@gcc.gnu.org> - - PR fortran/42048 - * match.c (gfc_match_call): If we're inside a function with derived - type return value, allow calling a TBP of the result variable. - -2009-11-12 Tobias Burnus <burnus@net-b.de> - - * intrinsic.texi (XOR): Refer also to .NEQV. - (ISO_FORTRAN_ENV): State which parameters are F2008. - -2009-11-11 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41978 - * resolve.c (resolve_ref): Take care of procedure pointer component - references. - -2009-11-06 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR fortran/41909 - * resolve.c (is_illegal_recursion): Return false if sym is program. - -2009-11-06 Steven G. Kargl <kargl@gcc.gnu.org> - - * resolve.c (check_typebound_override): Remove duplicate "in" in error - message. - -2009-11-05 Steven G. Kargl <kargl@gcc.gnu.org> - - PR fortran/41918 - * fortran/trans-decl.c: Silence intent(out) warning for derived type - dummy arguments with default initialization. - -2009-11-05 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41556 - * interface.c (matching_typebound_op,gfc_extend_assign): Handle CLASS - variables. - -2009-11-05 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41556 - PR fortran/41873 - * resolve.c (resolve_function,resolve_call): Prevent abstract interfaces - from being called, but allow deferred type-bound procedures with - abstract interface. - -2009-11-04 Tobias Burnus <burnus@gcc.gnu.org> - Janus Weil <janus@gcc.gnu.org> - - PR fortran/41556 - PR fortran/41937 - * interface.c (gfc_check_operator_interface): Handle CLASS arguments. - * resolve.c (resolve_allocate_expr): Handle allocatable components of - CLASS variables. - -2009-11-04 Richard Guenther <rguenther@suse.de> - - * options.c (gfc_post_options): Rely on common code processing - LTO options. Only enable -fwhole-file here. - -2009-11-03 Tobias Burnus <burnus@net-b.de> - - PR fortran/41907 - * trans-expr.c (gfc_conv_procedure_call): Fix presence check - for optional arguments. - -2009-11-01 Tobias Burnus <burnus@net-b.de> - - PR fortran/41872 - * trans-decl.c (gfc_trans_deferred_vars): Do not nullify - autodeallocated allocatable scalars at the end of scope. - (gfc_generate_function_code): Fix indention. - * trans-expr.c (gfc_conv_procedure_call): For allocatable - scalars, fix calling by reference and autodeallocating - of intent out variables. - -2009-11-01 Tobias Burnus <burnus@net-b.de> - - PR fortran/41850 - * trans-expr.c (gfc_conv_procedure_call): Deallocate intent-out - variables only when present. Remove unneccessary present check. - -2009-10-29 Tobias Burnus <burnus@net-b.de> - - PR fortran/41777 - * trans-expr.c (gfc_conv_procedure_call,gfc_conv_expr_reference): - Use for generic EXPR_FUNCTION the attributes of the specific - function. - -2009-10-29 Janne Blomqvist <jb@gcc.gnu.org> - - PR fortran/41860 - * resolve.c (apply_default_init_local): Treat -fno-automatic as if - var was saved. - -2009-10-28 Rafael Avila de Espindola <espindola@google.com> - - * trans-common.c (create_common): Set TREE_PUBLIC to false on - fake variables. - -2009-10-26 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41714 - * trans.c (gfc_trans_code): Remove call to - 'tree_annotate_all_with_location'. Location should already be set. - * trans-openmp.c (gfc_trans_omp_workshare): Ditto. - * trans-stmt.c (gfc_trans_allocate): Do correct data initialization for - CLASS variables with SOURCE tag, plus some cleanup. - -2009-10-24 Janus Weil <janus@gcc.gnu.org> - Paul Thomas <pault@gcc.gnu.org> - - PR fortran/41784 - * module.c (load_derived_extensions): Skip symbols which are not being - loaded. - -2009-10-24 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/41772 - * trans-intrinsic.c (gfc_conv_intrinsic_transfer): Stop'extent' - from going negative. - -2009-10-23 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41800 - * trans-expr.c (gfc_trans_scalar_assign): Handle CLASS variables. - -2009-10-23 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41758 - * match.c (conformable_arrays): Move to resolve.c. - (gfc_match_allocate): Don't resolve SOURCE expr yet, and move some - checks to resolve_allocate_expr. - * resolve.c (conformable_arrays): Moved here from match.c. - (resolve_allocate_expr): Moved some checks here from gfc_match_allocate. - (resolve_code): Resolve SOURCE tag for ALLOCATE expressions. - -2009-10-22 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41781 - * resolve.c (resolve_codes): Don't clear 'cs_base' for BLOCK constructs, - to make sure labels are treated correctly. - * symbol.c (gfc_get_st_label): Create labels in the right namespace. - For BLOCK constructs go into the parent namespace. - -2009-10-21 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41706 - PR fortran/41766 - * match.c (select_type_set_tmp): Set flavor for temporary. - * resolve.c (resolve_class_typebound_call): Correctly resolve actual - arguments. - -2009-10-20 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/41706 - * resolve.c (resolve_arg_exprs): New function. - (resolve_class_compcall): Call the above. - (resolve_class_typebound_call): The same. - -2009-10-19 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41586 - * parse.c (parse_derived): Correctly set 'alloc_comp' and 'pointer_comp' - for CLASS variables. - * trans-array.c (structure_alloc_comps): Handle deallocation and - nullification of allocatable scalar components. - * trans-decl.c (gfc_get_symbol_decl): Remember allocatable scalars for - automatic deallocation. - (gfc_trans_deferred_vars): Automatically deallocate allocatable scalars. - -2009-10-19 Tobias Burnus <burnus@net-b.de> - Steven G. Kargl <kargl@gcc.gnu.org> - - PR fortran/41755 - * symbol.c (gfc_undo_symbols): Add NULL check. - * match.c (gfc_match_equivalence): Add check for - missing comma. - -2009-10-19 Richard Guenther <rguenther@suse.de> - - PR fortran/41494 - * trans-expr.c (gfc_trans_scalar_assign): Do not call - gfc_evaluate_now. - -2009-10-17 Janus Weil <janus@gcc.gnu.org> - Paul Thomas <pault@gcc.gnu.org> - - PR fortran/41608 - * decl.c (gfc_match_data_decl): Add BT_CLASS for undefined type - and empty type errors. - * parse.c (gfc_build_block_ns): Only set recursive if parent ns - has a proc_name. - - PR fortran/41629 - PR fortran/41618 - PR fortran/41587 - * gfortran.h : Add class_ok bitfield to symbol_attr. - * decl.c (build_sym): Set attr.class_ok if dummy, pointer or - allocatable. - (build_struct): Use gfc_try 't' to carry errors past the call - to encapsulate_class_symbol. - (attr_decl1): For a CLASS object, apply the new attribute to - the data component. - * match.c (gfc_match_select_type): Set attr.class_ok for an - assigned selector. - * resolve.c (resolve_fl_variable_derived): Check a CLASS object - is dummy, pointer or allocatable by testing the class_ok and - the use_assoc attribute. - -2009-10-16 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41719 - * resolve.c (resolve_ordinary_assign): Reject intrinsic assignments - to polymorphic variables. - -2009-10-16 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/41648 - PR fortran/41656 - * trans-expr.c (select_class_proc): Convert the expression for the - vindex, carried on the first member of the esym list. - * gfortran.h : Add the vindex field to the esym_list structure. - and eliminate the class_object field. - * resolve.c (check_class_members): Remove the setting of the - class_object field. - (vindex_expr): New function. - (get_class_from_expr): New function. - (resolve_class_compcall): Call the above to find the ultimate - class or derived component. If derived, do not generate the - esym list. Add and expression for the vindex to the esym list - by calling the above. - (resolve_class_typebound_call): The same. - -2009-10-15 Steven G. Kargl <kargl@gcc.gnu.org> - - PR fortran/41712 - * intrinsic.texi: Explicitly state that ETIME and DTIME take - REAL(4) arguments. Fix nearby typographically errors where - /leq was used instead of \leq. - -2009-10-13 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41581 - * decl.c (encapsulate_class_symbol): Add new component '$size'. - * resolve.c (resolve_allocate_expr): Move CLASS handling to - gfc_trans_allocate. - (resolve_class_assign): Replaced by gfc_trans_class_assign. - (resolve_code): Remove calls to resolve_class_assign. - * trans.c (gfc_trans_code): Use new function gfc_trans_class_assign. - * trans-expr.c (get_proc_ptr_comp): Fix a memory leak. - (gfc_conv_procedure_call): For CLASS dummies, set the - $size component. - (gfc_trans_class_assign): New function, replacing resolve_class_assign. - * trans-stmt.h (gfc_trans_class_assign): New prototype. - * trans-stmt.c (gfc_trans_allocate): Use correct size when allocating - CLASS variables. Do proper initialization. Move some code here from - resolve_allocate_expr. - -2009-10-11 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR fortran/38439 - * io.c (check_format): Fix locus for error messages and fix a comment. - -2009-10-11 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/41583 - * decl.c (hash_value): New function. - (gfc_match_derived_decl): Call it. - -2009-10-09 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41585 - * decl.c (build_struct): Bugfix for CLASS components. - -2009-10-09 Tobias Burnus <burnus@net-b.de> - - PR fortran/41582 - * decl.c (encapsulate_class_symbol): Save attr.abstract. - * resolve.c (resolve_allocate_expr): Reject class allocate - without typespec or source=. - * trans-stmt.c (gfc_trans_allocate): Change gfc_warning - into gfc_error for "not yet implemented". - -2009-10-09 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41579 - * gfortran.h (gfc_select_type_stack): New struct, to be used as a stack - for SELECT TYPE statements. - (select_type_stack): New global variable. - (type_selector,select_type_tmp): Removed. - * match.c (type_selector,type_selector): Removed. - (select_type_stack): New variable, serving as a stack for - SELECT TYPE statements. - (select_type_push,select_type_set_tmp): New functions. - (gfc_match_select_type): Call select_type_push. - (gfc_match_type_is): Call select_type_set_tmp. - * parse.c (select_type_pop): New function. - (parse_select_type_block): Call select_type_pop. - * symbol.c (select_type_insert_tmp): New function. - (gfc_find_sym_tree): Call select_type_insert_tmp. - -2009-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * arith.c (arith_power): Use mpc_pow_z. - * gfortran.h (HAVE_mpc_pow_z): Define. - -2009-10-07 Daniel Kraft <d@domob.eu> - - PR fortran/41615 - * resolve.c (resolve_contained_fntype): Clarify error message for - invalid assumed-length character result on module procedures. - -2009-10-07 Janus Weil <janus@gcc.gnu.org> - - * expr.c (gfc_check_pointer_assign): Do the correct type checking when - CLASS variables are involved. - * match.c (gfc_match_select_type): Parse associate-name in SELECT TYPE - statements, and set up a local namespace for the SELECT TYPE block. - * parse.h (gfc_build_block_ns): New prototype. - * parse.c (parse_select_type_block): Return from local namespace to its - parent after SELECT TYPE block. - (gfc_build_block_ns): New function for setting up the local namespace - for a BLOCK construct. - (parse_block_construct): Use gfc_build_block_ns. - * resolve.c (resolve_select_type): Insert assignment for the selector - variable, in case an associate-name is given, and put the SELECT TYPE - statement inside a BLOCK. - (resolve_code): Call resolve_class_assign after checking the assignment. - * symbol.c (gfc_find_sym_tree): Moved some code here from - gfc_get_ha_sym_tree. - (gfc_get_ha_sym_tree): Moved some code to gfc_find_sym_tree. - -2009-10-07 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/41613 - * resolve.c (check_class_members): Reset compcall.assign. - -2009-10-05 Paul Thomas <pault@gcc.gnu.org> - - * trans-expr.c (select_class_proc): New function. - (conv_function_val): Deal with class methods and call above. - * symbol.c (gfc_type_compatible): Treat case where both ts1 and - ts2 are BT_CLASS. - gfortran.h : Add structure gfc_class_esym_list and include in - the structure gfc_expr. - * module.c (load_derived_extensions): New function. - (read_module): Call above. - (write_dt_extensions): New function. - (write_derived_extensions): New function. - (write_module): Use the above. - * resolve.c (resolve_typebound_call): Add a function expression - for class methods. This carries the chain of symbols for the - dynamic dispatch in select_class_proc. - (resolve_compcall): Add second, boolean argument to indicate if - a function is being handled. - (check_members): New function. - (check_class_members): New function. - (resolve_class_compcall): New function. - (resolve_class_typebound_call): New function. - (gfc_resolve_expr): Call above for component calls.. - -2009-10-05 Daniel Kraft <d@domob.eu> - - PR fortran/41403 - * trans-stmt.c (gfc_trans_goto): Ignore statement list on assigned goto - if it is present. - -2009-10-03 Richard Guenther <rguenther@suse.de> - - * options.c (gfc_post_options): Handle -flto and -fwhopr. - -2009-10-02 Tobias Burnus <burnus@net-b.de> - - PR fortran/41479 - * trans-decl.c (gfc_init_default_dt): Check for presence of - the argument only if it is optional or in entry master. - (init_intent_out_dt): Ditto; call gfc_init_default_dt - for all derived types with initializers. - -2009-10-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - PR fortran/33197 - * gfortran.h (HAVE_mpc_arc): Define. - * simplify.c (gfc_simplify_acos): Handle complex acos. - (gfc_simplify_acosh): Likewise for acosh. - (gfc_simplify_asin): Likewise for asin. - (gfc_simplify_asinh): Likewise for asinh. - (gfc_simplify_atan): Likewise for atan. - (gfc_simplify_atanh): Likewise for atanh. - -2009-10-01 Tobias Burnus <burnus@net-b.de> - - PR fortran/41515 - * decl.c (do_parm): Call add_init_expr_to_sym. - -2009-09-30 Dennis Wassel <dennis.wassel@gmail.com> - - * gcc/fortran/trans-array.c (gfc_trans_array_bound_check): Improved - bounds checking error messages. (gfc_conv_array_ref): Likewise. - (gfc_conv_ss_startstride): Likewise. - -2009-09-30 Janus Weil <janus@gcc.gnu.org> - - * resolve.c (check_typebound_baseobject): Don't check for - abstract types for CLASS. - (resolve_class_assign): Adapt for RHS being a CLASS. - * trans-intrinsic.c (gfc_conv_associated): Add component ref - if expr is a CLASS. - -2009-09-30 Janus Weil <janus@gcc.gnu.org> - - * check.c (gfc_check_same_type_as): New function for checking - SAME_TYPE_AS and EXTENDS_TYPE_OF. - * decl.c (encapsulate_class_symbol): Set ABSTRACT attribute for class - container, if the contained type has it. Add an initializer for the - class container. - (add_init_expr_to_sym): Handle BT_CLASS. - (vindex_counter): New counter for setting vindices. - (gfc_match_derived_decl): Set vindex for all derived types, not only - those which are being extended. - * expr.c (gfc_check_assign_symbol): Handle NULL initialization of class - pointers. - * gfortran.h (gfc_isym_id): New values GFC_ISYM_SAME_TYPE_AS and - GFC_ISYM_EXTENDS_TYPE_OF. - (gfc_type_is_extensible): New prototype. - * intrinsic.h (gfc_check_same_type_as): New prototype. - * intrinsic.c (add_functions): Add SAME_TYPE_AS and EXTENDS_TYPE_OF. - * primary.c (gfc_expr_attr): Handle CLASS-valued functions. - * resolve.c (resolve_structure_cons): Handle BT_CLASS. - (type_is_extensible): Make non-static and rename to - 'gfc_type_is_extensible. - (resolve_select_type): Renamed type_is_extensible. - (resolve_class_assign): Handle NULL pointers. - (resolve_fl_variable_derived): Renamed type_is_extensible. - (resolve_fl_derived): Ditto. - * trans-expr.c (gfc_trans_subcomponent_assign): Handle NULL - initialization of class pointer components. - (gfc_conv_structure): Handle BT_CLASS. - * trans-intrinsic.c (gfc_conv_same_type_as,gfc_conv_extends_type_of): - New functions. - (gfc_conv_intrinsic_function): Handle SAME_TYPE_AS and EXTENDS_TYPE_OF. - -2009-09-30 Janus Weil <janus@gcc.gnu.org> - - * gfortran.h (type_selector, select_type_tmp): New global variables. - * match.c (type_selector, select_type_tmp): New global variables, - used for SELECT TYPE statements. - (gfc_match_select_type): Better error handling. Remember selector. - (gfc_match_type_is): Create temporary variable. - * module.c (ab_attribute): New value 'AB_IS_CLASS'. - (attr_bits): New string. - (mio_symbol_attribute): Handle 'is_class'. - * resolve.c (resolve_select_type): Insert pointer assignment statement, - to assign temporary to selector. - * symbol.c (gfc_get_ha_sym_tree): Replace selector by a temporary - in SELECT TYPE statements. - -2009-09-30 Janus Weil <janus@gcc.gnu.org> - - * dump-parse-tree.c (show_code_node): Renamed 'alloc_list'. - * gfortran.h (gfc_code): Rename 'alloc_list'. Add member 'ts'. - (gfc_expr_to_initialize): New prototype. - * match.c (alloc_opt_list): Correctly check type compatibility. - Renamed 'alloc_list'. - (dealloc_opt_list): Renamed 'alloc_list'. - * resolve.c (expr_to_initialize): Rename to 'gfc_expr_to_initialize' - and make it non-static. - (resolve_allocate_expr): Set vindex for CLASS variables correctly. - Move initialization code to gfc_trans_allocate. Renamed 'alloc_list'. - (resolve_allocate_deallocate): Renamed 'alloc_list'. - (check_class_pointer_assign): Rename to 'resolve_class_assign'. Change - argument type. Adjust to work with ordinary assignments. - (resolve_code): Call 'resolve_class_assign' for ordinary assignments. - Renamed 'check_class_pointer_assign'. - * st.c (gfc_free_statement): Renamed 'alloc_list'. - * trans-stmt.c (gfc_trans_allocate): Renamed 'alloc_list'. Handle - size determination and initialization of CLASS variables. Bugfix for - ALLOCATE statements with default initialization and SOURCE block. - (gfc_trans_deallocate): Renamed 'alloc_list'. - -2009-09-30 Paul Thomas <pault@gcc.gnu.org> - - * trans-expr.c (gfc_conv_procedure_call): Convert a derived - type actual to a class object if the formal argument is a - class. - -2009-09-30 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40996 - * decl.c (build_struct): Handle allocatable scalar components. - * expr.c (gfc_add_component_ref): Correctly set typespec of expression, - after inserting component reference. - * match.c (gfc_match_type_is,gfc_match_class_is): Make sure that no - variables are being used uninitialized. - * primary.c (gfc_match_varspec): Handle CLASS array components. - * resolve.c (resolve_select_type): Transform EXEC_SELECT_TYPE to - EXEC_SELECT. - * trans-array.c (structure_alloc_comps,gfc_trans_deferred_array): - Handle allocatable scalar components. - * trans-expr.c (gfc_conv_component_ref): Ditto. - * trans-types.c (gfc_get_derived_type): Ditto. - -2009-09-30 Janus Weil <janus@gcc.gnu.org> - - * decl.c (encapsulate_class_symbol): Modify names of class container - components by prefixing with '$'. - (gfc_match_end): Handle COMP_SELECT_TYPE. - * expr.c (gfc_add_component_ref): Modify names of class container - components by prefixing with '$'. - * gfortran.h (gfc_statement): Add ST_SELECT_TYPE, ST_TYPE_IS and - ST_CLASS_IS. - (gfc_case): New field 'ts'. - (gfc_exec_op): Add EXEC_SELECT_TYPE. - (gfc_type_is_extension_of): New prototype. - * match.h (gfc_match_select_type,gfc_match_type_is,gfc_match_class_is): - New prototypes. - * match.c (match_derived_type_spec): New function. - (match_type_spec): Use 'match_derived_type_spec'. - (match_case_eos): Modify error message. - (gfc_match_select_type): New function. - (gfc_match_case): Modify error message. - (gfc_match_type_is): New function. - (gfc_match_class_is): Ditto. - * parse.h (gfc_compile_state): Add COMP_SELECT_TYPE. - * parse.c (decode_statement): Handle SELECT TYPE, TYPE IS and CLASS IS - statements. - (next_statement): Handle ST_SELECT_TYPE. - (gfc_ascii_statement): Handle ST_SELECT_TYPE, ST_TYPE_IS, ST_CLASS_IS. - (parse_select_type_block): New function. - (parse_executable): Handle ST_SELECT_TYPE. - * resolve.c (resolve_deallocate_expr): Handle BT_CLASS. Modify names of - class container components by prefixing with '$'. - (resolve_allocate_expr): Ditto. - (resolve_select_type): New function. - (gfc_resolve_blocks): Handle EXEC_SELECT_TYPE. - (check_class_pointer_assign): Modify names of class container - components by prefixing with '$'. - (resolve_code): Ditto. - * st.c (gfc_free_statement): Ditto. - * symbol.c (gfc_type_is_extension_of): New function. - (gfc_type_compatible): Use 'gfc_type_is_extension_of', plus a bugfix. - * trans.c (gfc_trans_code): Handel EXEC_SELECT_TYPE. - -2009-09-30 Janus Weil <janus@gcc.gnu.org> - Paul Thomas <pault@gcc.gnu.org> - - * check.c (gfc_check_move_alloc): Arguments don't have to be arrays. - The second argument needs to be type-compatible with the first (not the - other way around, which makes a difference for CLASS entities). - * decl.c (encapsulate_class_symbol): New function. - (build_sym,build_struct): Handle BT_CLASS, call - 'encapsulate_class_symbol'. - (gfc_match_decl_type_spec): Remove warning, use BT_CLASS. - (gfc_match_derived_decl): Set vindex; - * expr.c (gfc_add_component_ref): New function. - (gfc_copy_expr,gfc_check_pointer_assign,gfc_check_assign_symbol): - Handle BT_CLASS. - * dump-parse-tree.c (show_symbol): Print vindex. - * gfortran.h (bt): New basic type BT_CLASS. - (symbol_attribute): New field 'is_class'. - (gfc_typespec): Remove field 'is_class'. - (gfc_symbol): New field 'vindex'. - (gfc_get_ultimate_derived_super_type): New prototype. - (gfc_add_component_ref): Ditto. - * interface.c (gfc_compare_derived_types): Pointer equality check - moved here from gfc_compare_types. - (gfc_compare_types): Handle BT_CLASS and use - gfc_type_compatible. - * match.c (gfc_match_allocate,gfc_match_deallocate,gfc_match_call): - Handle BT_CLASS. - * misc.c (gfc_clear_ts): Removed is_class. - (gfc_basic_typename,gfc_typename): Handle BT_CLASS. - * module.c (bt_types,mio_typespec): Handle BT_CLASS. - (mio_symbol): Handle vindex. - * primary.c (gfc_match_varspec,gfc_variable_attr): Handle BT_CLASS. - * resolve.c (find_array_spec,check_typebound_baseobject): - Handle BT_CLASS. - (resolve_ppc_call,resolve_expr_ppc): Don't call 'gfc_is_proc_ptr_comp' - inside 'gcc_assert'. - (resolve_deallocate_expr,resolve_allocate_expr): Handle BT_CLASS. - (check_class_pointer_assign): New function. - (resolve_code): Handle BT_CLASS, call check_class_pointer_assign. - (resolve_fl_var_and_proc,type_is_extensible,resolve_fl_variable_derived, - resolve_fl_variable): Handle BT_CLASS. - (check_generic_tbp_ambiguity): Add special case. - (resolve_typebound_procedure,resolve_fl_derived): Handle BT_CLASS. - * symbol.c (gfc_get_ultimate_derived_super_type): New function. - (gfc_type_compatible): Handle BT_CLASS. - * trans-expr.c (conv_parent_component_references): Handle CLASS - containers. - (gfc_conv_initializer): Handle BT_CLASS. - * trans-types.c (gfc_typenode_for_spec,gfc_get_derived_type): - Handle BT_CLASS. - -2009-09-29 Daniel Kraft <d@domob.eu> - - PR fortran/39626 - * gfortran.h (enum gfc_statement): Add ST_BLOCK and ST_END_BLOCK. - (struct gfc_namespace): Convert flags to bit-fields and add flag - `construct_entities' for use with BLOCK constructs. - (enum gfc_exec_code): Add EXEC_BLOCK. - (struct gfc_code): Add namespace field to union for EXEC_BLOCK. - * match.h (gfc_match_block): New prototype. - * parse.h (enum gfc_compile_state): Add COMP_BLOCK. - * trans.h (gfc_process_block_locals): New prototype. - (gfc_trans_deferred_vars): Made public, new prototype. - * trans-stmt.h (gfc_trans_block_construct): New prototype. - * decl.c (gfc_match_end): Handle END BLOCK correctly. - (gfc_match_intent): Error if inside of BLOCK. - (gfc_match_optional), (gfc_match_value): Ditto. - * match.c (gfc_match_block): New routine. - * parse.c (decode_statement): Handle BLOCK statement. - (case_exec_markers): Add ST_BLOCK. - (case_end): Add ST_END_BLOCK. - (gfc_ascii_statement): Handle ST_BLOCK and ST_END_BLOCK. - (parse_spec): Check for statements not allowed inside of BLOCK. - (parse_block_construct): New routine. - (parse_executable): Parse BLOCKs. - (parse_progunit): Disallow CONTAINS in BLOCK constructs. - * resolve.c (is_illegal_recursion): Find real container procedure and - don't get confused by BLOCK constructs. - (resolve_block_construct): New routine. - (gfc_resolve_blocks), (resolve_code): Handle EXEC_BLOCK. - * st.c (gfc_free_statement): Handle EXEC_BLOCK statements. - * trans-decl.c (saved_local_decls): New static variable. - (add_decl_as_local): New routine. - (gfc_finish_var_decl): Add variable as local if inside BLOCK. - (gfc_trans_deferred_vars): Make public. - (gfc_process_block_locals): New routine. - * trans-stmt.c (gfc_trans_block_construct): New routine. - * trans.c (gfc_trans_code): Handle EXEC_BLOCK statements. - -2009-09-28 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR fortran/35862 - * io.c (format_token): Add enumerators for rounding format specifiers. - (format_lex): Tokenize the rounding format specifiers. - (gfc_match_open): Enable rounding modes in OPEN statement. - -2009-09-28 Richard Henderson <rth@redhat.com> - - * f95-lang.c (gfc_init_builtin_functions): Update call to - build_common_builtin_nodes. - -2009-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * simplify.c (gfc_simplify_acos, gfc_simplify_acosh, - gfc_simplify_asin, gfc_simplify_asinh, gfc_simplify_atan, - gfc_simplify_atanh): Fix error message. - -2009-09-24 Steven G. Kargl <kargl@gcc.gnu.org> - - PR fortran/41459 - * error.c(gfc_warning_now): Move warnings_are_errors test to - after actual emitting of the warning. - * parse.c (next_free): Improve error locus printing. - (next_fixed): Change gfc_warn to gfc_warning_now, and improve - locus reporting. - -2009-09-16 Michael Matz <matz@suse.de> - - PR fortran/41212 - * trans.h (struct lang_type): Remove nontarget_type member. - * trans.c (gfc_add_modify): Don't access it. - * trans-decl.c (gfc_finish_var_decl): Don't allocate and set it, - instead set DECL_RESTRICTED_P on affected decls. - -2009-09-14 Richard Henderson <rth@redhat.com> - - * f95-lang.c (gfc_init_builtin_functions): Update call to - build_common_builtin_nodes. - (gfc_maybe_initialize_eh): Don't call - default_init_unwind_resume_libfunc. - -2009-09-13 Richard Guenther <rguenther@suse.de> - Rafael Avila de Espindola <espindola@google.com> - - * f95-lang.c (gfc_maybe_initialize_eh): Do not init - eh_personality_libfunc. - -2009-09-11 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41242 - * resolve.c (resolve_ordinary_assign): Don't call resolve_code, - to avoid that subsequent codes are resolved more than once. - (resolve_code): Make sure that type-bound assignment operators are - resolved correctly. - - -2009-09-10 Steven G. Kargl <kargl@gcc.gnu.org> - - PR fortran/31292 - * fortran/decl.c(gfc_match_modproc): Check that module procedures - from a module can USEd in module procedure statements in other - program units. Update locus for better error message display. - Detect intrinsic procedures in module procedure statements. - -2009-09-09 Richard Guenther <rguenther@suse.de> - - PR fortran/41297 - * trans-expr.c (gfc_trans_scalar_assign): Correct typo that - left 'tmp' unused in derived type assignment. - -2009-09-07 Thomas Koenig <tkoenig@gcc.gnu.org> - - PR fortran/41197 - * resolve_c (resolve_allocate_deallocate): Complain - if stat or errmsg varaible is an array. - -2009-09-05 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/41258 - * primary.c (gfc_match_varspec): Do not look for typebound - procedures unless the derived type has a f2k_derived namespace. - -2009-09-03 Diego Novillo <dnovillo@google.com> - - * f95-lang.c (lang_hooks): Remove const qualifier. - -2009-09-01 Richard Guenther <rguenther@suse.de> - - * f95-lang.c (gfc_mark_addressable): Remove. - (LANG_HOOKS_MARK_ADDRESSABLE): Likewise. - -2009-08-31 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR fortran/39229 - * scanner.c (next_char): Fix typo in comment. - (gfc_get_char_literal): Warn if truncate flag is set for both fixed and - free form source, adjusting error locus as needed. - * parse.c (next_fixed): Clear the truncate flag. - (next_statement): Remove truncate warning. - -2009-08-31 Janus Weil <janus@gcc.gnu.org> - Paul Thomas <pault@gcc.gnu.org> - - PR fortran/40940 - * array.c (gfc_match_array_constructor): Rename gfc_match_type_spec. - * decl.c (gfc_match_type_spec): Rename to gfc_match_decl_type_spec, - and reject CLASS with -std=f95. - (gfc_match_implicit, gfc_match_data_decl,gfc_match_prefix, - match_procedure_interface): Rename gfc_match_type_spec. - * gfortran.h (gfc_type_compatible): Add prototype. - * match.h (gfc_match_type_spec): Rename to gfc_match_decl_type_spec. - * match.c (match_intrinsic_typespec): Rename to match_type_spec, and - add handling of derived types. - (gfc_match_allocate): Rename match_intrinsic_typespec and check - type compatibility of derived types. - * symbol.c (gfc_type_compatible): New function to check if two types - are compatible. - -2009-08-31 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40996 - * check.c (gfc_check_allocated): Implement allocatable scalars. - * resolve.c (resolve_allocate_expr,resolve_fl_var_and_proc): Ditto. - * trans-intrinsic.c (gfc_conv_allocated): Ditto. - -2009-08-30 Daniel Kraft <d@domob.eu> - - PR fortran/37425 - * dump-parse-tree.c (show_typebound_proc): Renamed from `show_typebound' - and accept gfc_typebound_proc and name instead of the symtree, needed - for intrinsic operator output. - (show_typebound_symtree): New method calling `show_typebound_proc'. - (show_f2k_derived): Output type-bound operators also. - (show_symbol): Moved output of `Procedure bindings:' label to - `show_f2k_derived'. - * gfortran.texi (Fortran 2003 status): Mention support of - array-constructors with explicit type specification, type-bound - procedures/operators, type extension, ABSTRACT types and DEFERRED. - Link to Fortran 2003 wiki page. - (Fortran 2008 status): Fix typo. Link to Fortran 2008 wiki page. - * gfc-internals.texi (Type-bound Procedures): Document the new - members/attributes of gfc_expr.value.compcall used for type-bound - operators. - (Type-bound Operators): New section documenting their internals. - -2009-08-27 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40869 - * expr.c (gfc_check_pointer_assign): Enable interface check for - pointer assignments involving procedure pointer components. - * gfortran.h (gfc_compare_interfaces): Modified prototype. - * interface.c (gfc_compare_interfaces): Add argument 'name2', to be - used instead of s2->name. Don't rely on the proc_pointer attribute, - but instead on the flags handed to this function. - (check_interface1,compare_parameter): Add argument for - gfc_compare_interfaces. - * resolve.c (check_generic_tbp_ambiguity): Ditto. - -2009-08-27 Daniel Kraft <d@domob.eu> - - PR fortran/37425 - * gfortran.h (gfc_expr): Optionally store base-object in compcall value - and add a new flag to distinguish assign-calls generated. - (gfc_find_typebound_proc): Add locus argument. - (gfc_find_typebound_user_op), (gfc_find_typebound_intrinsic_op): Ditto. - (gfc_extend_expr): Return if failure was by a real error. - * interface.c (matching_typebound_op): New routine. - (build_compcall_for_operator): New routine. - (gfc_extend_expr): Handle type-bound operators, some clean-up and - return if failure was by a real error or just by not finding an - appropriate operator definition. - (gfc_extend_assign): Handle type-bound assignments. - * module.c (MOD_VERSION): Incremented. - (mio_intrinsic_op): New routine. - (mio_full_typebound_tree): New routine to make typebound-procedures IO - code reusable for type-bound user operators. - (mio_f2k_derived): IO of type-bound operators. - * primary.c (gfc_match_varspec): Initialize new fields in gfc_expr and - pass locus to gfc_find_typebound_proc. - * resolve.c (resolve_operator): Only output error about no matching - interface if gfc_extend_expr did not already fail with an error. - (extract_compcall_passed_object): Use specified base-object if present. - (update_compcall_arglist): Handle ignore_pass field. - (resolve_ordinary_assign): Update to handle extended code for - type-bound assignments, too. - (resolve_code): Handle EXEC_ASSIGN_CALL statement code. - (resolve_tb_generic_targets): Pass locus to gfc_find_typebound_proc. - (resolve_typebound_generic), (resolve_typebound_procedure): Ditto. - (resolve_typebound_intrinsic_op), (resolve_typebound_user_op): Ditto. - (ensure_not_abstract_walker), (resolve_fl_derived): Ditto. - (resolve_typebound_procedures): Remove not-implemented error. - (resolve_typebound_call): Handle assign-call flag. - * symbol.c (find_typebound_proc_uop): New argument to pass locus for - error message about PRIVATE, verify that a found procedure is not marked - as erraneous. - (gfc_find_typebound_intrinsic_op): Ditto. - (gfc_find_typebound_proc), (gfc_find_typebound_user_op): New locus arg. - -2009-08-22 Bud Davis <bdavis9659@sbcglobal.net> - - PR fortran/28093 - * io.c: reverted previous patch. - -2009-08-25 Janne Blomqvist <jb@gcc.gnu.org> - - * gfortran.texi: Fix ENCODE example. - -2009-08-25 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41139 - * primary.c (gfc_match_varspec): Make sure EXPR_PPC is only used for - calls to procedure pointer components, other references to procedure - pointer components are EXPR_VARIABLE. - * resolve.c (resolve_actual_arglist): Bugfix (there can be calls without - actual arglist). - * trans-expr.c (gfc_get_proc_ptr_comp): Renamed to 'get_proc_ptr_comp', - removed argument 'se' and made static. Avoid inserting a temporary - variable for calling the PPC. - (conv_function_val): Renamed gfc_get_proc_ptr_comp. - (gfc_conv_procedure_call): Distinguish functions returning a procedure - pointer from calls to a procedure pointer. Distinguish calls to - procedure pointer components from procedure pointer components as - actual arguments. - * trans-stmt.h (gfc_get_proc_ptr_comp): Make it static. - -2009-08-24 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR fortran/41162 - * io.c (check_format): Fix to not error on slash after P. Fix some - error loci. - -2009-08-24 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR fortran/41154 - * io.c (check_format): Fix to not error on right paren after P. - -2009-08-24 Aldy Hernandez <aldyh@redhat.com> - - PR fortran/40660 - * trans-io.c (build_dt): Pass UNKNOWN_LOCATION to build_call_expr_loc. - (transfer_array_desc): Same. - -2009-08-23 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR fortran/35754 - * io.c (check_format): Add checks for comma and the allowed - format specifiers after the 'P' specifier. Fix typo in error message - and adjust locus. - -2009-08-23 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR fortran/37446 - * io.c (enum format_token): Change FMT_EXT to FMT_EN and FMT_ES. - (format_lex): Likewise. - (token_to_string): New function. - (check_format): Use the new tokens and the new function. Add - check for positive width. - -2009-08-22 Steven G. Kargl <kargl@gcc.gnu.org> - - * fortran/decl.c: Disallow procedure pointers with -std=f95. - -2009-08-22 Steven K. kargl <kargl@gcc.gnu.org> - Paul Thomas <pault@gcc.gnu.org> - - * fortran/decl.c (match_char_spec): Rename to gfc_match_char_spec, - and remove static. - * fortran/gfortran.h: Add *expr3 entity to gfc_code. Add prototype - for gfc_match_char_spec. - * fortran/trans-stmt.c (gfc_trans_allocate): Translate the SOURCE= - tag. - * fortran/match.c (match_intrinsic_typespec): New function to match - F2003 intrinsic-type-spec. - (conformable_arrays): New function. Check SOURCE= and - allocation-object are conformable. - (gfc_match_allocate): Use new functions. Match SOURCE= tag. - -2009-08-22 Bud Davis <bdavis9659@sbcglobal.net> - - PR fortran/28093 - * io.c : added variable to store original len of fmt - * io.c (check_format): Consume H items using next_char - in both modes to handle consecutive single quotes. - Test for extra characters in fmt, issue warning. - -2009-08-21 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41106 - * primary.c (gfc_variable_attr): Make it work also on EXPR_FUNCTION. - (gfc_expr_attr): Use gfc_variable_attr for procedure pointer components. - * resolve.c (resolve_fl_derived): Handle CHARACTER-valued procedure - pointer components. - * trans-expr.c (gfc_conv_component_ref): Ditto. - (gfc_conv_variable): Ditto. - (gfc_conv_procedure_call): Ditto. - (gfc_trans_pointer_assignment): Ditto. - * trans-types.c (gfc_get_derived_type): Ditto. - -2009-08-20 Tobias Schlüter <tobi@gcc.gnu.org> - - * trans-stmt.c (gfc_trans_do): Add a few missing folds. - -2009-08-20 Michael Matz <matz@suse.de> - - PR fortran/41126 - * trans-expr.c (gfc_conv_string_tmp): Check type compatibility - instead of equality. - -2009-08-20 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41121 - * resolve.c (resolve_symbol): Don't resolve formal_ns of intrinsic - procedures. - -2009-08-18 Michael Matz <matz@suse.de> - - * trans-expr.c (gfc_conv_substring): Don't evaluate casted decl early, - change order of length calculation to (end - start) + 1. - (gfc_get_interface_mapping_array): Adjust call to - gfc_get_nodesc_array_type. - * trans-array.c (gfc_trans_create_temp_array, - gfc_build_constant_array_constructor, gfc_conv_expr_descriptor): Ditto. - * trans-stmt.c (gfc_trans_pointer_assign_need_temp): Ditto. - * trans.c (gfc_add_modify): Assignment between base type and nontarget - type are equal enough. - (gfc_call_malloc): Use prvoid_type_node for return value of - __builtin_malloc. - (gfc_allocate_with_status): Ditto. - * trans-types.c (gfc_array_descriptor_base): Double size of this array. - (gfc_init_types): Build prvoid_type_node. - (gfc_build_array_type): New bool parameter "restricted". - (gfc_get_nodesc_array_type): Ditto, build restrict qualified pointers, - if it's true. - (gfc_get_array_descriptor_base): Ditto. - (gfc_get_array_type_bounds): Ditto. - (gfc_sym_type): Use symbol attributes to feed calls to above functions. - (gfc_get_derived_type): Ditto. - * trans.h (struct lang_type): Add nontarget_type member. - * trans-types.h (prvoid_type_node): Declare. - (gfc_get_array_type_bounds, gfc_get_nodesc_array_type): Declare new - parameter. - * trans-decl.c (gfc_finish_var_decl): Give scalars that can't be - aliased a type with a different alias set than the base type. - (gfc_build_dummy_array_decl): Adjust call to gfc_get_nodesc_array_type. - -2009-08-18 Janus Weil <janus@gcc.gnu.org> - Paul Thomas <pault@gcc.gnu.org> - - PR fortran/40870 - * trans-types.c (gfc_get_ppc_type): Include formal args in backend_decl - using the interface symbol. Character types are returned by reference. - (gfc_get_derived_type): Prevent infinite recursion loop - if a PPC has a derived-type formal arg. - -2008-08-17 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/41062 - * trans-decl.c (gfc_trans_use_stmts): Keep going through use - list if symbol is not use associated. - -2009-08-17 Daniel Kraft <d@domob.eu> - - PR fortran/37425 - * resolve.c (get_checked_tb_operator_target): New routine to do checks - on type-bound operators in common between intrinsic and user operators. - (resolve_typebound_intrinsic_op): Call it. - (resolve_typebound_user_op): Ditto. - -2009-08-17 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR fortran/41075 - * scanner.c (gfc_next_char_literal): Add comment to improve - readability. - * io.c (enum format_token): Add FMT_STAR. (format_lex): Add case - for '*'. (check_format): Check for left paren after '*'. Change - format checks to use %L to improve format string error locus. - -2009-08-17 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40877 - * array.c (gfc_resolve_character_array_constructor): Add NULL argument - to gfc_new_charlen. - * decl.c (add_init_expr_to_sym,variable_decl,match_char_spec, - gfc_match_implicit): Ditto. - * expr.c (simplify_const_ref): Fix memory leak. - (gfc_simplify_expr): Add NULL argument to gfc_new_charlen. - * gfortran.h (gfc_new_charlen): Modified prototype. - * iresolve.c (check_charlen_present,gfc_resolve_char_achar): Add NULL - argument to gfc_new_charlen. - * module.c (mio_charlen): Ditto. - * resolve.c (gfc_resolve_substring_charlen, - gfc_resolve_character_operator,fixup_charlen): Ditto. - (resolve_fl_derived,resolve_symbol): Add argument to gfc_charlen. - * symbol.c (gfc_new_charlen): Add argument 'old_cl' (to make a copy of - an existing charlen). - (gfc_set_default_type,generate_isocbinding_symbol): Fix memory leak. - (gfc_copy_formal_args_intr): Add NULL argument to gfc_new_charlen. - * trans-decl.c (create_function_arglist): Fix memory leak. - -2009-08-17 Richard Guenther <rguenther@suse.de> - - * trans-expr.c (gfc_trans_scalar_assign): Replace hack with - more proper hack. - -2009-08-15 Tobias Burnus <burnus@net-b.de> - - PR fortran/41080 - * gfortranspec.c (lookup_option): Remove gfortran-specific - version of -dumpversion. - -2009-08-14 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41070 - * resolve.c (resolve_structure_cons): Make sure that ts.u.derived is - only used if type is BT_DERIVED. - -2009-08-13 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40941 - * gfortran.h (gfc_typespec): Put 'derived' and 'cl' into union. - * decl.c (build_struct): Make sure 'cl' is only used - if type is BT_CHARACTER. - * symbol.c (gfc_set_default_type): Ditto. - * resolve.c (resolve_symbol, resolve_fl_derived): Ditto. - (resolve_equivalence,resolve_equivalence_derived): Make sure 'derived' - is only used if type is BT_DERIVED. - * trans-io.c (transfer_expr): Make sure 'derived' is only used if type - is BT_DERIVED or BT_INTEGER (special case: C_PTR/C_FUNPTR). - * array.c: Mechanical replacements to accomodate union in gfc_typespec. - * check.c: Ditto. - * data.c: Ditto. - * decl.c: Ditto. - * dump-parse-tree.c: Ditto. - * expr.c: Ditto. - * interface.c: Ditto. - * iresolve.c: Ditto. - * match.c: Ditto. - * misc.c: Ditto. - * module.c: Ditto. - * openmp.c: Ditto. - * parse.c: Ditto. - * primary.c: Ditto. - * resolve.c: Ditto. - * simplify.c: Ditto. - * symbol.c: Ditto. - * target-memory.c: Ditto. - * trans-array.c: Ditto. - * trans-common.c: Ditto. - * trans-const.c: Ditto. - * trans-decl.c: Ditto. - * trans-expr.c: Ditto. - * trans-intrinsic.c: Ditto. - * trans-io.c: Ditto. - * trans-stmt.c: Ditto. - * trans-types.c: Ditto. - -2009-08-13 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40995 - * resolve.c (resolve_symbol): Move some checking code to - resolve_intrinsic, and call this from here. - (resolve_intrinsic): Some checking code moved here from resolve_symbol. - Make sure each intrinsic is only resolved once. - -2009-08-12 Tobias Burnus <burnus@net-b.de> - - PR fortran/41034 - * symbol.c (gfc_copy_attr): Merge bits instead of replace - bits in gfc_copy_attr. - * gfc_check_pointer_assign (gfc_check_pointer_assign): - Initialize ext_attr bits by zero. - -2009-08-11 Richard Guenther <rguenther@suse.de> - - * trans-types.c (gfc_get_derived_type): Do not clear TYPE_CANONICAL. - -2009-08-11 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41022 - * trans-expr.c (gfc_conv_procedure_call): Handle procedure pointer - components as actual arguments. - -2009-08-10 Daniel Kraft <d@domob.eu> - - PR fortran/37425 - * gfortran.h (struct gfc_namespace): New fields tb_uop_root and tb_op. - (gfc_find_typebound_user_op): New routine. - (gfc_find_typebound_intrinsic_op): Ditto. - (gfc_check_operator_interface): Now public routine. - * decl.c (gfc_match_generic): Match OPERATOR(X) or ASSIGNMENT(=). - * interface.c (check_operator_interface): Made public, renamed to - `gfc_check_operator_interface' accordingly and hand in the interface - as gfc_symbol rather than gfc_interface so it is useful for type-bound - operators, too. Return boolean result. - (gfc_check_interfaces): Adapt call to `check_operator_interface'. - * symbol.c (gfc_get_namespace): Initialize new field `tb_op'. - (gfc_free_namespace): Free `tb_uop_root'-based tree. - (find_typebound_proc_uop): New helper function. - (gfc_find_typebound_proc): Use it. - (gfc_find_typebound_user_op): New method. - (gfc_find_typebound_intrinsic_op): Ditto. - * resolve.c (resolve_tb_generic_targets): New helper function. - (resolve_typebound_generic): Use it. - (resolve_typebound_intrinsic_op), (resolve_typebound_user_op): New. - (resolve_typebound_procedures): Resolve operators, too. - (check_uop_procedure): New, code from gfc_resolve_uops. - (gfc_resolve_uops): Moved main code to new `check_uop_procedure'. - -2009-08-10 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40940 - * decl.c (gfc_match_type_spec): Match CLASS statement and warn about - missing polymorphism. - * gfortran.h (gfc_typespec): Add field 'is_class'. - * misc.c (gfc_clear_ts): Initialize 'is_class' to zero. - * resolve.c (type_is_extensible): New function to check if a derived - type is extensible. - (resolve_fl_variable_derived): Add error checks for CLASS variables. - (resolve_typebound_procedure): Disallow non-polymorphic passed-object - dummy arguments, turning warning into error. - (resolve_fl_derived): Use 'type_is_extensible'. Disallow non-polymorphic - passed-object dummy arguments for procedure pointer components, - turning warning into error. Add error check for CLASS components. - -2009-08-05 Tobias Burnus <burnus@net-b.de> - - PR fortran/40955 - * gfortran.h (ext_attr_id_t): Add typedef for this enum. - (gfc_add_ext_attribute): Use it. - * decl.c (gfc_match_gcc_attributes): Ditto. - * expr.c (gfc_check_pointer_assign): Ditto. - * symbol.c (gfc_add_ext_attribute): Ditto. - (gfc_copy_attr): Copy also ext_attr. - * resolve.c (resolve_fl_derived,resolve_symbol): Ditto. - * module.c (mio_symbol_attribute): Save ext_attr in the mod file. - -2009-08-05 Tobias Burnus <burnus@net-b.de> - - PR fortran/40969 - Revert: - 2009-08-04 Tobias Burnus <burnus@net-b.de> - - PR fortran/40949 - * trans-types.c (gfc_get_function_type): Fix typelist of - functions without argument. - -2009-08-05 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/40847 - * iresolve.c (gfc_resolve_transfer): Correct error in 'mold' - character length for case where length expresson is NULL. - -2009-08-04 Tobias Burnus <burnus@net-b.de> - - PR fortran/40949 - * trans-types.c (gfc_get_function_type): Fix typelist of - functions without argument. - -2009-08-04 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/40875 - * decl.c (add_init_expr_to_sym): Character symbols can only be - initialized with character expressions. - -2009-08-02 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40881 - * decl.c (match_char_length): Warn about old-style character length - declarations. - * match.c (match_arithmetic_if,gfc_match_if): Modify warning message - for arithmetic if. - (gfc_match_goto): Warn about computed gotos. - (gfc_match_return): Warn about alternate return. - (gfc_match_st_function): Warn about statement functions. - * resolve.c (resolve_fl_procedure): Modify warning message for - assumed-length character functions. - -2009-08-01 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/40011 - * error.c : Add static flag 'warnings_not_errors'. - (gfc_error): If 'warnings_not_errors' is set, branch to code - from gfc_warning. - (gfc_clear_error): Reset 'warnings_not_errors'. - (gfc_errors_to_warnings): New function. - * options.c (gfc_post_options): If pedantic and flag_whole_file - change the latter to a value of 2. - * parse.c (parse_module): Add module namespace to gsymbol. - (resolve_all_program_units): New function. - (clean_up_modules): New function. - (translate_all_program_units): New function. - (gfc_parse_file): If whole_file, do not clean up module right - away and add derived types to namespace derived types. In - addition, call the three new functions above. - * resolve.c (not_in_recursive): New function. - (not_entry_self_reference): New function. - (resolve_global_procedure): Symbol must not be IFSRC_UNKNOWN, - procedure must not be in the course of being resolved and - must return false for the two new functions. Pack away the - current derived type list before calling gfc_resolve for the - gsymbol namespace. It is unconditionally an error if the ranks - of the reference and ther procedure do not match. Convert - errors to warnings during call to gfc_procedure_use if not - pedantic or legacy. - (gfc_resolve): Set namespace resolved flag to -1 during - resolution and store current cs_base. - * trans-decl.c (gfc_get_symbol_decl): If whole_file compilation - substitute a use associated variable, if it is available in a - gsymbolnamespace. - (gfc_get_extern_function_decl): If the procedure is use assoc, - do not attempt to find it in a gsymbol because it could be an - interface. If the symbol exists in a module namespace, return - its backend_decl. - * trans-expr.c (gfc_trans_scalar_assign): If a derived type - assignment, set the rhs TYPE_MAIN_VARIANT to that of the rhs. - * trans-types.c (copy_dt_decls_ifequal): Add 'from_gsym' as a - boolean argument. Copy component backend_decls directly if the - components are derived types and from_gsym is true. - (gfc_get_derived_type): If whole_file copy the derived type from - the module if it is use associated, otherwise, if can be found - in another gsymbol namespace, use the existing derived type as - the TYPE_CANONICAL and build normally. - * gfortran.h : Add derived_types and resolved fields to - gfc_namespace. Include prototype for gfc_errors_to_warnings. - -2009-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. - -2009-07-28 Jakub Jelinek <jakub@redhat.com> - - PR fortran/40878 - * openmp.c (gfc_match_omp_clauses): Use gfc_error_now instead of - gfc_error to diagnose invalid COLLAPSE arguments. - -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-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 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/33197 - * intrinsic.c (make_generic): Remove assert as "atan" can be - both ISYM_ATAN and ISYM_ATAN2. - (add_functions): Add two-argument variant of ATAN. - * intrinsic.h (gfc_check_atan_2): Add check for it. - * intrinsic.texi (ATAN2): Correct and enhance description. - (ATAN): Describe two-argument variant of ATAN. - -2009-07-25 Tobias Burnus <burnus@net-b.de> - Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> - - PR fortran/33197 - * intrinsic.c (add_functions): Support complex arguments for - acos,acosh,asin,asinh,atan,atanh. - * invoke.texi (ACOS,ACOSH,ASIN,ASINH,ATAN,ATANH): Support - complex arguments. - * simplify.c (gfc_simplify_acos,gfc_simplify_acosh, - gfc_simplify_asin,gfc_simplify_asinh,gfc_simplify_atan, - gfc_simplify_atanh,gfc_simplify_atan,gfc_simplify_asinh, - gfc_simplify_acosh,gfc_simplify_atanh): Support - complex arguments. - -2009-07-25 Richard Guenther <rguenther@suse.de> - - PR fortran/40005 - * trans-types.c (gfc_get_array_type_bounds): Use - build_distinct_type_copy with a proper TYPE_CANONICAL and - re-use the type-decl of the original type. - * trans-decl.c (build_entry_thunks): Signal cgraph we may not - garbage collect. - (create_main_function): Likewise. - (gfc_generate_function_code): Likewise. - * trans-expr.c (gfc_trans_subcomponent_assign): Do not use - fold_convert on record types. - -2009-07-25 Janus Weil <janus@gcc.gnu.org> - - PR fortran/39630 - * decl.c (match_ppc_decl): Implement the PASS attribute for procedure - pointer components. - (match_binding_attributes): Ditto. - * gfortran.h (gfc_component): Add member 'tb'. - (gfc_typebound_proc): Add member 'ppc' and make 'pass_arg' const. - * module.c (MOD_VERSION): Bump module version. - (binding_ppc): New string constants. - (mio_component): Only use formal args if component is a procedure - pointer and add 'tb' member. - (mio_typebound_proc): Include pass_arg and take care of procedure - pointer components. - * resolve.c (update_arglist_pass): Add argument 'name' and take care of - optional arguments. - (extract_ppc_passed_object): New function, analogous to - extract_compcall_passed_object, but for procedure pointer components. - (update_ppc_arglist): New function, analogous to - update_compcall_arglist, but for procedure pointer components. - (resolve_typebound_generic_call): Added argument to update_arglist_pass. - (resolve_ppc_call, resolve_expr_ppc): Take care of PASS attribute. - (resolve_fl_derived): Check the PASS argument for procedure pointer - components. - * symbol.c (verify_bind_c_derived_type): Reject procedure pointer - components in BIND(C) types. - -2009-07-24 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40822 - * array.c (gfc_resolve_character_array_constructor): Use new function - gfc_new_charlen. - * decl.c (add_init_expr_to_sym,variable_decl,match_char_spec, - gfc_match_implicit): Ditto. - * expr.c (gfc_simplify_expr): Ditto. - * gfortran.h (gfc_new_charlen): New prototype. - * iresolve.c (check_charlen_present,gfc_resolve_char_achar): Use new - function gfc_new_charlen. - * module.c (mio_charlen): Ditto. - * resolve.c (gfc_resolve_substring_charlen, - gfc_resolve_character_operator,fixup_charlen,resolve_fl_derived, - resolve_symbol): Ditto. - * symbol.c (gfc_new_charlen): New function to create a new gfc_charlen - structure and add it to a namespace. - (gfc_copy_formal_args_intr): Make sure ts.cl is present - for CHARACTER variables. - -2009-07-24 Jakub Jelinek <jakub@redhat.com> - - PR fortran/40643 - PR fortran/31067 - * trans-intrinsic.c (gfc_conv_intrinsic_minmaxloc, - gfc_conv_intrinsic_minmaxval): Handle Infinities and NaNs properly, - optimize. - * trans-array.c (gfc_trans_scalarized_loop_end): No longer static. - * trans-array.h (gfc_trans_scalarized_loop_end): New prototype. - -2009-07-23 Jakub Jelinek <jakub@redhat.com> - - PR fortran/40839 - * io.c (gfc_resolve_dt): Add LOC argument. Fail if - dt->io_unit is NULL. Return FAILURE after issuing error about - negative UNIT number. - (match_io_element): Don't segfault if current_dt->io_unit is NULL. - * gfortran.h (gfc_resolve_dt): Adjust prototype. - * resolve.c (resolve_code): Adjust caller. - -2009-07-22 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/40796 - * trans-decl.c (generate_local_decl): Unreferenced result - variables with allocatable components should be treated like - INTENT_OUT dummy variables. - -2009-07-22 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> - - * trans.h (gfc_set_decl_assembler_name): New prototype. - * trans-decl.c (gfc_set_decl_assembler_name): New function. - (gfc_get_symbol_decl, gfc_get_extern_function_decl, - build_function_decl): Use gfc_set_decl_assembler_name instead of - SET_DECL_ASSEMBLER_NAME. - * trans-common.c (build_common_decl): Use - gfc_set_decl_assembler_name instead of SET_DECL_ASSEMBLER_NAME. - -2009-07-21 Richard Guenther <rguenther@suse.de> - - PR fortran/40726 - * trans-decl.c (gfc_get_extern_function_decl): Do not set - DECL_IS_MALLOC for pointer valued functions. - (build_function_decl): The same. - -2009-07-19 Steven G. Kargl <kargl@gcc.gnu.org> - - PR fortran/40727 - * fortran/check.c (gfc_check_cmplx, gfc_check_dcmplx): Add check that - the optional second argument isn't of COMPLEX type. - -2009-07-17 Richard Guenther <rguenther@suse.de> - - PR c/40401 - * f95-lang.c (gfc_be_parse_file): Do not finalize the CU here. - * trans-decl.c (gfc_gimplify_function): Remove. - (build_entry_thunks): Do not gimplify here. - (create_main_function): Likewise. - (gfc_generate_function_code): Likewise. - -2009-07-17 Aldy Hernandez <aldyh@redhat.com> - Manuel López-Ibáñez <manu@gcc.gnu.org> - - PR 40435 - * trans-expr.c, trans-array.c, trans-openmp.c, trans-stmt.c, - trans.c, trans-io.c, trans-decl.c, trans-intrinsic.c: Add location - argument to fold_{unary,binary,ternary}, fold_build[123], - build_call_expr, build_size_arg, build_fold_addr_expr, - build_call_array, non_lvalue, size_diffop, - fold_build1_initializer, fold_build2_initializer, - fold_build3_initializer, fold_build_call_array, - fold_build_call_array_initializer, fold_single_bit_test, - omit_one_operand, omit_two_operands, invert_truthvalue, - fold_truth_not_expr, build_fold_indirect_ref, fold_indirect_ref, - combine_comparisons, fold_builtin_*, fold_call_expr, - build_range_check, maybe_fold_offset_to_address, round_up, - round_down. - -2009-07-15 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40743 - * resolve.c (resolve_symbol): Don't resolve the formal namespace of a - contained procedure. - -2009-07-14 Taras Glek <tglek@mozilla.com> - Rafael Espindola <espindola@google.com> - - * Make-lang.in (fortran.install-plugin): New target for - installing plugin headers. - -2009-07-13 H.J. Lu <hongjiu.lu@intel.com> - - * module.c (mio_symbol): Remove the unused variable, formal. - -2009-07-13 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40646 - * module.c (mio_symbol): If the symbol has formal arguments, - the formal namespace will be present. - * resolve.c (resolve_actual_arglist): Correctly handle 'called' - procedure pointer components as actual arguments. - (resolve_fl_derived,resolve_symbol): Make sure the formal namespace - is present. - * trans-expr.c (gfc_conv_procedure_call): Correctly handle the formal - arguments of procedure pointer components. - -2009-07-12 Tobias Burnus <burnus@net-b.de> - Philippe Marguinaud <philippe.marguinaud@meteo.fr> - - PR fortran/40588 - * primary.c (match_charkind_name): Fix condition for $ matching. - - PR libfortran/22423 - * libgfortran.h: Typedef the GFC_DTYPE_* enum. - -2009-07-11 Tobias Burnus <burnus@net-b.de> - - PR fortran/33197 - * check.c (gfc_check_fn_rc2008): New function. - * intrinsic.h (gfc_check_fn_rc2008): New prototype. - * intrinsic.c (add_functions): Add complex tan, cosh, sinh, - and tanh. - -2009-07-10 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/39334 - * primary.c (match_kind_param): Return MATCH_NO if the symbol - has no value. - -2008-07-09 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/40629 - * resolve.c (check_host_association): Use the existing - accessible symtree and treat function expressions with - symbols that have procedure flavor. - -2009-07-09 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40646 - * dump-parse-tree.c (show_expr): Renamed 'is_proc_ptr_comp'. - * expr.c (is_proc_ptr_comp): Renamed to 'gfc_is_proc_ptr_comp'. - (gfc_check_pointer_assign): Renamed 'is_proc_ptr_comp'. - (replace_comp,gfc_expr_replace_comp): New functions, analogous - to 'replace_symbol' and 'gfc_expr_replace_symbol', just with components - instead of symbols. - * gfortran.h (gfc_expr_replace_comp): New prototype. - (is_proc_ptr_comp): Renamed to 'gfc_is_proc_ptr_comp'. - * interface.c (compare_actual_formal): Renamed 'is_proc_ptr_comp'. - * match.c (gfc_match_pointer_assignment): Ditto. - * primary.c (gfc_match_varspec): Handle array-valued procedure pointers - and procedure pointer components. Renamed 'is_proc_ptr_comp'. - * resolve.c (resolve_fl_derived): Correctly handle interfaces with - RESULT statement, and handle array-valued procedure pointer components. - (resolve_actual_arglist,resolve_ppc_call,resolve_expr_ppc): Renamed - 'is_proc_ptr_comp'. - * trans-array.c (gfc_walk_function_expr): Ditto. - * trans-decl.c (gfc_get_symbol_decl): Security check for presence of - ns->proc_name. - * trans-expr.c (gfc_conv_procedure_call): Handle array-valued procedure - pointer components. Renamed 'is_proc_ptr_comp'. - (conv_function_val,gfc_trans_arrayfunc_assign): Renamed - 'is_proc_ptr_comp'. - (gfc_get_proc_ptr_comp): Do not modify the argument 'e', but instead - make a copy of it. - * trans-io.c (gfc_trans_transfer): Handle array-valued procedure - pointer components. - -2009-07-09 Tobias Burnus <burnus@net-b.de> - - PR fortran/40604 - * intrinsic.c (gfc_convert_type_warn): Set sym->result. - * trans-expr.c (gfc_conv_procedure_call): Fix -fcheck=pointer - for optional arguments. - -2009-07-08 Tobias Burnus <burnus@net-b.de> - - PR fortran/40675 - * simplify.c (gfc_simplify_sign): Handle signed zero correctly. - * trans-intrinsic.c (gfc_conv_intrinsic_sign): Support - -fno-sign-zero. - * invoke.texi (-fno-sign-zero): Add text regarding SIGN intrinsic. - -2008-07-08 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/40591 - * decl.c (match_procedure_interface): Correct the association - or creation of the interface procedure's symbol. - -2009-07-04 Jakub Jelinek <jakub@redhat.com> - - * trans-intrinsic.c (gfc_conv_intrinsic_minmaxloc): For integer - maxloc initialize limit to -huge-1 rather than just -huge. - -2009-07-04 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40593 - * interface.c (compare_actual_formal): Take care of proc-pointer-valued - functions as actual arguments. - * trans-expr.c (gfc_conv_procedure_call): Ditto. - * resolve.c (resolve_specific_f0): Use the correct ts. - -2009-07-02 Michael Matz <matz@suse.de> - - PR fortran/32131 - * trans-array.c (gfc_conv_descriptor_stride_get): Return - constant one for strides in the first dimension of ALLOCATABLE - arrays. - -2009-06-30 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40594 - * trans-types.c (gfc_get_derived_type): Bugfix, reverting one hunk from - r147206. - -2009-06-29 Tobias Burnus <burnus@net-b.de> - - PR fortran/40580 - * trans-expr.c (gfc_conv_procedure_call): Add -fcheck=pointer check. - * libgfortran.h: Add GFC_RTCHECK_POINTER. - * invoke.texi (-fcheck): Document new pointer option. - * options.c (gfc_handle_runtime_check_option): Handle pointer option. - - * gfortran.texi (C Binding): Improve wording. - * iso-c-binding.def: Remove obsolete comment. - -2009-06-29 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/40551 - * dependency.h : Add second bool* argument to prototype of - gfc_full_array_ref_p. - * dependency.c (gfc_full_array_ref_p): If second argument is - present, return true if last dimension of reference is an - element or has unity stride. - * trans-array.c : Add NULL second argument to references to - gfc_full_array_ref_p. - * trans-expr.c : The same, except for; - (gfc_trans_arrayfunc_assign): Return fail if lhs reference - is not a full array or a contiguous section. - -2009-06-28 Tobias Burnus <burnus@net-b.de> - Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> - - PR fortran/34112 - * symbol.c (gfc_add_ext_attribute): New function. - (gfc_get_sym_tree): New argument allow_subroutine. - (gfc_get_symbol,gfc_get_ha_sym_tree,gen_cptr_param,gen_fptr_param - gen_shape_param,generate_isocbinding_symbol): Use it. - * decl.c (find_special): New argument allow_subroutine. - (add_init_expr_to_sym,add_hidden_procptr_result,attr_decl1, - match_procedure_in_type,gfc_match_final_decl): Use it. - (gfc_match_gcc_attributes): New function. - * gfortran.texi (Mixed-Language Programming): New section - "GNU Fortran Compiler Directives". - * gfortran.h (ext_attr_t): New struct. - (symbol_attributes): Use it. - (gfc_add_ext_attribute): New prototype. - (gfc_get_sym_tree): Update pototype. - * expr.c (gfc_check_pointer_assign): Check whether call - convention is the same. - * module.c (import_iso_c_binding_module, create_int_parameter, - use_iso_fortran_env_module): Update gfc_get_sym_tree call. - * scanner.c (skip_gcc_attribute): New function. - (skip_free_comments,skip_fixed_comments): Use it. - (gfc_next_char_literal): Support !GCC$ lines. - * resolve.c (check_host_association): Update - gfc_get_sym_tree call. - * match.c (gfc_match_sym_tree,gfc_match_call): Update - gfc_get_sym_tree call. - * trans-decl.c (add_attributes_to_decl): New function. - (gfc_get_symbol_decl,get_proc_pointer_decl, - gfc_get_extern_function_decl,build_function_decl: Use it. - * match.h (gfc_match_gcc_attributes): Add prototype. - * parse.c (decode_gcc_attribute): New function. - (next_free,next_fixed): Support !GCC$ lines. - * primary.c (match_actual_arg,check_for_implicit_index, - gfc_match_rvalue,gfc_match_rvalue): Update - gfc_get_sym_tree call. - -2009-06-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * gfortran.h: Define HAVE_mpc_pow. - * arith.c (complex_reciprocal, complex_pow): If HAVE_mpc_pow, - don't define these functions. - (arith_power): If HAVE_mpc_pow, use mpc_pow. - -2009-06-26 Janus Weil <janus@gcc.gnu.org> - - PR fortran/39997 - PR fortran/40541 - * decl.c (add_hidden_procptr_result): Copy the typespec to the hidden - result. - * expr.c (gfc_check_pointer_assign): Enable interface check for - procedure pointer assignments where the rhs is a function returning a - procedure pointer. - * resolve.c (resolve_symbol): If an external procedure with unspecified - return type can not be implicitly typed, it must be a subroutine. - -2009-06-24 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40427 - * gfortran.h (gfc_component): New member 'formal_ns'. - (gfc_copy_formal_args_ppc,void gfc_ppc_use): New. - * interface.c (gfc_ppc_use): New function, analogous to - gfc_procedure_use, but for procedure pointer components. - * module.c (MOD_VERSION): Bump module version. - (mio_component): Treat formal arguments. - (mio_formal_arglist): Changed argument from gfc_symbol to - gfc_formal_arglist. - (mio_symbol): Changed argument of mio_formal_arglist. - * resolve.c (resolve_ppc_call,resolve_expr_ppc): Call gfc_ppc_use, - to check actual arguments and treat formal args correctly. - (resolve_fl_derived): Copy formal args of procedure pointer components - from their interface. - * symbol.c (gfc_copy_formal_args_ppc): New function, analogous to - gfc_copy_formal_args, but for procedure pointer components. - -2009-06-22 Janus Weil <janus@gcc.gnu.org> - - PR fortran/37254 - PR fortran/39850 - * interface.c (compare_parameter): Set implicit type for function - actual arguments with BT_UNKNOWN. - -2009-06-22 Tobias Burnus <burnus@net-b.de> - - PR fortran/40472 - PR fortran/50520 - * simplify.c (gfc_simplify_spread): Fix the case that source= - is a scalar. - -2009-06-22 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/40443 - * interface.c (gfc_search_interface): Hold back a match to an - elementary procedure until all other possibilities are - exhausted. - -2009-06-22 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/40472 - * simplify.c (gfc_simplify_spread): Restrict the result size to - the limit for an array constructor. - -2009-06-21 Janus Weil <janus@gcc.gnu.org> - - PR fortran/39850 - * interface.c (gfc_compare_interfaces): Take care of implicit typing - when checking the function attribute. Plus another bugfix. - (compare_parameter): Set attr.function and attr.subroutine according - to the usage of a procedure as actual argument. - -2009-06-20 Tobias Burnus <burnus@net-b.de> - - PR fortran/40452 - * trans-decl.c (add_argument_checking): Disable bounds check - for allowed argument storage association. - -2009-06-19 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/40440 - * trans-expr.c (gfc_conv_procedure_call): Do not deallocate - allocatable components if the argument is a pointer. - -2009-06-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * gfortran.h (gfc_expr): Use mpc_t to represent complex numbers. - - * arith.c, dump-parse-tree.c, expr.c, module.c, resolve.c, - simplify.c, target-memory.c, target-memory.h, trans-const.c, - trans-expr.c: Convert to mpc_t throughout. - -2009-06-19 Ian Lance Taylor <iant@google.com> - - * cpp.c (struct gfc_cpp_option_data): Give this struct, used for - the global variable gfc_cpp_option, a name. - -2009-06-19 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40450 - * trans-expr.c (gfc_conv_procedure_call): Only add an extra addr_expr - to a procedure pointer actual argument, if it is not itself a - dummy arg. - -2009-06-18 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40451 - * resolve.c (resolve_contained_fntype): Prevent implicit typing for - procedures with explicit interface. - * symbol.c (gfc_check_function_type): Ditto. - -2009-06-16 Ian Lance Taylor <iant@google.com> - - * decl.c (build_struct): Rewrite loop over constructor elements. - -2009-06-16 Janus Weil <janus@gcc.gnu.org> - - PR fortran/36947 - PR fortran/40039 - * expr.c (gfc_check_pointer_assign): Call 'gfc_compare_interfaces' with - error message. - * gfortran.h (gfc_compare_interfaces): Additional argument. - * interface.c (operator_correspondence): Removed. - (gfc_compare_interfaces): Additional argument to return error message. - Directly use the code from 'operator_correspondence' instead of calling - the function. Check for OPTIONAL. Some rearrangements. - (check_interface1): Call 'gfc_compare_interfaces' without error message. - (compare_parameter): Call 'gfc_compare_interfaces' with error message. - * resolve.c (check_generic_tbp_ambiguity): Call 'gfc_compare_interfaces' - without error message. - -2009-06-16 Tobias Burnus <burnus@net-b.de> - - PR fortran/40383 - * trans-decl.c (create_function_arglist): Copy formal charlist to - have a proper passed_length for -fcheck=bounds. - -2009-06-12 Steven G. Kargl <kargls@comcast.net> - - * arith.c (gfc_enum_initializer): Move function ... - * decl.c: ... here. Remove gfc_ prefix and make static. - (enumerator_decl): Update function call. - * gfortran.h: Remove gfc_enum_initializer prototype. - -2009-06-12 Aldy Hernandez <aldyh@redhat.com> - - * trans-array.c (gfc_trans_allocate_array_storage): Pass - location on down. - (gfc_trans_array_constructor_value): Same. - (gfc_trans_scalarized_loop_end): Same. - (gfc_conv_ss_startstride): Same. - (gfc_trans_g77_array): Same. - (gfc_trans_dummy_array_bias): Same. - (gfc_conv_array_parameter): Same. - (structure_alloc_comps): Same. - * trans-expr.c (gfc_conv_function_call): Same. - (fill_with_spaces): Same. - (gfc_trans_string_copy): Same. - (gfc_trans_scalar_assign): Same. - * trans-stmt.c (gfc_trans_goto): Same. - (gfc_trans_if_1): Same. - (gfc_trans_simple_do): Same. - (gfc_trans_do): Same. - (gfc_trans_do_while): Same. - (gfc_trans_logical_select): Same. - (gfc_trans_select): Same. - (gfc_trans_forall_loop): Same. - (gfc_trans_nested_forall_loop): Same. - (generate_loop_for_temp_to_lhs): Same. - (generate_loop_for_rhs_to_temp): Same. - (gfc_trans_forall_1): Same. - (gfc_trans_where_assign): Same. - (gfc_trans_where_3): Same. - (gfc_trans_allocate): Same. - * trans.c (gfc_finish_block): Same. - (gfc_trans_runtime_check): Same. - (gfc_call_malloc): Same. - (gfc_allocate_with_status): Same. - (gfc_call_free): Same. - (gfc_deallocate_with_status): Same. - (gfc_call_realloc): Same. - (gfc_trans_code): Same. - * trans-decl.c (gfc_init_default_dt): Same. - (gfc_generate_constructors): Same. - * trans-io.c (gfc_trans_io_runtime_check): Same. - * trans-intrinsic.c (gfc_conv_intrinsic_ctime): Same. - (gfc_conv_intrinsic_fdate): Same. - (gfc_conv_intrinsic_ttynam): Same. - (gfc_conv_intrinsic_minmax): Same. - (gfc_conv_intrinsic_minmax_char): Same. - (gfc_conv_intrinsic_anyall): Same. - (gfc_conv_intrinsic_count): Same. - (gfc_conv_intrinsic_arith): Same. - (gfc_conv_intrinsic_minmaxloc): Same. - (gfc_conv_intrinsic_minmaxval): Same. - (gfc_conv_intrinsic_rrspacing): Same. - (gfc_conv_intrinsic_array_transfer): Same. - (gfc_conv_intrinsic_trim): Same. - (gfc_conv_intrinsic_repeat): Same. - -2009-06-12 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40176 - * resolve.c (resolve_symbol): Additional error check, preventing an - infinite loop. - -2009-06-11 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/40402 - * resolve.c (next_data_value): It is an error if the value is - not constant. - -2009-06-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> - - PR fortran/38718 - * intrinsic.c (add_functions): Add simplifiers for ISNAN, - IS_IOSTAT_END and IS_IOSTAT_EOR. - * intrinsic.h (gfc_simplify_is_iostat_end, gfc_simplify_is_iostat_eor, - gfc_simplify_isnan): New prototypes. - * intrinsic.c (gfc_simplify_is_iostat_end, gfc_simplify_is_iostat_eor, - gfc_simplify_isnan): New functions. - -2009-06-11 Jakub Jelinek <jakub@redhat.com> - - * interface.c (fold_unary): Rename to... - (fold_unary_intrinsic): ... this. - (gfc_extend_expr): Adjust caller. - (gfc_match_generic_spec): Likewise. Initialize *op to INTRINSIC_NONE - to avoid warnings. - * expr.c (gfc_simplify_expr): Initialize start and end before calling - gfc_extract_int. - -2009-06-10 Dave Korn <dave.korn.cygwin@gmail.com> - - * trans-decl.c (create_main_function): Don't build main decl twice. - -2009-06-09 Tobias Burnus <burnus@net-b.de> - - * trans-decl.c (gfc_generate_function_code): Use gfc_option.rtcheck - instead of flag_bounds_check. - * intrinsic.texi (ISO_FORTRAN_ENV): Document INT{8,16,32,64} and - REAL{32,64,128}. - -2009-06-08 Paul Thomas <pault@gcc.gnu.org> - - * trans-array.h : Replace prototypes for - gfc_conv_descriptor_offset, gfc_conv_descriptor_stride, - gfc_conv_descriptor_lbound, gfc_conv_descriptor_ubound with new - prototypes of the same names with _get or _set appended. - * trans-array.c : Make the originals of the above static and - new functions for the _get and _set functions. Update all the - references to these descriptor access functions. - * trans-expr.c : Update references to the above descriptor - access functions. - * trans-intrinsic.c : The same. - * trans-openmp.c : The same. - * trans-stmt.c : The same. - -2009-06-08 Alexandre Oliva <aoliva@redhat.com> - - * options.c (gfc_post_options): Disable dump_parse_tree - during -fcompare-debug-second. - -2009-06-07 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR fortran/40008 - * gfortran.h (gfc_open): Add newunit expression to structure. - * io.c (io_tag): Add new unit tag and fix whitespace. - (match_open_element): Add matching for newunit. - (gfc_free_open): Free the newunit expression. - (gfc_resolve_open): Add newunit to resolution and check constraints. - (gfc_resolve_close): Add check for non-negative unit. - (gfc_resolve_filepos): Likewise. - (gfc_resolve_dt): Likewise. - * trans-io.c (set_parameter_value): Build runtime checks for unit - numbers within range of kind=4 integer. (gfc_trans_open) Set the - newunit parameter. - * ioparm.def (IOPARM): Define the newunit parameter as a pointer - to GFC_INTEGER_4, pint4. - -2009-06-07 Daniel Franke <franke.daniel@gmail.com> - - PR fortran/25104 - PR fortran/29962 - * array.c (gfc_append_constructor): Added NULL-check. - * check.c (gfc_check_spread): Check DIM. - (gfc_check_unpack): Check that the ARRAY arguments provides enough - values for MASK. - * intrinsic.h (gfc_simplify_spread): New prototype. - (gfc_simplify_unpack): Likewise. - * intrinsic.c (add_functions): Added new simplifier callbacks. - * simplify.c (gfc_simplify_spread): New. - (gfc_simplify_unpack): New. - * expr.c (check_transformational): Allow additional transformational - intrinsics in initialization expression. - -2009-06-07 Daniel Franke <franke.daniel@gmail.com> - - PR fortran/25104 - PR fortran/29962 - * check.c (gfc_check_all_any): Check rank of DIM. - (gfc_check_count): Likewise. - * intrinsic.h (gfc_simplify_all): New prototype. - (gfc_simplify_any): Likewise. - (gfc_simplify_count): Likewise. - (gfc_simplify_sum): Likewise. - (gfc_simplify_product): Likewise. - * intrinsic.c (add_functions): Added new simplifier callbacks. - * simplify.c (transformational_result): New. - (simplify_transformation_to_scalar): New. - (simplify_transformation_to_array): New. - (gfc_count): New. - (gfc_simplify_all): New. - (gfc_simplify_any): New. - (gfc_simplify_count): New. - (gfc_simplify_sum): New. - (gfc_simplify_product): New. - * expr.c (check_transformational): Allow additional transformational - intrinsics in initialization expression. - -2009-06-07 Daniel Franke <franke.daniel@gmail.com> - - * check.c (dim_rank_check): Return SUCCESS if DIM=NULL. - (gfc_check_lbound): Removed (now) redundant check for DIM=NULL. - (gfc_check_minloc_maxloc): Likewise. - (check_reduction): Likewise. - (gfc_check_size): Likewise. - (gfc_check_ubound): Likewise. - (gfc_check_cshift): Added missing shape-conformance checks. - (gfc_check_eoshift): Likewise. - * gfortran.h (gfc_check_conformance): Modified prototype to printf-style. - * expr.c (gfc_check_conformance): Accept error-message chunks in - printf-style. Changed all callers. - - -2009-06-07 Daniel Franke <franke.daniel@gmail.com> - - PR fortran/25104 - PR fortran/29962 - * intrinsic.h (gfc_simplify_dot_product): New prototype. - (gfc_simplify_matmul): Likewise. - (gfc_simplify_transpose): Likewise. - * intrinsic.c (add_functions): Added new simplifier callbacks. - * simplify.c (init_result_expr): New. - (compute_dot_product): New. - (gfc_simplify_dot_product): New. - (gfc_simplify_matmul): New. - (gfc_simplify_transpose): New. - * expr.c (check_transformational): Allow transformational intrinsics - with simplifier in initialization expression. - -2009-06-06 Daniel Franke <franke.daniel@gmail.com> - - PR fortran/37203 - * simplify.c (gfc_simplify_reshape): Fixed reshaping of empty arrays - without padding. - -2009-06-06 Daniel Franke <franke.daniel@gmail.com> - - PR fortran/32890 - * intrinsic.h (gfc_simplify_pack): New prototype. - * intrinsic.c (add_functions): Added - simplifier-callback to PACK. - * simplify.c (is_constant_array_expr): Moved - to beginning of file. - (gfc_simplify_pack): New. - * check.c (gfc_check_pack): Check that VECTOR has enough elements. - Added safeguards for empty arrays. - -2009-06-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * simplify.c (call_mpc_func): Use mpc_realref/mpc_imagref - instead of MPC_RE/MPC_IM. - -2009-06-05 Alexandre Oliva <aoliva@redhat.com> - - * trans-decl.c (gfc_build_qualified_array): Don't skip generation - of range types. - * trans.h (struct lang_type): Add base_decls. - (GFC_TYPE_ARRAY_BASE_DECL): New. - * trans-types.c (gfc_get_array_type_bounds): Initialize base decls - proactively and excessively. - (gfc_get_array_descr_info): Use existing base decls if available. - -2009-06-04 Daniel Franke <franke.daniel@gmail.com> - - PR fortran/37203 - * check.c (gfc_check_reshape): Additional checks for the - SHAPE and ORDER arguments. - * simplify.c (gfc_simplify_reshape): Converted argument checks - to asserts. - -2009-06-03 Tobias Burnus <burnus@net-b.de> - - * gfortran.texi: Add mixed-language programming, mention - varying string lengths, some clean up of introduction parts. - * intrinsic.texi (instrinsic modules): Create @menu for subsections. - (ISO_C_BINDING): Support ISOCBINDING_INT_FAST128_T. - * libgfortran.h: Comment to rember to keep gfortran.texi in sync. - * iso-c-binding.def: Support ISOCBINDING_INT_FAST128_T. - -2009-06-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> - Tobias Burnus <burnus@net-b.de> - - * iso-c-binding.def: Use INTMAX_TYPE instead of intmax_type_node. - * trans-types.c (init_c_interop_kinds): Remove intmax_type_node. - -2009-06-03 Alexandre Oliva <aoliva@redhat.com> - - * module.c (mio_f2k_derived): Initialize cur. - -2009-06-01 Tobias Burnus <burnus@net-b.de> - - PR fortran/40309 - * trans-decl.c (gfc_sym_identifier): Use "MAIN__" for PROGRAM "main". - (create_main_function): Set main_identifier_node. - -2009-05-29 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> - - PR fortran/40019 - * trans-types.c (gfc_build_uint_type): Make nonstatic. - * trans.h (gfor_fndecl_clz128, gfor_fndecl_ctz128): New prototypes. - * trans-types.h (gfc_build_uint_type): Add prototype. - * trans-decl.c (gfc_build_intrinsic_function_decls): Build - gfor_fndecl_clz128 and gfor_fndecl_ctz128. - * trans-intrinsic.c (gfc_conv_intrinsic_leadz, - gfc_conv_intrinsic_trailz): Call the right builtins or library - functions, and cast arguments to unsigned types first. - * simplify.c (gfc_simplify_leadz): Deal with negative arguments. - -2009-05-27 Ian Lance Taylor <iant@google.com> - - * Make-lang.in (gfortran$(exeext)): Change $(COMPILER) to - $(LINKER). - (f951$(exeext)): Likewise. - -2009-05-27 Tobias Burnus <burnus@net-b.de> - - PR fortran/40270 - * trans-decl.c (create_main_function): Mark MAIN__ and - argc/argv as TREE_USED and push/pop function_decl context - if needed. - -2009-05-26 Tobias Burnus <burnus@net-b.de> - - PR fortran/39178 - * gfortranspec.c (lang_specific_driver): Stop linking - libgfortranbegin. - * trans-decl.c (gfc_build_builtin_function_decls): Stop - making MAIN__ publicly visible. - (gfc_build_builtin_function_decls): Add - gfor_fndecl_set_args. - (create_main_function) New function. - (gfc_generate_function_code): Use it. - -2009-05-26 Tobias Burnus <burnus@net-b.de> - - PR fortran/40246 - * match.c (gfc_match_nullify): NULLify freed pointer. - -2009-05-26 Ian Lance Taylor <iant@google.com> - - * Make-lang.in (gfortranspec.o): Use $(COMPILER). - (gfortran$(exeext), f951$(exeext), fortran/cpp.o): Likewise. - -2009-05-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * gfortran.h (GFC_MPC_RND_MODE): New. - * simplify.c (call_mpc_func): New helper function. - (gfc_simplify_cos, gfc_simplify_exp, gfc_simplify_log, - gfc_simplify_sin, gfc_simplify_sqrt): Add MPC support. - -2009-05-25 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40176 - * primary.c (gfc_match_varspec): Handle procedure pointer components - with array return value. - * resolve.c (resolve_expr_ppc): Ditto. - (resolve_symbol): Make sure the interface of a procedure pointer has - been resolved. - * trans-array.c (gfc_walk_function_expr): Handle procedure pointer - components with array return value. - * trans-expr.c (gfc_conv_component_ref,gfc_conv_procedure_call, - gfc_trans_arrayfunc_assign): Ditto. - (gfc_trans_pointer_assignment): Handle procedure pointer assignments, - where the rhs is a dummy argument. - * trans-types.c (gfc_get_ppc_type,gfc_get_derived_type): Handle - procedure pointer components with array return value. - -2009-05-24 Jerry DeLisle <jvdelisle@gcc.gnu.org> - Dominique Dhumieres - - PR fortran/35732 - PR fortran/39872 - * trans-array.c (gfc_conv_ss_startstride): Add one to index. - -2009-05-22 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> - - PR fortran/40195 - * module.c (read_md5_from_module_file): Close file before returning. - -2009-05-18 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40164 - * primary.c (gfc_match_rvalue): Handle procedure pointer components in - arrays. - * resolve.c (resolve_ppc_call,resolve_expr_ppc): Resolve component and - array references. - (resolve_fl_derived): Procedure pointer components are not required to - have constant array bounds in their return value. - -2009-05-18 Janus Weil <janus@gcc.gnu.org> - - * intrinsic.c (add_sym): Fix my last commit (r147655), - which broke bootstrap. - -2009-05-18 Richard Guenther <rguenther@suse.de> - - PR fortran/40168 - * trans-expr.c (gfc_trans_zero_assign): For local array - destinations use an assignment from an empty constructor. - -2009-05-18 Janus Weil <janus@gcc.gnu.org> - - PR fortran/36947 - PR fortran/40039 - * expr.c (gfc_check_pointer_assign): Check intents when comparing - interfaces. - * gfortran.h (typedef struct gfc_intrinsic_arg): Add 'intent' member. - (gfc_compare_interfaces): Additional argument. - * interface.c (operator_correspondence): Add check for equality of - intents, and new argument 'intent_check'. - (gfc_compare_interfaces): New argument 'intent_check', which is passed - on to operator_correspondence. - (check_interface1): Don't check intents when comparing interfaces. - (compare_parameter): Do check intents when comparing interfaces. - * intrinsic.c (add_sym): Add intents for arguments of intrinsic - procedures. - (add_sym_1,add_sym_1s,add_sym_1m,add_sym_2,add_sym_2s,add_sym_3, - add_sym_3ml,add_sym_3red,add_sym_3s,add_sym_4): Use INTENT_IN by - default. - (add_sym_1_intent,add_sym_1s_intent,add_sym_2s_intent,add_sym_3s_intent) - : New functions to add intrinsic symbols, specifying custom intents. - (add_sym_4s,add_sym_5s): Add new arguments to specify intents. - (add_functions,add_subroutines): Add intents for various intrinsics. - * resolve.c (check_generic_tbp_ambiguity): Don't check intents when - comparing interfaces. - * symbol.c (gfc_copy_formal_args_intr): Copy intent. - -2009-05-17 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> - - * iso-fortran-env.def: Define INT8, INT16, INT32, INT64, REAL32, - REAL64 and REAL128. - * gfortran.h (gfc_get_int_kind_from_width_isofortranenv, - gfc_get_real_kind_from_width_isofortranenv): New prototypes. - * iso-c-binding.def: Update definitions for the INT*_T, - INT_LEAST*_T and INT_FAST*_T named parameters. - * trans-types.c (get_typenode_from_name, get_int_kind_from_name, - gfc_get_real_kind_from_width_isofortranenv): New functions. - -2009-05-17 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> - - PR fortran/36260 - * intrinsic.c (add_functions, add_subroutines): Fix argument - names and wrap long lines. - * intrinsic.texi: Fix documentation and argument names of - LOG_GAMMA, DATAN2, DBESJN, DTIME, ETIME, FSTAT, STAT, LSTAT, - GET_COMMAND, IDATE, LTIME, MOVE_ALLOC, NINT, OR, PRODUCT, - SUM, RAND, RANDOM_SEED, REAL, SELECTED_INT_KIND, - SELECTED_REAL_KIND and XOR. - -2009-05-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> - - PR fortran/33197 - * intrinsic.c (add_functions): Use ERFC_SCALED simplification. - * intrinsic.h (gfc_simplify_erfc_scaled): New prototype. - * simplify.c (fullprec_erfc_scaled, asympt_erfc_scaled, - gfc_simplify_erfc_scaled): New functions. - -2009-05-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> - - PR fortran/31243 - * resolve.c (resolve_substring): Don't allow too large substring - indexes. - (gfc_resolve_substring_charlen): Fix typo. - (gfc_resolve_character_operator): Fix typo. - (resolve_charlen): Catch unreasonably large string lengths. - * simplify.c (gfc_simplify_len): Don't error out on LEN - range checks. - -2009-05-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> - - PR fortran/36031 - * decl.c (set_enum_kind): Use global short-enums flag. - * gfortran.h (gfc_option_t): Remove short_enums flag. - * lang.opt (-fshort-enums): Refer to C documentation. - * options.c (gfc_init_options, gfc_handle_option): Use global - short-enums flag. - -2009-05-15 Tobias Burnus <burnus@net-b.de> - - PR fortran/39352 - * f95-lang.c: Add gfc_maybe_initialize_eh. - * gfortran.h: Add gfc_maybe_initialize_eh prototype. - * Make-lang.in: Add new .h dendencies for f95-lang.c - * openmp.c (resolve_omp_do): Call gfc_maybe_initialize_eh. - * misc.c (gfc_free): Avoid #define trickery for free. - -2009-05-14 Steven G. Kargl <kargl@gcc.gnu.org> - - * dump-parse-tree.c (show_code_node): Add ERRMSG to the dumping - of allocate and deallocate statements. - -2009-05-14 Ian Lance Taylor <iant@google.com> - - * decl.c (match_attr_spec): Change d to unsigned int. - * dump-parse-tree.c (show_namespace): Change op to int. Add cast. - * interface.c (gfc_check_interfaces): Change i to int. Add casts. - * module.c (read_module): Change i to int. Add cast. - (write_module): Change i to int. - * symbol.c (gfc_get_namespace): Change in to int. - (gfc_free_namespace): Change i to int. - * trans-io.c (gfc_build_io_library_fndecls): Change ptype to - unsigned int. Add cast. - * trans-types.c (gfc_init_kinds): Change mode to unsigned int. - Add casts. - -2009-05-14 Daniel Kraft <d@domob.eu> - - PR fortran/40045 - * dump-parse-tree.c (show_typebound): Fix missing adaption to new - type-bound procedure storage structure. - -2009-05-14 Janus Weil <janus@gcc.gnu.org> - - PR fortran/39996 - * decl.c (gfc_match_function_decl): Use gfc_add_type. - * symbol.c (gfc_add_type): Better checking for duplicate types in - function declarations. And: Always give an error for duplicte types, - not just a warning with -std=gnu. - -2009-05-14 Jakub Jelinek <jakub@redhat.com> - - PR fortran/39865 - * io.c (resolve_tag_format): CHARACTER array in FMT= argument - isn't an extension. Reject non-CHARACTER array element of - assumed shape or pointer or assumed size array. - * trans-array.c (array_parameter_size): New function. - (gfc_conv_array_parameter): Add size argument. Call - array_parameter_size if it is non-NULL. - * trans-array.h (gfc_conv_array_parameter): Adjust prototype. - * trans-expr.c (gfc_conv_function_call, gfc_trans_arrayfunc_assign): - Adjust callers. - * trans-intrinsic.c (gfc_conv_intrinsic_loc): Likewise. - * trans-io.c (gfc_convert_array_to_string): Rewritten. - -2009-05-13 Steven G. Kargl <kargl@gcc.gnu.org> - - * gfortran.h (gfc_code): Rename struct member expr to expr1. - * openmp.c (resolve_omp_atomic): Update expr to expr1. - * interface.c (gfc_extend_assign): Ditto. - * trans-expr.c (gfc_conv_expr_reference, gfc_trans_assignment, - gfc_trans_init_assign): Ditto. - * dump-parse-tree.c (show_code_node): Ditto. - * trans-openmp.c (gfc_trans_omp_atomic): Ditto. - * trans-stmt.c ( gfc_trans_label_assign, gfc_trans_goto, gfc_trans_call, - gfc_trans_return, gfc_trans_pause, gfc_trans_stop, gfc_trans_if_1, - gfc_trans_arithmetic_if, gfc_trans_do_while, gfc_trans_integer_select, - gfc_trans_logical_select, gfc_trans_character_select - forall_make_variable_temp, check_forall_dependencies - gfc_trans_forall_1, gfc_trans_where_2, gfc_trans_where_3 - gfc_trans_where, gfc_trans_allocate, gfc_trans_deallocate): Ditto. - * io.c (match_io_element, gfc_match_inquire): Ditto. - * resolve.c (resolve_typebound_call, resolve_ppc_call, - resolve_allocate_expr, resolve_allocate_deallocate, resolve_select, - resolve_transfer, resolve_where, gfc_resolve_assign_in_forall, - gfc_resolve_blocks, resolve_code, build_init_assign): Ditto. - * st.c (gfc_free_statement): Ditto. - * match.c (gfc_match_assignment, gfc_match_pointer_assignment, - match_arithmetic_if, gfc_match_if, gfc_match_elseif - gfc_match_stopcode, gfc_match_assign, gfc_match_goto, - gfc_match_nullify, match_typebound_call, gfc_match_call - gfc_match_select, match_simple_where, gfc_match_where - gfc_match_elsewhere, match_simple_forall, gfc_match_forall): Ditto. - * trans-io.c (gfc_trans_transfer): Ditto. - * parse.c (parse_where_block, parse_if_block): Ditto. - -2009-05-13 Steven G. Kargl <kargl@gcc.gnu.org> - - * gfortran.h (gfc_code): Rename struct member label to label1. - * dump-parse-tree.c (show_code_node): Update symbol. - * trans-stmt.c (gfc_trans_label_assign, gfc_trans_goto, - gfc_trans_arithmetic_if): Ditto. - * resolve.c (gfc_resolve_blocks, resolve_code): Ditto. - * match.c (match_arithmetic_if, gfc_match_if, gfc_reference_st_label, - gfc_match_assign, gfc_match_goto): Ditto. - * parse.c (parse_do_block): Ditto. - -2009-05-13 Tobias Burnus <burnus@net-b.de> - - PR fortran/34153 - * gfortran.h (gfc_exec_op): Add EXEC_END_PROCEDURE. - * dump-parse-tree.c (show_code_node): Use EXEC_END_PROCEDURE. - * trans.c (gfc_trans_code): Ditto. - * resolve.c (resolve_code): Ditto. - * st.c (gfc_free_statement): Ditto. - * parse.c (accept_statement): Ditto. - -2009-05-12 Tobias Burnus <burnus@net-b.de> - - PR fortran/40110 - * decl.c (gfc_match_kind_spec): Turn C kind error into a warning. - -2009-05-11 Steve Ellcey <sje@cup.hp.com> - - * resolve.c (check_host_association): Initialize tail. - -2009-05-11 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40089 - * resolve.c (resolve_fl_derived): Only return FAILURE if - gfc_notify_std fails. - -2009-05-10 Ian Lance Taylor <iant@google.com> - - * gfortran.h (enum gfc_omp_sched_kind): New enum, broken out of - gfc_omp_clauses. - (enum gfc_omp_default_sharing): Likewise. - * module.c (enum gfc_rsym_state): New enum, broken out of - pointer_info. - (enum gfc_wsym_state): Likewise. - * parse.c (enum state_order): New enum, broken out of st_state. - -2009-05-10 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/40018 - * trans-array.c (gfc_trans_array_constructor_value): Fold - convert numeric constants. - (gfc_build_constant_array_constructor): The same. - -2009-05-10 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/38863 - * trans-expr.c (gfc_conv_operator_assign): Remove function. - * trans.h : Remove prototype for gfc_conv_operator_assign. - * trans-stmt.c (gfc_conv_elemental_dependencies): Initialize - derivde types with intent(out). - (gfc_trans_call): Add mask, count1 and invert arguments. Add - code to use mask for WHERE assignments. - (gfc_trans_forall_1): Use new arguments for gfc_trans_call. - (gfc_trans_where_assign): The gfc_symbol argument is replaced - by the corresponding code. If this has a resolved_sym, then - gfc_trans_call is called. The call to gfc_conv_operator_assign - is removed. - (gfc_trans_where_2): Change the last argument in the call to - gfc_trans_where_assign. - * trans-stmt.h : Modify prototype for gfc_trans_call. - * trans.c (gfc_trans_code): Use new args for gfc_trans_call. - -2009-05-08 Janus Weil <janus@gcc.gnu.org> - - PR fortran/39876 - * intrinsic.c (gfc_is_intrinsic): Do not add the EXTERNAL attribute if - the symbol is a module procedure. - -2009-05-08 Tobias Burnus <burnus@net-b.de> - - * invoke.texi: Add do/recursion to the -fcheck= summary. - -2009-05-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> - - PR fortran/38830 - * gfortran.texi: Document that we don't support variable FORMAT - expressions. - -2009-05-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> - - PR fortran/39576 - * error.c (error_print): Add missing break statement. - -2009-05-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> - - PR fortran/36382 - * invoke.texi: Document that -fdollar-ok does not allow $ to be - used in IMPLICIT statement. - -2009-05-06 Janus Weil <janus@gcc.gnu.org> - Paul Thomas <pault@gcc.gnu.org> - - PR fortran/39630 - * decl.c (match_procedure_interface): New function to match the - interface for a PROCEDURE statement. - (match_procedure_decl): Call match_procedure_interface. - (match_ppc_decl): New function to match the declaration of a - procedure pointer component. - (gfc_match_procedure): Call match_ppc_decl. - (match_binding_attributes): Add new argument 'ppc' and handle the - POINTER attribute for procedure pointer components. - (match_procedure_in_type,gfc_match_generic): Added new argument to - match_binding_attributes. - * dump-parse-tree.c (show_expr,show_components,show_code_node): Handle - procedure pointer components. - * expr.c (free_expr0,gfc_copy_expr,gfc_simplify_expr): Handle EXPR_PPC. - (gfc_check_pointer_assign): Handle procedure pointer components, but no - full checking yet. - (is_proc_ptr_comp): New function to determine if an expression is a - procedure pointer component. - * gfortran.h (expr_t): Add EXPR_PPC. - (symbol_attribute): Add new member 'proc_pointer_comp'. - (gfc_component): Add new member 'formal'. - (gfc_exec_op): Add EXEC_CALL_PPC. - (gfc_get_default_type): Changed first argument. - (is_proc_ptr_comp): Add prototype. - (gfc_match_varspec): Add new argument. - * interface.c (compare_actual_formal): Handle procedure pointer - components. - * match.c (gfc_match_pointer_assignment,match_typebound_call): Handle - procedure pointer components. - * module.c (mio_expr): Handle EXPR_PPC. - * parse.c (parse_derived): Handle procedure pointer components. - * primary.c (gfc_match_varspec): Add new argument 'ppc_arg' and handle - procedure pointer components. - (gfc_variable_attr): Handle procedure pointer components. - (gfc_match_rvalue): Added new argument to gfc_match_varspec and changed - first argument of gfc_get_default_type. - (match_variable): Added new argument to gfc_match_varspec. - * resolve.c (resolve_entries,set_type,resolve_fl_parameter): Changed - first argument of gfc_get_default_type. - (resolve_structure_cons,resolve_actual_arglist): Handle procedure - pointer components. - (resolve_ppc_call): New function to resolve a call to a procedure - pointer component (subroutine). - (resolve_expr_ppc): New function to resolve a call to a procedure - pointer component (function). - (gfc_resolve_expr): Handle EXPR_PPC. - (resolve_code): Handle EXEC_CALL_PPC. - (resolve_fl_derived): Copy the interface for a procedure pointer - component. - (resolve_symbol): Fix overlong line. - * st.c (gfc_free_statement): Handle EXEC_CALL_PPC. - * symbol.c (gfc_get_default_type): Changed first argument. - (gfc_set_default_type): Changed first argument of gfc_get_default_type. - (gfc_add_component): Initialize ts.type to BT_UNKNOWN. - * trans.h (gfc_conv_function_call): Renamed. - * trans.c (gfc_trans_code): Handle EXEC_CALL_PPC. - * trans-expr.c (gfc_conv_component_ref): Ditto. - (gfc_conv_function_val): Rename to 'conv_function_val', add new - argument 'expr' and handle procedure pointer components. - (gfc_conv_operator_assign): Renamed gfc_conv_function_val. - (gfc_apply_interface_mapping_to_expr): Handle EXPR_PPC. - (gfc_conv_function_call): Rename to 'gfc_conv_procedure_call', add new - argument 'expr' and handle procedure pointer components. - (gfc_get_proc_ptr_comp): New function to get the backend decl for a - procedure pointer component. - (gfc_conv_function_expr): Renamed gfc_conv_function_call. - (gfc_conv_structure): Handle procedure pointer components. - * trans-intrinsic.c (gfc_conv_intrinsic_funcall, - conv_generic_with_optional_char_arg): Renamed gfc_conv_function_call. - * trans-stmt.h (gfc_get_proc_ptr_comp): Add prototype. - * trans-stmt.c (gfc_trans_call): Renamed gfc_conv_function_call. - * trans-types.h (gfc_get_ppc_type): Add prototype. - * trans-types.c (gfc_get_ppc_type): New function to build a tree node - for a procedure pointer component. - (gfc_get_derived_type): Handle procedure pointer components. - -2009-05-06 Tobias Burnus <burnus@net-b.de> - - PR fortran/40041 - * resolve.c (resolve_symbol): Print no warning for implicitly - typed intrinsic functions. - -2009-05-05 Janus Weil <janus@gcc.gnu.org> - - PR fortran/39998 - * expr.c (gfc_check_pointer_assign): Check for statement functions and - internal procedures in procedure pointer assignments. - -2009-04-28 Janus Weil <janus@gcc.gnu.org> - - PR fortran/39946 - * resolve.c (resolve_symbol): Correctly copy the interface of a - PROCEDURE statement if the interface involves a RESULT variable. - -2009-04-28 Janus Weil <janus@gcc.gnu.org> - - PR fortran/39930 - PR fortran/39931 - * expr.c (gfc_check_pointer_assign): Correctly detect if the left hand - side is a pointer. - * parse.c (gfc_fixup_sibling_symbols): Don't check for ambiguity. - -2009-04-28 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/39879 - * trans_expr.c (gfc_conv_procedure_call): Deep copy a derived - type parentheses argument if it is a variable with allocatable - components. - -2009-04-27 Ian Lance Taylor <iant@google.com> - - * trans-intrinsic.c (DEFINE_MATH_BUILTIN): Add casts to enum - type. - * trans-io.c (st_parameter_field): Add casts to enum type. - -2009-04-26 Steven G. Kargl <kargl@gcc.gnu.org> - - PR fortran/39893 - fortran/data.c (gfc_assign_data_value): If the lvalue is an - assumed character length entity in a data statement, then - return FAILURE to prevent segmentation fault. - -2009-04-26 Jakub Jelinek <jakub@redhat.com> - - * trans-decl.c: Include pointer-set.h. - (nonlocal_dummy_decl_pset, tree nonlocal_dummy_decls): New variables. - (gfc_nonlocal_dummy_array_decl): New function. - (gfc_get_symbol_decl): Call it for non-local dummy args with saved - descriptor. - (gfc_get_symbol_decl): Set DECL_BY_REFERENCE when needed. - (gfc_generate_function_code): Initialize nonlocal_dummy_decl{s,_pset}, - chain it to outermost block's vars, destroy it afterwards. - * Make-lang.in (trans-decl.o): Depend on pointer-set.h. - -2009-04-25 Janus Weil <janus@gcc.gnu.org> - - PR fortran/39688 - * decl.c (gfc_match_import): Use 'sym->name' instead of 'name'. - They differ if the symbol has been use-renamed. - -2009-04-24 Ian Lance Taylor <iant@google.com> - - * gfortran.h (enum gfc_symbol_type): New named enum type, broken - out of struct gfc_symbol. - (struct gfc_symbol): Use enum gfc_symbol_type. - (enum gfc_array_ref_dimen_type): New named enum type, broken out - of struct gfc_array_ref). - (struct gfc_array_ref): Use enum gfc_array_ref_dimen_type. - (mod_pointee_as): Update declaration. - * decl.c (add_global_entry): Change type to enum gfc_symbol_type. - (gfc_mod_pointee_as): Change return type to "match". - * module.c (mio_array_ref): Add cast to enum type. - (mio_symbol): Likewise. - * resolve.c (resolve_global_procedure): Change type to enum - gfc_symbol_type. - * trans-io.c (gfc_build_st_parameter): Change type to unsigned - int. - -2009-04-24 Daniel Kraft <d@domob.eu> - - * gfortran.h (gfc_get_typebound_proc): Removed as macro, now a function. - (struct gfc_symtree): Moved "typebound" member inside union. - (struct gfc_namespace): Add "tb_sym_root" as new symtree to sort out - type-bound procedures there. - (gfc_get_tbp_symtree): New procedure. - * symbol.c (tentative_tbp_list): New global. - (gfc_get_namespace): NULL new "tb_sym_root" member. - (gfc_new_symtree): Removed initialization of "typebound" member. - (gfc_undo_symbols): Process list of tentative tbp's. - (gfc_commit_symbols): Ditto. - (free_tb_tree): New method. - (gfc_free_namespace): Call it. - (gfc_get_typebound_proc): New method. - (gfc_get_tbp_symtree): New method. - (gfc_find_typebound_proc): Adapt to structural changes of gfc_symtree - and gfc_namespace with regards to tbp's. - * dump-parse-tree.c (show_typebound): Ditto. - * primary.c (gfc_match_varspec): Ditto. Don't reference tbp-symbol - as it isn't a symbol any longer. - * module.c (mio_typebound_symtree): Adapt to changes. - (mio_typebound_proc): Ditto, create symtrees using "gfc_get_tbp_symtree" - rather than "gfc_get_sym_tree". - (mio_f2k_derived): Ditto. - * decl.c (match_procedure_in_type): Ditto. - (gfc_match_generic): Ditto. Don't reference tbp-symbol. - * resolve.c (check_typebound_override): Adapt to changes. - (resolve_typebound_generic): Ditto. - (resolve_typebound_procedures): Ditto. - (ensure_not_abstract_walker): Ditto. - (ensure_not_abstract): Ditto. - (resolve_typebound_procedure): Ditto, ignore erraneous symbols (for - instance, through removed tentative ones). - * gfc-internals.texi (Type-bound procedures): Document changes. - -2009-04-24 Janus Weil <janus@gcc.gnu.org> - - PR fortran/39861 - PR fortran/39864 - * symbol.c (gfc_copy_formal_args_intr): Set attr.flavor and attr.dummy - for the formal arguments. - -2009-04-21 Taras Glek <tglek@mozilla.com> - - * f95-lang.c: Update GTY annotations to new syntax. - * trans-intrinsic.c: Likewise. - * trans-io.c: Likewise. - * trans.h: Likewise. - -2009-04-22 Janus Weil <janus@gcc.gnu.org> - - PR fortran/39735 - * decl.c (add_hidden_procptr_result): Bugfix for procptr results. - (match_procedure_decl): Set if_source. - * expr.c (gfc_check_pointer_assign): Bugfix: Return after error. - And: Check interface also for IFSRC_UNKNOWN (return type may be known). - * gfortran.h (typedef enum ifsrc): Remove IFSRC_USAGE, - add documentation. Rename copy_formal_args and copy_formal_args_intr. - * interface.c (gfc_compare_interfaces): Check for return types, - handle IFSRC_UNKNOWN. - (compare_intr_interfaces,compare_actual_formal_intr): Obsolete, removed. - (gfc_procedure_use): Modified handling of intrinsics. - * intrinsic.c (add_functions): Bugfix for "dim". - * resolve.c (resolve_intrinsic): New function to resolve intrinsics, - which copies the interface from isym to sym. - (resolve_procedure_expression,resolve_function): Use new function - 'resolve_intrinsic'. - (resolve_symbol): Add function attribute for externals with return type - and use new function 'resolve_intrinsic'. - * symbol.c (ifsrc_types): Remove string for IFSRC_USAGE. - (copy_formal_args): Renamed to gfc_copy_formal_args. - (copy_formal_args_intr): Renamed to gfc_copy_formal_args_intr. - * trans-const.c (gfc_conv_const_charlen): Handle cl==NULL. - -2009-04-21 Joseph Myers <joseph@codesourcery.com> - - * ChangeLog, ChangeLog-2002, ChangeLog-2003, ChangeLog-2004, - ChangeLog-2005, ChangeLog-2006, ChangeLog-2007, ChangeLog-2008, - ChangeLog.ptr, config-lang.in, ioparm.def, mathbuiltins.def: Add - copyright and license notices. - * ChangeLog, ChangeLog-2005, ChangeLog-2006, ChangeLog-2007, - ChangeLog-2008: Correct dates. - -2009-04-20 Tobias Burnus <burnus@net-b.de> - - PR fortran/39811 - * scanner.c (load_line): Fix bogus "&" compile-time diagnostic. - -2009-04-20 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/39800 - * resolve.c (is_sym_host_assoc): New function. - (resolve_fl_derived): Call it when checking PRIVATE components - of PUBLIC derived types. Change gfc_error to a gfc_notify_std - with std=f2003. - (resolve_fl_namelist): Call it twice to check for host - association. - -2009-04-20 Ian Lance Taylor <iant@google.com> - - * module.c (import_iso_c_binding_module): Add casts to enum type. - * trans-intrinsic.c (gfc_conv_intrinsic_minmax): Change op to enum - tree_code. - (gfc_conv_intrinsic_anyall): Likewise. - (gfc_conv_intrinsic_arith): Likewise. - (gfc_conv_intrinsic_minmaxloc): Likewise. - (gfc_conv_intrinsic_minmaxval): Likewise. - (gfc_conv_intrinsic_bitop): Likewise. - (gfc_conv_intrinsic_singlebitop): Likewise. - (gfc_conv_intrinsic_strcmp): Likewise. - -2009-04-20 Vasilis Liaskovitis <vliaskov@gmail.com> - Jakub Jelinek <jakub@redhat.com> - - PR fortran/35423 - * trans.h (OMPWS_WORKSHARE_FLAG, OMPWS_CURR_SINGLEUNIT, - OMPWS_SCALARIZER_WS, OMPWS_NOWAIT): Define. - (ompws_flags): New extern decl. - * trans-array.c (gfc_trans_scalarized_loop_end): Build OMP_FOR - for the outer dimension if ompws_flags allow it. - * trans.c (gfc_generate_code): Clear ompws_flags. - * trans-expr.c (gfc_trans_assignment_1): Allow worksharing - array assignments inside of !$omp workshare. - * trans-stmt.c (gfc_trans_where_3): Similarly for where statements - and constructs. - * trans-openmp.c (ompws_flags): New variable. - (gfc_trans_omp_workshare): Rewritten. - -2009-04-11 Daniel Kraft <d@domob.eu> - - PR fortran/37746 - * gfortran.h (struct gfc_charlen): New field "passed_length" to store - the actual passed string length for dummy arguments. - * trans-decl.c (gfc_create_string_length): Formatting fixes and added - assertion, moved a local variable into the innermost block it is needed. - (create_function_arglist): Removed TODO about the check being - implemented and initialize cl->passed_length here. - (add_argument_checking): New method. - (gfc_generate_function_code): Call the argument checking method. - -2009-04-11 Janus Weil <janus@gcc.gnu.org> - - PR fortran/39692 - * symbol.c (check_conflict): Reject procedure pointers for -std=f95. - -2009-04-11 Daniel Franke <franke.daniel@gmail.com> - - * resolve.c (resolve_global_procedure): Enable whole-file checking for - procedures that are declared later in the file. - -2009-04-10 Paolo Bonzini <bonzini@gnu.org> - - PR middle-end/39701 - * trans.c (gfc_allocate_with_status): Fix type mismatches - on "pstat == 0". - -2009-04-10 Daniel Franke <franke.daniel@gmail.com> - - PR fortran/38709 - * expr.c (find_array_section): Leave early on zero-sized arrays. - -2009-04-09 Janus Weil <janus@gcc.gnu.org> - - PR fortran/36704 - * decl.c (add_hidden_procptr_result): New function for handling - procedure pointer return values by adding a hidden result variable. - (variable_decl,match_procedure_decl,gfc_match_function_decl, - gfc_match_subroutine,gfc_match_end,attr_decl1): Handle procedure pointer - return values. - * parse.c (parse_interface): Add EXTERNAL attribute only after - FUNCTION/SUBROUTINE declaration is complete. - * primary.c (replace_hidden_procptr_result): New function for replacing - function symbol by hidden result variable. - (gfc_match_rvalue,match_variable): Replace symbol by hidden result - variable. - * resolve.c (resolve_contained_fntype,resolve_function,resolve_variable, - resolve_symbol): Allow for procedure pointer function results. - (resolve_fl_procedure): Conflict detection moved here from - 'check_conflict'. - * symbol.c (gfc_check_function_type): Allow for procedure pointer - function results. - (check_conflict): Move some conflict detection to resolution stage. - * trans-types.c (gfc_sym_type,gfc_get_function_type): Handle hidden - result variables. - -2009-04-08 Jakub Jelinek <jakub@redhat.com> - - * trans-types.c (gfc_init_types): Ensure gfc_integer_types doesn't - contain TYPE_STRING_FLAG types. - -2009-04-08 Janne Blomqvist <jb@gcc.gnu.org> - - PR fortran/39670 - * invoke.texi (fdollar-ok): Fix typo. - -2009-04-08 Daniel Franke <franke.daniel@gmail.com> - - PR fortran/39670 - * invoke.texi (fdollar-ok): Clarify limitations. - -2009-04-08 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/38863 - * trans-array.c (gfc_trans_deferred_array): Return if this - is a result variable. - -2009-04-07 Janus Weil <janus@gcc.gnu.org> - - PR fortran/38152 - * trans-decl.c (gfc_get_symbol_decl): Correctly set decl location for - procedure pointer decls. - -2009-04-07 Janus Weil <janus@gcc.gnu.org> - - PR fortran/38290 - * expr.c (gfc_check_pointer_assign): Enable interface check for - procedure pointers. - * gfortran.h: Add copy_formal_args_intr. - * interface.c (gfc_compare_interfaces): Call gfc_compare_intr_interfaces - if second argument is an intrinsic. - (compare_intr_interfaces): Correctly set attr.function, attr.subroutine - and ts. - (compare_parameter): Call gfc_compare_interfaces also for intrinsics. - * resolve.c (resolve_specific_f0,resolve_specific_s0): Don't resolve - intrinsic interfaces here. Must happen earlier. - (resolve_symbol): Resolution of intrinsic interfaces moved here from - resolve_specific_..., and formal args are now copied from intrinsic - interfaces. - * symbol.c (copy_formal_args_intr): New function to copy the formal - arguments from an intinsic procedure. - -2009-04-06 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/38863 - * dependency.c (ref_same_as_full_array): New function. - (gfc_dep_resolver): Call it. - -2009-04-06 Janus Weil <janus@gcc.gnu.org> - - PR fortran/39414 - * decl.c (match_procedure_decl): Fix double declaration problems with - PROCEDURE statements. - * symbol.c (gfc_add_type): Ditto. - -2009-04-06 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/36091 - * trans-array.c (gfc_conv_array_ref): If the symbol has the - temporary attribute use the array_spec for the bounds. - * gfortran.h : Add the temporary field to the structure - 'symbol_attribute'. - * trans-stmt.c (forall_make_variable_temp): Set the symbol's - temporary attribute. - -2009-04-05 Daniel Franke <franke.daniel@gmail.com> - - PR fortran/29458 - * trans-array.c (gfc_trans_array_constructor_value): Shadow - implied do-loop variable to avoid spurious middle-end warnings. - -2009-04-04 Tobias Burnus <burnus@net-b.de> - - PR fortran/39577 - * trans-decl.c (gfc_generate_function_code): Move recursive - check to the right position. - -2009-04-04 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/37614 - * trans-common.c (translate_common): Do not offset the whole - coomon block. - -2009-04-03 Tobias Burnus <burnus@net-b.de> - - PR fortran/39594 - * resolve.c (resolve_common_vars): Add FL_VARIABLE to symbol - if it is not a procedure pointer. - * primary.c (match_actual_arg): Ditto. - -2009-03-31 Joseph Myers <joseph@codesourcery.com> - - PR preprocessor/15638 - * cpp.c (cb_cpp_error): Handle CPP_DL_FATAL. - -2009-03-30 Steven G. Kargl <kargls@comcast.net> - - PR fortran/38389 - * trans-stmt.c(gfc_trans_allocate): Add translation of ERRMSG. - (gfc_trans_deallocate): Add translation of ERRMSG. Remove stale - comments. Minor whitespace cleanup. - * resolve.c(is_scalar_expr_ptr): Whitespace cleanup. - (resolve_deallocate_expr (gfc_expr *e): Update error message. - (resolve_allocate_expr): Remove dead code. Update error message. - Move error checking to ... - (resolve_allocate_deallocate): ... here. Add additional error - checking for STAT, ERRMSG, and allocate-objects. - * match.c(gfc_match_allocate,gfc_match_deallocate): Parse ERRMSG. - Check for redundant uses of STAT and ERRMSG. Reword error message - and add checking for pointer, allocatable, and proc_pointer attributes. - -2009-03-30 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/22571 - PR fortran/26227 - PR fortran/24886 - * symbol.c : Add gfc_global_ns_list. - * decl.c (add_global_entry): Set the namespace ('ns') field. - * gfortran.h : Add the resolved field to gfc_namespace. Add the - namespace ('ns') field to gfc_gsymbol. Add flag_whole_file to - gfc_option_t. Add the prototype for gfc_free_dt_list. - * lang.opt : Add the whole-file option. - * invoke.texi : Document the whole-file option. - * resolve.c (resolve_global_procedure): If the fwhole-file - option is set, reorder gsymbols to ensure that translation is - in the right order. Resolve the gsymbol's namespace if that - has not occurred and then check interfaces. - (resolve_function): Move call to resolve_global_procedure. - (resolve_call): The same. - (resolve_codes): Store the current labels_obstack. - (gfc_resolve) : Return if the namespace is already resolved. - trans-decl.c (gfc_get_extern_function_decl): If the whole_file - option is selected, use the backend_decl of a gsymbol, if it is - available. - parse.c (add_global_procedure, add_global_program): If the flag - whole-file is set, add the namespace to the gsymbol. - (gfc_parse_file): On -fwhole-file, put procedure namespaces on - the global namespace list. Rearrange to do resolution of all - the procedures in a file, followed by their translation. - * options.c (gfc_init_options): Add -fwhole-file. - (gfc_handle_option): The same. - -2009-03-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> - - * f95-lang.c (gfc_init_builtin_functions): Define BUILT_IN_HUGE_VAL - family of intrinsics instead of BUILT_IN_INF family. - * trans-intrinsics.c (gfc_conv_intrinsic_nearest): Use - BUILT_IN_HUGE_VAL instead of BUILT_IN_INF. - -2009-03-30 Jakub Jelinek <jakub@redhat.com> - - * trans-types.c (gfc_sym_type, gfc_return_by_reference): For - sym->attr.result check sym->ns->proc_name->attr.is_bind_c. - -2009-03-30 Joseph Myers <joseph@codesourcery.com> - - PR rtl-optimization/323 - * options.c (gfc_post_options): Set - flag_excess_precision_cmdline. Give an error for - -fexcess-precision=standard for processors where the option is - significant. - -2009-03-29 Joseph Myers <joseph@codesourcery.com> - - PR preprocessor/34695 - * cpp.c (cb_cpp_error): New. - (gfc_cpp_post_options): Don't set cpp_option->inhibit_warnings. - Don't check cpp_errors (cpp_in). - (gfc_cpp_init_0): Set cb->error. - -2009-03-29 Steven G. Kargl <kargl@gcc.gnu.org> - - PR fortran/38823 - * gfortran.h: Add ARITH_PROHIBIT to arith enum. - expr.c (gfc_match_init_expr): Add global variable init_flag to - flag matching an initialization expression. - (check_intrinsic_op): Move no longer reachable error message to ... - * arith.c (arith_power): ... here. Remove gfc_ prefix in - gfc_arith_power. Use init_flag. Allow constant folding of x**y - when y is REAL or COMPLEX. - (eval_intrinsic): Remove restriction that y in x**y must be INTEGER - for constant folding. - * gfc_power: Update gfc_arith_power to arith_power - -2009-03-29 Daniel Kraft <d@domob.eu> - - PR fortran/37423 - * gfortran.h (struct gfc_typebound_proc): Added new flag "deferred" and - added a comment explaining DEFERRED binding handling. - * decl.c (match_binding_attributes): Really match DEFERRED attribute. - (match_procedure_in_type): Really match PROCEDURE(interface) syntax - and do some validity checks for DEFERRED and this construct. - * module.c (binding_overriding): New string constant for DEFERRED. - (mio_typebound_proc): Module-IO DEFERRED flag. - * resolve.c (check_typebound_override): Ensure that a non-DEFERRED - binding is not overridden by a DEFERRED one. - (resolve_typebound_procedure): Allow abstract interfaces as targets - for DEFERRED bindings. - (ensure_not_abstract_walker), (ensure_not_abstract): New methods. - (resolve_fl_derived): Use new "ensure_not_abstract" method for - non-ABSTRACT types extending ABSTRACT ones to ensure each DEFERRED - binding is overridden. - (check_typebound_baseobject): New method. - (resolve_compcall), (resolve_typebound_call): Check base-object of - the type-bound procedure call. - * gfc-internals.texi (Type-bound procedures): Document a little bit - about internal handling of DEFERRED bindings. - -2009-03-29 Tobias Schlüter <tobi@gcc.gnu.org> - - PR fortran/38507 - * gfortran.h (gfc_st_label): Fix comment. - (gfc_exec_op): Add statement code EXEC_END_BLOCK for end of block. - * parse.c (accept_statement): Use EXEC_END_BLOCK for END IF and - END SELECT with labels. - (check_do_closure): Fix formatting. - (parse_do_block): Fix typo in error message. - * resolve.c (code_stack): Remove tail member. Update comment to - new use of reachable_labels. - (reachable_labels): Rename to ... - (find_reachable_labels): ... this. Overhaul. Update preceding - comment. - (resolve_branch): Fix comment preceding function. Rewrite. - (resolve_code): Update call to find_reachable_labels. Add code to - deal with EXEC_END_BLOCK. - * st.c (gfc_free_statement): Add code to deal with EXEC_END_BLOCK. - Add 2009 to copyright years. - * trans.c (gfc_trans_code): Likewise on both counts. - -2009-03-31 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/38917 - * expr.c (gfc_check_assign): Allow pointer components when - checking for NULL. - - PR fortran/38918 - * resolve.c (check_data_variable): Treat pointer arrays with - scalars. - -2009-03-31 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/38915 - * trans-expr.c (gfc_trans_assignment_1): Ensure temporaries - have a string_length. - -2009-03-28 Tobias Burnus <burnus@net-b.de> - - PR fortran/34656 - * trans-stmt.c (gfc_trans_simple_do, gfc_trans_do): - Add GFC_RTCHECK_DO support. - * option.c (gfc_handle_runtime_check_option): Enable GFC_RTCHECK_DO. - * invoke.texi (-fcheck): Document "do" option. - -2009-03-28 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/38538 - * trans-array.c (get_elemental_fcn_charlen): Remove. - (get_array_charlen): New function to replace previous. - -2009-03-28 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/38765 - * parse.c (parse_derived): Do not break on finding pointer, - allocatable or private components. - -2009-03-28 Tobias Burnus <burnus@net-b.de> - - PR fortran/32626 - * option.c (gfc_handle_runtime_check_option): Enable recursion check. - * trans-decl.c (gfc_generate_function_code): Add recursion check. - * invoke.texi (-fcheck): Add recursive option. - -2009-03-28 Tobias Burnus <burnus@net-b.de> - - PR fortran/38432 - * resolve.c (gfc_resolve_iterator): Add zero-loop warning. - -2009-03-28 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> - Paul Thomas <pault@gcc.gnu.org> - Tobias Burnus <burnus@net-b.de> - - * gfortran.h (gfc_option_t): Add rtcheck. - * lang.opt: New option -fcheck. - * libgfortran.h: Add GFC_RTCHECK_* constants. - * invoke.texi: Document -fcheck. - * options.c (gfc_handle_runtime_check_option): New function. - (gfc_init_options,gfc_post_options,gfc_handle_option): - Add -fcheck option. - -2009-03-27 Richard Guenther <rguenther@suse.de> - - * trans-array.c (gfc_conv_descriptor_data_addr): Use - gfc_build_addr_expr instead of build_fold_addr_expr. - (gfc_trans_allocate_array_storage, gfc_trans_array_constructor_value, - gfc_trans_constant_array_constructor, gfc_conv_array_data, - gfc_conv_expr_descriptor, gfc_conv_array_parameter): Likewise. - * trans-expr.c (gfc_conv_missing_dummy, gfc_conv_variable, - gfc_conv_function_val, gfc_conv_operator_assign, - gfc_conv_subref_array_arg, gfc_conv_function_call, - gfc_conv_expr_reference, gfc_trans_scalar_assign): Likewise. - * trans-intrinsic.c (gfc_conv_intrinsic_exponent, - gfc_conv_intrinsic_ctime, gfc_conv_intrinsic_fdate, - gfc_conv_intrinsic_ttynam, gfc_conv_intrinsic_minmax_char, - gfc_conv_intrinsic_fraction, gfc_conv_intrinsic_spacing, - gfc_conv_intrinsic_rrspacing, gfc_conv_intrinsic_set_exponent, - gfc_conv_intrinsic_array_transfer, gfc_conv_intrinsic_transfer, - gfc_conv_intrinsic_si_kind, gfc_conv_intrinsic_trim): Likewise. - * trans-io.c (gfc_trans_io_runtime_check, set_parameter_ref, - gfc_convert_array_to_string, gfc_trans_open, gfc_trans_close, - build_filepos, gfc_trans_inquire, gfc_trans_wait, - nml_get_addr_expr, transfer_namelist_element, build_dt, - gfc_trans_dt_end, transfer_array_component, transfer_expr, - transfer_array_desc, gfc_trans_transfer): Likewise. - * trans-stmt.c (gfc_trans_allocate, gfc_trans_deallocate): Likewise. - * trans.c (gfc_build_addr_expr): Mark the base of the address - TREE_ADDRESSABLE. - -2009-03-27 Tobias Burnus <burnus@net-b.de> - - * gfortran.h (enum init_local_real.): Add GFC_INIT_REAL_SNAN. - (gfc_expr): Add is_snan. - * trans-const.c (gfc_conv_mpfr_to_tree): Support SNaN. - (gfc_conv_constant_to_tree): Update call to gfc_conv_mpfr_to_tree. - * trans-const.h (gfc_conv_mpfr_to_tree): Update prototype. - * resolve.c (build_default_init_expr): Update call. - * target-memory.c (encode_float): Ditto. - * trans-intrinsic.c (gfc_conv_intrinsic_aint,gfc_conv_intrinsic_mod, - -2009-03-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - - * lang.opt: Unify help texts for -I, -Wconversion, -d, -fopenmp, - and -fpreprocessed. - -2009-03-06 Alexandre Oliva <aoliva@redhat.com> - - * simplify.c (gfc_simplify_transfer): Zero-initialize the - buffer. - -2009-02-27 Tobias Burnus <burnus@net-b.de> - - PR fortran/39309 - * module.c (read_md5_from_module_file): Add missing quote. - -2009-02-27 Tobias Burnus <burnus@net-b.de> - - PR fortran/39309 - * module.c (read_md5_from_module_file): Include mod version - in had-changed test. - -2009-02-26 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/39295 - * interface.c (compare_type_rank_if): Return 1 if the symbols - are the same and deal with external procedures where one is - identified to be a function or subroutine by usage but the - other is not. - -2009-02-26 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/39292 - * trans-array.c (gfc_conv_array_initializer): Convert all - expressions rather than ICEing. - -2009-02-21 Thomas Koenig <tkoenig@gcc.gnu.org> - - PR fortran/38914 - * array.c (ref_dimen_size): Rename to gfc_ref_dimen_size, - make global. Change function name in error messages. - (ref_size): Change ref_dimen_size to gfc_ref_dimen_size. - (gfc_array_ref_shape): Likewise. - * gfortran.h: Add prototype for gfc_ref_dimen_size. - * simplify.c (simplify_bound_dim): Add ref argument. - If the reference isn't a full array, return one for - the lower bound and the extent for the upper bound. - (simplify_bound): For array sections, take as from the - argument. Add reference to all to simplify_bound_dim. - -2009-02-19 Daniel Franke <franke.daniel@gmail.com> - - * scanner.c (load_line): At end of line, skip '\r' without setting - the truncation flag. - -2009-02-18 Daniel Kraft <d@domob.eu> - - * gfortran.texi: New chapter about compiler characteristics. - (Compiler Characteristics): Document KIND type parameters here. - -2009-02-18 Tobias Burnus <burnus@net-b.de> - - * intrinsic.texi (MALLOC): Make example more portable. - -2009-02-13 Mikael Morin <mikael.morin@tele2.fr> - - PR fortran/38259 - * module.c (gfc_dump_module,gfc_use_module): Add module - version number. - -2009-02-13 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/36703 - PR fortran/36528 - * trans-expr.c (gfc_conv_function_val): Stabilize Cray-pointer - function references to ensure that a valid expression is used. - (gfc_conv_function_call): Pass Cray pointers to procedures. - -2009-02-03 Jakub Jelinek <jakub@redhat.com> - - * gfortranspec.c (lang_specific_driver): Update copyright notice - dates. - -2009-01-28 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/38852 - PR fortran/39006 - * trans-intrinsic.c (gfc_conv_intrinsic_bound): Use the array - descriptor ubound for UBOUND, when the array lbound == 1. - -2009-01-27 Daniel Kraft <d@domob.eu> - - PR fortran/38883 - * trans-stmt.c (gfc_conv_elemental_dependencies): Create temporary - for the real type needed to make it work for subcomponent-references. - -2009-01-21 Daniel Kraft <d@domob.eu> - - * trans-stmt.c (gfc_conv_elemental_dependencies): Cleaned up comment. - -2009-01-20 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/38907 - * resolve.c (check_host_association): Remove the matching to - correct an incorrect host association and use manipulation of - the expression instead. - -2009-01-20 Tobias Burnus <burnus@net-b.de> - - * invoke.texi (RANGE): RANGE also takes INTEGER arguments. - -2009-01-19 Mikael Morin <mikael.morin@tele2.fr> - - PR fortran/38859 - * simplify.c (simplify_bound): Don't use array specification - if variable or component has subsequent references. - -2009-01-17 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/38657 - * module.c (write_common_0): Add argument 'this_module' and - check that non-use associated common blocks are written first. - (write_common): Call write_common_0 twice, once with true and - then with false. - -2009-01-17 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/34955 - * trans-intrinsic.c (gfc_conv_intrinsic_array_transfer): Has - been absorbed into gfc_conv_intrinsic_transfer. All - references to it in trans-intrinsic.c have been changed - accordingly. PR fixed by using a temporary for scalar - character transfer, when the source is shorter than the - destination. - -2009-01-17 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/38657 - * module.c (write_common_0): Revert patch of 2009-01-05. - -2009-01-16 Janus Weil <janus@gcc.gnu.org> - - PR fortran/38152 - * expr.c (gfc_check_pointer_assign): Allow use-associated procedure - pointers as lvalue. - * trans-decl.c (get_proc_pointer_decl,gfc_create_module_variable): - Enable procedure pointers as module variables. - -2009-01-14 Steven G. Kargl <kargl@gcc.gnu.org> - - * ChangeLog-2007: Clean out svn merge droppings. - -2009-01-10 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/38763 - * target-memory.c (encode_derived): Encode NULL. - -2009-01-10 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/38765 - * resolve.c (check_host_association): Use the symtree name to - search for a potential contained procedure, since this is the - name by which it would be referenced. - -2009-01-06 Thomas Koenig <tkoenig@gcc.gnu.org> - - PR fortran/38220 - * interface.c (gfc_procedure_use): Don't warn about functions - from ISO_C_BINDING. - * symbol.c (generate_isocbinding_symbol): Mark c_loc and - c_funloc as pure. - -2009-01-05 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/38657 - * module.c (write_common_0): Use the name of the symtree rather - than the common block, to determine if the common has been - written. - -2009-01-05 Daniel Franke <franke.daniel@gmail.com> - - PR fortran/37159 - * check.c (gfc_check_random_seed): Added size check for GET - dummy argument, reworded error messages to follow common pattern. - -2009-01-05 Thomas Koenig <tkoenig@gcc.gnu.org> - - PR fortran/38672 - * trans-types.c (gfc_get_derived_type): Check for the - presence of derived->ns->proc_name before - accessing derived->ns->proc_name->attr.flavor . - * resolve.c (resolve_symbol): Likewise. - -2009-01-05 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/38665 - * gfortran.h : Add bit to gfc_expr 'user_operator' - * interface.c (gfc_extend_expr): Set the above if the operator - is substituted by a function. - * resolve.c (check_host_association): Return if above is set. - -2009-01-04 Mikael Morin <mikael.morin@tele2.fr> - - PR fortran/35681 - * ChangeLog-2008: Fix function name. - - PR fortran/38487 - * dependency.c (gfc_check_argument_var_dependency): - Move the check for pointerness inside the if block - so that it doesn't affect the return value. - - PR fortran/38669 - * trans-stmt.c (gfc_trans_call): - Add the dependency code after the loop bounds calculation one. - -2009-01-04 Daniel Franke <franke.daniel@gmail.com> - - * intrinsic.c (do_simplify): Removed already implemented TODO. - -2009-01-04 Daniel Franke <franke.daniel@gmail.com> - - PR fortran/38718 - * simplify.c (gfc_simplify_merge): New. - * intrinsic.h (gfc_simplify_merge): New prototype. - * intrinsic.c (add_functions): Added simplification for MERGE. - -2009-01-04 Mikael Morin <mikael.morin@tele2.fr> - - PR fortran/38536 - * gfortran.h (gfc_is_data_pointer): Added prototype - * resolve.c (gfc_iso_c_func_interface): - Use gfc_is_data_pointer to test for pointer attribute. - * dependency.c (gfc_is_data_pointer): - Support pointer-returning functions. - -2009-01-03 Daniel Franke <franke.daniel@gmail.com> - - * symbol.c (save_symbol): Don't SAVE function results. - -2009-01-03 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/38594 - * resolve.c (resolve_call): When searching for proper host - association, use symtree rather than symbol. For everything - except generic subroutines, substitute the symtree in the call - rather than the symbol. -Copyright (C) 2009 Free Software Foundation, Inc. +Copyright (C) 2010 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright diff --git a/gcc/fortran/ChangeLog-2009 b/gcc/fortran/ChangeLog-2009 new file mode 100644 index 0000000..43d206a --- /dev/null +++ b/gcc/fortran/ChangeLog-2009 @@ -0,0 +1,3710 @@ +2009-12-29 Janus Weil <janus@gcc.gnu.org> + + PR fortran/42517 + * invoke.texi: Document the interference of + -fcheck=recursion and -fopenmp. + * trans-decl.c (gfc_generate_function_code): Disable -fcheck=recursion + when used with -fopenmp. + +2009-12-28 Janus Weil <janus@gcc.gnu.org> + + PR fortran/42353 + * symbol.c (gfc_find_derived_vtab): Make vtabs and vtypes private. + +2009-12-27 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + Daniel Kraft <d@domob.eu> + + PR fortran/22552 + * lang.opt (Wimplicit-procedure): New option. + * gfortran.h (struct gfc_option_t): New member `warn_implicit_procedure' + * options.c (gfc_handle_option): Handle -Wimplicit-procedure. + * interface.c (gfc_procedure_use): Warn about procedure never + explicitly declared if requested by the new flag. + * invoke.texi: Document new flag -Wimplicit-procedure. + +2009-12-17 Janus Weil <janus@gcc.gnu.org> + + PR fortran/42144 + * trans-expr.c (select_class_proc): Skip abstract base types. + +2009-12-16 Kazu Hirata <kazu@codesourcery.com> + + * gfc-internals.texi, gfortran.texi, invoke.texi: Fix typos. + Follow spelling conventions. + +2009-12-15 Tobias Burnus <burnus@net-b.de> + Daniel Franke <franke.daniel@gmail.com> + + PR fortran/41235 + * resolve.c (resolve_global_procedure): Add check for + presence of an explicit interface for nonconstant, + nonassumed character-length functions. + (resolve_fl_procedure): Remove check for nonconstant + character-length functions. + +2009-12-14 Daniel Franke <franke.daniel@gmail.com> + + PR fortran/42354 + * expr.c (check_init_expr): Do not check for specification functions. + +2009-12-11 Janus Weil <janus@gcc.gnu.org> + + PR fortran/42257 + * module.c (write_dt_extensions): Check for accessibility. + +2009-12-11 Daniel Franke <franke.daniel@gmail.com> + + PR fortran/40290 + * expr.c (gfc_type_convert_binary): Added warn-on-conversion flag, + passed on to gfc_convert_type_warn() instead of gfc_convert_type(); + enabled warnings on all callers but ... + * arith.c (eval_intrinsic): Disabled warnings on implicit type + conversion. + * gfortran.h gfc_type_convert_binary): Adjusted prototype. + +2009-12-11 Janus Weil <janus@gcc.gnu.org> + + PR fortran/42335 + * symbol.c (select_type_insert_tmp): Add an extra check for + error recovery. + +2009-12-10 Daniel Franke <franke.daniel@gmail.com> + + PR fortran/40287 + * iresolve.c (resolve_mask_arg): Disabled warning on conversion + to LOGICAL(1). + +2009-12-10 Daniel Franke <franke.daniel@gmail.com> + + PR fortran/41369 + * parse.c (match_deferred_characteristics): Removed check for empty + types in function return values. + +2009-12-10 Daniel Franke <franke.daniel@gmail.com> + + PR fortran/34402 + * expr.c (check_alloc_comp_init): New. + (check_init_expr): Verify that allocatable components + are not data-initalized. + +2008-12-08 Daniel Kraft <d@domob.eu> + + PR fortran/41177 + * gfortran.h (struct symbol_attribute): New flag `class_pointer'. + * symbol.c (gfc_build_class_symbol): Set the new flag. + * resolve.c (update_compcall_arglist): Remove wrong check for + non-scalar base-object. + (check_typebound_baseobject): Add the correct version here as well + as some 'not implemented' message check in the old case. + (resolve_typebound_procedure): Check that the passed-object dummy + argument is scalar, non-pointer and non-allocatable as it should be. + +2009-12-08 Tobias Burnus <burnus@net-b.de> + + PR fortran/40961 + PR fortran/40377 + * gfortran.texi (Non-Fortran Main Program): Add + _gfortran_set_fpe documentation. + (Interoperability with C): Mention array storage order. + +2009-12-07 Daniel Franke <franke.daniel@gmail.com> + + PR fortran/41940 + * match.c (gfc_match_allocate): Improved error message for + allocatable scalars that are allocated with a shape. + +2009-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + PR other/40302 + * arith.c: Remove HAVE_mpc* checks throughout. + * expr.c: Likewise. + * gfortran.h: Likewise. + * resolve.c: Likewise. + * simplify.c: Likewise. + * target-memory.c: Likewise. + * target-memory.h: Likewise. + +2009-12-06 Daniel Franke <franke.daniel@gmail.com> + + PR fortran/40904 + * intrinsics.texi: Fixed description of COUNT. + +2009-12-01 Janne Blomqvist <jb@gcc.gnu.org> + + PR fortran/42131 + * trans-stmt.c (gfc_trans_do): Sign test using ternary operator. + +2009-11-30 Janus Weil <janus@gcc.gnu.org> + + PR fortran/42053 + * resolve.c (resolve_select_type): Check for duplicate CLASS IS blocks. + +2009-11-30 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41631 + * decl.c (gfc_match_derived_decl): Set extension level. + * gfortran.h (symbol_attribute): Expand 'extension' bit field to 8 bit. + * iresolve.c (gfc_resolve_extends_type_of): Return value of + 'is_extension_of' has kind=4. + * match.c (select_type_set_tmp,gfc_match_class_is): Create temporary + for CLASS IS blocks. + * module.c (MOD_VERSION): Bump module version. + (ab_attribute,attr_bits): Remove AB_EXTENSION. + (mio_symbol_attribute): Handle expanded 'extension' field. + * resolve.c (resolve_select_type): Implement CLASS IS blocks. + (resolve_fl_variable_derived): Show correct type name. + * symbol.c (gfc_build_class_symbol): Set extension level. + +2009-11-30 Janus Weil <janus@gcc.gnu.org> + + * intrinsic.h (gfc_resolve_extends_type_of): Add prototype. + * intrinsic.c (add_functions): Use 'gfc_resolve_extends_type_of'. + * iresolve.c (gfc_resolve_extends_type_of): New function, which + replaces the call to EXTENDS_TYPE_OF by the library function + 'is_extension_of' and modifies the arguments. + * trans-intrinsic.c (gfc_conv_extends_type_of): Removed. + (gfc_conv_intrinsic_function): FOR EXTENDS_TYPE_OF, don't call + gfc_conv_extends_type_of but gfc_conv_intrinsic_funcall. + +2009-11-30 Paul Thomas <pault@gcc.gnu.org> + Janus Weil <janus@gcc.gnu.org> + + * decl.c (encapsulate_class_symbol): Replaced by + 'gfc_build_class_symbol'. + (build_sym,build_struct): Call 'gfc_build_class_symbol'. + (gfc_match_derived_decl): Replace vindex by hash_value. + * dump-parse-tree.c (show_symbol): Replace vindex by hash_value. + * gfortran.h (symbol_attribute): Add field 'vtab'. + (gfc_symbol): Replace vindex by hash_value. + (gfc_class_esym_list): Ditto. + (gfc_get_derived_type,gfc_build_class_symbol,gfc_find_derived_vtab): + New prototypes. + * module.c (mio_symbol): Replace vindex by hash_value. + * resolve.c (vindex_expr): Rename to 'hash_value_expr'. + (resolve_class_compcall,resolve_class_typebound_call): Renamed + 'vindex_expr'. + (resolve_select_type): Replace $vindex by $vptr->$hash. + * symbol.c (gfc_add_save): Handle vtab symbols. + (gfc_type_compatible): Rewrite. + (gfc_build_class_symbol): New function which replaces + 'encapsulate_class_symbol'. + (gfc_find_derived_vtab): New function to set up a vtab symbol for a + derived type. + * trans-decl.c (gfc_create_module_variable): Handle vtab symbols. + * trans-expr.c (select_class_proc): Replace vindex by hash_value. + (gfc_conv_derived_to_class): New function to construct a temporary + CLASS variable from a derived type expression. + (gfc_conv_procedure_call): Call 'gfc_conv_derived_to_class'. + (gfc_conv_structure): Initialize the $extends and $size fields of + vtab symbols. + (gfc_trans_class_assign): Replace $vindex by $vptr. Remove the $size + assignment. + * trans-intrinsic.c (gfc_conv_same_type_as): Replace $vindex by + $vptr->$hash, and replace vindex by hash_value. + * trans-stmt.c (gfc_trans_allocate): Insert $vptr references, replace + $vindex by $vptr. Remove the $size assignment. + * trans-types.c (gfc_get_derived_type): Make it non-static. + +2009-11-30 Thomas Koenig <tkoenig@gcc.gnu.org> + + PR fortran/42131 + * trans-stmt.c (gfc_trans_do): Calculate loop count + without if statements. + +2009-11-28 Jakub Jelinek <jakub@redhat.com> + + * trans-common.c (create_common): Remove unused offset variable. + * io.c (gfc_match_wait): Remove unused loc variable. + * trans-openmp.c (gfc_trans_omp_clauses): Remove unused old_clauses + variable. + (gfc_trans_omp_do): Remove unused outermost variable. + * iresolve.c (gfc_resolve_alarm_sub, gfc_resolve_fseek_sub): Remove + unused status variable. + * module.c (number_use_names): Remove unused c variable. + (load_derived_extensions): Remove unused nuse variable. + * trans-expr.c (gfc_conv_substring): Remove unused var variable. + * trans-types.c (gfc_get_array_descr_info): Remove unused offset_off + variable. + * matchexp.c (match_primary): Remove unused where variable. + * trans-intrinsic.c (gfc_conv_intrinsic_bound): Remove unused cond2 + variable. + (gfc_conv_intrinsic_sizeof): Remove unused source variable. + (gfc_conv_intrinsic_transfer): Remove unused stride variable. + (gfc_conv_intrinsic_function): Remove unused isym variable. + * arith.c (gfc_hollerith2real, gfc_hollerith2complex, + gfc_hollerith2logical): Remove unused len variable. + * parse.c (parse_derived): Remove unused derived_sym variable. + * decl.c (variable_decl): Remove unused old_locus variable. + * resolve.c (check_class_members): Remove unused tbp_sym variable. + (resolve_ordinary_assign): Remove unused assign_proc variable. + (resolve_equivalence): Remove unused value_name variable. + * data.c (get_array_index): Remove unused re variable. + * trans-array.c (gfc_conv_array_transpose): Remove unused src_info + variable. + (gfc_conv_resolve_dependencies): Remove unused aref and temp_dim + variables. + (gfc_conv_loop_setup): Remove unused dim and len variables. + (gfc_walk_variable_expr): Remove unused head variable. + * match.c (match_typebound_call): Remove unused var variable. + * intrinsic.c (gfc_convert_chartype): Remove unused from_ts variable. + +2009-11-26 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR fortran/41807 + * trans-const.c (gfc_conv_const): Set se->expr to a constant on error. + +2009-11-26 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR fortran/41278 + * trans-array.c (gfc_conv_array_transpose): Delete unnecessary assert. + +2009-11-26 Janus Weil <janus@gcc.gnu.org> + + PR fortran/42048 + PR fortran/42167 + * gfortran.h (gfc_is_function_return_value): New prototype. + * match.c (gfc_match_call): Use new function + 'gfc_is_function_return_value'. + * primary.c (gfc_is_function_return_value): New function to check if a + symbol is the return value of an encompassing function. + (match_actual_arg,gfc_match_rvalue,match_variable): Use new function + 'gfc_is_function_return_value'. + * resolve.c (resolve_common_blocks,resolve_actual_arglist): Ditto. + +2009-11-25 Jakub Jelinek <jakub@redhat.com> + + PR fortran/42162 + * trans-openmp.c (gfc_trans_omp_do): When dovar isn't a VAR_DECL, + don't use simple loop and handle clauses properly. + +2009-11-24 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR fortran/42008 + * decl.c (variable_decl): Do not error on initialization within a + derived type specification of a pure procedure. + +2009-11-24 Janus Weil <janus@gcc.gnu.org> + + PR fortran/42045 + * resolve.c (resolve_actual_arglist): Make sure procedure pointer + actual arguments are resolved correctly. + (resolve_function): An EXPR_FUNCTION which is a procedure pointer + component, has already been resolved. + (resolve_fl_derived): Procedure pointer components should not be + implicitly typed. + +2009-11-21 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR fortran/41807 + * trans-const.c (gfc_conv_const): Fix typo in comment. Replace assert + with error message if not constant. + * resolve.c (next_data_value): Delete check for constant. + +2009-11-20 Janus Weil <janus@gcc.gnu.org> + + * intrinsic.texi (C_F_PROCPOINTER): Remove obsolete comment. + +2009-11-20 Paul Thomas <pault@gcc.gnu.org> + Janus Weil <janus@gcc.gnu.org> + + PR fortran/42104 + * trans-expr.c (gfc_conv_procedure_call): If procedure pointer + component call, use the component's 'always_explicit' attr + for array arguments. + +2009-11-19 Janus Weil <janus@gcc.gnu.org> + + * trans-expr.c (conv_isocbinding_procedure): New function. + (gfc_conv_procedure_call): Move ISO_C_BINDING stuff to + separate function. + +2009-11-19 Tobias Burnus <burnus@net-b.de> + + * gfortran.texi (Interoperable Subroutines and Functions): Fix + example. + +2009-11-18 Janus Weil <janus@gcc.gnu.org> + + PR fortran/42072 + * trans-expr.c (gfc_conv_procedure_call): Handle procedure pointer + dummies which are passed to C_F_PROCPOINTER. + +2009-11-18 Alexandre Oliva <aoliva@redhat.com> + + * module.c (mio_f2k_derived): Initialize op. + +2009-11-15 Janus Weil <janus@gcc.gnu.org> + + PR fortran/42048 + * match.c (gfc_match_call): If we're inside a function with derived + type return value, allow calling a TBP of the result variable. + +2009-11-12 Tobias Burnus <burnus@net-b.de> + + * intrinsic.texi (XOR): Refer also to .NEQV. + (ISO_FORTRAN_ENV): State which parameters are F2008. + +2009-11-11 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41978 + * resolve.c (resolve_ref): Take care of procedure pointer component + references. + +2009-11-06 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR fortran/41909 + * resolve.c (is_illegal_recursion): Return false if sym is program. + +2009-11-06 Steven G. Kargl <kargl@gcc.gnu.org> + + * resolve.c (check_typebound_override): Remove duplicate "in" in error + message. + +2009-11-05 Steven G. Kargl <kargl@gcc.gnu.org> + + PR fortran/41918 + * fortran/trans-decl.c: Silence intent(out) warning for derived type + dummy arguments with default initialization. + +2009-11-05 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41556 + * interface.c (matching_typebound_op,gfc_extend_assign): Handle CLASS + variables. + +2009-11-05 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41556 + PR fortran/41873 + * resolve.c (resolve_function,resolve_call): Prevent abstract interfaces + from being called, but allow deferred type-bound procedures with + abstract interface. + +2009-11-04 Tobias Burnus <burnus@gcc.gnu.org> + Janus Weil <janus@gcc.gnu.org> + + PR fortran/41556 + PR fortran/41937 + * interface.c (gfc_check_operator_interface): Handle CLASS arguments. + * resolve.c (resolve_allocate_expr): Handle allocatable components of + CLASS variables. + +2009-11-04 Richard Guenther <rguenther@suse.de> + + * options.c (gfc_post_options): Rely on common code processing + LTO options. Only enable -fwhole-file here. + +2009-11-03 Tobias Burnus <burnus@net-b.de> + + PR fortran/41907 + * trans-expr.c (gfc_conv_procedure_call): Fix presence check + for optional arguments. + +2009-11-01 Tobias Burnus <burnus@net-b.de> + + PR fortran/41872 + * trans-decl.c (gfc_trans_deferred_vars): Do not nullify + autodeallocated allocatable scalars at the end of scope. + (gfc_generate_function_code): Fix indention. + * trans-expr.c (gfc_conv_procedure_call): For allocatable + scalars, fix calling by reference and autodeallocating + of intent out variables. + +2009-11-01 Tobias Burnus <burnus@net-b.de> + + PR fortran/41850 + * trans-expr.c (gfc_conv_procedure_call): Deallocate intent-out + variables only when present. Remove unneccessary present check. + +2009-10-29 Tobias Burnus <burnus@net-b.de> + + PR fortran/41777 + * trans-expr.c (gfc_conv_procedure_call,gfc_conv_expr_reference): + Use for generic EXPR_FUNCTION the attributes of the specific + function. + +2009-10-29 Janne Blomqvist <jb@gcc.gnu.org> + + PR fortran/41860 + * resolve.c (apply_default_init_local): Treat -fno-automatic as if + var was saved. + +2009-10-28 Rafael Avila de Espindola <espindola@google.com> + + * trans-common.c (create_common): Set TREE_PUBLIC to false on + fake variables. + +2009-10-26 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41714 + * trans.c (gfc_trans_code): Remove call to + 'tree_annotate_all_with_location'. Location should already be set. + * trans-openmp.c (gfc_trans_omp_workshare): Ditto. + * trans-stmt.c (gfc_trans_allocate): Do correct data initialization for + CLASS variables with SOURCE tag, plus some cleanup. + +2009-10-24 Janus Weil <janus@gcc.gnu.org> + Paul Thomas <pault@gcc.gnu.org> + + PR fortran/41784 + * module.c (load_derived_extensions): Skip symbols which are not being + loaded. + +2009-10-24 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/41772 + * trans-intrinsic.c (gfc_conv_intrinsic_transfer): Stop'extent' + from going negative. + +2009-10-23 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41800 + * trans-expr.c (gfc_trans_scalar_assign): Handle CLASS variables. + +2009-10-23 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41758 + * match.c (conformable_arrays): Move to resolve.c. + (gfc_match_allocate): Don't resolve SOURCE expr yet, and move some + checks to resolve_allocate_expr. + * resolve.c (conformable_arrays): Moved here from match.c. + (resolve_allocate_expr): Moved some checks here from gfc_match_allocate. + (resolve_code): Resolve SOURCE tag for ALLOCATE expressions. + +2009-10-22 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41781 + * resolve.c (resolve_codes): Don't clear 'cs_base' for BLOCK constructs, + to make sure labels are treated correctly. + * symbol.c (gfc_get_st_label): Create labels in the right namespace. + For BLOCK constructs go into the parent namespace. + +2009-10-21 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41706 + PR fortran/41766 + * match.c (select_type_set_tmp): Set flavor for temporary. + * resolve.c (resolve_class_typebound_call): Correctly resolve actual + arguments. + +2009-10-20 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/41706 + * resolve.c (resolve_arg_exprs): New function. + (resolve_class_compcall): Call the above. + (resolve_class_typebound_call): The same. + +2009-10-19 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41586 + * parse.c (parse_derived): Correctly set 'alloc_comp' and 'pointer_comp' + for CLASS variables. + * trans-array.c (structure_alloc_comps): Handle deallocation and + nullification of allocatable scalar components. + * trans-decl.c (gfc_get_symbol_decl): Remember allocatable scalars for + automatic deallocation. + (gfc_trans_deferred_vars): Automatically deallocate allocatable scalars. + +2009-10-19 Tobias Burnus <burnus@net-b.de> + Steven G. Kargl <kargl@gcc.gnu.org> + + PR fortran/41755 + * symbol.c (gfc_undo_symbols): Add NULL check. + * match.c (gfc_match_equivalence): Add check for + missing comma. + +2009-10-19 Richard Guenther <rguenther@suse.de> + + PR fortran/41494 + * trans-expr.c (gfc_trans_scalar_assign): Do not call + gfc_evaluate_now. + +2009-10-17 Janus Weil <janus@gcc.gnu.org> + Paul Thomas <pault@gcc.gnu.org> + + PR fortran/41608 + * decl.c (gfc_match_data_decl): Add BT_CLASS for undefined type + and empty type errors. + * parse.c (gfc_build_block_ns): Only set recursive if parent ns + has a proc_name. + + PR fortran/41629 + PR fortran/41618 + PR fortran/41587 + * gfortran.h : Add class_ok bitfield to symbol_attr. + * decl.c (build_sym): Set attr.class_ok if dummy, pointer or + allocatable. + (build_struct): Use gfc_try 't' to carry errors past the call + to encapsulate_class_symbol. + (attr_decl1): For a CLASS object, apply the new attribute to + the data component. + * match.c (gfc_match_select_type): Set attr.class_ok for an + assigned selector. + * resolve.c (resolve_fl_variable_derived): Check a CLASS object + is dummy, pointer or allocatable by testing the class_ok and + the use_assoc attribute. + +2009-10-16 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41719 + * resolve.c (resolve_ordinary_assign): Reject intrinsic assignments + to polymorphic variables. + +2009-10-16 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/41648 + PR fortran/41656 + * trans-expr.c (select_class_proc): Convert the expression for the + vindex, carried on the first member of the esym list. + * gfortran.h : Add the vindex field to the esym_list structure. + and eliminate the class_object field. + * resolve.c (check_class_members): Remove the setting of the + class_object field. + (vindex_expr): New function. + (get_class_from_expr): New function. + (resolve_class_compcall): Call the above to find the ultimate + class or derived component. If derived, do not generate the + esym list. Add and expression for the vindex to the esym list + by calling the above. + (resolve_class_typebound_call): The same. + +2009-10-15 Steven G. Kargl <kargl@gcc.gnu.org> + + PR fortran/41712 + * intrinsic.texi: Explicitly state that ETIME and DTIME take + REAL(4) arguments. Fix nearby typographically errors where + /leq was used instead of \leq. + +2009-10-13 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41581 + * decl.c (encapsulate_class_symbol): Add new component '$size'. + * resolve.c (resolve_allocate_expr): Move CLASS handling to + gfc_trans_allocate. + (resolve_class_assign): Replaced by gfc_trans_class_assign. + (resolve_code): Remove calls to resolve_class_assign. + * trans.c (gfc_trans_code): Use new function gfc_trans_class_assign. + * trans-expr.c (get_proc_ptr_comp): Fix a memory leak. + (gfc_conv_procedure_call): For CLASS dummies, set the + $size component. + (gfc_trans_class_assign): New function, replacing resolve_class_assign. + * trans-stmt.h (gfc_trans_class_assign): New prototype. + * trans-stmt.c (gfc_trans_allocate): Use correct size when allocating + CLASS variables. Do proper initialization. Move some code here from + resolve_allocate_expr. + +2009-10-11 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR fortran/38439 + * io.c (check_format): Fix locus for error messages and fix a comment. + +2009-10-11 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/41583 + * decl.c (hash_value): New function. + (gfc_match_derived_decl): Call it. + +2009-10-09 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41585 + * decl.c (build_struct): Bugfix for CLASS components. + +2009-10-09 Tobias Burnus <burnus@net-b.de> + + PR fortran/41582 + * decl.c (encapsulate_class_symbol): Save attr.abstract. + * resolve.c (resolve_allocate_expr): Reject class allocate + without typespec or source=. + * trans-stmt.c (gfc_trans_allocate): Change gfc_warning + into gfc_error for "not yet implemented". + +2009-10-09 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41579 + * gfortran.h (gfc_select_type_stack): New struct, to be used as a stack + for SELECT TYPE statements. + (select_type_stack): New global variable. + (type_selector,select_type_tmp): Removed. + * match.c (type_selector,type_selector): Removed. + (select_type_stack): New variable, serving as a stack for + SELECT TYPE statements. + (select_type_push,select_type_set_tmp): New functions. + (gfc_match_select_type): Call select_type_push. + (gfc_match_type_is): Call select_type_set_tmp. + * parse.c (select_type_pop): New function. + (parse_select_type_block): Call select_type_pop. + * symbol.c (select_type_insert_tmp): New function. + (gfc_find_sym_tree): Call select_type_insert_tmp. + +2009-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * arith.c (arith_power): Use mpc_pow_z. + * gfortran.h (HAVE_mpc_pow_z): Define. + +2009-10-07 Daniel Kraft <d@domob.eu> + + PR fortran/41615 + * resolve.c (resolve_contained_fntype): Clarify error message for + invalid assumed-length character result on module procedures. + +2009-10-07 Janus Weil <janus@gcc.gnu.org> + + * expr.c (gfc_check_pointer_assign): Do the correct type checking when + CLASS variables are involved. + * match.c (gfc_match_select_type): Parse associate-name in SELECT TYPE + statements, and set up a local namespace for the SELECT TYPE block. + * parse.h (gfc_build_block_ns): New prototype. + * parse.c (parse_select_type_block): Return from local namespace to its + parent after SELECT TYPE block. + (gfc_build_block_ns): New function for setting up the local namespace + for a BLOCK construct. + (parse_block_construct): Use gfc_build_block_ns. + * resolve.c (resolve_select_type): Insert assignment for the selector + variable, in case an associate-name is given, and put the SELECT TYPE + statement inside a BLOCK. + (resolve_code): Call resolve_class_assign after checking the assignment. + * symbol.c (gfc_find_sym_tree): Moved some code here from + gfc_get_ha_sym_tree. + (gfc_get_ha_sym_tree): Moved some code to gfc_find_sym_tree. + +2009-10-07 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/41613 + * resolve.c (check_class_members): Reset compcall.assign. + +2009-10-05 Paul Thomas <pault@gcc.gnu.org> + + * trans-expr.c (select_class_proc): New function. + (conv_function_val): Deal with class methods and call above. + * symbol.c (gfc_type_compatible): Treat case where both ts1 and + ts2 are BT_CLASS. + gfortran.h : Add structure gfc_class_esym_list and include in + the structure gfc_expr. + * module.c (load_derived_extensions): New function. + (read_module): Call above. + (write_dt_extensions): New function. + (write_derived_extensions): New function. + (write_module): Use the above. + * resolve.c (resolve_typebound_call): Add a function expression + for class methods. This carries the chain of symbols for the + dynamic dispatch in select_class_proc. + (resolve_compcall): Add second, boolean argument to indicate if + a function is being handled. + (check_members): New function. + (check_class_members): New function. + (resolve_class_compcall): New function. + (resolve_class_typebound_call): New function. + (gfc_resolve_expr): Call above for component calls.. + +2009-10-05 Daniel Kraft <d@domob.eu> + + PR fortran/41403 + * trans-stmt.c (gfc_trans_goto): Ignore statement list on assigned goto + if it is present. + +2009-10-03 Richard Guenther <rguenther@suse.de> + + * options.c (gfc_post_options): Handle -flto and -fwhopr. + +2009-10-02 Tobias Burnus <burnus@net-b.de> + + PR fortran/41479 + * trans-decl.c (gfc_init_default_dt): Check for presence of + the argument only if it is optional or in entry master. + (init_intent_out_dt): Ditto; call gfc_init_default_dt + for all derived types with initializers. + +2009-10-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + PR fortran/33197 + * gfortran.h (HAVE_mpc_arc): Define. + * simplify.c (gfc_simplify_acos): Handle complex acos. + (gfc_simplify_acosh): Likewise for acosh. + (gfc_simplify_asin): Likewise for asin. + (gfc_simplify_asinh): Likewise for asinh. + (gfc_simplify_atan): Likewise for atan. + (gfc_simplify_atanh): Likewise for atanh. + +2009-10-01 Tobias Burnus <burnus@net-b.de> + + PR fortran/41515 + * decl.c (do_parm): Call add_init_expr_to_sym. + +2009-09-30 Dennis Wassel <dennis.wassel@gmail.com> + + * gcc/fortran/trans-array.c (gfc_trans_array_bound_check): Improved + bounds checking error messages. (gfc_conv_array_ref): Likewise. + (gfc_conv_ss_startstride): Likewise. + +2009-09-30 Janus Weil <janus@gcc.gnu.org> + + * resolve.c (check_typebound_baseobject): Don't check for + abstract types for CLASS. + (resolve_class_assign): Adapt for RHS being a CLASS. + * trans-intrinsic.c (gfc_conv_associated): Add component ref + if expr is a CLASS. + +2009-09-30 Janus Weil <janus@gcc.gnu.org> + + * check.c (gfc_check_same_type_as): New function for checking + SAME_TYPE_AS and EXTENDS_TYPE_OF. + * decl.c (encapsulate_class_symbol): Set ABSTRACT attribute for class + container, if the contained type has it. Add an initializer for the + class container. + (add_init_expr_to_sym): Handle BT_CLASS. + (vindex_counter): New counter for setting vindices. + (gfc_match_derived_decl): Set vindex for all derived types, not only + those which are being extended. + * expr.c (gfc_check_assign_symbol): Handle NULL initialization of class + pointers. + * gfortran.h (gfc_isym_id): New values GFC_ISYM_SAME_TYPE_AS and + GFC_ISYM_EXTENDS_TYPE_OF. + (gfc_type_is_extensible): New prototype. + * intrinsic.h (gfc_check_same_type_as): New prototype. + * intrinsic.c (add_functions): Add SAME_TYPE_AS and EXTENDS_TYPE_OF. + * primary.c (gfc_expr_attr): Handle CLASS-valued functions. + * resolve.c (resolve_structure_cons): Handle BT_CLASS. + (type_is_extensible): Make non-static and rename to + 'gfc_type_is_extensible. + (resolve_select_type): Renamed type_is_extensible. + (resolve_class_assign): Handle NULL pointers. + (resolve_fl_variable_derived): Renamed type_is_extensible. + (resolve_fl_derived): Ditto. + * trans-expr.c (gfc_trans_subcomponent_assign): Handle NULL + initialization of class pointer components. + (gfc_conv_structure): Handle BT_CLASS. + * trans-intrinsic.c (gfc_conv_same_type_as,gfc_conv_extends_type_of): + New functions. + (gfc_conv_intrinsic_function): Handle SAME_TYPE_AS and EXTENDS_TYPE_OF. + +2009-09-30 Janus Weil <janus@gcc.gnu.org> + + * gfortran.h (type_selector, select_type_tmp): New global variables. + * match.c (type_selector, select_type_tmp): New global variables, + used for SELECT TYPE statements. + (gfc_match_select_type): Better error handling. Remember selector. + (gfc_match_type_is): Create temporary variable. + * module.c (ab_attribute): New value 'AB_IS_CLASS'. + (attr_bits): New string. + (mio_symbol_attribute): Handle 'is_class'. + * resolve.c (resolve_select_type): Insert pointer assignment statement, + to assign temporary to selector. + * symbol.c (gfc_get_ha_sym_tree): Replace selector by a temporary + in SELECT TYPE statements. + +2009-09-30 Janus Weil <janus@gcc.gnu.org> + + * dump-parse-tree.c (show_code_node): Renamed 'alloc_list'. + * gfortran.h (gfc_code): Rename 'alloc_list'. Add member 'ts'. + (gfc_expr_to_initialize): New prototype. + * match.c (alloc_opt_list): Correctly check type compatibility. + Renamed 'alloc_list'. + (dealloc_opt_list): Renamed 'alloc_list'. + * resolve.c (expr_to_initialize): Rename to 'gfc_expr_to_initialize' + and make it non-static. + (resolve_allocate_expr): Set vindex for CLASS variables correctly. + Move initialization code to gfc_trans_allocate. Renamed 'alloc_list'. + (resolve_allocate_deallocate): Renamed 'alloc_list'. + (check_class_pointer_assign): Rename to 'resolve_class_assign'. Change + argument type. Adjust to work with ordinary assignments. + (resolve_code): Call 'resolve_class_assign' for ordinary assignments. + Renamed 'check_class_pointer_assign'. + * st.c (gfc_free_statement): Renamed 'alloc_list'. + * trans-stmt.c (gfc_trans_allocate): Renamed 'alloc_list'. Handle + size determination and initialization of CLASS variables. Bugfix for + ALLOCATE statements with default initialization and SOURCE block. + (gfc_trans_deallocate): Renamed 'alloc_list'. + +2009-09-30 Paul Thomas <pault@gcc.gnu.org> + + * trans-expr.c (gfc_conv_procedure_call): Convert a derived + type actual to a class object if the formal argument is a + class. + +2009-09-30 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40996 + * decl.c (build_struct): Handle allocatable scalar components. + * expr.c (gfc_add_component_ref): Correctly set typespec of expression, + after inserting component reference. + * match.c (gfc_match_type_is,gfc_match_class_is): Make sure that no + variables are being used uninitialized. + * primary.c (gfc_match_varspec): Handle CLASS array components. + * resolve.c (resolve_select_type): Transform EXEC_SELECT_TYPE to + EXEC_SELECT. + * trans-array.c (structure_alloc_comps,gfc_trans_deferred_array): + Handle allocatable scalar components. + * trans-expr.c (gfc_conv_component_ref): Ditto. + * trans-types.c (gfc_get_derived_type): Ditto. + +2009-09-30 Janus Weil <janus@gcc.gnu.org> + + * decl.c (encapsulate_class_symbol): Modify names of class container + components by prefixing with '$'. + (gfc_match_end): Handle COMP_SELECT_TYPE. + * expr.c (gfc_add_component_ref): Modify names of class container + components by prefixing with '$'. + * gfortran.h (gfc_statement): Add ST_SELECT_TYPE, ST_TYPE_IS and + ST_CLASS_IS. + (gfc_case): New field 'ts'. + (gfc_exec_op): Add EXEC_SELECT_TYPE. + (gfc_type_is_extension_of): New prototype. + * match.h (gfc_match_select_type,gfc_match_type_is,gfc_match_class_is): + New prototypes. + * match.c (match_derived_type_spec): New function. + (match_type_spec): Use 'match_derived_type_spec'. + (match_case_eos): Modify error message. + (gfc_match_select_type): New function. + (gfc_match_case): Modify error message. + (gfc_match_type_is): New function. + (gfc_match_class_is): Ditto. + * parse.h (gfc_compile_state): Add COMP_SELECT_TYPE. + * parse.c (decode_statement): Handle SELECT TYPE, TYPE IS and CLASS IS + statements. + (next_statement): Handle ST_SELECT_TYPE. + (gfc_ascii_statement): Handle ST_SELECT_TYPE, ST_TYPE_IS, ST_CLASS_IS. + (parse_select_type_block): New function. + (parse_executable): Handle ST_SELECT_TYPE. + * resolve.c (resolve_deallocate_expr): Handle BT_CLASS. Modify names of + class container components by prefixing with '$'. + (resolve_allocate_expr): Ditto. + (resolve_select_type): New function. + (gfc_resolve_blocks): Handle EXEC_SELECT_TYPE. + (check_class_pointer_assign): Modify names of class container + components by prefixing with '$'. + (resolve_code): Ditto. + * st.c (gfc_free_statement): Ditto. + * symbol.c (gfc_type_is_extension_of): New function. + (gfc_type_compatible): Use 'gfc_type_is_extension_of', plus a bugfix. + * trans.c (gfc_trans_code): Handel EXEC_SELECT_TYPE. + +2009-09-30 Janus Weil <janus@gcc.gnu.org> + Paul Thomas <pault@gcc.gnu.org> + + * check.c (gfc_check_move_alloc): Arguments don't have to be arrays. + The second argument needs to be type-compatible with the first (not the + other way around, which makes a difference for CLASS entities). + * decl.c (encapsulate_class_symbol): New function. + (build_sym,build_struct): Handle BT_CLASS, call + 'encapsulate_class_symbol'. + (gfc_match_decl_type_spec): Remove warning, use BT_CLASS. + (gfc_match_derived_decl): Set vindex; + * expr.c (gfc_add_component_ref): New function. + (gfc_copy_expr,gfc_check_pointer_assign,gfc_check_assign_symbol): + Handle BT_CLASS. + * dump-parse-tree.c (show_symbol): Print vindex. + * gfortran.h (bt): New basic type BT_CLASS. + (symbol_attribute): New field 'is_class'. + (gfc_typespec): Remove field 'is_class'. + (gfc_symbol): New field 'vindex'. + (gfc_get_ultimate_derived_super_type): New prototype. + (gfc_add_component_ref): Ditto. + * interface.c (gfc_compare_derived_types): Pointer equality check + moved here from gfc_compare_types. + (gfc_compare_types): Handle BT_CLASS and use + gfc_type_compatible. + * match.c (gfc_match_allocate,gfc_match_deallocate,gfc_match_call): + Handle BT_CLASS. + * misc.c (gfc_clear_ts): Removed is_class. + (gfc_basic_typename,gfc_typename): Handle BT_CLASS. + * module.c (bt_types,mio_typespec): Handle BT_CLASS. + (mio_symbol): Handle vindex. + * primary.c (gfc_match_varspec,gfc_variable_attr): Handle BT_CLASS. + * resolve.c (find_array_spec,check_typebound_baseobject): + Handle BT_CLASS. + (resolve_ppc_call,resolve_expr_ppc): Don't call 'gfc_is_proc_ptr_comp' + inside 'gcc_assert'. + (resolve_deallocate_expr,resolve_allocate_expr): Handle BT_CLASS. + (check_class_pointer_assign): New function. + (resolve_code): Handle BT_CLASS, call check_class_pointer_assign. + (resolve_fl_var_and_proc,type_is_extensible,resolve_fl_variable_derived, + resolve_fl_variable): Handle BT_CLASS. + (check_generic_tbp_ambiguity): Add special case. + (resolve_typebound_procedure,resolve_fl_derived): Handle BT_CLASS. + * symbol.c (gfc_get_ultimate_derived_super_type): New function. + (gfc_type_compatible): Handle BT_CLASS. + * trans-expr.c (conv_parent_component_references): Handle CLASS + containers. + (gfc_conv_initializer): Handle BT_CLASS. + * trans-types.c (gfc_typenode_for_spec,gfc_get_derived_type): + Handle BT_CLASS. + +2009-09-29 Daniel Kraft <d@domob.eu> + + PR fortran/39626 + * gfortran.h (enum gfc_statement): Add ST_BLOCK and ST_END_BLOCK. + (struct gfc_namespace): Convert flags to bit-fields and add flag + `construct_entities' for use with BLOCK constructs. + (enum gfc_exec_code): Add EXEC_BLOCK. + (struct gfc_code): Add namespace field to union for EXEC_BLOCK. + * match.h (gfc_match_block): New prototype. + * parse.h (enum gfc_compile_state): Add COMP_BLOCK. + * trans.h (gfc_process_block_locals): New prototype. + (gfc_trans_deferred_vars): Made public, new prototype. + * trans-stmt.h (gfc_trans_block_construct): New prototype. + * decl.c (gfc_match_end): Handle END BLOCK correctly. + (gfc_match_intent): Error if inside of BLOCK. + (gfc_match_optional), (gfc_match_value): Ditto. + * match.c (gfc_match_block): New routine. + * parse.c (decode_statement): Handle BLOCK statement. + (case_exec_markers): Add ST_BLOCK. + (case_end): Add ST_END_BLOCK. + (gfc_ascii_statement): Handle ST_BLOCK and ST_END_BLOCK. + (parse_spec): Check for statements not allowed inside of BLOCK. + (parse_block_construct): New routine. + (parse_executable): Parse BLOCKs. + (parse_progunit): Disallow CONTAINS in BLOCK constructs. + * resolve.c (is_illegal_recursion): Find real container procedure and + don't get confused by BLOCK constructs. + (resolve_block_construct): New routine. + (gfc_resolve_blocks), (resolve_code): Handle EXEC_BLOCK. + * st.c (gfc_free_statement): Handle EXEC_BLOCK statements. + * trans-decl.c (saved_local_decls): New static variable. + (add_decl_as_local): New routine. + (gfc_finish_var_decl): Add variable as local if inside BLOCK. + (gfc_trans_deferred_vars): Make public. + (gfc_process_block_locals): New routine. + * trans-stmt.c (gfc_trans_block_construct): New routine. + * trans.c (gfc_trans_code): Handle EXEC_BLOCK statements. + +2009-09-28 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR fortran/35862 + * io.c (format_token): Add enumerators for rounding format specifiers. + (format_lex): Tokenize the rounding format specifiers. + (gfc_match_open): Enable rounding modes in OPEN statement. + +2009-09-28 Richard Henderson <rth@redhat.com> + + * f95-lang.c (gfc_init_builtin_functions): Update call to + build_common_builtin_nodes. + +2009-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * simplify.c (gfc_simplify_acos, gfc_simplify_acosh, + gfc_simplify_asin, gfc_simplify_asinh, gfc_simplify_atan, + gfc_simplify_atanh): Fix error message. + +2009-09-24 Steven G. Kargl <kargl@gcc.gnu.org> + + PR fortran/41459 + * error.c(gfc_warning_now): Move warnings_are_errors test to + after actual emitting of the warning. + * parse.c (next_free): Improve error locus printing. + (next_fixed): Change gfc_warn to gfc_warning_now, and improve + locus reporting. + +2009-09-16 Michael Matz <matz@suse.de> + + PR fortran/41212 + * trans.h (struct lang_type): Remove nontarget_type member. + * trans.c (gfc_add_modify): Don't access it. + * trans-decl.c (gfc_finish_var_decl): Don't allocate and set it, + instead set DECL_RESTRICTED_P on affected decls. + +2009-09-14 Richard Henderson <rth@redhat.com> + + * f95-lang.c (gfc_init_builtin_functions): Update call to + build_common_builtin_nodes. + (gfc_maybe_initialize_eh): Don't call + default_init_unwind_resume_libfunc. + +2009-09-13 Richard Guenther <rguenther@suse.de> + Rafael Avila de Espindola <espindola@google.com> + + * f95-lang.c (gfc_maybe_initialize_eh): Do not init + eh_personality_libfunc. + +2009-09-11 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41242 + * resolve.c (resolve_ordinary_assign): Don't call resolve_code, + to avoid that subsequent codes are resolved more than once. + (resolve_code): Make sure that type-bound assignment operators are + resolved correctly. + + +2009-09-10 Steven G. Kargl <kargl@gcc.gnu.org> + + PR fortran/31292 + * fortran/decl.c(gfc_match_modproc): Check that module procedures + from a module can USEd in module procedure statements in other + program units. Update locus for better error message display. + Detect intrinsic procedures in module procedure statements. + +2009-09-09 Richard Guenther <rguenther@suse.de> + + PR fortran/41297 + * trans-expr.c (gfc_trans_scalar_assign): Correct typo that + left 'tmp' unused in derived type assignment. + +2009-09-07 Thomas Koenig <tkoenig@gcc.gnu.org> + + PR fortran/41197 + * resolve_c (resolve_allocate_deallocate): Complain + if stat or errmsg varaible is an array. + +2009-09-05 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/41258 + * primary.c (gfc_match_varspec): Do not look for typebound + procedures unless the derived type has a f2k_derived namespace. + +2009-09-03 Diego Novillo <dnovillo@google.com> + + * f95-lang.c (lang_hooks): Remove const qualifier. + +2009-09-01 Richard Guenther <rguenther@suse.de> + + * f95-lang.c (gfc_mark_addressable): Remove. + (LANG_HOOKS_MARK_ADDRESSABLE): Likewise. + +2009-08-31 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR fortran/39229 + * scanner.c (next_char): Fix typo in comment. + (gfc_get_char_literal): Warn if truncate flag is set for both fixed and + free form source, adjusting error locus as needed. + * parse.c (next_fixed): Clear the truncate flag. + (next_statement): Remove truncate warning. + +2009-08-31 Janus Weil <janus@gcc.gnu.org> + Paul Thomas <pault@gcc.gnu.org> + + PR fortran/40940 + * array.c (gfc_match_array_constructor): Rename gfc_match_type_spec. + * decl.c (gfc_match_type_spec): Rename to gfc_match_decl_type_spec, + and reject CLASS with -std=f95. + (gfc_match_implicit, gfc_match_data_decl,gfc_match_prefix, + match_procedure_interface): Rename gfc_match_type_spec. + * gfortran.h (gfc_type_compatible): Add prototype. + * match.h (gfc_match_type_spec): Rename to gfc_match_decl_type_spec. + * match.c (match_intrinsic_typespec): Rename to match_type_spec, and + add handling of derived types. + (gfc_match_allocate): Rename match_intrinsic_typespec and check + type compatibility of derived types. + * symbol.c (gfc_type_compatible): New function to check if two types + are compatible. + +2009-08-31 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40996 + * check.c (gfc_check_allocated): Implement allocatable scalars. + * resolve.c (resolve_allocate_expr,resolve_fl_var_and_proc): Ditto. + * trans-intrinsic.c (gfc_conv_allocated): Ditto. + +2009-08-30 Daniel Kraft <d@domob.eu> + + PR fortran/37425 + * dump-parse-tree.c (show_typebound_proc): Renamed from `show_typebound' + and accept gfc_typebound_proc and name instead of the symtree, needed + for intrinsic operator output. + (show_typebound_symtree): New method calling `show_typebound_proc'. + (show_f2k_derived): Output type-bound operators also. + (show_symbol): Moved output of `Procedure bindings:' label to + `show_f2k_derived'. + * gfortran.texi (Fortran 2003 status): Mention support of + array-constructors with explicit type specification, type-bound + procedures/operators, type extension, ABSTRACT types and DEFERRED. + Link to Fortran 2003 wiki page. + (Fortran 2008 status): Fix typo. Link to Fortran 2008 wiki page. + * gfc-internals.texi (Type-bound Procedures): Document the new + members/attributes of gfc_expr.value.compcall used for type-bound + operators. + (Type-bound Operators): New section documenting their internals. + +2009-08-27 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40869 + * expr.c (gfc_check_pointer_assign): Enable interface check for + pointer assignments involving procedure pointer components. + * gfortran.h (gfc_compare_interfaces): Modified prototype. + * interface.c (gfc_compare_interfaces): Add argument 'name2', to be + used instead of s2->name. Don't rely on the proc_pointer attribute, + but instead on the flags handed to this function. + (check_interface1,compare_parameter): Add argument for + gfc_compare_interfaces. + * resolve.c (check_generic_tbp_ambiguity): Ditto. + +2009-08-27 Daniel Kraft <d@domob.eu> + + PR fortran/37425 + * gfortran.h (gfc_expr): Optionally store base-object in compcall value + and add a new flag to distinguish assign-calls generated. + (gfc_find_typebound_proc): Add locus argument. + (gfc_find_typebound_user_op), (gfc_find_typebound_intrinsic_op): Ditto. + (gfc_extend_expr): Return if failure was by a real error. + * interface.c (matching_typebound_op): New routine. + (build_compcall_for_operator): New routine. + (gfc_extend_expr): Handle type-bound operators, some clean-up and + return if failure was by a real error or just by not finding an + appropriate operator definition. + (gfc_extend_assign): Handle type-bound assignments. + * module.c (MOD_VERSION): Incremented. + (mio_intrinsic_op): New routine. + (mio_full_typebound_tree): New routine to make typebound-procedures IO + code reusable for type-bound user operators. + (mio_f2k_derived): IO of type-bound operators. + * primary.c (gfc_match_varspec): Initialize new fields in gfc_expr and + pass locus to gfc_find_typebound_proc. + * resolve.c (resolve_operator): Only output error about no matching + interface if gfc_extend_expr did not already fail with an error. + (extract_compcall_passed_object): Use specified base-object if present. + (update_compcall_arglist): Handle ignore_pass field. + (resolve_ordinary_assign): Update to handle extended code for + type-bound assignments, too. + (resolve_code): Handle EXEC_ASSIGN_CALL statement code. + (resolve_tb_generic_targets): Pass locus to gfc_find_typebound_proc. + (resolve_typebound_generic), (resolve_typebound_procedure): Ditto. + (resolve_typebound_intrinsic_op), (resolve_typebound_user_op): Ditto. + (ensure_not_abstract_walker), (resolve_fl_derived): Ditto. + (resolve_typebound_procedures): Remove not-implemented error. + (resolve_typebound_call): Handle assign-call flag. + * symbol.c (find_typebound_proc_uop): New argument to pass locus for + error message about PRIVATE, verify that a found procedure is not marked + as erraneous. + (gfc_find_typebound_intrinsic_op): Ditto. + (gfc_find_typebound_proc), (gfc_find_typebound_user_op): New locus arg. + +2009-08-22 Bud Davis <bdavis9659@sbcglobal.net> + + PR fortran/28093 + * io.c: reverted previous patch. + +2009-08-25 Janne Blomqvist <jb@gcc.gnu.org> + + * gfortran.texi: Fix ENCODE example. + +2009-08-25 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41139 + * primary.c (gfc_match_varspec): Make sure EXPR_PPC is only used for + calls to procedure pointer components, other references to procedure + pointer components are EXPR_VARIABLE. + * resolve.c (resolve_actual_arglist): Bugfix (there can be calls without + actual arglist). + * trans-expr.c (gfc_get_proc_ptr_comp): Renamed to 'get_proc_ptr_comp', + removed argument 'se' and made static. Avoid inserting a temporary + variable for calling the PPC. + (conv_function_val): Renamed gfc_get_proc_ptr_comp. + (gfc_conv_procedure_call): Distinguish functions returning a procedure + pointer from calls to a procedure pointer. Distinguish calls to + procedure pointer components from procedure pointer components as + actual arguments. + * trans-stmt.h (gfc_get_proc_ptr_comp): Make it static. + +2009-08-24 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR fortran/41162 + * io.c (check_format): Fix to not error on slash after P. Fix some + error loci. + +2009-08-24 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR fortran/41154 + * io.c (check_format): Fix to not error on right paren after P. + +2009-08-24 Aldy Hernandez <aldyh@redhat.com> + + PR fortran/40660 + * trans-io.c (build_dt): Pass UNKNOWN_LOCATION to build_call_expr_loc. + (transfer_array_desc): Same. + +2009-08-23 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR fortran/35754 + * io.c (check_format): Add checks for comma and the allowed + format specifiers after the 'P' specifier. Fix typo in error message + and adjust locus. + +2009-08-23 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR fortran/37446 + * io.c (enum format_token): Change FMT_EXT to FMT_EN and FMT_ES. + (format_lex): Likewise. + (token_to_string): New function. + (check_format): Use the new tokens and the new function. Add + check for positive width. + +2009-08-22 Steven G. Kargl <kargl@gcc.gnu.org> + + * fortran/decl.c: Disallow procedure pointers with -std=f95. + +2009-08-22 Steven K. kargl <kargl@gcc.gnu.org> + Paul Thomas <pault@gcc.gnu.org> + + * fortran/decl.c (match_char_spec): Rename to gfc_match_char_spec, + and remove static. + * fortran/gfortran.h: Add *expr3 entity to gfc_code. Add prototype + for gfc_match_char_spec. + * fortran/trans-stmt.c (gfc_trans_allocate): Translate the SOURCE= + tag. + * fortran/match.c (match_intrinsic_typespec): New function to match + F2003 intrinsic-type-spec. + (conformable_arrays): New function. Check SOURCE= and + allocation-object are conformable. + (gfc_match_allocate): Use new functions. Match SOURCE= tag. + +2009-08-22 Bud Davis <bdavis9659@sbcglobal.net> + + PR fortran/28093 + * io.c : added variable to store original len of fmt + * io.c (check_format): Consume H items using next_char + in both modes to handle consecutive single quotes. + Test for extra characters in fmt, issue warning. + +2009-08-21 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41106 + * primary.c (gfc_variable_attr): Make it work also on EXPR_FUNCTION. + (gfc_expr_attr): Use gfc_variable_attr for procedure pointer components. + * resolve.c (resolve_fl_derived): Handle CHARACTER-valued procedure + pointer components. + * trans-expr.c (gfc_conv_component_ref): Ditto. + (gfc_conv_variable): Ditto. + (gfc_conv_procedure_call): Ditto. + (gfc_trans_pointer_assignment): Ditto. + * trans-types.c (gfc_get_derived_type): Ditto. + +2009-08-20 Tobias Schlüter <tobi@gcc.gnu.org> + + * trans-stmt.c (gfc_trans_do): Add a few missing folds. + +2009-08-20 Michael Matz <matz@suse.de> + + PR fortran/41126 + * trans-expr.c (gfc_conv_string_tmp): Check type compatibility + instead of equality. + +2009-08-20 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41121 + * resolve.c (resolve_symbol): Don't resolve formal_ns of intrinsic + procedures. + +2009-08-18 Michael Matz <matz@suse.de> + + * trans-expr.c (gfc_conv_substring): Don't evaluate casted decl early, + change order of length calculation to (end - start) + 1. + (gfc_get_interface_mapping_array): Adjust call to + gfc_get_nodesc_array_type. + * trans-array.c (gfc_trans_create_temp_array, + gfc_build_constant_array_constructor, gfc_conv_expr_descriptor): Ditto. + * trans-stmt.c (gfc_trans_pointer_assign_need_temp): Ditto. + * trans.c (gfc_add_modify): Assignment between base type and nontarget + type are equal enough. + (gfc_call_malloc): Use prvoid_type_node for return value of + __builtin_malloc. + (gfc_allocate_with_status): Ditto. + * trans-types.c (gfc_array_descriptor_base): Double size of this array. + (gfc_init_types): Build prvoid_type_node. + (gfc_build_array_type): New bool parameter "restricted". + (gfc_get_nodesc_array_type): Ditto, build restrict qualified pointers, + if it's true. + (gfc_get_array_descriptor_base): Ditto. + (gfc_get_array_type_bounds): Ditto. + (gfc_sym_type): Use symbol attributes to feed calls to above functions. + (gfc_get_derived_type): Ditto. + * trans.h (struct lang_type): Add nontarget_type member. + * trans-types.h (prvoid_type_node): Declare. + (gfc_get_array_type_bounds, gfc_get_nodesc_array_type): Declare new + parameter. + * trans-decl.c (gfc_finish_var_decl): Give scalars that can't be + aliased a type with a different alias set than the base type. + (gfc_build_dummy_array_decl): Adjust call to gfc_get_nodesc_array_type. + +2009-08-18 Janus Weil <janus@gcc.gnu.org> + Paul Thomas <pault@gcc.gnu.org> + + PR fortran/40870 + * trans-types.c (gfc_get_ppc_type): Include formal args in backend_decl + using the interface symbol. Character types are returned by reference. + (gfc_get_derived_type): Prevent infinite recursion loop + if a PPC has a derived-type formal arg. + +2008-08-17 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/41062 + * trans-decl.c (gfc_trans_use_stmts): Keep going through use + list if symbol is not use associated. + +2009-08-17 Daniel Kraft <d@domob.eu> + + PR fortran/37425 + * resolve.c (get_checked_tb_operator_target): New routine to do checks + on type-bound operators in common between intrinsic and user operators. + (resolve_typebound_intrinsic_op): Call it. + (resolve_typebound_user_op): Ditto. + +2009-08-17 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR fortran/41075 + * scanner.c (gfc_next_char_literal): Add comment to improve + readability. + * io.c (enum format_token): Add FMT_STAR. (format_lex): Add case + for '*'. (check_format): Check for left paren after '*'. Change + format checks to use %L to improve format string error locus. + +2009-08-17 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40877 + * array.c (gfc_resolve_character_array_constructor): Add NULL argument + to gfc_new_charlen. + * decl.c (add_init_expr_to_sym,variable_decl,match_char_spec, + gfc_match_implicit): Ditto. + * expr.c (simplify_const_ref): Fix memory leak. + (gfc_simplify_expr): Add NULL argument to gfc_new_charlen. + * gfortran.h (gfc_new_charlen): Modified prototype. + * iresolve.c (check_charlen_present,gfc_resolve_char_achar): Add NULL + argument to gfc_new_charlen. + * module.c (mio_charlen): Ditto. + * resolve.c (gfc_resolve_substring_charlen, + gfc_resolve_character_operator,fixup_charlen): Ditto. + (resolve_fl_derived,resolve_symbol): Add argument to gfc_charlen. + * symbol.c (gfc_new_charlen): Add argument 'old_cl' (to make a copy of + an existing charlen). + (gfc_set_default_type,generate_isocbinding_symbol): Fix memory leak. + (gfc_copy_formal_args_intr): Add NULL argument to gfc_new_charlen. + * trans-decl.c (create_function_arglist): Fix memory leak. + +2009-08-17 Richard Guenther <rguenther@suse.de> + + * trans-expr.c (gfc_trans_scalar_assign): Replace hack with + more proper hack. + +2009-08-15 Tobias Burnus <burnus@net-b.de> + + PR fortran/41080 + * gfortranspec.c (lookup_option): Remove gfortran-specific + version of -dumpversion. + +2009-08-14 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41070 + * resolve.c (resolve_structure_cons): Make sure that ts.u.derived is + only used if type is BT_DERIVED. + +2009-08-13 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40941 + * gfortran.h (gfc_typespec): Put 'derived' and 'cl' into union. + * decl.c (build_struct): Make sure 'cl' is only used + if type is BT_CHARACTER. + * symbol.c (gfc_set_default_type): Ditto. + * resolve.c (resolve_symbol, resolve_fl_derived): Ditto. + (resolve_equivalence,resolve_equivalence_derived): Make sure 'derived' + is only used if type is BT_DERIVED. + * trans-io.c (transfer_expr): Make sure 'derived' is only used if type + is BT_DERIVED or BT_INTEGER (special case: C_PTR/C_FUNPTR). + * array.c: Mechanical replacements to accomodate union in gfc_typespec. + * check.c: Ditto. + * data.c: Ditto. + * decl.c: Ditto. + * dump-parse-tree.c: Ditto. + * expr.c: Ditto. + * interface.c: Ditto. + * iresolve.c: Ditto. + * match.c: Ditto. + * misc.c: Ditto. + * module.c: Ditto. + * openmp.c: Ditto. + * parse.c: Ditto. + * primary.c: Ditto. + * resolve.c: Ditto. + * simplify.c: Ditto. + * symbol.c: Ditto. + * target-memory.c: Ditto. + * trans-array.c: Ditto. + * trans-common.c: Ditto. + * trans-const.c: Ditto. + * trans-decl.c: Ditto. + * trans-expr.c: Ditto. + * trans-intrinsic.c: Ditto. + * trans-io.c: Ditto. + * trans-stmt.c: Ditto. + * trans-types.c: Ditto. + +2009-08-13 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40995 + * resolve.c (resolve_symbol): Move some checking code to + resolve_intrinsic, and call this from here. + (resolve_intrinsic): Some checking code moved here from resolve_symbol. + Make sure each intrinsic is only resolved once. + +2009-08-12 Tobias Burnus <burnus@net-b.de> + + PR fortran/41034 + * symbol.c (gfc_copy_attr): Merge bits instead of replace + bits in gfc_copy_attr. + * gfc_check_pointer_assign (gfc_check_pointer_assign): + Initialize ext_attr bits by zero. + +2009-08-11 Richard Guenther <rguenther@suse.de> + + * trans-types.c (gfc_get_derived_type): Do not clear TYPE_CANONICAL. + +2009-08-11 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41022 + * trans-expr.c (gfc_conv_procedure_call): Handle procedure pointer + components as actual arguments. + +2009-08-10 Daniel Kraft <d@domob.eu> + + PR fortran/37425 + * gfortran.h (struct gfc_namespace): New fields tb_uop_root and tb_op. + (gfc_find_typebound_user_op): New routine. + (gfc_find_typebound_intrinsic_op): Ditto. + (gfc_check_operator_interface): Now public routine. + * decl.c (gfc_match_generic): Match OPERATOR(X) or ASSIGNMENT(=). + * interface.c (check_operator_interface): Made public, renamed to + `gfc_check_operator_interface' accordingly and hand in the interface + as gfc_symbol rather than gfc_interface so it is useful for type-bound + operators, too. Return boolean result. + (gfc_check_interfaces): Adapt call to `check_operator_interface'. + * symbol.c (gfc_get_namespace): Initialize new field `tb_op'. + (gfc_free_namespace): Free `tb_uop_root'-based tree. + (find_typebound_proc_uop): New helper function. + (gfc_find_typebound_proc): Use it. + (gfc_find_typebound_user_op): New method. + (gfc_find_typebound_intrinsic_op): Ditto. + * resolve.c (resolve_tb_generic_targets): New helper function. + (resolve_typebound_generic): Use it. + (resolve_typebound_intrinsic_op), (resolve_typebound_user_op): New. + (resolve_typebound_procedures): Resolve operators, too. + (check_uop_procedure): New, code from gfc_resolve_uops. + (gfc_resolve_uops): Moved main code to new `check_uop_procedure'. + +2009-08-10 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40940 + * decl.c (gfc_match_type_spec): Match CLASS statement and warn about + missing polymorphism. + * gfortran.h (gfc_typespec): Add field 'is_class'. + * misc.c (gfc_clear_ts): Initialize 'is_class' to zero. + * resolve.c (type_is_extensible): New function to check if a derived + type is extensible. + (resolve_fl_variable_derived): Add error checks for CLASS variables. + (resolve_typebound_procedure): Disallow non-polymorphic passed-object + dummy arguments, turning warning into error. + (resolve_fl_derived): Use 'type_is_extensible'. Disallow non-polymorphic + passed-object dummy arguments for procedure pointer components, + turning warning into error. Add error check for CLASS components. + +2009-08-05 Tobias Burnus <burnus@net-b.de> + + PR fortran/40955 + * gfortran.h (ext_attr_id_t): Add typedef for this enum. + (gfc_add_ext_attribute): Use it. + * decl.c (gfc_match_gcc_attributes): Ditto. + * expr.c (gfc_check_pointer_assign): Ditto. + * symbol.c (gfc_add_ext_attribute): Ditto. + (gfc_copy_attr): Copy also ext_attr. + * resolve.c (resolve_fl_derived,resolve_symbol): Ditto. + * module.c (mio_symbol_attribute): Save ext_attr in the mod file. + +2009-08-05 Tobias Burnus <burnus@net-b.de> + + PR fortran/40969 + Revert: + 2009-08-04 Tobias Burnus <burnus@net-b.de> + + PR fortran/40949 + * trans-types.c (gfc_get_function_type): Fix typelist of + functions without argument. + +2009-08-05 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/40847 + * iresolve.c (gfc_resolve_transfer): Correct error in 'mold' + character length for case where length expresson is NULL. + +2009-08-04 Tobias Burnus <burnus@net-b.de> + + PR fortran/40949 + * trans-types.c (gfc_get_function_type): Fix typelist of + functions without argument. + +2009-08-04 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/40875 + * decl.c (add_init_expr_to_sym): Character symbols can only be + initialized with character expressions. + +2009-08-02 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40881 + * decl.c (match_char_length): Warn about old-style character length + declarations. + * match.c (match_arithmetic_if,gfc_match_if): Modify warning message + for arithmetic if. + (gfc_match_goto): Warn about computed gotos. + (gfc_match_return): Warn about alternate return. + (gfc_match_st_function): Warn about statement functions. + * resolve.c (resolve_fl_procedure): Modify warning message for + assumed-length character functions. + +2009-08-01 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/40011 + * error.c : Add static flag 'warnings_not_errors'. + (gfc_error): If 'warnings_not_errors' is set, branch to code + from gfc_warning. + (gfc_clear_error): Reset 'warnings_not_errors'. + (gfc_errors_to_warnings): New function. + * options.c (gfc_post_options): If pedantic and flag_whole_file + change the latter to a value of 2. + * parse.c (parse_module): Add module namespace to gsymbol. + (resolve_all_program_units): New function. + (clean_up_modules): New function. + (translate_all_program_units): New function. + (gfc_parse_file): If whole_file, do not clean up module right + away and add derived types to namespace derived types. In + addition, call the three new functions above. + * resolve.c (not_in_recursive): New function. + (not_entry_self_reference): New function. + (resolve_global_procedure): Symbol must not be IFSRC_UNKNOWN, + procedure must not be in the course of being resolved and + must return false for the two new functions. Pack away the + current derived type list before calling gfc_resolve for the + gsymbol namespace. It is unconditionally an error if the ranks + of the reference and ther procedure do not match. Convert + errors to warnings during call to gfc_procedure_use if not + pedantic or legacy. + (gfc_resolve): Set namespace resolved flag to -1 during + resolution and store current cs_base. + * trans-decl.c (gfc_get_symbol_decl): If whole_file compilation + substitute a use associated variable, if it is available in a + gsymbolnamespace. + (gfc_get_extern_function_decl): If the procedure is use assoc, + do not attempt to find it in a gsymbol because it could be an + interface. If the symbol exists in a module namespace, return + its backend_decl. + * trans-expr.c (gfc_trans_scalar_assign): If a derived type + assignment, set the rhs TYPE_MAIN_VARIANT to that of the rhs. + * trans-types.c (copy_dt_decls_ifequal): Add 'from_gsym' as a + boolean argument. Copy component backend_decls directly if the + components are derived types and from_gsym is true. + (gfc_get_derived_type): If whole_file copy the derived type from + the module if it is use associated, otherwise, if can be found + in another gsymbol namespace, use the existing derived type as + the TYPE_CANONICAL and build normally. + * gfortran.h : Add derived_types and resolved fields to + gfc_namespace. Include prototype for gfc_errors_to_warnings. + +2009-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. + +2009-07-28 Jakub Jelinek <jakub@redhat.com> + + PR fortran/40878 + * openmp.c (gfc_match_omp_clauses): Use gfc_error_now instead of + gfc_error to diagnose invalid COLLAPSE arguments. + +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-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 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/33197 + * intrinsic.c (make_generic): Remove assert as "atan" can be + both ISYM_ATAN and ISYM_ATAN2. + (add_functions): Add two-argument variant of ATAN. + * intrinsic.h (gfc_check_atan_2): Add check for it. + * intrinsic.texi (ATAN2): Correct and enhance description. + (ATAN): Describe two-argument variant of ATAN. + +2009-07-25 Tobias Burnus <burnus@net-b.de> + Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + + PR fortran/33197 + * intrinsic.c (add_functions): Support complex arguments for + acos,acosh,asin,asinh,atan,atanh. + * invoke.texi (ACOS,ACOSH,ASIN,ASINH,ATAN,ATANH): Support + complex arguments. + * simplify.c (gfc_simplify_acos,gfc_simplify_acosh, + gfc_simplify_asin,gfc_simplify_asinh,gfc_simplify_atan, + gfc_simplify_atanh,gfc_simplify_atan,gfc_simplify_asinh, + gfc_simplify_acosh,gfc_simplify_atanh): Support + complex arguments. + +2009-07-25 Richard Guenther <rguenther@suse.de> + + PR fortran/40005 + * trans-types.c (gfc_get_array_type_bounds): Use + build_distinct_type_copy with a proper TYPE_CANONICAL and + re-use the type-decl of the original type. + * trans-decl.c (build_entry_thunks): Signal cgraph we may not + garbage collect. + (create_main_function): Likewise. + (gfc_generate_function_code): Likewise. + * trans-expr.c (gfc_trans_subcomponent_assign): Do not use + fold_convert on record types. + +2009-07-25 Janus Weil <janus@gcc.gnu.org> + + PR fortran/39630 + * decl.c (match_ppc_decl): Implement the PASS attribute for procedure + pointer components. + (match_binding_attributes): Ditto. + * gfortran.h (gfc_component): Add member 'tb'. + (gfc_typebound_proc): Add member 'ppc' and make 'pass_arg' const. + * module.c (MOD_VERSION): Bump module version. + (binding_ppc): New string constants. + (mio_component): Only use formal args if component is a procedure + pointer and add 'tb' member. + (mio_typebound_proc): Include pass_arg and take care of procedure + pointer components. + * resolve.c (update_arglist_pass): Add argument 'name' and take care of + optional arguments. + (extract_ppc_passed_object): New function, analogous to + extract_compcall_passed_object, but for procedure pointer components. + (update_ppc_arglist): New function, analogous to + update_compcall_arglist, but for procedure pointer components. + (resolve_typebound_generic_call): Added argument to update_arglist_pass. + (resolve_ppc_call, resolve_expr_ppc): Take care of PASS attribute. + (resolve_fl_derived): Check the PASS argument for procedure pointer + components. + * symbol.c (verify_bind_c_derived_type): Reject procedure pointer + components in BIND(C) types. + +2009-07-24 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40822 + * array.c (gfc_resolve_character_array_constructor): Use new function + gfc_new_charlen. + * decl.c (add_init_expr_to_sym,variable_decl,match_char_spec, + gfc_match_implicit): Ditto. + * expr.c (gfc_simplify_expr): Ditto. + * gfortran.h (gfc_new_charlen): New prototype. + * iresolve.c (check_charlen_present,gfc_resolve_char_achar): Use new + function gfc_new_charlen. + * module.c (mio_charlen): Ditto. + * resolve.c (gfc_resolve_substring_charlen, + gfc_resolve_character_operator,fixup_charlen,resolve_fl_derived, + resolve_symbol): Ditto. + * symbol.c (gfc_new_charlen): New function to create a new gfc_charlen + structure and add it to a namespace. + (gfc_copy_formal_args_intr): Make sure ts.cl is present + for CHARACTER variables. + +2009-07-24 Jakub Jelinek <jakub@redhat.com> + + PR fortran/40643 + PR fortran/31067 + * trans-intrinsic.c (gfc_conv_intrinsic_minmaxloc, + gfc_conv_intrinsic_minmaxval): Handle Infinities and NaNs properly, + optimize. + * trans-array.c (gfc_trans_scalarized_loop_end): No longer static. + * trans-array.h (gfc_trans_scalarized_loop_end): New prototype. + +2009-07-23 Jakub Jelinek <jakub@redhat.com> + + PR fortran/40839 + * io.c (gfc_resolve_dt): Add LOC argument. Fail if + dt->io_unit is NULL. Return FAILURE after issuing error about + negative UNIT number. + (match_io_element): Don't segfault if current_dt->io_unit is NULL. + * gfortran.h (gfc_resolve_dt): Adjust prototype. + * resolve.c (resolve_code): Adjust caller. + +2009-07-22 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/40796 + * trans-decl.c (generate_local_decl): Unreferenced result + variables with allocatable components should be treated like + INTENT_OUT dummy variables. + +2009-07-22 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + + * trans.h (gfc_set_decl_assembler_name): New prototype. + * trans-decl.c (gfc_set_decl_assembler_name): New function. + (gfc_get_symbol_decl, gfc_get_extern_function_decl, + build_function_decl): Use gfc_set_decl_assembler_name instead of + SET_DECL_ASSEMBLER_NAME. + * trans-common.c (build_common_decl): Use + gfc_set_decl_assembler_name instead of SET_DECL_ASSEMBLER_NAME. + +2009-07-21 Richard Guenther <rguenther@suse.de> + + PR fortran/40726 + * trans-decl.c (gfc_get_extern_function_decl): Do not set + DECL_IS_MALLOC for pointer valued functions. + (build_function_decl): The same. + +2009-07-19 Steven G. Kargl <kargl@gcc.gnu.org> + + PR fortran/40727 + * fortran/check.c (gfc_check_cmplx, gfc_check_dcmplx): Add check that + the optional second argument isn't of COMPLEX type. + +2009-07-17 Richard Guenther <rguenther@suse.de> + + PR c/40401 + * f95-lang.c (gfc_be_parse_file): Do not finalize the CU here. + * trans-decl.c (gfc_gimplify_function): Remove. + (build_entry_thunks): Do not gimplify here. + (create_main_function): Likewise. + (gfc_generate_function_code): Likewise. + +2009-07-17 Aldy Hernandez <aldyh@redhat.com> + Manuel López-Ibáñez <manu@gcc.gnu.org> + + PR 40435 + * trans-expr.c, trans-array.c, trans-openmp.c, trans-stmt.c, + trans.c, trans-io.c, trans-decl.c, trans-intrinsic.c: Add location + argument to fold_{unary,binary,ternary}, fold_build[123], + build_call_expr, build_size_arg, build_fold_addr_expr, + build_call_array, non_lvalue, size_diffop, + fold_build1_initializer, fold_build2_initializer, + fold_build3_initializer, fold_build_call_array, + fold_build_call_array_initializer, fold_single_bit_test, + omit_one_operand, omit_two_operands, invert_truthvalue, + fold_truth_not_expr, build_fold_indirect_ref, fold_indirect_ref, + combine_comparisons, fold_builtin_*, fold_call_expr, + build_range_check, maybe_fold_offset_to_address, round_up, + round_down. + +2009-07-15 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40743 + * resolve.c (resolve_symbol): Don't resolve the formal namespace of a + contained procedure. + +2009-07-14 Taras Glek <tglek@mozilla.com> + Rafael Espindola <espindola@google.com> + + * Make-lang.in (fortran.install-plugin): New target for + installing plugin headers. + +2009-07-13 H.J. Lu <hongjiu.lu@intel.com> + + * module.c (mio_symbol): Remove the unused variable, formal. + +2009-07-13 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40646 + * module.c (mio_symbol): If the symbol has formal arguments, + the formal namespace will be present. + * resolve.c (resolve_actual_arglist): Correctly handle 'called' + procedure pointer components as actual arguments. + (resolve_fl_derived,resolve_symbol): Make sure the formal namespace + is present. + * trans-expr.c (gfc_conv_procedure_call): Correctly handle the formal + arguments of procedure pointer components. + +2009-07-12 Tobias Burnus <burnus@net-b.de> + Philippe Marguinaud <philippe.marguinaud@meteo.fr> + + PR fortran/40588 + * primary.c (match_charkind_name): Fix condition for $ matching. + + PR libfortran/22423 + * libgfortran.h: Typedef the GFC_DTYPE_* enum. + +2009-07-11 Tobias Burnus <burnus@net-b.de> + + PR fortran/33197 + * check.c (gfc_check_fn_rc2008): New function. + * intrinsic.h (gfc_check_fn_rc2008): New prototype. + * intrinsic.c (add_functions): Add complex tan, cosh, sinh, + and tanh. + +2009-07-10 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/39334 + * primary.c (match_kind_param): Return MATCH_NO if the symbol + has no value. + +2008-07-09 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/40629 + * resolve.c (check_host_association): Use the existing + accessible symtree and treat function expressions with + symbols that have procedure flavor. + +2009-07-09 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40646 + * dump-parse-tree.c (show_expr): Renamed 'is_proc_ptr_comp'. + * expr.c (is_proc_ptr_comp): Renamed to 'gfc_is_proc_ptr_comp'. + (gfc_check_pointer_assign): Renamed 'is_proc_ptr_comp'. + (replace_comp,gfc_expr_replace_comp): New functions, analogous + to 'replace_symbol' and 'gfc_expr_replace_symbol', just with components + instead of symbols. + * gfortran.h (gfc_expr_replace_comp): New prototype. + (is_proc_ptr_comp): Renamed to 'gfc_is_proc_ptr_comp'. + * interface.c (compare_actual_formal): Renamed 'is_proc_ptr_comp'. + * match.c (gfc_match_pointer_assignment): Ditto. + * primary.c (gfc_match_varspec): Handle array-valued procedure pointers + and procedure pointer components. Renamed 'is_proc_ptr_comp'. + * resolve.c (resolve_fl_derived): Correctly handle interfaces with + RESULT statement, and handle array-valued procedure pointer components. + (resolve_actual_arglist,resolve_ppc_call,resolve_expr_ppc): Renamed + 'is_proc_ptr_comp'. + * trans-array.c (gfc_walk_function_expr): Ditto. + * trans-decl.c (gfc_get_symbol_decl): Security check for presence of + ns->proc_name. + * trans-expr.c (gfc_conv_procedure_call): Handle array-valued procedure + pointer components. Renamed 'is_proc_ptr_comp'. + (conv_function_val,gfc_trans_arrayfunc_assign): Renamed + 'is_proc_ptr_comp'. + (gfc_get_proc_ptr_comp): Do not modify the argument 'e', but instead + make a copy of it. + * trans-io.c (gfc_trans_transfer): Handle array-valued procedure + pointer components. + +2009-07-09 Tobias Burnus <burnus@net-b.de> + + PR fortran/40604 + * intrinsic.c (gfc_convert_type_warn): Set sym->result. + * trans-expr.c (gfc_conv_procedure_call): Fix -fcheck=pointer + for optional arguments. + +2009-07-08 Tobias Burnus <burnus@net-b.de> + + PR fortran/40675 + * simplify.c (gfc_simplify_sign): Handle signed zero correctly. + * trans-intrinsic.c (gfc_conv_intrinsic_sign): Support + -fno-sign-zero. + * invoke.texi (-fno-sign-zero): Add text regarding SIGN intrinsic. + +2008-07-08 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/40591 + * decl.c (match_procedure_interface): Correct the association + or creation of the interface procedure's symbol. + +2009-07-04 Jakub Jelinek <jakub@redhat.com> + + * trans-intrinsic.c (gfc_conv_intrinsic_minmaxloc): For integer + maxloc initialize limit to -huge-1 rather than just -huge. + +2009-07-04 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40593 + * interface.c (compare_actual_formal): Take care of proc-pointer-valued + functions as actual arguments. + * trans-expr.c (gfc_conv_procedure_call): Ditto. + * resolve.c (resolve_specific_f0): Use the correct ts. + +2009-07-02 Michael Matz <matz@suse.de> + + PR fortran/32131 + * trans-array.c (gfc_conv_descriptor_stride_get): Return + constant one for strides in the first dimension of ALLOCATABLE + arrays. + +2009-06-30 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40594 + * trans-types.c (gfc_get_derived_type): Bugfix, reverting one hunk from + r147206. + +2009-06-29 Tobias Burnus <burnus@net-b.de> + + PR fortran/40580 + * trans-expr.c (gfc_conv_procedure_call): Add -fcheck=pointer check. + * libgfortran.h: Add GFC_RTCHECK_POINTER. + * invoke.texi (-fcheck): Document new pointer option. + * options.c (gfc_handle_runtime_check_option): Handle pointer option. + + * gfortran.texi (C Binding): Improve wording. + * iso-c-binding.def: Remove obsolete comment. + +2009-06-29 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/40551 + * dependency.h : Add second bool* argument to prototype of + gfc_full_array_ref_p. + * dependency.c (gfc_full_array_ref_p): If second argument is + present, return true if last dimension of reference is an + element or has unity stride. + * trans-array.c : Add NULL second argument to references to + gfc_full_array_ref_p. + * trans-expr.c : The same, except for; + (gfc_trans_arrayfunc_assign): Return fail if lhs reference + is not a full array or a contiguous section. + +2009-06-28 Tobias Burnus <burnus@net-b.de> + Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + + PR fortran/34112 + * symbol.c (gfc_add_ext_attribute): New function. + (gfc_get_sym_tree): New argument allow_subroutine. + (gfc_get_symbol,gfc_get_ha_sym_tree,gen_cptr_param,gen_fptr_param + gen_shape_param,generate_isocbinding_symbol): Use it. + * decl.c (find_special): New argument allow_subroutine. + (add_init_expr_to_sym,add_hidden_procptr_result,attr_decl1, + match_procedure_in_type,gfc_match_final_decl): Use it. + (gfc_match_gcc_attributes): New function. + * gfortran.texi (Mixed-Language Programming): New section + "GNU Fortran Compiler Directives". + * gfortran.h (ext_attr_t): New struct. + (symbol_attributes): Use it. + (gfc_add_ext_attribute): New prototype. + (gfc_get_sym_tree): Update pototype. + * expr.c (gfc_check_pointer_assign): Check whether call + convention is the same. + * module.c (import_iso_c_binding_module, create_int_parameter, + use_iso_fortran_env_module): Update gfc_get_sym_tree call. + * scanner.c (skip_gcc_attribute): New function. + (skip_free_comments,skip_fixed_comments): Use it. + (gfc_next_char_literal): Support !GCC$ lines. + * resolve.c (check_host_association): Update + gfc_get_sym_tree call. + * match.c (gfc_match_sym_tree,gfc_match_call): Update + gfc_get_sym_tree call. + * trans-decl.c (add_attributes_to_decl): New function. + (gfc_get_symbol_decl,get_proc_pointer_decl, + gfc_get_extern_function_decl,build_function_decl: Use it. + * match.h (gfc_match_gcc_attributes): Add prototype. + * parse.c (decode_gcc_attribute): New function. + (next_free,next_fixed): Support !GCC$ lines. + * primary.c (match_actual_arg,check_for_implicit_index, + gfc_match_rvalue,gfc_match_rvalue): Update + gfc_get_sym_tree call. + +2009-06-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * gfortran.h: Define HAVE_mpc_pow. + * arith.c (complex_reciprocal, complex_pow): If HAVE_mpc_pow, + don't define these functions. + (arith_power): If HAVE_mpc_pow, use mpc_pow. + +2009-06-26 Janus Weil <janus@gcc.gnu.org> + + PR fortran/39997 + PR fortran/40541 + * decl.c (add_hidden_procptr_result): Copy the typespec to the hidden + result. + * expr.c (gfc_check_pointer_assign): Enable interface check for + procedure pointer assignments where the rhs is a function returning a + procedure pointer. + * resolve.c (resolve_symbol): If an external procedure with unspecified + return type can not be implicitly typed, it must be a subroutine. + +2009-06-24 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40427 + * gfortran.h (gfc_component): New member 'formal_ns'. + (gfc_copy_formal_args_ppc,void gfc_ppc_use): New. + * interface.c (gfc_ppc_use): New function, analogous to + gfc_procedure_use, but for procedure pointer components. + * module.c (MOD_VERSION): Bump module version. + (mio_component): Treat formal arguments. + (mio_formal_arglist): Changed argument from gfc_symbol to + gfc_formal_arglist. + (mio_symbol): Changed argument of mio_formal_arglist. + * resolve.c (resolve_ppc_call,resolve_expr_ppc): Call gfc_ppc_use, + to check actual arguments and treat formal args correctly. + (resolve_fl_derived): Copy formal args of procedure pointer components + from their interface. + * symbol.c (gfc_copy_formal_args_ppc): New function, analogous to + gfc_copy_formal_args, but for procedure pointer components. + +2009-06-22 Janus Weil <janus@gcc.gnu.org> + + PR fortran/37254 + PR fortran/39850 + * interface.c (compare_parameter): Set implicit type for function + actual arguments with BT_UNKNOWN. + +2009-06-22 Tobias Burnus <burnus@net-b.de> + + PR fortran/40472 + PR fortran/50520 + * simplify.c (gfc_simplify_spread): Fix the case that source= + is a scalar. + +2009-06-22 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/40443 + * interface.c (gfc_search_interface): Hold back a match to an + elementary procedure until all other possibilities are + exhausted. + +2009-06-22 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/40472 + * simplify.c (gfc_simplify_spread): Restrict the result size to + the limit for an array constructor. + +2009-06-21 Janus Weil <janus@gcc.gnu.org> + + PR fortran/39850 + * interface.c (gfc_compare_interfaces): Take care of implicit typing + when checking the function attribute. Plus another bugfix. + (compare_parameter): Set attr.function and attr.subroutine according + to the usage of a procedure as actual argument. + +2009-06-20 Tobias Burnus <burnus@net-b.de> + + PR fortran/40452 + * trans-decl.c (add_argument_checking): Disable bounds check + for allowed argument storage association. + +2009-06-19 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/40440 + * trans-expr.c (gfc_conv_procedure_call): Do not deallocate + allocatable components if the argument is a pointer. + +2009-06-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * gfortran.h (gfc_expr): Use mpc_t to represent complex numbers. + + * arith.c, dump-parse-tree.c, expr.c, module.c, resolve.c, + simplify.c, target-memory.c, target-memory.h, trans-const.c, + trans-expr.c: Convert to mpc_t throughout. + +2009-06-19 Ian Lance Taylor <iant@google.com> + + * cpp.c (struct gfc_cpp_option_data): Give this struct, used for + the global variable gfc_cpp_option, a name. + +2009-06-19 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40450 + * trans-expr.c (gfc_conv_procedure_call): Only add an extra addr_expr + to a procedure pointer actual argument, if it is not itself a + dummy arg. + +2009-06-18 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40451 + * resolve.c (resolve_contained_fntype): Prevent implicit typing for + procedures with explicit interface. + * symbol.c (gfc_check_function_type): Ditto. + +2009-06-16 Ian Lance Taylor <iant@google.com> + + * decl.c (build_struct): Rewrite loop over constructor elements. + +2009-06-16 Janus Weil <janus@gcc.gnu.org> + + PR fortran/36947 + PR fortran/40039 + * expr.c (gfc_check_pointer_assign): Call 'gfc_compare_interfaces' with + error message. + * gfortran.h (gfc_compare_interfaces): Additional argument. + * interface.c (operator_correspondence): Removed. + (gfc_compare_interfaces): Additional argument to return error message. + Directly use the code from 'operator_correspondence' instead of calling + the function. Check for OPTIONAL. Some rearrangements. + (check_interface1): Call 'gfc_compare_interfaces' without error message. + (compare_parameter): Call 'gfc_compare_interfaces' with error message. + * resolve.c (check_generic_tbp_ambiguity): Call 'gfc_compare_interfaces' + without error message. + +2009-06-16 Tobias Burnus <burnus@net-b.de> + + PR fortran/40383 + * trans-decl.c (create_function_arglist): Copy formal charlist to + have a proper passed_length for -fcheck=bounds. + +2009-06-12 Steven G. Kargl <kargls@comcast.net> + + * arith.c (gfc_enum_initializer): Move function ... + * decl.c: ... here. Remove gfc_ prefix and make static. + (enumerator_decl): Update function call. + * gfortran.h: Remove gfc_enum_initializer prototype. + +2009-06-12 Aldy Hernandez <aldyh@redhat.com> + + * trans-array.c (gfc_trans_allocate_array_storage): Pass + location on down. + (gfc_trans_array_constructor_value): Same. + (gfc_trans_scalarized_loop_end): Same. + (gfc_conv_ss_startstride): Same. + (gfc_trans_g77_array): Same. + (gfc_trans_dummy_array_bias): Same. + (gfc_conv_array_parameter): Same. + (structure_alloc_comps): Same. + * trans-expr.c (gfc_conv_function_call): Same. + (fill_with_spaces): Same. + (gfc_trans_string_copy): Same. + (gfc_trans_scalar_assign): Same. + * trans-stmt.c (gfc_trans_goto): Same. + (gfc_trans_if_1): Same. + (gfc_trans_simple_do): Same. + (gfc_trans_do): Same. + (gfc_trans_do_while): Same. + (gfc_trans_logical_select): Same. + (gfc_trans_select): Same. + (gfc_trans_forall_loop): Same. + (gfc_trans_nested_forall_loop): Same. + (generate_loop_for_temp_to_lhs): Same. + (generate_loop_for_rhs_to_temp): Same. + (gfc_trans_forall_1): Same. + (gfc_trans_where_assign): Same. + (gfc_trans_where_3): Same. + (gfc_trans_allocate): Same. + * trans.c (gfc_finish_block): Same. + (gfc_trans_runtime_check): Same. + (gfc_call_malloc): Same. + (gfc_allocate_with_status): Same. + (gfc_call_free): Same. + (gfc_deallocate_with_status): Same. + (gfc_call_realloc): Same. + (gfc_trans_code): Same. + * trans-decl.c (gfc_init_default_dt): Same. + (gfc_generate_constructors): Same. + * trans-io.c (gfc_trans_io_runtime_check): Same. + * trans-intrinsic.c (gfc_conv_intrinsic_ctime): Same. + (gfc_conv_intrinsic_fdate): Same. + (gfc_conv_intrinsic_ttynam): Same. + (gfc_conv_intrinsic_minmax): Same. + (gfc_conv_intrinsic_minmax_char): Same. + (gfc_conv_intrinsic_anyall): Same. + (gfc_conv_intrinsic_count): Same. + (gfc_conv_intrinsic_arith): Same. + (gfc_conv_intrinsic_minmaxloc): Same. + (gfc_conv_intrinsic_minmaxval): Same. + (gfc_conv_intrinsic_rrspacing): Same. + (gfc_conv_intrinsic_array_transfer): Same. + (gfc_conv_intrinsic_trim): Same. + (gfc_conv_intrinsic_repeat): Same. + +2009-06-12 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40176 + * resolve.c (resolve_symbol): Additional error check, preventing an + infinite loop. + +2009-06-11 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/40402 + * resolve.c (next_data_value): It is an error if the value is + not constant. + +2009-06-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + + PR fortran/38718 + * intrinsic.c (add_functions): Add simplifiers for ISNAN, + IS_IOSTAT_END and IS_IOSTAT_EOR. + * intrinsic.h (gfc_simplify_is_iostat_end, gfc_simplify_is_iostat_eor, + gfc_simplify_isnan): New prototypes. + * intrinsic.c (gfc_simplify_is_iostat_end, gfc_simplify_is_iostat_eor, + gfc_simplify_isnan): New functions. + +2009-06-11 Jakub Jelinek <jakub@redhat.com> + + * interface.c (fold_unary): Rename to... + (fold_unary_intrinsic): ... this. + (gfc_extend_expr): Adjust caller. + (gfc_match_generic_spec): Likewise. Initialize *op to INTRINSIC_NONE + to avoid warnings. + * expr.c (gfc_simplify_expr): Initialize start and end before calling + gfc_extract_int. + +2009-06-10 Dave Korn <dave.korn.cygwin@gmail.com> + + * trans-decl.c (create_main_function): Don't build main decl twice. + +2009-06-09 Tobias Burnus <burnus@net-b.de> + + * trans-decl.c (gfc_generate_function_code): Use gfc_option.rtcheck + instead of flag_bounds_check. + * intrinsic.texi (ISO_FORTRAN_ENV): Document INT{8,16,32,64} and + REAL{32,64,128}. + +2009-06-08 Paul Thomas <pault@gcc.gnu.org> + + * trans-array.h : Replace prototypes for + gfc_conv_descriptor_offset, gfc_conv_descriptor_stride, + gfc_conv_descriptor_lbound, gfc_conv_descriptor_ubound with new + prototypes of the same names with _get or _set appended. + * trans-array.c : Make the originals of the above static and + new functions for the _get and _set functions. Update all the + references to these descriptor access functions. + * trans-expr.c : Update references to the above descriptor + access functions. + * trans-intrinsic.c : The same. + * trans-openmp.c : The same. + * trans-stmt.c : The same. + +2009-06-08 Alexandre Oliva <aoliva@redhat.com> + + * options.c (gfc_post_options): Disable dump_parse_tree + during -fcompare-debug-second. + +2009-06-07 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR fortran/40008 + * gfortran.h (gfc_open): Add newunit expression to structure. + * io.c (io_tag): Add new unit tag and fix whitespace. + (match_open_element): Add matching for newunit. + (gfc_free_open): Free the newunit expression. + (gfc_resolve_open): Add newunit to resolution and check constraints. + (gfc_resolve_close): Add check for non-negative unit. + (gfc_resolve_filepos): Likewise. + (gfc_resolve_dt): Likewise. + * trans-io.c (set_parameter_value): Build runtime checks for unit + numbers within range of kind=4 integer. (gfc_trans_open) Set the + newunit parameter. + * ioparm.def (IOPARM): Define the newunit parameter as a pointer + to GFC_INTEGER_4, pint4. + +2009-06-07 Daniel Franke <franke.daniel@gmail.com> + + PR fortran/25104 + PR fortran/29962 + * array.c (gfc_append_constructor): Added NULL-check. + * check.c (gfc_check_spread): Check DIM. + (gfc_check_unpack): Check that the ARRAY arguments provides enough + values for MASK. + * intrinsic.h (gfc_simplify_spread): New prototype. + (gfc_simplify_unpack): Likewise. + * intrinsic.c (add_functions): Added new simplifier callbacks. + * simplify.c (gfc_simplify_spread): New. + (gfc_simplify_unpack): New. + * expr.c (check_transformational): Allow additional transformational + intrinsics in initialization expression. + +2009-06-07 Daniel Franke <franke.daniel@gmail.com> + + PR fortran/25104 + PR fortran/29962 + * check.c (gfc_check_all_any): Check rank of DIM. + (gfc_check_count): Likewise. + * intrinsic.h (gfc_simplify_all): New prototype. + (gfc_simplify_any): Likewise. + (gfc_simplify_count): Likewise. + (gfc_simplify_sum): Likewise. + (gfc_simplify_product): Likewise. + * intrinsic.c (add_functions): Added new simplifier callbacks. + * simplify.c (transformational_result): New. + (simplify_transformation_to_scalar): New. + (simplify_transformation_to_array): New. + (gfc_count): New. + (gfc_simplify_all): New. + (gfc_simplify_any): New. + (gfc_simplify_count): New. + (gfc_simplify_sum): New. + (gfc_simplify_product): New. + * expr.c (check_transformational): Allow additional transformational + intrinsics in initialization expression. + +2009-06-07 Daniel Franke <franke.daniel@gmail.com> + + * check.c (dim_rank_check): Return SUCCESS if DIM=NULL. + (gfc_check_lbound): Removed (now) redundant check for DIM=NULL. + (gfc_check_minloc_maxloc): Likewise. + (check_reduction): Likewise. + (gfc_check_size): Likewise. + (gfc_check_ubound): Likewise. + (gfc_check_cshift): Added missing shape-conformance checks. + (gfc_check_eoshift): Likewise. + * gfortran.h (gfc_check_conformance): Modified prototype to printf-style. + * expr.c (gfc_check_conformance): Accept error-message chunks in + printf-style. Changed all callers. + + +2009-06-07 Daniel Franke <franke.daniel@gmail.com> + + PR fortran/25104 + PR fortran/29962 + * intrinsic.h (gfc_simplify_dot_product): New prototype. + (gfc_simplify_matmul): Likewise. + (gfc_simplify_transpose): Likewise. + * intrinsic.c (add_functions): Added new simplifier callbacks. + * simplify.c (init_result_expr): New. + (compute_dot_product): New. + (gfc_simplify_dot_product): New. + (gfc_simplify_matmul): New. + (gfc_simplify_transpose): New. + * expr.c (check_transformational): Allow transformational intrinsics + with simplifier in initialization expression. + +2009-06-06 Daniel Franke <franke.daniel@gmail.com> + + PR fortran/37203 + * simplify.c (gfc_simplify_reshape): Fixed reshaping of empty arrays + without padding. + +2009-06-06 Daniel Franke <franke.daniel@gmail.com> + + PR fortran/32890 + * intrinsic.h (gfc_simplify_pack): New prototype. + * intrinsic.c (add_functions): Added + simplifier-callback to PACK. + * simplify.c (is_constant_array_expr): Moved + to beginning of file. + (gfc_simplify_pack): New. + * check.c (gfc_check_pack): Check that VECTOR has enough elements. + Added safeguards for empty arrays. + +2009-06-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * simplify.c (call_mpc_func): Use mpc_realref/mpc_imagref + instead of MPC_RE/MPC_IM. + +2009-06-05 Alexandre Oliva <aoliva@redhat.com> + + * trans-decl.c (gfc_build_qualified_array): Don't skip generation + of range types. + * trans.h (struct lang_type): Add base_decls. + (GFC_TYPE_ARRAY_BASE_DECL): New. + * trans-types.c (gfc_get_array_type_bounds): Initialize base decls + proactively and excessively. + (gfc_get_array_descr_info): Use existing base decls if available. + +2009-06-04 Daniel Franke <franke.daniel@gmail.com> + + PR fortran/37203 + * check.c (gfc_check_reshape): Additional checks for the + SHAPE and ORDER arguments. + * simplify.c (gfc_simplify_reshape): Converted argument checks + to asserts. + +2009-06-03 Tobias Burnus <burnus@net-b.de> + + * gfortran.texi: Add mixed-language programming, mention + varying string lengths, some clean up of introduction parts. + * intrinsic.texi (instrinsic modules): Create @menu for subsections. + (ISO_C_BINDING): Support ISOCBINDING_INT_FAST128_T. + * libgfortran.h: Comment to rember to keep gfortran.texi in sync. + * iso-c-binding.def: Support ISOCBINDING_INT_FAST128_T. + +2009-06-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + Tobias Burnus <burnus@net-b.de> + + * iso-c-binding.def: Use INTMAX_TYPE instead of intmax_type_node. + * trans-types.c (init_c_interop_kinds): Remove intmax_type_node. + +2009-06-03 Alexandre Oliva <aoliva@redhat.com> + + * module.c (mio_f2k_derived): Initialize cur. + +2009-06-01 Tobias Burnus <burnus@net-b.de> + + PR fortran/40309 + * trans-decl.c (gfc_sym_identifier): Use "MAIN__" for PROGRAM "main". + (create_main_function): Set main_identifier_node. + +2009-05-29 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + + PR fortran/40019 + * trans-types.c (gfc_build_uint_type): Make nonstatic. + * trans.h (gfor_fndecl_clz128, gfor_fndecl_ctz128): New prototypes. + * trans-types.h (gfc_build_uint_type): Add prototype. + * trans-decl.c (gfc_build_intrinsic_function_decls): Build + gfor_fndecl_clz128 and gfor_fndecl_ctz128. + * trans-intrinsic.c (gfc_conv_intrinsic_leadz, + gfc_conv_intrinsic_trailz): Call the right builtins or library + functions, and cast arguments to unsigned types first. + * simplify.c (gfc_simplify_leadz): Deal with negative arguments. + +2009-05-27 Ian Lance Taylor <iant@google.com> + + * Make-lang.in (gfortran$(exeext)): Change $(COMPILER) to + $(LINKER). + (f951$(exeext)): Likewise. + +2009-05-27 Tobias Burnus <burnus@net-b.de> + + PR fortran/40270 + * trans-decl.c (create_main_function): Mark MAIN__ and + argc/argv as TREE_USED and push/pop function_decl context + if needed. + +2009-05-26 Tobias Burnus <burnus@net-b.de> + + PR fortran/39178 + * gfortranspec.c (lang_specific_driver): Stop linking + libgfortranbegin. + * trans-decl.c (gfc_build_builtin_function_decls): Stop + making MAIN__ publicly visible. + (gfc_build_builtin_function_decls): Add + gfor_fndecl_set_args. + (create_main_function) New function. + (gfc_generate_function_code): Use it. + +2009-05-26 Tobias Burnus <burnus@net-b.de> + + PR fortran/40246 + * match.c (gfc_match_nullify): NULLify freed pointer. + +2009-05-26 Ian Lance Taylor <iant@google.com> + + * Make-lang.in (gfortranspec.o): Use $(COMPILER). + (gfortran$(exeext), f951$(exeext), fortran/cpp.o): Likewise. + +2009-05-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * gfortran.h (GFC_MPC_RND_MODE): New. + * simplify.c (call_mpc_func): New helper function. + (gfc_simplify_cos, gfc_simplify_exp, gfc_simplify_log, + gfc_simplify_sin, gfc_simplify_sqrt): Add MPC support. + +2009-05-25 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40176 + * primary.c (gfc_match_varspec): Handle procedure pointer components + with array return value. + * resolve.c (resolve_expr_ppc): Ditto. + (resolve_symbol): Make sure the interface of a procedure pointer has + been resolved. + * trans-array.c (gfc_walk_function_expr): Handle procedure pointer + components with array return value. + * trans-expr.c (gfc_conv_component_ref,gfc_conv_procedure_call, + gfc_trans_arrayfunc_assign): Ditto. + (gfc_trans_pointer_assignment): Handle procedure pointer assignments, + where the rhs is a dummy argument. + * trans-types.c (gfc_get_ppc_type,gfc_get_derived_type): Handle + procedure pointer components with array return value. + +2009-05-24 Jerry DeLisle <jvdelisle@gcc.gnu.org> + Dominique Dhumieres + + PR fortran/35732 + PR fortran/39872 + * trans-array.c (gfc_conv_ss_startstride): Add one to index. + +2009-05-22 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + + PR fortran/40195 + * module.c (read_md5_from_module_file): Close file before returning. + +2009-05-18 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40164 + * primary.c (gfc_match_rvalue): Handle procedure pointer components in + arrays. + * resolve.c (resolve_ppc_call,resolve_expr_ppc): Resolve component and + array references. + (resolve_fl_derived): Procedure pointer components are not required to + have constant array bounds in their return value. + +2009-05-18 Janus Weil <janus@gcc.gnu.org> + + * intrinsic.c (add_sym): Fix my last commit (r147655), + which broke bootstrap. + +2009-05-18 Richard Guenther <rguenther@suse.de> + + PR fortran/40168 + * trans-expr.c (gfc_trans_zero_assign): For local array + destinations use an assignment from an empty constructor. + +2009-05-18 Janus Weil <janus@gcc.gnu.org> + + PR fortran/36947 + PR fortran/40039 + * expr.c (gfc_check_pointer_assign): Check intents when comparing + interfaces. + * gfortran.h (typedef struct gfc_intrinsic_arg): Add 'intent' member. + (gfc_compare_interfaces): Additional argument. + * interface.c (operator_correspondence): Add check for equality of + intents, and new argument 'intent_check'. + (gfc_compare_interfaces): New argument 'intent_check', which is passed + on to operator_correspondence. + (check_interface1): Don't check intents when comparing interfaces. + (compare_parameter): Do check intents when comparing interfaces. + * intrinsic.c (add_sym): Add intents for arguments of intrinsic + procedures. + (add_sym_1,add_sym_1s,add_sym_1m,add_sym_2,add_sym_2s,add_sym_3, + add_sym_3ml,add_sym_3red,add_sym_3s,add_sym_4): Use INTENT_IN by + default. + (add_sym_1_intent,add_sym_1s_intent,add_sym_2s_intent,add_sym_3s_intent) + : New functions to add intrinsic symbols, specifying custom intents. + (add_sym_4s,add_sym_5s): Add new arguments to specify intents. + (add_functions,add_subroutines): Add intents for various intrinsics. + * resolve.c (check_generic_tbp_ambiguity): Don't check intents when + comparing interfaces. + * symbol.c (gfc_copy_formal_args_intr): Copy intent. + +2009-05-17 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + + * iso-fortran-env.def: Define INT8, INT16, INT32, INT64, REAL32, + REAL64 and REAL128. + * gfortran.h (gfc_get_int_kind_from_width_isofortranenv, + gfc_get_real_kind_from_width_isofortranenv): New prototypes. + * iso-c-binding.def: Update definitions for the INT*_T, + INT_LEAST*_T and INT_FAST*_T named parameters. + * trans-types.c (get_typenode_from_name, get_int_kind_from_name, + gfc_get_real_kind_from_width_isofortranenv): New functions. + +2009-05-17 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + + PR fortran/36260 + * intrinsic.c (add_functions, add_subroutines): Fix argument + names and wrap long lines. + * intrinsic.texi: Fix documentation and argument names of + LOG_GAMMA, DATAN2, DBESJN, DTIME, ETIME, FSTAT, STAT, LSTAT, + GET_COMMAND, IDATE, LTIME, MOVE_ALLOC, NINT, OR, PRODUCT, + SUM, RAND, RANDOM_SEED, REAL, SELECTED_INT_KIND, + SELECTED_REAL_KIND and XOR. + +2009-05-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + + PR fortran/33197 + * intrinsic.c (add_functions): Use ERFC_SCALED simplification. + * intrinsic.h (gfc_simplify_erfc_scaled): New prototype. + * simplify.c (fullprec_erfc_scaled, asympt_erfc_scaled, + gfc_simplify_erfc_scaled): New functions. + +2009-05-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + + PR fortran/31243 + * resolve.c (resolve_substring): Don't allow too large substring + indexes. + (gfc_resolve_substring_charlen): Fix typo. + (gfc_resolve_character_operator): Fix typo. + (resolve_charlen): Catch unreasonably large string lengths. + * simplify.c (gfc_simplify_len): Don't error out on LEN + range checks. + +2009-05-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + + PR fortran/36031 + * decl.c (set_enum_kind): Use global short-enums flag. + * gfortran.h (gfc_option_t): Remove short_enums flag. + * lang.opt (-fshort-enums): Refer to C documentation. + * options.c (gfc_init_options, gfc_handle_option): Use global + short-enums flag. + +2009-05-15 Tobias Burnus <burnus@net-b.de> + + PR fortran/39352 + * f95-lang.c: Add gfc_maybe_initialize_eh. + * gfortran.h: Add gfc_maybe_initialize_eh prototype. + * Make-lang.in: Add new .h dendencies for f95-lang.c + * openmp.c (resolve_omp_do): Call gfc_maybe_initialize_eh. + * misc.c (gfc_free): Avoid #define trickery for free. + +2009-05-14 Steven G. Kargl <kargl@gcc.gnu.org> + + * dump-parse-tree.c (show_code_node): Add ERRMSG to the dumping + of allocate and deallocate statements. + +2009-05-14 Ian Lance Taylor <iant@google.com> + + * decl.c (match_attr_spec): Change d to unsigned int. + * dump-parse-tree.c (show_namespace): Change op to int. Add cast. + * interface.c (gfc_check_interfaces): Change i to int. Add casts. + * module.c (read_module): Change i to int. Add cast. + (write_module): Change i to int. + * symbol.c (gfc_get_namespace): Change in to int. + (gfc_free_namespace): Change i to int. + * trans-io.c (gfc_build_io_library_fndecls): Change ptype to + unsigned int. Add cast. + * trans-types.c (gfc_init_kinds): Change mode to unsigned int. + Add casts. + +2009-05-14 Daniel Kraft <d@domob.eu> + + PR fortran/40045 + * dump-parse-tree.c (show_typebound): Fix missing adaption to new + type-bound procedure storage structure. + +2009-05-14 Janus Weil <janus@gcc.gnu.org> + + PR fortran/39996 + * decl.c (gfc_match_function_decl): Use gfc_add_type. + * symbol.c (gfc_add_type): Better checking for duplicate types in + function declarations. And: Always give an error for duplicte types, + not just a warning with -std=gnu. + +2009-05-14 Jakub Jelinek <jakub@redhat.com> + + PR fortran/39865 + * io.c (resolve_tag_format): CHARACTER array in FMT= argument + isn't an extension. Reject non-CHARACTER array element of + assumed shape or pointer or assumed size array. + * trans-array.c (array_parameter_size): New function. + (gfc_conv_array_parameter): Add size argument. Call + array_parameter_size if it is non-NULL. + * trans-array.h (gfc_conv_array_parameter): Adjust prototype. + * trans-expr.c (gfc_conv_function_call, gfc_trans_arrayfunc_assign): + Adjust callers. + * trans-intrinsic.c (gfc_conv_intrinsic_loc): Likewise. + * trans-io.c (gfc_convert_array_to_string): Rewritten. + +2009-05-13 Steven G. Kargl <kargl@gcc.gnu.org> + + * gfortran.h (gfc_code): Rename struct member expr to expr1. + * openmp.c (resolve_omp_atomic): Update expr to expr1. + * interface.c (gfc_extend_assign): Ditto. + * trans-expr.c (gfc_conv_expr_reference, gfc_trans_assignment, + gfc_trans_init_assign): Ditto. + * dump-parse-tree.c (show_code_node): Ditto. + * trans-openmp.c (gfc_trans_omp_atomic): Ditto. + * trans-stmt.c ( gfc_trans_label_assign, gfc_trans_goto, gfc_trans_call, + gfc_trans_return, gfc_trans_pause, gfc_trans_stop, gfc_trans_if_1, + gfc_trans_arithmetic_if, gfc_trans_do_while, gfc_trans_integer_select, + gfc_trans_logical_select, gfc_trans_character_select + forall_make_variable_temp, check_forall_dependencies + gfc_trans_forall_1, gfc_trans_where_2, gfc_trans_where_3 + gfc_trans_where, gfc_trans_allocate, gfc_trans_deallocate): Ditto. + * io.c (match_io_element, gfc_match_inquire): Ditto. + * resolve.c (resolve_typebound_call, resolve_ppc_call, + resolve_allocate_expr, resolve_allocate_deallocate, resolve_select, + resolve_transfer, resolve_where, gfc_resolve_assign_in_forall, + gfc_resolve_blocks, resolve_code, build_init_assign): Ditto. + * st.c (gfc_free_statement): Ditto. + * match.c (gfc_match_assignment, gfc_match_pointer_assignment, + match_arithmetic_if, gfc_match_if, gfc_match_elseif + gfc_match_stopcode, gfc_match_assign, gfc_match_goto, + gfc_match_nullify, match_typebound_call, gfc_match_call + gfc_match_select, match_simple_where, gfc_match_where + gfc_match_elsewhere, match_simple_forall, gfc_match_forall): Ditto. + * trans-io.c (gfc_trans_transfer): Ditto. + * parse.c (parse_where_block, parse_if_block): Ditto. + +2009-05-13 Steven G. Kargl <kargl@gcc.gnu.org> + + * gfortran.h (gfc_code): Rename struct member label to label1. + * dump-parse-tree.c (show_code_node): Update symbol. + * trans-stmt.c (gfc_trans_label_assign, gfc_trans_goto, + gfc_trans_arithmetic_if): Ditto. + * resolve.c (gfc_resolve_blocks, resolve_code): Ditto. + * match.c (match_arithmetic_if, gfc_match_if, gfc_reference_st_label, + gfc_match_assign, gfc_match_goto): Ditto. + * parse.c (parse_do_block): Ditto. + +2009-05-13 Tobias Burnus <burnus@net-b.de> + + PR fortran/34153 + * gfortran.h (gfc_exec_op): Add EXEC_END_PROCEDURE. + * dump-parse-tree.c (show_code_node): Use EXEC_END_PROCEDURE. + * trans.c (gfc_trans_code): Ditto. + * resolve.c (resolve_code): Ditto. + * st.c (gfc_free_statement): Ditto. + * parse.c (accept_statement): Ditto. + +2009-05-12 Tobias Burnus <burnus@net-b.de> + + PR fortran/40110 + * decl.c (gfc_match_kind_spec): Turn C kind error into a warning. + +2009-05-11 Steve Ellcey <sje@cup.hp.com> + + * resolve.c (check_host_association): Initialize tail. + +2009-05-11 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40089 + * resolve.c (resolve_fl_derived): Only return FAILURE if + gfc_notify_std fails. + +2009-05-10 Ian Lance Taylor <iant@google.com> + + * gfortran.h (enum gfc_omp_sched_kind): New enum, broken out of + gfc_omp_clauses. + (enum gfc_omp_default_sharing): Likewise. + * module.c (enum gfc_rsym_state): New enum, broken out of + pointer_info. + (enum gfc_wsym_state): Likewise. + * parse.c (enum state_order): New enum, broken out of st_state. + +2009-05-10 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/40018 + * trans-array.c (gfc_trans_array_constructor_value): Fold + convert numeric constants. + (gfc_build_constant_array_constructor): The same. + +2009-05-10 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/38863 + * trans-expr.c (gfc_conv_operator_assign): Remove function. + * trans.h : Remove prototype for gfc_conv_operator_assign. + * trans-stmt.c (gfc_conv_elemental_dependencies): Initialize + derivde types with intent(out). + (gfc_trans_call): Add mask, count1 and invert arguments. Add + code to use mask for WHERE assignments. + (gfc_trans_forall_1): Use new arguments for gfc_trans_call. + (gfc_trans_where_assign): The gfc_symbol argument is replaced + by the corresponding code. If this has a resolved_sym, then + gfc_trans_call is called. The call to gfc_conv_operator_assign + is removed. + (gfc_trans_where_2): Change the last argument in the call to + gfc_trans_where_assign. + * trans-stmt.h : Modify prototype for gfc_trans_call. + * trans.c (gfc_trans_code): Use new args for gfc_trans_call. + +2009-05-08 Janus Weil <janus@gcc.gnu.org> + + PR fortran/39876 + * intrinsic.c (gfc_is_intrinsic): Do not add the EXTERNAL attribute if + the symbol is a module procedure. + +2009-05-08 Tobias Burnus <burnus@net-b.de> + + * invoke.texi: Add do/recursion to the -fcheck= summary. + +2009-05-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + + PR fortran/38830 + * gfortran.texi: Document that we don't support variable FORMAT + expressions. + +2009-05-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + + PR fortran/39576 + * error.c (error_print): Add missing break statement. + +2009-05-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + + PR fortran/36382 + * invoke.texi: Document that -fdollar-ok does not allow $ to be + used in IMPLICIT statement. + +2009-05-06 Janus Weil <janus@gcc.gnu.org> + Paul Thomas <pault@gcc.gnu.org> + + PR fortran/39630 + * decl.c (match_procedure_interface): New function to match the + interface for a PROCEDURE statement. + (match_procedure_decl): Call match_procedure_interface. + (match_ppc_decl): New function to match the declaration of a + procedure pointer component. + (gfc_match_procedure): Call match_ppc_decl. + (match_binding_attributes): Add new argument 'ppc' and handle the + POINTER attribute for procedure pointer components. + (match_procedure_in_type,gfc_match_generic): Added new argument to + match_binding_attributes. + * dump-parse-tree.c (show_expr,show_components,show_code_node): Handle + procedure pointer components. + * expr.c (free_expr0,gfc_copy_expr,gfc_simplify_expr): Handle EXPR_PPC. + (gfc_check_pointer_assign): Handle procedure pointer components, but no + full checking yet. + (is_proc_ptr_comp): New function to determine if an expression is a + procedure pointer component. + * gfortran.h (expr_t): Add EXPR_PPC. + (symbol_attribute): Add new member 'proc_pointer_comp'. + (gfc_component): Add new member 'formal'. + (gfc_exec_op): Add EXEC_CALL_PPC. + (gfc_get_default_type): Changed first argument. + (is_proc_ptr_comp): Add prototype. + (gfc_match_varspec): Add new argument. + * interface.c (compare_actual_formal): Handle procedure pointer + components. + * match.c (gfc_match_pointer_assignment,match_typebound_call): Handle + procedure pointer components. + * module.c (mio_expr): Handle EXPR_PPC. + * parse.c (parse_derived): Handle procedure pointer components. + * primary.c (gfc_match_varspec): Add new argument 'ppc_arg' and handle + procedure pointer components. + (gfc_variable_attr): Handle procedure pointer components. + (gfc_match_rvalue): Added new argument to gfc_match_varspec and changed + first argument of gfc_get_default_type. + (match_variable): Added new argument to gfc_match_varspec. + * resolve.c (resolve_entries,set_type,resolve_fl_parameter): Changed + first argument of gfc_get_default_type. + (resolve_structure_cons,resolve_actual_arglist): Handle procedure + pointer components. + (resolve_ppc_call): New function to resolve a call to a procedure + pointer component (subroutine). + (resolve_expr_ppc): New function to resolve a call to a procedure + pointer component (function). + (gfc_resolve_expr): Handle EXPR_PPC. + (resolve_code): Handle EXEC_CALL_PPC. + (resolve_fl_derived): Copy the interface for a procedure pointer + component. + (resolve_symbol): Fix overlong line. + * st.c (gfc_free_statement): Handle EXEC_CALL_PPC. + * symbol.c (gfc_get_default_type): Changed first argument. + (gfc_set_default_type): Changed first argument of gfc_get_default_type. + (gfc_add_component): Initialize ts.type to BT_UNKNOWN. + * trans.h (gfc_conv_function_call): Renamed. + * trans.c (gfc_trans_code): Handle EXEC_CALL_PPC. + * trans-expr.c (gfc_conv_component_ref): Ditto. + (gfc_conv_function_val): Rename to 'conv_function_val', add new + argument 'expr' and handle procedure pointer components. + (gfc_conv_operator_assign): Renamed gfc_conv_function_val. + (gfc_apply_interface_mapping_to_expr): Handle EXPR_PPC. + (gfc_conv_function_call): Rename to 'gfc_conv_procedure_call', add new + argument 'expr' and handle procedure pointer components. + (gfc_get_proc_ptr_comp): New function to get the backend decl for a + procedure pointer component. + (gfc_conv_function_expr): Renamed gfc_conv_function_call. + (gfc_conv_structure): Handle procedure pointer components. + * trans-intrinsic.c (gfc_conv_intrinsic_funcall, + conv_generic_with_optional_char_arg): Renamed gfc_conv_function_call. + * trans-stmt.h (gfc_get_proc_ptr_comp): Add prototype. + * trans-stmt.c (gfc_trans_call): Renamed gfc_conv_function_call. + * trans-types.h (gfc_get_ppc_type): Add prototype. + * trans-types.c (gfc_get_ppc_type): New function to build a tree node + for a procedure pointer component. + (gfc_get_derived_type): Handle procedure pointer components. + +2009-05-06 Tobias Burnus <burnus@net-b.de> + + PR fortran/40041 + * resolve.c (resolve_symbol): Print no warning for implicitly + typed intrinsic functions. + +2009-05-05 Janus Weil <janus@gcc.gnu.org> + + PR fortran/39998 + * expr.c (gfc_check_pointer_assign): Check for statement functions and + internal procedures in procedure pointer assignments. + +2009-04-28 Janus Weil <janus@gcc.gnu.org> + + PR fortran/39946 + * resolve.c (resolve_symbol): Correctly copy the interface of a + PROCEDURE statement if the interface involves a RESULT variable. + +2009-04-28 Janus Weil <janus@gcc.gnu.org> + + PR fortran/39930 + PR fortran/39931 + * expr.c (gfc_check_pointer_assign): Correctly detect if the left hand + side is a pointer. + * parse.c (gfc_fixup_sibling_symbols): Don't check for ambiguity. + +2009-04-28 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/39879 + * trans_expr.c (gfc_conv_procedure_call): Deep copy a derived + type parentheses argument if it is a variable with allocatable + components. + +2009-04-27 Ian Lance Taylor <iant@google.com> + + * trans-intrinsic.c (DEFINE_MATH_BUILTIN): Add casts to enum + type. + * trans-io.c (st_parameter_field): Add casts to enum type. + +2009-04-26 Steven G. Kargl <kargl@gcc.gnu.org> + + PR fortran/39893 + fortran/data.c (gfc_assign_data_value): If the lvalue is an + assumed character length entity in a data statement, then + return FAILURE to prevent segmentation fault. + +2009-04-26 Jakub Jelinek <jakub@redhat.com> + + * trans-decl.c: Include pointer-set.h. + (nonlocal_dummy_decl_pset, tree nonlocal_dummy_decls): New variables. + (gfc_nonlocal_dummy_array_decl): New function. + (gfc_get_symbol_decl): Call it for non-local dummy args with saved + descriptor. + (gfc_get_symbol_decl): Set DECL_BY_REFERENCE when needed. + (gfc_generate_function_code): Initialize nonlocal_dummy_decl{s,_pset}, + chain it to outermost block's vars, destroy it afterwards. + * Make-lang.in (trans-decl.o): Depend on pointer-set.h. + +2009-04-25 Janus Weil <janus@gcc.gnu.org> + + PR fortran/39688 + * decl.c (gfc_match_import): Use 'sym->name' instead of 'name'. + They differ if the symbol has been use-renamed. + +2009-04-24 Ian Lance Taylor <iant@google.com> + + * gfortran.h (enum gfc_symbol_type): New named enum type, broken + out of struct gfc_symbol. + (struct gfc_symbol): Use enum gfc_symbol_type. + (enum gfc_array_ref_dimen_type): New named enum type, broken out + of struct gfc_array_ref). + (struct gfc_array_ref): Use enum gfc_array_ref_dimen_type. + (mod_pointee_as): Update declaration. + * decl.c (add_global_entry): Change type to enum gfc_symbol_type. + (gfc_mod_pointee_as): Change return type to "match". + * module.c (mio_array_ref): Add cast to enum type. + (mio_symbol): Likewise. + * resolve.c (resolve_global_procedure): Change type to enum + gfc_symbol_type. + * trans-io.c (gfc_build_st_parameter): Change type to unsigned + int. + +2009-04-24 Daniel Kraft <d@domob.eu> + + * gfortran.h (gfc_get_typebound_proc): Removed as macro, now a function. + (struct gfc_symtree): Moved "typebound" member inside union. + (struct gfc_namespace): Add "tb_sym_root" as new symtree to sort out + type-bound procedures there. + (gfc_get_tbp_symtree): New procedure. + * symbol.c (tentative_tbp_list): New global. + (gfc_get_namespace): NULL new "tb_sym_root" member. + (gfc_new_symtree): Removed initialization of "typebound" member. + (gfc_undo_symbols): Process list of tentative tbp's. + (gfc_commit_symbols): Ditto. + (free_tb_tree): New method. + (gfc_free_namespace): Call it. + (gfc_get_typebound_proc): New method. + (gfc_get_tbp_symtree): New method. + (gfc_find_typebound_proc): Adapt to structural changes of gfc_symtree + and gfc_namespace with regards to tbp's. + * dump-parse-tree.c (show_typebound): Ditto. + * primary.c (gfc_match_varspec): Ditto. Don't reference tbp-symbol + as it isn't a symbol any longer. + * module.c (mio_typebound_symtree): Adapt to changes. + (mio_typebound_proc): Ditto, create symtrees using "gfc_get_tbp_symtree" + rather than "gfc_get_sym_tree". + (mio_f2k_derived): Ditto. + * decl.c (match_procedure_in_type): Ditto. + (gfc_match_generic): Ditto. Don't reference tbp-symbol. + * resolve.c (check_typebound_override): Adapt to changes. + (resolve_typebound_generic): Ditto. + (resolve_typebound_procedures): Ditto. + (ensure_not_abstract_walker): Ditto. + (ensure_not_abstract): Ditto. + (resolve_typebound_procedure): Ditto, ignore erraneous symbols (for + instance, through removed tentative ones). + * gfc-internals.texi (Type-bound procedures): Document changes. + +2009-04-24 Janus Weil <janus@gcc.gnu.org> + + PR fortran/39861 + PR fortran/39864 + * symbol.c (gfc_copy_formal_args_intr): Set attr.flavor and attr.dummy + for the formal arguments. + +2009-04-21 Taras Glek <tglek@mozilla.com> + + * f95-lang.c: Update GTY annotations to new syntax. + * trans-intrinsic.c: Likewise. + * trans-io.c: Likewise. + * trans.h: Likewise. + +2009-04-22 Janus Weil <janus@gcc.gnu.org> + + PR fortran/39735 + * decl.c (add_hidden_procptr_result): Bugfix for procptr results. + (match_procedure_decl): Set if_source. + * expr.c (gfc_check_pointer_assign): Bugfix: Return after error. + And: Check interface also for IFSRC_UNKNOWN (return type may be known). + * gfortran.h (typedef enum ifsrc): Remove IFSRC_USAGE, + add documentation. Rename copy_formal_args and copy_formal_args_intr. + * interface.c (gfc_compare_interfaces): Check for return types, + handle IFSRC_UNKNOWN. + (compare_intr_interfaces,compare_actual_formal_intr): Obsolete, removed. + (gfc_procedure_use): Modified handling of intrinsics. + * intrinsic.c (add_functions): Bugfix for "dim". + * resolve.c (resolve_intrinsic): New function to resolve intrinsics, + which copies the interface from isym to sym. + (resolve_procedure_expression,resolve_function): Use new function + 'resolve_intrinsic'. + (resolve_symbol): Add function attribute for externals with return type + and use new function 'resolve_intrinsic'. + * symbol.c (ifsrc_types): Remove string for IFSRC_USAGE. + (copy_formal_args): Renamed to gfc_copy_formal_args. + (copy_formal_args_intr): Renamed to gfc_copy_formal_args_intr. + * trans-const.c (gfc_conv_const_charlen): Handle cl==NULL. + +2009-04-21 Joseph Myers <joseph@codesourcery.com> + + * ChangeLog, ChangeLog-2002, ChangeLog-2003, ChangeLog-2004, + ChangeLog-2005, ChangeLog-2006, ChangeLog-2007, ChangeLog-2008, + ChangeLog.ptr, config-lang.in, ioparm.def, mathbuiltins.def: Add + copyright and license notices. + * ChangeLog, ChangeLog-2005, ChangeLog-2006, ChangeLog-2007, + ChangeLog-2008: Correct dates. + +2009-04-20 Tobias Burnus <burnus@net-b.de> + + PR fortran/39811 + * scanner.c (load_line): Fix bogus "&" compile-time diagnostic. + +2009-04-20 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/39800 + * resolve.c (is_sym_host_assoc): New function. + (resolve_fl_derived): Call it when checking PRIVATE components + of PUBLIC derived types. Change gfc_error to a gfc_notify_std + with std=f2003. + (resolve_fl_namelist): Call it twice to check for host + association. + +2009-04-20 Ian Lance Taylor <iant@google.com> + + * module.c (import_iso_c_binding_module): Add casts to enum type. + * trans-intrinsic.c (gfc_conv_intrinsic_minmax): Change op to enum + tree_code. + (gfc_conv_intrinsic_anyall): Likewise. + (gfc_conv_intrinsic_arith): Likewise. + (gfc_conv_intrinsic_minmaxloc): Likewise. + (gfc_conv_intrinsic_minmaxval): Likewise. + (gfc_conv_intrinsic_bitop): Likewise. + (gfc_conv_intrinsic_singlebitop): Likewise. + (gfc_conv_intrinsic_strcmp): Likewise. + +2009-04-20 Vasilis Liaskovitis <vliaskov@gmail.com> + Jakub Jelinek <jakub@redhat.com> + + PR fortran/35423 + * trans.h (OMPWS_WORKSHARE_FLAG, OMPWS_CURR_SINGLEUNIT, + OMPWS_SCALARIZER_WS, OMPWS_NOWAIT): Define. + (ompws_flags): New extern decl. + * trans-array.c (gfc_trans_scalarized_loop_end): Build OMP_FOR + for the outer dimension if ompws_flags allow it. + * trans.c (gfc_generate_code): Clear ompws_flags. + * trans-expr.c (gfc_trans_assignment_1): Allow worksharing + array assignments inside of !$omp workshare. + * trans-stmt.c (gfc_trans_where_3): Similarly for where statements + and constructs. + * trans-openmp.c (ompws_flags): New variable. + (gfc_trans_omp_workshare): Rewritten. + +2009-04-11 Daniel Kraft <d@domob.eu> + + PR fortran/37746 + * gfortran.h (struct gfc_charlen): New field "passed_length" to store + the actual passed string length for dummy arguments. + * trans-decl.c (gfc_create_string_length): Formatting fixes and added + assertion, moved a local variable into the innermost block it is needed. + (create_function_arglist): Removed TODO about the check being + implemented and initialize cl->passed_length here. + (add_argument_checking): New method. + (gfc_generate_function_code): Call the argument checking method. + +2009-04-11 Janus Weil <janus@gcc.gnu.org> + + PR fortran/39692 + * symbol.c (check_conflict): Reject procedure pointers for -std=f95. + +2009-04-11 Daniel Franke <franke.daniel@gmail.com> + + * resolve.c (resolve_global_procedure): Enable whole-file checking for + procedures that are declared later in the file. + +2009-04-10 Paolo Bonzini <bonzini@gnu.org> + + PR middle-end/39701 + * trans.c (gfc_allocate_with_status): Fix type mismatches + on "pstat == 0". + +2009-04-10 Daniel Franke <franke.daniel@gmail.com> + + PR fortran/38709 + * expr.c (find_array_section): Leave early on zero-sized arrays. + +2009-04-09 Janus Weil <janus@gcc.gnu.org> + + PR fortran/36704 + * decl.c (add_hidden_procptr_result): New function for handling + procedure pointer return values by adding a hidden result variable. + (variable_decl,match_procedure_decl,gfc_match_function_decl, + gfc_match_subroutine,gfc_match_end,attr_decl1): Handle procedure pointer + return values. + * parse.c (parse_interface): Add EXTERNAL attribute only after + FUNCTION/SUBROUTINE declaration is complete. + * primary.c (replace_hidden_procptr_result): New function for replacing + function symbol by hidden result variable. + (gfc_match_rvalue,match_variable): Replace symbol by hidden result + variable. + * resolve.c (resolve_contained_fntype,resolve_function,resolve_variable, + resolve_symbol): Allow for procedure pointer function results. + (resolve_fl_procedure): Conflict detection moved here from + 'check_conflict'. + * symbol.c (gfc_check_function_type): Allow for procedure pointer + function results. + (check_conflict): Move some conflict detection to resolution stage. + * trans-types.c (gfc_sym_type,gfc_get_function_type): Handle hidden + result variables. + +2009-04-08 Jakub Jelinek <jakub@redhat.com> + + * trans-types.c (gfc_init_types): Ensure gfc_integer_types doesn't + contain TYPE_STRING_FLAG types. + +2009-04-08 Janne Blomqvist <jb@gcc.gnu.org> + + PR fortran/39670 + * invoke.texi (fdollar-ok): Fix typo. + +2009-04-08 Daniel Franke <franke.daniel@gmail.com> + + PR fortran/39670 + * invoke.texi (fdollar-ok): Clarify limitations. + +2009-04-08 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/38863 + * trans-array.c (gfc_trans_deferred_array): Return if this + is a result variable. + +2009-04-07 Janus Weil <janus@gcc.gnu.org> + + PR fortran/38152 + * trans-decl.c (gfc_get_symbol_decl): Correctly set decl location for + procedure pointer decls. + +2009-04-07 Janus Weil <janus@gcc.gnu.org> + + PR fortran/38290 + * expr.c (gfc_check_pointer_assign): Enable interface check for + procedure pointers. + * gfortran.h: Add copy_formal_args_intr. + * interface.c (gfc_compare_interfaces): Call gfc_compare_intr_interfaces + if second argument is an intrinsic. + (compare_intr_interfaces): Correctly set attr.function, attr.subroutine + and ts. + (compare_parameter): Call gfc_compare_interfaces also for intrinsics. + * resolve.c (resolve_specific_f0,resolve_specific_s0): Don't resolve + intrinsic interfaces here. Must happen earlier. + (resolve_symbol): Resolution of intrinsic interfaces moved here from + resolve_specific_..., and formal args are now copied from intrinsic + interfaces. + * symbol.c (copy_formal_args_intr): New function to copy the formal + arguments from an intinsic procedure. + +2009-04-06 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/38863 + * dependency.c (ref_same_as_full_array): New function. + (gfc_dep_resolver): Call it. + +2009-04-06 Janus Weil <janus@gcc.gnu.org> + + PR fortran/39414 + * decl.c (match_procedure_decl): Fix double declaration problems with + PROCEDURE statements. + * symbol.c (gfc_add_type): Ditto. + +2009-04-06 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/36091 + * trans-array.c (gfc_conv_array_ref): If the symbol has the + temporary attribute use the array_spec for the bounds. + * gfortran.h : Add the temporary field to the structure + 'symbol_attribute'. + * trans-stmt.c (forall_make_variable_temp): Set the symbol's + temporary attribute. + +2009-04-05 Daniel Franke <franke.daniel@gmail.com> + + PR fortran/29458 + * trans-array.c (gfc_trans_array_constructor_value): Shadow + implied do-loop variable to avoid spurious middle-end warnings. + +2009-04-04 Tobias Burnus <burnus@net-b.de> + + PR fortran/39577 + * trans-decl.c (gfc_generate_function_code): Move recursive + check to the right position. + +2009-04-04 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/37614 + * trans-common.c (translate_common): Do not offset the whole + coomon block. + +2009-04-03 Tobias Burnus <burnus@net-b.de> + + PR fortran/39594 + * resolve.c (resolve_common_vars): Add FL_VARIABLE to symbol + if it is not a procedure pointer. + * primary.c (match_actual_arg): Ditto. + +2009-03-31 Joseph Myers <joseph@codesourcery.com> + + PR preprocessor/15638 + * cpp.c (cb_cpp_error): Handle CPP_DL_FATAL. + +2009-03-30 Steven G. Kargl <kargls@comcast.net> + + PR fortran/38389 + * trans-stmt.c(gfc_trans_allocate): Add translation of ERRMSG. + (gfc_trans_deallocate): Add translation of ERRMSG. Remove stale + comments. Minor whitespace cleanup. + * resolve.c(is_scalar_expr_ptr): Whitespace cleanup. + (resolve_deallocate_expr (gfc_expr *e): Update error message. + (resolve_allocate_expr): Remove dead code. Update error message. + Move error checking to ... + (resolve_allocate_deallocate): ... here. Add additional error + checking for STAT, ERRMSG, and allocate-objects. + * match.c(gfc_match_allocate,gfc_match_deallocate): Parse ERRMSG. + Check for redundant uses of STAT and ERRMSG. Reword error message + and add checking for pointer, allocatable, and proc_pointer attributes. + +2009-03-30 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/22571 + PR fortran/26227 + PR fortran/24886 + * symbol.c : Add gfc_global_ns_list. + * decl.c (add_global_entry): Set the namespace ('ns') field. + * gfortran.h : Add the resolved field to gfc_namespace. Add the + namespace ('ns') field to gfc_gsymbol. Add flag_whole_file to + gfc_option_t. Add the prototype for gfc_free_dt_list. + * lang.opt : Add the whole-file option. + * invoke.texi : Document the whole-file option. + * resolve.c (resolve_global_procedure): If the fwhole-file + option is set, reorder gsymbols to ensure that translation is + in the right order. Resolve the gsymbol's namespace if that + has not occurred and then check interfaces. + (resolve_function): Move call to resolve_global_procedure. + (resolve_call): The same. + (resolve_codes): Store the current labels_obstack. + (gfc_resolve) : Return if the namespace is already resolved. + trans-decl.c (gfc_get_extern_function_decl): If the whole_file + option is selected, use the backend_decl of a gsymbol, if it is + available. + parse.c (add_global_procedure, add_global_program): If the flag + whole-file is set, add the namespace to the gsymbol. + (gfc_parse_file): On -fwhole-file, put procedure namespaces on + the global namespace list. Rearrange to do resolution of all + the procedures in a file, followed by their translation. + * options.c (gfc_init_options): Add -fwhole-file. + (gfc_handle_option): The same. + +2009-03-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> + + * f95-lang.c (gfc_init_builtin_functions): Define BUILT_IN_HUGE_VAL + family of intrinsics instead of BUILT_IN_INF family. + * trans-intrinsics.c (gfc_conv_intrinsic_nearest): Use + BUILT_IN_HUGE_VAL instead of BUILT_IN_INF. + +2009-03-30 Jakub Jelinek <jakub@redhat.com> + + * trans-types.c (gfc_sym_type, gfc_return_by_reference): For + sym->attr.result check sym->ns->proc_name->attr.is_bind_c. + +2009-03-30 Joseph Myers <joseph@codesourcery.com> + + PR rtl-optimization/323 + * options.c (gfc_post_options): Set + flag_excess_precision_cmdline. Give an error for + -fexcess-precision=standard for processors where the option is + significant. + +2009-03-29 Joseph Myers <joseph@codesourcery.com> + + PR preprocessor/34695 + * cpp.c (cb_cpp_error): New. + (gfc_cpp_post_options): Don't set cpp_option->inhibit_warnings. + Don't check cpp_errors (cpp_in). + (gfc_cpp_init_0): Set cb->error. + +2009-03-29 Steven G. Kargl <kargl@gcc.gnu.org> + + PR fortran/38823 + * gfortran.h: Add ARITH_PROHIBIT to arith enum. + expr.c (gfc_match_init_expr): Add global variable init_flag to + flag matching an initialization expression. + (check_intrinsic_op): Move no longer reachable error message to ... + * arith.c (arith_power): ... here. Remove gfc_ prefix in + gfc_arith_power. Use init_flag. Allow constant folding of x**y + when y is REAL or COMPLEX. + (eval_intrinsic): Remove restriction that y in x**y must be INTEGER + for constant folding. + * gfc_power: Update gfc_arith_power to arith_power + +2009-03-29 Daniel Kraft <d@domob.eu> + + PR fortran/37423 + * gfortran.h (struct gfc_typebound_proc): Added new flag "deferred" and + added a comment explaining DEFERRED binding handling. + * decl.c (match_binding_attributes): Really match DEFERRED attribute. + (match_procedure_in_type): Really match PROCEDURE(interface) syntax + and do some validity checks for DEFERRED and this construct. + * module.c (binding_overriding): New string constant for DEFERRED. + (mio_typebound_proc): Module-IO DEFERRED flag. + * resolve.c (check_typebound_override): Ensure that a non-DEFERRED + binding is not overridden by a DEFERRED one. + (resolve_typebound_procedure): Allow abstract interfaces as targets + for DEFERRED bindings. + (ensure_not_abstract_walker), (ensure_not_abstract): New methods. + (resolve_fl_derived): Use new "ensure_not_abstract" method for + non-ABSTRACT types extending ABSTRACT ones to ensure each DEFERRED + binding is overridden. + (check_typebound_baseobject): New method. + (resolve_compcall), (resolve_typebound_call): Check base-object of + the type-bound procedure call. + * gfc-internals.texi (Type-bound procedures): Document a little bit + about internal handling of DEFERRED bindings. + +2009-03-29 Tobias Schlüter <tobi@gcc.gnu.org> + + PR fortran/38507 + * gfortran.h (gfc_st_label): Fix comment. + (gfc_exec_op): Add statement code EXEC_END_BLOCK for end of block. + * parse.c (accept_statement): Use EXEC_END_BLOCK for END IF and + END SELECT with labels. + (check_do_closure): Fix formatting. + (parse_do_block): Fix typo in error message. + * resolve.c (code_stack): Remove tail member. Update comment to + new use of reachable_labels. + (reachable_labels): Rename to ... + (find_reachable_labels): ... this. Overhaul. Update preceding + comment. + (resolve_branch): Fix comment preceding function. Rewrite. + (resolve_code): Update call to find_reachable_labels. Add code to + deal with EXEC_END_BLOCK. + * st.c (gfc_free_statement): Add code to deal with EXEC_END_BLOCK. + Add 2009 to copyright years. + * trans.c (gfc_trans_code): Likewise on both counts. + +2009-03-31 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/38917 + * expr.c (gfc_check_assign): Allow pointer components when + checking for NULL. + + PR fortran/38918 + * resolve.c (check_data_variable): Treat pointer arrays with + scalars. + +2009-03-31 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/38915 + * trans-expr.c (gfc_trans_assignment_1): Ensure temporaries + have a string_length. + +2009-03-28 Tobias Burnus <burnus@net-b.de> + + PR fortran/34656 + * trans-stmt.c (gfc_trans_simple_do, gfc_trans_do): + Add GFC_RTCHECK_DO support. + * option.c (gfc_handle_runtime_check_option): Enable GFC_RTCHECK_DO. + * invoke.texi (-fcheck): Document "do" option. + +2009-03-28 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/38538 + * trans-array.c (get_elemental_fcn_charlen): Remove. + (get_array_charlen): New function to replace previous. + +2009-03-28 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/38765 + * parse.c (parse_derived): Do not break on finding pointer, + allocatable or private components. + +2009-03-28 Tobias Burnus <burnus@net-b.de> + + PR fortran/32626 + * option.c (gfc_handle_runtime_check_option): Enable recursion check. + * trans-decl.c (gfc_generate_function_code): Add recursion check. + * invoke.texi (-fcheck): Add recursive option. + +2009-03-28 Tobias Burnus <burnus@net-b.de> + + PR fortran/38432 + * resolve.c (gfc_resolve_iterator): Add zero-loop warning. + +2009-03-28 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + Paul Thomas <pault@gcc.gnu.org> + Tobias Burnus <burnus@net-b.de> + + * gfortran.h (gfc_option_t): Add rtcheck. + * lang.opt: New option -fcheck. + * libgfortran.h: Add GFC_RTCHECK_* constants. + * invoke.texi: Document -fcheck. + * options.c (gfc_handle_runtime_check_option): New function. + (gfc_init_options,gfc_post_options,gfc_handle_option): + Add -fcheck option. + +2009-03-27 Richard Guenther <rguenther@suse.de> + + * trans-array.c (gfc_conv_descriptor_data_addr): Use + gfc_build_addr_expr instead of build_fold_addr_expr. + (gfc_trans_allocate_array_storage, gfc_trans_array_constructor_value, + gfc_trans_constant_array_constructor, gfc_conv_array_data, + gfc_conv_expr_descriptor, gfc_conv_array_parameter): Likewise. + * trans-expr.c (gfc_conv_missing_dummy, gfc_conv_variable, + gfc_conv_function_val, gfc_conv_operator_assign, + gfc_conv_subref_array_arg, gfc_conv_function_call, + gfc_conv_expr_reference, gfc_trans_scalar_assign): Likewise. + * trans-intrinsic.c (gfc_conv_intrinsic_exponent, + gfc_conv_intrinsic_ctime, gfc_conv_intrinsic_fdate, + gfc_conv_intrinsic_ttynam, gfc_conv_intrinsic_minmax_char, + gfc_conv_intrinsic_fraction, gfc_conv_intrinsic_spacing, + gfc_conv_intrinsic_rrspacing, gfc_conv_intrinsic_set_exponent, + gfc_conv_intrinsic_array_transfer, gfc_conv_intrinsic_transfer, + gfc_conv_intrinsic_si_kind, gfc_conv_intrinsic_trim): Likewise. + * trans-io.c (gfc_trans_io_runtime_check, set_parameter_ref, + gfc_convert_array_to_string, gfc_trans_open, gfc_trans_close, + build_filepos, gfc_trans_inquire, gfc_trans_wait, + nml_get_addr_expr, transfer_namelist_element, build_dt, + gfc_trans_dt_end, transfer_array_component, transfer_expr, + transfer_array_desc, gfc_trans_transfer): Likewise. + * trans-stmt.c (gfc_trans_allocate, gfc_trans_deallocate): Likewise. + * trans.c (gfc_build_addr_expr): Mark the base of the address + TREE_ADDRESSABLE. + +2009-03-27 Tobias Burnus <burnus@net-b.de> + + * gfortran.h (enum init_local_real.): Add GFC_INIT_REAL_SNAN. + (gfc_expr): Add is_snan. + * trans-const.c (gfc_conv_mpfr_to_tree): Support SNaN. + (gfc_conv_constant_to_tree): Update call to gfc_conv_mpfr_to_tree. + * trans-const.h (gfc_conv_mpfr_to_tree): Update prototype. + * resolve.c (build_default_init_expr): Update call. + * target-memory.c (encode_float): Ditto. + * trans-intrinsic.c (gfc_conv_intrinsic_aint,gfc_conv_intrinsic_mod, + +2009-03-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + * lang.opt: Unify help texts for -I, -Wconversion, -d, -fopenmp, + and -fpreprocessed. + +2009-03-06 Alexandre Oliva <aoliva@redhat.com> + + * simplify.c (gfc_simplify_transfer): Zero-initialize the + buffer. + +2009-02-27 Tobias Burnus <burnus@net-b.de> + + PR fortran/39309 + * module.c (read_md5_from_module_file): Add missing quote. + +2009-02-27 Tobias Burnus <burnus@net-b.de> + + PR fortran/39309 + * module.c (read_md5_from_module_file): Include mod version + in had-changed test. + +2009-02-26 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/39295 + * interface.c (compare_type_rank_if): Return 1 if the symbols + are the same and deal with external procedures where one is + identified to be a function or subroutine by usage but the + other is not. + +2009-02-26 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/39292 + * trans-array.c (gfc_conv_array_initializer): Convert all + expressions rather than ICEing. + +2009-02-21 Thomas Koenig <tkoenig@gcc.gnu.org> + + PR fortran/38914 + * array.c (ref_dimen_size): Rename to gfc_ref_dimen_size, + make global. Change function name in error messages. + (ref_size): Change ref_dimen_size to gfc_ref_dimen_size. + (gfc_array_ref_shape): Likewise. + * gfortran.h: Add prototype for gfc_ref_dimen_size. + * simplify.c (simplify_bound_dim): Add ref argument. + If the reference isn't a full array, return one for + the lower bound and the extent for the upper bound. + (simplify_bound): For array sections, take as from the + argument. Add reference to all to simplify_bound_dim. + +2009-02-19 Daniel Franke <franke.daniel@gmail.com> + + * scanner.c (load_line): At end of line, skip '\r' without setting + the truncation flag. + +2009-02-18 Daniel Kraft <d@domob.eu> + + * gfortran.texi: New chapter about compiler characteristics. + (Compiler Characteristics): Document KIND type parameters here. + +2009-02-18 Tobias Burnus <burnus@net-b.de> + + * intrinsic.texi (MALLOC): Make example more portable. + +2009-02-13 Mikael Morin <mikael.morin@tele2.fr> + + PR fortran/38259 + * module.c (gfc_dump_module,gfc_use_module): Add module + version number. + +2009-02-13 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/36703 + PR fortran/36528 + * trans-expr.c (gfc_conv_function_val): Stabilize Cray-pointer + function references to ensure that a valid expression is used. + (gfc_conv_function_call): Pass Cray pointers to procedures. + +2009-02-03 Jakub Jelinek <jakub@redhat.com> + + * gfortranspec.c (lang_specific_driver): Update copyright notice + dates. + +2009-01-28 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/38852 + PR fortran/39006 + * trans-intrinsic.c (gfc_conv_intrinsic_bound): Use the array + descriptor ubound for UBOUND, when the array lbound == 1. + +2009-01-27 Daniel Kraft <d@domob.eu> + + PR fortran/38883 + * trans-stmt.c (gfc_conv_elemental_dependencies): Create temporary + for the real type needed to make it work for subcomponent-references. + +2009-01-21 Daniel Kraft <d@domob.eu> + + * trans-stmt.c (gfc_conv_elemental_dependencies): Cleaned up comment. + +2009-01-20 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/38907 + * resolve.c (check_host_association): Remove the matching to + correct an incorrect host association and use manipulation of + the expression instead. + +2009-01-20 Tobias Burnus <burnus@net-b.de> + + * invoke.texi (RANGE): RANGE also takes INTEGER arguments. + +2009-01-19 Mikael Morin <mikael.morin@tele2.fr> + + PR fortran/38859 + * simplify.c (simplify_bound): Don't use array specification + if variable or component has subsequent references. + +2009-01-17 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/38657 + * module.c (write_common_0): Add argument 'this_module' and + check that non-use associated common blocks are written first. + (write_common): Call write_common_0 twice, once with true and + then with false. + +2009-01-17 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/34955 + * trans-intrinsic.c (gfc_conv_intrinsic_array_transfer): Has + been absorbed into gfc_conv_intrinsic_transfer. All + references to it in trans-intrinsic.c have been changed + accordingly. PR fixed by using a temporary for scalar + character transfer, when the source is shorter than the + destination. + +2009-01-17 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/38657 + * module.c (write_common_0): Revert patch of 2009-01-05. + +2009-01-16 Janus Weil <janus@gcc.gnu.org> + + PR fortran/38152 + * expr.c (gfc_check_pointer_assign): Allow use-associated procedure + pointers as lvalue. + * trans-decl.c (get_proc_pointer_decl,gfc_create_module_variable): + Enable procedure pointers as module variables. + +2009-01-14 Steven G. Kargl <kargl@gcc.gnu.org> + + * ChangeLog-2007: Clean out svn merge droppings. + +2009-01-10 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/38763 + * target-memory.c (encode_derived): Encode NULL. + +2009-01-10 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/38765 + * resolve.c (check_host_association): Use the symtree name to + search for a potential contained procedure, since this is the + name by which it would be referenced. + +2009-01-06 Thomas Koenig <tkoenig@gcc.gnu.org> + + PR fortran/38220 + * interface.c (gfc_procedure_use): Don't warn about functions + from ISO_C_BINDING. + * symbol.c (generate_isocbinding_symbol): Mark c_loc and + c_funloc as pure. + +2009-01-05 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/38657 + * module.c (write_common_0): Use the name of the symtree rather + than the common block, to determine if the common has been + written. + +2009-01-05 Daniel Franke <franke.daniel@gmail.com> + + PR fortran/37159 + * check.c (gfc_check_random_seed): Added size check for GET + dummy argument, reworded error messages to follow common pattern. + +2009-01-05 Thomas Koenig <tkoenig@gcc.gnu.org> + + PR fortran/38672 + * trans-types.c (gfc_get_derived_type): Check for the + presence of derived->ns->proc_name before + accessing derived->ns->proc_name->attr.flavor . + * resolve.c (resolve_symbol): Likewise. + +2009-01-05 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/38665 + * gfortran.h : Add bit to gfc_expr 'user_operator' + * interface.c (gfc_extend_expr): Set the above if the operator + is substituted by a function. + * resolve.c (check_host_association): Return if above is set. + +2009-01-04 Mikael Morin <mikael.morin@tele2.fr> + + PR fortran/35681 + * ChangeLog-2008: Fix function name. + + PR fortran/38487 + * dependency.c (gfc_check_argument_var_dependency): + Move the check for pointerness inside the if block + so that it doesn't affect the return value. + + PR fortran/38669 + * trans-stmt.c (gfc_trans_call): + Add the dependency code after the loop bounds calculation one. + +2009-01-04 Daniel Franke <franke.daniel@gmail.com> + + * intrinsic.c (do_simplify): Removed already implemented TODO. + +2009-01-04 Daniel Franke <franke.daniel@gmail.com> + + PR fortran/38718 + * simplify.c (gfc_simplify_merge): New. + * intrinsic.h (gfc_simplify_merge): New prototype. + * intrinsic.c (add_functions): Added simplification for MERGE. + +2009-01-04 Mikael Morin <mikael.morin@tele2.fr> + + PR fortran/38536 + * gfortran.h (gfc_is_data_pointer): Added prototype + * resolve.c (gfc_iso_c_func_interface): + Use gfc_is_data_pointer to test for pointer attribute. + * dependency.c (gfc_is_data_pointer): + Support pointer-returning functions. + +2009-01-03 Daniel Franke <franke.daniel@gmail.com> + + * symbol.c (save_symbol): Don't SAVE function results. + +2009-01-03 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/38594 + * resolve.c (resolve_call): When searching for proper host + association, use symtree rather than symbol. For everything + except generic subroutines, substitute the symtree in the call + rather than the symbol. + + +Copyright (C) 2009 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b1efc4c..4608794 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -3,12680 +3,8 @@ PR middle-end/42559 * gcc.c-torture/compile/pr42559.c: New testcase. -2009-12-30 Joseph Myers <joseph@codesourcery.com> - - PR c/42439 - * gcc.dg/bitfld-19.c, gcc.dg/bitfld-20.c, gcc.dg/bitfld-21.c: New - tests. - -2009-12-30 Ira Rosen <irar@il.ibm.com> - - PR tree-optimization/41956 - * gcc.dg/vect/pr41956.c: New test. - -2009-12-30 Uros Bizjak <ubizjak@gmail.com> - - PR target/42549 - * gcc.target/i386/mmx-3dnow-check.h: New file. - * gcc.target/i386/pr42549.c: New test. - -2009-12-29 Ian Lance Taylor <iant@google.com> - - PR middle-end/42099 - * gcc.c-torture/execute/20091229-1.c: New test. - -2009-12-29 Janus Weil <janus@gcc.gnu.org> - - PR fortran/42517 - * gfortran.dg/gomp/recursion1.f90: New test. - -2009-12-29 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/test_raise_from_pure.adb: XFAIL for the ARM. - * gnat.dg/warn5.adb: Expect warning on the ARM. - -2009-12-28 Jason Merrill <jason@redhat.com> - - PR c++/42447 - * g++.dg/template/array21.C: New. - -2009-12-28 Janus Weil <janus@gcc.gnu.org> - - PR fortran/42353 - * gfortran.dg/class_13.f03: New test. - -2009-12-28 H.J. Lu <hongjiu.lu@intel.com> - - PR middle-end/41344 - * gfortran.dg/gomp/pr41344.f: New. - -2009-12-27 Martin Jambor <mjambor@suse.cz> - - PR tree-optimization/42231 - * gcc.c-torture/execute/pr42231.c: New test. - -2009-12-27 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> - Daniel Kraft <d@domob.eu> - - PR fortran/22552 - * gfortran.dg/warn_implicit_procedure_1.f90: New test. - -2009-12-24 Jason Merrill <jason@redhat.com> - - PR c++/41305 - * g++.dg/lookup/koenig9.C: New test. - * g++.dg/lookup/koenig10.C: New test. - * g++.dg/lookup/koenig11.C: New test. - * g++.dg/lookup/koenig12.C: New test. - -2009-12-24 Julian Brown <julian@codesourcery.com> - Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> - - PR target/40887 - * gcc.target/arm/pr40887.c: New test. - -2009-12-23 Jakub Jelinek <jakub@redhat.com> - - PR rtl-optimization/42475 - * gcc.dg/pr42475.c: New test. - -2009-12-23 Jakub Jelinek <jakub@redhat.com> - Cary Coutant <ccoutant@google.com> - - PR debug/42454 - * gcc.dg/debug/dwarf2/aranges-fnsec-1.c: Add check for .debug_ranges. - -2009-12-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> - - PR target/42093 - * gcc.target/arm/pr42093.c: New test. - -2009-12-23 Ramana Radhakrishnan <ramrad01@arm.com> - - PR target/40670 - * gcc.target/arm/pr40670.c: New test. - -2009-12-23 Uros Bizjak <ubizjak@gmail.com> - - * gcc.target/alpha/20000715-1.c: Remove target selector. - * gcc.target/alpha/20011018-1.c: Ditto. - * gcc.target/alpha/980217-1.c: Ditto. - * gcc.target/alpha/asm-1.c: Ditto. - * gcc.target/alpha/base-1.c: Ditto. - * gcc.target/alpha/base-2.c: Ditto. - * gcc.target/alpha/cix-1.c: Ditto. - * gcc.target/alpha/cix-2.c: Ditto. - * gcc.target/alpha/max-1.c: Ditto. - * gcc.target/alpha/max-2.c: Ditto. - -2009-12-23 Sebastian Pop <sebpop@gmail.com> - - * g++.dg/graphite/id-1.C: New. - * g++.dg/graphite/pr41305.C: New. - * gcc.dg/graphite/id-16.c: New. - * gcc.dg/graphite/interchange-10.c: New. - * gcc.dg/graphite/interchange-11.c: New. - * gcc.dg/graphite/interchange-mvt.c: New. - * gcc.dg/graphite/pr40281.c: New. - * gcc.dg/graphite/run-id-2.c: New. - * gcc.dg/graphite/scop-dsyr2k.c: New. - * gcc.dg/graphite/scop-dsyrk.c: New. - * gcc.dg/graphite/scop-mvt.c: New. - * gcc.dg/graphite/scop-sor.c: New. - * gfortran.dg/graphite/id-18.f90: New. - * gfortran.dg/graphite/interchange-3.f90: New. - * gfortran.dg/graphite/pr42050.f90: New. - -2009-12-23 Dodji Seketeli <dodji@redhat.com> - - PR c++/42260 - * g++.dg/conversion/cast2.C: New test. - -2009-12-22 Jason Merrill <jason@redhat.com> - - PR c++/42466 - * g++.dg/template/nontype19.C: New. - - PR c++/42331 - * g++.dg/cpp0x/initlist29.C: New. - -2009-12-22 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk> - - PR target/41605 - * lib/g++.exp: Provide -B options to allow for link spec %s - substitutions for static libraries. - -2009-12-22 Brian Hackett <bhackett1024@gmail.com> - - * g++.dg/plugin/attribute_plugin.c: Rename pre-genericize event. - * g++.dg/plugin/dumb_plugin.c: Same. - -2009-12-21 Jason Merrill <jason@redhat.com> - - * g++.dg/abi/mangle14.C: Add expected mangling. - -2009-12-21 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> - - * gcc.dg/pr36901.h: AVR must support address zero. - -2009-12-21 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> - - PR testsuite/36903 - * gcc.dg/tree-ssa/gen-vect-11.c : Disable for avr target. It will - not vectorize. - * gcc.dg/tree-ssa/gen-vect-11a.c: Ditto. - * gcc.dg/tree-ssa/gen-vect-2.c: Ditto. - * gcc.dg/tree-ssa/gen-vect-25.c: Ditto. - * gcc.dg/tree-ssa/gen-vect-26.c: Ditto. - * gcc.dg/tree-ssa/gen-vect-28.c: Ditto. - * gcc.dg/tree-ssa/gen-vect-32.c: Ditto. - * gcc.dg/tree-ssa/pr23455.c: Test for 4 eliminations on avr target. - * gcc.dg/tree-ssa/ssa-fre-26.c: XFAIL test for avr. - * gcc.dg/tree-ssa/vrp47.c: Skip test for avr target due to low - branch cost. - -2009-12-21 Thomas Koenig <tkoenig@gcc.gnu.org> - - PR libfortran/PR42422 - * gfortran.dg/list_read_10.f90: New test. - -2009-12-19 Dodji Seketeli <dodji@redhat.com> - - PR c++/42225 - * g++.dg/template/typedef26.C: New test. - -2009-12-19 Richard Guenther <rguenther@suse.de> - - PR lto/42401 - * g++.dg/lto/20091219_0.C: New testcase. - -2009-12-19 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/42108 - * gfortran.dg/pr42108.f90: New testcase. - -2009-12-18 Jason Merrill <jason@redhat.com> - - PR c++/28300 - * g++.dg/template/spec37.C: New. - - PR c++/42415 - * g++.dg/tc1/dr147.C: Add test. - * g++.old-deja/g++.jason/temporary5.C: Adjust. - -2009-12-18 Shujing Zhao <pearly.zhao@oracle.com> - - * g++.old-deja/g++.brendan/misc6.C: Make expected dg-error strings - explicit. - -2009-12-17 Jakub Jelinek <jakub@redhat.com> - - * gcc.dg/debug/dwarf2/const-1.c: Don't expect DW_AT_const_value, - but instead DW_AT_location with DW_OP_addr+DW_OP_stack_value. Add - -gno-strict-dwarf -fno-merge-debug-strings to dg-options. - * g++.dg/debug/dwarf2/const1.C: Likewise. - * g++.dg/debug/dwarf2/template-params-3.C: Likewise. - * g++.dg/debug/dwarf2/template-func-params-3.C: Likewise. - -2009-12-17 Alexandre Oliva <aoliva@redhat.com> - - PR debug/41679 - * gcc.target/arm/pr41679.c: New. - -2009-12-17 Jakub Jelinek <jakub@redhat.com> - - PR c++/42386 - * g++.dg/opt/dtor3.C: New test. - -2009-12-17 Arnaud Charlet <charlet@adacore.com> - - * ada/acats/run_all.sh: Strip comments from norun.lst - -2009-12-17 Uros Bizjak <ubizjak@gmail.com> - - PR target/32280 - * gcc.target/i386/pr32280-1.c: New test. - -2009-12-17 Uros Bizjak <ubizjak@gmail.com> - - * objc/execute/forward-1.x: XFAIL for -fgnu-runtime on - x86_64-*-darwin*, powerpc*-*-darwin* and alpha*-*-linux* targets. - -2009-12-17 Janus Weil <janus@gcc.gnu.org> - - PR fortran/42144 - * gfortran.dg/dynamic_dispatch_6.f03: New test. - -2009-12-17 Shujing Zhao <pearly.zhao@oracle.com> - - * g++.old-deja/g++.mike/net31.C: Make expected dg-error strings - explicit. - * g++.old-deja/g++.bugs/900213_02.C: Likewise. - * g++.old-deja/g++.bugs/900215_02.C: Likewise. - -2009-12-16 Richard Guenther <rguenther@suse.de> - - PR lto/42392 - * gcc.dg/lto/20091216-1_0.c: New testcase. - -2009-12-15 Jason Merrill <jason@redhat.com> - - PR c++/42387 - * g++.dg/ext/vla8.C: New. - -2009-12-16 Jakub Jelinek <jakub@redhat.com> - - * gcc.c-torture/compile/20091215-1.c: New test. - - * gcc.dg/debug/tls-1.c: New test. - -2009-12-15 Jason Merrill <jason@redhat.com> - - PR c++/42358 - * g++.dg/cpp0x/variadic98.C: New. - -2009-12-14 Jason Merrill <jason@redhat.com> - - PR c++/42373 - * g++.dg/cpp0x/lambda/lambda-mangle.C: Adjust regexps for darwin. - -2009-12-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> - - * ada/acats/norun.lst: Sort. - -2009-12-15 Jakub Jelinek <jakub@redhat.com> - - PR c++/41183 - * g++.dg/torture/pr41183.C: New test. - -2009-12-15 Tobias Burnus <burnus@net-b.de> - - PR fortran/41235 - * gfortran.dg/auto_char_len_1.f90: New test. - * gfortran.dg/auto_char_len_2.f90: New test. - * gfortran.dg/auto_char_len_4.f90: Correct test. - -2009-12-14 Jason Merrill <jason@redhat.com> - - PR c++/42364 - * g++.dg/cpp0x/variadic31.C: Compile with -g. - * g++.dg/ext/attrib33.C: Likewise. - -2009-12-15 Shujing Zhao <pearly.zhao@oracle.com> - - * g++.dg/other/error20.C: Adjust dg-message strings. - * g++.dg/other/error31.C: Likewise. - * g++.dg/rtti/typeid6.C: Likewise. - * g++.dg/ext/ms-1.C: Likewise. - * g++.dg/parse/error19.C: Likewise. - * g++.dg/parse/crash5.C: Likewise. - * g++.dg/cpp0x/explicit4.C: Likewise. - * g++.dg/template/ptrmem4.C: Likewise. - * g++.dg/template/crash37.C: Likewise. - * g++.dg/template/qualttp5.C: Likewise. - * g++.dg/template/local6.C: Likewise. - * g++.dg/template/instantiate5.C: Likewise. - * g++.old-deja/g++.brendan/overload1.C: Likewise. - * g++.old-deja/g++.brendan/cvt3.C: Likewise. - * g++.old-deja/g++.brendan/overload4.C: Likewise. - * g++.old-deja/g++.jason/conversion11.C: Likewise. - * g++.old-deja/g++.jason/scoping10.C: Likewise. - * g++.old-deja/g++.other/expr1.C: Likewise. - * g++.old-deja/g++.other/pmf3.C: Likewise. - * g++.old-deja/g++.other/crash24.C: Likewise. - * g++.old-deja/g++.niklas/t120.C: Likewise. - * g++.old-deja/g++.niklas/t121.C: Likewise. - * g++.old-deja/g++.law/operators9.C: Likewise. - * g++.old-deja/g++.law/arm9.C: Likewise. - * g++.old-deja/g++.law/enum4.C: Likewise. - * g++.old-deja/g++.law/arg11.C: Likewise. - * g++.old-deja/g++.benjamin/15800-1.C: Likewise. - * g++.old-deja/g++.mike/p2431.C: Likewise. - * g++.old-deja/g++.mike/p438.C: Likewise. - * g++.old-deja/g++.mike/p9068.C: Likewise. - * g++.old-deja/g++.mike/p11110.C: Likewise. - * g++.old-deja/g++.bugs/900330_02.C: Likewise. - -2009-12-14 Uros Bizjak <ubizjak@gmail.com> - - * g++.dg/other/i386-2.C: Add -mpopcnt -mabm -mlwp to dg-options. - * g++.dg/other/i386-3.C: Ditto. - * g++.dg/other/i386-5.C: Remove duplicated test. - * g++.dg/other/i386-6.C: Ditto. - -2009-12-14 Daniel Franke <franke.daniel@gmail.com> - - PR fortran/42354 - * gfortran.dg/iso_c_binding_init_expr.f03: New. - * gfortran.dg/intrinsic_std_1.f90: Fixed expected error message. - * gfortran.dg/function_kinds_5.f90: Likewise. - * gfortran.dg/selected_char_kind_3.f90: Likewise. - -2009-12-14 Dominique d'Humieres <dominiq@lps.ens.fr> - - * gfortran.dg/boz_15.f90: Fix typos. - -2009-12-14 Jakub Jelinek <jakub@redhat.com> - Sebastian Pop <sebastian.pop@amd.com> - - * gcc.target/i386/sse-12.c: Add -mpopcnt and -mlwp. - * gcc.target/i386/sse-13.c: Same. - (__builtin_ia32_lwpval32, __builtin_ia32_lwpval64, - __builtin_ia32_lwpins32, __builtin_ia32_lwpins64): Added testcases. - * gcc.target/i386/sse-14.c: Add -mpopcnt -mabm -mlwp. - Added tests for __lwpval32, __lwpins32, __lwpval64, and __lwpins64. - * gcc.target/i386/sse-22.c: Added tests for popcnt, abm, and lwp. - * gcc.target/i386/sse-23.c: Same. - -2009-12-14 Sebastian Pop <sebpop@gmail.com> - - PR middle-end/42284 - * testsuite/gcc.dg/graphite/pr42284.c: New. - -2009-12-13 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/42357 - * g++.dg/torture/pr42357.C: New testcase. - -2009-12-11 Janus Weil <janus@gcc.gnu.org> - - PR fortran/42257 - * gfortran.dg/extends_9.f03: New test. - -2009-12-11 Jason Merrill <jason@redhat.com> - - PR c++/42219 - * g++.dg/conversion/err-recover1.C: New. - -2009-12-11 Janus Weil <janus@gcc.gnu.org> - - PR fortran/42335 - * gfortran.dg/select_type_11.f03: New test. - -2009-12-11 Dodji Seketeli <dodji@redhat.com> - - PR c++/42225 - * g++.dg/template/typedef24.C: New test. - * g++.dg/template/typedef25.C: New test. - -2009-12-11 Dodji Seketeli <dodji@redhat.com> - - PR c++/42251 - * g++.dg/template/const3.C: New test. - -2009-12-11 Richard Guenther <rguenther@suse.de> - - PR lto/42320 - * g++.dg/lto/20091210-1_0.h: New testcase. - * g++.dg/lto/20091210-1_0.C: Likewise. - * g++.dg/lto/20091210-1_1.C: Likewise. - -2009-12-10 Jakub Jelinek <jakub@redhat.com> - - PR c++/42317 - * g++.dg/opt/dtor2.C: New test. - * g++.dg/opt/dtor2.h: New file. - * g++.dg/opt/dtor2-aux.cc: New file. - -2009-12-10 Daniel Franke <franke.daniel@gmail.com> - - PR fortran/41369 - * gfortran.dg/func_derived_5.f90: New. - -2009-12-10 Jan Hubicka <jh@suse.cz> - - PR middle-end/42110 - * g++.dg/torture/pr42110.C: new file. - -2009-12-10 Daniel Franke <franke.daniel@gmail.com> - - PR fortran/34402 - * gfortran.dg/alloc_comp_init_expr.f03: New. - -2009-12-09 David Edelsohn <edelsohn@gnu.org> - - * gcc.target/powerpc/bswap64-4.c: Disable on AIX. - * gcc.target/powerpc/ppc64-double-1.c: Disable on AIX. - -2009-12-09 Xinliang David Li <davidxl@google.com> - - PR tree-optimization/42337 - * g++.dg/tree-ssa/pr42337.C: New test. - -2009-12-08 Tobias Burnus <burnus@net-b.de> - - PR fortran/41711 - * gfortran.dg/boz_15.f90: New test. - -2008-12-08 Daniel Kraft <d@domob.eu> - - PR fortran/41177 - * gfortran.dg/typebound_proc_4.f03: Remove check for wrong error. - * gfortran.dg/typebound_proc_13.f03: New test. - -2009-12-08 Olga Golovanevsky <olga@il.ibm.com> - Jakub Jelinek <jakub@redhat.com> - - PR midle-end/41843 - * gcc.dg/struct/wo_prof_empty_str.c: New testcase. - -2009-12-07 Richard Henderson <rth@redhat.com> - - PR rtl-opt/42269 - * gcc.c-torture/execute/pr42269-2.c: New. - * gcc.target/alpha/pr42269-1.c: Likewise. - -2009-12-07 Richard Henderson <rth@redhat.com> - - PR debug/42299 - PR debug/42166 - * gcc.c-torture/compile/pr42299.c: New. - * gfortran.dg/pr42166.f90: Likewise. - -2009-12-07 Jakub Jelinek <jakub@redhat.com> - - PR debug/42244 - * gcc.dg/debug/pr42244.c: New test. - -2009-12-07 Jakub Jelinek <jakub@redhat.com> - - * gcc.target/i386/sse-12.c: Add -mabm to dg-options, mention - abmintrin.h is also tested. - * gcc.target/i386/sse-13.c: Likewise. - -2009-12-07 Daniel Franke <franke.daniel@gmail.com> - - PR fortran/41940 - * gfortran.dg/allocate_scalar_with_shape.f90: New. - -2009-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - PR other/40302 - * gcc.dg/torture/builtin-math-6.c: Assume we have MPC. - * gcc.dg/torture/builtin-math-7.c: Likewise. - * gfortran.dg/complex_intrinsic_7.f90: Likewise. - * gfortran.dg/complex_intrinsic_8.f90: Likewise. - * gfortran.dg/integer_exponentiation_4.f90: Re-enable some tests. - * lib/target-supports.exp (check_effective_target_mpc, - check_effective_target_mpc_pow, check_effective_target_mpc_arc): - Delete. - -2009-12-07 Edmar Wienskoski <edmar@freescale.com> - - * gcc.target/powerpc/ppc-eq0-1.c: Adjust testcase for isel - targets. - -2009-12-06 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> - - * gcc.c-torture/execute/vla-dealloc-1.c: Use lower loop count - for 16bit int targets. - -2009-12-06 Richard Henderson <rth@redhat.com> - - PR debug/42234 - * gcc.c-torture/compile/pr42234.c: New. - -2009-12-06 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41478 - PR fortran/42268 - * gfortran.dg/intrinsic_pack_5.f90: New test. - -2009-12-04 Jason Merrill <jason@redhat.com> - - PR c++/42010 - * g++.dg/abi/local2.C: New. - - PR c++/42277 - * g++.dg/cpp0x/decltype20.C: New. - -2009-12-04 David Daney <ddaney@caviumnetworks.com> - - PR rtl-optimization/42164 - * gcc.c-torture/compile/pr42164.c: New test. - -2009-12-04 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/specs/size_attribute1.ads: New test. - * gnat.dg/specs/size_attribute1_pkg1.ad[sb]: New helper. - * gnat.dg/specs/size_attribute1_pkg2.ad[sb]: Likewise. - -2009-12-04 Dodji Seketeli <dodji@redhat.com> - - PR c++/42218 - * g++.dg/other/error33.C: New test. - -2009-12-03 Jason Merrill <jason@redhat.com> - - * g++.dg/abi/guard2.C: Run on *-*-linux* rather than x86-*-* - - PR c++/41611 - * g++.dg/abi/guard2.C: New. - - PR c++/42266 - * g++.dg/cpp0x/variadic97.C: New. - -2009-12-03 Jakub Jelinek <jakub@redhat.com> - - PR middle-end/42049 - * gcc.c-torture/compile/pr42049.c: New test. - -2009-12-03 Quentin Ochem <ochem@adacore.com> - - * gnat.dg/controlled5.adb: New test. - * gnat.dg/controlled5_pkg.ad[sb]: New helper. - -2009-12-03 Dodji Seketeli <dodji@redhat.com> - - PR c++/42217 - * g++.dg/other/bitfield4.C: New test. - -2009-12-03 Jakub Jelinek <jakub@redhat.com> - - PR c++/42256 - * g++.dg/inherit/thunk11.C: New test. - * g++.dg/inherit/thunk11.h: New file. - * g++.dg/inherit/thunk11-aux.cc: New file. - -2009-12-02 Richard Henderson <rth@redhat.com> - - PR tree-opt/42215 - * gcc.dg/pr42215.c: New. - -2009-12-02 Richard Guenther <rguenther@suse.de> - - * g++.dg/ipa/iinline-1.C: Adjust. - * g++.dg/template/cond2.C: Likewise. - * g++.dg/template/pr35240.C: Likewise. - -2009-12-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> - - PR middle-end/42224 - * gcc.target/s390/pr42224.c: New test. - -2009-12-01 Jason Merrill <jason@redhat.com> - - PR c++/41611 - * g++.dg/abi/guard1.C: New. - -2009-12-01 Uros Bizjak <ubizjak@gmail.com> - - * gcc.target/i386/vperm-v4sf-1.c (dg-options): Use -msse. - -2009-12-01 Jakub Jelinek <jakub@redhat.com> - - PR c++/42234 - * g++.dg/gomp/pr42234.C: New test. - -2009-12-01 Martin Jambor <mjambor@suse.cz> - - PR tree-optimization/42237 - * gcc.c-torture/compile/pr42237.c: New test. - -2009-12-01 Paolo Carlini <paolo.carlini@oracle.com> - - PR c++/42057 - * g++.dg/parse/crash54.C: New. - -2009-11-30 Chao-ying Fu <fu@mips.com> - - * gcc.target/mips/dsp-lhx.c: New test. - * gcc.target/mips/dsp-no-lhx.c: New test. - -2009-11-30 Dave Korn <dave.korn.cygwin@gmail.com> - - * lib/g++.exp (g++_init): Add host-dependent settings for - LC_ALL and LANG. - * lib/gcc-dg.exp: Likewise. - * lib/options.exp: Likewise. - * lib/objc.exp (objc_init): Likewise. - * lib/gfortran.exp (gfortran_init): Likewise. - -2009-11-30 Paolo Carlini <paolo.carlini@oracle.com> - - PR c++/40371 - * g++.dg/template/crash93.C: New. - -2009-11-30 Steve Ellcey <sje@cup.hp.com> - - * gcc.dg/pr41551.c: New test. - -2009-11-30 Janus Weil <janus@gcc.gnu.org> - - PR fortran/42053 - * gfortran.dg/select_type_9.f03: New. - -2009-11-30 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41631 - * gfortran.dg/extends_type_of_1.f03: Fix invalid test case. - * gfortran.dg/module_md5_1.f90: Adjusted MD5 sum. - * gfortran.dg/select_type_1.f03: Remove FIXMEs. - * gfortran.dg/select_type_2.f03: Ditto. - * gfortran.dg/select_type_8.f03: New test. - -2009-11-30 Janus Weil <janus@gcc.gnu.org> - - * gfortran.dg/extends_type_of_1.f03: New test. - * gfortran.dg/same_type_as_1.f03: Extended. - -2009-11-30 Paul Thomas <pault@gcc.gnu.org> - - * gfortran.dg/class_4c.f03: Add dg-additional-sources. - * gfortran.dg/class_4d.f03: Rename module. Cleanup modules. - -2009-11-30 Janis Johnson <janis187@us.ibm.com> - - PR testsuite/42212 - * gcc.target/powerpc/regnames-1.c: Add missing brace dg-do. - -2009-11-30 Martin Jambor <mjambor@suse.cz> - - PR middle-end/42196 - * gcc.c-torture/compile/pr42196-1.c: New test. - * gcc.c-torture/compile/pr42196-2.c: New test. - * gcc.c-torture/compile/pr42196-3.c: New test. - -2009-11-30 Ira Rosen <irar@il.ibm.com> - - * gfortran.dg/vect/vect-7.f90: New test. - -2009-11-30 Richard Guenther <rguenther@suse.de> - - PR middle-end/42119 - PR fortran/38530 - * gfortran.dg/pr42119.f90: New testcase. - -2009-11-30 Dodji Seketeli <dodji@redhat.com> - - PR c++/42069 - * g++.dg/template/typedef23.C: New test. - -2009-11-29 H.J. Lu <hongjiu.lu@intel.com> - - PR tree-optimization/41961 - * g++.dg/tree-ssa/pr41961.C: New. - -2009-11-29 Ira Rosen <irar@il.ibm.com> - - PR tree-optimization/42193 - * gcc.dg/vect/pr42193.c: New test. - -2009-11-28 Dodji Seketeli <dodji@redhat.com> - - PR c++/36408 - * g++.dg/template/stmtexpr2.C: New test. - -2009-11-28 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/42183 - * g++.dg/torture/pr42183.C: New testcase. - -2009-11-28 Kai Tietz <kai.tietz@onevision.com> - - * gcc.dg/lto/20081210-1_0.c (uintptr_t): Use for - w64 target type 'unsigned long long'. - -2009-11-27 Martin Jambor <mjambor@suse.cz> - - PR middle-end/42006 - * gcc.c-torture/execute/pr42006.c: New test. - -2009-11-27 Paolo Carlini <paolo.carlini@oracle.com> - - PR c++/38656 - * g++.dg/cpp0x/error2.C: New. - -2009-11-27 Michael Matz <matz@suse.de> - - PR rtl-optimization/42084 - * gcc.dg/pr42084.c: New test. - -2009-11-27 Michael Matz <matz@suse.de> - - PR c++/41906 - * g++.dg/tree-ssa/pr41906.C: New testcase. - -2009-11-27 Jakub Jelinek <jakub@redhat.com> - - * gcc.dg/O16384.c: New test. - -2009-11-27 Paolo Carlini <paolo.carlini@oracle.com> - - PR c++/35112 - * g++.dg/parse/crash53.C: New. - * g++.dg/parse/error17.C: Adjust, error messages are not - duplicated anymore. - * g++.dg/template/dtor7.C: Remove xfail-ed dg-bogus directives. - -2009-11-27 Uros Bizjak <ubizjak@gmail.com> - - * gcc.target/i386/vperm-v4sf-1.c (dg-options): Use -msse2. - * gcc.target/i386/vperm-v4sf-2.c: Require effective target ssse3. - * gcc.target/i386/vperm-v4si-2.c: Ditto. - * gcc.target/i386/vperm-v4si-2x.c: Require effective target xop. - -2009-11-26 Richard Henderson <rth@redhat.com> - - * gcc.target/i386/xop-imul64-vector.c: Look for vpmulld not vpmacsdd. - -2009-11-26 Jason Merrill <jason@redhat.com> - - PR c++/42026, DR 239 - * g++.dg/lookup/koenig8.C: New. - - PR c++/10690 - * g++.dg/template/explicit-args2.C: Add typeid cases. - -2009-11-26 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR fortran/41278 - * gfortran.dg/array_function_5.f90: New test. - -2009-11-26 Janus Weil <janus@gcc.gnu.org> - - PR fortran/42048 - PR fortran/42167 - * gfortran.dg/select_type_10.f03: New test case. - * gfortran.dg/typebound_call_11.f03: Extended test case. - -2009-11-26 Michael Matz <matz@suse.de> - - PR tree-optimization/41905 - * g++.dg/tree-ssa/pr41905.C: New testcase. - -2009-11-25 Richard Henderson <rth@redhat.com> - - * gcc.dg/vect/slp-21.c: Succeed with vect_extract_even_odd too. - - * lib/target-supports.exp - (check_effective_target_vect_extract_even_odd): Add x86. - - * gcc.target/i386/isa-check.h: New. - * gcc.target/i386/vperm-2-2.inc, gcc.target/i386/vperm-4-1.inc, - gcc.target/i386/vperm-4-2.inc, gcc.target/i386/vperm-v2df.c, - gcc.target/i386/vperm-v2di.c, gcc.target/i386/vperm-v4sf-1.c, - gcc.target/i386/vperm-v4sf-2.c, gcc.target/i386/vperm-v4si-1.c, - gcc.target/i386/vperm-v4si-2.c, gcc.target/i386/vperm-v4si-2x.c, - gcc.target/i386/vperm.pl: New files. - -2009-11-25 Richard Henderson <rth@redhat.com> - - * gcc.dg/vect/pr36493.c: Call check_vect. - * gcc.dg/vect/pr37539.c: Likewise. - * gcc.dg/vect/vect-nest-cycle-3.c: Call check_vect earlier. - * tree-vect.h (check_vect): Use cpuid for x86. - -2009-11-25 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/specs/pack6.ads: New test. - * gnat.dg/specs/pack6_pkg.ads: New helper. - -2009-11-25 Jakub Jelinek <jakub@redhat.com> - - * gcc.target/powerpc/regnames-1.c: New test. - -2009-11-25 Eric Botcazou <ebotcazou@adacore.com> - John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - PR ada/42170 - * ada/acats/run_acats: Bump stack limit to 16MB. - -2009-11-25 Richard Earnshaw <rearnsha@arm.com> - - * gcc.target/arm/pr40835.c: Require a thumb1 target, do not force - -march=armv5te. - -2009-11-24 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR fortran/42008 - * gfortran.dg/pure_initializer_2.f90: New test. - -2009-11-23 Jason Merrill <jason@redhat.com> - - * g++.dg/tc1/dr147.C: Check for helpful messages. Add DR 318 tests. - * g++.old-deja/g++.pt/ctor2.C: Adjust. - * g++.dg/lookup/name-clash4.C: Adjust. - -2009-11-23 Jason Merrill <jason@redhat.com> - - * g++.dg/template/spec15.C: Check for helpful message. - -2009-11-24 Janis Johnson <janis187@us.ibm.com> - - * gcc.target/powerpc/altivec-32.c: Don't use -m64. - * gcc.target/powerpc/const-compare.c: Require lp64, don't use -m64. - * gcc.target/powerpc/darwin-bool-1.c: Require ilp32, remove dg-skip-if. - * gcc.target/powerpc/paired-1.c: Require ilp32, don't use -m32. - * gcc.target/powerpc/paired-2.c: Ditto. - * gcc.target/powerpc/paired-3.c: Ditto. - * gcc.target/powerpc/paired-4.c: Ditto. - * gcc.target/powerpc/paired-5.c: Ditto. - * gcc.target/powerpc/paired-6.c: Ditto. - * gcc.target/powerpc/paired-7.c: Ditto. - * gcc.target/powerpc/paired-8.c: Ditto. - * gcc.target/powerpc/paired-9.c: Ditto. - * gcc.target/powerpc/paired-10.c: Ditto. - * gcc.target/powerpc/popcount-2.c: Don't use -m32. - * gcc.target/powerpc/popcount-3.c: Don't use -m64. - * gcc.target/powerpc/ppc-paired.c: Require ilp32, don't use -m32. - * gcc.target/powerpc/pr39457.c: Don't use -m64. - * gcc.target/powerpc/vsx-vector-1.c: Ditto. - * gcc.target/powerpc/vsx-vector-2.c: Ditto. - * gcc.target/powerpc/vsx-vector-3.c: Ditto. - * gcc.target/powerpc/vsx-vector-4.c: Ditto. - -2009-11-24 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> - - * g++.dg/debug/dwarf2/anonname1.C: Escape backslash in - scan-assembler-not regular expression. - -2009-11-24 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/42142 - * gcc.c-torture/execute/pr42142.c: New testcase. - -2009-11-24 Martin Jambor <mjambor@suse.cz> - - PR tree-optimization/42154 - * gcc.c-torture/execute/pr42154.c: New test. - -2009-11-24 Janus Weil <janus@gcc.gnu.org> - - PR fortran/42045 - * gfortran.dg/proc_ptr_comp_2.f90: Correct invalid test case. - * gfortran.dg/proc_ptr_comp_3.f90: Extended test case. - * gfortran.dg/proc_ptr_comp_24.f90: New. - -2009-11-23 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> - - * gcc.c-torture/execute/pr40404.c: Use long for bitfield on 16bit - int targets. - -2009-11-23 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> - - * gcc-dg/Wtype-limits.c: Add line to correct line numbers. - -2009-11-23 H.J. Lu <hongjiu.lu@intel.com> - - PR testsuite/42086 - * gcc.target/ia64/fptr-1.c: Make it a compile test. - -2009-11-23 Janis Johnson <janis187@us.ibm.com> - - * lib/lto.exp (lto_option_list): Rename from option_list. - * lib/compat.exp (compat_option_list): Rename from option_list. - -2009-11-23 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> - - * gcc-dg/raw-string-1.c: Require-effective-target wchar. - * gcc-dg/raw-string-2.c: Ditto. - * gcc-dg/utf-array-short-wchar.c: Ditto. - * gcc-dg/utf-array.c: Ditto. - * gcc-dg/utf8-2.c: Ditto. - -2009-11-23 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> - - * gcc.dg/torture/pr37868.c: Use smaller bitfield for 16bit int - targets. - -2009-11-23 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> - - * gcc.dg/tree-ssa/pr33920.c: Remove warning check for 16 bit target. - -2009-11-23 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> - - * gcc-dg/Wtype-limits.c: Remove XFAIL for avr target. - -2009-11-23 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> - - PR testsuite/36470 - * gcc.dg/utf-cvt.c: Skip int test for 16bit int targets. - Enable short test for avr target. - * gcc.dg/utf32-1.c: Enable test for avr and m32 targets. - * gcc.dg/utf32-2.c: Ditto. - * gcc.dg/utf32-3.c: Ditto. - * gcc.dg/utf32-4.c: Enable test for non-32bit targets. - -2009-11-23 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> - - * gcc.dg/tree-ssa/asmgoto-1.c: Suppress warnings. - -2009-11-23 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> - - * gcc.c-torture/execute/ipa-sra-2.x: New. Skip for 16bit targets. - - -2009-11-23 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> - - * gcc.dg/sms-6.c: Use long for 16 bit int targets. - * gcc.dg/sms-7.c: Ditto. - -2009-11-23 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> - - * gcc.dg/pr36998.c: Frame pointer required for avr target. - * gcc.dg/debug/pr41264-1.c: Use long if int size 16bit or smaller. - * gcc.dg/pr39226.c: Use smaller bitfield if int size is 16bit. - * gcc.dg/pr41340.c: Test requires long pointer target. - * gcc.dg/profile-generate-3.c: Test requires profiling support. - -2009-11-23 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> - - * gcc.dg/graphite/block-1.c: Require 32-bit or larger array support. - * gcc.dg/graphite/block-3.c: Ditto. - * gcc.dg/graphite/block-4.c: Ditto. - * gcc.dg/graphite/block-5.c: Ditto. - * gcc.dg/graphite/block-6.c: Ditto. - * gcc.dg/graphite/interchange-0.c: Ditto. - * gcc.dg/graphite/interchange-1.c: Ditto. - * gcc.dg/graphite/interchange-2.c: Ditto. - * gcc.dg/graphite/interchange-3.c: Ditto. - * gcc.dg/graphite/interchange-4.c: Ditto. - * gcc.dg/graphite/interchange-5.c: Ditto. - * gcc.dg/graphite/interchange-6.c: Ditto. - * gcc.dg/graphite/run-id-1.c: Ditto. - * gcc.dg/graphite/scop-16.c: Ditto. - * gcc.dg/graphite/scop-17.c: Ditto. - * gcc.dg/graphite/scop-18.c: Ditto. - * gcc.dg/graphite/scop-matmult.c: Ditto. - * gcc.dg/graphite/pr40157.c: Require 32bit or larger int. - * gcc.dg/graphite/id-15.c: Ditto. - -2009-11-23 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/specs/weak1.ads: New test. - -2009-11-23 Steve Ellcey <sje@cup.hp.com> - - * gcc.dg/debug/dwarf2/inline2.c: Modify scan. - -2009-11-23 Dodji Seketeli <dodji@redhat.com> - - PR c++/14777 - * g++.dg/template/typedef13.C: Adjust. - * g++.dg/template/typedef19.C: Adjust. - * g++.dg/template/typedef20.C: Adjust. - * g++.dg/template/typedef22.C: New test. - -2009-11-22 Uros Bizjak <ubizjak@gmail.com> - - PR target/42113 - * gcc.target/alpha/pr42113.c: New test. - -2009-11-21 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR fortran/41807 - * gfortran.dg/data_value_1.f90: Update test. - * gfortran.dg/array_constructor_32.f90: New test. - -2009-11-21 Martin Jambor <mjambor@suse.cz> - - PR middle-end/42025 - * gcc.c-torture/compile/pr42025-1.c: New test. - * gcc.c-torture/compile/pr42025-2.c: New test. - -2009-11-21 Adam Nemet <adambnemet@gmail.com> - - * gcc.target/mips/mult-1.c: Forbid octeon. - * gcc.target/mips/octeon-dmul-3.c: New test. - -2009-11-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * gcc.dg/tree-ssa/vrp47.c: Fix target check. - -2009-11-20 Jason Merrill <jason@redhat.com> - - PR c++/9050, DR 147, DR 318 - * g++.dg/template/ctor9.C: New. - * g++.dg/tc1/dr147.C: Remove xfails. - * g++.dg/lookup/name-clash4.C: Adjust. - * g++.old-deja/g++.jason/temporary5.C: Adjust. - * g++.old-deja/g++.pt/ctor2.C: Adjust. - -2009-11-21 Jakub Jelinek <jakub@redhat.com> - - PR tree-optimization/42078 - * gcc.dg/pr42078.c: New test. - -2009-11-20 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> - - PR Testsuite/42114 - * gcc-dg/c99-stdint-1.c: Condition test for target without signal.h. - XFAIL ptrdiff range test for avr. - * gcc-dg/c99-stdint-2.c: XFAIL for avr target. - * gcc-dg/c99-stdint-5.c: Condition test for target without signal.h. - * gcc-dg/c99-stdint-6.c: Ditto. - -2009-11-20 Michael Meissner <meissner@linux.vnet.ibm.com> - - * gcc/testsuite/gcc.target/powerpc/vsx-vrsave.c: Delete, - 2009-10-23 change to set VRSAVE if VSX has been reverted. - -2009-11-20 Simon Martin <simartin@users.sourceforge.net> - - PR c++/38646 - * g++.dg/cpp0x/pr38646.C: New test. - -2009-11-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> - - * gcc.dg/c99-stdint-6.c: Set dg-options for alpha*-dec-osf5*. - Wrap *int_least*_t tests in !NO_LEAST_TYPES. - Wrap *intmax_t tests in !NO_MAX_TYPES. - -2009-11-20 Paolo Carlini <paolo.carlini@oracle.com> - - PR c++/42060 - * g++.dg/cpp0x/initlist28.C: New. - -2009-11-20 H.J. Lu <hongjiu.lu@intel.com> - - * gfortran.dg/proc_ptr_comp_23.f90: Add a missing space. - -2009-11-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * gcc.dg/tree-ssa/vrp47.c: Skip on S/390. - -2009-11-20 Shujing Zhao <pearly.zhao@oracle.com> - - * g++.old-deja/g++.jason/rfg20.C: Make expected dg-error strings - explicit. - * g++.old-deja/g++.rfg/00321_01-.C: Likewise. - * g++.old-deja/g++.rfg/00324_02-.C: Likewise. - * g++.old-deja/g++.law/typeck1.C: Likewise. - * g++.old-deja/g++.bugs/900324_02.C: Likewise. - * g++.dg/conversion/ptrmem9.C: Likewise. - * g++.dg/expr/cond2.C: Likewise. - -2009-11-20 Paul Thomas <pault@gcc.gnu.org> - Janus Weil <janus@gcc.gnu.org> - - PR fortran/42104 - * gfortran.dg/proc_ptr_comp_23.f90: New test. - -2009-11-19 Jason Merrill <jason@redhat.com> - - PR c++/42115 - * g++.dg/init/placement5.C: Add positive test. - - DR 176 permissiveness - * g++.dg/ext/injected-ttp.C: New. - * g++.old-deja/g++.pt/niklas01a.C: Adjust. - * g++.old-deja/g++.pt/ttp41.C: Adjust. - -2009-11-19 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> - - * gcc.c-torture/compile/pr40204.c: Test only for int32 target. - * gcc.c-torture/compile/pr41181.c: Skip test for avr target. - -2009-11-19 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> - - * gcc-dg/raw-string-1.c: Skip test for avr target. - * gcc-dg/utf-array-short-wchar.c: Ditto. - * gcc-dg/utf-array.c: Ditto. - * gcc-dg/utf8-2.c: Ditto. - -2009-11-19 Rafael Avila de Espindola <espindola@google.com> - - * g++.dg/plugin/selfassign.c: Include plugin-version.h. - (plugin_init): Pass correct version to plugin_default_version_check. - * gcc.dg/plugin/ggcplug.c: Include plugin-version.h. - (plugin_init): Pass correct version to plugin_default_version_check. - * gcc.dg/plugin/selfassign.c: Include plugin-version.h. - (plugin_init): Pass correct version to plugin_default_version_check. - -2009-11-19 Jason Merrill <jason@redhat.com> - - PR c++/561 - * g++.dg/overload/pmf2.C: New. - -2009-11-18 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR libgfortran/42090 - * gfortran.dg/direct_io_11.f90: New test. - -2009-11-18 H.J. Lu <hongjiu.lu@intel.com> - - * gcc.misc-tests/linkage.exp: Also check -m32 for i*86-*-linux*. - -2009-11-18 Nick Clifton <nickc@redhat.com> - - * g++.dg/lto/20091002-1_0.C: Replace -shared with -r -nostlib. - * g++.dg/lto/20081120-1_0.C: Likewise. - * g++.dg/lto/20091002-2_0.C: Likewise. - * g++.dg/lto/20081120-2_0.C: Likewise. - * g++.dg/lto/20091002-3_0.C: Likewise. - * g++.dg/lto/20081123_0.C: Likewise. - * g++.dg/lto/20090313_0.C: Likewise. - * g++.dg/lto/20081109-1_0.C: Likewise. - * g++.dg/lto/20081219_0.C: Likewise. - * g++.dg/lto/20081204-1_0.C: Likewise. - * g++.dg/lto/20090302_0.C: Likewise. - * g++.dg/lto/20081119-1_0.C: Likewise. - * g++.dg/lto/20081118_0.C: Likewise. - -2009-11-18 H.J. Lu <hongjiu.lu@intel.com> - - PR testsuite/41913 - * lib/lto.exp (scan-symbol): Properly check if target exist. - -2009-11-18 Janus Weil <janus@gcc.gnu.org> - - PR fortran/42072 - * gfortran.dg/proc_ptr_8.f90: Extended. - -2009-11-18 Shujing Zhao <pearly.zhao@oracle.com> - - * g++.old-deja/g++.other/crash28.C: Make expected dg-error strings - explicit. - * g++.dg/inherit/error4.C: Likewise. - * g++.dg/template/crash90.C: Likewise. - -2009-11-18 Jakub Jelinek <jakub@redhat.com> - - PR c++/3187 - * g++.dg/abi/mangle26.C: Also match *C2* definition. - * g++.dg/abi/mangle27.C: Likewise. - * g++.dg/abi/mangle28.C: Likewise. - * g++.dg/abi/mangle29.C: Likewise. - -2009-11-18 Alexandre Oliva <aoliva@redhat.com> - - PR debug/41926 - * gcc.dg/vect/vect-debug-pr41926.c: New. - -2009-11-17 Paolo Carlini <paolo.carlini@oracle.com> - - PR c++/42058 - * g++.dg/init/array26.C: New. - * g++.dg/init/array27.C: Likewise. - * g++.old-deja/g++.benjamin/13478.C: Adjust dg-errors. - -2009-11-17 Jakub Jelinek <jakub@redhat.com> - - PR c++/42061 - * g++.dg/cpp0x/initlist27.C: New test. - - PR c++/42059 - * g++.dg/cpp0x/initlist26.C: New test. - -2009-11-16 Jason Merrill <jason@redhat.com> - - PR c++/189, c++/9937, c++/13950, DR 176 - * g++.dg/tc1/dr176.C: Adjust. - * g++.dg/template/injected1.C: New. - * g++.dg/template/inherit.C: Adjust. - * g++.old-deja/g++.brendan/crash56.C: Adjust. - * g++.old-deja/g++.pt/lookup8.C: Adjust. - * g++.old-deja/g++.pt/ttp22.C: Adjust. - * g++.old-deja/g++.pt/ttp23.C: Adjust. - -2009-11-16 Paolo Carlini <paolo.carlini@oracle.com> - - PR c++/42055 - * g++.dg/template/crash92.C: New. - -2009-11-16 Paolo Carlini <paolo.carlini@oracle.com> - - PR c++/32056 - * g++.dg/template/error44.C: New. - -2009-11-16 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * gcc.c-torture/execute/pr41919.c: Mark chars explicitely as signed. - -2009-11-15 Janus Weil <janus@gcc.gnu.org> - - PR fortran/42048 - * gfortran.dg/typebound_call_11.f03: New test. - -2009-11-15 Hans-Peter Nilsson <hp@axis.com> - - * gcc.dg/lto/lto.exp: For non-lto, bail out before calling - init functions. - -2009-11-13 Jason Merrill <jason@redhat.com> - - PR c++/27425 - PR c++/34274 - * g++.dg/template/arg7.C: New. - - PR c++/29363 - * g++.dg/template/error43.C: New. - - PR debug/26965 - * g++.dg/debug/dwarf2/static-data-member2.C: New. - - PR c++/35075 - * g++.dg/template/ref5.C: New. - - PR c++/21008, DR 515 - * g++.dg/template/inherit4.C: New. - * g++.dg/lookup/scoped8.C: Adjust. - - PR c++/11987 - * g++.dg/parse/typename11.C: New. - * g++.dg/template/crash48.C: Adjust. - -2009-11-13 Uros Bizjak <ubizjak@gmail.com> - - PR testsuite/42001 - * g++.dg/lto/lto.exp: Pass no-mathlib to lto_init. Call - lto_finish at the end. - * gfortran.dg/lto/lto.exp: Ditto. - -2009-11-12 Jason Merrill <jason@redhat.com> - - PR c++/39560 - * g++.dg/lookup/anon7.C: New. - - PR c++/37037 - * g++.dg/template/typedef21.C: New. - - PR c++/42013 - * g++.dg/cpp0x/decltype19.C: New. - -2009-11-11 Jason Merrill <jason@redhat.com> - - PR c++/39131 - * g++.dg/dfp/typeid1.C: New. - -2009-11-11 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41978 - * gfortran.dg/proc_ptr_comp_22.f90: New test. - -2009-11-11 H.J. Lu <hongjiu.lu@intel.com> - - PR testsuite/42001 - * gcc.dg/lto/lto.exp: Pass no-mathlib to lto_init. Call - lto_finish at the end. - - * lib/lto.exp (lto_init): Set mathlib to " " for no-mathlib. - (lto_finish): New. Restore mathlib. - -2009-11-11 Kai Tietz <kai.tietz@onevision.com> - - * g++.dg/torture/pushpop_macro.C: New testcase. - * gcc.c-torture/execute/pushpop_macro.c: New testcase. - * gcc.dg/cpp/pragma-pop_macro-1.c: Allow test for all targets. - -2009-11-11 Jon Beniston <jon@beniston.com> - - * lib/target-supports.exp (check_profiling_available): lm32 target - doesn't support profiling. - * gcc.dg/20020312-2.c: Add lm32 support. - * g++.dg/other/packed1.C: Expect to fail on lm32. - * g++.old-deja/g++.jason/thunk3.C: Likewise. - -2009-11-11 Daniel Jacobowitz <dan@codesourcery.com> - - * gcc.target/arm/neon: Regenerate generated tests. - -2009-11-10 Jason Merrill <jason@redhat.com> - - * g++.dg/init/placement5.C: New. - - PR c++/34158 - * g++.dg/init/placement4.C: New. - -2009-11-10 Eric Botcazou <ebotcazou@adacore.com> - - * gcc.dg/vect/vect-multitypes-5.c: XFAIL on SPARC 32-bit. - * gcc.dg/vect/vect-multitypes-6.c: Likewise. - * gcc.dg/vect/vect-multitypes-12.c: Likewise. - * gcc.dg/vect/slp-multitypes-3.c: Likewise. - -2009-11-10 Eric Botcazou <ebotcazou@adacore.com> - - * gcc.c-torture/execute/ipa-sra-2.c: Use calloc instead of malloc. - * gcc.dg/pr41963.c: Do not include math.h. Declare fabsf manually. - -2009-11-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * gcc.c-torture/compile/pr41987.c: New. - -2009-11-09 Jakub Jelinek <jakub@redhat.com> - - PR middle-end/40946 - * gcc.dg/pr40946.c: New test. - -2009-11-09 Jason Merrill <jason@redhat.com> - - PR c++/41972 - * g++.dg/template/ref4.C: New. - - PR c++/41994 - * g++.dg/template/conv10.C: New. - -2009-11-07 Jason Merrill <jason@redhat.com> - - PR c++/37920 - * g++.dg/ext/typeof11.C: New. - -2009-11-08 Jakub Jelinek <jakub@redhat.com> - - PR target/41985 - * gcc.target/i386/pr41985.c: New test. - -2009-11-08 Richard Guenther <rguenther@suse.de> - - * gcc.dg/torture/pta-escape-1.c: New testcase. - -2009-11-08 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/rep_clause4.adb: New test. - -2009-11-08 Richard Guenther <rguenther@suse.de> - - PR rtl-optimization/41928 - * gfortran.dg/pr41928.f90: New testcase. - -2009-11-07 Jason Merrill <jason@redhat.com> - - PR c++/18451 - PR c++/40738 - * g++.dg/parse/error36.C: Add parameter and template cases. - * g++.dg/cpp0x/variadic-ex1.C: Update expected errors. - * g++.dg/ext/typedef-init.C: Likewise. - * g++.dg/lookup/hidden-class1.C: Likewise. - * g++.dg/lookup/hidden-class10.C: Likewise. - * g++.dg/lookup/hidden-class5.C: Likewise. - * g++.dg/lookup/hidden-class7.C: Likewise. - * g++.dg/lookup/hidden-temp-class1.C: Likewise. - * g++.dg/lookup/hidden-temp-class4.C: Likewise. - * g++.dg/lookup/hidden-temp-class7.C: Likewise. - * g++.dg/lookup/strong-using-2.C: Likewise. - * g++.dg/other/typedef1.C: Likewise. - * g++.dg/parse/access10.C: Likewise. - * g++.dg/parse/constructor1.C: Likewise. - * g++.dg/parse/crash38.C: Likewise. - * g++.dg/parse/error3.C: Likewise. - * g++.dg/parse/typespec1.C: Likewise. - * g++.dg/template/typedef5.C: Likewise. - * g++.old-deja/g++.pt/typename3.C: Likewise. - * g++.old-deja/g++.pt/typename4.C: Likewise. - * g++.old-deja/g++.pt/typename6.C: Likewise. - * g++.old-deja/g++.robertl/eb94.C: Likewise. - - * g++.dg/abi/regparm1.C: Fix execute test. - -2009-11-07 Jakub Jelinek <jakub@redhat.com> - - PR tree-optimization/41643 - * gcc.dg/pr41643.c: New test. - -2009-11-06 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR fortran/41909 - * gfortran.dg/recursive_check_15.f90: New test. - -2009-11-06 Jason Merrill <jason@redhat.com> - - PR c++/15946 - * g++.dg/parse/error36.C: New. - * g++.old-deja/g++.other/typename1.C: Adjust. - - PR c++/9381 - * g++.dg/abi/regparm1.C: New. - -2009-11-06 Basile Starynkevitch <basile@starynkevitch.net> - - * g++.dg/plugin/pragma_plugin-test-1.C: new testcase for - PLUGIN_PRAGMAS. - * g++.dg/plugin/pragma_plugin.c: new test plugin for PLUGIN_PRAGMAS. - * g++.dg/plugin/plugin.exp (plugin_test_list): Add pragma_plugin.c - and pragma_plugin-test-1.C. - -2009-11-06 Andrew Pinski <andrew_pinski@playstation.sony.com> - - PR c++/41536 - * g++.dg/ext/always_inline-5.C: New test. - -2009-11-06 Jakub Jelinek <jakub@redhat.com> - - PR c++/41967 - * g++.dg/gomp/pr41967.C: New test. - -2009-11-06 Michael Matz <matz@suse.de> - - PR middle-end/41963 - * gcc.dg/pr41963.c: New test. - -2009-11-06 Jakub Jelinek <jakub@redhat.com> - - PR middle-end/41935 - * gcc.dg/pr41935.c: New test. - * c-c++-common/pr41935.c: New test. - * c-c++-common/builtin-offsetof.c (f0): Allow index one past the last - element. - * gcc.c-torture/execute/pr41935.c: New test. - -2009-11-05 Jason Merrill <jason@redhat.com> - - PR c++/34180 - * g++.dg/init/synth2.C: New. - - PR c++/7046 - * g++.dg/abi/pragma-pack1.C: New. - - PR c++/34870 - * g++.dg/lookup/koenig7.C: New. - - PR c++/41703 - * g++.dg/template/partial6.C: New. - -2009-11-05 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41556 - * gfortran.dg/class_12.f03: New test. - -2009-11-05 Jakub Jelinek <jakub@redhat.com> - - * gcc.target/i386/i386.exp (check_effective_target_xop): Fix typo - in builtin's name. - -2009-11-04 Jason Merrill <jason@redhat.com> - - PR c++/36912 - * g++.dg/init/static-init2.C: New. - -2009-11-05 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41556 - PR fortran/41873 - * gfortran.dg/interface_abstract_4.f90: New test. - -2009-11-05 Maxim Kuvyrkov <maxim@codesourcery.com> - - * gcc.target/m68k/pr41302.c: Fix target triplet. - -2009-11-04 Jason Merrill <jason@redhat.com> - - PR c++/39413 - * g++.dg/template/overload11.C: New. - * g++.dg/template/nested3.C: Adjust. - -2009-11-04 Eric Botcazou <ebotcazou@adacore.com> - - PR ada/20548 - * ada/acats/norun.lst: Remove the stack checking tests. - * ada/acats/run_acats: Limit the stack to 8MB. - -2009-11-04 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41556 - PR fortran/41937 - * gfortran.dg/class_11.f03: New test. - -2009-11-04 Jason Merrill <jason@redhat.com> - - PR c++/35067 - * g++.dg/abi/thunk5.C: New. - -2009-11-04 Andrew Pinski <andrew_pinski@playstation.sony.com> - - PR rtl-opt/41833 - * gcc.target/powerpc/altivec-33.c: New testcase. - -2009-11-04 Jason Merrill <jason@redhat.com> - - PR c++/17365, DR 218 - * g++.dg/lookup/koenig6.C: New. - * g++.dg/lookup/koenig5.C: Adjust. - * g++.dg/template/crash56.C: Adjust. - * g++.old-deja/g++.ns/koenig5.C: Adjust. - -2009-11-04 Harsha Jagasia <harsha.jagasia@amd.com> - Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> - - * gcc.target/i386/xop-check.h: New file. - * gcc.target/i386/xop-hadduX.c: Ditto. - * gcc.target/i386/xop-haddX.c: Ditto. - * gcc.target/i386/xop-hsubX.c: Ditto. - * gcc.target/i386/xop-imul32widen-vector.c: Ditto. - * gcc.target/i386/xop-imul32widen-vector.c: Ditto. - * gcc.target/i386/xop-pcmov2.c: Ditto. - * gcc.target/i386/xop-pcmov.c: Ditto. - * gcc.target/i386/xop-rotate1-vector.c: Ditto. - * gcc.target/i386/xop-rotate2-vector.c: Ditto. - * gcc.target/i386/xop-rotate3-vector.c: Ditto. - * gcc.target/i386/xop-shift1-vector.c: Ditto. - * gcc.target/i386/xop-shift2-vector.c: Ditto. - * gcc.target/i386/xop-shift3-vector.c: Ditto. - * gcc.target/i386/i386.exp: Add check_effective_target_xop. - * gcc.target/i386/sse-12.c: Update with new compile options to - activate and check xopintrin.h intrinsic file. - * gcc.target/i386/sse-13.c: Ditto. - * gcc.target/i386/sse-14.c: Ditto. - * gcc.target/i386/sse-22.c: Ditto. - * gcc.target/i386/sse-23.c: Ditto. - * g++.dg/other/i386-2.C: Ditto. - * g++.dg/other/i386-3.C: Ditto. - * g++.dg/other/i386-5.C: Ditto. - * g++.dg/other/i386-6.C: Ditto. - -2009-11-04 Wei Guozhi <carrot@google.com> - - PR target/40835 - * gcc.target/arm/pr40835: New testcase. - -2009-11-04 Revital Eres <eres@il.ibm.com> - - * gcc.target/powerpc/vsx-vectorize-3.c: Adjust tetcase following - change in decision of peeling for alignment. - * gcc.target/powerpc/vsx-vectorize-5.c: Likewise. - * gcc.dg/vect/vect-50.c: Likewise. - * gcc.dg/vect/vect-42.c: Likewise. - * gcc.dg/vect/costmodel/i386/costmodel-fast-math-vect-pr29925.c: - Likewise. - * gcc.dg/vect/costmodel/x86_64/costmodel-fast-math-vect-pr29925.c: - Likewise. - * gcc.dg/vect/vect-multitypes-6.c: Likewise. - * gcc.dg/vect/vect-60.c: Likewise. - * gcc.dg/vect/vect-52.c: Likewise. - * gcc.dg/vect/vect-44.c: Likewise. - * gcc.dg/vect/vect-27.c: Likewise. - * gcc.dg/vect/vect-29.c: Likewise. - * gcc.dg/vect/vect-72.c: Likewise. - * gcc.dg/vect/vect-56.c: Likewise. - * gcc.dg/vect/vect-48.c: Likewise. - * gcc.dg/vect/vect-multitypes-3.c: Likewise. - * gfortran.dg/vect/vect-2.f90: Likewise. - * gfortran.dg/vect/vect-5.f90: Likewise. - -2009-11-04 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/41919 - * gcc.c-torture/execute/pr41919.c: New testcase. - -2009-11-04 Carlos O'Donell <carlos@codesourcery.com> - - PR target/41302 - * gcc.target/m68k/pr41302.c: New test. - -2009-11-03 Jason Merrill <jason@redhat.com> - - PR c++/36959 - * g++.dg/opt/inline16.C: New. - -2009-11-03 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/stack_check.adb1: New test. - * gnat.dg/stack_check.adb2: Likewise. - -2009-11-03 Jakub Jelinek <jakub@redhat.com> - - PR rtl-optimization/41917 - * gcc.c-torture/execute/pr41917.c: New test. - -2009-11-03 Uros Bizjak <ubizjak@gmail.com> - - * gcc.target/i386/pr41900.c: Make test compile only. Scan assembler - dump to not include "call *%esp". - -2009-11-03 Jason Merrill <jason@redhat.com> - - PR c++/39786 - * g++.dg/lookup/using22.C: New. - - PR c++/41876 - * g++.dg/parse/eh-decl.C: New. - - PR c++/41927 - * g++.dg/template/sfinae16.C: New. - - PR c++/41815 - * g++.dg/cpp0x/rv-return.C: New. - * g++.dg/cpp0x/deduce.C: Adjust. - - PR c++/40944 - * g++.dg/template/sfinae15.C: New. - - PR c++/40687 - * g++.dg/cpp0x/auto3.C: Remove xfail. - -2009-11-03 Tobias Burnus <burnus@net-b.de> - - PR fortran/41907 - * gfortran.dg/missing_optional_dummy_6.f90: New test. - -2009-11-03 Nick Clifton <nickc@redhat.com> - - * gcc.target/rx/builtins.c: Remove redundant tests. - Add test of MVTIPL instruction. - * gcc.target/rx/interrupts.c: Use fast_interrupt and interrupt - function attributes. Add -msave-acc-in-interrupts option to the - command line. - -2009-11-03 Andrew Stubbs <ams@codesourcery.com> - Maxim Kuvyrkov <maxim@codesourcery.com> - - * g++.dg/torture/pr36191.C: Don't run with -fomit-frame-pointer on - sh, m68k and fido. - -2009-11-03 Dodji Seketeli <dodji@redhat.com> - - PR c++/38699 - * c-c++-common/dfp/builtin-offsetof.c: Moved to ... - * c-c++-common/builtin-offsetof.c: ... here. - -2009-11-03 Dodji Seketeli <dodji@redhat.com> - - PR c++/38699 - * c-c++-common/dfp/builtin-offsetof.c: New test. - * g++.dg/other/offsetof6.C: Likewise. - -2009-11-03 Uros Bizjak <ubizjak@gmail.com> - - PR target/41900 - * gcc.target/i386/pr41900.c: New test. - -2009-11-02 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> - - * gcc.c-torture/execute/pr40668.c: Correct for 16bit int size. - -2009-11-02 Dodji Seketeli <dodji@redhat.com> - - PR c++/41856 - * g++.dg/lookup/extern-c-redecl3.C: Make the test x86 only. - * g++.dg/lookup/extern-c-redecl4.C: Likewise. - -2009-11-02 Dodji Seketeli <dodji@redhat.com> - - PR c++/37093 - * g++.dg/other/ptrmem10.C: New test. - * g++.dg/other/ptrmem11.C: Likewise. - -2009-11-02 Janis Johnson <janis187@us.ibm.com> - - PR testsuite/41878 - * gfortran.dg/vect/vect-2.f90: Fix effective-target expression, add - spaces in some expressions. - -2009-11-02 Jason Merrill <jason@redhat.com> - - * g++.dg/other/linkage2.C: Move to... - * g++.dg/cpp0x/linkage2.C: ..here. - * g++.dg/abi/mangle32.C: Add -std=c++0x. - * g++.dg/cpp0x/nolinkage1.C: Likewise. - * g++.dg/debug/dwarf2/anonname1.C: Likewise. - * g++.dg/ext/anon-struct4.C: Revert earlier change. - * g++.dg/lookup/anon2.C: Likewise. - * g++.dg/other/anon3.C: Likewise. - * g++.dg/template/arg2.C: Likewise. - * g++.dg/template/local4.C: Likewise. - * g++.old-deja/g++.law/operators32.C: Likewise. - * g++.old-deja/g++.other/linkage2.C: Likewise. - * g++.old-deja/g++.pt/enum6.C: Likewise. - * g++.old-deja/g++.other/anon9.C: Likewise. - * g++.old-deja/g++.other/linkage1.C: Likewise. - * c-c++-common/dfp/pr35620.c: Give the union a name. - -2009-11-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> - - PR tree-optimization/41857 - * gcc.target/spu/ea/pr41857.c: New file. - -2009-11-02 Martin Jambor <mjambor@suse.cz> - - PR tree-optimization/41750 - * gcc.c-torture/execute/pr41750.c: New test. - -2009-11-02 Jakub Jelinek <jakub@redhat.com> - - PR tree-optimization/41841 - * gcc.dg/pr41841.c: New test. - - PR debug/41893 - * gcc.dg/debug/pr41893-1.c: New test. - * gcc.dg/debug/pr41893-2.c: New file. - - PR c++/41774 - * g++.dg/ext/visibility/namespace3.C: New test. - -2009-11-01 Jason Merrill <jason@redhat.com> - - * gcc.dg/tree-ssa/restrict-1.c: Move to c-c++-common. - * gcc.dg/tree-ssa/restrict-2.c: Move to c-c++-common. - * gcc.dg/tree-ssa/restrict-4.c: Move to c-c++-common. - -2009-11-01 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/opt5.adb: New test. - -2009-11-01 Tobias Burnus <burnus@net-b.de> - - PR fortran/41872 - * gfortran.dg/allocatable_scalar_4.f90: New test. - -2009-11-01 Tobias Burnus <burnus@net-b.de> - - PR fortran/41850 - * gfortran.dg/intent_out_6.f90: New testcase. - -2009-10-31 Richard Guenther <rguenther@suse.de> - - * g++.dg/tree-ssa/restrict1.C: New. - -2009-10-31 Jason Merrill <jason@redhat.com> - - * g++.dg/rtti/typeid9.C: New. - - PR c++/41754 - * g++.dg/cpp0x/initlist25.C: New. - -2009-10-31 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/specs/rep_clause4.ads: New test. - -2009-10-30 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> - - PR target/41885 - * gcc.target/avr/torture/pr41885.c: New test. - -2009-10-30 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/specs/pack5.ads: New test. - -2009-10-30 Andrew Jenner <andrew@codesourcery.com> - - * lib/target-supports.exp: Handle powerpc-*-elf. - -2009-10-30 H.J. Lu <hongjiu.lu@intel.com> - - PR target/40838 - * gcc.target/i386/incoming-6.c: New. - * gcc.target/i386/incoming-7.c: Likewise. - * gcc.target/i386/incoming-8.c: Likewise. - * gcc.target/i386/incoming-9.c: Likewise. - * gcc.target/i386/incoming-10.c: Likewise. - * gcc.target/i386/incoming-11.c: Likewise. - * gcc.target/i386/incoming-12.c: Likewise. - * gcc.target/i386/incoming-13.c: Likewise. - * gcc.target/i386/incoming-14.c: Likewise. - * gcc.target/i386/incoming-15.c: Likewise. - * gcc.target/i386/pr37843-4.c: Likewise. - -2009-10-30 Dodji Seketeli <dodji@redhat.com> - - PR c++/41863 - * g++.dg/template/sizeof12.C: New test. - -2009-10-29 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/pack14.adb: New test. - -2009-10-29 David Daney <ddaney@caviumnetworks.com> - - * gcc.target/mips/mips.exp (mips_option_groups): Add - mcount-ra-address. - * gcc.target/mips/mmcount-ra-address-1.c: New test. - * gcc.target/mips/mmcount-ra-address-2.c: New test. - * gcc.target/mips/mmcount-ra-address-3.c: New test. - -2009-10-29 Michael Matz <matz@suse.de> - - * gcc.target/i386/sse-recip.c: Use fabsf instead of != . - * gcc.target/i386/sse-recip-vec.c: Ditto. - * gcc.target/i386/brokensqrt.c: New test. - -2009-10-29 Tobias Burnus <burnus@net-b.de> - - PR fortran/41777 - * gfortran.dg/associated_target_3.f90: New testcase. - -2009-10-29 Rafael Avila de Espindola <espindola@google.com> - - * gfortran.dg/lto/pr41764_0.f: New. - -2009-10-29 Martin Jambor <mjambor@suse.cz> - - PR tree-optimization/41775 - * g++.dg/torture/pr41775.C: New testcase. - -2009-10-28 Jason Merrill <jason@redhat.com> - - * g++.dg/cpp0x/inline-ns1.C: New. - * g++.dg/cpp0x/inline-ns2.C: New. - * g++.dg/cpp0x/inline-ns3.C: New. - -2009-10-28 Paolo Bonzini <bonzini@gnu.org> - - PR rtl-optimization/39715 - * gcc.target/arm/thumb-ltu.c: New. - -2009-10-28 Richard Guenther <rguenther@suse.de> - - PR lto/41808 - PR lto/41839 - * gcc.dg/lto/20091027-1_0.c: New testcase. - * gcc.dg/lto/20091027-1_1.c: Likewise. - * g++.dg/lto/20091026-1_0.C: Likewise. - * g++.dg/lto/20091026-1_1.C: Likewise. - * g++.dg/lto/20091026-1_a.h: Likewise. - -2009-10-28 Jakub Jelinek <jakub@redhat.com> - - PR middle-end/41837 - * gcc.dg/pr41837.c: New test. - - PR debug/41801 - * g++.dg/ext/sync-3.C: New test. - - PR target/41762 - * gcc.dg/pr41762.c: New test. - -2009-10-28 Richard Guenther <rguenther@suse.de> - - PR middle-end/41855 - * gfortran.dg/lto/20091028-1_0.f90: New testcase. - * gfortran.dg/lto/20091028-1_1.c: Likewise. - * gfortran.dg/lto/20091028-2_0.f90: Likewise. - * gfortran.dg/lto/20091028-2_1.c: Likewise. - -2009-10-28 Paolo Bonzini <bonzini@gnu.org> - - PR rtl-optimization/39715 - * gcc.target/arm/thumb-bitfld1.c: New. - -2009-10-28 Paolo Bonzini <bonzini@gnu.org> - - PR rtl-optimization/40741 - * gcc.target/arm/thumb-branch1.c: New. - -2009-10-27 Jason Merrill <jason@redhat.com> - - * g++.dg/cpp0x/lambda/lambda-conv.C: New. - * g++.dg/cpp0x/lambda/lambda-const-neg.C: Adjust. - * g++.dg/cpp0x/lambda/lambda-mangle.C: Adjust. - * g++.dg/cpp0x/lambda/lambda-non-const.C: Adjust. - -2009-10-27 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/null_pointer_deref1.adb: Accept Constraint_Error. - * gnat.dg/null_pointer_deref2.adb: Likewise. - -2009-10-27 Richard Guenther <rguenther@suse.de> - - * gcc.dg/torture/ipa-pta-1.c: Adjust testcase. - -2009-10-27 Jakub Jelinek <jakub@redhat.com> - - PR c/41842 - * gcc.dg/pr41842.c: New test. - -2009-10-27 Revital Eres <eres@il.ibm.com> - - PR tree-optimization/40648 - * gcc.target/powerpc/vsx-vectorize-2.c: Adjust testcase following - change in decision of peeling for alignment. - * gcc.target/powerpc/vsx-vectorize-3.c: Likewise. - * gcc.target/powerpc/vsx-vectorize-4.c: Likewise. - * gcc.target/powerpc/vsx-vectorize-5.c: Likewise. - * gcc.target/powerpc/vsx-vectorize-6.c: Likewise. - * gcc.target/powerpc/vsx-vectorize-7.c: Likewise. - * gcc.dg/vect/vect-50.c: Likewise. - * gcc.dg/vect/vect-33.c: Likewise. - * gcc.dg/vect/no-section-anchors-vect-69.c: Likewise. - * gcc.dg/vect/costmodel/i386/costmodel-fast-math-vect-pr29925.c: - Likewise. - * gcc.dg/vect/costmodel/i386/costmodel-vect-31.c: Likewise. - * gcc.dg/vect/costmodel/i386/costmodel-vect-33.c: Likewise. - * gcc.dg/vect/costmodel/x86_64/costmodel-fast-math-vect-pr29925.c: - Likewise. - * gcc.dg/vect/costmodel/x86_64/costmodel-vect-31.c: Likewise. - * gcc.dg/vect/costmodel/x86_64/costmodel-vect-33.c: Likewise. - * gcc.dg/vect/vect-multitypes-6.c: Likewise. - * gcc.dg/vect/vect-60.c: Likewise. - * gcc.dg/vect/vect-26.c: Likewise. - * gcc.dg/vect/vect-52.c: Likewise. - * gcc.dg/vect/vect-44.c: Likewise. - * gcc.dg/vect/vect-27.c: Likewise. - * gcc.dg/vect/vect-70.c: Likewise. - * gcc.dg/vect/vect-28.c: Likewise. - * gcc.dg/vect/no-section-anchors-vect-31.c: Likewise. - * gcc.dg/vect/vect-109.c: Likewise. - * gcc.dg/vect/vect-54.c: Likewise. - * gcc.dg/vect/vect-29.c: Likewise. - * gcc.dg/vect/vect-72.c: Likewise. - * gcc.dg/vect/vect-56.c: Likewise. - * gcc.dg/vect/vect-48.c: Likewise. - * gcc.dg/vect/vect-91.c: Likewise. - * gcc.dg/vect/vect-92.c: Likewise. - * gcc.dg/vect/vect-58.c: Likewise. - * gcc.dg/vect/slp-25.c: Likewise. - * gcc.dg/vect/vect-93.c: Likewise. - * gcc.dg/vect/vect-95.c: Likewise. - * gcc.dg/vect/no-section-anchors-vect-64.c: Likewise. - * gcc.dg/vect/vect-87.c: Likewise. - * gcc.dg/vect/vect-96.c: Likewise. - * gcc.dg/vect/vect-multitypes-1.c: Likewise. - * gcc.dg/vect/vect-88.c: Likewise. - * gcc.dg/vect/no-section-anchors-vect-66.c: Likewise. - * gcc.dg/vect/vect-89.c: Likewise. - * gcc.dg/vect/vect-multitypes-3.c: Likewise. - * gcc.dg/vect/no-section-anchors-vect-68.c: Likewise. - * gcc.dg/vect/vect-multitypes-4.c: Likewise. - * gfortran.dg/vect/vect-2.f90: Likewise. - * gfortran.dg/vect/vect-3.f90: Likewise. - * gfortran.dg/vect/vect-4.f90: Likewise. - * gfortran.dg/vect/vect-5.f90: Likewise. - -2009-10-27 Jakub Jelinek <jakub@redhat.com> - - PR c++/41020 - * g++.dg/lookup/extern-c-redecl5.C: Fix up regexp. - -2009-10-26 Ben Elliston <bje@au.ibm.com> - Michael Meissner <meissner@linux.vnet.ibm.com> - Ulrich Weigand <uweigand@de.ibm.com> - - * gcc.target/spu/ea/ea.exp: New file. - * gcc.target/spu/ea/cache1.c: Likewise. - * gcc.target/spu/ea/cast1.c: Likewise. - * gcc.target/spu/ea/cast2.c: Likewise. - * gcc.target/spu/ea/compile1.c: Likewise. - * gcc.target/spu/ea/compile2.c: Likewise. - * gcc.target/spu/ea/cppdefine.c: Likewise. - * gcc.target/spu/ea/errors1.c: Likewise. - * gcc.target/spu/ea/errors2.c: Likewise. - * gcc.target/spu/ea/execute1.c: Likewise. - * gcc.target/spu/ea/execute2.c: Likewise. - * gcc.target/spu/ea/execute3.c: Likewise. - * gcc.target/spu/ea/ops1.c: Likewise. - * gcc.target/spu/ea/ops2.c: Likewise. - * gcc.target/spu/ea/options1.c: Likewise. - * gcc.target/spu/ea/test-sizes.c: Likewise. - -2009-10-26 Jakub Jelinek <jakub@redhat.com> - - PR bootstrap/41345 - * gcc.dg/pr41345.c: New test. - - PR debug/41828 - * g++.dg/debug/dwarf2/anonname1.C: New test. - -2009-10-26 Jason Merrill <jason@redhat.com> - - PR c++/38796 - * g++.dg/cpp0x/defaulted15.C: New. - * g++.dg/cpp0x/defaulted16.C: New. - -2009-10-26 Dodji Seketeli <dodji@redhat.com> - - PR c++/41785 - * g++.dg/cpp0x/variadic96.C: New test. - -2009-10-26 Nick Clifton <nickc@redhat.com> - - * lib/target-supports.exp (check_profiling_available): - Profiling is not, currently, available for the RX port. - (check_effective_target_hard_float): Add support for RX target. - * gcc.target/rx: New directory. - * gcc.target/rx/builtins.c: New test file. - * gcc.target/rx/interrupts.c: New test file. - * gcc.target/rx/rx-abi-function-tests.c: New test file. - * gcc.target/rx/zero-width-bitfield.c: New test file. - * gcc.target/rx/i272091.c: New test file. - * gcc.target/rx/packed-struct.c: New test file. - * gcc.target/rx/rx.exp: New file: Drives RX tests. - -2009-10-26 Andrew Pinski <pinskia@gcc.gnu.org> - - * gcc.dg/lto/20091014-1_0.c: Replace -shared with -r -nostlib. - * gcc.dg/lto/20091016-1_0.c: Likewise. - * gcc.dg/lto/20090206-1_0.c: Likewise. - * gcc.dg/lto/20081120-1_0.c: Likewise. - * gcc.dg/lto/20081120-2_0.c: Likewise. - * gcc.dg/lto/20090116_0.c: Likewise. - * gcc.dg/lto/20081126_0.c: Likewise. - * gcc.dg/lto/20091013-1_0.c: Likewise. - * gcc.dg/lto/20081212-1_0.c: Likewise. - * gcc.dg/lto/20091015-1_0.c: Likewise. - * gcc.dg/lto/20090126-1_0.c: Likewise. - * gcc.dg/lto/20090126-2_0.c: Likewise. - * gcc.dg/lto/20091020-1_0.c: Likewise. - * gcc.dg/lto/20091020-2_0.c: Likewise. - * gcc.dg/lto/20081204-1_0.c: Likewise. - * gcc.dg/lto/20081204-2_0.c: Likewise. - * gcc.dg/lto/20081224_0.c: Likewise. - * gcc.dg/lto/20090219_0.c: Likewise. - -2009-10-26 Dodji Seketeli <dodji@redhat.com> - - PR c++/41020 - * g++.dg/lookup/extern-c-redecl2.C: New test. - * g++.dg/lookup/extern-c-redecl3.C: Likewise. - * g++.dg/lookup/extern-c-redecl4.C: Likewise. - * g++.dg/lookup/extern-c-redecl5.C: Likewise. - -2009-10-26 Michael Matz <matz@suse.de> - - PR tree-optimization/41783 - * gcc.dg/pr41783.c: New test. - * gcc.dg/tree-ssa/ssa-pre-23.c: Adjust. - * gcc.dg/tree-ssa/ssa-pre-24.c: Don't xfail anymore. - * gcc.dg/tree-ssa/ssa-pre-27.c: New test. - -2009-10-26 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41714 - * gfortran.dg/class_allocate_4.f03: New test. - -2009-10-24 Adam Nemet <anemet@caviumnetworks.com> - - * gcc.target/mips/mult-1.c: New test. - -2009-10-24 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41784 - * gfortran.dg/extends_8.f03: New test. - -2009-10-24 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/specs/pack4.ads: New test. - -2009-10-24 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/null_pointer_deref1.adb: New test. - * gnat.dg/null_pointer_deref2.adb: Likewise. - -2009-10-24 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/41772 - * gfortran.dg/transfer_intrinsic_3.f90. - -2009-10-24 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/opt4.adb: New test. - -2009-10-23 Joseph Myers <joseph@codesourcery.com> - - PR c/40033 - * gcc.dg/noncompile/pr40033-1.c: New test. - -2009-10-23 Dodji Seketeli <dodji@redhat.com> - - PR c++/40808 - * g++.dg/abi/mangle34.C: New test - -2009-10-23 Jason Merrill <jason@redhat.com> - - * g++.dg/cpp0x/lambda/lambda-nested2.C: New. - - Core issue 899 - * g++.dg/cpp0x/explicit4.C: New. - -2009-10-23 Joseph Myers <joseph@codesourcery.com> - - * g++.dg/abi/rtti3.C, g++.dg/abi/thunk4.C: Skip for *-*-mingw* and - *-*-cygwin. - * g++.dg/cpp0x/lambda/lambda-mangle.C: Disable weak symbols tests - for *-*-mingw* and *-*-cygwin. - * g++.dg/opt/vt1.C: Skip for *-*-mingw* and *-*_cygwin. - * g++.dg/template/spec35.C: Disable weak symbol test for - *-*-mingw* and *-*-cygwin. - - PR testsuite/31342 - * gcc.target/i386/pic-1.c: Skip for *-*-mingw* and *-*-cygwin. - -2009-10-23 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41800 - * gfortran.dg/class_10.f03: New test. - -2009-10-22 Michael Meissner <meissner@linux.vnet.ibm.com> - - PR target/41787 - * gcc.target/powerpc/vsx-vrsave.c: New file. - -2009-10-23 Joseph Myers <joseph@codesourcery.com> - - PR c/41673 - * gcc.dg/Wstrict-aliasing-bogus-vla-1.c: New test. - -2009-10-23 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/41778 - * gcc.dg/tree-ssa/ssa-pre-26.c: New testcase. - -2009-10-22 Richard Guenther <rguenther@suse.de> - - PR lto/41791 - * g++.dg/lto/20091022-2_0.C: New testcase. - -2009-10-22 Richard Guenther <rguenther@suse.de> - - PR lto/41730 - * g++.dg/lto/20091022-1_0.C: New testcase. - -2009-10-22 Razya Ladelsky <razya@il.ibm.com> - - * gcc.dg/autopar/outer-4.c: Adjust scan. - * gcc.dg/autopar/outer-5.c: Adjust scan. - * gcc.dg/autopar/outer-5.c: Add scan optimized. - - * libgomp.graphite/force-parallel-2.c: Adjust scan. - * gcc.dg/autopar/outer-1.c: New testcase. - * gcc.dg/autopar/outer-2.c: New testcase. - * gcc.dg/autopar/outer-3.c: New testcase. - * gcc.dg/autopar/outer-4.c: New testcase. - * gcc.dg/autopar/outer-5.c: New testcase. - * gcc.dg/autopar/outer-6.c: New testcase. - -2009-10-22 Jan Hubicka <jh@suse.cz> - - * gcc.c-torture/compile/pr40556.c: New testcase. - -2009-10-22 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41781 - * gfortran.dg/goto_8.f90: New test case. - -2009-10-21 Sebastian Pop <sebastian.pop@amd.com> - - PR tree-optimization/41497 - * gcc.dg/tree-ssa/pr41497.c: New. - -2009-10-21 Steve Ellcey <sje@cup.hp.com> - - * g++.dg/tree-ssa/copyprop.C: Use include to define free(). - -2009-10-21 Joseph Myers <joseph@codesourcery.com> - - * gcc.dg/tls/pie-1.c: New test. - -2009-10-21 Jakub Jelinek <jakub@redhat.com> - - * g++.dg/abi/mangle33.C: New test. - -2009-10-21 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/discr22.adb: New test. - -2009-10-21 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/loop_optimization7.ad[sb]: New test. - * gnat.dg/loop_optimization7_pkg.ads: New helper. - -2009-10-21 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41706 - PR fortran/41766 - * gfortran.dg/class_9.f03: Extended test case. - * gfortran.dg/select_type_7.f03: New test case. - -2009-10-20 Richard Guenther <rguenther@suse.de> - - * gcc.dg/lto/20091020-3_0.c: New testcase. - -2009-10-20 Richard Guenther <rguenther@suse.de> - - PR lto/41761 - * gcc.dg/lto/20091020-1_0.c: New testcase. - * gcc.dg/lto/20091020-1_1.c: Likewise. - * gcc.dg/lto/20091020-2_0.c: Likewise. - * gcc.dg/lto/20091020-2_1.c: Likewise. - -2009-10-20 Jakub Jelinek <jakub@redhat.com> - - PR debug/41340 - * gcc.dg/pr41340.c: New test. - -2009-10-20 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/discr21.ad[sb]: New test. - * gnat.dg/discr21_pkg.ads: New helper. - -2009-10-20 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/41706 - * gfortran.dg/class_9 : New test. - -2009-10-19 Jakub Jelinek <jakub@redhat.com> - - * gcc.dg/raw-string-1.c: New test. - * gcc.dg/raw-string-2.c: New test. - * gcc.dg/raw-string-3.c: New test. - * gcc.dg/raw-string-4.c: New test. - * gcc.dg/raw-string-5.c: New test. - * gcc.dg/raw-string-6.c: New test. - * gcc.dg/raw-string-7.c: New test. - * gcc.dg/utf8-1.c: New test. - * gcc.dg/utf8-2.c: New test. - * gcc.dg/utf-badconcat2.c: New test. - * gcc.dg/utf-dflt2.c: New test. - * gcc.dg/cpp/include6.c: New test. - * g++.dg/ext/raw-string-1.C: New test. - * g++.dg/ext/raw-string-2.C: New test. - * g++.dg/ext/raw-string-3.C: New test. - * g++.dg/ext/raw-string-4.C: New test. - * g++.dg/ext/raw-string-5.C: New test. - * g++.dg/ext/raw-string-6.C: New test. - * g++.dg/ext/raw-string-7.C: New test. - * g++.dg/ext/utf8-1.C: New test. - * g++.dg/ext/utf8-2.C: New test. - * g++.dg/ext/utf-badconcat2.C: New test. - * g++.dg/ext/utf-dflt2.C: New test. - - * gcc.dg/cleanup-13.c: New test. - -2009-10-19 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41586 - * gfortran.dg/auto_dealloc_1.f90: New test case. - -2009-10-19 Jakub Jelinek <jakub@redhat.com> - - Port from redhat/gcc-4_4-branch: - 2009-10-08 Jakub Jelinek <jakub@redhat.com> - * gcc.dg/debug/vta-2.c: New test. - - 2009-09-30 Alexandre Oliva <aoliva@redhat.com> - * gcc.dg/debug/vta-1.c: New. - -2009-10-19 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/noreturn2.ad[sb]: New test. - -2009-10-19 Tobias Burnus <burnus@net-b.de> - - PR fortran/41755 - * gfortran.dg/equiv_8.f90: New test. - * gfortran.dg/class_allocate_1.f03: Remove obsolete FIXME. - -2009-10-19 Joseph Myers <joseph@codesourcery.com> - - * gcc.target/arm/neon-thumb2-move.c: New test. - -2009-10-19 Jakub Jelinek <jakub@redhat.com> - - * gcc.dg/debug/vta-3.c: New test. - -2009-10-17 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/nested_proc.adb: Rename into... - * gnat.dg/nested_proc1.adb: ...this. - * gnat.dg/nested_proc2.adb: New test. - -2009-10-17 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/noreturn1.ad[sb]: New test. - -2009-10-17 Janus Weil <janus@gcc.gnu.org> - Paul Thomas <pault@gcc.gnu.org> - - PR fortran/41629 - * gfortran.dg/class_6.f90: New test. - - PR fortran/41608 - PR fortran/41587 - * gfortran.dg/class_7.f90: New test. - - PR fortran/41618 - * gfortran.dg/class_8.f90: New test. - -2009-10-17 Richard Guenther <rguenther@suse.de> - - * gcc.dg/lto/20091017-1_0.c: New testcase. - * gcc.dg/lto/20091017-1_1.c: Likewise. - -2009-10-17 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/unchecked_convert4.adb: Add missing rep clause. - -2009-10-17 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/aggr11.adb: New test. - * gnat.dg/aggr11_pkg.ads: New helper. - -2009-10-17 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/slice8.adb: New test. - * gnat.dg/slice8_pkg1.ads: New helper. - * gnat.dg/slice8_pkg2.ads: Likewise. - * gnat.dg/slice8_pkg3.ad[sb]: Likewise. - -2009-10-17 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/unchecked_convert4.adb: New test. - -2009-10-15 Jason Merrill <jason@redhat.com> - - PR c++/38798 - * g++.dg/cpp0x/trailing5.C: New. - - * g++.dg/cpp0x/auto6.C: Rename to trailing1.C. - * g++.dg/cpp0x/auto8.C: Rename to trailing2.C. - * g++.dg/cpp0x/auto12.C: Rename to trailing3.C. - * g++.dg/cpp0x/auto13.C: Rename to trailing4.C. - -2009-10-16 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41719 - * gfortran.dg/class_5.f03: New test case. - * gfortran.dg/typebound_operator_2.f03: Fixing invalid test case. - * gfortran.dg/typebound_operator_4.f03: Ditto. - -2009-10-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * g++.dg/ipa/iinline-1.C: Use dg-add-options bind_pic_locally. - * g++.dg/other/first-global.C: Likewise. - * g++.dg/parse/attr-externally-visible-1.C: Likewise. - * g++.dg/torture/pr40323.C: Likewise. - * g++.dg/tree-ssa/nothrow-1.C: Likewise. - * gcc.dg/inline-33.c: Likewise. - * gcc.dg/ipa/ipa-1.c: Likewise. - * gcc.dg/ipa/ipa-2.c: Likewise. - * gcc.dg/ipa/ipa-3.c: Likewise. - * gcc.dg/ipa/ipa-4.c: Likewise. - * gcc.dg/ipa/ipa-5.c: Likewise. - * gcc.dg/ipa/ipa-7.c: Likewise. - * gcc.dg/ipa/ipacost-2.c: Likewise. - * gcc.dg/tree-ssa/inline-3.c: Likewise. - * gcc.dg/tree-ssa/local-pure-const.c: Likewise. - * gfortran.dg/whole_file_5.f90: Likewise. - * gfortran.dg/whole_file_6.f90: Likewise. - -2009-10-16 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/41728 - * gcc.c-torture/compile/pr41728.c: New testcase. - -2009-10-16 Richard Guenther <rguenther@suse.de> - - PR lto/41598 - * gcc.dg/lto/20091016-1_0.c: New testcase. - * gcc.dg/lto/20091016-1_1.c: Likewise. - * gcc.dg/lto/20091016-1_a.h: Likewise. - -2009-10-16 Richard Guenther <rguenther@suse.de> - - PR lto/41715 - * gfortran.dg/lto/20091015-1_0.f: New testcase. - * gfortran.dg/lto/20091015-1_1.f: Likewise. - * gfortran.dg/lto/20091015-1_2.f: Likewise. - -2009-10-16 Richard Guenther <rguenther@suse.de> - - PR lto/41713 - * gfortran.dg/lto/20091016-1_0.f90: New testcase. - -2009-10-15 Jakub Jelinek <jakub@redhat.com> - - PR debug/41717 - * gcc.dg/debug/pr41717.c: New test. - -2009-10-16 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/41648 - * gfortran.dg/dynamic_dispatch_4.f03 : New test. - - PR fortran/41656 - * gfortran.dg/dynamic_dispatch_5.f03 : New test. - -2009-10-15 Michael Meissner <meissner@linux.vnet.ibm.com> - - PR target/23983 - * gcc.target/powerpc/altivec-4.c (b): Make sure altivec builtin - result used. - * g++.dg/ext/altivec-2.C (main): Ditto. - -2009-10-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * lib/target-supports.exp (add_options_for_bind_pic_locally): New. - * gcc.dg/tree-ssa/ipa-cp-1.c: Bind pic locally. - -2009-10-15 Richard Guenther <rguenther@suse.de> - - PR lto/41669 - * gcc.dg/lto/20091015-1_0.c: New testcase. - * gcc.dg/lto/20091015-1_1.c: Likewise. - * gcc.dg/lto/20091015-1_2.c: Likewise. - * gcc.dg/lto/20091015-1_a.h: Likewise. - * gcc.dg/lto/20091015-1_b.h: Likewise. - -2009-10-15 Steve Ellcey <sje@cup.hp.com> - - * gcc.dg/torture/pr41555.c: Add -std=c99 option. - -2009-10-14 Daniel Gutson <dgutson@codesourcery.com> - - * gcc.target/arm/neon/vfp-shift-a2t2.c: New test case. - -2009-10-14 Jakub Jelinek <jakub@redhat.com> - - * obj-c++.dg/layout-1.mm: Don't xfail dg-bogus on lp64, change - line from 1 to 0. - * obj-c++.dg/bitfield-1.mm: Likewise. - * obj-c++.dg/bitfield-4.mm: Likewise. - -2009-10-14 Richard Guenther <rguenther@suse.de> - - PR lto/41173 - * gcc.dg/lto/20091014-1_0.c: New testcase. - -2009-10-14 Jakub Jelinek <jakub@redhat.com> - - PR testsuite/41707 - * g++.dg/plugin/attribute_plugin-test-1.C: Expect the first - warning on line 0 instead of 1. - -2009-10-14 Richard Guenther <rguenther@suse.de> - - PR lto/41521 - * gfortran.dg/lto/pr41521_0.f90: New testcase. - * gfortran.dg/lto/pr41521_1.f90: Likewise. - -2009-10-14 Jakub Jelinek <jakub@redhat.com> - - PR preprocessor/41543 - * gcc.dg/debug/dwarf2/pr41543.c: New test. - - PR debug/41695 - * gcc.dg/debug/dwarf2/pr41695.c: New test. - -2009-10-14 Uros Bizjak <ubizjak@gmail.com> - - * gcc.target/i386/i386.exp (check_effective_target_ms_hook_prologue): - New procedure. - * gcc.target/i386/ms_hook_prologue.c: Check for ms_hook_prologue - effective target. - -2009-10-14 Jason Merrill <jason@redhat.com> - - PR c++/39866 - * g++.dg/cpp0x/defaulted14.C: New. - -2009-10-14 Larry Evans <cppljevans@suddenlink.net> - - * g++.dg/cpp0x/vt-40092.C: New. - -2009-10-14 Alexandre Oliva <aoliva@redhat.com> - - * gcc.dg/guality/pr41616-1.c: Drop -O2. - * gcc.dg/guality/pr41447-1.c: Likewise. Name main. - -2009-10-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * gfortran.dg/complex_intrinsic_8.f90: New test. - -2009-10-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * gcc.dg/torture/builtin-math-6.c: Test complex "arc" functions. - * lib/target-supports.exp (check_effective_target_mpc_arc): New. - -2009-10-14 Hans-Peter Nilsson <hp@axis.com> - - PR target/38948 - * gcc.dg/torture/pr38948.c: New test. - -2009-10-13 Steve Ellcey <sje@cup.hp.com> - - * gfortran.dg/vect/fast-math-pr38968.f90: Add timeout. - -2009-10-13 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41581 - * gfortran.dg/class_allocate_2.f03: Modified. - * gfortran.dg/class_allocate_3.f03: New test case. - -2009-10-13 Richard Guenther <rguenther@suse.de> - - PR lto/41668 - * gcc.dg/lto/20091006-2_0.c: New testcase. - * gcc.dg/lto/20091006-2_1.c: Likewise. - * gcc.dg/lto/20091006-2_2.c: Likewise. - * gcc.dg/lto/20091013-1_0.c: Likewise. - * gcc.dg/lto/20091013-1_1.c: Likewise. - * gcc.dg/lto/20091013-1_2.c: Likewise. - -2009-10-13 Martin Jambor <mjambor@suse.cz> - - * gcc.c-torture/compile/pr41661.c: New test. - -2009-10-12 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR libgfortran/41683 - * gfortran.dg/fmt_error_9.f: Add check for repeat count after P. - -2009-10-12 Jason Merrill <jason@redhat.com> - - PR c++/37875 - * g++.dg/cpp0x/decltype18.C: New. - - PR c++/37766 - * g++.dg/cpp0x/fntmpdefarg1.C: New. - -2009-10-12 Janis Johnson <janis187@us.ibm.com> - - * gcc.dg/lto/20090914-2.c: Fix typos in test directives. - -2009-10-12 Alexandre Oliva <aoliva@redhat.com> - - PR debug/41343 - PR debug/41447 - PR debug/41264 - PR debug/41338 - * gcc.dg/guality/pr41447-1.c: New. - * gcc.dg/debug/pr41264-1.c: New. - * gcc.dg/debug/pr41343-1.c: New. - -2009-10-12 Hans-Peter Nilsson <hp@axis.com> - - PR target/26515 - * gcc.dg/torture/pr26515.c: New test. - -2009-10-12 Janis Johnson <janis187@us.ibm.com> - - PR testsuite/41659 - * gcc.dg/lto/20090914-2.c: Use dg-skip-if to skip test. - * lib/lto.exp (lto-get-options-main): Report error for using "target" - or "xfail" with dg-lto-do. - -2009-10-12 Stefan Dösinger <stefan@codeweavers.com> - - * gcc.target/i386/ms_hook_prologue.c: New testcase. - -2009-10-12 Michael Matz <matz@suse.de> - - * gcc.dg/plugin/one_time_plugin.c: Update test to use the cfg - pass. - -2009-10-12 Jakub Jelinek <jakub@redhat.com> - - PR target/41680 - * g++.dg/torture/pr41680.C: New test. - -2009-10-12 Dodji Seketeli <dodji@redhat.com> - - PR c++/41570 - * g++.dg/debug/dwarf2/template-params-7.C: New test. - -2009-10-12 Alexandre Oliva <aoliva@redhat.com> - - PR debug/41616 - * gcc.dg/guality/pr41616-1.c: New. - -2009-10-11 Jason Merrill <jason@redhat.com> - - PR c++/37204 - * g++.dg/cpp0x/rv-reinterpret.C: New. - -2009-10-11 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR libgfortran/38439 - * gfortran.dg/fmt_error_9.f: New test. - * gfortran.dg/fmt_error_10.f: New test. - -2009-10-11 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/41583 - * gfortran.dg/class_4a.f03: New test with class_4b,c and d.f03. - * gfortran.dg/class_4b.f03: As above. - * gfortran.dg/class_4c.f03: As above. - * gfortran.dg/class_4d.f03: As above. - -2009-10-11 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/41555 - * gcc.dg/torture/pr41555.c: New testcase. - -2009-10-10 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR libgfortran/35862 - * gfortran.dg/round_2.f03: Eliminate possible compile error. Use max - function correctly. - -2009-10-10 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR libgfortran/35862 - * gfortran.dg/round_2.f03: Update test to also test for smaller kind. - Add conditions to avoid runtime errors if not supported. - -2009-10-10 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/41654 - * gfortran.fortran-torture/compile/pr41654.f90: New testcase. - -2009-10-09 Jason Merrill <jason@redhat.com> - - * g++.dg/cpp/ucn-1.C: New. - -2009-10-09 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41585 - * gfortran.dg/class_2.f03: Extended test case. - -2009-10-09 Tobias Burnus <burnus@net-b.de> - - PR fortran/41582 - * gfortran.dg/class_allocate_1.f03: Modify code such that - it compiles with the gfc_warning->gfc_error change. - * gfortran.dg/class_allocate_1.f03: New test. - -2009-10-09 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41579 - * gfortran.dg/select_type_6.f03: New test. - -2009-10-09 Jakub Jelinek <jakub@redhat.com> - - PR preprocessor/41445 - * gcc.dg/cpp/separate-1.c: Adjust. - * gcc.dg/cpp/spacing1.c: Add -P to dg-options. - * gcc.dg/debug/dwarf2/pr41445-1.c: New test. - * gcc.dg/debug/dwarf2/pr41445-2.c: New test. - * gcc.dg/debug/dwarf2/pr41445-3.c: New test. - * gcc.dg/debug/dwarf2/pr41445-4.c: New test. - * gcc.dg/debug/dwarf2/pr41445-5.c: New test. - * gcc.dg/debug/dwarf2/pr41445-6.c: New test. - - PR rtl-optimization/41646 - * gcc.c-torture/compile/pr41646.c: New test. - -2009-10-09 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/41634 - * gcc.c-torture/compile/pr41634.c: New testcase. - -2009-10-09 Uros Bizjak <ubizjak@gmail.com> - - * gfortran.dg/block_2.f08: Cleanup "original" tree dump. - -2009-10-09 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/opt3.adb: New test. - * gnat.dg/opt3_pkg.ads: New helper. - -2009-10-08 Doug Kwan <dougkwan@google.com> - - PR rtl-optimization/41574 - * gcc.dg/pr41574.c: New test. - -2009-10-08 Cary Coutant <ccoutant@google.com> - - Add support for debugging with ICF (Identical Code Folding). - * g++.dg/debug/dwarf2/icf.C: New test. - -2009-10-08 Adam Nemet <anemet@caviumnetworks.com> - - * gcc.target/mips/truncate-6.c: New test. - -2009-10-08 Jason Merrill <jason@redhat.com> - - PR c++/36816 - * g++.dg/cpp0x/rv-deduce.C: New. - - PR c++/37177 - * g++.dg/cpp0x/variadic-throw.C: Adjust errors. - * g++.dg/template/explicit-args2.C: New. - * g++.dg/template/explicit-args3.C: New. - * g++.old-deja/g++.pt/crash58.C: Remove some errors. - -2009-10-08 Michael Matz <matz@suse.de> - - PR middle-end/41573 - * gcc.dg/tree-ssa/foldstring-1.c: Use fre dump. - * gcc.dg/tree-ssa/useless-1.c: Use gimple dump. - * gcc.dg/pr41573.c: New test. - -2009-10-07 Joseph Myers <joseph@codesourcery.com> - - PR c/41182 - * gcc.c-torture/compile/pr41182-1.c: New. - -2009-10-07 Jason Merrill <jason@redhat.com> - - * g++.dg/cpp0x/variadic95.C: New. - -2009-10-07 Jason Merrill <jason@redhat.com> - - * g++.dg/template/scope3.C: New. - -2009-10-07 Jakub Jelinek <jakub@redhat.com> - - * gcc.dg/debug/dwarf2/inline3.c: New test. - -2009-10-07 Daniel Kraft <d@domob.eu> - - PR fortran/41615 - * gfortran.dg/assumed_charlen_function_6.f90: New test. - -2009-10-07 Janus Weil <janus@gcc.gnu.org> - - * gfortran.dg/same_type_as_2.f03: Modified (was illegal). - * gfortran.dg/select_type_1.f03: Modified error message. - * gfortran.dg/select_type_5.f03: New test. - -2009-10-06 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR libgfortran/41612 - * gfortran.dg/round_2.f03: Fix test to work on platforms that do not - have kind=10 reals. - -2009-10-06 Jason Merrill <jason@redhat.com> - - * g++.dg/cpp0x/lambda/lambda-init.C: New. - * g++.dg/cpp0x/lambda/lambda-direct-init.C: New. - -2009-10-06 Richard Guenther <rguenther@suse.de> - - PR lto/41502 - * gcc.dg/lto/20091006-1_0.c: New testcase. - * gcc.dg/lto/20091006-1_1.c: Likewise. - * gcc.dg/lto/20091005-2_0.c: Likewise. - -2009-10-06 Samuel Tardieu <sam@rfc1149.net> - - PR ada/41383 - * gnat.dg/timer_cancel.adb: New test. - -2009-10-06 Samuel Tardieu <sam@rfc1149.net> - - PR ada/38333 - * gnat.dg/specs/import_abstract.ads: New. - -2009-10-05 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR libgfortran/35862 - * gfortran.dg/round_2.f03: New test. - -2009-10-05 Jakub Jelinek <jakub@redhat.com> - - PR debug/41558 - * gcc.dg/guality/guality.exp: Move gdb-test proc into... - * lib/gcc-gdb-test.exp: ... here. New file. - * gfortran.dg/guality/guality.exp: New file. - * gfortran.dg/guality/pr41558.f90: New test. - * gfortran.dg/guality/arg1.f90: New test. - -2009-10-05 Paul Thomas <pault@gcc.gnu.org> - - * gfortran.dg/dynamic_dispatch_1.f90: New test. - * gfortran.dg/dynamic_dispatch_2.f90: New test. - * gfortran.dg/dynamic_dispatch_3.f90: New test. - * gfortran.dg/module_md5_1.f90: Update md5 sum. - -2009-10-05 Sriraman Tallam <tmsriram@google.com> - - * gcc.dg/plugin/selfassign.c (plugin_init): Change plugin_pass to - register_pass_info. - * gcc.dg/plugin/one_time_plugin.c (plugin_init): Change - plugin_pass to register_pass_info. - * g++.dg/plugin/selfassign.c (plugin_init): Change plugin_pass to - register_pass_info. - * g++.dg/plugin/dumb_plugin.c (plugin_init): Change plugin_pass to - register_pass_info. - -2009-10-05 Richard Guenther <rguenther@suse.de> - - PR lto/41281 - * gcc.dg/lto/20090914-2_0.c: New testcase. - -2009-10-05 Richard Guenther <rguenther@suse.de> - - PR lto/40902 - * gcc.dg/lto/20091005-1_0.c: New testcase. - * gcc.dg/lto/20091005-1_1.c: Likewise. - -2009-10-05 Richard Guenther <rguenther@suse.de> - - PR lto/41552 - PR lto/41487 - * g++.dg/lto/20091002-1_0.C: Adjust flags. - * g++.dg/lto/20091004-1_0.C: New testcase. - * g++.dg/lto/20091004-1_1.C: Likewise. - * g++.dg/lto/20091004-2_0.C: Likewise. - * g++.dg/lto/20091004-2_1.C: Likewise. - * g++.dg/lto/20091004-3_0.C: Likewise. - * g++.dg/lto/20091004-3_1.C: Likewise. - -2009-10-05 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/23821 - * gcc.dg/torture/pr23821.c: New testcase. - -2009-10-05 Daniel Kraft <d@domob.eu> - - PR fortran/41403 - * gfortran.dg/goto_6.f: New test. - * gfortran.dg/goto_7.f: New test. - -2009-10-03 Ben Elliston <bje@au.ibm.com> - Bill Maddox <maddox@google.com> - Cary Coutant <ccoutant@google.com> - Chris Demetriou <cgd@google.com> - Diego Novillo <dnovillo@google.com> - Doug Kwan <dougkwan@google.com> - Jan Hubicka <jh@suse.cz> - Ollie Wild <aaw@google.com> - Rafael Espindola <espindola@google.com> - Richard Guenther <rguenther@suse.de> - Simon Baldwin <simonb@google.com> - - * g++.dg/20090107-1.C: New. - * g++.dg/20090121-1.C: New. - * g++.dg/ipa/20090113-1.C: New. - * g++.dg/lto: New directory. - * g++.dg/lto/20080829_0.C: New. - * g++.dg/lto/20080904_0.C: New. - * g++.dg/lto/20080907_0.C: New. - * g++.dg/lto/20080908-1_0.C: New. - * g++.dg/lto/20080908-2_0.C: New. - * g++.dg/lto/20080908-3_0.C: New. - * g++.dg/lto/20080909-1_0.C: New. - * g++.dg/lto/20080910-1_0.C: New. - * g++.dg/lto/20080912-1_0.C: New. - * g++.dg/lto/20080912_0.C: New. - * g++.dg/lto/20080915_0.C: New. - * g++.dg/lto/20080916_0.C: New. - * g++.dg/lto/20080917_0.C: New. - * g++.dg/lto/20080924_0.C: New. - * g++.dg/lto/20080926_0.C: New. - * g++.dg/lto/20081008_0.C: New. - * g++.dg/lto/20081022.h: New. - * g++.dg/lto/20081022_0.C: New. - * g++.dg/lto/20081022_1.C: New. - * g++.dg/lto/20081023_0.C: New. - * g++.dg/lto/20081109-1_0.C: New. - * g++.dg/lto/20081109-2_0.C: New. - * g++.dg/lto/20081109_0.C: New. - * g++.dg/lto/20081109_1.C: New. - * g++.dg/lto/20081118-1_0.C: New. - * g++.dg/lto/20081118-1_1.C: New. - * g++.dg/lto/20081118_0.C: New. - * g++.dg/lto/20081118_1.C: New. - * g++.dg/lto/20081119-1.h: New. - * g++.dg/lto/20081119-1_0.C: New. - * g++.dg/lto/20081119-1_1.C: New. - * g++.dg/lto/20081119_0.C: New. - * g++.dg/lto/20081119_1.C: New. - * g++.dg/lto/20081120-1_0.C: New. - * g++.dg/lto/20081120-1_1.C: New. - * g++.dg/lto/20081120-2_0.C: New. - * g++.dg/lto/20081120-2_1.C: New. - * g++.dg/lto/20081123_0.C: New. - * g++.dg/lto/20081123_1.C: New. - * g++.dg/lto/20081125.h: New. - * g++.dg/lto/20081125_0.C: New. - * g++.dg/lto/20081125_1.C: New. - * g++.dg/lto/20081127_0.C: New. - * g++.dg/lto/20081127_1.C: New. - * g++.dg/lto/20081203_0.C: New. - * g++.dg/lto/20081203_1.C: New. - * g++.dg/lto/20081204-1_0.C: New. - * g++.dg/lto/20081204-1_1.C: New. - * g++.dg/lto/20081204-2_0.C: New. - * g++.dg/lto/20081204-2_1.C: New. - * g++.dg/lto/20081209_0.C: New. - * g++.dg/lto/20081209_1.C: New. - * g++.dg/lto/20081211-1.h: New. - * g++.dg/lto/20081211-1_0.C: New. - * g++.dg/lto/20081211-1_1.C: New. - * g++.dg/lto/20081217-1_0.C: New. - * g++.dg/lto/20081217-2_0.C: New. - * g++.dg/lto/20081219_0.C: New. - * g++.dg/lto/20081219_1.C: New. - * g++.dg/lto/20090106_0.C: New. - * g++.dg/lto/20090112_0.C: New. - * g++.dg/lto/20090128_0.C: New. - * g++.dg/lto/20090221_0.C: New. - * g++.dg/lto/20090302_0.C: New. - * g++.dg/lto/20090302_1.C: New. - * g++.dg/lto/20090303_0.C: New. - * g++.dg/lto/20090311-1.h: New. - * g++.dg/lto/20090311-1_0.C: New. - * g++.dg/lto/20090311-1_1.C: New. - * g++.dg/lto/20090311_0.C: New. - * g++.dg/lto/20090311_1.C: New. - * g++.dg/lto/20090312.h: New. - * g++.dg/lto/20090312_0.C: New. - * g++.dg/lto/20090312_1.C: New. - * g++.dg/lto/20090313_0.C: New. - * g++.dg/lto/20090313_1.C: New. - * g++.dg/lto/20090315_0.C: New. - * g++.dg/lto/20090315_1.C: New. - * g++.dg/lto/20091002-1_0.C: New testcase. - * g++.dg/lto/20091002-2_0.C: Likewise.. - * g++.dg/lto/20091002-3_0.C: Likewise.. - * g++.dg/lto/README: New. - * g++.dg/lto/pr40818_0.C: New. - * g++.dg/opt/thunk3-1.C: New. - * g++.dg/opt/thunk4.C: New. - * gcc.c-torture/execute/builtins/lib/abs.c: Mark builtin - replacements with __attribute__ ((__noinline__)). - * gcc.c-torture/execute/builtins/lib/bfill.c: Likewise. - * gcc.c-torture/execute/builtins/lib/bzero.c: Likewise. - * gcc.c-torture/execute/builtins/lib/fprintf.c: Likewise. - * gcc.c-torture/execute/builtins/lib/memchr.c: Likewise. - * gcc.c-torture/execute/builtins/lib/memcmp.c: Likewise. - * gcc.c-torture/execute/builtins/lib/memmove.c: Likewise. - * gcc.c-torture/execute/builtins/lib/mempcpy.c: Likewise. - * gcc.c-torture/execute/builtins/lib/memset.c: Likewise. - * gcc.c-torture/execute/builtins/lib/printf.c: Likewise. - * gcc.c-torture/execute/builtins/lib/sprintf.c: Likewise. - * gcc.c-torture/execute/builtins/lib/stpcpy.c: Likewise. - * gcc.c-torture/execute/builtins/lib/strcat.c: Likewise. - * gcc.c-torture/execute/builtins/lib/strchr.c: Likewise. - * gcc.c-torture/execute/builtins/lib/strcmp.c: Likewise. - * gcc.c-torture/execute/builtins/lib/strcpy.c: Likewise. - * gcc.c-torture/execute/builtins/lib/strcspn.c: Likewise. - * gcc.c-torture/execute/builtins/lib/strlen.c: Likewise. - * gcc.c-torture/execute/builtins/lib/strncat.c: Likewise. - * gcc.c-torture/execute/builtins/lib/strncmp.c: Likewise. - * gcc.c-torture/execute/builtins/lib/strncpy.c: Likewise. - * gcc.c-torture/execute/builtins/lib/strpbrk.c: Likewise. - * gcc.c-torture/execute/builtins/lib/strrchr.c: Likewise. - * gcc.c-torture/execute/builtins/lib/strspn.c: Likewise. - * gcc.c-torture/execute/builtins/lib/strstr.c: Likewise. - * gcc.dg/20081223-1.c: New. - * gcc.dg/lto: New directory. - * gcc.dg/lto/20080908_0.c: New. - * gcc.dg/lto/20080917_0.c: New. - * gcc.dg/lto/20080924_0.c: New. - * gcc.dg/lto/20081024_0.c: New. - * gcc.dg/lto/20081109_0.c: New. - * gcc.dg/lto/20081111_0.c: New. - * gcc.dg/lto/20081111_1.c: New. - * gcc.dg/lto/20081112_0.c: New. - * gcc.dg/lto/20081112_1.c: New. - * gcc.dg/lto/20081115_0.c: New. - * gcc.dg/lto/20081115_1.c: New. - * gcc.dg/lto/20081115_2.c: New. - * gcc.dg/lto/20081118_0.c: New. - * gcc.dg/lto/20081118_1.c: New. - * gcc.dg/lto/20081118_2.c: New. - * gcc.dg/lto/20081120-1_0.c: New. - * gcc.dg/lto/20081120-1_1.c: New. - * gcc.dg/lto/20081120-2_0.c: New. - * gcc.dg/lto/20081120-2_1.c: New. - * gcc.dg/lto/20081125_0.c: New. - * gcc.dg/lto/20081125_1.c: New. - * gcc.dg/lto/20081126_0.c: New. - * gcc.dg/lto/20081201-1_0.c: New. - * gcc.dg/lto/20081201-1_1.c: New. - * gcc.dg/lto/20081201-1_2.c: New. - * gcc.dg/lto/20081201-2_0.c: New. - * gcc.dg/lto/20081201-2_1.c: New. - * gcc.dg/lto/20081202-1_0.c: New. - * gcc.dg/lto/20081202-1_1.c: New. - * gcc.dg/lto/20081202-2_0.c: New. - * gcc.dg/lto/20081202-2_1.c: New. - * gcc.dg/lto/20081204-1_0.c: New. - * gcc.dg/lto/20081204-1_1.c: New. - * gcc.dg/lto/20081204-2_0.c: New. - * gcc.dg/lto/20081210-1_0.c: New. - * gcc.dg/lto/20081212-1_0.c: New. - * gcc.dg/lto/20081222_0.c: New. - * gcc.dg/lto/20081222_0.h: New. - * gcc.dg/lto/20081222_1.c: New. - * gcc.dg/lto/20081224_0.c: New. - * gcc.dg/lto/20081224_0.h: New. - * gcc.dg/lto/20081224_1.c: New. - * gcc.dg/lto/20090116_0.c: New. - * gcc.dg/lto/20090120_0.c: New. - * gcc.dg/lto/20090126-1_0.c: New. - * gcc.dg/lto/20090126-2_0.c: New. - * gcc.dg/lto/20090206-1_0.c: New. - * gcc.dg/lto/20090206-2_0.c: New. - * gcc.dg/lto/20090210_0.c: New. - * gcc.dg/lto/20090210_1.c: New. - * gcc.dg/lto/20090213_0.c: New. - * gcc.dg/lto/20090213_1.c: New. - * gcc.dg/lto/20090218-1_0.c: New. - * gcc.dg/lto/20090218-1_1.c: New. - * gcc.dg/lto/20090218-2_0.c: New. - * gcc.dg/lto/20090218-2_1.c: New. - * gcc.dg/lto/20090218_0.c: New. - * gcc.dg/lto/20090218_1.c: New. - * gcc.dg/lto/20090218_2.c: New. - * gcc.dg/lto/20090218_3.c: New. - * gcc.dg/lto/20090219_0.c: New. - * gcc.dg/lto/20090312_0.c: New. - * gcc.dg/lto/20090312_1.c: New. - * gcc.dg/lto/20090313_0.c: New. - * gcc.dg/lto/20090706-1_0.c: New. - * gcc.dg/lto/20090706-2_0.c: New. - * gcc.dg/lto/20090717_0.c: New. - * gcc.dg/lto/20090717_1.c: New. - * gcc.dg/lto/20090729_0.c: New. - * gcc.dg/lto/20090729_1.c: New. - * gcc.dg/lto/20090812_0.c: New. - * gcc.dg/lto/20090812_1.c: New. - * gcc.dg/lto/20090914-1_0.c: New. - * gcc.dg/lto/README: New. - * gcc.dg/visibility-7.c: Adjust expected pattern - * gfortran.dg/lto: New directory. - * gfortran.dg/lto/pr40724_0.f: New. - * gfortran.dg/lto/pr40724_1.f: New. - * gfortran.dg/lto/pr40725_0.f03: New. - * gfortran.dg/lto/pr40725_1.c: New. - * gfortran.dg/lto/pr41069_0.f90: New. - * gfortran.dg/lto/pr41069_1.f90: New. - * gfortran.dg/lto/pr41069_2.f90: New. - * g++.dg/README: Add 'lto' directory. - * g++.dg/dg.exp: Also scan 'lto' directory - -2009-10-03 Ben Elliston <bje@au.ibm.com> - Janis Johnson <janis187@us.ibm.com> - Diego Novillo <dnovillo@google.com> - - * g++.dg/lto/lto.exp: New. - * gcc.c-torture/execute/execute.exp: Add - LTO_TORTURE_OPTIONS TO C_TORTURE_OPTIONS. - * gcc.c-torture/execute/builtins/builtins.exp: Likewise. - * gcc.c-torture/execute/ieee/ieee.exp: Likewise. - * gcc.c-torture/unsorted/unsorted.exp: Likewise. - * gcc.target/i386/math-torture/math-torture.exp: Likewise. - * gcc.dg/lto/lto.exp: New. - * gfortran.dg/lto/lto.exp: New. - * lib/target-supports.exp (check_effective_target_lto): New. - * lib/c-torture.exp: Load target-supports.exp. Define - LTO_TORTURE_OPTIONS if check_effective_target_lto returns nonzero. - * lib/gcc-dg.exp: Likewise. - * lib/lto.exp: New. - * lib/torture-options.exp: Add support for a third argument. - -2009-10-03 Uros Bizjak <ubizjak@gmail.com> - - PR testsuite/41542 - * gcc.dg/tree-ssa/ipa-cp-1.c: Remove mis-merged garbage. - -2009-10-02 Jason Merrill <jason@redhat.com> - - * g++.dg/abi/mangle32.C: New. - -2009-10-02 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/atomic2.adb: New test. - -2009-10-02 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/array11.adb: New test. - * gnat.dg/array12.adb: Likewise. - -2009-10-02 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/array10.adb: New test. - * gnat.dg/object_overflow.adb: Tweak. - -2009-10-02 Jack Howarth <howarth@bromo.med.uc.edu> - - * gcc.dg/guality/guality.exp: Disable on darwin. - -2009-10-02 Janis Johnson <janis187@us.ibm.com> - - * c-c++-common/dfp/func-vararg-alternate-d32.c: Remove XFAIL. - * c-c++-common/dfp/func-vararg-dfp.c: Ditto. - * c-c++-common/dfp/func-vararg-mixed.c: Ditto. - * c-c++-common/dfp/func-vararg-mixed-2.c: Ditto. - -2009-10-02 Tobias Burnus <burnus@net-b.de> - - PR fortran/41479 - * gfortran.dg/intent_out_5.f90: New test. - -2009-10-02 Jakub Jelinek <jakub@redhat.com> - - PR debug/41404 - PR debug/41353 - * gcc.dg/guality/pr41404-1.c: New test. - * gcc.dg/guality/pr41353-2.c: New test. - -2009-10-02 H.J. Lu <hongjiu.lu@intel.com> - - PR testsuite/41546 - * gcc.target/i386/ifcvt-onecmpl-abs-1.c: Change -mtune=i586 - to -mtune=generic. - -2009-10-01 Jan Hubicka <jh@suse.cz> - - * gcc.dg/tree-ssa/ipa-cp-1.c: New testcase. - -2009-10-01 Loren J. Rittle <ljrittle@acm.org> - - * gcc.dg/20021014-1.c (*-*-freebsd*): Use dg-message. - - * gcc.target/i386/ifcvt-onecmpl-abs-1.c: Specify -mtune=i586. - -2009-10-01 Tobias Burnus <burnus@net-b.de> - - PR fortran/41515 - * gfortran.dg/parameter_array_init_5.f90: New test. - -2009-10-01 Jason Merrill <jason@redhat.com> - - * g++.dg/cpp0x/defaulted13.C: New. - -2009-09-30 Dennis Wassel <dennis.wassel@gmail.com> - - * gfortran.dg/bounds_check_7.f90: Adapted error message. - * gfortran.dg/bounds_check_11.f90: Likewise. - * gfortran.dg/bounds_check_fail_1.f90: Likewise. - -2009-09-30 Tobias Burnus <burnus@net-b.de> - - * gfortran.dg/select_type_4.f90: New test. - -2009-09-30 Janus Weil <janus@gcc.gnu.org> - - * gfortran.dg/same_type_as_1.f03: New test. - * gfortran.dg/same_type_as_2.f03: Ditto. - -2009-09-30 Janus Weil <janus@gcc.gnu.org> - - * gfortran.dg/select_type_1.f03: Extended. - * gfortran.dg/select_type_3.f03: New test. - -2009-09-30 Janus Weil <janus@gcc.gnu.org> - - * gfortran.dg/class_allocate_1.f03: New test. - -2009-09-30 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40996 - * gfortran.dg/allocatable_scalar_3.f90: New test. - * gfortran.dg/select_type_2.f03: Ditto. - * gfortran.dg/typebound_proc_5.f03: Changed error messages. - -2009-09-30 Janus Weil <janus@gcc.gnu.org> - - * gfortran.dg/block_name_2.f90: Modified error message. - * gfortran.dg/select_6.f90: Ditto. - * gfortran.dg/select_type_1.f03: New test. - -2009-09-30 Janus Weil <janus@gcc.gnu.org> - - * gfortran.dg/allocate_derived_1.f90: Remove -w option. - * gfortran.dg/class_1.f03: Ditto. - * gfortran.dg/class_2.f03: Ditto. - * gfortran.dg/proc_ptr_comp_pass_1.f90: Ditto. - * gfortran.dg/proc_ptr_comp_pass_2.f90: Ditto. - * gfortran.dg/proc_ptr_comp_pass_3.f90: Ditto. - * gfortran.dg/typebound_call_10.f03: Ditto. - * gfortran.dg/typebound_call_2.f03: Ditto. - * gfortran.dg/typebound_call_3.f03: Ditto. - * gfortran.dg/typebound_call_4.f03: Ditto. - * gfortran.dg/typebound_call_9.f03: Ditto. - * gfortran.dg/typebound_generic_3.f03: Ditto. - * gfortran.dg/typebound_generic_4.f03: Ditto. - * gfortran.dg/typebound_operator_1.f03: Ditto. - * gfortran.dg/typebound_operator_2.f03: Ditto. - * gfortran.dg/typebound_operator_3.f03: Ditto. - * gfortran.dg/typebound_operator_4.f03: Ditto. - * gfortran.dg/typebound_proc_1.f08: Ditto. - * gfortran.dg/typebound_proc_5.f03: Ditto. - * gfortran.dg/typebound_proc_6.f03: Ditto. - -2009-09-30 Jason Merrill <jason@redhat.com> - - * g++.dg/eh/init-temp1.C: Improve test. - -2009-09-30 Uros Bizjak <ubizjak@gmail.com> - - PR target/22093 - * gcc.target/alpha/pr22093.c: New test. - -2009-09-29 John Freeman <jfreeman08@gmail.com> - Jason Merrill <jason@redhat.com> - - * g++.dg/cpp0x/lambda/lambda-array.C: New. - * g++.dg/cpp0x/lambda/lambda-capture-const-ref.C: New. - * g++.dg/cpp0x/lambda/lambda-capture-const-ref-neg.C: New. - * g++.dg/cpp0x/lambda/lambda-const.C: New. - * g++.dg/cpp0x/lambda/lambda-copy-default-neg.C: New. - * g++.dg/cpp0x/lambda/lambda-copy-default.C: New. - * g++.dg/cpp0x/lambda/lambda-copy-neg.C: New. - * g++.dg/cpp0x/lambda/lambda-copy.C: New. - * g++.dg/cpp0x/lambda/lambda-ctor-neg.C: New. - * g++.dg/cpp0x/lambda/lambda-ctors.C: New. - * g++.dg/cpp0x/lambda/lambda-deduce-ext-neg.C: New. - * g++.dg/cpp0x/lambda/lambda-deduce-ext-neg2.C: New. - * g++.dg/cpp0x/lambda/lambda-deduce-ext.C: New. - * g++.dg/cpp0x/lambda/lambda-deduce-neg.C: New. - * g++.dg/cpp0x/lambda/lambda-deduce.C: New. - * g++.dg/cpp0x/lambda/lambda-defarg.C: New. - * g++.dg/cpp0x/lambda/lambda-eh.C: New. - * g++.dg/cpp0x/lambda/lambda-errloc.C: New. - * g++.dg/cpp0x/lambda/lambda-field-names.C: New. - * g++.dg/cpp0x/lambda/lambda-in-class-neg.C: New. - * g++.dg/cpp0x/lambda/lambda-in-class.C: New. - * g++.dg/cpp0x/lambda/lambda-lookup-neg.C: New. - * g++.dg/cpp0x/lambda/lambda-mangle.C: New. - * g++.dg/cpp0x/lambda/lambda-mixed.C: New. - * g++.dg/cpp0x/lambda/lambda-mutable.C: New. - * g++.dg/cpp0x/lambda/lambda-nested.C: New. - * g++.dg/cpp0x/lambda/lambda-non-const.C: New. - * g++.dg/cpp0x/lambda/lambda-nop.C: New. - * g++.dg/cpp0x/lambda/lambda-ns-scope.C: New. - * g++.dg/cpp0x/lambda/lambda-pass.C: New. - * g++.dg/cpp0x/lambda/lambda-recursive.C: New. - * g++.dg/cpp0x/lambda/lambda-ref-default.C: New. - * g++.dg/cpp0x/lambda/lambda-ref.C: New. - * g++.dg/cpp0x/lambda/lambda-std-function.C: New. - * g++.dg/cpp0x/lambda/lambda-template.C: New. - * g++.dg/cpp0x/lambda/lambda-this.C: New. - * g++.dg/cpp0x/lambda/lambda-type.C: New. - * g++.dg/cpp0x/lambda/lambda-use.C: New. - * lib/prune.exp: Accept "In lambda function". - -2009-09-29 Harsha Jagasia <harsha.jagasia@amd.com> - - * gcc.target/i386/fma4-check.h: New file. - * gcc.target/i386/fma4-fma.c: Ditto. - * gcc.target/i386/fma4-maccXX.c: Ditto. - * gcc.target/i386/fma4-msubXX.c: Ditto. - * gcc.target/i386/fma4-nmaccXX.c: Ditto. - * gcc.target/i386/fma4-nmsubXX.c: Ditto. - * gcc.target/i386/fma4-vector.c: Ditto. - * gcc.target/i386/fma4-256-maccXX.c: Ditto. - * gcc.target/i386/fma4-256-msubXX.c: Ditto. - * gcc.target/i386/fma4-256-nmaccXX.c: Ditto. - * gcc.target/i386/fma4-256-nmsubXX.c: Ditto. - * gcc.target/i386/fma4-256-vector.c: Ditto. - * gcc.target/i386/funcspec-2.c: Ditto. - - * gcc.target/i386/funcspec-4.c: Test error conditions related to FMA4. - - * gcc.target/i386/funcspec-5.c: Add FMA4. - * gcc.target/i386/funcspec-6.c: Ditto. - * gcc.target/i386/funcspec-8.c: Ditto. - - * gcc.target/i386/funcspec-9.c: New file. - - * gcc.target/i386/i386.exp: Add check_effective_target_fma4. - - * gcc.target/i386/isa-10.c: New file. - * gcc.target/i386/isa-11.c: Ditto. - * gcc.target/i386/isa-12.c: Ditto. - * gcc.target/i386/isa-13.c: Ditto. - * gcc.target/i386/isa-2.c: Ditto. - * gcc.target/i386/isa-3.c: Ditto. - * gcc.target/i386/isa-4.c: Ditto. - * gcc.target/i386/isa-7.c: Ditto. - * gcc.target/i386/isa-8.c: Ditto. - * gcc.target/i386/isa-9.c: Ditto. - - * gcc.target/i386/isa-14.c: Add FMA4. - * gcc.target/i386/isa-1.c: Ditto. - * gcc.target/i386/isa-5.c: Ditto. - * gcc.target/i386/isa-6.c: Ditto. - - * gcc.target/i386/sse-12.c: New file. - * gcc.target/i386/sse-13.c: Ditto. - * gcc.target/i386/sse-14.c: Ditto. - * gcc.target/i386/sse-22.c: Ditto. - - * g++.dg/other/i386-2.C: Add -mfma4 to dg-options. - * g++.dg/other/i386-3.C: Ditto. - * g++.dg/other/i386-5.C: Ditto. - * g++.dg/other/i386-6.C: Ditto. - -2009-09-29 H.J. Lu <hongjiu.lu@intel.com> - - PR testsuite/41496 - * g++.dg/dfp/dfp.exp: Unset DEFAULT_CXXFLAGS if it didn't exist - before. - -2009-09-29 Janis Johnson <janis187@us.ibm.com> - - * gcc.test-framework/dg-bogus-exp-XF.c: Move dg-bogus directive. - * gcc.test-framework/dg-warning-exp-P.c: Move dg-warning directives. - -2009-09-29 Jakub Jelinek <jakub@redhat.com> - - PR debug/41438 - * gcc.dg/debug/dwarf2/const-1.c: Add dg-require-visibility, make x - hidden. - * g++.dg/debug/dwarf2/const-1.C: Likewise. - -2009-09-29 Harsha Jagasia <harsha.jagasia@amd.com> - - * gcc.target/i386/i386.exp: Remove check_effective_target_sse5. - * gcc.target/i386/isa-1.c: Remove SSE5. - * gcc.target/i386/isa-5.c: Ditto. - * gcc.target/i386/isa-6.c: Ditto. - * gcc.target/i386/funcspec-4.c: Remove error conditions - related to SSE5. - * gcc.target/i386/avx-1.c: Remove comments to mmintrin-common.h. - * gcc.target/i386/avx-2.c: Ditto. - * gcc.target/i386/sse-23.c: Ditto. - * gcc.target/i386/funcspec-9.c: Delete. - -2009-09-29 Jakub Jelinek <jakub@redhat.com> - - * gcc.dg/guality/guality.exp (gdb-test): New proc for use in dg-final. - * gcc.dg/guality/pr41353-1.c: New test. - - PR testsuite/41444 - * gcc.dg/guality/guality.h (GUALITY_GDB_REDIRECT): Fix a typo - in macro name definition for non-unix/win32/msdos. - -2009-09-29 Daniel Kraft <d@domob.eu> - - PR fortran/39626 - * gfortran.dg/block_1.f08: New test. - * gfortran.dg/block_2.f08: New test. - * gfortran.dg/block_3.f90: New test. - * gfortran.dg/block_4.f08: New test. - * gfortran.dg/block_5.f08: New test. - * gfortran.dg/block_6.f08: New test. - * gfortran.dg/block_7.f08: New test. - * gfortran.dg/block_8.f08: New test. - -2009-09-28 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR libgfortran/35862 - * gfortran.dg/round_1.f03: New test. - * gfortran.dg/f2003_io_3.f03: Update test. - -2009-09-28 Easwaran Raman <eraman@google.com> - - * gcc.target/i386/ifcvt-onecmpl-abs-1.c: New file. - * gcc.c-torture/execute/ifcvt-onecmpl-abs-1.c: New file. - -2009-09-28 Janis Johnson <janis187@us.ibm.com> - - * g++.dg/dfp/dfp.exp: Run tests from c-c++-common/dfp. - * c-c++-common/dfp/func-vararg-alternate-d32.c: XFAIL for C++. - * c-c++-common/dfp/func-vararg-dfp.c: Ditto. - * c-c++-common/dfp/func-vararg-mixed.c: Ditto. - * c-c++-common/dfp/func-vararg-mixed-2.c: Ditto. - - * g++.dg/dfp/dfp.exp: Fix typo. - - * lib/target-supports.exp (check-effective-target-dfp-nocache): - Fix typo that breaks the check. - -2009-09-28 Olivier Hainque <hainque@adacore.com> - - * gnat.dg (tagged_alloc_free.adb): New testcase. - -2009-09-28 Janis Johnson <janis187@us.ibm.com> - - * g++.dg/dfp: New directory. - * g++.dg/dg.exp: Prune tests in dfp directory. - * g++.dg/dfp/dfp.exp: New. - * g++.dg/dfp/mangle-mode.C: New test. - -2009-09-28 Michael Matz <matz@suse.de> - - * gcc.dg/builtins-44.c: Use __builtin_isinf_sign when checking - for sign of -Inf. - -2009-09-27 Richard Henderson <rth@redhat.com> - - * gcc.c-torture/compile/pr41469.c: Add -fexceptions. - * gcc.dg/tree-ssa/pr41469-1.c: New. - -2009-09-26 Andreas Schwab <schwab@linux-m68k.org> - - PR c/41476 - * gcc.dg/cond-constqual-1.c: New test. - -2009-09-26 Michael Matz <matz@suse.de> - - PR lto/40758 - PR middle-end/41470 - * gcc.dg/pr41470.c: New test. - -2009-09-26 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/array9.adb: New test. - -2009-09-26 Michael Matz <matz@suse.de> - - PR tree-optimization/41454 - * gcc.dg/pr41454.c: New test. - -2009-09-25 Dodji Seketeli <dodji@redhat.com> - - * g++.dg/debug/dwarf2/template-func-params-4.C: Adjust after renaming - DW_TAG_template_parameter_pack and DW_TAG_formal_parameter_pack - into DW_TAG_GNU_template_parameter_pack and - DW_TAG_GNU_formal_parameter_pack. - * g++.dg/debug/dwarf2/template-params-4.C: Likewise. - * g++.dg/debug/dwarf2/template-func-params-7.C: Likewise. - -2009-09-25 Nathan Froyd <froydnj@codesourcery.com> - - * gcc.dg/vect/vect.exp: Append extra parameters as separate - parameters for alignment-sensitive -fsection-anchors tests. - -2009-09-25 Richard Guenther <rguenther@suse.de> - - PR middle-end/41463 - * gcc.c-torture/execute/pr41463.c: New testcase. - -2009-09-25 Olivier Hainque <hainque@adacore.com> - - * gnat.dg/sse_nolib.adb: New testcase. - -2009-09-25 Revital Eres <ERES@il.ibm.com> - - * gcc.target/powerpc/vsx-vectorize-8.c: New test. - * gcc.target/powerpc/vsx-vectorize-1.c: Likewise. - * gcc.target/powerpc/vsx-vectorize-2.c: Likewise. - * gcc.target/powerpc/vsx-vectorize-3.c: Likewise. - * gcc.target/powerpc/vsx-vectorize-4.c: Likewise. - * gcc.target/powerpc/vsx-vectorize-5.c: Likewise. - * gcc.target/powerpc/vsx-vectorize-6.c: Likewise. - * gcc.target/powerpc/vsx-vectorize-7.c: Likewise. - * gcc.dg/vect/vect.exp: Add Power7 flags. - * g++.dg/vect/vect.exp: Likewise. - * gfortran.dg/vect/vect.exp: Likewise. - -2009-09-24 Steven G. Kargl <kargl@gcc.gnu.org> - - PR fortran/41459 - * gfortran.dg/empty_label.f: New test. - * gfortran.dg/empty_label.f90: Ditto. - * gfortran.dg/warnings_are_errors_1.f: Fix to emit a single warning. - -2009-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * gcc.dg/torture/builtin-math-7.c: Test complex int division at - compile-time. - -2009-09-24 Adam Nemet <anemet@caviumnetworks.com> - - * lib/scanasm.exp (make_pattern_printable): New function. - (dg-scan, scan-assembler-times, scan-assembler-dem, - scan-assembler-dem-not): Use it. - -2009-09-24 H.J. Lu <hongjiu.lu@intel.com> - - * gcc.target/i386/pr12329.c (dg-do): Changed to run. - (test_nested): Renamed to ... - (test_nested1): This. - (test_nested2): New. - (main): Likewise. - -2009-09-24 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/36143 - PR tree-optimization/38747 - * gcc.dg/tree-ssa/fre-vce-1.c: XFAIL. - * gcc.dg/tree-ssa/forwprop-6.c: Likewise. - * g++.dg/torture/pr38747.C: New testcase. - * g++.dg/tree-ssa/pr19637.C: Un-XFAIL. - -2009-09-24 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/nested_proc.adb: New test. - -2009-09-24 Jakub Jelinek <jakub@redhat.com> - - * gcc.target/i386/pr12329.c: Adjust. - -2009-09-23 Alexandre Oliva <aoliva@redhat.com> - - PR debug/41248 - * gcc.dg/pr41248.c: New. - -2009-09-23 Dodji Seketeli <dodji@redhat.com> - - PR debug/41065 - * gcc.dg/debug/dwarf2/global-used-types.c: New test. - -2009-09-23 Andreas Schwab <schwab@redhat.com> - - * lib/profopt.exp (profopt-get-options): Set tool_flags for - current_compiler_flags. Fix typos. - -2009-09-23 Yuri Gribov <tetra2005@googlemail.com> - - * gcc.c-torture/execute/980526-2.c: Skip if sizeof (int) > 4. - -2009-09-23 Uros Bizjak <ubizjak@gmail.com> - - PR c/39779 - * gcc.c-torture/compile/pr39779.c: New test. - -2009-09-22 Dodji Seketeli <dodji@redhat.com> - - * g++.dg/debug/dwarf2/template-func-params-4.C: Adjust. - * g++.dg/debug/dwarf2/template-func-params-7.C: Likewise. - * g++.dg/debug/dwarf2/template-params-4.C: Likewise. - -2009-09-22 Alexandre Oliva <aoliva@redhat.com> - - PR debug/41295 - * gcc.dg/pr41295.c: New. - -2009-09-22 Neil Vachharajani <nvachhar@google.com> - - * gcc.dg/pr40209.c: Add test case. - -2009-09-22 Adam Nemet <anemet@caviumnetworks.com> - - * gcc.target/mips/code-readable-1.c: Change \. to \\. when - matching assembly. - * gcc.target/mips/code-readable-2.c: Likewise. - * gcc.target/mips/code-readable-3.c: Likewise. - -2009-09-22 Janis Johnson <janis187@us.ibm.com> - - * lib/target-supports.exp (check_effective_target_dfp_nocache): - Check support via mode instead of C type. - (check_effective_target_dfprt_nocache): Ditto. - (check_effective_target_hard_dfp): Ditto. - -2009-09-22 Richard Guenther <rguenther@suse.de> - - PR middle-end/41395 - * gcc.c-torture/execute/pr41395-1.c: New testcase. - * gcc.c-torture/execute/pr41395-2.c: Likewise. - -2009-09-22 Jakub Jelinek <jakub@redhat.com> - - * gcc.dg/20090922-1.c: New test. - - PR bootstrap/41405 - * gfortran.dg/debug/pr37738.f: Add -gno-strict-dwarf to dg-options. - * gfortran.dg/debug/pr35154-dwarf2.f: Likewise. - * g++.dg/debug/dwarf2/explicit-constructor.C: Likewise. - * g++.dg/debug/dwarf2/imported-module-2.C: Likewise. - * g++.dg/debug/dwarf2/imported-module-3.C: Likewise. - * g++.dg/debug/dwarf2/imported-module-4.C: Likewise. - * g++.dg/debug/dwarf2/namespace-1.C: Likewise. - * objc.dg/dwarf-2.m: Likewise. - -2009-09-22 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/41428 - * g++.dg/tree-ssa/pr41428.C: New testcase. - -2009-09-22 Jakub Jelinek <jakub@redhat.com> - - PR middle-end/41429 - * g++.dg/gomp/pr41429.C: New test. - -2009-09-21 Giuseppe Scrivano <gscrivano@gnu.org> - - * gcc.dg/tree-ssa/tailrecursion-6.c: New file. - -2009-09-21 Jason Merrill <jason@redhat.com> - - PR c++/41421 - * g++.dg/cpp0x/trivial1.C: Expand. - -2009-09-21 Kai Tietz <kai.tietz@onevision.com> - - * gcc.dg/torture/calleesave-sse.c: New. - -2009-09-21 Jan Hubicka <jh@suse.cz> - - * gcc.dg/guality/inline-params.c: New testcase. - -2009-09-21 Uros Bizjak <ubizjak@gmail.com> - - * gcc.c-torture/execute/ieee/ieee.exp (additional_flags): - Add -fno-inline. - * gcc.c-torture/execute/ieee/pr36332.c (foo): Remove attributes. - * gcc.c-torture/execute/ieee/pr30704.c (f1): Ditto. - (f2): Ditto. - -2009-09-20 H.J. Lu <hongjiu.lu@intel.com> - - * gcc.dg/ipa/ipa-sra-1.c (dg-options): Add -fipa-sra. - * gcc.dg/ipa/ipa-sra-2.c (dg-options): Likewise. - * gcc.dg/ipa/ipa-sra-3.c (dg-options): Likewise. - * gcc.dg/ipa/ipa-sra-4.c (dg-options): Likewise. - * gcc.dg/ipa/ipa-sra-5.c (dg-options): Likewise. - -2009-09-20 Andrew Pinski <pinskia@gcc.gnu.org> - - PR middle-end/40642 - * g++.dg/torture/pr40642.C: New testcase. - -2009-09-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * gcc.dg/torture/builtin-math-7.c: Update for testing Annex G - cases in static initializers. - -2009-09-20 Kai Tietz <kai.tietz@onevision.com> - - * gcc.c-tortue/compile/pr39886.c: New. - -2009-09-20 Chris Demetriou <cgd@google.com> - - PR preprocessor/28435: - * gcc.dg/cpp/missing-header-MD.c: Make output checking match - gcc.dg/cpp/missing-header-1.c, and add PR number to test comment. - * gcc.dg/cpp/missing-header-MMD.c: Likewise. - * gcc.dg/cpp/missing-sysheader-MD.c: Likewise. - * gcc.dg/cpp/missing-sysheader-MMD.c: Likewise. - -2009-09-19 Adam Nemet <anemet@caviumnetworks.com> - - * gcc.target/mips/mips.exp: Add relax-pic-calls - under -mfoo/-mno-foo options. - (mips-dg-options): Make -mrelax-pic-calls imply -mno-plt, -mabicalls - and -mexplicit-relocs. - * gcc.target/mips/call-1.c: New test. - * gcc.target/mips/call-2.c: New test. - * gcc.target/mips/call-3.c: New test. - * gcc.target/mips/lazy-binding-1.c: Add MIPS-specific dg-options. - * gcc.dg/tree-ssa/loop-1.c: Likewise. - -2009-09-19 Chris Demetriou <cgd@google.com> - - PR preprocessor/28435: - * gcc.dg/cpp/missing-header-MD.c: New test. - * gcc.dg/cpp/missing-header-MMD.c: New test. - * gcc.dg/cpp/missing-sysheader-MD.c: New test. - * gcc.dg/cpp/missing-sysheader-MMD.c: New test. - -2009-09-18 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR libgfortran/41328 - * gfortran.dg/cr_lf.f90: Modify test to include check that no EOR with - EOF works. - -2009-09-18 Jason Merrill <jason@redhat.com> - - * g++.dg/cpp0x/nolinkage1{.C,.h,a.cc}: New. - * g++.dg/cpp0x/initlist-deduce.C: New. - -2009-09-18 Neil Vachharajani <nvachhar@google.com> - - * gcc.dg/tree-prof/val-prof-7.c: Added test case. - -2009-09-18 Janis Johnson <janis187@us.ibm.com> - - * gcc.dg/dfp/dfp.exp: Also run tests in c-c++-common/dfp. - * c-c++-common/dfp: New directory. - * c-c++-common/dfp/dfp-dbg.h: New file. - * gcc.dg/dfp/call-by-value.c: Move to ... - * c-c++-common/call-by-value.c: here. - * gcc.dg/dfp/cast.c: Move to ... - * c-c++-common/cast.c: here. - * gcc.dg/dfp/compare-eq-const.c: Move to ... - * c-c++-common/compare-eq-const.c: here. - * gcc.dg/dfp/compare-eq-d128.c: Move to ... - * c-c++-common/compare-eq-d128.c: here. - * gcc.dg/dfp/compare-eq-d32.c: Move to ... - * c-c++-common/compare-eq-d32.c: here. - * gcc.dg/dfp/compare-eq-d64.c: Move to ... - * c-c++-common/compare-eq-d64.c: here. - * gcc.dg/dfp/compare-eq-dfp.c: Move to ... - * c-c++-common/compare-eq-dfp.c: here. - * gcc.dg/dfp/compare-eq.h: Move to ... - * c-c++-common/compare-eq.h: here. - * gcc.dg/dfp/compare-rel-const.c: Move to ... - * c-c++-common/compare-rel-const.c: here. - * gcc.dg/dfp/compare-rel-d128.c: Move to ... - * c-c++-common/compare-rel-d128.c: here. - * gcc.dg/dfp/compare-rel-d32.c: Move to ... - * c-c++-common/compare-rel-d32.c: here. - * gcc.dg/dfp/compare-rel-d64.c: Move to ... - * c-c++-common/compare-rel-d64.c: here. - * gcc.dg/dfp/compare-rel-dfp.c: Move to ... - * c-c++-common/compare-rel-dfp.c: here. - * gcc.dg/dfp/compare-rel.h: Move to ... - * c-c++-common/compare-rel.h: here. - * gcc.dg/dfp/compare-special-d128.c: Move to ... - * c-c++-common/compare-special-d128.c: here. - * gcc.dg/dfp/compare-special-d32.c: Move to ... - * c-c++-common/compare-special-d32.c: here. - * gcc.dg/dfp/compare-special-d64.c: Move to ... - * c-c++-common/compare-special-d64.c: here. - * gcc.dg/dfp/compare-special.h: Move to ... - * c-c++-common/compare-special.h: here. - * gcc.dg/dfp/constants-zero.c: Move to ... - * c-c++-common/constants-zero.c: here. - * gcc.dg/dfp/convert-bfp-10.c: Move to ... - * c-c++-common/convert-bfp-10.c: here. - * gcc.dg/dfp/convert-bfp-11.c: Move to ... - * c-c++-common/convert-bfp-11.c: here. - * gcc.dg/dfp/convert-bfp-12.c: Move to ... - * c-c++-common/convert-bfp-12.c: here. - * gcc.dg/dfp/convert-bfp-13.c: Move to ... - * c-c++-common/convert-bfp-13.c: here. - * gcc.dg/dfp/convert-bfp-14.c: Move to ... - * c-c++-common/convert-bfp-14.c: here. - * gcc.dg/dfp/convert-bfp-2.c: Move to ... - * c-c++-common/convert-bfp-2.c: here. - * gcc.dg/dfp/convert-bfp-3.c: Move to ... - * c-c++-common/convert-bfp-3.c: here. - * gcc.dg/dfp/convert-bfp-4.c: Move to ... - * c-c++-common/convert-bfp-4.c: here. - * gcc.dg/dfp/convert-bfp-5.c: Move to ... - * c-c++-common/convert-bfp-5.c: here. - * gcc.dg/dfp/convert-bfp-6.c: Move to ... - * c-c++-common/convert-bfp-6.c: here. - * gcc.dg/dfp/convert-bfp-7.c: Move to ... - * c-c++-common/convert-bfp-7.c: here. - * gcc.dg/dfp/convert-bfp-8.c: Move to ... - * c-c++-common/convert-bfp-8.c: here. - * gcc.dg/dfp/convert-bfp-9.c: Move to ... - * c-c++-common/convert-bfp-9.c: here. - * gcc.dg/dfp/convert-bfp.c: Move to ... - * c-c++-common/convert-bfp.c: here. - * gcc.dg/dfp/convert-bfp-fold.c: Move to ... - * c-c++-common/convert-bfp-fold.c: here. - * gcc.dg/dfp/convert-dfp.c: Move to ... - * c-c++-common/convert-dfp.c: here. - * gcc.dg/dfp/convert-dfp-fold-2.c: Move to ... - * c-c++-common/convert-dfp-fold-2.c: here. - * gcc.dg/dfp/convert-dfp-fold.c: Move to ... - * c-c++-common/convert-dfp-fold.c: here. - * gcc.dg/dfp/convert.h: Move to ... - * c-c++-common/convert.h: here. - * gcc.dg/dfp/convert-int.c: Move to ... - * c-c++-common/convert-int.c: here. - * gcc.dg/dfp/convert-int-fold.c: Move to ... - * c-c++-common/convert-int-fold.c: here. - * gcc.dg/dfp/convert-int-max.c: Move to ... - * c-c++-common/convert-int-max.c: here. - * gcc.dg/dfp/convert-int-max-fold.c: Move to ... - * c-c++-common/convert-int-max-fold.c: here. - * gcc.dg/dfp/convert-int-saturate.c: Move to ... - * c-c++-common/convert-int-saturate.c: here. - * gcc.dg/dfp/func-array.c: Move to ... - * c-c++-common/func-array.c: here. - * gcc.dg/dfp/func-deref.c: Move to ... - * c-c++-common/func-deref.c: here. - * gcc.dg/dfp/func-mixed.c: Move to ... - * c-c++-common/func-mixed.c: here. - * gcc.dg/dfp/func-pointer.c: Move to ... - * c-c++-common/func-pointer.c: here. - * gcc.dg/dfp/func-scalar.c: Move to ... - * c-c++-common/func-scalar.c: here. - * gcc.dg/dfp/func-struct.c: Move to ... - * c-c++-common/func-struct.c: here. - * gcc.dg/dfp/func-vararg-alternate-d128-2.c: Move to ... - * c-c++-common/func-vararg-alternate-d128-2.c: here. - * gcc.dg/dfp/func-vararg-alternate-d128.c: Move to ... - * c-c++-common/func-vararg-alternate-d128.c: here. - * gcc.dg/dfp/func-vararg-alternate-d32.c: Move to ... - * c-c++-common/func-vararg-alternate-d32.c: here. - * gcc.dg/dfp/func-vararg-alternate-d64.c: Move to ... - * c-c++-common/func-vararg-alternate-d64.c: here. - * gcc.dg/dfp/func-vararg-alternate.h: Move to ... - * c-c++-common/func-vararg-alternate.h: here. - * gcc.dg/dfp/func-vararg-dfp.c: Move to ... - * c-c++-common/func-vararg-dfp.c: here. - * gcc.dg/dfp/func-vararg-mixed-2.c: Move to ... - * c-c++-common/func-vararg-mixed-2.c: here. - * gcc.dg/dfp/func-vararg-mixed.c: Move to ... - * c-c++-common/func-vararg-mixed.c: here. - * gcc.dg/dfp/func-vararg-size0.c: Move to ... - * c-c++-common/func-vararg-size0.c: here. - * gcc.dg/dfp/inf-1.c: Move to ... - * c-c++-common/inf-1.c: here. - * gcc.dg/dfp/loop-index.c: Move to ... - * c-c++-common/loop-index.c: here. - * gcc.dg/dfp/modes.c: Move to ... - * c-c++-common/modes.c: here. - * gcc.dg/dfp/nan-1.c: Move to ... - * c-c++-common/nan-1.c: here. - * gcc.dg/dfp/nan-2.c: Move to ... - * c-c++-common/nan-2.c: here. - * gcc.dg/dfp/operator-arith-fold.c: Move to ... - * c-c++-common/operator-arith-fold.c: here. - * gcc.dg/dfp/operator-assignment.c: Move to ... - * c-c++-common/operator-assignment.c: here. - * gcc.dg/dfp/operator-comma.c: Move to ... - * c-c++-common/operator-comma.c: here. - * gcc.dg/dfp/operator-cond.c: Move to ... - * c-c++-common/operator-cond.c: here. - * gcc.dg/dfp/operator-logical.c: Move to ... - * c-c++-common/operator-logical.c: here. - * gcc.dg/dfp/operator-unary.c: Move to ... - * c-c++-common/operator-unary.c: here. - * gcc.dg/dfp/pr31385.c: Move to ... - * c-c++-common/pr31385.c: here. - * gcc.dg/dfp/pr33466.c: Move to ... - * c-c++-common/pr33466.c: here. - * gcc.dg/dfp/pr35620.c: Move to ... - * c-c++-common/pr35620.c: here. - * gcc.dg/dfp/pr36800.c: Move to ... - * c-c++-common/pr36800.c: here. - * gcc.dg/dfp/pr39034.c: Move to ... - * c-c++-common/pr39034.c: here. - * gcc.dg/dfp/pr39035.c: Move to ... - * c-c++-common/pr39035.c: here. - * gcc.dg/dfp/pr39902.c: Move to ... - * c-c++-common/pr39902.c: here. - * gcc.dg/dfp/pr39986.c: Move to ... - * c-c++-common/pr39986.c: here. - * gcc.dg/dfp/signbit-1.c: Move to ... - * c-c++-common/signbit-1.c: here. - * gcc.dg/dfp/signbit-2.c: Move to ... - * c-c++-common/signbit-2.c: here. - * gcc.dg/dfp/struct-layout-1.c: Move to ... - * c-c++-common/struct-layout-1.c: here. - * gcc.dg/dfp/usual-arith-conv.c: Move to ... - * c-c++-common/usual-arith-conv.c: here. - * gcc.dg/dfp/usual-arith-conv-const.c: Move to ... - * c-c++-common/usual-arith-conv-const.c: here. - -2009-09-18 Jack Howarth <howarth@bromo.med.uc.edu> - - PR testsuite/41288 - * gcc.target/x86_64/abi/asm-support-darwin.s (snapshot_ret): Preserve - stack alignment. - -2009-09-17 Andrew Pinski <pinskia@gcc.gnu.org> - - PR c++/39365 - * g++.dg/expr/bool3.C: New test. - * g++.dg/expr/bool4.C: New test. - -2009-09-17 Janis Johnson <janis187@us.ibm.com> - - * gcc.dg/dfp/dfp-dbg.h: Define EXTERN. - * gcc.dg/dfp/signbit-2.c: Use it. - * gcc.dg/dfp/func-vararg-alternate.h: Change two - arguments to unsigned int. - * gcc.dg/dfp/convert-bfp-10.c: Don't include float.h. - * gcc.dg/dfp/convert-bfp-fold.c: Include dfp-dbg.h. - * gcc.dg/dfp/convert-dfp-fold.c: Ditto - * gcc.dg/dfp/convert-int-max-fold.c: Ditto. - * gcc.dg/dfp/operator-arith-fold.c: Ditto. - * gcc.dg/dfp/pr39986.c: Ditto. - * gcc.dg/dfp/usual-arith-conv-const.c: Ditto. - * gcc.dg/dfp/pr31385.c: Use mode in typedef, not C type. - * gcc.dg/dfp/pr35620.c: Define typedef for C++. - * gcc.dg/dfp/convert-int.c: Define BOOL for C++. - * gcc.dg/dfp/convert-int-fold.c: Ditto. - -2009-09-17 Jakub Jelinek <jakub@redhat.com> - - * gcc.dg/debug/dwarf2/struct-loc1.c: New test. - -2009-09-17 Janis Johnson <janis187@us.ibm.com> - - PR c/41049 - * dfp/pr41049.c: New test. - -2009-09-17 H.J. Lu <hongjiu.lu@intel.com> - - PR testsuite/41385 - * gcc.dg/dfp/dfp.exp: Properly save DEFAULT_CFLAGS. - -2009-09-17 Martin Jambor <mjambor@suse.cz> - - * gcc.dg/struct/wo_prof_escape_arg_to_local.c: Do not run IPA-SRA. - * gcc.dg/ipa/ipa-sra-1.c: New test. - * gcc.dg/ipa/ipa-sra-2.c: New test. - * gcc.dg/ipa/ipa-sra-3.c: New test. - * gcc.dg/ipa/ipa-sra-4.c: New test. - * gcc.dg/ipa/ipa-sra-5.c: New test. - * gcc.c-torture/execute/ipa-sra-1.c: New test. - * gcc.c-torture/execute/ipa-sra-2.c: New test. - -2009-09-17 Michael Matz <matz@suse.de> - - PR middle-end/41347 - * gfortran.dg/pr41347.f90: New test. - -2009-09-17 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * gcc.c-torture/compile/20090917-1.c: New testcase. - -2009-09-16 Uros Bizjak <ubizjak@gmail.com> - - * gfortran.dg/default_format_denormal_2.f90: Add ieee options. - * gfortran.dg/default_format_denormal_1.f90: Ditto. Remove - alpha*-*-* target from XFAIL list. - -2009-09-16 Janis Johnson <janis187@us.ibm.com> - - * gcc.dg/dfp/dfp.exp: Use appropriate default options. - * gcc.dg/dfp/dfp-dbg.h: New; define FAILURE, FINISH. - * gcc.dg/dfp/cast-bad.c: Use default options. - * gcc.dg/dfp/compare-rel-const.c: Ditto. - * gcc.dg/dfp/composite-type.c: Ditto. - * gcc.dg/dfp/constants.c: Ditto. - * gcc.dg/dfp/constants-hex.c: Ditto. - * gcc.dg/dfp/constants-pedantic.c: Ditto. - * gcc.dg/dfp/convert-bfp-fold.c: Ditto. - * gcc.dg/dfp/convert-dfp-fold.c: Ditto. - * gcc.dg/dfp/convert-int-max-fold.c: Ditto. - * gcc.dg/dfp/ctypes.c: Ditto. - * gcc.dg/dfp/ddmode-ice.c: Ditto. - * gcc.dg/dfp/dec-eval-method-2.c: Ditto. - * gcc.dg/dfp/float-constant-double.c: Ditto. - * gcc.dg/dfp/keywords-pedantic.c: Ditto. - * gcc.dg/dfp/keywords-reserved.c: Ditto. - * gcc.dg/dfp/modes.c: Ditto. - * gcc.dg/dfp/operator-bitwise.c: Ditto. - * gcc.dg/dfp/pr31344.c: Ditto. - * gcc.dg/dfp/pr31385.c: Ditto. - * gcc.dg/dfp/pr33466.c: Ditto. - * gcc.dg/dfp/pr35620.c: Ditto. - * gcc.dg/dfp/pr37435.c: Ditto. - * gcc.dg/dfp/pr39986.c: Ditto. - * gcc.dg/dfp/pragma-float-const-decimal64-1.c: Ditto. - * gcc.dg/dfp/pragma-float-const-decimal64-2.c: Ditto. - * gcc.dg/dfp/pragma-float-const-decimal64-3.c: Ditto. - * gcc.dg/dfp/pragma-float-const-decimal64-4.c: Ditto. - * gcc.dg/dfp/pragma-float-const-decimal64-7.c: Ditto. - * gcc.dg/dfp/pragma-float-const-decimal64-8.c: Ditto. - * gcc.dg/dfp/typespec.c: Ditto. - * gcc.dg/dfp/usual-arith-conv-bad.c: Ditto. - * gcc.dg/dfp/usual-arith-conv-bad-2.c: Ditto. - * gcc.dg/dfp/usual-arith-conv-const.c: Ditto. - * gcc.dg/dfp/Wbad-function-cast-1.c: Ditto. - * gcc.dg/dfp/Wtraditional-conversion-2.c: Ditto. - * gcc.dg/dfp/wtr-conversion-1.c: Ditto. - * gcc.dg/dfp/compare-eq.h: Define custom debug macros. - * gcc.dg/dfp/compare-rel.h: Ditto. - * gcc.dg/dfp/compare-special.h: Ditto. - * gcc.dg/dfp/convert.h: Ditto. - * gcc.dg/dfp/fe-check.h: Ditto. - * gcc.dg/dfp/call-by-value.c: Use default options and debug macros. - * gcc.dg/dfp/cast.c: Ditto. - * gcc.dg/dfp/compare-eq-const.c: Ditto. - * gcc.dg/dfp/compare-eq-d32.c: Ditto. - * gcc.dg/dfp/compare-eq-d64.c: Ditto. - * gcc.dg/dfp/compare-eq-d128.c: Ditto. - * gcc.dg/dfp/compare-eq-dfp.c: Ditto. - * gcc.dg/dfp/compare-rel-d32.c: Ditto. - * gcc.dg/dfp/compare-rel-d64.c: Ditto. - * gcc.dg/dfp/compare-rel-d128.c: Ditto. - * gcc.dg/dfp/compare-rel-dfp.c: Ditto. - * gcc.dg/dfp/compare-special-d32.c: Ditto. - * gcc.dg/dfp/compare-special-d64.c: Ditto. - * gcc.dg/dfp/compare-special-d128.c: Ditto. - * gcc.dg/dfp/constants-zero.c: Ditto. - * gcc.dg/dfp/convert-bfp-2.c: Ditto. - * gcc.dg/dfp/convert-bfp-3.c: Ditto. - * gcc.dg/dfp/convert-bfp-4.c: Ditto. - * gcc.dg/dfp/convert-bfp-5.c: Ditto. - * gcc.dg/dfp/convert-bfp-6.c: Ditto. - * gcc.dg/dfp/convert-bfp-7.c: Ditto. - * gcc.dg/dfp/convert-bfp-8.c: Ditto. - * gcc.dg/dfp/convert-bfp-9.c: Ditto. - * gcc.dg/dfp/convert-bfp-10.c: Ditto. - * gcc.dg/dfp/convert-bfp-11.c: Ditto. - * gcc.dg/dfp/convert-bfp-12.c: Ditto. - * gcc.dg/dfp/convert-bfp-13.c: Ditto. - * gcc.dg/dfp/convert-bfp-14.c: Ditto. - * gcc.dg/dfp/convert-bfp.c: Ditto. - * gcc.dg/dfp/convert-complex.c: Ditto. - * gcc.dg/dfp/convert-dfp.c: Ditto. - * gcc.dg/dfp/convert-dfp-fold-2.c: Ditto. - * gcc.dg/dfp/convert-dfp-round.c: Ditto. - * gcc.dg/dfp/convert-int.c: Ditto. - * gcc.dg/dfp/convert-int-fold.c: Ditto. - * gcc.dg/dfp/convert-int-max.c: Ditto. - * gcc.dg/dfp/convert-int-saturate.c: Ditto. - * gcc.dg/dfp/decfloat-constants.c: Ditto. - * gcc.dg/dfp/fe-binop.c: Ditto. - * gcc.dg/dfp/fe-convert-1.c: Ditto. - * gcc.dg/dfp/fe-convert-2.c: Ditto. - * gcc.dg/dfp/fe-convert-3.c: Ditto. - * gcc.dg/dfp/func-array.c: Ditto. - * gcc.dg/dfp/func-deref.c: Ditto. - * gcc.dg/dfp/func-mixed.c: Ditto. - * gcc.dg/dfp/func-pointer.c: Ditto. - * gcc.dg/dfp/func-scalar.c: Ditto. - * gcc.dg/dfp/func-struct.c: Ditto. - * gcc.dg/dfp/func-vararg-alternate.h: Ditto. - * gcc.dg/dfp/func-vararg-alternate-d32.c: Ditto. - * gcc.dg/dfp/func-vararg-alternate-d64.c: Ditto. - * gcc.dg/dfp/func-vararg-alternate-d128.c: Ditto. - * gcc.dg/dfp/func-vararg-alternate-d128-2.c: Ditto. - * gcc.dg/dfp/func-vararg-dfp.c: Ditto. - * gcc.dg/dfp/func-vararg-mixed.c: Ditto. - * gcc.dg/dfp/func-vararg-mixed-2.c: Ditto. - * gcc.dg/dfp/func-vararg-size0.c: Ditto. - * gcc.dg/dfp/inf-1.c: Ditto. - * gcc.dg/dfp/loop-index.c: Ditto. - * gcc.dg/dfp/nan-1.c: Ditto. - * gcc.dg/dfp/nan-2.c: Ditto. - * gcc.dg/dfp/operator-arith-fold.c: Ditto. - * gcc.dg/dfp/operator-assignment.c: Ditto. - * gcc.dg/dfp/operator-comma.c: Ditto. - * gcc.dg/dfp/operator-cond.c: Ditto. - * gcc.dg/dfp/operator-logical.c: Ditto. - * gcc.dg/dfp/operator-unary.c: Ditto. - * gcc.dg/dfp/pr36800.c: Ditto. - * gcc.dg/dfp/pr39034.c: Ditto. - * gcc.dg/dfp/pr39035.c: Ditto. - * gcc.dg/dfp/pr39902.c: Ditto. - * gcc.dg/dfp/signbit-1.c: Ditto. - * gcc.dg/dfp/signbit-2.c: Ditto. - * gcc.dg/dfp/struct-layout-1.c: Ditto. - * gcc.dg/dfp/union-init.c: Ditto. - * gcc.dg/dfp/usual-arith-conv.c: Ditto. - -2009-09-16 Michael Matz <matz@suse.de> - - PR fortran/41212 - * gfortran.dg/pr41212.f90: New test. - -2009-09-16 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/alignment9.adb: New test. - -2009-09-16 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/discr20.ad[sb]: New test. - -2009-09-16 Richard Guenther <rguenther@suse.de> - - PR middle-end/34011 - * gcc.dg/tree-ssa/ssa-lim-7.c: New testcase. - -2009-09-16 DJ Delorie <dj@redhat.com> - Kaz Kojima <kkojima@gcc.gnu.org> - - * gcc.target/sh/struct-arg-dw2.c: New test. - -2009-09-15 Nathan Froyd <froydnj@codesourcery.com> - Jakub Jelinek <jakub@redhat.com> - - PR target/41175 - * gcc.target/powerpc/pr41175.c: New test. - -2009-09-14 Richard Henderson <rth@redhat.com> - - * c-c++-common/asmgoto-1.c, c-c++-common/asmgoto-2.c, - c-c++-common/asmgoto-3.c, gcc.c-torture/compile/asmgoto-1.c, - gcc.dg/tree-ssa/asmgoto-1.c: New files. - -2009-09-14 Richard Henderson <rth@redhat.com> - - * g++.dg/eh/builtin1.C: Update resx pattern match. - * g++.dg/eh/builtin2.C, g++.dg/eh/builtin3.C: Likewise. - -2009-09-14 Richard Sandiford <rdsandiford@googlemail.com> - - * gcc.target/mips/branch-helper.h: New file. - * gcc.target/mips/branch-2.c, - * gcc.target/mips/branch-3.c, - * gcc.target/mips/branch-4.c, - * gcc.target/mips/branch-5.c, - * gcc.target/mips/branch-6.c, - * gcc.target/mips/branch-7.c, - * gcc.target/mips/branch-8.c, - * gcc.target/mips/branch-9.c, - * gcc.target/mips/branch-10.c, - * gcc.target/mips/branch-11.c, - * gcc.target/mips/branch-12.c, - * gcc.target/mips/branch-13.c, - * gcc.target/mips/branch-14.c, - * gcc.target/mips/branch-15.c: New tests. - -2009-09-14 Michael Meissner <meissner@linux.vnet.ibm.com> - - PR target/41331 - * gcc.target/powerpc/bswap64-4.c: New file to test bswap64 on a - -m32 -mpowerpc64 system. - -2009-09-14 Bernd Schmidt <bernd.schmidt@analog.com> - - From Jie Zhang <jie.zhang@analog.com>: - * gcc.target/bfin/saveall.c: New test. - * gcc.target/bfin/20090914-1.c: New test. - * gcc.target/bfin/20090914-2.c: New test. - - * gcc.target/bfin/20090914-3.c: New test. - -2009-09-14 Andrew Stubbs <ams@codesourcery.com> - - * gcc.target/sh/20080410-1.c: Remove obsolete -fira option. - -2009-09-14 Richard Guenther <rguenther@suse.de> - - PR middle-end/41350 - * g++.dg/debug/dwarf-eh-personality-1.C: New testcase. - -2009-09-12 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR libgfortran/41328 - * gfortran.dg/cr_lf.f90: New test. - -2009-09-11 Michael Matz <matz@suse.de> - - PR middle-end/41275 - * g++.dg/tree-ssa/pr41275.C: New test. - -2009-09-11 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41242 - * gfortran.dg/proc_ptr_comp_21.f90: New. - -2009-09-10 Steven G. Kargl <kargl@gcc.gnu.org> - - PR fortran/31292 - * gfortran.dg/module_procedure_1.f90: New test. - * gfortran.dg/module_procedure_2.f90: Ditto. - * gfortran.dg/generic_14.f90: Move dg-error to new location. - -2009-09-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> - James A. Morrison <phython@gcc.gnu.org> - - PR ada/18302 - * ada/acats/run_all.sh (target_run): Use run_test.exp to execute - commands. - * ada/acats/run_test.exp: New file. - -2009-09-10 Uros Bizjak <ubizjak@gmail.com> - - Revert: - 2009-09-09 Uros Bizjak <ubizjak@gmail.com> - - PR rtl-optimization/39779 - * gcc.dg/pr39979.c: New test. - -2009-09-10 Richard Guenther <rguenther@suse.de> - - PR middle-end/41257 - * g++.dg/torture/pr41257-2.C: New testcase. - -2009-09-09 Paolo Carlini <paolo.carlini@oracle.com> - - PR c++/28293 - * g++.dg/template/crash91.C: New. - -2009-09-09 Uros Bizjak <ubizjak@gmail.com> - - PR rtl-optimization/39779 - * gcc.dg/pr39979.c: New test. - -2009-09-09 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/41101 - * gcc.c-torture/compile/pr41101.c: New testcase. - -2009-09-09 Richard Guenther <rguenther@suse.de> - - PR middle-end/41317 - * gcc.c-torture/execute/pr41317.c: New testcase. - * gcc.dg/tree-ssa/forwprop-11.c: XFAIL. - * gcc.dg/tree-ssa/forwprop-12.c: Likewise. - -2009-09-08 Dodji Seketeli <dodji@redhat.com> - - Fix some test breakages on Darwin - * g++.dg/debug/dwarf2/namespace-1.C: Use -fno-merge-debug-string - and adjust. - * g++.dg/debug/dwarf2/template-func-params-6.C: Likewise. - * g++.dg/debug/dwarf2/template-func-params-7.C: Likewise. - * g++.dg/debug/dwarf2/template-params-6.C: Likewise. - * g++.dg/debug/dwarf2/pubnames-1.C: Likewise. Also, adjust to - take darwin specifics in account. - -2009-09-08 Joseph Myers <joseph@codesourcery.com> - - * gcc.dg/profile-dir-1.c, gcc.dg/profile-dir-2.c, - gcc.dg/profile-dir-3.c: Disable for remote-host testing. - -2009-09-08 Paolo Carlini <paolo.carlini@oracle.com> - - PR c++/39923 - * g++.dg/cpp0x/initlist24.C: New. - -2009-09-08 Ozkan Sezer <sezeroz@gmail.com> - - * gcc.dg/large-size-array-2.c: Fix target requirement. - * gcc.dg/large-size-array-4.c: Likewise. - * gcc.dg/c90-const-expr-2.c: Define ZERO as 0LL for _WIN64. - * gcc.dg/c99-const-expr-2.c: Likewise. - * gcc.dg/c90-const-expr-6.c: Typedef ptrdiff_t with __extension__. - * gcc.dg/c90-const-expr-9.c: Typedef size_t with __extension__. - * gcc.dg/c90-const-expr-10.c: Likewise. - * gcc.dg/torture/pr39074.c: Use intptr_t typedef'ed as __PTRDIFF_TYPE__ - instead of long. - * gcc.dg/tree-ssa/pr33920.c: Likewise. - * gcc.dg/vect/pr33846.c: Likewise. - * gcc.dg/vect/pr33833.c: Use uintptr_t, typedef'ed as unsigned - __PTRDIFF_TYPE__, instead of unsigned long. - * gcc.dg/vect/O1-pr33854.c: Use __SIZE_TYPE__ instead of unsigned long. - -2009-09-08 Alexandre Oliva <aoliva@redhat.com> - - PR debug/41229 - PR debug/41291 - PR debug/41300 - * gfortran.dg/pr41229.f90: New. - -2009-09-08 Alexandre Oliva <aoliva@redhat.com> - - PR debug/41232 - * gcc.dg/pr41232.c: New. - -2009-09-08 Joseph Myers <joseph@codesourcery.com> - - * gcc.misc-tests/i386-prefetch.exp: Skip tests when multilib flags - contain -march. - * gcc.dg/tree-ssa/prefetch-7.c, gcc.target/i386/387-1.c, - gcc.target/i386/387-5.c, gcc.target/i386/cmov7.c, - gcc.target/i386/funcspec-1.c, gcc.target/i386/funcspec-8.c, - gcc.target/i386/gcc-have-sync-compare-and-swap-1.c, - gcc.target/i386/gcc-have-sync-compare-and-swap-2.c, - gcc.target/i386/isa-6.c, gcc.target/i386/lea.c, - gcc.target/i386/pentium4-not-mull.c, gcc.target/i386/sse-5.c, - gcc.target/i386/ssefn-1.c: Skip when multilib flags contain -march - options other than that used in dg-options. - -2009-09-07 Jakub Jelinek <jakub@redhat.com> - - PR rtl-optimization/41239 - * gcc.c-torture/execute/pr41239.c: New test. - -2009-09-07 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR libgfortran/41192 - * gfortran.dg/namelist_59.f90: New test. - -2009-09-07 Bernd Schmidt <bernd.schmidt@analog.com> - - From Mike Frysinger <michael.frysinger@analog.com> - * gcc.target/bfin/mcpu-bf542m.c: New file. - * gcc.target/bfin/mcpu-bf544m.c: Likewise. - * gcc.target/bfin/mcpu-bf546m.c: Likewise. - * gcc.target/bfin/mcpu-bf548m.c: Likewise. - * gcc.target/bfin/mcpu-bf549m.c: Likewise. - -2009-09-07 Martin Jambor <mjambor@suse.cz> - - PR middle-end/41282 - * gcc.c-torture/compile/pr41282.c: New test. - -2009-09-07 Thomas Koenig <tkoenig@gcc.gnu.org> - - PR fortran/41197 - * gfortran.dg/allocate_alloc_opt_1.f90: Use scalar - variables for stat and errmsg. - * gfortran.dg/deallocate_alloc_opt_1.f90: Likewise. - * gfortran.dg/allocate_stat_2.f90: New test. - -2009-09-07 Bernd Schmidt <bernd.schmidt@analog.com> - - * gcc.c-torture/compile/20090907-1.c: New test. - -2009-09-06 Jakub Jelinek <jakub@redhat.com> - - PR bootstrap/41241 - * gcc.dg/pr41241.c: New test. - -2009-09-06 Richard Guenther <rguenther@suse.de> - - PR middle-end/41144 - * g++.dg/torture/pr41144.C: New testcase. - -2009-09-06 Richard Guenther <rguenther@suse.de> - - PR middle-end/41261 - * gcc.dg/torture/pr41261.c: New testcase. - -2009-09-05 Richard Guenther <rguenther@suse.de> - - PR middle-end/41181 - * gcc.c-torture/compile/pr41181.c: New testcase. - -2009-09-05 Richard Guenther <rguenther@suse.de> - - PR debug/41273 - * g++.dg/torture/pr41273.C: New testcase. - -2009-09-05 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/41258 - * gfortran.dg/typebound_proc_12.f90 : New test. - -2009-09-04 Alexandre Oliva <aoliva@redhat.com> - - PR debug/41225 - * gfortran.dg/pr41225.f90: New. - -2009-09-04 Alexandre Oliva <aoliva@redhat.com> - - * gcc.dg/guality/guality.h: Include stdint.h. Drop unnecessary - unistd.h, sys/types.h and sys/wait.h. - (gualchk_t): New. - (GUALCVT): New. - (GUALCHKXPR, GUALCHKVAL, GUALCHKFLA): Use it. - (GUALITY_GDB_REDIRECT): New. - (GUALITY_GDB_ARGS): Use it. - -2009-09-04 Richard Guenther <rguenther@suse.de> - - PR middle-end/41257 - * g++.dg/torture/pr41257.C: New testcase. - -2009-09-04 Martin Jambor <mjambor@suse.cz> - - PR tree-optimization/41112 - * gnat.dg/array8.adb: New test. - -2009-09-03 Daniel Gutson <dgutson@codesourcery.com> - - * gcc.target/arm/ctz.c: New test case. - -2009-09-03 Alon Dayan <alond@il.ibm.com> - - PR tree-optimization/38275 - * gcc.dg/autopar/reduc-1char.c: Increase number - of iterations. Adjust the logic accordingly. - * gcc.dg/autopar/reduc-2char.c: Ditto. - * gcc.dg/autopar/reduc-1.c: Ditto. - * gcc.dg/autopar/reduc-2.c: Ditto. - * gcc.dg/autopar/reduc-3.c: Ditto. - * gcc.dg/autopar/reduc-6.c: Ditto. - * gcc.dg/autopar/reduc-7.c: Ditto. - * gcc.dg/autopar/reduc-8.c: Ditto. - * gcc.dg/autopar/reduc-9.c: Ditto. - * gcc.dg/autopar/pr39500-1.c: Ditto. - * gcc.dg/autopar/reduc-1short.c: Ditto. - * gcc.dg/autopar/reduc-2short.c: Ditto. - * gcc.dg/autopar/parallelization-1.c: Ditto. - -2009-09-03 Jakub Jelinek <jakub@redhat.com> - - * gcc.dg/guality/guality.exp: Only run guality tests if a trivial - testcase using guality.h compiles and links and if a global variable - can be verified by gdb. - -2009-09-03 Bernd Schmidt <bernd.schmidt@analog.com> - - * lib/target-supports.exp (check_effective_target_sync_int_long): - Supported on Blackfin Linux targets. - -2009-09-02 David Daney <ddaney@caviumnetworks.com> - - * gcc.c-torture/compile/builtin_unreachable-1.c: New testcase. - -2009-09-03 Diego Novillo <dnovillo@google.com> - - * gcc.dg/gomp/combined-1.c: Adjust expected pattern. - * g++.dg/tree-prof/inline_mismatch_args.C: Likewise. - * g++.dg/warn/unit-1.C: Likewise. - * g++.dg/ipa/iinline-1.C: Likewise. - * g++.dg/template/cond2.C: Adjust expected line location for the - error. - * g++.dg/template/pr35240.C: Likewise. - -2009-09-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * gcc.dg/tree-ssa/inline-3.c: Add -fpie when pic. - * gcc.dg/tree-ssa/local-pure-const.c: Likewise. - -2009-09-02 Martin Jambor <mjambor@suse.cz> - - * gcc.dg/tree-ssa/sra-8.c: New testcase. - * gcc.dg/memcpy-1.c: Add . to match pattern. - * gcc.dg/uninit-I.c: XFAIL warning test. - * g++.dg/warn/unit-1.C: XFAIL warning test. - -2009-09-02 Ian Lance Taylor <iant@google.com> - - * gcc.dg/20090902-1.c: New test. - -2009-09-02 Jakub Jelinek <jakub@redhat.com> - - * gcc.dg/builtin-object-size-9.c: New test. - -2009-09-02 Olivier Hainque <hainque@adacore.com> - - * gnat.dg/array7.ad[bs]: Add check for Signed_Integer_Type_Definition. - -2009-09-02 Eric Botcazou <ebotcazou@adacore.com> - Olivier Hainque <hainque@adacore.com> - - * gnat.dg/misaligned_param.adb: New test. - * gnat.dg/misaligned_param_pkg.ad[sb]: New helper. - * gnat.dg/slice7.adb: Add 1 more related case. - -2009-09-01 Alexandre Oliva <aoliva@redhat.com> - - * gcc.dg/guality/guality.c: Expect to fail for now. - * gcc.dg/guality/example.c: Likewise. - -2009-09-01 Alexandre Oliva <aoliva@redhat.com> - - * gcc.dg/guality/guality.c: New. - * gcc.dg/guality/guality.h: New. - * gcc.dg/guality/guality.exp: New. - * gcc.dg/guality/example.c: New. - * lib/gcc-dg.exp (cleanup-dump): Remove .gk files. - (cleanup-saved-temps): Likewise, .gkd files too. - -2009-09-01 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR fortran/39229 - * gfortran.dg/line_length_3.f: New test. - * gfortran.dg/line_length_4.f90: New test. - -2009-09-01 Loren J. Rittle <ljrittle@acm.org> - - * lib/target-supports.exp (check_gc_sections_available): - Add proper pattern quote. - -2009-08-31 Uros Bizjak <ubizjak@gmail.com> - Kaz Kojima <kkojima@gcc.gnu.org> - - * lib/target-supports.exp (add_options_for_ieee): New procedure. - * g++.dg/cdce3.C: Use dg-add-options ieee. - * g++.dg/torture/type-generic-1.C: Likewise. - * gcc.c-torture/compile/fix-trunc-mem-1.c: Likewise. - * gcc.dg/pr28796-2.c: Likewise. - * gcc.dg/torture/builtin-math-7.c: Likewise. - * gcc.dg/torture/type-generic-1.c: Likewise. - * gfortran.dg/boz_14.f90: Likewise. - * gfortran.dg/erf_2.F90: Likewise. - * gfortran.dg/init_flag_3.f90: Likewise. - * gfortran.dg/init_flag_4.f90: Likewise. - * gfortran.dg/init_flag_5.f90: Likewise. - * gfortran.dg/integer_exponentiation_1.f90: Likewise. - * gfortran.dg/integer_exponentiation_5.F90: Likewise. - * gfortran.dg/isnan_1.f90: Likewise. - * gfortran.dg/isnan_2.f90: Likewise. - * gfortran.dg/maxlocval_2.f90: Likewise. - * gfortran.dg/maxlocval_4.f90: Likewise. - * gfortran.dg/minlocval_1.f90: Likewise. - * gfortran.dg/minlocval_4.f90: Likewise. - * gfortran.dg/module_nan.f90: Likewise. - * gfortran.dg/namelist_42.f90: Likewise. - * gfortran.dg/namelist_43.f90: Likewise. - * gfortran.dg/nan_1.f90: Likewise. - * gfortran.dg/nan_2.f90: Likewise. - * gfortran.dg/nan_3.f90: Likewise. - * gfortran.dg/nan_4.f90: Likewise. - * gfortran.dg/nan_5.f90: Likewise. - * gfortran.dg/nearest_1.f90: Likewise. - * gfortran.dg/nearest_2.f90: Likewise. - * gfortran.dg/nearest_3.f90: Likewise. - * gfortran.dg/pr37243.f: Likewise. - * gfortran.dg/real_const_3.f90: Likewise. - * gfortran.dg/transfer_simplify_2.f90: Likewise. - -2009-08-31 Dodji Seketeli <dodji@redhat.com> - - PR debug/30161 - * g++.dg/debug/dwarf2/template-params-1.C: New test. - * g++.dg/debug/dwarf2/template-params-2.C: Likewise. - * g++.dg/debug/dwarf2/template-params-3.C: Likewise. - * g++.dg/debug/dwarf2/template-params-4.C: Likewise. - * g++.dg/debug/dwarf2/template-params-5.C: Likewise. - * g++.dg/debug/dwarf2/template-params-6.C: Likewise. - * g++.dg/debug/dwarf2/template-func-params-1.C: Likewise. - * g++.dg/debug/dwarf2/template-func-params-2.C: Likewise. - * g++.dg/debug/dwarf2/template-func-params-3.C: Likewise. - * g++.dg/debug/dwarf2/template-func-params-4.C: Likewise. - * g++.dg/debug/dwarf2/template-func-params-5.C: Likewise. - * g++.dg/debug/dwarf2/template-func-params-6.C: Likewise. - * g++.dg/debug/dwarf2/template-func-params-7.C: Likewise. - -2009-08-31 Jason Merrill <jason@redhat.com> - - PR c++/41127 - * g++.dg/parse/enum5.C: New. - * g++.dg/cpp0x/enum1.C: Adjust expected error. - -2009-08-31 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40940 - * gfortran.dg/allocate_derived_1.f90: New. - * gfortran.dg/class_3.f03: New. - -2009-08-31 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40996 - * gfortran.dg/allocatable_scalar_1.f90: New. - * gfortran.dg/allocatable_scalar_2.f90: Renamed from finalize_9.f03. - * gfortran.dg/finalize_9.f03: Renamed to allocatable_scalar_2.f90. - * gfortran.dg/proc_ptr_comp_pass_4.f90: Modified. - -2009-08-30 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/41186 - * g++.dg/torture/pr41186.C: New testcase. - * g++.dg/tree-ssa/pr41186.C: Likewise. - -2009-08-30 Dodji Seketeli <dodji@redhat.com> - - PR c++/41187 - * g++.dg/debug/dwarf2/namespace-1.C: Use a loosier regexp to - take ia64 assembly comments syntax in account. - -2009-08-30 Uros Bizjak <ubizjak@gmail.com> - - * gcc.target/i386/funcspec-5.c: Remove fused-add test. - -2009-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * gfortran.dg/whole_file_5.f90: Add -fpie when pic, fix scan pattern. - * gfortran.dg/whole_file_6.f90: Likewise. - -2009-08-28 Cary Coutant <ccoutant@google.com> - - PR debug/41063 - * g++.dg/debug/dwarf2/pr41063.C: New test. - -2009-08-27 Uros Bizjak <ubizjak@gmail.com> - - PR rtl-optimization/40861 - * gcc.dg/pr40861.c: New test. - -2009-08-27 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40869 - * gfortran.dg/proc_ptr_comp_20.f90: New. - -2009-08-27 Janne Blomqvist <jb@gcc.gnu.org> - - PR libfortran/39667 - * gfortran.dg/f2003_io_4.f03: Don't require target fd_truncate, - open temp file with status="scratch". - * gfortran.dg/fmt_cache_1.f: Likewise. - * gfortran.dg/fmt_exhaust.f90: Likewise. - * gfortran.dg/fmt_t_4.f90: Likewise. - * gfortran.dg/fseek.f90: Likewise. - * gfortran.dg/list_read_5.f90: Likewise. - * gfortran.dg/namelist_39.f90: Likewise. - * gfortran.dg/namelist_56.f90: Likewise. - * gfortran.dg/read_bad_advance.f90: Likewise. - * gfortran.dg/read_repeat.f90: Likewise. - * gfortran.dg/read_size_noadvance.f90: Likewise. - * gfortran.dg/read_x_past.f: Likewise. - -2009-08-27 Tobias Burnus <burnus@net-b.de> - - PR fortran/28039 - * gfortran.dg/fmt_with_extra.f: xfail testcase as patch was reverted. - -2009-08-27 Daniel Kraft <d@domob.eu> - - PR fortran/37425 - * gfortran.dg/impure_assignment_1.f90: Change expected error message. - * gfortran.dg/typebound_operator_1.f03: Remove check for not-implemented - error and fix problem with recursive assignment. - * gfortran.dg/typebound_operator_2.f03: No not-implemented check. - * gfortran.dg/typebound_operator_3.f03: New test. - * gfortran.dg/typebound_operator_4.f03: New test. - -2009-08-27 Dodji Seketeli <dodji@redhat.com> - - PR debug/41170 - * debug/dwarf2/namespace-1.C: New test. - -2009-08-26 H.J. Lu <hongjiu.lu@intel.com> - - PR fortran/41162 - * gfortran.dg/pr41162.f: New. - -2009-08-26 Adam Nemet <anemet@caviumnetworks.com> - Richard Sandiford <rdsandiford@googlemail.com> - - * gcc.target/mips/mips.exp: Replace isa(_rev)=...!... mechanism - with "forbid_cpu". - * gcc.target/mips/branch-1.c: Update accordingly. - * gcc.target/mips/extend-1.c: Likewise. - * gcc.target/mips/dmult-1.c: Likewise. Remove redundant isa=64. - -2009-08-26 Richard Guenther <rguenther@suse.de> - - PR middle-end/41163 - * gcc.c-torture/compile/pr41163.c: New testcase. - * gcc.dg/pr35899.c: Adjust. - -2009-08-26 Richard Guenther <rguenther@suse.de> - - * gcc.dg/tree-ssa/restrict-4.c: New testcase. - -2009-08-26 Jason Merrill <jason@redhat.com> - - * g++.dg/cpp0x/explicit3.C: New. - * g++.dg/overload/cond2.C: New. - -2009-08-25 Kaz Kojima <kkojima@gcc.gnu.org> - - * gcc.dg/torture/builtin-math-7.c: Add -mieee for sh*-*-* targets. - -2009-08-25 Jan Hubicka <jh@suse.cz> - - * gcc.target/i386/sse5-shift1-vector.c - * gcc.target/i386/isa-12.c - * gcc.target/i386/isa-12.cgcc.target/i386/isa-12.c - * gcc.target/i386/sse5-pcmov2.c - * gcc.target/i386/isa-3.c - * gcc.target/i386/sse5-shift2-vector.c - * gcc.target/i386/isa-7.c - * gcc.target/i386/funcspec-2.c - * gcc.target/i386/sse5-haddX.c - * gcc.target/i386/sse5-hadduX.c - * gcc.target/i386/isa-9.c - * gcc.target/i386/sse5-maccXX.c - * gcc.target/i386/sse5-shift3-vector.c - * gcc.target/i386/sse5-msubXX.c - * gcc.target/i386/sse5-permpX.c - * gcc.target/i386/sse5-check.h - * gcc.target/i386/sse-12.c - * gcc.target/i386/sse-11.c - * gcc.target/i386/sse-10.c - * gcc.target/i386/sse-13.c - * gcc.target/i386/sse-14.c - * gcc.target/i386/sse-22.c - * gcc.target/i386/sse-2.c - * gcc.target/i386/sse-13.c - * gcc.target/i386/avx-2.c - * gcc.target/i386/sse5-rotate1-vector.c - * gcc.target/i386/isa-4.c - * gcc.target/i386/sse5-hsubX.c - * gcc.target/i386/sse5-pcmov.c - * gcc.target/i386/sse5-fma.c - * gcc.target/i386/isa-8.c - * gcc.target/i386/sse5-rotate2-vector.c - * gcc.target/i386/sse5-nmaccXX.c - * gcc.target/i386/sse5-imul64-vector.c - * gcc.target/i386/sse5-nmsubXX.c - * gcc.target/i386/sse5-rotate3-vector.c - * gcc.target/i386/sse5-fma-vector.c - * gcc.target/i386/sse5-imul32widen-vector.c - * gcc.target/i386/sse5-ima-vector.c: Remove SSE5 related testcases. - - * gcc.target/i386/funcspec-8.c: Replace SSE5 by SSE4. - * gcc.target/i386/funcspec-5.c: Remove SSE5. - * gcc.target/i386/funcspec-6.c: Remove fused-add test. - * gcc.target/i386/avx-1.c: Remove SSE5. - * gcc.target/i386/avx-2.c: Remove SSE5. - * g++.dg/other/i386-2.C: Replace SSE5 by SSE4A. - * g++.dg/other/i386-3.C: Replace SSE5 by SSE4A. - * g++.dg/other/i386-6.C: Replace SSE5 by SSE4A. - * g++.dg/other/i386-5.C: Replace SSE5 by SSE4A. - -2009-08-25 Uros Bizjak <ubizjak@gmail.com> - - * gcc.c-torture/compile/limits-fndefn.c: Add dg-timeout-factor. - -2009-08-25 Ville Voutilainen <ville.voutilainen@gmail.com> - - * g++.dg/cpp0x/alignof.C: New. Tests that the alignof - keyword works in the same manner as __alignof. - -2009-08-25 Thomas Koenig <tkoenig@gcc.gnu.org> - - PR libfortran/34670 - * gfortran.dg/unpack_bounds_1.f90: New test. - * gfortran.dg/unpack_bounds_2.f90: New test. - * gfortran.dg/unpack_bounds_3.f90: New test. - -2009-08-25 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/slice7.adb: New test. - * gnat.dg/slice7_pkg.ads: New helper. - -2009-08-25 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41139 - * gfortran.dg/proc_ptr_25.f90: New. - * gfortran.dg/proc_ptr_comp_18.f90: New. - * gfortran.dg/proc_ptr_comp_19.f90: New. - -2009-08-24 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR fortran/41154 - * gfortran.dg/fmt_error_8.f: New test. - -2009-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * gcc.dg/torture/builtin-math-6.c (link_error): Accept a value - number, update all callers and synchronize results for latest MPC. - -2009-08-21 Jason Merrill <jason@redhat.com> - - * g++.dg/warn/Wunused-17.C: New. - -2009-08-11 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> - - * gcc.target/arm/combine-cmp-shift.c: New test. - -2009-08-24 Kai Tietz <kai.tietz@onevision.com> - - * gcc.dg/format/ms-format1.c: Add new cases for I32 width specifier. - * gcc.dg/format/ms-format2.c: New test about illegal use of I32/I64 - width specifier. - -2009-08-23 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - * gfortran.dg/fmt_error_7.f: New test. - -2009-08-23 Uros Bizjak <ubizjak@gmail.com> - - PR target/40718 - * gcc.target/i386/pr40718.c: New test. - -2009-08-22 Steven G. Kargl <kargl@gcc.gnu.org> - - * gfortran.dg/proc_ptr_24.f90: New test. - -2009-08-22 Steven K. kargl <kargl@gcc.gnu.org> - - * gfortran.dg/allocate_alloc_opt_4.f90: New test. - * gfortran.dg/allocate_alloc_opt_5.f90: New test. - * gfortran.dg/allocate_alloc_opt_6.f90: New test. - -2009-08-22 Bud Davis <bdavis9659@sbcglobal.net> - - PR fortran/28039 - * gfortran.dg/fmt_with_extra.f: new file. - -2009-08-21 Maciej W. Rozycki <macro@codesourcery.com> - - * lib/target-supports.exp - (check_effective_target_arm_iwmmxt_ok): New procedure. - * gcc.target/arm/mmx-1.c: Only run if arm_iwmmxt_ok. Remove the - exclusions for -mfloat-abi=softfp and -mfloat-abi=hard. - -2009-08-21 Uros Bizjak <ubizjak@gmail.com> - - * gfortran.dg/boz_9.f90: Do not load denormal floating - point constants. Remove -mieee option for alpha*-*-* targets. - -2009-08-21 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41106 - * gfortran.dg/proc_ptr_23.f90: New. - * gfortran.dg/proc_ptr_comp_15.f90: New. - * gfortran.dg/proc_ptr_comp_16.f90: New. - * gfortran.dg/proc_ptr_comp_17.f90: New. - -2009-08-21 Jakub Jelinek <jakub@redhat.com> - - PR c++/41131 - * g++.dg/expr/unary3.C: New test. - -2009-08-21 Kaz Kojima <kkojima@gcc.gnu.org> - - * gfortran.dg/common_5.f: Add -mdalign for sh. - * gfortran.dg/common_align_2.f90: Likewise. - -2009-08-20 Thomas Koenig <tkoenig@gcc.gnu.org> - - PR libfortran/40962 - * c_f_pointer_tests_4.f90: New test. - -2009-08-20 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/slice6.adb: New test. - * gnat.dg/slice6_pkg.ads: New helper. - -2009-08-20 Michael Matz <matz@suse.de> - - PR fortran/41126 - * gfortran.dg/pr41126.f90: New test. - -2009-08-20 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/dynamic_bound.adb: New test. - -2009-08-20 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41121 - * gfortran.dg/intrinsic_5.f90: New. - -2009-08-19 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> - Richard Earnshaw <richard.earnshaw@arm.com> - - * gcc.target/arm/20090811-1.c: New test. - -2009-08-19 Jakub Jelinek <jakub@redhat.com> - - PR middle-end/41123 - * gcc.dg/pr41123.c: New test. - -2009-08-19 Jason Merrill <jason@redhat.com> - - PR c++/41120 - * g++.dg/other/gc4.C: New. - -2009-08-18 Michael Matz <matz@suse.de> - - * gfortran.dg/vect/vect-gems.f90: New test. - * gcc.dg/tree-ssa/alias-1.c: Remove, it checks something broken. - -2009-08-18 DJ Delorie <dj@redhat.com> - - * lib/wrapper.exp: Move load of target-libpath.exp from here... - * lib/gcc-defs.exp: ... to here. - - * lib/wrapper.exp (${tool}_maybe_build_wrapper): Set up - GCC_EXEC_PREFIX before building the wrapper. - -2009-08-18 Nathan Froyd <froydnj@codesourcery.com> - - * gcc.dg/vect/vect.exp: Add new stanza for aligned-section-anchors-* - tests. - * gcc.dg/vect/section-anchors-nest-1.c: Rename to... - * gcc.dg/vect/aligned-section-anchors-nest-1.c: ...this. Remove - dg-options. Fix dg-final clause. - -2009-08-18 Uros Bizjak <ubizjak@gmail.com> - - * g++.dg/cdce3.C: Add -mieee for alpha*-*-* targets. - -2009-08-18 Janus Weil <janus@gcc.gnu.org> - Paul Thomas <pault@gcc.gnu.org> - - PR fortran/40870 - * gfortran.dg/proc_ptr_comp_13.f90: Extended. - -2009-08-18 Richard Guenther <rguenther@suse.de> - - PR middle-end/41094 - * gcc.dg/torture/pr41094.c: New testcase. - * gcc.dg/torture/builtin-power-1.c: Adjust. - * gcc.dg/builtins-10.c: Likewise. - -2009-08-18 Jakub Jelinek <jakub@redhat.com> - - PR target/40971 - * gcc.dg/pr40971.c: New test. - -2008-08-17 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/41062 - * gfortran.dg/use_only_4.f90: New test. - -2009-08-17 Daniel Kraft <d@domob.eu> - - PR fortran/37425 - * gfortran.dg/typebound_operator_2.f03: Test for error with illegal - NOPASS bindings as operators. - -2009-08-17 Uros Bizjak <ubizjak@gmail.com> - - * lib/target-supports.exp - (check_effective_target_vect_cmdline_needed): Add alpha to the list - of targets that do not need command line argument to enable SIMD. - -2009-08-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * lib/target-supports.exp (check_effective_target_mpc_pow): Fix - typo in cache name. - -2009-08-17 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR fortran/41075 - * gfortran.dg/unlimited_fmt_1.f90: New test. - -2009-08-17 Dodji Seketeli <dodji@redhat.com> - - * gcc.dg.debug/dwarf2/inline2.c: Add -dA to compile options. - -2009-08-17 Arnaud Charlet <charlet@adacore.com> - - * gnat.dg/itype.ad[sb]: New test. - -2009-08-16 Adam Nemet <anemet@caviumnetworks.com> - - * gcc.target/mips/mips.exp: Add terminology section to comment - at the top of the file. Fix typos. - -2009-08-16 Jason Merrill <jason@redhat.com> - - * g++.dg/debug/dwarf2/inline1.C: New. - -2009-08-16 Richard Sandiford <rdsandiford@googlemail.com> - - PR target/38599 - * gcc.target/mips/smartmips-lwxs.c: Remove -mlong32. - -2009-08-16 Dodji Seketeli <dodji@redhat.com> - - PR debug/37801 - * gcc.dg/debug/20020224-1.c: Adjust the comment. - Make sure to trigger inlining optimizations. - * gcc.dg/debug/dwarf2/inline2.c: New test. - -2009-08-14 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41070 - * gfortran.dg/structure_constructor_10.f90: New. - -2009-08-14 Olatunji Ruwase <tjruwase@google.com> - - * gcc.dg/pragma-re-1.c: Supported on all platforms. - * gcc.dg/pragma-re-2.c: Likewise. - * gcc.dg/pragma-re-3.c: Likewise. - * gcc.dg/pragma-re-4.c: Likewise. - * g++.dg/other/pragma-re-1.C: Likewise. - * g++.dg/other/pragma-re-2.C: Likewise. - -2009-08-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * gcc.dg/torture/builtin-math-7.c: New. - -2009-08-14 Richard Guenther <rguenther@suse.de> - - * gcc.c-torture/execute/20090814-1.c: New testcase. - -2009-08-14 David Edelsohn <edelsohn@gnu.org> - - * gcc.dg/graphite/graphite_autopar: Move to libgomp testsuite. - -2009-08-14 Paolo Bonzini <bonzini@gnu.org> - - PR target/40934 - * gcc.target/i386/pr40934.c: New. - -2009-08-14 Uros Bizjak <ubizjak@gmail.com> - - PR target/41019 - * gcc.target/i386/pr41019.c: New test. - -2009-08-13 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR fortran/40955 - * gfortran.dg/winapi.f90: New test. - -2009-08-13 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40995 - * gfortran.dg/intrinsic_4.f90: New. - * gfortran.dg/intrinsic_subroutine.f90: An error message moved to a - different line. - -2009-08-13 Richard Guenther <rguenther@suse.de> - - PR middle-end/41047 - * gcc.dg/tree-ssa/ssa-ccp-27.c: New testcase. - -2009-08-12 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/41011 - * gfortran.dg/pr41011.f: New testcase. - -2009-08-11 Andrew Haley <aph@redhat.com> - - * gcc.target/arm/synchronize.c: New file. - -2009-08-12 Sebastian Pop <sebastian.pop@amd.com> - - PR middle-end/40980 - * gfortran.dg/graphite/id-17.f: New. - -2009-08-12 Konrad Trifunovic <konrad.trifunovic@gmail.com> - Sebastian Pop <sebastian.pop@amd.com> - - * gcc.dg/graphite/interchange-1.c: XFAILed. - * gcc.dg/graphite/interchange-2.c: XFAILed. - * gcc.dg/graphite/interchange-3.c: XFAILed. - * gcc.dg/graphite/interchange-4.c: XFAILed. - * gcc.dg/graphite/interchange-7.c: XFAILed. - -2009-08-12 Sebastian Pop <sebastian.pop@amd.com> - - * gcc.dg/graphite/interchange-6.c: Un-XFAIL. - -2009-08-12 Sebastian Pop <sebastian.pop@amd.com> - Pranav Garg <pranav.garg2107@gmail.com> - - * gcc.dg/graphite/interchange-6.c: XFAILed. - -2009-08-12 Sebastian Pop <sebastian.pop@amd.com> - - * gcc.dg/graphite/interchange-9.c: New. - -2009-08-12 Richard Guenther <rguenther@suse.de> - - PR rtl-optimization/41033 - * gcc.dg/pr41033.c: New test. - -2009-08-11 Janus Weil <janus@gcc.gnu.org> - - PR fortran/41022 - * gfortran.dg/proc_ptr_comp_14.f90: New. - -2009-08-11 Adam Nemet <anemet@caviumnetworks.com> - - * gcc.target/mips/ext-5.c: New test. - * gcc.target/mips/ext-6.c: New test. - * gcc.target/mips/ext-7.c: New test. - * gcc.target/mips/ext-8.c: New test. - * gcc.target/mips/extend-2.c: New test. - -2009-08-10 Jason Merrill <jason@redhat.com> - - * g++.dg/other/linkage2.C: New test for types-without-linkage - handling. - * g++.dg/ext/anon-struct4.C: No error about anonymous type. - * g++.dg/lookup/anon2.C: Likewise. - * g++.dg/other/anon3.C: Likewise. - * g++.dg/template/arg2.C: Likewise. - * g++.dg/template/local4.C: Likewise. - * g++.old-deja/g++.law/operators32.C: Likewise. - * g++.old-deja/g++.other/linkage2.C: Likewise. - * g++.old-deja/g++.pt/enum6.C: Likewise. - * g++.old-deja/g++.other/anon9.C: Use the undefined decls. - * g++.old-deja/g++.other/linkage1.C: Likewise. - -2009-08-10 Manuel López-Ibáñez <manu@gcc.gnu.org> - - * gcc.dg/dg.exp: Test also c-c++-common dir. - * g++.dg/dg.exp: Likewise. - * g++.dg/warn/Wconversion-real.C: Delete. - * gcc.dg/Wconversion-real.c: Move to ... - * c-c++-common/Wconversion-real.c: ... here. - * lib/target-supports.exp - (check_effective_target_c,check_effective_target_c++): New. - -2009-08-10 Daniel Kraft <d@domob.eu> - - PR fortran/37425 - * gfortran.dg/typebound_operator_1.f03: New test. - * gfortran.dg/typebound_operator_2.f03: New test. - -2009-08-10 Richard Guenther <rguenther@suse.de> - - PR middle-end/41006 - * gcc.c-torture/compile/pr41006-1.c: New testcase. - * gcc.c-torture/compile/pr41006-2.c: Likewise. - -2009-08-10 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40940 - * gfortran.dg/class_1.f03: New. - * gfortran.dg/class_2.f03: New. - * gfortran.dg/proc_ptr_comp_pass_1.f90: Use CLASS instead of TYPE. - * gfortran.dg/proc_ptr_comp_pass_2.f90: Ditto. - * gfortran.dg/proc_ptr_comp_pass_3.f90: Ditto. - * gfortran.dg/typebound_call_10.f03: Ditto. - * gfortran.dg/typebound_call_2.f03: Ditto. - * gfortran.dg/typebound_call_3.f03: Ditto. - * gfortran.dg/typebound_call_4.f03: Ditto. - * gfortran.dg/typebound_generic_3.f03: Ditto. - * gfortran.dg/typebound_generic_4.f03: Ditto. - * gfortran.dg/typebound_proc_1.f08: Ditto. - * gfortran.dg/typebound_proc_5.f03: Ditto. - * gfortran.dg/typebound_proc_6.f03: Ditto. - -2009-08-10 Dodji Seketeli <dodji@redhat.com> - - PR c++/40866 - * g++.dg/expr/stmt-expr-1.C: New test. - -2009-08-09 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/41016 - * gcc.c-torture/compile/pr41016.c: New testcase. - -2009-08-09 Richard Sandiford <rdsandiford@googlemail.com> - - * gcc.dg/overflow-warn-8.c: New test. - -2009-08-09 Ira Rosen <irar@il.ibm.com> - - PR tree-optimization/41008 - * gcc.dg/vect/O1-pr41008.c: New test. - -2009-08-05 Tobias Burnus <burnus@net-b.de> - - PR fortran/40955 - * gfortran.dg/module_md5_1.f90: Update MD5 check sum. - -2009-08-09 Bernd Schmidt <bernd.schmidt@analog.com> - - * gcc.target/bfin/loop-autoinc.c: New file. - -2009-08-08 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/40991 - * g++.dg/torture/pr40991.C: New testcase. - -2009-08-08 Laurent GUERBY <laurent@guerby.net> - - * ada/acats/support/impdef.a: Tweak timing constants. Add - Long_Minimum_Task_Switch and Long_Switch_To_New_Task. - * ada/acats/tests/c9/c940005.a: Use new timing constants. - * ada/acats/tests/c9/c940007.a: Likewise. - * ada/acats/tests/c9/c94001c.ada: Likewise. - * ada/acats/tests/c9/c94006a.ada: Likewise. - * ada/acats/tests/c9/c94008c.ada: Likewise. - * ada/acats/tests/c9/c951002.a: Likewise. - * ada/acats/tests/c9/c954a01.a: Likewise. - * ada/acats/tests/c9/c96001a.ada: Likewise. - * ada/acats/tests/c9/c97307a.ada: Likewise. - -2009-08-07 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/40999 - * gfortran.dg/pr40999.f: New testcase. - -2009-08-07 Jakub Jelinek <jakub@redhat.com> - - * g++.dg/tree-prof/partition1.C: New test. - -2009-08-06 Richard Earnshaw <rearnsha@arm.com> - - * lib/target-supports.exp (check_effective_target_arm_hard_vfp_ok): New - hook. - (check_effective_target_arm_neon_ok): Improve test for neon - availability. - * gcc.target/arm/eabi1.c: Only run test in base variant. - * gcc.target/arm/abitest.h: Allow the test function to have a PCS - attribute. - * gcc.target/arm/vfp1[567].c: New tests. - -2009-08-06 Jason Merrill <jason@redhat.com> - - PR c++/40948 - * g++.dg/ext/complit12.C: Expand. - -2009-08-06 Richard Earnshaw <rearnsha@arm.com> - - Merge ARM/hard_vfp_branch to trunk. - - 2009-08-04 Richard Earnshaw <rearnsha@arm.com> - - * gcc.target/arm/mmx-1.c: Skip if using -mfloat-abi=hard. - * gcc.dg/builtin-apply2.c: Skip for ARM if using -mfloat-abi=hard. - - 2009-05-12 Joseph Myers <joseph@codesourcery.com> - - * gcc.target/arm/eabi1.c: Do not skip for non-base ABI variants. - (PCS): Define macro to use base AAPCS. - (decl_float, __aeabi_d2f, __aeabi_f2d): Use PCS macro. - - 2009-05-11 Daniel Jacobowitz <dan@codesourcery.com> - - * lib/target-supports.exp (check_effective_target_arm_neon_ok): - Correct arm_neon.h typo. - - 2009-03-06 Richard Earnshaw <rearnsha@arm.com> - - * lib/target-supports.exp (check_effective_target_hard_vfp_ok): Make - this a linkage test. - * gcc.target/arm/aapcs/aapcs.exp: New framework for testing AAPCS - argument marshalling. - * abitest.h: New file. - * vfp1.c, vfp2.c, vfp3.c, vfp4.c, vfp5.c, vfp6.c, vfp7.c: New tests. - * vfp8.c, vfp9.c, vfp10.c, vfp11.c, vfp12.c, vfp13.c, vfp14.c: New. - -2009-08-06 Martin Jambor <mjambor@suse.cz> - - PR middle-end/32964 - * gcc.dg/tree-ssa/pr32964.c: New test. - -2009-08-06 Uros Bizjak <ubizjak@gmail.com> - H.J. Lu <hongjiu.lu@intel.com> - - PR target/40957 - * gcc.target/i386/pr40957.c: New test. - -2009-08-06 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/40964 - * gcc.c-torture/compile/pr40964.c: New testcase. - -2009-08-05 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/40847 - * gfortran.dg/transfer_resolve_1.f90 : New test. - -2009-08-05 Uros Bizjak <ubizjak@gmail.com> - Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz> - - PR target/40906 - * gcc.target/i386/pr40906-1.c: New test. - * gcc.target/i386/pr40906-2.c: Ditto. - * gcc.target/i386/pr40906-3.c: Ditto. - -2009-08-05 Jakub Jelinek <jakub@redhat.com> - - PR rtl-optimization/40924 - * g++.dg/torture/pr40924.C: New test. - -2009-08-05 Manuel López-Ibáñez <manu@gcc.gnu.org> - - PR c++/36069 - * g++.dg/warn/pr36069.C: New. - -2009-08-04 Dodji Seketeli <dodji@redhat.com> - - PR c++/39987 - * g++.dg/overload/defarg4.C: New test. - -2009-08-04 Manuel López-Ibáñez <manu@gcc.gnu.org> - - PR c++/16696 - * g++.dg/parse/pr16696.C: New. - * g++.dg/parse/pr16696-permissive.C: New. - -2009-08-04 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/40875 - * gfortran.dg/initialization_23.f90 : New test. - -2009-08-04 Dodji Seketeli <dodji@redhat.com> - - PR debug/39706 - * g++.dg/debug/dwarf2/pubnames-1.C: New test. - -2009-08-03 Jason Merrill <jason@redhat.com> - Jakub Jelinek <jakub@redhat.com> - - PR c++/40948 - * g++.dg/ext/complit12.C: New. - -2009-08-03 Janis Johnson <janis187@us.ibm.com> - - PR c/39902 - * gcc.target/powerpc/pr39902-2.c: New test. - -2009-08-03 Jakub Jelinek <jakub@redhat.com> - - PR middle-end/40943 - * gcc.dg/uninit-6.c: Re-add XFAIL. - * gcc.dg/uninit-6-O0.c: Likewise. - * gcc.dg/uninit-pr40943.c: New test. - -2009-08-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - PR testsuite/40858 - * g++.dg/debug/dwarf2/typedef1.C: Also match assembler string used with - .ascii. - -2009-08-02 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR libfortran/40853 - * gfortran.dg/namelist_40.f90: Update error output. - * gfortran.dg/namelist_47.f90: Update error output. - * gfortran.dg/namelist_58.f90: New test. - -2009-08-02 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40881 - * gfortran.dg/aliasing_dummy_1.f90: Add -std=legacy. - * gfortran.dg/altreturn_3.f90: Ditto. - * gfortran.dg/altreturn_5.f90: Ditto. - * gfortran.dg/altreturn_6.f90: Ditto. - * gfortran.dg/altreturn_7.f90: Ditto. - * gfortran.dg/array_constructor_13.f90: Ditto. - * gfortran.dg/arrayio_7.f90: Ditto. - * gfortran.dg/arrayio_8.f90: Ditto. - * gfortran.dg/assumed_charlen_function_3.f90: Modified warning message. - * gfortran.dg/assumed_charlen_function_4.f90: Add -std=legacy. - * gfortran.dg/assumed_charlen_function_5.f90: Modified warning message. - * gfortran.dg/backspace_8.f: Add -std=legacy. - * gfortran.dg/backspace_9.f: Ditto. - * gfortran.dg/char_comparison_1.f: Ditto. - * gfortran.dg/char_decl_1.f90: Ditto. - * gfortran.dg/char_initialiser_actual.f90: Ditto. - * gfortran.dg/char_pointer_assign.f90: Ditto. - * gfortran.dg/char_pointer_dependency.f90: Ditto. - * gfortran.dg/char_pointer_dummy.f90: Ditto. - * gfortran.dg/char_pointer_func.f90: Ditto. - * gfortran.dg/common_8.f90: Ditto. - * gfortran.dg/constant_substring.f: Ditto. - * gfortran.dg/data_char_2.f90: Ditto. - * gfortran.dg/der_array_io_1.f90: Ditto. - * gfortran.dg/der_array_io_2.f90: Ditto. - * gfortran.dg/der_array_io_3.f90: Ditto. - * gfortran.dg/der_io_3.f90: Ditto. - * gfortran.dg/dev_null.F90: Ditto. - * gfortran.dg/direct_io_2.f90: Ditto. - * gfortran.dg/do_iterator_2.f90: Ditto. - * gfortran.dg/e_d_fmt.f90: Ditto. - * gfortran.dg/empty_format_1.f90: Ditto. - * gfortran.dg/entry_17.f90: Modified warning message. - * gfortran.dg/entry_7.f90: Add -std=legacy. - * gfortran.dg/eor_1.f90: Ditto. - * gfortran.dg/equiv_2.f90: Ditto. - * gfortran.dg/equiv_constraint_2.f90: Use new-style character length. - * gfortran.dg/equiv_substr.f90: Add -std=legacy. - * gfortran.dg/extended_char_comparison_1.f: Ditto. - * gfortran.dg/fmt_bz_bn_err.f: Ditto. - * gfortran.dg/fmt_error_2.f90: Ditto. - * gfortran.dg/fmt_read_bz_bn.f90: Ditto. - * gfortran.dg/fmt_tl.f: Ditto. - * gfortran.dg/fmt_white.f: Ditto. - * gfortran.dg/func_derived_1.f90: Ditto. - * gfortran.dg/g77_intrinsics_funcs.f: Ditto. - * gfortran.dg/g77_intrinsics_sub.f: Ditto. - * gfortran.dg/global_references_2.f90: Ditto. - * gfortran.dg/hollerith_1.f90: Ditto. - * gfortran.dg/hollerith.f90: Use new-style character length. - * gfortran.dg/hollerith_f95.f90: Ditto. - * gfortran.dg/ichar_1.f90: Add -std=legacy. - * gfortran.dg/implicit_6.f90: Ditto. - * gfortran.dg/implicit_9.f90: Ditto. - * gfortran.dg/inquire_13.f90: Ditto. - * gfortran.dg/inquire_5.f90: Ditto. - * gfortran.dg/inquire_6.f90: Ditto. - * gfortran.dg/inquire.f90: Ditto. - * gfortran.dg/io_constraints_1.f90: Use new-style character length. - * gfortran.dg/io_constraints_2.f90: Ditto. - * gfortran.dg/list_read_2.f90: Add -std=legacy. - * gfortran.dg/loc_2.f90: Ditto. - * gfortran.dg/logical_1.f90: Ditto. - * gfortran.dg/longline.f: Ditto. - * gfortran.dg/merge_char_1.f90: Ditto. - * gfortran.dg/namelist_12.f: Ditto. - * gfortran.dg/namelist_14.f90: Ditto. - * gfortran.dg/namelist_18.f90: Ditto. - * gfortran.dg/namelist_19.f90: Ditto. - * gfortran.dg/namelist_21.f90: Ditto. - * gfortran.dg/namelist_22.f90: Ditto. - * gfortran.dg/namelist_37.f90: Ditto. - * gfortran.dg/namelist_54.f90: Ditto. - * gfortran.dg/namelist_55.f90: Ditto. - * gfortran.dg/namelist_empty.f90: Ditto. - * gfortran.dg/namelist_use.f90: Use new-style character length. - * gfortran.dg/namelist_use_only.f90: Add -std=legacy. - * gfortran.dg/nested_modules_4.f90: Ditto. - * gfortran.dg/nested_modules_5.f90: Ditto. - * gfortran.dg/open-options-blanks.f: Ditto. - * gfortran.dg/output_exponents_1.f90: Ditto. - * gfortran.dg/parens_5.f90: Ditto. - * gfortran.dg/parens_6.f90: Ditto. - * gfortran.dg/parent_result_ref_2.f90: Modified warning message. - * gfortran.dg/pointer_function_actual_1.f90: Add -std=legacy. - * gfortran.dg/pr15129.f90: Ditto. - * gfortran.dg/pr15332.f: Ditto. - * gfortran.dg/pr16597.f90: Ditto. - * gfortran.dg/pr17143.f90: Ditto. - * gfortran.dg/pr17164.f90: Ditto. - * gfortran.dg/pr17229.f: Modified warning message. - * gfortran.dg/pr18210.f90: Add -std=legacy. - * gfortran.dg/pr19155.f: Ditto. - * gfortran.dg/pr20086.f90: Ditto. - * gfortran.dg/pr20124.f90: Ditto. - * gfortran.dg/pr20755.f: Ditto. - * gfortran.dg/pr20865.f90: Ditto. - * gfortran.dg/pr20950.f: Ditto. - * gfortran.dg/pr21730.f: Ditto. - * gfortran.dg/pr22491.f: Ditto. - * gfortran.dg/pr29713.f90: Ditto. - * gfortran.dg/print_parentheses_1.f: Ditto. - * gfortran.dg/print_parentheses_2.f90: Ditto. - * gfortran.dg/proc_assign_1.f90: Ditto. - * gfortran.dg/proc_decl_1.f90: Ditto. - * gfortran.dg/proc_ptr_17.f90: Add dg-warning. - * gfortran.dg/read_eor.f90: : Add -std=legacy. - * gfortran.dg/read_float_1.f90: Ditto. - * gfortran.dg/read_logical.f90: Ditto. - * gfortran.dg/recursive_statement_functions.f90: Ditto. - * gfortran.dg/return_1.f90: Ditto. - * gfortran.dg/rewind_1.f90: Ditto. - * gfortran.dg/runtime_warning_1.f90: Use new-style character length. - * gfortran.dg/scalar_return_1.f90: Add -std=legacy. - * gfortran.dg/stfunc_1.f90: Ditto. - * gfortran.dg/stfunc_3.f90: Ditto. - * gfortran.dg/stfunc_4.f90: Ditto. - * gfortran.dg/stfunc_6.f90: Ditto. - * gfortran.dg/streamio_2.f90: Ditto. - * gfortran.dg/string_ctor_1.f90: Ditto. - * gfortran.dg/string_null_compare_1.f: Ditto. - * gfortran.dg/substr_6.f90: Ditto. - * gfortran.dg/tl_editing.f90: Ditto. - * gfortran.dg/unf_io_convert_1.f90: Use new-style character length. - * gfortran.dg/warnings_are_errors_1.f90: Modified warning message. - * gfortran.dg/x_slash_1.f: Add -std=legacy. - * gfortran.dg/g77/1832.f: Ditto. - * gfortran.dg/g77/19981216-0.f Ditto. - * gfortran.dg/g77/19990525-0.f: Ditto. - * gfortran.dg/g77/19990826-2.f: Ditto. - * gfortran.dg/g77/20000630-2.f: Ditto. - * gfortran.dg/g77/20010116.f: Ditto. - * gfortran.dg/g77/20010519-1.f: Use new-style character length. - * gfortran.dg/g77/980419-2.f: Add -std=legacy. - * gfortran.dg/g77/980520-1.f: Ditto. - * gfortran.dg/g77/check0.f: Ditto. - * gfortran.dg/g77/cpp3.F: Ditto. - * gfortran.dg/g77/cpp4.F: Use new-style character length. - * gfortran.dg/g77/f77-edit-i-in.f: Add -std=legacy. - * gfortran.dg/g77/f77-edit-t-in.f: Ditto. - * gfortran.dg/g77/short.f: Ditto. - -2009-08-01 Adam Nemet <anemet@caviumnetworks.com> - - * gcc.target/mips/ext-3.c: Add NOMIPS16. - * gcc.target/mips/ext-4.c: Likewise. - * gcc.target/mips/interrupt_handler.c: Likewise. - * gcc.target/mips/truncate-4.c: Likewise. - * gcc.target/mips/truncate-5.c: Likewise. - -2009-08-01 Sebastian Pop <sebastian.pop@amd.com> - - * gcc.dg/graphite/graphite_autopar/graphite_autopar.exp: Rename - -fgraphite-force-parallel to -floop-parallelize-all. - -2009-08-01 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/40011 - * gfortran.dg/whole_file_7.f90: New test. - * gfortran.dg/whole_file_8.f90: New test. - * gfortran.dg/whole_file_9.f90: New test. - * gfortran.dg/whole_file_10.f90: New test. - * gfortran.dg/whole_file_11.f90: New test. - * gfortran.dg/whole_file_12.f90: New test. - * gfortran.dg/whole_file_13.f90: New test. - * gfortran.dg/whole_file_14.f90: New test. - -2009-07-31 Jason Merrill <jason@redhat.com> - - * g++.dg/cpp0x/initlist22.C: Adjust for new rvalue reference - binding semantics. - * g++.dg/cpp0x/named.C: Likewise. - * g++.dg/cpp0x/overload.C: Likewise. - * g++.dg/cpp0x/rv1n.C: Likewise. - * g++.dg/cpp0x/rv1p.C: Likewise. - * g++.dg/cpp0x/rv2n.C: Likewise. - * g++.dg/cpp0x/rv2p.C: Likewise. - * g++.dg/cpp0x/rv3n.C: Likewise. - * g++.dg/cpp0x/rv3p.C: Likewise. - * g++.dg/cpp0x/rv4n.C: Likewise. - * g++.dg/cpp0x/rv4p.C: Likewise. - * g++.dg/cpp0x/rv5n.C: Likewise. - * g++.dg/cpp0x/rv5p.C: Likewise. - * g++.dg/cpp0x/rv6n.C: Likewise. - * g++.dg/cpp0x/rv6p.C: Likewise. - * g++.dg/cpp0x/rv7n.C: Likewise. - * g++.dg/cpp0x/rv7p.C: Likewise. - * g++.dg/cpp0x/template_deduction.C: Likewise. - * g++.dg/cpp0x/unnamed_refs.C: Likewise. - * g++.dg/cpp0x/overloadn.C: New. - * g++.dg/cpp0x/rv-cast.C: New. - -2009-07-31 Adam Nemet <anemet@caviumnetworks.com> - - * gcc.target/mips/ext-4.c: New test. - -2009-07-30 Sebastian Pop <sebastian.pop@amd.com> - - * g++.dg/tree-ssa/pr33615.C: Fix pattern for lim. - -2009-07-30 Sebastian Pop <sebastian.pop@amd.com> - - * gcc.dg/tree-ssa/20050314-1.c: Fix patterns for lim and dceloop. - * gcc.dg/tree-ssa/loop-32.c: Same. - * gcc.dg/tree-ssa/loop-33.c: Same. - * gcc.dg/tree-ssa/loop-34.c: Same. - * gcc.dg/tree-ssa/loop-35.c: Same. - * gcc.dg/tree-ssa/loop-7.c: Same. - * gcc.dg/tree-ssa/pr23109.c: Same. - * gcc.dg/tree-ssa/restrict-2.c: Same. - * gcc.dg/tree-ssa/restrict-3.c: Same. - * gcc.dg/tree-ssa/ssa-lim-1.c: Same. - * gcc.dg/tree-ssa/ssa-lim-2.c: Same. - * gcc.dg/tree-ssa/ssa-lim-3.c: Same. - * gcc.dg/tree-ssa/ssa-lim-6.c: Same. - * gcc.dg/tree-ssa/structopt-1.c: Same. - * gcc.dg/vect/dump-tree-dceloop-pr26359.c: Same. - * gfortran.dg/pr32921.f: Same. - -2009-07-30 Sebastian Pop <sebastian.pop@amd.com> - - * gcc.dg/graphite/graphite_autopar/force-parallel-1.c: New. - * gcc.dg/graphite/graphite_autopar/force-parallel-2.c: New. - * gcc.dg/graphite/graphite_autopar/force-parallel-3.c: New. - * gcc.dg/graphite/graphite_autopar/force-parallel-4.c: New. - * gcc.dg/graphite/graphite_autopar/force-parallel-5.c: New. - * gcc.dg/graphite/graphite_autopar/force-parallel-6.c: New. - * gcc.dg/graphite/graphite_autopar/force-parallel-7.c: New. - * gcc.dg/graphite/graphite_autopar/force-parallel-8.c: New. - * gcc.dg/graphite/graphite_autopar/force-parallel-9.c: New. - * gcc.dg/graphite/graphite_autopar/graphite_autopar.exp: New. - * gcc.dg/graphite/id-1.c: New. - * gcc.dg/graphite/id-10.c: New. - * gcc.dg/graphite/id-11.c: New. - * gcc.dg/graphite/id-12.c: New. - * gcc.dg/graphite/id-13.c: New. - * gcc.dg/graphite/id-14.c: New. - * gcc.dg/graphite/id-15.c: New. - * gcc.dg/graphite/id-2.c: New. - * gcc.dg/graphite/id-3.c: New. - * gcc.dg/graphite/id-4.c: New. - * gcc.dg/graphite/id-5.c: New. - * gcc.dg/graphite/id-6.c: New. - * gcc.dg/graphite/id-7.c: New. - * gcc.dg/graphite/id-8.c: New. - * gcc.dg/graphite/id-9.c: New. - * gcc.dg/graphite/interchange-0.c: New. - * gcc.dg/graphite/interchange-1.c: New. - * gcc.dg/graphite/interchange-2.c: New. - * gcc.dg/graphite/interchange-3.c: New. - * gcc.dg/graphite/interchange-4.c: New. - * gcc.dg/graphite/interchange-5.c: New. - * gcc.dg/graphite/interchange-6.c: New. - * gcc.dg/graphite/interchange-7.c: New. - * gcc.dg/graphite/interchange-8.c: New. - * gcc.dg/graphite/pr35356-1.c: New. - * gcc.dg/graphite/pr35356-2.c: New. - * gcc.dg/graphite/pr35356-3.c: New. - * gcc.dg/graphite/pr40157.c: New. - * gcc.dg/graphite/run-id-1.c: New. - * gcc.dg/graphite/scop-20.c: New. - * gcc.dg/graphite/scop-21.c: New. - * gfortran.dg/graphite/id-1.f90: New. - * gfortran.dg/graphite/id-10.f90: New. - * gfortran.dg/graphite/id-11.f: New. - * gfortran.dg/graphite/id-12.f: New. - * gfortran.dg/graphite/id-13.f: New. - * gfortran.dg/graphite/id-14.f: New. - * gfortran.dg/graphite/id-15.f: New. - * gfortran.dg/graphite/id-16.f: New. - * gfortran.dg/graphite/id-5.f: New. - * gfortran.dg/graphite/id-6.f: New. - * gfortran.dg/graphite/id-7.f: New. - * gfortran.dg/graphite/id-8.f: New. - * gfortran.dg/graphite/id-9.f: New. - * gfortran.dg/graphite/interchange-1.f: New. - * gfortran.dg/graphite/interchange-2.f: New. - -2009-07-30 Sebastian Pop <sebastian.pop@amd.com> - - * gcc.dg/graphite/graphite.exp: Implement an automatic selection of - flags based on the name of the testcase. - * gfortran.dg/graphite/graphite.exp: Same. - - * gcc.dg/graphite/block-0.c: Adjusted. - * gcc.dg/graphite/block-1.c: Adjusted. - * gcc.dg/graphite/block-2.c: Adjusted. - * gcc.dg/graphite/block-3.c: Adjusted. - * gcc.dg/graphite/block-4.c: Adjusted. - * gcc.dg/graphite/block-5.c: Adjusted. - * gcc.dg/graphite/block-6.c: Adjusted. - * gcc.dg/graphite/pr37485.c: Adjusted. - * gcc.dg/graphite/pr37684.c: Adjusted. - * gcc.dg/graphite/pr37828.c: Adjusted. - * gcc.dg/graphite/pr37883.c: Adjusted. - * gcc.dg/graphite/pr37928.c: Adjusted. - * gcc.dg/graphite/pr37943.c: Adjusted. - * gcc.dg/graphite/pr38409.c: Adjusted. - * gcc.dg/graphite/pr38498.c: Adjusted. - * gcc.dg/graphite/pr38559.c: Adjusted. - * gcc.dg/graphite/pr39335.c: Adjusted. - * gcc.dg/graphite/pr39335_1.c: Adjusted. - * gcc.dg/graphite/scop-0.c: Adjusted. - * gcc.dg/graphite/scop-1.c: Adjusted. - * gcc.dg/graphite/scop-10.c: Adjusted. - * gcc.dg/graphite/scop-11.c: Adjusted. - * gcc.dg/graphite/scop-12.c: Adjusted. - * gcc.dg/graphite/scop-13.c: Adjusted. - * gcc.dg/graphite/scop-14.c: Adjusted. - * gcc.dg/graphite/scop-15.c: Adjusted. - * gcc.dg/graphite/scop-16.c: Adjusted. - * gcc.dg/graphite/scop-17.c: Adjusted. - * gcc.dg/graphite/scop-18.c: Adjusted. - * gcc.dg/graphite/scop-19.c: Adjusted. - * gcc.dg/graphite/scop-2.c: Adjusted. - * gcc.dg/graphite/scop-3.c: Adjusted.- - * gcc.dg/graphite/scop-4.c: Adjusted. - * gcc.dg/graphite/scop-5.c: Adjusted. - * gcc.dg/graphite/scop-6.c: Adjusted. - * gcc.dg/graphite/scop-7.c: Adjusted. - * gcc.dg/graphite/scop-8.c: Adjusted. - * gcc.dg/graphite/scop-9.c: Adjusted. - * gcc.dg/graphite/scop-matmult.c: Adjusted. - * gfortran.dg/graphite/block-1.f90: Adjusted. - * gfortran.dg/graphite/block-2.f: Adjusted. - * gfortran.dg/graphite/block-3.f90: Adjusted. - * gfortran.dg/graphite/block-4.f90: Adjusted. - * gfortran.dg/graphite/id-2.f90: Adjusted. - * gfortran.dg/graphite/id-3.f90: Adjusted. - * gfortran.dg/graphite/id-4.f90: Adjusted. - * gfortran.dg/graphite/pr37852.f90: Adjusted. - * gfortran.dg/graphite/pr37857.f90: Adjusted. - * gfortran.dg/graphite/pr37980.f90: Adjusted. - * gfortran.dg/graphite/pr38083.f90: Adjusted. - * gfortran.dg/graphite/pr38953.f90: Adjusted. - * gfortran.dg/graphite/scop-1.f: Adjusted. - -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. - -2009-07-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * lib/options.exp: Use "!=" instead of "ne". - - * gcc.dg/vector-4.c: Add -fno-common option on hppa*-*-hpux* (32-bit). - - * gcc.dg/ucnid-11.c: Skip on hppa*-*-hpux* (32-bit). - * gcc.dg/ucnid-12.c: Likewise. - -2009-07-30 Michael Meissner <meissner@linux.vnet.ibm.com> - Pat Haugen <pthaugen@us.ibm.com> - Revital Eres <ERES@il.ibm.com> - - * gcc.target/powerpc/altivec-32.c: New file to test - Altivec simple math function vectorization. - - * gcc.target/powerpc/bswap-run.c: New file to test swap - builtins. - * gcc.target/powerpc/bswap16.c: Ditto. - * gcc.target/powerpc/bswap32.c: Ditto. - * gcc.target/powerpc/bswap64-1.c: Ditto. - * gcc.target/powerpc/bswap64-2.c: Ditto. - * gcc.target/powerpc/bswap64-3.c: Ditto. - * gcc.target/powerpc/optimize-bswapdi-2.c: Ditto. - * gcc.target/powerpc/optimize-bswapdi-3.c: Ditto. - * gcc.target/powerpc/optimize-bswapsi-2.c: Ditto. - - * gcc.target/powerpc/popcount-2.c: New file to test - power7 popcntd instructions. - * gcc.target/powerpc/popcount-3.c: Ditto. - - * gcc.target/powerpc/pr39457.c: New VSX test. - * gcc.target/powerpc/vsx-builtin-1.c: Ditto. - * gcc.target/powerpc/vsx-builtin-2.c: Ditto. - * gcc.target/powerpc/vsx-builtin-3.c: Ditto. - * gcc.target/powerpc/vsx-builtin-4.c: Ditto. - * gcc.target/powerpc/vsx-builtin-5.c: Ditto. - * gcc.target/powerpc/vsx-builtin-6.c: Ditto. - * gcc.target/powerpc/vsx-vector-1.c: Ditto. - * gcc.target/powerpc/vsx-vector-2.c: Ditto. - * gcc.target/powerpc/vsx-vector-3.c: Ditto. - * gcc.target/powerpc/vsx-vector-4.c: Ditto. - * gcc.target/powerpc/vsx-vector-5.c: Ditto. - * gcc.target/powerpc/vsx-vector-6.c: Ditto. - - * gcc.target/powerpc/altivec-6.c: Store the result of - vec_add, so the optimizer doesn't remove it. - - * gcc.dg/optimize-bswapdi-1.c: Add powerpc 64-bit to - systems that support bswap64. - - * gcc.dg/vmx/vmx.exp: Explicitly add -mno-vsx to - prevent VSX code generation. - - * lib/target-supports.exp (check_vsx_hw_available): New - function to test if VSX available. - (check_effective_target_powerpc_vsx_ok): Ditto. - (check_vmx_hw_available): Add explicit -mno-vsx. - -2009-07-30 Janis Johnson <janis187@us.ibm.com> - - PR c/39902 - * gcc.dg/dfp/pr39902.c: Fix typos in constant suffixes. - -2009-07-30 Martin Jambor <mjambor@suse.cz> - - PR tree-optimization/40570 - * gcc.c-torture/compile/pr40570.c: New test. - -2009-07-29 Jason Merrill <jason@redhat.com> - - PR c++/14912 - * g++.dg/template/defarg13.C: New. - -2009-07-29 Richard Guenther <rguenther@suse.de> - - PR c++/40834 - * g++.dg/torture/pr40834.C: New testcase. - -2009-07-29 Michael Matz <matz@suse.de> - - PR middle-end/40830 - * gcc.dg/vect/vect-pre-interact.c: XFAIL for no_align targets. - -2009-07-28 Kaz Kojima <kkojima@gcc.gnu.org> - - * 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. - -2009-07-28 Jakub Jelinek <jakub@redhat.com> - - PR fortran/40878 - * gfortran.dg/gomp/pr40878-1.f90: New test. - * gfortran.dg/gomp/pr40878-2.f90: New test. - - PR testsuite/40891 - * gcc.dg/cdce1.c: Adjust note line number. - * gcc.dg/cdce2.c: Likewise. - -2009-07-28 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40882 - * gfortran.dg/proc_ptr_comp_13.f90: New. - -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. - -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. - -2009-07-27 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40848 - * gfortran.dg/altreturn_7.f90: New. - -2009-07-27 Simon Baldwin <simonb@google.com> - - PR testsuite/40829 - * gcc.dg/vect/no-scevccp-noreassoc-outer-2.c: Extended array 'a' - so that indexing no longer runs off array end. - -2009-07-27 Tobias Burnus <burnus@net-b.de> - - PR fortran/40851 - * gfortran.dg/derived_init_3.f90: New test. - -2009-07-26 Tobias Burnus <burnus@net-b.de> - - PR fortran/33197 - * gfortran.dg/atan2_1.f90: New test - * gfortran.dg/atan2_2.f90: New test - -2007-07-26 Simon Martin <simartin@users.sourceforge.net> - - PR c++/40749 - * g++.dg/warn/Wreturn-type-6.C: New test. - -2009-07-26 Ira Rosen <irar@il.ibm.com> - - PR tree-optimization/40801 - * gfortran.dg/vect/fast-math-real8-pr40801.f90: New test. - * gfortran.dg/vect/vect.exp: Run tests starting with - "fast-math-real8" with -ffast-math and -fdefault-real-8. - -2009-07-25 David Daney <ddaney@caviumnetworks.com> - - PR rtl-optimization/40445 - * g++.dg/other/builtin-unreachable-1.C: New testcase. - -2009-07-25 David Daney <ddaney@caviumnetworks.com> - - * gcc.dg/builtin-unreachable-4.c: New test. - -2009-07-25 Tobias Burnus <burnus@net-b.de> - - PR fortran/33197 - * gfortran.dg/complex_intrinsic_5.f90: New test. - * gfortran.dg/complex_intrinsic_7.f90: New test. - -2009-07-25 Martin Jambor <mjambor@suse.cz> - - * gcc.c-torture/execute/pr17377.c: Add noclone attribute to function y. - * gcc.dg/ipa/noclone-1.c: New test. - -2009-07-25 Uros Bizjak <ubizjak@gmail.com> - - * lib/target-supports.exp (check_effective_target_static): New - procedure. - * gcc.dg/special/gcsec-1.c (dg-options): Use -static only when - supported. - * g++.old-deja/g++.law/weak.C: Require static effective target. - -2009-07-25 Janus Weil <janus@gcc.gnu.org> - - PR fortran/39630 - * gfortran.dg/proc_ptr_comp_3.f90: Modified. - * gfortran.dg/proc_ptr_comp_pass_1.f90: New. - * gfortran.dg/proc_ptr_comp_pass_2.f90: New. - * gfortran.dg/proc_ptr_comp_pass_3.f90: New. - * gfortran.dg/proc_ptr_comp_pass_4.f90: New. - * gfortran.dg/proc_ptr_comp_pass_5.f90: New. - * gfortran.dg/typebound_call_10.f03: New. - -2009-07-24 Jason Merrill <jason@redhat.com> - - * g++.dg/cpp0x/defaulted11.C: New. - - * g++.dg/cpp0x/initlist23.C: New. - -2009-07-24 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40822 - * gfortran.dg/char_length_16.f90: New. - -2009-07-24 Jakub Jelinek <jakub@redhat.com> - - PR fortran/40643 - PR fortran/31067 - * gfortran.dg/maxlocval_2.f90: New test. - * gfortran.dg/maxlocval_3.f90: New test. - * gfortran.dg/maxlocval_4.f90: New test. - * gfortran.dg/minlocval_1.f90: New test. - * gfortran.dg/minlocval_2.f90: New test. - * gfortran.dg/minlocval_3.f90: New test. - * gfortran.dg/minlocval_4.f90: New test. - -2009-07-23 Joseph Myers <joseph@codesourcery.com> - - * gcc.dg/dll-4.c: Allow foo1 and foo2 in either order in - scan-assembler. - -2009-07-23 Jakub Jelinek <jakub@redhat.com> - - PR fortran/40839 - * gfortran.dg/pr40839.f90: New test. - -2009-07-23 Michael Matz <matz@suse.de> - - PR middle-end/40830 - * gcc.dg/vect/vect-pre-interact.c: Require vect_float, and - don't set options ourself. - -2009-07-23 Simon Baldwin <simonb@google.com> - - * gcc.misc-tests/linkage.exp: Added -m64 to x86_64 linux target - native C compilation where required. - -2009-07-22 Doug Kwan <dougkwan@google.com> - - * gcc.c-torture/compile/20090721-1.c: New test. - -2009-07-22 Michael Matz <matz@suse.de> - - PR tree-optimization/35229 - PR tree-optimization/39300 - * gcc.dg/vect/vect-pre-interact.c: New test. - -2009-07-22 Richard Guenther <rguenther@suse.de> - - * g++.dg/lookup/using21.C: Fix duplicate paste. - -2009-07-22 Richard Guenther <rguenther@suse.de> - - PR c++/40799 - * g++.dg/lookup/using21.C: New testcase. - -2009-07-21 Jason Merrill <jason@redhat.com> - - * g++.dg/init/aggr4.C: New. - -2009-07-21 Jason Merrill <jason@redhat.com> - - Core issue 934 - * g++.dg/cpp0x/initlist22.C: New. - -2009-07-21 Uros Bizjak <ubizjak@gmail.com> - - * gcc.target/i386/vectorize8.c: New test. - -2009-07-21 Uros Bizjak <ubizjak@gmail.com> - - PR target/40811 - * lib/target-supports.exp (check_effective_target_vect_uintfloat_cvt): - Add i?86 and x86_64 targets. - * gcc.target/i386/vectorize7.c: New test. - - PR target/40809 - * gcc.target/i386/pr40809.c: New test. - -2009-07-21 Jakub Jelinek <jakub@redhat.com> - - PR tree-optimization/40813 - * g++.dg/opt/inline15.C: New test. - -2009-07-21 Paul Brook <paul@codesourcery.com> - - * gcc.dg/vect/section-anchors-nest-1.c: New test. - * lib/target-supports.exp (check_effective_target_section_anchors): - Add arm*-*-*. - -2009-07-20 Olatunji Ruwase <tjruwase@google.com> - - * gcc.dg/plugin/finish_unit_plugin.c: New test. - * gcc.dg/plugin/finish_unit-test-1.c: New test. - * gcc.dg/plugin/plugin.exp: Added finish_unit_plugin.c test. - -2009-07-20 Adam Nemet <anemet@caviumnetworks.com> - - * gcc.target/mips/ext-3.c: New test. - -2009-07-20 Jakub Jelinek <jakub@redhat.com> - - * gcc.dg/builtin-object-size-6.c: Adjust expected values. - * gcc.dg/builtin-object-size-8.c: New test. - * g++.dg/ext/builtin-object-size1.C: Adjust expected values. - * g++.dg/ext/builtin-object-size2.C: Likewise. - - PR tree-optimization/40792 - * gcc.dg/pr40792.c: New test. - -2009-07-20 Ira Rosen <irar@il.ibm.com> - - * gcc.dg/vect/vect-cond-1.c, gcc.dg/vect/vect-cond-2.c, - gcc.dg/vect/vect-cond-3.c, gcc.dg/vect/vect-cond-4.c, - gcc.dg/vect/vect-cond-5.c, gcc.dg/vect/vect-cond-6.c: New tests. - -2009-07-20 Christian Bruel <christian.bruel@st.com> - - * gcc.target/sh/mfmovd.c: New test. - -2009-07-19 Janne Blomqvist <jb@gcc.gnu.org> - Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR libfortran/40714 - * gfortran.dg/eof_3.f90: New test. - -2009-07-18 Steven G. Kargl <kargl@gcc.gnu.org> - - PR fortran/40727 - * gfortran.dg/intrinsic_cmplx.f90: New test. - -2009-07-19 Thomas Koenig <tkoenig@gcc.gnu.org> - - PR libfortran/34670 - PR libfortran/36874 - * gfortran.dg/cshift_bounds_1.f90: New test. - * gfortran.dg/cshift_bounds_2.f90: New test. - * gfortran.dg/cshift_bounds_3.f90: New test. - * gfortran.dg/cshift_bounds_4.f90: New test. - * gfortran.dg/eoshift_bounds_1.f90: New test. - * gfortran.dg/maxloc_bounds_4.f90: Correct typo in error message. - * gfortran.dg/maxloc_bounds_5.f90: Correct typo in error message. - * gfortran.dg/maxloc_bounds_7.f90: Correct typo in error message. - -2009-07-19 Jan Hubicka <jh@suse.cz> - - PR tree-optimization/40676 - * gcc.c-torture/compile/pr40676.c: New testcase. - -2009-07-18 Adam Nemet <anemet@caviumnetworks.com> - - * gcc.target/mips/ext-2.c: New test. - -2009-07-18 Adam Nemet <anemet@caviumnetworks.com> - - * gcc.target/mips/octeon-exts-7.c: New test. - * gcc.target/mips/octeon-exts-2.c: Revert previous change. - * gcc.target/mips/octeon-exts-5.c: Likewise. - -2009-07-18 Richard Guenther <rguenther@suse.de> - - PR testsuite/40798 - * gcc.dg/tree-ssa/loop-2.c: Tighten pattern. - -2009-07-18 Richard Guenther <rguenther@suse.de> - - PR c/40787 - * gcc.dg/pr35899.c: Adjust. - -2009-07-18 Richard Sandiford <r.sandiford@uk.ibm.com> - - * gcc.target/powerpc/asm-es-1.c: New test. - * gcc.target/powerpc/asm-es-2.c: Likewise. - -2009-07-17 Richard Guenther <rguenther@suse.de> - - PR c/40401 - * g++.dg/rtti/crash4.C: New testcase. - * g++.dg/torture/20090706-1.C: Likewise. - * gcc.dg/redecl-17.c: Likewise. - * gfortran.dg/missing_optional_dummy_5.f90: Adjust pattern. - * gcc.dg/declspec-9.c: Expect extra error. - * gcc.dg/declspec-10.c: Likewise. - * gcc.dg/declspec-11.c: Likewise. - * gcc.dg/redecl-10.c: Expect extra warnings. - * gcc.target/i386/pr39082-1.c: Adjust diagnostic location. - * gcc.target/i386/pr39545-1.c: Likewise. - * g++.dg/ext/asm3.C: Expect more errors. - * g++.dg/gomp/block-1.C: Likewise. - * g++.dg/gomp/block-2.C: Likewise. - * g++.dg/gomp/block-3.C: Likewise. - * g++.dg/gomp/block-5.C: Likewise. - * g++.old-deja/g++.jason/report.C: Expect extra warnings. - * g++.dg/warn/unused-result1.C: XFAIL. - -2009-07-17 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/40321 - * gcc.c-torture/compile/pr40321.c: New testcase. - * g++.dg/torture/pr40321.C: Likewise. - -2009-07-17 Jakub Jelinek <jakub@redhat.com> - - PR c++/40780 - * g++.dg/template/ptrmem19.C: New test. - -2009-07-17 Aldy Hernandez <aldyh@redhat.com> - Manuel López-Ibáñez <manu@gcc.gnu.org> - - PR 40435 - * gcc.dg/pr36902.c: Add column info. - * g++.dg/gcov/gcov-2.C: Change count for definition. - -2009-07-16 Jason Merrill <jason@redhat.com> - - PR libstdc++/37907 - * g++.dg/cpp0x/std-layout1.C: New. - * g++.dg/ext/has_nothrow_assign.C: Fix. - * g++.dg/ext/has_nothrow_copy.C: Fix. - * g++.dg/ext/has_trivial_assign.C: Fix. - * g++.dg/ext/has_trivial_copy.C: Fix. - * g++.dg/ext/is_pod.C: Fix. - * g++.dg/other/offsetof3.C: Adjust. - * g++.dg/overload/ellipsis1.C: Adjust. - * g++.dg/warn/var-args1.C: Adjust. - * g++.old-deja/g++.brendan/crash63.C: Adjust. - * g++.old-deja/g++.brendan/crash64.C: Adjust. - * g++.old-deja/g++.brendan/overload8.C: Adjust. - * g++.old-deja/g++.other/vaarg3.C: Adjust. - * g++.old-deja/g++.pt/vaarg3.C: Adjust. - -2009-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * gcc.dg/torture/builtin-math-5.c: Add more cases. - * gcc.dg/torture/builtin-math-6.c: Likewise. Depend on - effective target "mpc_pow". - * lib/target-supports.exp (check_effective_target_mpc_pow): New. - -2009-07-16 Richard Henderson <rth@redhat.com> - - * g++.dg/opt/eh4.C: New test. - -2009-07-16 Jakub Jelinek <jakub@redhat.com> - - * obj-c++.dg/defs.mm (abort): Make it extern "C". - -2009-07-15 Jakub Jelinek <jakub@redhat.com> - - PR middle-end/40747 - * gcc.c-torture/execute/pr40747.c: New test. - -2009-07-15 Richard Guenther <rguenther@suse.de> - - PR middle-end/40753 - * gcc.c-torture/compile/pr40753.c: New testcase. - -2009-07-15 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40743 - * gfortran.dg/interface_assignment_4.f90: New. - -2009-07-15 Gerald Pfeifer <gerald@pfeifer.com> - - * gcc.dg/builtins-config.h (HAVE_C99_RUNTIME): Do not define - for FreeBSD up to and including version 8. - -2009-07-14 Taras Glek <tglek@mozilla.com> - Rafael Espindola <espindola@google.com> - - * g++.dg/plugin/header-plugin-test.C: New. - * g++.dg/plugin/header_plugin.c: New. - * g++.dg/plugin/plugin.exp: Update. - -2009-07-14 Uros Bizjak <ubizjak@gmail.com> - - * gcc.target/i386/sse-recip-vec.c: Move arrays out of test - function to enable vectorization. - * gcc.target/i386/sse2-lrint-vec.c: Ditto. - * gcc.target/i386/sse2-lrintf-vec.c: Ditto. - -2009-07-14 Uros Bizjak <ubizjak@gmail.com> - - * gcc.target/i386/sse-copysignf-vec.c: New test. - * gcc.target/i386/sse2-copysign-vec.c: Ditto. - -2009-07-14 Jason Merrill <jason@redhat.com> - - PR c++/37276 - * g++.dg/lookup/builtin5.C: New. - * g++.dg/other/error22.C: Add missing extern "C". - * g++.dg/warn/Warray-bounds.C: Likewise. - * gcc.dg/compat/compat-common.h: Likewise. - - PR c++/40746 - * g++.dg/lookup/using20.C: New. - - PR c++/40740 - * g++.dg/template/koenig8.C: New. - -2009-07-14 Jack Howarth <howarth@bromo.med.uc.edu> - - * gcc.c-torture/compile/20000804-1.c: skip for ilp32 on - both i?86-*-darwin* and x86_64-*-darwin*. - -2009-07-14 Joseph Myers <joseph@codesourcery.com> - - * gcc.target/i386/pr37843-1.c, gcc.target/i386/pr37843-2.c, - gcc.target/i386/pr37843-3.c: Allow leading underscore on function - name. - -2009-07-14 Dodji Seketeli <dodji@redhat.com> - - PR debug/40705 - * g++.dg/debug/dwarf2/typedef1.C: New test. - - PR c++/40357 - * g++.dg/other/typedef3.C: New test. - -2009-07-14 Maxim Kuvyrkov <maxim@codesourcery.com> - - * gcc.dg/20090709-1.c: Move to a proper place ... - * gcc.target/m68k/20090709-1.c: ... here. - -2009-07-13 Andrew Pinski <andrew_pinski@playstation.sony.com> - - PR C++/22154 - * g++.old-deja/g++.pt/typename10.C: Update for DR 382, typename in - front of qualified names are allowed. - * g++.dg/parse/crash10.C: Likewise. - * g++.dg/parse/error15.C: Likewise. - * g++.dg/parse/typename9.C: Likewise. - * g++.dg/parse/error8.C: Likewise. - -2009-07-13 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40646 - * gfortran.dg/proc_ptr_22.f90: Extended. - * gfortran.dg/proc_ptr_comp_12.f90: Extended. - -2009-07-13 Ira Rosen <irar@il.ibm.com> - - * gfortran.dg/vect/vect-6.f: New test. - -2009-07-12 Jason Merrill <jason@redhat.com> - - PR c++/36628 - * g++.dg/cpp0x/decltype17.C: New. - - PR c++/37206 - * g++.dg/cpp0x/rv10.C: New. - -2009-07-12 Jason Merrill <jason@redhat.com> - - PR c++/40689 - * g++.dg/cpp0x/initlist20.C: New. - * g++.dg/cpp0x/initlist21.C: New. - -2009-07-12 Ira Rosen <irar@il.ibm.com> - - * gcc.dg/vect/no-scevccp-outer-2.c: Expect to vectorize. - * gcc.dg/vect/vect-double-reduc-1.c, gcc.dg/vect/vect-double-reduc-2.c, - gcc.dg/vect/vect-double-reduc-3.c, gcc.dg/vect/vect-double-reduc-4.c, - gcc.dg/vect/vect-double-reduc-5.c, gcc.dg/vect/vect-double-reduc-6.c, - gcc.dg/vect/vect-double-reduc-7.c: New tests. - -2009-07-12 Hans-Peter Nilsson <hp@axis.com> - - * gfortran.dg/f2003_io_4.f03, gfortran.dg/read_size_noadvance.f90, - gfortran.dg/namelist_39.f90, gfortran.dg/read_repeat.f90, - gfortran.dg/fmt_exhaust.f90, gfortran.dg/fseek.f90, - gfortran.dg/fmt_t_7.f, gfortran.dg/read_x_past.f, - gfortran.dg/read_bad_advance.f90, gfortran.dg/backslash_3.f, - gfortran.dg/namelist_56.f90, gfortran.dg/list_read_5.f90, - gfortran.dg/fmt_cache_1.f, gfortran.dg/fmt_t_4.f90: Gate test on - effective_target fd_truncate. - -2009-07-11 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/specs/addr1.ads: New test. - -2009-07-11 Jan Hubicka <jh@suse.cz> - - PR middle-end/48388 - * g++.dg/torture/pr40388.C: New testcase. - -2009-07-11 Jakub Jelinek <jakub@redhat.com> - - PR target/40668 - * gcc.c-torture/execute/pr40668.c: New test. - -2009-07-11 Paolo Bonzini <bonzini@gnu.org> - - * gcc.c-torture/execute/20090711-1.c: New test. - -2009-07-11 Richard Sandiford <rdsandiford@googlemail.com> - - PR testsuite/40699 - PR testsuite/40707 - PR testsuite/40709 - * lib/gcc-defs.exp, lib/target-libpath.exp, lib/objc.exp, - lib/gfortran.exp, lib/g++.exp, lib/obj-c++.exp, lib/c-torture.exp, - lib/gcc-dg.exp, lib/gnat.exp, g++.dg/compat/compat.exp, - g++.dg/compat/struct-layout-1.exp: Revert 2009-06-30 commit. - -2009-07-11 Tobias Burnus <burnus@net-b.de> - - PR fortran/33197 - * gfortran.dg/complex_intrinsic_3.f90: New test. - * gfortran.dg/complex_intrinsic_4.f90: New test. - -2009-07-10 David Daney <ddaney@caviumnetworks.com> - - PR target/39079 - * gcc.target/mips/mips.exp: Make -msynci a known option. - * gcc.target/mips/clear-cache-1.c (dg-options): Add -msynci. - -2009-07-10 Jakub Jelinek <jakub@redhat.com> - - PR c++/40502 - * g++.dg/ext/strncpy-chk1.C: New test. - -2009-07-10 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/40496 - * g++.dg/opt/pr40496.C: New testcase. - -2009-07-10 Manuel López-Ibáñez <manu@gcc.gnu.org> - - PR 25509 - PR 40614 - * g++.dg/warn/unused-result1-Werror.c: New. - -2009-07-10 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/39334 - * gfortran.dg/recursive_parameter_1.f90: New test. - -2009-07-09 Steven G. Kargl <kargl@gcc.gnu.org> - - * gfortran.dg/c_kind_tests_2.f03: clean-up leftover module(s). - * gfortran.dg/module_equivalence_6.f90: Ditto. - * gfortran.dg/alloc_comp_auto_array_2.f90: Ditto. - * gfortran.dg/nan_2.f90: Ditto. - * gfortran.dg/inquire_11.f90: Ditto. - * gfortran.dg/abstract_type_3.f03: Ditto. - * gfortran.dg/abstract_type_1.f90: Ditto. - * gfortran.dg/private_type_9.f90: Ditto. - * gfortran.dg/abstract_type_5.f03: Ditto. - * gfortran.dg/elemental_subroutine_6.f90: Ditto. - * gfortran.dg/derived_comp_array_ref_3.f90: Ditto. - * gfortran.dg/derived_sub.f90: Ditto. - * gfortran.dg/missing_optional_dummy_5.f90: Ditto. - * gfortran.dg/bounds_check_fail_2.f90: Ditto. - * gfortran.dg/maxloc_bounds_6.f90: Ditto. - * gfortran.dg/mvbits_6.f90: Ditto. - * gfortran.dg/abstract_type_2.f03: Ditto. - * gfortran.dg/abstract_type_4.f03: Ditto. - * gfortran.dg/bounds_check_9.f90: Ditto. - * gfortran.dg/optional_dim_3.f90: Ditto. - * gfortran.dg/pr32921.f: Ditto. - * gfortran.dg/entry_16.f90: Ditto. - * gfortran.dg/generic_16.f90: Ditto. - - -2009-07-09 Maxim Kuvyrkov <maxim@codesourcery.com> - - * gcc.target/m68k/20090709-1.c: New. - -2009-07-09 Dodji Seketeli <dodji@redhat.com> - - PR c++/40684 - * g++.dg/template/unify11.C: New test. - -2008-07-09 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/40629 - * gfortran.dg/host_assoc_function_9.f90: New test. - -2009-07-09 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40646 - * gfortran.dg/proc_ptr_22.f90: New. - * gfortran.dg/proc_ptr_comp_12.f90: New. - -2009-07-09 Jakub Jelinek <jakub@redhat.com> - - PR middle-end/40692 - * gcc.c-torture/compile/pr40692.c: New test. - -2009-07-09 Tobias Burnus <burnus@net-b.de> - - PR fortran/40604 - * gfortran.dg/pointer_check_6.f90: New test. - -2009-07-08 Adam Nemet <anemet@caviumnetworks.com> - - * gcc.target/mips/truncate-5.c: New test. - -2009-07-08 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR libfortran/40330 - PR libfortran/40662 - * gfortran.dg/fmt_cache_1.f: New test. - -2009-07-08 Tobias Burnus <burnus@net-b.de> - - PR fortran/40675 - * gfortran.dg/nosigned_zero_1.f90: New test. - * gfortran.dg/nosigned_zero_2.f90: New test. - -2009-07-08 Richard Guenther <rguenther@suse.de> - - * gcc.dg/torture/ssa-pta-fn-1.c: Fix invalid testcase again. - -2009-07-08 Richard Guenther <rguenther@suse.de> - - * gcc.dg/torture/ssa-pta-fn-1.c: Fix invalid testcase. - -2009-07-08 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/40591 - * gfortran.dg/proc_ptr_21.f90: New test. - -2009-07-08 Manuel López-Ibáñez <manu@gcc.gnu.org> - - PR c++/31246 - * g++.dg/warn/pr31246.C: New. - * g++.dg/warn/pr31246-2.C: New. - -2009-07-07 Jason Merrill <jason@redhat.com> - - PR c++/35828 - * g++.dg/template/defarg12.C: New. - - PR c++/37816 - * g++.dg/cpp0x/enum7.C: New. - - PR c++/37946 - * g++.dg/cpp0x/enum6.C: New. - - PR c++/40639 - * g++.dg/cpp0x/enum5.C: New. - - PR c++/40633 - * g++.dg/cpp0x/enum4.C: New. - -2009-07-07 Manuel López-Ibáñez <manu@gcc.gnu.org> - - * gcc.dg/format/gcc_diag-1.c: Remove tests for %J. - -2009-07-07 Manuel López-Ibáñez <manu@gcc.gnu.org> - - * gcc.dg/format/gcc_diag-1.c: Remove tests for %H. - -2009-07-07 Jakub Jelinek <jakub@redhat.com> - - PR middle-end/40669 - * gcc.dg/pr40669.c: New test. - -2009-07-07 Manuel López-Ibáñez <manu@gcc.gnu.org> - - * gcc.dg/plugin/selfassign.c: Replace %H by an explicit - location. Update all calls. - * g++.dg/plugin/selfassign.c: Likewise. - -2009-07-06 Jason Merrill <jason@redhat.com> - - * g++.dg/rtti/dyncast[34].C: New. - -2009-07-06 Nathan Froyd <froydnj@codesourcery.com> - - * lib/target-supports.exp - (check_effective_target_mips_newabi_large_long_double): New. - * gcc.target/mips/fpr-moves-5.c: Require mips_newabi_large_long_double - target. - * gcc.target/mips/fpr-moves-6.c: Likewise. - -2009-07-06 Simon Martin <simartin@users.sourceforge.net> - - PR c++/40557 - * g++.dg/template/union2.C: New test. - -2009-07-04 Jason Merrill <jason@redhat.com> - - * g++.dg/template/using15.C: New. - -2009-07-04 Jakub Jelinek <jakub@redhat.com> - - * gfortran.dg/maxloc_1.f90: New test. - -2009-07-04 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40593 - * gfortran.dg/proc_ptr_result_6.f90: New. - -2009-07-04 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> - - * gcc.dg/framework-2.c: Adjust testcase to pass. - -2009-07-04 Jason Merrill <jason@redhat.com> - - PR c++/40619 - * g++.dg/cpp0x/auto16.C: New. - -2009-07-03 Vladimir Makarov <vmakarov@redhat.com> - - PR target/40587 - * gfortran.dg/pr40587.f: New test. - -2009-07-03 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR fortran/40638 - * gfortran.dg/unit_1.f90: New test. - -2009-07-03 Jason Merrill <jason@redhat.com> - - * g++.dg/template/pure1.C: Expect another error. - -2009-07-03 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/40640 - * gcc.c-torture/compile/pr40640.c: New testcase. - -2009-07-03 Richard Guenther <rguenther@suse.de> - - PR middle-end/34163 - * gfortran.dg/pr34163.f90: New testcase. - -2009-07-03 Jan Hubicka <jh@suse.cz> - - * gcc.dg/tree-ssa/loop-24.c: Update dump file matching; enable -O2. - * gcc.dg/tree-ssa/loop-25.c: Likewise. - * gcc.dg/tree-ssa/loop-26.c: Likewise. - * gcc.dg/tree-ssa/pr32044.c: Likewise. - * gcc.dg/tree-ssa/loop-29.c: Likewise. - * gcc.dg/tree-ssa/loop-10.c: Likewise. - * gnat.dg/loop_optimization6.adb: Enable -O2. - -2009-07-02 Mark Mitchell <mark@codesourcery.com> - - * g++.dg/warn/null4.C: Extend. - -2009-07-02 Jason Merrill <jason@redhat.com> - - * g++.dg/template/spec8.C: Fix. - -2009-07-02 Michael Matz <matz@suse.de> - - PR fortran/32131 - * gfortran.dg/pr32921.f: Adjust. - -2009-07-02 Jan Hubicka <jh@suse.cz> - - * gcc.dg/tree-ssa/local-pure-const.c: New testcase. - -2009-07-01 Adam Nemet <anemet@caviumnetworks.com> - - * gcc.target/mips/truncate-4.c: New testcase. - -2009-07-01 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/19831 - * gcc.dg/tree-ssa/20041122-1.c: Enable TBAA, scan FRE dump, - make allocated memory escape. Un-XFAIL. - * gcc.dg/vect/pr21591.c: Make allocated memory escape. - * gcc.dg/vect/pr31699.c: Likewise. - * gcc.dg/tree-ssa/ssa-dce-7.c: New testcase. - -2009-06-30 Jakub Jelinek <jakub@redhat.com> - - PR c++/40566 - * g++.dg/parse/cond5.C: New test. - -2009-06-30 Nathan Froyd <froydnj@codesourcery.com> - - * gcc.dg/tree-ssa/gen-vect-25.c (n): New variable. - (main): Pass n to main_1 instead. - * gcc.dg/tree-ssa/gen-vect-28.c (off): New variable. - (main_1): New function, split off from... - (main): ...here. Pass `off' to main_1 instead. - -2009-06-30 Jason Merrill <jason@redhat.com> - - PR c++/40595 - * g++.dg/cpp0x/variadic94.C: New. - -2009-06-30 Richard Sandiford <r.sandiford@uk.ibm.com> - - * lib/gcc-defs.exp (gcc-set-multilib-library-path): Delete. - * lib/target-libpath.exp (ld_library_path_vars): New variable. - (init_ld_library_path_env_vars): New function, replacing the - orig_*_saved assignments. Call it after defining it. - (set_ld_library_path_env_vars): Rewrite to use ld_library_path_vars. - (restore_ld_library_path_env_vars): Likewise. - (add_path, find_libgcc_s): New functions. - * lib/objc.exp (objc_init): Use find_libgcc_s instead of - gcc-set-multilib-library-path. - (objc_target_compile): Don't add "." to ld_library_path. - Use add_path. - * lib/gfortran.exp (gfortran_link_flags): Don't add "." to - ld_library_path. Use add_path. Use find_libgcc_s instead of - gcc-set-multilib-library-path. - * lib/g++.exp (g++_link_flags): Likewise. - * lib/obj-c++.exp (obj-c++_link_flags): Likewise. - * lib/c-torture.exp: Do not manipulate ld_library_path at the - top level; do it... - (c-torture-execute): ...here instead. Use $ld_library_path_multilib - to tell when this needs to happen. Use find_libgcc_s instead of - gcc-set-multilib-library-path. - * lib/gcc-dg.exp: Likewise. - * lib/gnat.exp (gnat_target_compile): Don't add "." to ld_library_path. - * g++.dg/compat/compat.exp (alt_ld_library_path): Don't add "." - unless it is in $ALT_LD_LIBRARY_PATH. - * g++.dg/compat/struct-layout-1.exp (alt_ld_library_path): Likewise. - -2009-06-30 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/discr12.adb: New test. - * gnat.dg/discr12_pkg.ads: New helper. - * gnat.dg/discr13.adb: New test. - * gnat.dg/discr14.ad[sb]: Likewise. - * gnat.dg/discr15.adb: Likewise. - * gnat.dg/discr15_pkg.ads: New helper. - * gnat.dg/discr16.adb: New test. - * gnat.dg/discr16_g.ads: New helper. - * gnat.dg/discr16_pkg.ads: Likewise. - * gnat.dg/discr16_cont.ads: Likewise. - * gnat.dg/discr17.adb: New test. - * gnat.dg/discr18.adb: Likewise. - * gnat.dg/discr18_pkg.ads: New helper. - * gnat.dg/discr19.adb: New test. - -2009-06-30 Thomas Koenig <tkoenig@gcc.gnu.org> - - PR fortran/40576 - * gfortran.dg/internal_write_1.f90: New testcase. - -2009-06-30 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40594 - * gfortran.dg/derived_pointer_recursion_2.f90: New. - -2009-06-30 Richard Guenther <rguenther@suse.de> - - * gcc.dg/tree-ssa/ssa-dce-6.c: New testcase. - -2009-06-30 Wei Guozhi <carrot@google.com> - - * gcc.dg/tree-ssa/ssa-sink-5.c: Change the compiler option "-O2 -Os" - to "-Os". - -2009-06-30 Ira Rosen <irar@il.ibm.com> - - PR tree-optimization/40542 - * gcc.dg/vect/pr40542.c: New test. - -2009-06-30 Martin Jambor <mjambor@suse.cz> - - PR tree-optimization/40582 - * gcc.c-torture/compile/pr40582.c: New test. - -2009-06-30 Wei Guozhi <carrot@google.com> - - PR/40416 - * gcc.dg/tree-ssa/ssa-sink-5.c: New testcase. - -2009-06-29 Jason Merrill <jason@redhat.com> - - PR c++/40274 - * g++.dg/template/debug1.C: New. - -2009-06-29 Tobias Burnus <burnus@net-b.de> - - PR fortran/40580 - * pointer_check_1.f90: New test. - * pointer_check_2.f90: New test. - * pointer_check_3.f90: New test. - * pointer_check_4.f90: New test. - * pointer_check_5.f90: New test. - -2009-06-29 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/40551 - * gfortran.dg/func_assign_2.f90 : New test. - -2009-06-29 Richard Guenther <rguenther@suse.de> - - PR middle-end/14187 - * gcc.dg/tree-ssa/restrict-1.c: New testcase. - * gcc.dg/tree-ssa/restrict-2.c: Likewise. - * gcc.dg/tree-ssa/restrict-3.c: Likewise. - * gcc.c-torture/execute/20090623-1.c: Likewise. - * gcc.dg/tree-ssa/ldist-13.c: Likewise. - * gcc.dg/tree-ssa/ldist-14.c: Likewise. - -2009-06-29 Richard Guenther <rguenther@suse.de> - - PR middle-end/38212 - * gcc.c-torture/execute/pr38212.c: New testcase. - -2009-06-29 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/40579 - * gcc.c-torture/execute/pr40579.c: New testcase. - -2009-06-28 Uros Bizjak <ubizjak@gmail.com> - - PR tree-optimization/40550 - * gcc.dg/pr40550.c: New test. - -2009-06-28 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/overflow_sum2.adb: New test - * gnat.dg/namet.ads: New helper. - - * gnat.dg/test_overflow_sum.adb: Rename to overflow_sum.adb. - -2009-06-28 Tobias Burnus <burnus@net-b.de> - - PR fortran/34112 - * gfortran.dg/compiler-directive_1.f90: New test. - * gfortran.dg/compiler-directive_2.f: New test. - -2009-06-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * gfortran.dg/integer_exponentiation_4.f90: Temporarily - comment out some values and add some cases. - -2009-06-27 Paolo Bonzini <bonzini@gnu.org> - - PR testsuite/40567 - * gcc.dg/vect/vect.exp: Fix lappend syntax. - -2009-06-26 Richard Henderson <rth@redhat.com> - - PR testsuite/40565 - * gcc.dg/vect/vect.exp: Add -fno-ipa-cp-clone to -O3 tests. - * gcc.target/i386/local.c: Pass a non-constant to T. - -2009-06-26 Janus Weil <janus@gcc.gnu.org> - - PR fortran/39997 - PR fortran/40541 - * gfortran.dg/proc_ptr_15.f90: Fixed and extended. - * gfortran.dg/proc_ptr_common_1.f90: Fixed invalid test case. - * gfortran.dg/proc_ptr_result_1.f90: Ditto. - * gfortran.dg/proc_ptr_result_5.f90: New. - -2009-06-26 Janis Johnson <janis187@us.ibm.com> - - PR c/39902 - * gcc.dg/dfp/pr39902.c: New test. - -2009-06-26 Uros Bizjak <ubizjak@gmail.com> - - PR testsuite/40532 - * gcc.dg/builtins-65.c: Require c99 runtime. - -2009-06-26 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/array7.ad[sb]: New test. - -2009-06-26 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/array6.adb: New test. - -2009-06-25 Ian Lance Taylor <iant@google.com> - - * g++.dg/warn/Wsign-compare-3.C: New testcase. - -2009-06-25 Ian Lance Taylor <iant@google.com> - - * g++.dg/warn/Wunused-16.C: New testcase. - -2009-06-25 Ian Lance Taylor <iant@google.com> - - * g++.dg/warn/skip-2.C: New testcase. - -2009-06-25 Steve Ellcey <sje@cup.hp.com> - - * gcc.c-torture/execute/20090618-1.c: add dg-run and - dg-skip-if and move to ... - * gcc.dg/torture/20090618-1.c. - -2009-06-25 Martin Jambor <mjambor@suse.cz> - - PR tree-optimization/40493 - * gcc.c-torture/execute/pr40493.c: New test. - -2009-06-24 Jason Merrill <jason@redhat.com> - - PR c++/40342 - * g++.dg/template/overload10.C: New. - -2009-06-24 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40427 - * gfortran.dg/proc_ptr_comp_11.f90: New. - -2009-06-24 Andreas Krebbel <krebbel1@de.ibm.com> - - * gcc.dg/pr40501.c: New testcase. - -2009-06-23 DJ Delorie <dj@redhat.com> - - Add MeP port. - * lib/target-supports.exp: Add mep support (no profiling). - -2009-06-23 Steve Ellcey <sje@cup.hp.com> - - PR testsuite/39297 - * gcc.dg/ssa/loop-31.c: Change scan rules. - -2009-06-23 Manuel Lopez-Ibanez <manu@gcc.gnu.org> - - * gcc.dg/cpp/empty-include.c: Update column info. - * gcc.dg/cpp/assert2.c: Update column info. - -2009-06-23 Jakub Jelinek <jakub@redhat.com> - - * g++.dg/ext/builtin-object-size1.C: New test. - * g++.dg/ext/builtin-object-size2.C: New test. - -2009-06-23 Andreas Krebbel <krebbel1@de.ibm.com> - - * gcc.dg/optimize-bswapsi-1.c: Add new bswap implementation. - * gcc.dg/optimize-bswapdi-1.c: Likewise. - -2009-06-22 Adam Nemet <anemet@caviumnetworks.com> - - * gcc.target/mips/truncate-3.c: New test. - -2009-06-22 Janus Weil <janus@gcc.gnu.org> - - PR fortran/37254 - PR fortran/39850 - * gfortran.dg/interface_30.f90: Modified error message. - * gfortran.dg/proc_decl_22.f90: New. - -2009-06-22 Ian Lance Taylor <iant@google.com> - - * gcc.dg/Wcxx-compat-19.c: New testcase. - -2009-06-22 Matthias Klose <doko@ubuntu.com> - - PR objc/28050 - * pr28050.m: New testcase. - -2009-06-22 H.J. Lu <hongjiu.lu@intel.com> - - PR testsuite/40481 - * gcc.dg/plugin/one_time_plugin.c (one_pass_exec): Return 0; - -2009-06-22 Martin Jambor <mjambor@suse.cz> - - PR tree-optimization/40492 - * g++.dg/torture/pr40492.C: New test. - -2009-06-22 Uros Bizjak <ubizjak@gmail.com> - - * gcc.c-torture/unsorted/dump-noaddr.x (dump_compare): Determine - dumpbase file name from $src. Add -fdump-ipa-all to compile flags. - -2009-06-22 Olivier Hainque <hainque@adacore.com> - - * gnat.dg/raise_ce.adb: Helper for ... - * gnat.dg/handle_and_return.adb: New test. - -2009-06-22 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/40443 - * gfortran.dg/generic_18.f90: New test. - -2009-06-22 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/40472 - * gfortran.dg/spread_size_limit.f90: New test. - -2009-06-21 Uros Bizjak <ubizjak@gmail.com> - - * gcc.c-torture/unsorted/dump-noaddr.x (dump_compare): Use -dumpbase - to put dump files in a subdirectory. - * lib/gcc-dg.exp (cleanup-saved-temps): Also remove - ".o" temporary files. - -2009-06-21 Janus Weil <janus@gcc.gnu.org> - - PR fortran/39850 - * gfortran.dg/interface_19.f90: Add 'cleanup-modules'. - * gfortran.dg/interface_20.f90: Ditto. - * gfortran.dg/interface_21.f90: Ditto. - * gfortran.dg/interface_22.f90: Ditto. - * gfortran.dg/interface_30.f90: New. - * gfortran.dg/proc_ptr_11.f90: Fix invalid test case. - -2009-06-21 Uros Bizjak <ubizjak@gmail.com> - - * gcc.dg/tree-ssa/fre-vce-1.c: Cleanup "fre" tree dump. - * gcc.dg/vect/vect-shift-2.c: Cleanup "vect" tree dump. - * gcc.dg/vect/vect.exp (VECT_SLP_CFLAGS): Initialize with original - DEFAULT_VECTFLAGS. - -2009-06-21 Ira Rosen <irar@il.ibm.com> - Revital Eres <eres@il.ibm.com> - - PR testsuite/40359 - * gcc.dg/vect/vect-50.c: Fix syntax error in the check. - * gcc.dg/vect/vect-42.c: Likewise and separate vec_no_align check. - * gcc.dg/vect/vect-96.c: Fix syntax error in the check. - -2009-06-21 Ira Rosen <irar@il.ibm.com> - - PR testsuite/40475 - * gcc.dg/vect/vect-nest-cycle-1.c: Fail to vectorize on targets - without misalignment support. - * gcc.dg/vect/vect-nest-cycle-2.c: Likewise. - -2009-06-20 Tobias Burnus <burnus@net-b.de> - - PR fortran/40452 - * gfortran.dg/bounds_check_strlen_9.f90: New test. - -2009-06-19 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/40440 - * gfortran.dg/alloc_comp_result_2.f90: New test. - -2009-06-19 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> - - PR target/40482 - * gcc.target/arm/pr40482.c: New test. - -2009-06-19 Ian Lance Taylor <iant@google.com> - - * gcc.dg/Wcxx-compat-18.c: New testcase. - -2009-06-19 Richard Guenther <rguenther@suse.de> - - * gcc.c-torture/execute/20090618-1.c: New testcase. - -2009-06-19 Ian Lance Taylor <iant@google.com> - - * gcc.dg/Wcxx-compat-17.c: New testcase. - -2009-06-19 Ian Lance Taylor <iant@google.com> - - * gcc.dg/Wcxx-compat-15.c: New testcase. - -2009-06-19 Ian Lance Taylor <iant@google.com> - - * gcc.dg/Wcxx-compat-16.c: New testcase. - -2009-06-19 Uros Bizjak <ubizjak@gmail.com> - - * gcc.dg/builtins-34.c: Add significand cases. - -2009-06-19 Uros Bizjak <ubizjak@gmail.com> - - PR testsuite/40491 - * gcc.dg/20080522-1.c: Remove testcase for real. - * gcc.dg/20080528-1.c: Ditto. - -2009-06-19 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40450 - * gfortran.dg/proc_ptr_20.f90: New. - -2009-06-18 H.J. Lu <hongjiu.lu@intel.com> - - PR target/40470 - * gcc.dg/torture/pr40470-1.c: New. - * gcc.dg/torture/pr40470-2.c: Likewise. - * gcc.dg/torture/pr40470-3.c: Likewise. - * gcc.dg/torture/pr40470-4.c: Likewise. - -2009-06-18 Diego Novillo <dnovillo@google.com> - - * gcc.dg/plugin/selfassign.c: Declare plugin_is_GPL_compatible. - * gcc.dg/plugin/ggcplug.c: Likewise. - * gcc.dg/plugin/one_time_plugin.c: Likewise. - * g++.dg/plugin/selfassign.c: Likewise. - * g++.dg/plugin/attribute_plugin.c: Likewise. - * g++.dg/plugin/dumb_plugin.c: Likewise. - -2009-06-18 Manuel López-Ibáñez <manu@gcc.gnu.org> - - * gcc.dg/cpp/arith-3.c: Add column info. - -2009-06-18 Sandra Loosemore <sandra@codesourcery.com> - - * gcc.target/arm/fp16-compile-none-2.c: New. - * gcc.target/arm/fp16-compile-ieee-12.c: New. - * gcc.target/arm/fp16-compile-alt-12.c: New. - -2009-06-18 Sandra Loosemore <sandra@codesourcery.com> - - * gcc.target/arm/fp16-compile-alt-1.c: New. - * gcc.target/arm/fp16-compile-alt-2.c: New. - * gcc.target/arm/fp16-compile-alt-3.c: New. - * gcc.target/arm/fp16-compile-alt-4.c: New. - * gcc.target/arm/fp16-compile-alt-5.c: New. - * gcc.target/arm/fp16-compile-alt-6.c: New. - * gcc.target/arm/fp16-compile-alt-7.c: New. - * gcc.target/arm/fp16-compile-alt-8.c: New. - * gcc.target/arm/fp16-compile-alt-9.c: New. - * gcc.target/arm/fp16-compile-alt-10.c: New. - * gcc.target/arm/fp16-compile-alt-11.c: New. - * gcc.target/arm/fp16-compile-ieee-1.c: New. - * gcc.target/arm/fp16-compile-ieee-2.c: New. - * gcc.target/arm/fp16-compile-ieee-3.c: New. - * gcc.target/arm/fp16-compile-ieee-4.c: New. - * gcc.target/arm/fp16-compile-ieee-5.c: New. - * gcc.target/arm/fp16-compile-ieee-6.c: New. - * gcc.target/arm/fp16-compile-ieee-7.c: New. - * gcc.target/arm/fp16-compile-ieee-8.c: New. - * gcc.target/arm/fp16-compile-ieee-9.c: New. - * gcc.target/arm/fp16-compile-ieee-10.c: New. - * gcc.target/arm/fp16-compile-ieee-11.c: New. - * gcc.target/arm/fp16-compile-none-1.c: New. - * gcc.target/arm/fp16-compile-exprtype.c: New. - * gcc.target/arm/fp16-compile-vcvt.c: New. - * gcc.target/arm/fp16-builtins-1.c: New. - * gcc.target/arm/fp16-rounding-alt-1.c: New. - * gcc.target/arm/fp16-rounding-ieee-1.c: New. - * gcc.target/arm/fp16-param-1.c: New. - * gcc.target/arm/fp16-return-1.c: New. - * gcc.target/arm/fp16-unprototyped-1.c: New. - * gcc.target/arm/fp16-unprototyped-2.c: New. - * gcc.target/arm/fp16-variadic-1.c: New. - * gcc.dg/torture/arm-fp16-compile-assign.c: New. - * gcc.dg/torture/arm-fp16-compile-convert.c: New. - * gcc.dg/torture/arm-fp16-int-convert-alt.c: New. - * gcc.dg/torture/arm-fp16-int-convert-ieee.c: New. - * gcc.dg/torture/arm-fp16-ops.h: New. - * gcc.dg/torture/arm-fp16-ops-1.c: New. - * gcc.dg/torture/arm-fp16-ops-2.c: New. - * gcc.dg/torture/arm-fp16-ops-3.c: New. - * gcc.dg/torture/arm-fp16-ops-4.c: New. - * gcc.dg/torture/arm-fp16-ops-5.c: New. - * gcc.dg/torture/arm-fp16-ops-6.c: New. - * gcc.dg/torture/arm-fp16-ops-7.c: New. - * gcc.dg/torture/arm-fp16-ops-8.c: New. - * g++.dg/ext/arm-fp16/fp16-overload-1.C: New. - * g++.dg/ext/arm-fp16/fp16-return-1.C: New. - * g++.dg/ext/arm-fp16/fp16-param-1.C: New. - * g++.dg/ext/arm-fp16/fp16-mangle-1.C: New. - * g++.dg/ext/arm-fp16/arm-fp16-ops.h: New. - * g++.dg/ext/arm-fp16/arm-fp16-ops-1.C: New. - * g++.dg/ext/arm-fp16/arm-fp16-ops-2.C: New. - * g++.dg/ext/arm-fp16/arm-fp16-ops-3.C: New. - * g++.dg/ext/arm-fp16/arm-fp16-ops-4.C: New. - * g++.dg/ext/arm-fp16/arm-fp16-ops-5.C: New. - * g++.dg/ext/arm-fp16/arm-fp16-ops-6.C: New. - * g++.dg/ext/arm-fp16/arm-fp16-ops-7.C: New. - * g++.dg/ext/arm-fp16/arm-fp16-ops-8.C: New. - -2009-06-18 Uros Bizjak <ubizjak@gmail.com> - - * gcc.dg/builtins-65.c: New test. - -2009-06-18 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40451 - * gfortran.dg/proc_ptr_result_4.f90: New. - -2009-06-17 Adam Nemet <anemet@caviumnetworks.com> - - * gcc.c-torture/execute/bitfld-5.c: New test. - -2009-06-17 David Daney <ddaney@caviumnetworks.com> - - * gcc.dg/builtin-unreachable-3.c: New test. - -2009-06-17 David Daney <ddaney@caviumnetworks.com> - - * gcc.target/i386/builtin-unreachable.c: New test. - -2009-06-17 Ian Lance Taylor <iant@google.com> - - * gcc.dg/Wcxx-compat-14.c: New testcase. - -2009-06-17 Aldy Hernandez <aldyh@redhat.com> - - * gcc.dg/func-ptr-conv-1.c: Update column info. - -2009-06-17 Richard Guenther <rguenther@suse.de> - - PR middle-end/40404 - * gcc.c-torture/execute/pr40404.c: New testcase. - -2009-06-17 Richard Guenther <rguenther@suse.de> - - PR middle-end/40460 - * g++.dg/torture/pr40460.C: New testcase. - -2009-06-05 Olatunji Ruwase <tjruwase@google.com> - - * gcc.dg/plugin/one_time_plugin.c: New test. - * gcc.dg/plugin/one_time-test-1.c: New test. - * gcc.dg/plugin/plugin.exp: Added one_time_plugin.c test. - -2009-06-16 Ian Lance Taylor <iant@google.com> - - * g++.dg/warn/skip-1.C: New testcase. - -2009-06-16 Jakub Jelinek <jakub@redhat.com> - - PR middle-end/40446 - * g++.dg/other/pr40446.C: New test. - -2009-06-16 Richard Guenther <rguenther@suse.de> - - * gcc.dg/tree-ssa/pta-escape-1.c: New testcase. - * gcc.dg/tree-ssa/pta-escape-2.c: Likewise. - * gcc.dg/tree-ssa/pta-escape-3.c: Likewise. - * gcc.dg/tree-ssa/ssa-fre-27.c: Likewise. - -2009-06-16 Martin Jambor <mjambor@suse.cz> - - * gcc.c-torture/compile/pr40432.c: New file. - -2009-06-16 Martin Jambor <mjambor@suse.cz> - - * gfortran.fortran-torture/compile/pr40413.f90: New file. - -2009-06-16 Janus Weil <janus@gcc.gnu.org> - - PR fortran/36947 - PR fortran/40039 - * gfortran.dg/dummy_procedure_1.f90: Extended test case. - * gfortran.dg/interface_20.f90: Modified error messages. - * gfortran.dg/interface_21.f90: Ditto. - * gfortran.dg/interface_26.f90: Ditto. - * gfortran.dg/interface_27.f90: Ditto. - * gfortran.dg/interface_28.f90: Extended test case. - * gfortran.dg/interface_29.f90: New. - * gfortran.dg/proc_decl_7.f90: Modified error messages. - * gfortran.dg/proc_decl_8.f90: Ditto. - * gfortran.dg/proc_ptr_11.f90: Ditto. - * gfortran.dg/proc_ptr_15.f90: Ditto. - -2009-06-16 Ira Rosen <irar@il.ibm.com> - - * gcc.dg/vect/vect-outer-4g.c: Don't look for pattern not allowed - printing. - * gcc.dg/vect/vect-outer-4k.c, gcc.dg/vect/vect-outer-4l.c, - gcc.dg/vect/vect-outer-4f.c: Likewise. - * gcc.dg/vect/vect-nest-cycle-1.c: New test. - * gcc.dg/vect/vect-nest-cycle-2.c, gcc.dg/vect/vect-nest-cycle-3.c: - Likewise. - * gcc.dg/vect/vect-outer-1a.c: Fail because of strided access in - outer loop. - -2009-06-16 Tobias Burnus <burnus@net-b.de> - - PR fortran/40383 - * gfortran.dg/bounds_check_strlen_8.f90: New test. - -2009-06-15 Ian Lance Taylor <iant@google.com> - - * gcc.dg/Wjump-misses-init-1.c: New testcase. - * gcc.dg/Wjump-misses-init-2.c: New testcase. - * gcc.dg/c99-vla-jump-5.c: Adjust expected error messages. - Recognize new notes. - * gcc.dg/stmt-expr-label-2.c: Likewise. - * gcc.dg/c99-vla-jump-1.c: Recognize new notes. Fix column numbers. - * gcc.dg/c99-vla-jump-2.c: Recognize new notes. - * gcc.dg/c99-vla-jump-3.c: Recognize new notes. - * gcc.dg/c99-vla-jump-4.c: Likewise. - * gcc.dg/stmt-expr-label-1.c: Likewise. - * gcc.dg/stmt-expr-label-3.c: Likewise. - * gcc.dg/vla-8.c: Likewise. Move error message to different line. - -2009-06-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * gcc.dg/torture/builtin-math-6.c: Robustify and fix clog cases. - -2009-06-15 Jakub Jelinek <jakub@redhat.com> - - * gcc.dg/builtin-object-size-7.c: New test. - -2009-06-15 Jakub Jelinek <jakub@redhat.com> - - PR testsuite/40426 - * lib/gcc-dg.exp (gcc-dg-debug-runtest): For type -gdwarf-2 and - level != "" use separate -gdwarf-2 -g${level} options instead of - -gdwarf-2${level}. - * lib/gfortran-dg.exp (gfortran-dg-debug-runtest): Likewise. - * gfortran.dg/debug/pr37738.f: Also skip if -gdwarf-2 -g1. - * gfortran.dg/debug/pr35154-dwarf2.f: Likewise. - -2009-06-15 Rafael Avila de Espindola <espindola@google.com> - - * g++.dg/abi/mangle11.C: Update warning line. - * g++.dg/abi/mangle12.C: Update warning line. - * g++.dg/abi/mangle17.C: Update warning line. - * g++.dg/abi/mangle20-2.C: Update warning line. - -2009-06-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * gcc.dg/optimize-bswap-1.c: Split into these two: - * gcc.dg/optimize-bswapsi-1.c: New testcase. - * gcc.dg/optimize-bswapdi-1.c: New testcase. - -2009-06-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * gcc.dg/optimize-bswap-1.c: New testcase. - -2009-06-14 Richard Guenther <rguenther@suse.de> - - PR middle-end/40389 - * g++.dg/torture/pr40389.C: New testcase. - -2009-06-13 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/40421 - * gfortran.fortran-torture/compile/pr40421.f: New testcase. - -2009-06-12 Aldy Hernandez <aldyh@redhat.com> - - * gcc.dg/old-style-prom-3.c: Add column info. - * gcc.dg/overflow-warn-1.c - * gcc.dg/gomp/pr27415.c - * gcc.dg/gomp/for-1.c: Same. - * gcc.dg/enum-compat-1.c: Same. - * gcc.dg/c99-tag-3.c: Same. - * gcc.dg/Wredundant-decls-2.c: Same. - * gcc.dg/func-ptr-conv-1.c: Same. - * gcc.dg/asm-wide-1.c: Same. - * gcc.dg/nofixed-point-2.c: Same. - * gcc.dg/cpp/line3.c: Same. - * gcc.dg/array-10.c: Same. - * gcc.dg/c99-vla-jump-1.c: Same. - * gcc.dg/pr20368-1.c: Same. - * gcc.dg/Wshadow-3.c: Same. - * gcc.dg/c90-const-expr-8.c: Same. - * gcc.dg/label-decl-2.c: Same. - * gcc.dg/dremf-type-compat-2.c: Same. - * gcc.dg/c90-const-expr-5.c: Same. - * gcc.dg/builtins-30.c: Same. - * gcc.dg/Warray-bounds.c: Same. - * gcc.dg/Wcxx-compat-2.c: Same. - * gcc.dg/tree-ssa/col-1.c: Same. - * gcc.dg/old-style-prom-2.c: Same. - * gcc.dg/cast-function-1.c: Same. - * gcc.dg/pr15698-1.c: Same. - * gcc.dg/dremf-type-compat-3.c: Same. - * gcc.dg/vla-8.c: Same. - * gcc.dg/gomp/pr27415.c: Move firstprivate diagnostics to correct - line. - * gcc.dg/label-decl-2.c: Move label diagnostic to correct line. - * gcc.dg/old-style-prom-3.c: Check for error on the correct line. - * gcc.dg/enum-compat-1.c: Same. - * gcc.dg/dremf-type-compat-2.c: Same. - * gcc.dg/old-style-prom-2.c: Same. - * gcc.dg/pr15698-1.c: Same. - * gcc.dg/pr20368-1.c: Same. - * gcc.dg/dremf-type-compat-3.c: Same. - * gcc.dg/builtins-30.c: Same. Test for columns. - -2009-06-12 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40176 - * gfortran.dg/proc_decl_1.f90: Extended. - -2009-06-12 Ian Lance Taylor <iant@google.com> - - * gcc.dg/Wcxx-compat-13.c: New testcase. - -2009-06-12 Andrew Pinski <andrew_pinski@playstation.sony.com> - - PR tree-opt/38865 - * gcc.dg/tree-ssa/fre-vce-1.c - -2009-06-12 H.J. Lu <hongjiu.lu@intel.com> - - PR testsuite/40384 - * gcc.dg/tree-ssa/prefetch-5.c: Add --param - min-insn-to-prefetch-ratio=5. - -2009-06-12 Joey Ye <joey.ye@intel.com> - H.J. Lu <hongjiu.lu@intel.com> - - PR middle-end/39146 - * gcc.target/i386/stackalign/pr39146.c: New. - -2009-06-11 H.J. Lu <hongjiu.lu@intel.com> - - * gcc.target/i386/crc32-1.c: New. - * gcc.target/i386/crc32-2.c: Likewise. - -2009-06-11 David Daney <ddaney@caviumnetworks.com> - - PR c/39252 - * gcc.dg/builtin-unreachable-1.c: New test. - * gcc.dg/builtin-unreachable-2.c: Same. - -2009-06-11 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/40402 - * gfortran.dg/data_value_1.f90: New test. - -2009-06-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> - - PR testsuite/39831 - * gcc.target/i386/excess-precision-1.c: Use -mfpmath=387, and - remove ilp32 requirement. - * gcc.target/i386/excess-precision-2.c: Likewise. - * gcc.target/i386/excess-precision-3.c: Likewise. - * gcc.target/i386/excess-precision-4.c: Likewise. - * gcc.target/i386/excess-precision-5.c: Likewise. - * gcc.target/i386/excess-precision-6.c: Likewise. - -2009-06-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> - - PR fortran/38718 - * gfortran.dg/is_iostat_end_eor_2.f90: New test. - * gfortran.dg/nan_5.f90: New test. - -2009-06-10 Nathan Froyd <froydnj@codesourcery.com> - - * gcc.target/arm/neon-modes-1.c: New test. - -2009-06-10 Kai Tietz <kai.tietz@onevision.com> - - * g++.dg/torture/pr31579.C: Cast pointer - via __SIZE_TYPE__ instead of 'unsigned long'. - -2009-06-10 Anthony Green <green@moxielogic.com> - - * lib/target-supports.exp (check_profiling_available): - Profiling is not available for testing purposes on moxie. - -2009-06-09 Ian Lance Taylor <iant@google.com> - - * gcc.dg/Wcxx-compat-12.c: New testcase. - -2009-06-09 Janne Blomqvist <jb@gcc.gnu.org> - - PR libfortran/40334 - * gfortran.dg/backspace_11.f90: New. - -2009-06-09 Jason Merrill <jason@redhat.com> - - * g++.dg/cpp0x/defaulted10.C: New. - -2009-06-09 Martin Jambor <mjambor@suse.cz> - - * gcc.c-torture/compile/pr40351.c: New file. - -2009-06-09 Olivier Hainque <hainque@adacore.com> - - * gnat.dg/align_max.adb: New test. - -2009-06-08 Jason Merrill <jason@redhat.com> - - * g++.dg/cpp0x/auto15.C: New. - -2009-06-08 Jan Hubicka <jh@suse.cz> - - PR debug/39834 - * gcc.dg/torture/pr39834.c - -2009-06-08 Jan Hubicka <jh@suse.cz> - - PR middle-end/40102 - * g++.dg/torture/pr40102.C: New testcase. - -2009-06-08 Jakub Jelinek <jakub@redhat.com> - - * gcc.dg/builtin-object-size-2.c (test1): Adjust expected results. - * gcc.dg/builtin-object-size-4.c (test1): Adjust expected results. - * gcc.dg/builtin-object-size-6.c: New test. - - PR c++/40373 - * g++.dg/template/dtor7.C: New test. - - PR c++/40370 - PR c++/40372 - * g++.dg/template/error41.C: New test. - * g++.dg/template/error42.C: New test. - -2009-06-08 Revital Eres <eres@il.ibm.com> - - PR testsuite/40359 - * gcc.dg/vect/vect-58.c: Change checks to use vect_hw_misalign. - * gcc.dg/vect/vect-88.c: Likewise. - * gcc.dg/vect/no-section-anchors-vect-66.c: Likewise. - * gcc.dg/vect/pr25413.c: Likewise. - * lib/target-supports.exp: Add i?86 to vect_hw_misalign. - -2009-06-07 Ian Lance Taylor <iant@google.com> - - * g++.dg/warn/Wswitch-3.C: New testcase. - * gcc.dg/Wswitch.c: Adjust for -Wswitch change. - * gcc.dg/Wswitch-enum-error.c: Likewise. - * gcc.dg/Wswitch-error.c: Likewise. - -2009-06-07 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR fortran/40008 - * gfortran.dg/negative_unit.f: Update test. - * gfortran.dg/negative_unit_int8.f: Update test. - * gfortran.dg/newunit_1.f90: New test. - -2009-06-07 Daniel Franke <franke.daniel@gmail.com> - - PR fortran/25104 - PR fortran/29962 - * gfortran.dg/spread_init_expr.f03: New. - * gfortran.dg/unpack_init_expr.f03: New. - * gfortran.dg/intrinsic_argument_conformance_2.f90: Adjusted - error message. - -2009-06-07 Daniel Franke <franke.daniel@gmail.com> - - PR fortran/25104 - PR fortran/29962 - * gfortran.dg/count_init_expr.f03 - * gfortran.dg/product_init_expr.f03 - * gfortran.dg/sum_init_expr.f03 - -2009-06-07 Daniel Franke <franke.daniel@gmail.com> - - PR fortran/36874 - * gfortran.dg/intrinsic_argument_conformance_2.f90: Adjusted error - message. - * gfortran.dg/zero_sized_1.f90: Removed checks with incompatible - shapes. - * gfortran.dg/zero_sized_5.f90: Likewise. - -2009-06-07 H.J. Lu <hongjiu.lu@intel.com> - - PR middle-end/32950 - * g++.dg/torture/pr32950.C: New. - -2009-06-07 Daniel Franke <franke.daniel@gmail.com> - - PR fortran/25104 - PR fortran/29962 - * gfortran.dg/dot_product_1.f03: New. - * gfortran.dg/matmul_8.f03: New. - * gfortran.dg/transpose_3.f03: New. - -2009-06-06 Ian Lance Taylor <iant@google.com> - - * gcc.dg/Wunused-label-1.c: New test case. - * g++.dg/warn/Wunused-label-1.C: New test case. - * g++.dg/warn/Wunused-label-2.C: New test case. - * g++.dg/warn/Wunused-label-3.C: New test case. - -2009-06-06 Daniel Franke <franke.daniel@gmail.com> - - PR fortran/37203 - * reshape_zerosize_2.f90: New. - -2009-06-06 Daniel Franke <franke.daniel@gmail.com> - - PR fortran/32890 - * gfortran.dg/pack_assign_1.f90: New. - * gfortran.dg/pack_vector_1.f90: New. - -2009-06-05 Jakub Jelinek <jakub@redhat.com> - - PR middle-end/40340 - * gcc.dg/pr40340-1.c: New test. - * gcc.dg/pr40340-2.c: New test. - * gcc.dg/pr40340-3.c: New test. - * gcc.dg/pr40340-4.c: New test. - * gcc.dg/pr40340-5.c: New test. - * gcc.dg/pr40340.h: New file. - -2009-06-05 Revital Eres <eres@il.ibm.com> - - * lib/target-supports.exp (check_effective_target_vect_hw_misalign): - New procedure. - * gcc.dg/vect/vect-50.c: Change checks to use vect_hw_misalign. - * gcc.dg/vect/vect-33.c: Likewise. - * gcc.dg/vect/vect-92.c: Likewise. - * gcc.dg/vect/vect-58.c: Likewise. - * gcc.dg/vect/no-section-anchors-vect-69.c: Likewise. - * gcc.dg/vect/vect-42.c: Likewise. - * gcc.dg/vect/slp-25.c: Likewise. - * gcc.dg/vect/vect-align-1.c: Likewise. - * gcc.dg/vect/vect-align-2.c: Likewise. - * gcc.dg/vect/vect-93.c: Likewise. - * gcc.dg/vect/no-scevccp-outer-8.c: Likewise. - * gcc.dg/vect/costmodel/i386/costmodel-vect-31.c: Likewise. - * gcc.dg/vect/costmodel/i386/costmodel-vect-33.c: Likewise. - * gcc.dg/vect/costmodel/x86_64/costmodel-vect-31.c: Likewise. - * gcc.dg/vect/costmodel/x86_64/costmodel-vect-33.c: Likewise. - * gcc.dg/vect/vect-26.c: Likewise. - * gcc.dg/vect/vect-44.c: Likewise. - * gcc.dg/vect/vect-70.c: Likewise. - * gcc.dg/vect/vect-95.c: Likewise. - * gcc.dg/vect/no-section-anchors-vect-64.c: Likewise. - * gcc.dg/vect/vect-28.c: Likewise. - * gcc.dg/vect/no-section-anchors-vect-31.c: Likewise. - * gcc.dg/vect/vect-87.c: Likewise. - * gcc.dg/vect/vect-109.c: Likewise. - * gcc.dg/vect/vect-54.c: Likewise. - * gcc.dg/vect/vect-96.c: Likewise. - * gcc.dg/vect/vect-multitypes-1.c: Likewise. - * gcc.dg/vect/vect-88.c: Likewise. - * gcc.dg/vect/no-section-anchors-vect-66.c: Likewise. - * gcc.dg/vect/vect-89.c: Likewise. - * gcc.dg/vect/vect-91.c: Likewise. - * gcc.dg/vect/no-section-anchors-vect-68.c: Likewise. - * gcc.dg/vect/vect-multitypes-4.c: Likewise. - * gfortran.dg/vect/vect-2.f90: Likewise. - * gfortran.dg/vect/vect-3.f90: Likewise. - * gfortran.dg/vect/vect-4.f90: Likewise. - * gfortran.dg/vect/vect-5.f90: Likewise. - -2009-06-05 Alexander Strange <astrange@ithinksw.com> - - PR tree-optimization/36318 - * gcc.dg/tree-ssa/sra-7.c: New test. - -2009-06-04 Daniel Franke <franke.daniel@gmail.com> - - PR fortran/37203 - * gfortran.dg/reshape_order_5.f90: New. - * gfortran.dg/reshape_shape_1.f90: New. - -2009-06-04 Jason Merrill <jason@redhat.com> - - * g++.dg/template/error38.C: Add pointer-to-typedef case. - -2009-06-04 Steve Ellcey <sje@cup.hp.com> - - * gcc.dg/vect/vect-42.c: Modify vect_no_align case. - * gcc.dg/vect/no-vfa-vect-43.c: Ditto. - -2009-06-04 Richard Guenther <rguenther@suse.de> - - PR c++/39371 - * g++.dg/torture/pr40335.C: New testcase. - -2009-06-03 Richard Guenther <rguenther@suse.de> - - PR middle-end/40328 - * gcc.dg/torture/pr40328.c: New testcase. - -2009-06-03 Maxim Kuvyrkov <maxim@codesourcery.com> - - * gcc.dg/falign-labels.c (dg-options): Don't restrict for - m68k and fido. - -2009-06-03 Martin Jambor <mjambor@suse.cz> - - * g++.dg/torture/pr40323.C: New file. - -2009-06-03 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/specs/root.ads: New test. - * gnat.dg/specs/root-level_1.ads: Likewise. - * gnat.dg/specs/root-level_2.ads: Likewise. - * gnat.dg/specs/root-level_1-level_2.ads: Likewise. - -2009-06-02 Mark Mitchell <mark@codesourcery.com> - - * g++.dg/init/ref15.C: Require unwrapped targets. - -2009-06-02 Jason Merrill <jason@redhat.com> - - * g++.dg/cpp0x/initlist13.C: Remove expected error. - * g++.dg/cpp0x/initlist18.C: New. - * g++.dg/cpp0x/initlist19.C: New. - - * g++.dg/cpp0x/auto14.C: New. - -2009-06-02 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/alignment6.adb: Remove XFAIL. - -2009-06-02 Simon Martin <simartin@users.sourceforge.net> - - PR c++/38089 - * g++.dg/template/spec36.C: New test. - -2009-06-01 Ian Lance Taylor <iant@google.com> - - * gcc.dg/cast-qual-3.c: New testcase. - * g++.dg/warn/Wcast-qual2.C: New testcase. - -2009-06-01 Aldy Hernandez <aldyh@redhat.com> - - * lib/gcc-dg.exp (dg-bogus): Override dg-bogus. - (process-message): Expect column numbers. - * gcc.dg/va-arg-2.c: Use line 0 to indicate no column. - * gcc.dg/pch/counter-2.c: Same. - * gcc.dg/pch/valid-2.c: Same. - * gcc.dg/pch/warn-1.c: Same. - * gcc.dg/pch/valid-1.c: Same. - * gcc.dg/cpp/include2a.c: Handle lack of columns. - * gcc.dg/cpp/syshdr.c: Same. - * gcc.dg/cpp/19940712-1.c: Same. - * gcc.dg/cpp/missing-header-1.c: Same. - * gcc.dg/cpp/unc4.c: Remove -fno-show-column. - * gcc.dg/cpp/tr-warn3.c: Same. - * gcc.dg/cpp/pr29612-2.c: Same. - * gcc.dg/cpp/tr-warn4.c: Same. - * gcc.dg/cpp/Wtrigraphs.c: Same. - * gcc.dg/cpp/poison.c: Same. - * gcc.dg/cpp/arith-3.c: Same. - * gcc.dg/cpp/sysmac2.c: Same. - * gcc.dg/cpp/cpp.exp: Same. - * gcc.dg/cpp/tr-warn5.c: Same. - * gcc.dg/cpp/include2.c: Same. - * gcc.dg/cpp/Wmissingdirs.c: Same. - * gcc.dg/cpp/Wmissingdirs.c: Same. - * gcc.dg/cpp/tr-warn6.c: Same. - * gcc.dg/cpp/Wtrigraphs-2.c: Same. - * gcc.dg/cpp/macspace1.c: Same. - * gcc.dg/cpp/escape-2.c: Same. - * gcc.dg/cpp/assert2.c: Same. - * gcc.dg/cpp/undef2.c: Same. - * gcc.dg/cpp/macspace2.c: Same. - * gcc.dg/cpp/tr-warn1.c: Same. - * gcc.dg/cpp/extratokens2.c: Same. - * gcc.dg/cpp/strify2.c: Same. - * gcc.dg/cpp/Wsignprom.c: Same. - * gcc.dg/cpp/redef2.c: Same. - * gcc.dg/cpp/trad/trad.exp: Same. - * gcc.dg/cpp/arith-1.c: Same. - * gcc.dg/cpp/extratokens.c: Same. - * gcc.dg/cpp/if-mpar.c: Same. - -2009-06-01 Olivier Hainque <hainque@adacore.com> - - * gnat.dg/nested_float_packed.ads: New test. - -2009-06-01 Olivier Hainque <hainque@adacore.com> - Eric Botcazou <botcazou@adacore.com> - - * gnat.dg/oconst[1-6].ad[bs]: New tests. Also support for ... - * gnat.dg/test_oconst.adb: New test. - -2009-05-31 Basile Starynkevitch <basile@starynkevitch.net> - - * gcc.dg/plugin/ggcplug.c: Moved comment. - (plugin_init): Fixed typo, declared i, returned 0 at end. - -2009-05-31 Ira Rosen <irar@il.ibm.com> - - PR testsuite/40244 - * gcc.dg/vect/bb-slp-4.c: Change the number of data accesses to 2. - * gcc.dg/vect/bb-slp-10.c: Change the store misalignment to 1. - -2009-05-29 Ian Lance Taylor <iant@google.com> - - * gcc.dg/Wcxx-compat-11.c: New testcase. - -2009-05-29 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> - - PR fortran/40019 - * gfortran.dg/leadz_trailz_1.f90: New test. - * gfortran.dg/leadz_trailz_2.f90: New test. - -2009-05-29 Martin Jambor <mjambor@suse.cz> - - * gfortran.dg/pr25923.f90: XFAIL warning expectation. - * gcc.dg/tree-ssa/ssa-fre-7.c: Compile with -fno-tree-sra. - * gcc.dg/tree-ssa/ssa-fre-8.c: Likewise. - * gcc.dg/tree-ssa/ssa-fre-9.c: Likewise. - * gcc.dg/memcpy-1.c: Removed param sra-max-structure-size. - * gcc.dg/tree-ssa/sra-2.c: Likewise. - * gcc.dg/tree-ssa/sra-3.c: Likewise. - * gcc.dg/tree-ssa/sra-1.c: Likewise. - * gcc.dg/tree-ssa/sra-4.c: Changed comment. - * gcc.dg/tree-ssa/sra-5.c: New file. - * gcc.dg/tree-ssa/sra-6.c: New file. - * gcc.c-torture/compile/sra-1.c: New file. - -2009-05-29 Jakub Jelinek <jakub@redhat.com> - - PR middle-end/40291 - * gcc.c-torture/compile/pr40291.c: New test. - - PR target/40017 - * gcc.target/powerpc/altivec-types-1.c: Don't expect error for - __vector _Bool. - * gcc.target/powerpc/altivec-30.c: New test. - * gcc.target/powerpc/altivec-31.c: New test. - -2009-05-28 Richard Guenther <rguenther@suse.de> - - * gcc.dg/tree-ssa/ssa-fre-26.c: New testcase. - * gcc.c-torture/execute/20090527-1.c: Likewise. - -2009-05-28 Dodji Seketeli <dodji@redhat.com> - - PR c++/39754 - * g++.dg/template/canon-type-1.C: New test. - * g++.dg/template/canon-type-2.C: Likewise. - * g++.dg/template/canon-type-3.C: Likewise. - * g++.dg/template/canon-type-4.C: Likewise. - * g++.dg/template/canon-type-5.C: Likewise. - * g++.dg/template/canon-type-6.C: Likewise. - * g++.dg/template/canon-type-7.C: Likewise. - -2009-05-28 Dave Korn <dave.korn.cygwin@gmail.com> - Uros Bizjak <ubizjak@gmail.com> - Danny Smith <dansmister@gmail.com> - - PR target/37216 - - * lib/target-supports.exp (check_effective_target_pe_aligned_commons): - New function. - * gcc.target/i386/pr37216.c: New test source file. - * gcc.dg/compat/struct-layout-1_generate.c (dg_options[]): No longer - use -fno-common for testing Cygwin and MinGW targets. - -2009-05-28 Kai Tietz <kai.tietz@onevision.com> - - * g++.dg/ext/packed6.C (size_t): Use __extension__ and __SIZE_TYPE__. - * g++.dg/opt/memcpy1.C (size_t): Likewise. - * g++.dg/pr37742.C (size_t): Likewise. - * g++.dg/torture/pr34850.C (size_t): Likewise. - * g++.dg/torture/20070621-1.C (ptrdiff_t): Use __extension__ and - _PTRDIFF_TYPE__. - * g++.dg/torture/pr34222.C (ptrdiff_t): Likewise. - * g++.dg/tree-ssa/pr22444.C (ptrdiff_t): Likewise. - (size_t): Use __extension__ and __SIZE_TYPE__. - * gcc.c-torture/compile/20000211-1.c (size_t): Typedef size_t via - __SIZE_TYPE__. - * gcc.c-torture/compile/20010328-1.c (size_t): Likewise. - * gcc.c-torture/compile/20030320-1.c (size_t): Likewise. - * gcc.c-torture/compile/20030405-1.c (size_t): Likewise. - * gcc.c-torture/compile/20030902-1.c (size_t): Likewise. - * gcc.c-torture/compile/20060202-1.c (size_t): Likewise. - * gcc.c-torture/compile/20080613-1.c (size_t): Likewise. - * gcc.c-torture/compile/920428-2.c (size_t): Likewise. - * gcc.c-torture/compile/980329-1.c (size_t): Likewise. - * gcc.c-torture/compile/980816-1.c (size_t): Likewise. - * gcc.c-torture/compile/pr32584.c (size_t): Likewise. - (__ssize_t): Likewise. - * gcc.c-torture/compile/pr33173.c (size_t): Likewise. - * gcc.c-torture/compile/pr33382.c (size_t): Likewise. - * gcc.c-torture/compile/pr34334.c (size_t): Likewise. - * gcc.c-torture/compile/pr34688.c (size_t): Likewise. - * gcc.c-torture/compile/pr35043.c (size_t): Likewise. - * gcc.c-torture/compile/pr37669.c (size_t): Likewise. - * gcc.dg/20050629-1.c (size_t): Typedef size_t via __SIZE_TYPE__. - * gcc.dg/pr33667.c (size_t): Likewise. - * gcc.dg/prefetch-loop-arrays-1.c (size_t): Likewise. - * gcc.dg/torture/pr39204.c (size_t): Likewise. - * gcc.dg/tree-ssa/20041122-1.c (size_t): Likewise. - * gcc.dg/tree-ssa/pr36908.c (size_t): Likewise. - * gcc.dg/tree-ssa/pr38250.c (size_t): Likewise. - * gcc.dg/tree-ssa/ssa-dse-10.c (size_t): Likewise. - -2009-05-28 Ira Rosen <irar@il.ibm.com> - - PR tree-optimization/40254 - * gcc.dg/vect/pr40254.c: New test. - -2009-05-28 Adam Nemet <anemet@caviumnetworks.com> - - PR middle-end/33699 - * gcc.target/mips/const-anchor-1.c: New test. - * gcc.target/mips/const-anchor-2.c: New test. - -2009-05-27 Jason Merrill <jason@redhat.com> - - * g++.dg/cpp0x/initlist15.C: New. - * g++.dg/cpp0x/initlist16.C: New. - * g++.dg/cpp0x/initlist17.C: New. - -2009-05-27 Janne Blomqvist <jb@gcc.gnu.org> - - PR fortran/39178 - * gfortran.dg/elemental_dependency_1.f90: Fix scan-tree-dump-times - patterns to reflect frontend changes. - * gfortran.dg/vector_subscript_4.f90: Likewise. - -2009-05-27 Olivier Hainque <hainque@adacore.com> - Eric Botcazou <botcazou@adacore.com> - - * gcc.c-torture/execute/align-nest.c: New testcase. - * gnat.dg/misaligned_nest.adb: New testcase. - -2009-05-27 Rafael Avila de Espindola <espindola@google.com> - - * g++.dg/plugin/attribute_plugin.c: Include gcc-plugin.h first. - * g++.dg/plugin/dumb_plugin.c: Include gcc-plugin.h first. - * g++.dg/plugin/selfassign.c: Include gcc-plugin.h first. - * gcc.dg/plugin/selfassign.c: Include gcc-plugin.h first. - -2009-05-27 Kai TIetz <kai.tietz@onevision.com> - - * g++.old-deja/g++.brendan/array1.C (array): Use __SIZE_TYPE__ - cast instead of assuming 0ul. - * g++.old-deja/g++.brendan/crash64.C (size_t): Define it via - __SIZE_TYPE__. - (_type_desc): Make first argument const. - * g++.old-deja/g++.jason/new3.C (dg-options): Add -Wno-long-long. - -2009-05-27 Thomas Koenig <tkoenig@gcc.gnu.org> - - PR libfortran/40187 - * gfortran.dg/c_f_pointer_shape_tests_4.f03: New file. - * gfortran.dg/c_f_pointer_shape_tests_4_driver.c: New file. - -2009-05-26 Basile Starynkevitch <basile@starynkevitch.net> - - * gcc.dg/plugin/plugin.exp: Added ggcplug.c test plugin - with ggcplug-test-1.c for testing PLUGIN_GGC_MARKING etc... - * gcc.dg/plugin/ggcplug-test-1.c: Added new file. - * gcc.dg/plugin/ggcplug.c: Added new file. - -2009-05-26 Tobias Burnus <burnus@net-b.de> - - PR fortran/40246 - * gfortran.dg/nullify_4.f90: New test. - -2009-05-26 Richard Guenther <rguenther@suse.de> - - * gcc.dg/tree-ssa/inline-3.c: Remove dump file. - -2009-05-26 Richard Guenther <rguenther@suse.de> - - PR middle-end/40252 - * gcc.c-torture/compile/pr40252.c: New testcase. - -2009-05-26 Dodji Seketeli <dodji@redhat.com> - - PR c++/40007 - * g++.dg/template/typedef18.C: New test. - * g++.dg/template/typedef19.C: Likewise. - * g++.dg/template/typedef20.C: Likewise. - * g++.dg/template/access11.C: Adjust. - -2009-05-26 Richard Guenther <rguenther@suse.de> - - PR testsuite/40247 - * gcc.dg/struct/wo_prof_escape_substr_pointer.c: Obfuscate. - -2009-05-25 Jason Merrill <jason@redhat.com> - - PR c++/38064 - * g++.dg/cpp0x/enum3.C: New test. - -2009-05-25 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/36327 - * gcc.dg/tree-ssa/ssa-fre-24.c: New testcase. - * gcc.dg/tree-ssa/ssa-fre-25.c: Likewise. - * gcc.dg/tree-ssa/sra-2.c: Disable FRE. - * gcc.dg/vect/no-vfa-vect-43.c: Adjust. - * gcc.dg/vect/vect-40.c: Likewise. - * gcc.dg/vect/vect-42.c: Likewise. - * gcc.dg/vect/vect-46.c: Likewise. - * gcc.dg/vect/vect-76.c: Likewise. - -2009-05-25 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40176 - * gfortran.dg/proc_ptr_18.f90: New. - * gfortran.dg/proc_ptr_19.f90: New. - * gfortran.dg/proc_ptr_comp_9.f90: New. - * gfortran.dg/proc_ptr_comp_10.f90: New. - -2009-05-25 Richard Guenther <rguenther@suse.de> - - * gcc.dg/tree-ssa/ssa-fre-14.c: Adjust. - * gcc.dg/tree-ssa/ssa-fre-15.c: Likewise. - -2009-05-25 Ira Rosen <irar@il.ibm.com> - - PR tree-optimization/40238 - * gcc.dg/vect/pr40238.c: New test. - -2009-05-24 Jerry DeLisle <jvdelisle@gcc.gnu.org> - Dominique Dhumieres <dominiq@lps.ens.fr> - - PR fortran/35732 - PR fortran/39872 - * gfortran.dg/bounds_check_fail_3.f90: New test. - * gfortran.dg/bounds_check_fail_4.f90: New test. - * gfortran.dg/bounds_check_14.f90: Update test. - * gfortran.dg/bound_4.f90: Update test. - -2009-05-24 Richard Guenther <rguenther@suse.de> - - PR middle-end/40233 - * gcc.c-torture/compile/pr40233.c: New testcase. - -2009-05-24 Uros Bizjak <ubizjak@gmail.com> - - * gfortran.dg/erf_2.F90 (dg-options): Add -mieee - for alpha*-*-* targets. - -2009-05-24 Ira Rosen <irar@il.ibm.com> - - * gcc.dg/vect/bb-slp-1.c: New test. - * gcc.dg/vect/bb-slp-2.c, gcc.dg/vect/bb-slp-3.c, - gcc.dg/vect/bb-slp-4.c, gcc.dg/vect/bb-slp-5.c, - gcc.dg/vect/bb-slp-6.c, gcc.dg/vect/bb-slp-7.c, - gcc.dg/vect/bb-slp-8.c, gcc.dg/vect/bb-slp-9.c, - gcc.dg/vect/bb-slp-10.c, gcc.dg/vect/bb-slp-11.c, - gcc.dg/vect/no-tree-reassoc-bb-slp-12.c, gcc.dg/vect/bb-slp-13.c, - gcc.dg/vect/bb-slp-14.c, gcc.dg/vect/bb-slp-15.c, - gcc.dg/vect/bb-slp-16.c, gcc.dg/vect/bb-slp-17.c, - gcc.dg/vect/bb-slp-18.c, gcc.dg/vect/bb-slp-19.c, - gcc.dg/vect/bb-slp-20.c, gcc.dg/vect/bb-slp-21.c, - gcc.dg/vect/bb-slp-22.c: Likewise. - * gcc.dg/vect/vect.exp: Run basic block SLP tests. - -2009-05-23 Mark Mitchell <mark@codesourcery.com> - Maxim Kuvyrkov <maxim@codesourcery.com> - - * gcc.dg/falign-labels-1.c: New test. - -2009-05-23 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/specs/rep_clause3.ads: New test. - -2009-05-23 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/addr6.adb: New test. - -2009-05-22 Mark Mitchell <mark@codesourcery.com> - - * lib/target-supports.exp (check_effective_target_arm_thumb2_ok): - New function. - * gcc.target/arm/thumb2-mul-space.c: New file. - * gcc.target/arm/thumb2-mul-space-2.c: New file. - * gcc.target/arm/thumb2-mul-space-3.c: New file. - * gcc.target/arm/thumb2-mul-speed.c: New file. - -2009-05-22 Richard Guenther <rguenther@suse.de> - - PR middle-end/38964 - * g++.dg/warn/Wstrict-aliasing-float-ref-int-obj.C: XFAIL. - * gcc.dg/Wstrict-aliasing-converted-assigned.c: Likewise. - * gcc.dg/Wstrict-aliasing-float-ptr-int-obj.c: Likewise. - -2009-05-22 Mark Mitchell <mark@codesourcery.com> - - * gcc.dg/dll-6.c: New test. - * gcc.dg/dll-6a.c: Likewise. - * gcc.dg/dll-7.c: Likewise. - * gcc.dg/dll-7a.c: Likewise. - * g++.dg/ext/dllexport2.C: Likewise. - * g++.dg/ext/dllexport2a.cc: Likewise. - -2009-05-21 Steve Ellcey <sje@cup.hp.com> - - PR target/37846 - * gcc.target/ia64/mfused-madd-vect.c: New test. - * gcc.target/ia64/mfused-madd.c: New test. - * gcc.target/ia64/mno-fused-madd-vect.c: New test. - * gcc.target/ia64/mno-fused-madd.c: New test. - -2009-05-21 H.J. Lu <hongjiu.lu@intel.com> - - * gcc.target/i386/movbe-1.c: New. - * gcc.target/i386/movbe-2.c: Likewise. - -2009-05-21 Taras Glek <tglek@mozilla.com> - - * gcc.dg/plugin/selfassign.c (plugin_init): Updated to new - plugin_init signature. - * g++.dg/plugin/selfassign.c (plugin_init): Likewise. - * g++.dg/plugin/dumb_plugin.c (plugin_init): Likewise. - * g++.dg/plugin/attribute_plugin.c (plugin_init): Likewise. - -2009-05-21 Mark Mitchell <mark@codesourcery.com> - - * gcc.dg/target/arm/neon-vmla-1.c: New. - * gcc.dg/target/arm/neon-vmls-1.c: Likewise. - -2009-05-20 Adam Nemet <anemet@caviumnetworks.com> - - * gcc.target/mips/octeon-exts-6.c: New test. - * gcc.target/mips/extend-1.c: New test. - * gcc.target/mips/octeon-exts-2.c: Adjust to not match sign-extension - EXTS. - * gcc.target/mips/octeon-exts-5.c: Likewise. - -2009-05-20 Jakub Jelinek <jakub@redhat.com> - - PR middle-end/40204 - * gcc.c-torture/compile/pr40204.c: New test. - -2009-05-20 Richard Guenther <rguenther@suse.de> - - * gcc.c-torture/compile/20090518-1.c: New testcase. - -2009-05-19 Zdenek Dvorak <ook@ucw.cz> - - PR tree-optimization/40087 - * gcc.dg/tree-ssa/pr40087.c: New test. - -2009-05-19 Andrew Pinski <andrew_pinski@playstation.sony.com> - - * gcc.dg/vector-4.c: New testcase. - * gcc.dg/simd-1b.c: % is now allowed for integer vectors. - * g++.dg/ext/vector16.C: New testcase. - -2009-05-19 H.J. Lu <hongjiu.lu@intel.com> - - PR c/40172 - * gcc.dg/pr40172.c: Renamed to ... - * gcc.dg/pr40172-1.c: This. - - * gcc.dg/pr40172-2.c: New. - * gcc.dg/pr40172-3.c: Likewise. - -2009-05-19 Manuel López-Ibáñez <manu@gcc.gnu.org> - - PR c/40172 - * gcc.dg/pr40172.c: Add -Wlogical-op to dg-options. - -2009-05-19 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/loop_optimization6.ad[sb]: New test. - -2009-05-19 Richard Guenther <rguenther@suse.de> - - * gcc.c-torture/compile/20090519-1.c: New testcase. - -2009-05-18 Jason Merrill <jason@redhat.com> - - * g++.dg/cpp0x/explicit1.C: New. - * g++.dg/cpp0x/explicit2.C: New. - -2009-05-18 Dodji Seketeli <dodji@redhat.com> - - PR debug/40109 - * g++.dg/debug/dwarf2/nested-1.C: New test. - -2009-05-18 H.J. Lu <hongjiu.lu@intel.com> - - PR testsuite/39907 - * gcc.target/x86_64/abi/asm-support.S (snapshot_ret): Preserve - stack alignment. - -2009-05-18 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40164 - * gfortran.dg/proc_ptr_comp_8.f90: New. - -2009-05-18 Richard Guenther <rguenther@suse.de> - - PR fortran/40168 - * gfortran.dg/array_memset_2.f90: Adjust. - -2009-05-18 Janus Weil <janus@gcc.gnu.org> - - PR fortran/36947 - PR fortran/40039 - * gfortran.dg/interface_27.f90: New. - * gfortran.dg/interface_28.f90: New. - * gfortran.dg/proc_ptr_11.f90: Fixing invalid test case. - * gfortran.dg/proc_ptr_result_1.f90: Ditto. - -2009-05-18 Maxim Kuvyrkov <maxim@codesourcery.com> - - * gcc.target/m68k/tls-ie.c: New test. - * gcc.target/m68k/tls-le.c: New test. - * gcc.target/m68k/tls-gd.c: New test. - * gcc.target/m68k/tls-ld.c: New test. - * gcc.target/m68k/tls-ie-xgot.c: New test. - * gcc.target/m68k/tls-le-xtls.c: New test. - * gcc.target/m68k/tls-gd-xgot.c: New test. - * gcc.target/m68k/tls-ld-xgot.c: New test. - * gcc.target/m68k/tls-ld-xtls.c: New test. - * gcc.target/m68k/tls-ld-xgot-xtls.c: New test. - -2009-05-18 Martin Jambor <mjambor@suse.cz> - - * gcc.dg/ipa/modif-1.c: Do not check for unmodified int parameter. - -2009-05-17 H.J. Lu <hongjiu.lu@intel.com> - - PR c/40172 - * gcc.dg/pr40172.c: New. - -2009-05-17 Jason Merrill <jason@redhat.com> - - PR c++/40139 - * g++.dg/template/dtor6.C: New. - -2009-05-17 Joseph Myers <joseph@codesourcery.com> - - * g++.dg/warn/translate-ice-1.C: New test. - -2009-05-17 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> - - * gfortran.dg/c_kind_int128_test1.f03: Also test C_INT_FAST128_T. - * gfortran.dg/c_kind_int128_test2.f03: Update comment. - * gfortran.dg/c_kind_params.f90: Also test int_fast*_t. - * gfortran.dg/c_kinds.c: Add int_fast*_t arguments. - -2009-05-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> - - PR fortran/33197 - * gfortran.dg/erf_2.F90: New test. - * gfortran.dg/erfc_scaled_2.f90: New test. - -2009-05-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> - - PR fortran/31243 - * gfortran.dg/string_1.f90: New test. - * gfortran.dg/string_2.f90: New test. - * gfortran.dg/string_3.f90: New test. - -2009-05-16 David Billinghurst <billingd@gcc.gnu.org> - - * gfortran.dg/default_format_denormal_1.f90: XFAIL on cygwin. - * gfortran.dg/default_format_1.f90: Revert change of 2009-05-12 - -2009-05-15 Ian Lance Taylor <iant@google.com> - - * gcc.dg/Wcxx-compat-10.c: New testcase. - -2009-05-15 Manuel López-Ibáñez <manu@gcc.gnu.org> - - PR 16302 - * gcc.dg/pr16302.c: New. - * g++.dg/warn/pr16302.C: New. - -2009-05-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * gcc.dg/torture/builtin-math-5.c: New. - * gcc.dg/torture/builtin-math-6.c: New. - * lib/target-supports.exp (check_effective_target_mpc): New. - -2009-05-15 Jan Hubicka <jh@suse.cz> - - * gcc.dg/tree-ssa/inline-3.c: New testcase - -2009-05-15 Jan Hubicka <jh@suse.cz> - - * gcc.target/i386/align-main-1.c (check): Mark noinline. - * gcc.target/i386/align-main-2.c (check): Mark noinline. - * gcc.dg/ipa/ipa-4.c: Disable early inlining. - * gcc.dg/vect/vect-iv-10.c (main1): Mark noinline. - * gcc.dg/vect/costmodel/i386/costmodel-vect-33.c (main1): - Mark noinline. - * gcc.dg/vect/costmodel/x86_64/costmodel-vect-33.c (main1): - Mark noinline. - * gcc.dg/vect/pr31699.c (foo): Mark noinline. - * gcc.dg/vect/pr18400.c (main1): Mark noinline. - -2009-05-15 Jan Hubicka <jh@suse.cz> - - * sibcall-6.c: Add no-ipa-cp argument and mark the function to be - optimized by sibcall noinline. - -2009-05-15 Jan Hubicka <jh@suse.cz> - - * sibcall-1.c (track): Mark noinline. - * sibcall-2.c (track): Mark noinline. - * sibcall-3.c (track): Mark noinline. - * sibcall-4.c (track): Mark noinline. - -2009-05-15 Jan Hubicka <jh@suse.cz> - - * flatten-2.c: Disable early inlining; add comment. - * flatten-3.c: New test based on flatten-2.c. - -2009-05-15 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/39999 - * gcc.c-torture/compile/pr39999.c: New testcase. - -2009-05-15 Joseph Myers <joseph@codesourcery.com> - - * gcc.c-torture/compile/ptr-conv-1.c: New test. - -2009-05-14 Ian Lance Taylor <iant@google.com> - - * gcc.dg/Wcxx-compat-9.c: New testcase. - -2009-05-14 Janus Weil <janus@gcc.gnu.org> - - PR fortran/39996 - * gfortran.dg/func_decl_2.f90: Modified (replacing warnings by errors). - * gfortran.dg/duplicate_type_2.f90: Ditto. - * gfortran.dg/duplicate_type_3.f90: New. - -2009-05-14 Laurent GUERBY <laurent@guerby.net> - - * ada/acats/tests/c3/c38202a.ada: Use Impdef. - * ada/acats/tests/c5/c59002c.ada: Likewise. - -2009-05-13 Taras Glek <tglek@mozilla.com> - - * g++.dg/plugin/attribute_plugin-test-1.C: Testcase input for custom - attributes and decl smashing. - * g++.dg/plugin/attribute_plugin.c: Testcase plugin to test user - attributes. - * g++.dg/plugin/dumb_plugin.c: Fixed typo. - * g++.dg/plugin/plugin.exp: Added attribute_plugin test . - -2009-05-14 Jakub Jelinek <jakub@redhat.com> - - PR fortran/39865 - * gfortran.dg/pr39865.f90: New test. - * gfortran.dg/hollerith.f90: Don't expect errors for CHARACTER - arrays in FMT=. - * gfortran.dg/hollerith_f95.f90: Likewise. - * gfortran.dg/hollerith6.f90: New test. - * gfortran.dg/hollerith7.f90: New test. - -2009-05-14 Manuel Lopez-Ibanez <manu@gcc.gnu.org> - - PR cpp/36674 - * gcc.dg/cpp/pr36674.i: New. - -2009-05-14 Ben Elliston <bje@au.ibm.com> - - PR middle-end/40035 - * gcc.c-torture/compile/pr40035.c: New test. - -2009-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * gcc.target/i386/pr39543-2.c: Skip if ilp32 && pic. - -2009-05-12 Tobias Burnus <burnus@net-b.de> - - PR fortran/40110 - * gfortran.dg/bind_c_usage_18.f90: Change dg-error into dg-warning. - * gfortran.dg/c_kind_tests_2.f03: Ditto. - * gfortran.dg/interop_params.f03: Ditto. - -2009-05-12 Jan Hubicka <jh@suse.cz> - - * gcc.dg/tree-ssa/loop-36.c: Reduce amount of iterations to 2 - so unrolling still happens. - * gcc.dg/ipa/ipacost-1.c: Prevent inlining - * gcc.dg/ipa/ipacost-2.c: Likewise. - * gcc.dg/vect/slp-3.c: Loop is no longer unrolled. - -2009-05-12 David Billinghurst <billingd@gcc.gnu.org> - - * gfortran.dg/default_format_1.f90: XFAIL on cygwin. - -2009-05-12 David Billinghurst <billingd@gcc.gnu.org> - - * lib/target-supports.exp (check_profiling_available): Return - false for -p on *-*-cygwin* targets. - -2009-05-11 H.J. Lu <hongjiu.lu@intel.com> - - PR tree-optimization/38632 - * g++.dg/tree-ssa/pr38632.C: New. - -2009-05-11 Jan Hubicka <jh@suse.cz> - - * gcc.dg/tree-ssa/pr21829.c: Simplify matching since - we now optimize better. - * gcc.dg/Wunreachable-8.c: Bogus warnings now come - out at different places. - * gcc.dg/vect/vect-92.c: Increase loop iteration count to prevent - unroling. - * gcc.dg/vect/vect-76.c: Likewise. - * gcc.dg/vect/vect-70.c: Likewise. - * gcc.dg/vect/vect-66.c: Likewise. - * gcc.dg/vect/no-section-anchors-vect-66.c: Likewise. - * gcc.dg/vect/slp-3.c: One of loops gets now fully unrolled. - -2009-05-11 H.J. Lu <hongjiu.lu@intel.com> - - PR middle-end/40080 - * gcc.c-torture/compile/pr40080.c: New. - -2009-05-11 Paolo Bonzini <bonzini@gnu.org> - - * gcc.c-torture/compile/pr40026.c: New testcase. - -2009-05-11 Janus Weil <janus@gcc.gnu.org> - - PR fortran/40089 - * gfortran.dg/proc_ptr_comp_7.f90: New. - -2009-05-11 Ira Rosen <irar@il.ibm.com> - - PR tree-optimization/40074 - * gcc.dg/vect/pr40074.c: New test. - -2009-05-10 Ian Lance Taylor <iant@google.com> - - * gcc.dg/Wcxx-compat-7.c: New testcase. - * gcc.dg/Wcxx-compat-8.c: New testcase. - * gcc.dg/c99-tag-1.c: Recognize new "originally defined here" notes. - * gcc.dg/pr17188-1.c: Likewise. - * gcc.dg/pr39084.c: Likewise. - -2009-05-10 Michael Matz <matz@suse.de> - - PR target/40031 - * gcc.dg/pr40031.c: New test. - -2009-05-10 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/40018 - * gfortran.dg/array_constructor_31.f90: New test. - -2009-05-10 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/40081 - * g++.dg/torture/pr40081.C: New testcase. - -2009-05-10 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/38863 - * gfortran.dg/dependency_24.f90: New test. - * gfortran.dg/dependency_23.f90: Clean up module files. - -2009-05-10 David Billinghurst <billingd@gcc.gnu.org> - - PR fortran/38956 - * gfortran.dg/chmod_1.f90: Don't run on *-*-cygwin*. - * gfortran.dg/chmod_2.f90: Likewise. - * gfortran.dg/chmod_3.f90: Likewise. - * gfortran.dg/open_errors.f90: Likewise. - -2009-05-09 Jan Hubicka <jh@suse.cz> - - PR middle-end/40043 - * g++.dg/eh/nested-try.C: New test. - -2009-05-08 Michael Meissner <meissner@linux.vnet.ibm.com> - - PR tree-optimization/40049 - * gcc.dg/vect/vect-shift-2.c: New test. - -2009-05-08 Joseph Myers <joseph@codesourcery.com> - - * gcc.dg/torture/complex-sign-mul-minus-one.c, - gcc.dg/torture/complex-sign-mul-one.c: New tests. - -2009-05-08 H.J. Lu <hongjiu.lu@intel.com> - - PR c/36892 - * g++.dg/warn/deprecated-6.C: New. - * gcc.dg/deprecated-4.c: Likewise. - * gcc.dg/deprecated-5.c: Likewise. - * gcc.dg/deprecated-6.c: Likewise. - -2009-05-08 H.J. Lu <hongjiu.lu@intel.com> - - * gcc.dg/vect/no-vfa-vect-37.c: Replace __aligned__(16) with - __aligned__(__BIGGEST_ALIGNMENT__). - * gcc.dg/vect/no-vfa-vect-43.c: Likewise. - * gcc.dg/vect/no-vfa-vect-49.c: Likewise. - * gcc.dg/vect/no-vfa-vect-53.c: Likewise. - * gcc.dg/vect/no-vfa-vect-57.c: Likewise. - * gcc.dg/vect/no-vfa-vect-61.c: Likewise. - * gcc.dg/vect/no-vfa-vect-79.c: Likewise. - * gcc.dg/vect/Os-vect-95.c: Likewise. - * gcc.dg/vect/pr20122.c: Likewise. - * gcc.dg/vect/pr36493.c: Likewise. - * gcc.dg/vect/pr37385.c: Likewise. - * gcc.dg/vect/slp-7.c: Likewise. - * gcc.dg/vect/slp-9.c: Likewise. - * gcc.dg/vect/slp-widen-mult-s16.c: Likewise. - * gcc.dg/vect/slp-widen-mult-u8.c: Likewise. - * gcc.dg/vect/vect-35.c: Likewise. - * gcc.dg/vect/vect-40.c: Likewise. - * gcc.dg/vect/vect-42.c: Likewise. - * gcc.dg/vect/vect-44.c: Likewise. - * gcc.dg/vect/vect-46.c: Likewise. - * gcc.dg/vect/vect-48.c: Likewise. - * gcc.dg/vect/vect-52.c: Likewise. - * gcc.dg/vect/vect-54.c: Likewise. - * gcc.dg/vect/vect-56.c: Likewise. - * gcc.dg/vect/vect-58.c: Likewise. - * gcc.dg/vect/vect-60.c: Likewise. - * gcc.dg/vect/vect-74.c: Likewise. - * gcc.dg/vect/vect-75.c: Likewise. - * gcc.dg/vect/vect-76.c: Likewise. - * gcc.dg/vect/vect-77-alignchecks.c: Likewise. - * gcc.dg/vect/vect-77.c: Likewise. - * gcc.dg/vect/vect-77-global.c: Likewise. - * gcc.dg/vect/vect-78-alignchecks.c: Likewise. - * gcc.dg/vect/vect-78.c: Likewise. - * gcc.dg/vect/vect-78-global.c: Likewise. - * gcc.dg/vect/vect-80.c: Likewise. - * gcc.dg/vect/vect-85.c: Likewise. - * gcc.dg/vect/vect-87.c: Likewise. - * gcc.dg/vect/vect-88.c: Likewise. - * gcc.dg/vect/vect-92.c: Likewise. - * gcc.dg/vect/vect-93.c: Likewise. - * gcc.dg/vect/vect-95.c: Likewise. - * gcc.dg/vect/vect-97.c: Likewise. - * gcc.dg/vect/vect-complex-1.c: Likewise. - * gcc.dg/vect/vect-complex-4.c: Likewise. - * gcc.dg/vect/vect-complex-5.c: Likewise. - * gcc.dg/vect/vect-multitypes-10.c: Likewise. - * gcc.dg/vect/vect-multitypes-11.c: Likewise. - * gcc.dg/vect/vect-multitypes-12.c: Likewise. - * gcc.dg/vect/vect-multitypes-13.c: Likewise. - * gcc.dg/vect/vect-multitypes-14.c: Likewise. - * gcc.dg/vect/vect-multitypes-15.c: Likewise. - * gcc.dg/vect/vect-multitypes-16.c: Likewise. - * gcc.dg/vect/vect-multitypes-17.c: Likewise. - * gcc.dg/vect/vect-multitypes-3.c: Likewise. - * gcc.dg/vect/vect-multitypes-6.c: Likewise. - * gcc.dg/vect/vect-multitypes-7.c: Likewise. - * gcc.dg/vect/vect-multitypes-8.c: Likewise. - * gcc.dg/vect/vect-multitypes-9.c: Likewise. - * gcc.dg/vect/vect-outer-1a.c: Likewise. - * gcc.dg/vect/vect-outer-1.c: Likewise. - * gcc.dg/vect/vect-outer-2a.c: Likewise. - * gcc.dg/vect/vect-outer-2b.c: Likewise. - * gcc.dg/vect/vect-outer-2.c: Likewise. - * gcc.dg/vect/vect-outer-2c.c: Likewise. - * gcc.dg/vect/vect-outer-2d.c: Likewise. - * gcc.dg/vect/vect-outer-3a.c: Likewise. - * gcc.dg/vect/vect-outer-3b.c: Likewise. - * gcc.dg/vect/vect-outer-3.c: Likewise. - * gcc.dg/vect/vect-outer-3c.c: Likewise. - * gcc.dg/vect/vect-outer-5.c: Likewise. - * gcc.dg/vect/vect-outer-6.c: Likewise. - * gcc.dg/vect/vect-reduc-dot-s16a.c: Likewise. - * gcc.dg/vect/vect-reduc-dot-s16b.c: Likewise. - * gcc.dg/vect/vect-reduc-dot-s8a.c: Likewise. - * gcc.dg/vect/vect-reduc-dot-s8b.c: Likewise. - * gcc.dg/vect/vect-reduc-dot-s8c.c: Likewise. - * gcc.dg/vect/vect-reduc-dot-u16a.c: Likewise. - * gcc.dg/vect/vect-reduc-dot-u16b.c: Likewise. - * gcc.dg/vect/vect-reduc-dot-u8a.c: Likewise. - * gcc.dg/vect/vect-reduc-dot-u8b.c: Likewise. - * gcc.dg/vect/vect-widen-mult-s16.c: Likewise. - * gcc.dg/vect/vect-widen-mult-s8.c: Likewise. - * gcc.dg/vect/vect-widen-mult-u16.c: Likewise. - * gcc.dg/vect/vect-widen-mult-u8.c: Likewise. - * gcc.dg/vect/wrapv-vect-reduc-dot-s8b.c: Likewise. - -2009-05-08 Joseph Myers <joseph@codesourcery.com> - - PR c/24581 - * gcc.dg/torture/complex-sign.h: New header. - * gcc.dg/torture/complex-sign-add.c, - gcc.dg/torture/complex-sign-mixed-add.c, - gcc.dg/torture/complex-sign-mixed-div.c, - gcc.dg/torture/complex-sign-mixed-mul.c, - gcc.dg/torture/complex-sign-mixed-sub.c, - gcc.dg/torture/complex-sign-mul.c, - gcc.dg/torture/complex-sign-sub.c: New tests. - -2009-05-08 Janus Weil <janus@gcc.gnu.org> - - PR fortran/39876 - * gfortran.dg/intrinsic_3.f90: New. - -2009-05-07 Janis Johnson <janis187@us.ibm.com> - - PR c/39037 - * gcc.dg/Wunsuffixed-float-constants-1.c: New test. - * gcc.dg/cpp/pragma-float-const-decimal64-1.c: New test. - * gcc.dg/dfp/float-constant-double.c: New test. - * gcc.dg/dfp/pragma-float-const-decimal64-1.c: New test. - * gcc.dg/dfp/pragma-float-const-decimal64-2.c: New test. - * gcc.dg/dfp/pragma-float-const-decimal64-3.c: New test. - * gcc.dg/dfp/pragma-float-const-decimal64-4.c: New test. - * gcc.dg/dfp/pragma-float-const-decimal64-5.c: New test. - * gcc.dg/dfp/pragma-float-const-decimal64-6.c: New test. - * gcc.dg/dfp/pragma-float-const-decimal64-7.c: New test. - * gcc.dg/dfp/pragma-float-const-decimal64-8.c: New test. - * g++.dg/cpp/pragma-float-const-decimal64-1.C: New test. - -2009-05-07 Jakub Jelinek <jakub@redhat.com> - - PR middle-end/40057 - * gcc.c-torture/execute/pr40057.c: New test. - -2009-05-06 James E. Wilson <wilson@codesourcery.com> - - * gcc.c-torture/compile/const-high-part.c: New test. - -2009-05-06 H.J. Lu <hongjiu.lu@intel.com> - - PR testsuite/40050 - * lib/plugin-support.exp (plugin-test-execute): Use HOSTCC to - build plugin. - -2009-05-06 Janus Weil <janus@gcc.gnu.org> - - PR fortran/39630 - * gfortran.dg/proc_decl_1.f90: Modified. - * gfortran.dg/proc_ptr_comp_1.f90: New. - * gfortran.dg/proc_ptr_comp_2.f90: New. - * gfortran.dg/proc_ptr_comp_3.f90: New. - * gfortran.dg/proc_ptr_comp_4.f90: New. - * gfortran.dg/proc_ptr_comp_5.f90: New. - * gfortran.dg/proc_ptr_comp_6.f90: New. - -2009-05-06 Dodji Seketeli <dodji@redhat.com> - - PR c++/17395 - * g++.dg/template/call7.C: New test. - -2009-05-06 Diego Novillo <dnovillo@google.com> - - * lib/plugin-support.exp: Do not prefix $GMPINC with -I. - -2009-05-06 H.J. Lu <hongjiu.lu@intel.com> - - * gfortran.dg/pr40021.f: Moved to ... - * gfortran.fortran-torture/execute/pr40021.f: Here. - -2009-05-06 Janis Johnson <janis187@us.ibm.com> - - PR middle-end/39986 - * gcc.dg/dfp/pr39986.c: New test. - -2009-05-06 Michael Matz <matz@suse.de> - - PR middle-end/40021 - * gfortran.dg/pr40021.f: New test. - -2009-05-06 Le-Chun Wu <lcwu@google.com> - - * lib/plugin-support.exp: New file containing support procs for - plugin testcases. - * lib/target-supports.exp (check_plugin_available): New proc. - * gcc.dg/plugin/plugin.exp: New driver script for gcc testcases. - * gcc.dg/plugin/selfassign.c: New plugin source file. - * gcc.dg/plugin/self-assign-test-1.c: New test. - * gcc.dg/plugin/self-assign-test-2.c: Likewise. - * g++.dg/README: Add description for plugin test. - * g++.dg/dg.exp: Exclude plugin tests from the general test list. - * g++.dg/plugin/plugin.exp: New driver script for g++ testcases. - * g++.dg/plugin/selfassign.c: New plugin source file. - * g++.dg/plugin/self-assign-test-1.C: New test. - * g++.dg/plugin/self-assign-test-2.C: Likewise. - * g++.dg/plugin/self-assign-test-3.C: Likewise. - * g++.dg/plugin/dumb_plugin.c: New plugin source file. - * g++.dg/plugin/dumb-plugin-test-1.C: New test. - -2009-05-06 Tobias Burnus <burnus@net-b.de> - - PR fortran/40041 - * gfortran.dg/intrinsic_2.f90: New test. - * gfortran.dg/intrinsic.f90: Add old and this PR as comment. - -2009-05-06 Joseph Myers <joseph@codesourcery.com> - - PR c/40032 - * gcc.dg/noncompile/incomplete-5.c: New test. - -2009-05-05 Jakub Jelinek <jakub@redhat.com> - - PR middle-end/39666 - * gcc.dg/pr39666-1.c: New test. - * gcc.dg/pr39666-2.c: Likewise. - * g++.dg/warn/Wuninitialized-4.C: Likewise. - * g++.dg/warn/Wuninitialized-5.C: Likewise. - * gfortran.dg/pr39666-1.f90: Likewise. - * gfortran.dg/pr39666-2.f90: Likewise. - -2009-05-05 Adam Nemet <anemet@caviumnetworks.com> - - * gcc.target/mips/mips.exp: Add -mtune= to mips_option_groups. - * gcc.target/mips/dspr2-MULT.c: Pass -mtune=74kc - * gcc.target/mips/dspr2-MULTU.c: Likewise. - -2009-05-05 Janus Weil <janus@gcc.gnu.org> - - PR fortran/39998 - * gfortran.dg/proc_ptr_17.f90: New. - -2009-05-05 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/40022 - * gcc.c-torture/execute/pr40022.c: New testcase. - -2009-05-05 Richard Guenther <rguenther@suse.de> - - PR middle-end/40023 - * gcc.c-torture/compile/pr40023.c: New testcase. - -2009-05-05 Nathan Sidwell <nathan@codesourcery.com> - - * g++.old-deja/g++.other/overload11.C: Adjust expected errors. - * g++.dg/template/overload9.C: Likewise. - * g++.dg/ext/ms-1.C: New. - -2009-05-05 Jakub Jelinek <jakub@redhat.com> - - PR c++/40013 - * g++.dg/ext/vla7.C: New test. - -2009-05-04 Joseph Myers <joseph@codesourcery.com> - - * gcc.dg/ucnid-11.c, gcc.dg/ucnid-12.c, gcc.dg/ucnid-13.c: New tests. - -2009-05-04 Joseph Myers <joseph@codesourcery.com> - - * gcc.dg/ucnid-8.c, gcc.dg/ucnid-9.c, gcc.dg/ucnid-10.c: New tests. - * gcc.dg/declspec-9.c, gcc.dg/declspec-10.c, gcc.dg/declspec-11.c: - Update expected errors. - -2009-05-04 Manuel Lopez-Ibanez <manu@gcc.gnu.org> - - PR c++/28152 - * g++.dg/parse/parser-pr28152.C: New. - * g++.dg/parse/parser-pr28152-2.C: New. - -2009-05-04 Joseph Myers <joseph@codesourcery.com> - - * gcc.dg/attr-alias-5.c, gcc.dg/ucnid-7.c: New tests. - -2009-05-03 Eric Botcazou <ebotcazou@adacore.com> - - * gcc.target/sparc/fpmul-2.c: Replace final_cleanup with optimized. - * gcc.target/sparc/fexpand-2.c: Likewise. - * gcc.target/sparc/fpmerge-2.c: Likewise. - * gcc.target/sparc/pdist-2.c: Likewise. - -2009-05-03 Richard Guenther <rguenther@suse.de> - - PR c/39983 - * gcc.c-torture/compile/pr39983.c: New testcase. - -2009-05-03 Joseph Myers <joseph@codesourcery.com> - - * gcc.dg/c99-complex-3.c: New test. - -2009-05-03 Joseph Myers <joseph@codesourcery.com> - - * gcc.dg/cpp/utf8-5byte-1.c: New test. - -2009-05-02 Joseph Myers <joseph@codesourcery.com> - - * gcc.dg/ucnid-6.c: Fix typo in dg-do directive. - -2009-05-02 Richard Guenther <rguenther@suse.de> - - PR middle-end/40001 - * gcc.target/spu/pr40001.c: New testcase. - -2009-04-30 Adam Nemet <anemet@caviumnetworks.com> - - * gcc.dg/ssp-1.c (__stack_chk_fail): Remove static. - -2009-04-30 Steve Ellcey <sje@cup.hp.com> - - PR middle-end/39579 - * gcc.dg/vect/vect-35.c: XFAIL for IA64 and Sparc. - * gfortran.dg/vect/fast-math-pr38968.f90: Ditto. - -2009-04-30 Janis Johnson <janis187@us.ibm.com> - - PR testsuite/39776 - * g++.dg/ext/altivec-15.C: Remove dg-error for messages that are - no longer issued. - -2009-04-30 David Ayers <ayers@fsfe.org> - - * lib/objc.exp (objc_init): Add and set gcc_warning_prefix - and gcc_error_prefix variables. - * objc.dg/bad-receiver-type.m: Update to match correct - diagnostics marker. - * objc.dg/encode-5.m: Likewise. - * objc.dg/id-1.m: Likewise. - * objc.dg/method-1.m: Likewise. - * objc.dg/method-6.m: Likewise. - * objc.dg/method-7.m: Likewise. - * objc.dg/method-9.m: Likewise. - * objc.dg/method-11.m: Likewise. - * objc.dg/method-20.m: Likewise. - * objc.dg/private-1.m: Likewise. - -2009-04-30 Janne Blomqvist <jb@gcc.gnu.org> - - PR libfortran/39667 - * gfortran.dg/advance_1.f90: Don't require target fd_truncate. - * gfortran.dg/advance_4.f90: Likewise - * gfortran.dg/advance_5.f90: Likewise - * gfortran.dg/append_1.f90: Likewise - * gfortran.dg/backslash_1.f90: Likewise - * gfortran.dg/backslash_2.f90: Likewise - * gfortran.dg/backslash_3.f: Likewise - * gfortran.dg/backspace_10.f90: Likewise - * gfortran.dg/backspace_3.f: Likewise - * gfortran.dg/backspace_4.f: Likewise - * gfortran.dg/backspace_5.f: Likewise - * gfortran.dg/backspace_8.f: Likewise - * gfortran.dg/backspace_9.f: Likewise - * gfortran.dg/complex_write.f90: Likewise - * gfortran.dg/convert_implied_open.f90: Likewise - * gfortran.dg/dollar_edit_descriptor_1.f: Likewise - * gfortran.dg/dos_eol.f: Likewise - * gfortran.dg/empty_format_1.f90: Likewise - * gfortran.dg/endfile.f: Likewise - * gfortran.dg/eof_1.f90: Likewise - * gfortran.dg/eor_1.f90: Likewise - * gfortran.dg/eor_handling_1.f90: Likewise - * gfortran.dg/eor_handling_2.f90: Likewise - * gfortran.dg/eor_handling_3.f90: Likewise - * gfortran.dg/eor_handling_4.f90: Likewise - * gfortran.dg/eor_handling_5.f90: Likewise - * gfortran.dg/error_recovery_5.f90: Likewise - * gfortran.dg/f2003_inquire_1.f03: Likewise - * gfortran.dg/f2003_io_4.f03: Likewise - * gfortran.dg/f2003_io_5.f03: Likewise - * gfortran.dg/f2003_io_7.f03: Likewise - * gfortran.dg/fgetc_1.f90: Likewise - * gfortran.dg/fgetc_2.f90: Likewise - * gfortran.dg/flush_1.f90: Likewise - * gfortran.dg/fmt_exhaust.f90: Likewise - * gfortran.dg/fmt_huge.f90: Likewise - * gfortran.dg/fmt_read.f90: Likewise - * gfortran.dg/fmt_t_1.f90: Likewise - * gfortran.dg/fmt_t_2.f90: Likewise - * gfortran.dg/fmt_t_3.f90: Likewise - * gfortran.dg/fmt_t_4.f90: Likewise - * gfortran.dg/fmt_t_5.f90: Likewise - * gfortran.dg/fmt_t_7.f: Likewise - * gfortran.dg/fseek.f90: Likewise - * gfortran.dg/ftell_1.f90: Likewise - * gfortran.dg/ftell_2.f90: Likewise - * gfortran.dg/func_derived_3.f90: Likewise - * gfortran.dg/inquire_9.f90: Likewise - * gfortran.dg/iostat_1.f90: Likewise - * gfortran.dg/iostat_2.f90: Likewise - * gfortran.dg/list_read_1.f90: Likewise - * gfortran.dg/list_read_4.f90: Likewise - * gfortran.dg/list_read_5.f90: Likewise - * gfortran.dg/list_read_7.f90: Likewise - * gfortran.dg/list_read_8.f90: Likewise - * gfortran.dg/list_read_9.f90: Likewise - * gfortran.dg/namelist_13.f90: Likewise - * gfortran.dg/namelist_14.f90: Likewise - * gfortran.dg/namelist_15.f90: Likewise - * gfortran.dg/namelist_16.f90: Likewise - * gfortran.dg/namelist_17.f90: Likewise - * gfortran.dg/namelist_18.f90: Likewise - * gfortran.dg/namelist_19.f90: Likewise - * gfortran.dg/namelist_20.f90: Likewise - * gfortran.dg/namelist_24.f90: Likewise - * gfortran.dg/namelist_26.f90: Likewise - * gfortran.dg/namelist_27.f90: Likewise - * gfortran.dg/namelist_28.f90: Likewise - * gfortran.dg/namelist_37.f90: Likewise - * gfortran.dg/namelist_38.f90: Likewise - * gfortran.dg/namelist_39.f90: Likewise - * gfortran.dg/namelist_40.f90: Likewise - * gfortran.dg/namelist_43.f90: Likewise - * gfortran.dg/namelist_44.f90: Likewise - * gfortran.dg/namelist_45.f90: Likewise - * gfortran.dg/namelist_46.f90: Likewise - * gfortran.dg/namelist_47.f90: Likewise - * gfortran.dg/namelist_48.f90: Likewise - * gfortran.dg/namelist_49.f90: Likewise - * gfortran.dg/namelist_50.f90: Likewise - * gfortran.dg/namelist_51.f90: Likewise - * gfortran.dg/namelist_52.f90: Likewise - * gfortran.dg/namelist_56.f90: Likewise - * gfortran.dg/namelist_char_only.f90: Likewise - * gfortran.dg/namelist_use.f90: Likewise - * gfortran.dg/namelist_use_only.f90: Likewise - * gfortran.dg/noadv_size.f90: Likewise - * gfortran.dg/open_access_append_1.f90: Likewise - * gfortran.dg/pad_no.f90: Likewise - * gfortran.dg/pr12884.f: Likewise - * gfortran.dg/pr17090.f90: Likewise - * gfortran.dg/pr17285.f90: Likewise - * gfortran.dg/pr17286.f90: Likewise - * gfortran.dg/pr18122.f90: Likewise - * gfortran.dg/pr18210.f90: Likewise - * gfortran.dg/pr18392.f90: Likewise - * gfortran.dg/pr19155.f: Likewise - * gfortran.dg/pr19216.f: Likewise - * gfortran.dg/pr19467.f90: Likewise - * gfortran.dg/pr19657.f: Likewise - * gfortran.dg/pr20257.f90: Likewise - * gfortran.dg/read_bad_advance.f90: Likewise - * gfortran.dg/read_eof_2.f90: Likewise - * gfortran.dg/read_eof_4.f90: Likewise - * gfortran.dg/read_many_1.f: Likewise - * gfortran.dg/read_noadvance.f90: Likewise - * gfortran.dg/read_repeat.f90: Likewise - * gfortran.dg/read_size_noadvance.f90: Likewise - * gfortran.dg/read_x_past.f: Likewise - * gfortran.dg/record_marker_1.f90: Likewise - * gfortran.dg/record_marker_3.f90: Likewise - * gfortran.dg/rewind_1.f90: Likewise - * gfortran.dg/runtime_warning_1.f90: Likewise - * gfortran.dg/shape_3.f90: Likewise - * gfortran.dg/slash_1.f90: Likewise - * gfortran.dg/stat_1.f90: Likewise - * gfortran.dg/stat_2.f90: Likewise - * gfortran.dg/streamio_11.f90: Likewise - * gfortran.dg/streamio_3.f90: Likewise - * gfortran.dg/streamio_4.f90: Likewise - * gfortran.dg/streamio_9.f90: Likewise - * gfortran.dg/tl_editing.f90: Likewise - * gfortran.dg/unf_io_convert_1.f90: Likewise - * gfortran.dg/unf_io_convert_2.f90: Likewise - * gfortran.dg/unf_read_corrupted_2.f90: Likewise - * gfortran.dg/unf_short_record_1.f90: Likewise - * gfortran.dg/utf8_1.f03: Likewise - * gfortran.dg/utf8_2.f03: Likewise - * gfortran.dg/widechar_IO_1.f90: Likewise - * gfortran.dg/write_check3.f90: Likewise - * gfortran.dg/write_rewind_2.f: Likewise - * gfortran.dg/x_slash_2.f: Likewise - -2009-04-29 Richard Guenther <rguenther@suse.de> - - PR target/39943 - * lib/target-supports.exp (check_effective_target_vect_uintfloat_cvt): - New. - (check_effective_target_vect_floatuint_cvt): Likewise. - * gcc.dg/vect/slp-10.c: Adjust. - * gcc.dg/vect/slp-11.c: Adjust. - * gcc.dg/vect/slp-12b.c: Adjust. - * gcc.dg/vect/slp-33.c: Adjust. - * gcc.c-torture/compile/pr39943.c: New testcase. - -2009-04-29 Richard Guenther <rguenther@suse.de> - - PR middle-end/39937 - * gcc.c-torture/compile/pr39937.c: New testcase. - -2009-04-29 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/39941 - * gcc.c-torture/compile/pr39941.c: New testcase. - -2009-04-29 Bernd Schmidt <bernd.schmidt@analog.com> - - * gcc.target/bfin/20090411-1.c: New test. - -2009-04-29 Anmol P. Paralkar <anmol@freescale.com> - - PR target/39565 - * gcc.dg/pr39565.c: New testcase. - -2009-04-28 Nathan Sidwell <nathan@codesourcery.com> - - * gcc.target/i386/sse4_1-roundps-1.c: Skip for vxworks kernel. - * gcc.target/i386/sse4_1-roundpd-1.c: Likewise. - * gcc.target/i386/sse4_1-roundps-3.c: Likewise. - * gcc.target/i386/sse4_1-roundpd-3.c: Likewise. - * gcc.target/i386/sse4_1-roundss-1.c: Likewise. - * gcc.target/i386/sse4_1-roundsd-1.c: Likewise. - * gcc.target/i386/sse4_1-roundss-3.c: Likewise. - * gcc.target/i386/sse4_1-roundsd-3.c: Likewise. - * gcc.target/i386/sse4_1-roundps-2.c: Likewise. - * gcc.target/i386/sse4_1-roundpd-2.c: Likewise. - * gcc.target/i386/sse4_1-roundss-2.c: Likewise. - * gcc.target/i386/sse4_1-roundsd-2.c: Likewise. - * gcc.target/i386/sse4_1-roundss-4.c: Likewise. - * gcc.target/i386/sse4_1-roundsd-4.c: Likewise. - * gcc.target/i386/pr37191.c: Likewise. - * gcc.target/i386/reload-1.c: Likewise. - * g++.old-deja/g++.pt/repo1.C: Skip for vxworks kernel. - * g++.old-deja/g++.pt/repo2.C: Likewise. - * g++.old-deja/g++.pt/repo3.C: Likewise. - * g++.old-deja/g++.pt/repo4.C: Likewise. - * g++.old-deja/g++.pt/instantiate4.C: Likewise. - * g++.old-deja/g++.pt/instantiate6.C: Likewise. - * g++.dg/template/repo1.C: Likewise. - * g++.dg/template/repo2.C: Likewise. - * g++.dg/template/repo3.C: Likewise. - * g++.dg/template/repo4.C: Likewise. - * g++.dg/template/repo5.C: Likewise. - * g++.dg/template/repo6.C: Likewise. - * g++.dg/template/repo7.C: Likewise. - * g++.dg/template/repo8.C: Likewise. - * g++.dg/template/repo9.C: Likewise. - * g++.dg/rtti/repo1.C: Likewise. - * gcc.dg/cpp/_Pragma6.c: Skip for vxworks. - * g++.dg/cpp/_Pragma1.C: Skip for vxworks. - * gcc.dg/pthread-init-1.c: Xfail for vxworks rtp. - * g++.dg/other/PR23205.C: Skip for vxworks. - * g++.dg/ext/visibility/class1.C: Requires PIC. - * g++.dg/eh/async-unwind2.C: Requires PIC. - * lib/target-supports.exp (check_cxa_atexit_available): Vxworks - does not have cxa_exit. - -2009-04-28 Jing Yu <jingyu@google.com> - - PR testsuite/39790 - * lib/target-supports.exp (check_effective_target_tls): Remove - comment of caching. - (check_effective_target_tls_native): Likewise. - (check_effective_target_tls_runtime): Likewise. - * gcc.dg/tls/alias-1.c (dg-require-effective-target): Change target - tls to tls_runtime. - * gcc.dg/tls/opt-2.c: Add dg-require-effective-target tls_runtime. - -2009-04-28 Janus Weil <janus@gcc.gnu.org> - - PR fortran/39946 - * gfortran.dg/proc_ptr_16.f90: New. - -2009-04-28 Steve Ellcey <sje@cup.hp.com> - - * gcc.target/ia64/sync-1.c: Check for cmpxchg8 only if - lp64 is true. - -2009-04-28 Richard Guenther <rguenther@suse.de> - - PR middle-end/39937 - * gfortran.fortran-torture/compile/pr39937.f: New testcase. - -2009-04-28 H.J. Lu <hongjiu.lu@intel.com> - - * g++.dg/warn/pr35652.C: Removed. - * gcc.dg/pr35652.c: Likewise. - -2009-04-28 Alexander Monakov <amonakov@ispras.ru> - - * gcc.target/ia64/20071210-2.c: New testcase. - -2009-04-28 Uros Bizjak <ubizjak@gmail.com> - - PR c/39323 - * gcc.dg/pr39323-2.c: Also scan for alignment in log2 format. - * gcc.dg/pr39323-3.c: Ditto. - -2009-04-28 Janus Weil <janus@gcc.gnu.org> - - PR fortran/39930 - PR fortran/39931 - * gfortran.dg/ambiguous_reference_2.f90: New. - * gfortran.dg/pointer_assign_7.f90: New. - -2009-04-28 Nathan Froyd <froydnj@codesourcery.com> - Mark Mitchell <mark@codesourcery.com> - - * gcc.target/powerpc/20020118-1.c: Skip on vxworks targets. - * gcc.dg/20020103-1.c: Check for __ppc. - * gcc.dg/asm-b.c: Check for __ppc. - * gcc.dg/20020919-1.c: Check for __ppc. - * gcc.dg/20020312-2.c: Likewise. - * gcc.dg/trampoline-1.c: Add appropriate NO_TRAMPOLINES #ifndefs. - * gcc.dg/torture/asm-subreg-1.c: Skip on sparc vxworks targets. - * gcc.dg/attr-weakref-1.c: Skip on selected vxworks targets. - * g++.dg/warn/weak1.C: Likewise. - * gcc.dg/tree-ssa/20030714-1.c (find_base_value): Declare as - static so appropriate optimizations kick in. - (find_base_value_wrapper): New function. - * g++.dg/eh/simd-5.C: Fix target triplet. - * gcc.target/arm/long-calls-1.c: Skip for -mlong-calls. - -2009-04-28 Uros Bizjak <ubizjak@gmail.com> - H.J. Lu <hongjiu.lu@intel.com> - - PR target/39911 - * gcc.target/i386/pr39911.c: New test. - -2009-04-28 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/39879 - * gfortran.dg/alloc_comp_assign_10.f90: New test. - -2009-04-28 Ben Elliston <bje@au.ibm.com> - - PR c++/35652 - Revert: - - 2009-03-27 Manuel Lopez-Ibanez <manu@gcc.gnu.org> - - * gcc.dg/pr35652.C: New. - * g++.dg/warn/pr35652.C: New. - * gcc.dg/format/plus-1.c: Adjust message. - -2009-04-27 DJ Delorie <dj@redhat.com> - - * lib/target-supports.exp (check_effective_target_double64): New. - (check_effective_target_double64plus): New. - (check_effective_target_large_double): New. - * gcc.dg/Wconversion-real-integer.c: Require double64plus. - * gcc.dg/div-double-1.c: Likewise. - * gcc.dg/Wconversion-real.c: Require large_double. - * gcc.dg/cdce1.c: Require large_double instead of checking targets. - - * gcc.c-torture/execute/ieee/unsafe-fp-assoc-1.c: Skip if doubles - are too small. - - * gcc.c-torture/execute/ieee/20010226-1.c: Mark all floating point - constants as long. - -2009-04-27 Ian Lance Taylor <iant@google.com> - - * gcc.dg/Wcxx-compat-5.c: New testcase. - * gcc.dg/Wcxx-compat-6.c: New testcase. - -2009-04-27 Trevor Smigiel <trevor_smigiel@playstation.sony.com> - - Allow non-constant arguments to conversion intrinsics. - * gcc.target/spu/intrinsics-3.c: Update tests. - -2009-04-27 Richard Guenther <rguenther@suse.de> - - PR middle-end/39928 - * gcc.c-torture/compile/pr39928-1.c: New testcase. - * gcc.c-torture/compile/pr39928-2.c: Likewise. - -2009-04-27 H.J. Lu <hongjiu.lu@intel.com> - - PR target/39903 - * gcc.dg/torture/pr39903-1.c: New. - * gcc.dg/torture/pr39903-2.c: Likewise. - -2009-04-27 Revital Eres <eres@il.ibm.com> - - * gcc.dg/sms-1.c: Add noinline attribute, create sms dump file - and check it. - * gcc.dg/sms-2.c: Add dump check. - * gcc.dg/sms-3.c: Add noinline attribute, create sms dump file - and check it. - * gcc.dg/sms-4.c: Likewise. - * gcc.dg/sms-5.c: Likewise. - * gcc.dg/sms-6.c: Likewise. - * gcc.dg/sms-7.c: Likewise. - * gcc.dg/sms-antideps.c: Rename to... - * gcc.dg/sms-8.c: This and add sms dump file and check it. - -2009-04-27 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/opt2.adb: New test. - -2009-04-27 Jakub Jelinek <jakub@redhat.com> - - PR c++/39875 - * g++.dg/warn/Wunused-15.C: New test. - -2009-04-26 Michael Matz <matz@suse.de> - - Expand from SSA. - * gcc.dg/tree-ssa/20030728-1.c: Use -rtl-expand-details dump and - change regexps. - * gcc.target/i386/pr37248-1.c: Modified. - * gcc.target/i386/pr37248-3.c: Modified. - * gcc.target/i386/pr37248-2.c: Modified. - * gnat.dg/aliasing1.adb: Modified. - * gnat.dg/pack9.adb: Modified. - * gnat.dg/aliasing2.adb: Modified. - * gcc.dg/strict-overflow-2.c: Modified. - * gcc.dg/autopar/reduc-1char.c: Modified. - * gcc.dg/autopar/reduc-2char.c: Modified. - * gcc.dg/autopar/reduc-1.c: Modified. - * gcc.dg/autopar/reduc-2.c: Modified. - * gcc.dg/autopar/reduc-3.c: Modified. - * gcc.dg/autopar/reduc-6.c: Modified. - * gcc.dg/autopar/reduc-7.c: Modified. - * gcc.dg/autopar/reduc-8.c: Modified. - * gcc.dg/autopar/reduc-9.c: Modified. - * gcc.dg/autopar/reduc-1short.c: Modified. - * gcc.dg/autopar/reduc-2short.c: Modified. - * gcc.dg/autopar/parallelization-1.c: Modified. - * gcc.dg/strict-overflow-4.c: Modified. - * gcc.dg/strict-overflow-6.c: Modified. - * gcc.dg/gomp/combined-1.c: Modified. - * gcc.dg/no-strict-overflow-1.c: Modified. - * gcc.dg/no-strict-overflow-3.c: Modified. - * gcc.dg/no-strict-overflow-5.c: Modified. - * gcc.dg/tree-ssa/reassoc-13.c: Modified. - * gcc.dg/tree-ssa/pr18134.c: Modified. - * gcc.dg/tree-ssa/20030824-1.c: Modified. - * gcc.dg/tree-ssa/vector-2.c: Modified. - * gcc.dg/tree-ssa/forwprop-9.c: Modified. - * gcc.dg/tree-ssa/loop-21.c: Modified. - * gcc.dg/tree-ssa/20030824-2.c: Modified. - * gcc.dg/tree-ssa/vector-3.c: Modified. - * gcc.dg/tree-ssa/asm-3.c: Modified. - * gcc.dg/tree-ssa/pr23294.c: Modified. - * gcc.dg/tree-ssa/loop-22.c: Modified. - * gcc.dg/tree-ssa/loop-15.c: Modified. - * gcc.dg/tree-ssa/prefetch-4.c: Modified. - * gcc.dg/tree-ssa/pr22051-1.c: Modified. - * gcc.dg/tree-ssa/pr20139.c: Modified. - * gcc.dg/tree-ssa/scev-cast.c: Modified. - * gcc.dg/tree-ssa/pr22051-2.c: Modified. - * gcc.dg/tree-ssa/reassoc-1.c: Modified. - * gcc.dg/tree-ssa/loop-5.c: Modified. - * gcc.dg/tree-ssa/pr19431.c: Modified. - * gcc.dg/tree-ssa/pr32044.c: Modified. - * gcc.dg/tree-ssa/prefetch-7.c: Modified. - * gcc.dg/tree-ssa/loop-19.c: Modified. - * gcc.dg/tree-ssa/loop-28.c: Modified. - * gcc.dg/tree-ssa/ssa-pre-15.c: Modified. - * gcc.dg/tree-ssa/divide-1.c: Modified. - * gcc.dg/tree-ssa/inline-1.c: Modified. - * gcc.dg/tree-ssa/divide-3.c: Modified. - * gcc.dg/tree-ssa/pr30978.c: Modified. - * gcc.dg/tree-ssa/alias-6.c: Modified. - * gcc.dg/tree-ssa/divide-4.c: Modified. - * gcc.dg/tree-ssa/alias-11.c: Modified. - * gcc.dg/no-strict-overflow-7.c: Modified. - * gcc.dg/strict-overflow-1.c: Modified. - * gcc.dg/pr15784-4.c: Modified. - * gcc.dg/pr34263.c: Modified. - * gcc.dg/strict-overflow-3.c: Modified. - * gcc.dg/tree-prof/stringop-1.c: Modified. - * gcc.dg/tree-prof/val-prof-1.c: Modified. - * gcc.dg/tree-prof/val-prof-2.c: Modified. - * gcc.dg/tree-prof/val-prof-3.c: Modified. - * gcc.dg/tree-prof/val-prof-4.c: Modified. - * gcc.dg/no-strict-overflow-2.c: Modified. - * gcc.dg/no-strict-overflow-4.c: Modified. - * gcc.dg/no-strict-overflow-6.c: Modified. - * g++.dg/tree-ssa/pr27090.C: Modified. - * g++.dg/tree-ssa/tmmti-2.C: Modified. - * g++.dg/tree-ssa/ptrmemfield.C: Modified. - * g++.dg/tree-ssa/pr19807.C: Modified. - * g++.dg/opt/pr30965.C: Modified. - * g++.dg/init/new17.C: Modified. - * gfortran.dg/whole_file_6.f90: Modified. - * gfortran.dg/whole_file_5.f90: Modified. - * gfortran.dg/reassoc_1.f90: Modified. - * gfortran.dg/reassoc_3.f90: Modified. - -2009-04-26 Steven G. Kargl <kargl@gcc.gnu.org> - - PR fortran/39893 - * gfortran.dg/assumed_charlen_dummy.f90: New Test. - -2009-04-26 Jakub Jelinek <jakub@redhat.com> - - PR inline-asm/39543 - * gcc.target/i386/pr39543-1.c: New test. - * gcc.target/i386/pr39543-2.c: New test. - * gcc.target/i386/pr39543-3.c: New test. - - PR c/39889 - * gcc.dg/Wunused-value-3.c: New test. - -2009-04-26 Joseph Myers <joseph@codesourcery.com> - - PR c/39581 - * gcc.dg/c99-const-expr-14.c, gcc.dg/gnu99-const-expr-4.c, - gcc.dg/vla-21.c: New tests. - -2009-04-26 Joseph Myers <joseph@codesourcery.com> - - PR c/39556 - * gcc.dg/inline-34.c: New test. - -2009-04-25 Joseph Myers <joseph@codesourcery.com> - - * gcc.dg/enum-const-1.c, gcc.dg/enum-const-2.c, - gcc.dg/enum-const-3.c: New tests. - * gcc.dg/gnu89-const-expr-1.c, gcc.dg/gnu99-const-expr-1.c: Use - -pedantic-errors. Update expected diagnostics. - -2009-04-25 Joseph Myers <joseph@codesourcery.com> - - PR c/39582 - * gcc.dg/vla-20.c: New test. - -2009-04-25 Joseph Myers <joseph@codesourcery.com> - - PR c/39564 - * gcc.dg/vla-19.c: New test. - -2009-04-25 Joseph Myers <joseph@codesourcery.com> - - PR preprocessor/39559 - * gcc.dg/c99-intconst-2.c: New test. - -2009-04-25 Jan Hubicka <jh@suse.cz> - - * g++.dg/tree-ssa/ehcleanup-1.C: Update. - -2009-04-25 Janus Weil <janus@gcc.gnu.org> - - PR fortran/39688 - * gfortran.dg/import7.f90: New. - -2009-04-24 Richard Guenther <rguenther@suse.de> - - * gcc.dg/tree-ssa/vrp48.c: Fix. - -2008-04-24 Doug Kwan <dougkwan@google.com> - - * g++.dg/init/copy7.C: Only abort in memcpy if source and - destination are the same. - -2009-04-24 Richard Guenther <rguenther@suse.de> - - * gcc.dg/tree-ssa/vrp48.c: New testcase. - -2009-04-24 Joseph Myers <joseph@codesourcery.com> - - * gcc.dg/array-const-1.c, gcc.dg/array-const-2.c, - gcc.dg/array-const-3.c: New tests. - -2009-04-24 Ian Lance Taylor <iant@google.com> - - * gcc.dg/Wcxx-compat-4.c: New testcase. - -2009-04-24 Daniel Kraft <d@domob.eu> - - * gfortran.dg/typebound_generic_1.f03: Change so that no error is - expected on already erraneous symbol (renamed to fresh one). - -2009-04-24 Paolo Bonzini <bonzini@gnu.org> - - PR middle-end/39867 - * gcc.dg/pr39867.c: New. - -2009-04-24 Janus Weil <janus@gcc.gnu.org> - - PR fortran/39861 - PR fortran/39864 - * gfortran.dg/intrinsic_1.f90: New. - -2009-04-24 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/alignment7.adb: New test. - * gnat.dg/alignment8.adb: Likewise. - -2009-04-24 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/specs/pr34799.ads: Rename to rep_clause1.ads. - * gnat.dg/specs/rep_clause2.ads: New test. - -2009-04-24 Jakub Jelinek <jakub@redhat.com> - - PR rtl-optimization/39794 - * gcc.dg/pr39794.c: New test. - -2009-04-23 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/atomic1.adb: New test. - * gnat.dg/atomic1_pkg.ads: New helper. - -2009-04-23 Steve Ellcey <sje@cup.hp.com> - - PR testsuite/39623 - * gcc.dg/vect/no-vfa-vect-57.c: XFAIL when vect_no_align. - * gcc.dg/vect/no-vfa-vect-61.c: Ditto. - -2009-04-23 Rafael Avila de Espindola <espindola@google.com> - - * gcc.dg/format/gcc_diag-1.c (foo): Don't check that %E produces a - warning. - -2009-04-22 Andrew Pinski <andrew_pinski@playstation.sony.com> - - PR C/31499 - * gcc.dg/vector-init-1.c: New testcase. - * gcc.dg/vector-init-2.c: New testcase. - -2009-04-22 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/enum2.adb: New test. - * gnat.dg/enum2_pkg.ads: New helper. - -2009-04-22 Jakub Jelinek <jakub@redhat.com> - - PR c/39855 - * gcc.dg/torture/pr39855.c: New test. - -2009-04-22 Dodji Seketeli <dodji@redhat.com> - - PR c++/39639 - * g++.dg/cpp0x/pr39639.C: New test. - -2009-04-22 Mark Heffernan <meheff@google.com> - - * gcc.dg/profile-generate-3.c: New test. - -2009-04-22 Jan Hubicka <jh@suse.cz> - - * g++.dg/tree-ssa/ehcleanup-1.C: New testcase. - -2009-04-22 Steve Ellcey <sje@cup.hp.com> - - PR testsuite/39623 - * gcc.dg/vect/no-vfa-vect-43.c Fix vect_no_align check. - -2009-04-22 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/39824 - * gcc.c-torture/compile/pr39824.c: New testcase. - -2009-04-22 Manuel Lopez-Ibanez <manu@gcc.gnu.org> - - PR c++/14875 - * g++.dg/parse/parser-pr14875.C: New. - * g++.dg/parse/parser-pr14875-2.C: New. - * g++.dg/parse/error6.C: Update match string. - -2009-04-22 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/39845 - * gcc.c-torture/compile/pr39845.c: New testcase. - -2009-04-22 Janus Weil <janus@gcc.gnu.org> - - PR fortran/39735 - * gfortran.dg/assumed_charlen_function_5.f90: Modified. - * gfortran.dg/external_initializer.f90: Modified. - * gfortran.dg/interface_26.f90: Modified. - * gfortran.dg/intrinsic_subroutine.f90: Modified. - * gfortran.dg/proc_ptr_3.f90: Modified. - * gfortran.dg/proc_ptr_15.f90: New. - * gfortran.dg/proc_ptr_result_1.f90: Modified. - -2009-04-21 Manuel Lopez-Ibanez <manu@gcc.gnu.org> - - PR c++/35711 - * g++.dg/warn/pr35711.C: New. - * g++.dg/conversion/ptrmem2.C: Update. - -2009-04-21 Joseph Myers <joseph@codesourcery.com> - - * ChangeLog, ChangeLog-1993-2007, ChangeLog-2008, ChangeLog.ptr, - ChangeLog.tree-ssa, README, README.QMTEST, README.compat, - README.gcc, g++.dg/README, g++.dg/compat/break/README, - g++.dg/gomp/gomp.exp, g++.old-deja/g++.brendan/README, - g++.old-deja/g++.oliva/ChangeLog, g++.old-deja/g++.robertl/README, - gcc.c-torture/ChangeLog.0, - gcc.c-torture/execute/builtins/builtins.exp, gcc.dg/README, - gcc.dg/gomp/gomp.exp, gcc.target/frv/frv.exp, - gcc.target/i386/math-torture/math-torture.exp, - gcc.target/mips/inter/mips16-inter.exp, - gcc.target/mips/mips-nonpic/README, - gcc.target/x86_64/abi/README.gcc, - gcc.target/xstormy16/xstormy16.exp, gcc.test-framework/README, - gfortran.dg/g77/README, gfortran.dg/gomp/gomp.exp, - gfortran.fortran-torture/ChangeLog.g95: Add copyright and license - notices. - * ChangeLog-1993-2007, ChangeLog: Correct dates. - -2009-04-21 Eric Botcazou <ebotcazou@adacore.com> - - * gcc.dg/debug/dwarf2/short-circuit.c: New test. - -2009-04-21 Richard Guenther <rguenther@suse.de> - - PR middle-end/39829 - * gcc.dg/torture/pr39829.c: New testcase. - -2009-04-21 Martin Jambor <mjambor@suse.cz> - - * gcc.dg/tree-ssa/cswtch-2.c: New test. - -2009-04-21 Manuel López-Ibáñez <manu@gcc.gnu.org> - - PR 16202 - * gcc.dg/sequence-pt-1.c: Remove XFAILs. - * gcc.dg/sequence-pt-2.c: New. - * gcc.dg/sequence-pt-3.c: New. - * g++.dg/warn/sequence-pt-1.C: Remove XFAILs. - * g++.dg/warn/sequence-pt-2.c: New. - * g++.dg/warn/sequence-pt-3.c: New. - -2009-04-21 Jakub Jelinek <jakub@redhat.com> - - * gcc.dg/torture/pr39678.c (struct X): Make c field signed char. - -2009-04-21 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/import1.ad[sb]: New test. - -2009-04-20 Andrew Pinski <andrew_pinski@playstation.sony.com> - - * objc/execute/exceptions/handler-1.m: For the NeXT runtime, just - return 0. - -2009-04-20 Tobias Burnus <burnus@net-b.de> - - PR fortran/39811 - * gfortran.dg/continuation_11.f90: New test. - -2009-04-21 Manuel Lopez-Ibanez <manu@gcc.gnu.org> - - PR c++/13358 - * gcc.dg/wtr-int-type-1.c: Use two dg-warning to match two - messages. Test for "long long" in system headers. - * gcc.dg/c99-longlong-2.c: New. - * g++.dg/warn/pr13358.C: New. - * g++.dg/warn/pr13358-2.C: New. - * g++.dg/warn/pr13358-3.C: New. - * g++.dg/warn/pr13358-4.C: New. - -2009-04-20 Andrew Pinski <andrew_pinski@playstation.sony.com> - - * gcc.dg/framework-2.c: Fix up for non existent includes - being fatal errors now. - -2009-04-20 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/39800 - * gfortran.dg/private_type_13.f90: New test. - * gfortran.dg/private_type_2.f90: Add option -std=f95. - -2009-04-20 Le-Chun Wu <lcwu@google.com> - - PR c++/39803 - * g++.dg/warn/Wunused-14.C: New test. - -2009-04-20 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/specs/small_alignment.ads: New test. - -2009-04-20 Ian Lance Taylor <iant@google.com> - - * gcc.dg/Wcxx-compat-3.c: New testcase. - -2009-04-20 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/pack13.ad[sb]: New test. - * gnat.dg/pack13_pkg.ads: New helper. - -2009-04-20 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/discr11.ad[sb]: New test. - * gnat.dg/discr11_pkg.ads: New helper. - -2009-04-20 Ira Rosen <irar@il.ibm.com> - - PR tree-optimization/39675 - * gcc.dg/vect/O3-pr39675-2.c: New test. - -2009-04-20 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/rep_clause3.adb: New test. - -2009-04-19 Joseph Myers <joseph@codesourcery.com> - - PR c/37481 - * gcc.dg/c99-flex-array-7.c: New test. - -2009-04-19 Joseph Myers <joseph@codesourcery.com> - - PR c/19771 - * gcc.c-torture/execute/vla-dealloc-1.c: New test. - -2009-04-19 Joseph Myers <joseph@codesourcery.com> - - PR c/38243 - * gcc.dg/c99-restrict-3.c: New test. - -2009-04-19 Joseph Myers <joseph@codesourcery.com> - - PR preprocessor/20078 - * gcc.dg/cpp/paste16.c, gcc.dg/cpp/redef4.c: New tests. - -2009-04-19 Eric Botcazou <ebotcazou@adacore.com> - - * lib/gnat.exp (local_find_gnatmake): Pass --LINK to gnatlink. - Do not pass -B$root after -margs. - -2009-04-19 Manuel López-Ibáñez <manu@gcc.gnu.org> - - PR c/32061 - PR c++/36954 - * gcc.dg/pr32061.c: New. - * gcc.dg/Wlogical-op-1.c: Update. - * g++.dg/warn/Wlogical-op-1.C: Update. - * g++.dg/warn/pr36954.C: New. - -2009-04-18 Joseph Myers <joseph@codesourcery.com> - - PR c/27676 - * gcc.dg/lvalue-5.c: New test. - -2009-04-18 Joseph Myers <joseph@codesourcery.com> - - PR c/22367 - * gcc.dg/lvalue-6.c, gcc.dg/lvalue-7.c: New tests. - -2009-04-18 Joseph Myers <joseph@codesourcery.com> - - * gcc.dg/cpp/include5.c: New test. - -2009-04-18 Joseph Myers <joseph@codesourcery.com> - - PR c/35210 - * gcc.dg/call-diag-2.c: New test. - -2009-04-18 Joseph Myers <joseph@codesourcery.com> - - PR preprocessor/39646 - * gcc.dg/cpp/line8.c: New test. - -2009-04-18 Joseph Myers <joseph@codesourcery.com> - - PR preprocessor/39647 - * gcc.dg/cpp/line7.c: New test. - -2009-04-18 Richard Guenther <rguenther@suse.de> - - PR middle-end/39804 - * gcc.target/i386/pr39804.c: New testcase. - -2009-04-18 Eric Botcazou <ebotcazou@adacore.com> - - * gcc.target/i386/pr39496.c: Compile with -mtune=i686. - * g++.dg/other/pr39496.C: Likewise. - -2009-04-18 Manuel López-Ibáñez <manu@gcc.gnu.org> - - PR middle-end/36902 - * gcc.dg/pr36902.c: New. - -2009-04-17 Diego Novillo <dnovillo@google.com> - - * gcc.c-torture/execute/builtins/strlen-3.c: Fix ODR - violation for variable 'inside_main'. - -2009-04-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> - - * gfortran.fortran-torture/execute/getarg_1.x: New file. - -2009-04-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> - - * gfortran.dg/vect/pr39318.f90: Guard with "target fopenmp". - -2009-04-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> - - * gfortran.dg/chmod_1.f90: Disable on spu-*-* targets. - * gfortran.dg/chmod_2.f90: Likewise. - * gfortran.dg/chmod_3.f90: Likewise. - * gfortran.dg/open_errors.f90: Likewise. - * gfortran.dg/stat_1.f90: Likewise. - * gfortran.dg/stat_2.f90: Likewise. - -2009-04-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> - - * gfortran.fortran-torture/execute/nan_inf_fmt.x: Skip on spu-*-*. - * gfortran.fortran-torture/execute/intrinsic_nearest.x: Likewise. - * gfortran.fortran-torture/execute/intrinsic_set_exponent.x: Likewise. - * gfortran.dg/nearest_1.f90: Likewise. - * gfortran.dg/nearest_3.f90: Likewise. - * gfortran.dg/isnan_1.f90: Likewise. - * gfortran.dg/isnan_2.f90: Likewise. - * gfortran.dg/nan_1.f90: Likewise. - * gfortran.dg/nan_2.f90: Likewise. - * gfortran.dg/nan_3.f90: Likewise. - * gfortran.dg/nan_4.f90: Likewise. - * gfortran.dg/module_nan.f90: Likewise. - * gfortran.dg/int_conv_2.f90: Likewise. - * gfortran.dg/init_flag_3.f90: Likewise. - * gfortran.dg/namelist_42.f90: Likewise. - * gfortran.dg/namelist_43.f90: Likewise. - * gfortran.dg/real_const_3.f90: Likewise. - * gfortran.dg/transfer_simplify_1.f90: Likewise. - - * gfortran.dg/default_format_1.f90: XFAIL on spu-*-*. - * gfortran.dg/default_format_denormal_1.f90: XFAIL on spu-*-*. - * gfortran.dg/scalar_mask_2.f90: XFAIL on spu-*-*. - * gfortran.dg/integer_exponentiation_3.F90: XFAIL on spu-*-*. - * gfortran.dg/integer_exponentiation_5.F90: XFAIL on spu-*-*. - - * gfortran.dg/elemental_subroutine_1.f90: Relax "epsilon" check. - * gfortran.dg/gamma_5.f90: Likewise. - -2009-04-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> - - * lib/gcc-dg.exp (gcc-dg-prune): Make linker message check - less strict so it also works with auto-overlay support. - * lib/gcc-defs.exp (${tool}_check_unsupported_p): Add check - for "exceeds local store" linker errors on the SPU. - - * lib/gfortran.exp: Include target-supports.exp. - (gfortran_init): On SPU targets where automatic overlay support - is available, use it to build all Fortran test cases. - - * gfortran.dg/pr20257.f90: Skip on spu-*-* targets. - -2009-04-17 Arnaud Charlet <charlet@adacore.com> - - * gnat.dg/ref_type.ads, gnat.dg/ref_type.adb: Fix test after proper - rule enforced by gnat on taft types. - -2009-04-17 Jakub Jelinek <jakub@redhat.com> - - PR testsuite/39792 - * g++.dg/ext/complit11.C: Add empty dg-options. - -2009-04-16 Andrew Pinski <pinskia@gmail.com> - - PR c++/17570 - * g++.dg/template/defarg11.C: New test. - -2009-04-16 Andrew Pinski <pinskia@gmail.com> - - PR c++/28766 - * g++.dg/ext/complit11.C: New testcase. - -2009-04-15 Le-Chun Wu <lcwu@google.com> - - PR c++/39551 - * g++.dg/warn/Wunused-13.C: New testcase. - -2009-04-15 Ian Lance Taylor <iant@google.com> - - * gcc.dg/Wenum-compare-1.c: New testcase. - -2009-04-15 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/39764 - * g++.dg/torture/pr39764.C: New testcase. - -2009-04-15 Nathan Sidwell <nathan@codesourcery.com> - - * g++.dg/ext/altivec-17.C: New. - -2009-04-15 Arnaud Charlet <charlet@adacore.com> - - * gnat.dg/sync1.ads: Fix error now flagged by gnat. - * gnat.dg/specs/limited1.ads: Ditto. - -2009-04-14 Michael Meissner <meissner@linux.vnet.ibm.com> - - PR testsuite/39769 - * gcc.dg/vmx/3a-04.c (test): Don't rely on floating point equality - for testing the results of estimate instructions. - * gcc.dg/vmx/3a-04m.c (test): Ditto. - * gcc.dg/vmx/3a-05.c (test): Ditto. - -2009-04-14 Jason Merrill <jason@redhat.com> - - PR c++/39763 - * g++.dg/warn/Wshadow-4.C: Extend. - -2009-04-14 Uros Bizjak <ubizjak@gmail.com> - - * gcc.target/alpha/pr39740.c (dg-options): Add -mexplicit-relocs. - (do_D): Remove attribute hidden. - -2009-04-13 Jason Merrill <jason@redhat.com> - - PR c++/39480 - * g++.dg/init/copy7.C: New. - -2009-04-13 H.J. Lu <hongjiu.lu@intel.com> - - PR testsuite/39733 - * gcc.misc-tests/options.exp (check_for_options): Renamed to ... - (check_for_all_options): This. - -2009-04-13 Jason Merrill <jason@redhat.com> - - PR c++/39750 - * g++.dg/template/crash90.C: New. - -2009-04-12 Jason Merrill <jason@redhat.com> - - PR c++/39742 - * g++.dg/overload/extern-C-2.C: New. - -2009-04-12 Joseph Myers <joseph@codesourcery.com> - - PR preprocessor/31869 - * gcc.dg/cpp/strify5.c: New test. - -2009-04-12 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/enum1.adb: New test. - * gnat.dg/enum1_pkg.ads: New helper. - -2009-04-12 Uros Bizjak <ubizjak@gmail.com> - - PR target/39740 - * gcc.target/alpha/pr39740.c: New test. - -2009-04-11 Daniel Kraft <d@domob.eu> - - PR fortran/37746 - * gfortran.dg/bounds_check_strlen_1.f90: New test. - * gfortran.dg/bounds_check_strlen_2.f90: New test. - * gfortran.dg/bounds_check_strlen_3.f90: New test. - * gfortran.dg/bounds_check_strlen_4.f90: New test. - * gfortran.dg/bounds_check_strlen_5.f90: New test. - * gfortran.dg/bounds_check_strlen_6.f90: New test. - * gfortran.dg/bounds_check_strlen_7.f90: New test. - * gfortran.fortran-torture/execute/intrinsic_index.f90: Fix wrong - expected string length that failed with -fbounds-check now. - * gfortran.fortran-torture/execute/intrinsic_trim.f90: Ditto. - -2009-04-11 Janus Weil <janus@gcc.gnu.org> - - PR fortran/39692 - * gfortran.dg/proc_ptr_14.f90: New. - -2009-04-11 Richard Guenther <rguenther@suse.de> - - PR middle-end/39732 - * g++.dg/torture/pr39732.C: New testcase. - -2009-04-11 Daniel Franke <franke.daniel@gmail.com> - - * gfortran.dg/whole_file_5.f90: New. - * gfortran.dg/whole_file_6.f90: New. - -2009-04-11 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/39713 - * g++.dg/torture/pr39713.C: New testcase. - -2009-04-10 Richard Guenther <rguenther@suse.de> - - PR c/39712 - * gcc.dg/pr39712.c: New testcase. - -2009-04-10 H.J. Lu <hongjiu.lu@intel.com> - - PR c++/28301 - * g++.dg/cpp0x/enum2.C: Updated. - * g++.dg/debug/pr22514.C: Likewise. - * g++.dg/parse/enum2.C: Likewise. - * g++.dg/parse/enum3.C: Likewise. - * g++.dg/template/crash79.C: Likewise. - * g++.old-deja/g++.jason/cond.C: Likewise. - -2009-04-10 Chao-ying Fu <fu@mips.com> - - * gcc.target/mips/interrupt_handler.c: Change from compile to - assemble. - -2009-04-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * objc/execute/forward-1.x: Fix x86_64 entry typos. - -2009-04-10 Daniel Franke <franke.daniel@gmail.com> - - PR fortran/38709 - * gfortran.dg/zero_sized_6.f90: New. - -2009-04-10 Manuel López-Ibáñez <manu@gcc.gnu.org> - - PR c++/20118 - * g++.dg/parse/pr20118.C: New. - * g++.dg/template/spec16.C: Update. - -2009-04-09 H.J. Lu <hongjiu.lu@intel.com> - - PR testsuite/35621 - * gcc.target/i386/avx-vpabsb-1.c: Add -fno-strict-aliasing. - * gcc.target/i386/avx-vpabsb-1.c: Likewise. - * gcc.target/i386/avx-vpabsd-1.c: Likewise. - * gcc.target/i386/avx-vpabsw-1.c: Likewise. - * gcc.target/i386/avx-vpalignr-1.c: Likewise. - * gcc.target/i386/avx-vphaddd-1.c: Likewise. - * gcc.target/i386/avx-vphaddsw-1.c: Likewise. - * gcc.target/i386/avx-vphaddw-1.c: Likewise. - * gcc.target/i386/avx-vphsubd-1.c: Likewise. - * gcc.target/i386/avx-vphsubsw-1.c: Likewise. - * gcc.target/i386/avx-vphsubw-1.c: Likewise. - * gcc.target/i386/avx-vpmaddubsw-1.c: Likewise. - * gcc.target/i386/avx-vpmulhrsw-1.c: Likewise. - * gcc.target/i386/avx-vpshufb-1.c: Likewise. - * gcc.target/i386/avx-vpsignb-1.c: Likewise. - * gcc.target/i386/avx-vpsignd-1.c: Likewise. - * gcc.target/i386/avx-vpsignw-1.c: Likewise. - -2009-04-09 H.J. Lu <hongjiu.lu@intel.com> - - PR target/39678 - * g++.dg/torture/pr39678.C: New. - * gcc.dg/compat/struct-complex-2.h: Likewise. - * gcc.dg/compat/struct-complex-2_main.c: Likewise. - * gcc.dg/compat/struct-complex-2_x.c: Likewise. - * gcc.dg/compat/struct-complex-2_y.c: Likewise. - * gcc.dg/torture/pr39678.c: Likewise. - * gcc.target/i386/pr39678.c: Likewise. - - * gcc.dg/compat/struct-complex-1_x.c: Add -Wno-psabi. - * gcc.dg/compat/struct-complex-1_y.c: Likewise. - - * gcc.target/x86_64/abi/test_passing_structs.c: Include - <complex.h>. Add tests for structure with complex float. - -2009-04-10 Ben Elliston <bje@au.ibm.com> - Joseph Myers <joseph@codesourcery.com> - - PR target/36800 - * gcc.dg/dfp/pr36800.c: New. - -2009-04-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - Rafael Avila de Espindola <espindola@google.com> - - * gcc.misc-tests/help.exp: New file. - * lib/options.exp: New file. - -2009-04-09 Janis Johnson <janis187@us.ibm.com> - - PR libobjc/36610 - * objc/execute/forward-1.x: New. - -2009-04-09 Paolo Bonzini <bonzini@gnu.org> - - * gcc.dg/pr27150-1.c: Change to a link test. - -2009-04-09 Jakub Jelinek <jakub@redhat.com> - - * g++.dg/lookup/using2.C: Change copyright header to refer to version - 3 of the GNU General Public License and to point readers at the - COPYING3 file and the FSF's license web page. - * gcc.dg/fixed-point/fixed-point.exp: Likewise. - * gcc.dg/struct/struct-reorg.exp: Likewise. - * gcc.target/spu/tag_manager.c: Likewise. - -2009-04-09 Richard Guenther <rguenther@suse.de> - - PR testsuite/39696 - * ssa-ccp-25.c: Adjust pattern. - -2009-04-09 Janus Weil <janus@gcc.gnu.org> - - PR fortran/36704 - * gfortran.dg/external_procedures_1.f90: Modified. - * gfortran.dg/proc_ptr_result_1.f90: New. - * gfortran.dg/proc_ptr_result_2.f90: New. - * gfortran.dg/proc_ptr_result_3.f90: New. - -2009-04-09 Richard Guenther <rguenther@suse.de> - - * gcc.dg/vect/vect-54.c: Make constant input data file-scope - to prevent constant propagation. - * gcc.dg/vect/vect-56.c: Likewise. - * gcc.dg/vect/vect-58.c: Likewise. - * gcc.dg/vect/vect-60.c: Likewise. - * gcc.dg/vect/no-vfa-vect-57.c: Likewise. - * gcc.dg/vect/no-vfa-vect-61.c: Likewise. - * gcc.dg/tree-prof/stringop-2.c: Adjust expected outcome. - -2009-04-09 Richard Guenther <rguenther@suse.de> - - * gcc.dg/tree-ssa/ssa-ccp-25.c: New testcase. - * gcc.dg/tree-ssa/ssa-ccp-26.c: Likewise. - -2009-04-09 Joseph Myers <joseph@codesourcery.com> - - PR c/39613 - * gcc.dg/case-const-1.c, gcc.dg/case-const-2.c, gcc.dg/case-const-3.c: - New tests. - -2009-04-08 Joseph Myers <joseph@codesourcery.com> - - * gcc.dg/c99-stdint-1.c: Fix cut-and-paste mistakes in test. - * gcc.dg/c99-stdint-7.c, gcc.dg/c99-stdint-8.c: New tests. - -2009-04-08 Jakub Jelinek <jakub@redhat.com> - - * g++.dg/debug/dwarf2/static-data-member1.C: New test. - -2009-04-08 Jason Merrill <jason@redhat.com> - - PR c++/25185 - * g++.dg/template/error40.C: Add another test. - -2009-04-08 Joseph Myers <joseph@codesourcery.com> - - PR c/39614 - PR c/39673 - * gcc.c-torture/compile/pr39614-1.c, - gcc.c-torture/compile/pr39614-2.c, - gcc.c-torture/compile/pr39614-3.c, - gcc.c-torture/compile/pr39614-4.c, - gcc.c-torture/compile/pr39614-5.c, - gcc.c-torture/compile/pr39673-1.c, - gcc.c-torture/compile/pr39673-2.c: New tests. - * gcc.dg/gnu89-const-expr-2.c, gcc.dg/gnu99-const-expr-2.c: Test - more cases. - * gcc.dg/overflow-warn-1.c, gcc.dg/overflow-warn-2.c, - gcc.dg/overflow-warn-3.c, gcc.dg/overflow-warn-4.c: Update - expected errors. - -2009-04-08 Dodji Seketeli <dodji@redhat.com> - - PRc++/39637 - * g++.dg/cpp0x/variadic-crash2.C: New test. - -2009-04-08 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/38863 - * gfortran.dg/alloc_comp_result_1.f90: New test. - -2009-04-07 Jason Merrill <jason@redhat.com> - - PR c++/34691 - * g++.dg/overload/extern-C-1.C: New. - -2009-04-07 Dominique d'Humieres <dominiq@lps.ens.fr> - - PR testsuite/39325 - * gcc.misc-tests/linkage.exp: Use -m64 for 64-bit *86*-darwin. - -2009-04-07 Jason Merrill <jason@redhat.com> - - PR c++/25185 - * g++.dg/template/error40.C: New. - -2009-04-07 Janus Weil <janus@gcc.gnu.org> - - PR fortran/38152 - * gfortran.dg/proc_ptr_13.f90: Add "-g" option. - -2009-04-07 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/subp_elim_errors.ad[sb]: New test. - -2009-04-07 Janus Weil <janus@gcc.gnu.org> - - PR fortran/38290 - * gfortran.dg/proc_decl_1.f90: Modified. - * gfortran.dg/proc_ptr_11.f90: Extended. - * gfortran.dg/proc_ptr_13.f90: Modified. - -2009-04-06 Jason Merrill <jason@redhat.com> - - PR c++/35146 - * g++.dg/template/fnspec1.C: New. - -2009-04-06 Laurent GUERBY <laurent@guerby.net> - - * lib/gnat.exp: Handle multilib. - -2009-04-06 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/38863 - * gfortran.dg/dependency_23.f90: New test. - -2009-04-06 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/28868 - * gcc.dg/tree-ssa/ssa-fre-21.c: New testcase. - * gcc.dg/tree-ssa/ssa-sccvn-1.c: Adjust. - * gcc.dg/tree-ssa/ssa-sccvn-2.c: Likewise. - * gcc.dg/tree-ssa/ssa-sccvn-4.c: Likewise. - -2009-04-06 Andrew Stubbs <ams@codesourcery.com> - - * gcc.dg/pragma-isr-trapa2.c: Skip test for FPU-less architectures. - -2009-04-06 Andrew Stubbs <ams@codesourcery.com> - - * gcc.target/sh/sh4a-memmovua.c: Include string.h instead of stdlib.h. - -2009-04-06 Andrew Stubbs <ams@codesourcery.com> - - * gcc.target/sh/sh4a-bitmovua.c (y0): Rename to y_0 to avoid a clash - with the built-in y0, and the subsequent warning. - (y1): Likewise, rename to y_1. - -2009-04-06 Janus Weil <janus@gcc.gnu.org> - - PR fortran/39414 - * gfortran.dg/proc_decl_21.f90: New. - -2009-04-06 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/36091 - * gfortran.dg/forall_13.f90: Add -fbounds-check option. - -2009-04-06 Hans-Peter Nilsson <hp@axis.com> - - * gfortran.dg/namelist_51.f90, gfortran.dg/utf8_2.f03, - gfortran.dg/namelist_48.f90, gfortran.dg/read_repeat.f90, - gfortran.dg/streamio_9.f90, gfortran.dg/widechar_IO_1.f90, - gfortran.dg/namelist_50.f90, gfortran.dg/namelist_52.f90, - gfortran.dg/utf8_1.f03, gfortran.dg/namelist_56.f90, - gfortran.dg/namelist_49.f90: Gate test on effective_target - fd_truncate. - * gfortran.dg/widechar_IO_3.f90: Ditto. Fix typo in comment. - -2009-04-05 Daniel Kraft <d@domob.eu> - - PR fortran/38654 - * gfortran.dg/read_float_2.f03 - * gfortran.dg/read_float_3.f90 - -2009-04-05 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/39648 - * gcc.c-torture/compile/pr39648.c: New testcase. - -2009-04-05 Jason Merrill <jason@redhat.com> - - PR c++/14912 - * g++.dg/template/error39.C: New. - -2009-04-05 Daniel Franke <franke.daniel@gmail.com> - - PR fortran/29458 - * gfortran.dg/implied_do_1.f90: New. - -2009-04-04 Tobias Burnus <burnus@net-b.de> - - PR fortran/39577 - * gfortran.dg/recursive_check_8.f90: New. - * gfortran.dg/recursive_check_9.f90: New. - * gfortran.dg/recursive_check_10.f90: New. - * gfortran.dg/recursive_check_11.f90: New. - * gfortran.dg/recursive_check_12.f90: New. - * gfortran.dg/recursive_check_13.f90: New. - * gfortran.dg/recursive_check_14.f90: New. - -2009-04-04 Jason Merrill <jason@redhat.com> - - PR c++/25185 - * g++.dg/template/error38.C: Add more tests. - -2009-04-04 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/37614 - * gfortran.dg/common_align_2.f90: New test. - -2009-04-04 Richard Earnshaw <rearnsha@arm.com> - - PR target/39501 - * gcc.c-torture/execute/pr39501.c: New file. - * gcc.c-torture/execute/pr39501.x: New file. - -2009-04-04 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/8781 - PR tree-optimization/37892 - * g++.dg/tree-ssa/pr8781.C: New testcase. - * gcc.dg/tree-ssa/ssa-pre-25.c: Likewise. - -2009-04-04 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/39636 - * gcc.c-torture/compile/pr39636.c: New testcase. - -2009-04-03 H.J. Lu <hongjiu.lu@intel.com> - - PR rtl-optimization/39607 - * g++.dg/opt/pr39607.C: New. - -2009-04-03 Tobias Burnus <burnus@net-b.de> - - PR fortran/39594 - * gfortran.dg/common_12.f90: New. - -2009-04-03 Jason Merrill <jason@redhat.com> - - PR c++/39608 - * g++.dg/template/const2.C: New test. - -2009-04-03 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/2480 - PR tree-optimization/23086 - * gcc.dg/tree-ssa/pr2480.c: New testcase. - * gcc.dg/tree-ssa/pr23086.c: Likewise. - -2009-04-03 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/34743 - * gcc.dg/pr38984.c: Remove XFAIL, adjust. - * gcc.dg/tree-ssa/20070302-1.c: Remove XFAIL. - * gcc.dg/tree-ssa/alias-18.c: Likewise. - * gcc.dg/tree-ssa/sra-3.c: Likewise. - * gcc.dg/vect/no-vfa-vect-49.c: Likewise. - * gcc.dg/vect/no-vfa-vect-53.c: Likewise. - * gcc.dg/vect/no-vfa-vect-57.c: Likewise. - * gcc.dg/vect/no-vfa-vect-61.c: Likewise. - -2009-04-03 Richard Guenther <rguenther@suse.de> - - PR middle-end/13146 - PR tree-optimization/23940 - PR tree-optimization/33237 - PR middle-end/33974 - PR middle-end/34093 - PR tree-optimization/36201 - PR tree-optimization/36230 - PR tree-optimization/38049 - PR tree-optimization/38207 - PR tree-optimization/38230 - PR tree-optimization/38301 - PR tree-optimization/38585 - PR middle-end/38895 - PR tree-optimization/38985 - PR tree-optimization/39299 - * gcc.dg/pr19633-1.c: Adjust. - * gcc.dg/torture/pta-callused-1.c: Likewise. - * gcc.dg/torture/pr39074-2.c: Likewise. - * gcc.dg/torture/pr39074.c: Likewise. - * gcc.dg/torture/pta-ptrarith-3.c: New testcase. - * gcc.dg/torture/pr30375.c: Adjust. - * gcc.dg/torture/pr33563.c: Likewise. - * gcc.dg/torture/pr33870.c: Likewise. - * gcc.dg/torture/pr33560.c: Likewise. - * gcc.dg/torture/pta-structcopy-1.c: New testcase. - * gcc.dg/torture/ssa-pta-fn-1.c: Likewise. - * gcc.dg/tree-ssa/alias-15.c: Remove. - * gcc.dg/tree-ssa/ssa-dce-4.c: New testcase. - * gcc.dg/tree-ssa/pr26421.c: Adjust. - * gcc.dg/tree-ssa/ssa-fre-10.c: XFAIL. - * gcc.dg/tree-ssa/ssa-dce-5.c: New testcase. - * gcc.dg/tree-ssa/pr23382.c: Adjust. - * gcc.dg/tree-ssa/ssa-fre-20.c: New testcase. - * gcc.dg/tree-ssa/alias-16.c: Adjust. - * gcc.dg/tree-ssa/ssa-fre-13.c: Likewise. - * gcc.dg/tree-ssa/ssa-fre-14.c: Likewise. - * gcc.dg/tree-ssa/alias-18.c: Likewise. - * gcc.dg/tree-ssa/ssa-fre-15.c: Likewise. - * gcc.dg/tree-ssa/ssa-lim-3.c: Likewise. - * gcc.dg/tree-ssa/alias-19.c: Likewise. - * gcc.dg/tree-ssa/pta-ptrarith-1.c: New testcase. - * gcc.dg/tree-ssa/pr13146.c: Likewise. - * gcc.dg/tree-ssa/ssa-pre-23.c: Likewise. - * gcc.dg/tree-ssa/pta-ptrarith-2.c: Likewise. - * gcc.dg/tree-ssa/ssa-fre-18.c: Likewise. - * gcc.dg/tree-ssa/ssa-pre-24.c: New XFAILed testcase. - * gcc.dg/tree-ssa/ssa-fre-19.c: New testcase. - * gcc.dg/tree-ssa/alias-20.c: Likewise. - * gcc.dg/tree-ssa/ssa-dse-12.c: Likewise. - * gcc.dg/tree-ssa/pr38895.c: Likewise. - * gcc.dg/uninit-B.c: XFAIL. - * gcc.dg/vect/no-vfa-vect-43.c: Adjust. - * gcc.dg/uninit-pr19430.c: XFAIL. - * g++.dg/tree-ssa/pr13146.C: New testcase. - * g++.dg/opt/pr36187.C: Adjust. - * g++.dg/torture/20090329-1.C: New testcase. - -2009-04-02 Chao-ying Fu <fu@mips.com> - - * gcc.target/mips/interrupt_handler.c: New test. - -2009-04-02 David Ayers <ayers@fsfe.org> - - PR objc/18456 - * objc.dg/bad-receiver-type-2.m: New test contributed by - Alexander Mamberg. - -2009-04-02 Jason Merrill <jason@redhat.com> - - PR c++/25185 - * g++.dg/template/error38.C: New test. - -2009-04-02 Janis Johnson <janis187@us.ibm.com> - - PR tree-optimization/31677 - * gcc.dg/memcpy-1.c: Add compiler option. - -2009-04-02 Ira Rosen <irar@il.ibm.com> - - PR tree-optimization/39595 - * gfortran.dg/vect/O3-pr39595.f: New test. - -2009-04-02 Dodji Seketeli <dodji@redhat.com> - - PR c++/26693 - * g++.dg/template/typedef11.C: New test. - * g++.dg/template/typedef12.C: Likewise. - * g++.dg/template/typedef13.C: Likewise. - * g++.dg/template/typedef14.C: Likewise. - * g++.dg/template/typedef15.C: Likewise. - * g++.dg/template/typedef16.C: Likewise. - * g++.dg/template/sfinae3.C: Compile this pedantically. - The only errors expected should be the one saying the typedef is ill - formed. - * g++.old-deja/g++.pt/typename8.C: Likewise. - * g++.dg/template/access11.C: Update this. - -2009-04-02 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/37221 - * gcc.c-torture/compile/20090331-1.c: New testcase. - -2009-04-01 Eric Botcazou <ebotcazou@adacore.com> - - * gcc.c-torture/compile/20090401-1.c: New test. - -2009-04-01 H.J. Lu <hongjiu.lu@intel.com> - - PR c++/4926 - * g++.dg/template/pr4926-1.C: New. - -2009-04-01 Xinliang David Li <davidxl@google.com> - - * gcc.target/i386/all_one_m128i.c: New test. - -2009-04-01 Janis Johnson <janis187@us.ibm.com> - - PR c/39027 - * gcc.dg/fltconst-1.c: Don't error for use of d or D in suffix. - * gcc.dg/fltconst-2.c: New test. - * gcc.dg/fltconst-double-pedantic-1.c: New test. - * gcc.dg/fltconst-double-pedantic-2.c: New test. - - PR c/33466 - * gcc.dg/cpp/pr33466.c: New test. - * gcc.dg/dfp/pr33466.c: New test. - * gcc.dg/fixed-point/pr33466.c: New test. - -2009-04-01 H.J. Lu <hongjiu.lu@intel.com> - - PR tree-optimization/35011 - * g++.dg/other/pr35011.C: New. - -2009-04-01 Jakub Jelinek <jakub@redhat.com> - - PR target/39226 - * gcc.dg/pr39226.c: New test. - -2009-04-01 H.J. Lu <hongjiu.lu@intel.com> - - PR c++/35240 - * g++.dg/template/pr35240.C: New. - -2009-04-01 Joseph Myers <joseph@codesourcery.com> - - PR c/39605 - * gcc.dg/vla-17.c, gcc.dg/vla-18.c: New tests. - * gcc.dg/pr25682.c: Update expected diagnostics. - -2009-04-01 Richard Guenther <rguenther@suse.de> - - * gcc.dg/fold-plusmult-2.c: New testcase. - -2009-04-01 Jakub Jelinek <jakub@redhat.com> - - PR c/37772 - * gcc.dg/pr37772.c: New test. - * g++.dg/ext/asm11.C: New test. - -2009-04-01 H.J. Lu <hongjiu.lu@intel.com> - - * lib/target-libpath.exp (restore_ld_library_path_env_vars): Always - restore GCC_EXEC_PREFIX to its original value, or unset if it was not - defined. - -2009-03-31 Jason Merrill <jason@redhat.com> - - * g++.old-deja/g++.other/using9.C: Add expected errors. - -2009-03-31 H.J. Lu <hongjiu.lu@intel.com> - - * gcc.c-torture/compile/pr33009.c: Removed. - -2009-03-31 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> - - * gcc.c-torture/compile/pr33009.c: Delete. - * gcc.c-torture/compile/pr11832.c: Likewise. - -2009-03-31 Joseph Myers <joseph@codesourcery.com> - - PR c/448 - * lib/target-supports.exp (check_effective_target_stdint_types): - Update comment. - (check_effective_target_inttypes_types): New. - * gcc.dg/c99-stdint-1.c, gcc.dg/c99-stdint-2.c, - gcc.dg/c99-stdint-3.c, gcc.dg/c99-stdint-4.c, - gcc.dg/c99-stdint-5.c, gcc.dg/c99-stdint-6.c: New tests. - -2009-03-31 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/38917 - PR fortran/38918 - * gfortran.dg/data_pointer_1.f90: New test. - -2009-03-31 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/38915 - * gfortran.dg/char_length_15.f90: New test. - -2009-03-31 Jason Merrill <jason@redhat.com> - - C++ DR 613 - * g++.old-deja/g++.dg/cpp0x/decltype3.C: Remove expected errors. - * g++.old-deja/g++.ext/typeof2.C: Remove expected errors. - * g++.old-deja/g++.other/sizeof2.C: Remove some expected errors, - xfail others. - - * g++.dg/other/typedef2.C: New test. - - PR c++/37806 - * g++.dg/template/typedef17.C: New test. - - * g++.dg/cpp0x/auto6.C: Adjust expected mangling. - * g++.dg/cpp0x/auto12.C: Likewise. - -2009-03-31 Richard Guenther <rguenther@suse.de> - - PR middle-end/31029 - * gcc.dg/fold-compare-4.c: New testcase. - * gcc.dg/fold-compare-5.c: Likewise. - -2009-03-31 Richard Guenther <rguenther@suse.de> - - * gcc.dg/tree-ssa/forwprop-12.c: New testcase. - -2009-03-31 Joseph Myers <joseph@codesourcery.com> - - PR target/39592 - * gcc.target/i386/pr39592-1.c: New test. - -2009-03-31 Joseph Myers <joseph@codesourcery.com> - - PR preprocessor/15638 - * gcc.dg/cpp/missing-header-1.c: New test. - * gcc.dg/cpp/include2.c: Only test #include <>. Expect - "compilation terminated" message. - * gcc.dg/cpp/include2a.c: New test. Copy of include2.c but only - test #include "". - * gcc.dg/pch/counter-2.c, gcc.dg/pch/valid-1.c, - gcc.dg/pch/valid-2.c, gcc.dg/pch/warn-1.c: Expect "compilation - terminated" message. - -2009-03-31 Richard Guenther <rguenther@suse.de> - - PR middle-end/23401 - PR middle-end/27810 - * gcc.dg/tree-ssa/pr23401.c: New testcase. - * gcc.dg/tree-ssa/pr27810.c: Likewise. - -2009-03-30 Steven G. Kargl <kargls@comcast.net> - - PR fortran/38389 - * gfortran.dg/alloc_alloc_expr_1.f90: Adjust for new error message. - * gfortran.dg/allocate_alloc_opt_1.f90: New test. - * gfortran.dg/allocate_alloc_opt_2.f90: Ditto. - * gfortran.dg/allocate_alloc_opt_3.f90: Ditto. - * gfortran.dg/deallocate_alloc_opt_1.f90: Ditto. - * gfortran.dg/deallocate_alloc_opt_2.f90: Ditto. - * gfortran.dg/deallocate_alloc_opt_3.f90: Ditto. - -2009-03-30 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/22571 - * gfortran.dg/whole_file_1.f90: New test. - PR fortran/26227 - * gfortran.dg/whole_file_2.f90: New test. - * gfortran.dg/whole_file_3.f90: New test. - PR fortran/24886 - * gfortran.dg/whole_file_4.f90: New test. - -2009-03-30 Jakub Jelinek <jakub@redhat.com> - - * gfortran.dg/bind_c_usage_19.f90: New test. - - PR target/39558 - * gcc.target/powerpc/altivec-29.c: New test. - -2009-03-30 Joseph Myers <joseph@codesourcery.com> - - PR rtl-optimization/323 - * gcc.target/i386/excess-precision-1.c, - gcc.target/i386/excess-precision-2.c, - gcc.target/i386/excess-precision-3.c, - gcc.target/i386/excess-precision-4.c, - gcc.target/i386/excess-precision-5.c, - gcc.target/i386/excess-precision-6.c: New tests. - -2009-03-30 Joseph Myers <joseph@codesourcery.com> - - PR c/35235 - * gcc.dg/c99-array-lval-8.c: New test. - -2009-03-29 Joseph Myers <joseph@codesourcery.com> - - PR preprocessor/34695 - * gcc.dg/builtin-redefine.c, gcc.dg/cpp/redef2.c, - gcc.dg/cpp/redef3.c, gcc.dg/cpp/trad/redef2.c: Use dg-message - instead of dg-warning for "previous definition" messages. - * gcc.dg/cpp/Wvariadic-1.c, gcc.dg/cpp/Wvariadic-3.c: Expect - "warnings being treated as errors" message. - * gcc.dg/fltconst-1.c: Use -fshow-column. - -2009-03-29 Steven G. Kargl <kargl@gcc.gnu.org> - - PR fortran/38823 - * gfortran.dg/power1.f90: New test. - -2009-03-29 Joseph Myers <joseph@codesourcery.com> - - PR c/456 - PR c/5675 - PR c/19976 - PR c/29116 - PR c/31871 - PR c/35198 - * gcc.c-torture/compile/20081108-1.c, - gcc.c-torture/compile/20081108-2.c, - gcc.c-torture/compile/20081108-3.c, gcc.dg/bconstp-2.c, - gcc.dg/bconstp-3.c, gcc.dg/bconstp-4.c, gcc.dg/c90-const-expr-6.c, - gcc.dg/c90-const-expr-7.c, gcc.dg/c90-const-expr-8.c, - gcc.dg/c90-const-expr-9.c, gcc.dg/c90-const-expr-10.c, - gcc.dg/c90-const-expr-11.c, gcc.dg/c99-const-expr-6.c, - gcc.dg/c99-const-expr-7.c, gcc.dg/c99-const-expr-8.c, - gcc.dg/c99-const-expr-9.c, gcc.dg/c99-const-expr-10.c, - gcc.dg/c99-const-expr-11.c, gcc.dg/c99-const-expr-12.c, - gcc.dg/c99-const-expr-13.c, gcc.dg/compare10.c, - gcc.dg/gnu89-const-expr-1.c, gcc.dg/gnu89-const-expr-2.c, - gcc.dg/gnu99-const-expr-1.c, gcc.dg/gnu99-const-expr-2.c, - gcc.dg/gnu99-const-expr-3.c, gcc.dg/vla-12.c, gcc.dg/vla-13.c, - gcc.dg/vla-14.c, gcc.dg/vla-15.c, gcc.dg/vla-16.c: New tests. - * gcc.dg/c90-const-expr-1.c, gcc.dg/c90-const-expr-2.c, - gcc.dg/c90-const-expr-3.c, gcc.dg/c99-const-expr-2.c, - gcc.dg/c99-const-expr-3.c, gcc.dg/c99-static-1.c: Remove XFAILs. - * gcc.dg/c90-const-expr-2.c: Use ZERO in place of 0 in another - case. - * gcc.dg/overflow-warn-1.c, gcc.dg/overflow-warn-2.c, - gcc.dg/overflow-warn-3.c, gcc.dg/overflow-warn-4.c: Remove - XFAILs. Update expected messages. - * gcc.dg/pr14649-1.c, gcc.dg/pr19984.c, gcc.dg/pr25682.c: Update - expected messages. - * gcc.dg/real-const-1.c: Replace with test from original PR. - * gcc.dg/vect/pr32230.c: Use intermediate cast to __PTRDIFF_TYPE__ - when casting from non-constant integer to pointer. - -2009-03-29 Richard Guenther <rguenther@suse.de> - - * gcc.dg/tree-ssa/forwprop-11.c: New testcase. - -2009-03-29 Daniel Kraft <d@domob.eu> - - PR fortran/37423 - * gfortran.dg/typebound_proc_4.f03: Remove not-implemented check for - DEFERRED bindings. - * gfortran.dg/typebound_proc_9.f03: New test. - * gfortran.dg/typebound_proc_10.f03: New test. - * gfortran.dg/typebound_proc_11.f03: New test. - * gfortran.dg/abstract_type_5.f03: New test. - -2009-03-29 Tobias Schlüter <tobi@gcc.gnu.org> - - PR fortran/38507 - * gfortran.dg/do_4.f: New. - * gfortran.dg/goto_2.f90: Correct expected warnings. - * gfortran.dg/goto_4.f90: Likewise. - * gfortran.dg/goto_5.f90: New. - -2009-03-29 H.J. Lu <hongjiu.lu@intel.com> - - PR target/39545 - * gcc.c-torture/compile/pr16566-2.c: Add -Wno-psabi for x86-64. - - * gcc.target/i386/pr39545-1.c: New. - * gcc.target/i386/pr39545-2.c: Likewise. - - * gcc.target/x86_64/abi/test_passing_structs.c (flex1_struct): New. - (flex2_struct): Likewise. - (check_struct_passing7): Likewise. - (check_struct_passing8): Likewise. - (f1s): Likewise. - (f2s): Likewise. - (main): Call check_struct_passing7 and check_struct_passing8. - -2009-03-29 Richard Guenther <rguenther@suse.de> - - * gcc.c-torture/execute/20090113-1.c: New testcase. - * gcc.c-torture/execute/20090113-2.c: Likewise. - * gcc.c-torture/execute/20090113-3.c: Likewise. - * gcc.c-torture/execute/20090207-1.c: Likewise. - * gcc.c-torture/compile/20090114-1.c: Likewise. - * gcc.c-torture/compile/20090328-1.c: Likewise. - * gcc.dg/noncompile/920507-1.c: Fix out-of-bounds array access. - -2009-03-29 David Ayers <ayers@fsfe.org> - - PR objc/27377 - * objc.dg/conditional-1.m: New tests. - -2009-03-28 Adam Nemet <anemet@caviumnetworks.com> - - * gcc.dg/winline-10.c: New test. - -2009-03-28 Tobias Burnus <burnus@net-b.de> - - PR fortran/34656 - * gfortran.dg/do_check_1.f90: Add test. - * gfortran.dg/do_check_2.f90: Add test. - * gfortran.dg/do_check_3.f90: Add test. - * gfortran.dg/do_check_4.f90: Add test. - -2009-03-28 Jan Hubicka <jh@suse.cz> - - * gcc.dg/attr-noinline.c: Avoid pure-const optimization. - * gcc.dg/pr33826.c: Update dump files. - * gcc.dg/ipa/ipa-3.c: Avoid pure-const optimization. - * gcc.dg/ipa/ipa-5.c: Avoid pure-const optimization. - -2009-03-28 Martin Jambor <mjambor@suse.cz> - - * g++.dg/tree-ssa/fwprop-align.C: New test. - -2009-03-28 Jakub Jelinek <jakub@redhat.com> - - * gcc.target/powerpc/altivec-28.c: New test. - - PR c++/39554 - * gcc.dg/wdisallowed-functions-1.c: Removed. - * gcc.dg/wdisallowed-functions-2.c: Removed. - * gcc.dg/wdisallowed-functions-3.c: Removed. - * g++.dg/warn/Wdisallowed-functions-1.C: Removed. - * g++.dg/warn/Wdisallowed-functions-2.C: Removed. - * g++.dg/warn/Wdisallowed-functions-3.C: Removed. - -2009-03-28 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/38723 - * gcc.dg/tree-ssa/ssa-fre-22.c: New testcase. - -2009-03-28 Paul Thomas <pault@gcc.gnu.org - - PR fortran/38538 - * gfortran.dg/char_result_13.f90: New test. - -2009-03-28 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/38765 - * gfortran.dg/alloc_comp_assign_9.f90: New test. - -2009-03-28 Daniel Kraft <d@domob.eu> - - * gfortran.dg/trim_1.f90: New test. - -2009-03-28 Richard Guenther <rguenther@suse.de> - - * gcc.dg/Warray-bounds.c: Do not use redundant stores. - * g++.dg/warn/Warray-bounds.C: Likewise. - -2009-03-28 Tobias Burnus <burnus@net-b.de> - - PR fortran/32626 - * gfortran.dg/recursive_check_7.f90: New test. - -2009-03-28 Tobias Burnus <burnus@net-b.de> - - PR fortran/38432 - * gfortran.dg/do_check_5.f90: New test. - * gfortran.dg/array_constructor_11.f90: Add dg-warning. - * gfortran.dg/array_constructor_18.f90: Ditto. - * gfortran.dg/array_constructor_22.f90: Ditto. - * gfortran.dg/do_3.F90: Ditto. - * gfortran.dg/do_1.f90: Ditto. - -2009-03-28 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/38180 - * gcc.dg/tree-ssa/ssa-ccp-24.c: New testcase. - -2009-03-28 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/38513 - * gcc.dg/tree-ssa/ssa-fre-21.c: New testcase. - * gcc.dg/tree-ssa/ssa-dse-11.c: Adjust. - * gcc.dg/vect/vect-reduc-dot-u8a.c: Likewise. - * gcc.dg/vect/vect-reduc-dot-u8b.c: Likewise. - * gcc.dg/vect/slp-widen-mult-u8.c: Likewise. - * gcc.dg/vect/vect-multitypes-16.c: Likewise. - * gcc.dg/vect/vect-35.c: Likewise. - * gcc.dg/vect/wrapv-vect-reduc-dot-s8b.c: Likewise. - * gcc.dg/vect/vect-multitypes-17.c: Likewise. - * gcc.dg/vect/slp-widen-mult-s16.c: Likewise. - -2009-03-28 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/38968 - * gfortran.dg/vect/fast-math-pr38968.f90: New testcase. - -2009-03-28 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/37795 - * gcc.dg/tree-ssa/ssa-ifcombine-7.c: New testcase. - -2009-03-28 Joseph Myers <joseph@codesourcery.com> - - * g++.old-deja/g++.ext/attrib5.C, g++.old-deja/g++.jason/thunk3.C, - gcc.c-torture/compile/981006-1.c: Don't XFAIL or add special - options for removed targets. - -2009-03-27 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/39120 - * gcc.c-torture/execute/pr39120.c: New testcase. - -2009-03-27 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/39120 - * gcc.dg/torture/pta-callused-1.c: New testcase. - -2009-03-27 H.J. Lu <hongjiu.lu@intel.com> - - PR middle-end/39315 - * gcc.target/i386/pr39315-1.c: New. - * gcc.target/i386/pr39315-2.c: Likewise. - * gcc.target/i386/pr39315-3.c: Likewise. - * gcc.target/i386/pr39315-4.c: Likewise. - * gcc.target/i386/pr39315-check.c: Likewise. - -2009-03-27 H.J. Lu <hongjiu.lu@intel.com> - - PR c/39323 - * gcc.dg/pr39323-1.c: New. - * gcc.dg/pr39323-2.c: Likewise. - * gcc.dg/pr39323-3.c: Likewise. - -2009-03-27 H.J. Lu <hongjiu.lu@intel.com> - - PR target/38034 - * gcc.target/ia64/sync-1.c: New. - -2009-03-27 H.J. Lu <hongjiu.lu@intel.com> - - PR target/39472 - * gcc.target/x86_64/abi/callabi/func-2a.c: New. - * gcc.target/x86_64/abi/callabi/func-2b.c: Likewise. - * gcc.target/x86_64/abi/callabi/func-indirect-2a.c: Likewise. - * gcc.target/x86_64/abi/callabi/func-indirect-2b.c: Likewise. - * gcc.target/x86_64/abi/callabi/vaarg-4a.c: Likewise. - * gcc.target/x86_64/abi/callabi/vaarg-4b.c: Likewise. - * gcc.target/x86_64/abi/callabi/vaarg-5a.c: Likewise. - * gcc.target/x86_64/abi/callabi/vaarg-5b.c: Likewise. - -2009-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * gcc.dg/torture/builtin-explog-1.c: Remove tests that aren't true - for low precision (i.e. float). - -2009-03-27 Dodji Seketeli <dodji@redhat.com> - Jakub Jelinek <jakub@redhat.com> - - PR debug/37959 - * g++.dg/debug/dwarf2/explicit-constructor.C: New test. - -2009-03-27 Jakub Jelinek <jakub@redhat.com> - - * gcc.dg/memmove-2.c: New test. - * gcc.dg/memmove-3.c: New test. - - * gcc.dg/ipa/ipacost-1.c: Adjust match pattern for change - in clone naming. - -2009-03-27 Xinliang David Li <davidxl@google.com> - - PR tree-optimization/39557 - * g++.dg/tree-ssa/dom-invalid.C: New test. - -2009-03-27 Xinliang David Li <davidxl@google.com> - - PR tree-optimization/39548 - * g++.dg/tree-ssa/copyprop.C: New test. - -2009-03-27 Andrew Pinski <andrew_pinski@playstation.sony.com> - - PR c++/38638 - * g++.dg/template/typename17.C: New testcase. - * g++.dg/template/typename18.C: New testcase. - -2009-03-27 Andrew Pinski <andrew_pinski@playstation.sony.com> - - PR c++/36799 - * g++.dg/other/var_copy-1.C: New test. - -2009-03-27 Simon Martin <simartin@users.sourceforge.net> - - PR c++/37647 - * g++.dg/parse/ctor9.C: New test. - -2009-03-27 Simon Martin <simartin@users.sourceforge.net> - - PR c++/29727 - * g++.dg/init/error2.C: New test. - -2009-03-27 Manuel Lopez-Ibanez <manu@gcc.gnu.org> - - PR c++/35652 - * gcc.dg/pr35652.C: New. - * g++.dg/warn/pr35652.C: New. - * gcc.dg/format/plus-1.c: Adjust message. - -2009-03-26 Jakub Jelinek <jakub@redhat.com> - - PR c++/39554 - * gcc.dg/wdisallowed-functions-3.c: New test. - * g++.dg/warn/Wdisallowed-functions-3.C: New test. - -2009-03-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - * gcc.dg/inline-33.c: Fix when pic. - -2009-03-25 Alexander Monakov <amonakov@ispras.ru> - - * gcc.target/ia64/20090324-1.c: New test. - -2009-03-25 Jakub Jelinek <jakub@redhat.com> - - PR c/27898 - * gcc.dg/pr27898.c: New test. - - PR tree-optimization/32139 - * gcc.c-torture/compile/pr32139.c: New test. - -2009-03-24 Jason Merrill <jason@redhat.com> - - PR c++/28274 - * g++.dg/parse/defarg14.C: New test. - -2009-03-24 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR libfortran/39528 - * gfortran.dg/read_repeat.f90: New test. - -2009-03-24 Ira Rosen <irar@il.ibm.com> - - PR tree-optimization/39529 - * gcc.dg/vect/pr39529.c: New test. - -2009-03-24 Dodji Seketeli <dodji@redhat.com> - Jakub Jelinek <jakub@redhat.com> - - PR debug/39524 - * g++.dg/debug/dwarf2/imported-decl-1.C: New test. - -2009-03-23 Jakub Jelinek <jakub@redhat.com> - - PR c/39495 - * gcc.dg/gomp/pr39495-2.c: Remove xfails. - -2009-03-23 Jason Merrill <jason@redhat.com> - - * g++.dg/cpp0x/auto12.C: Add variadic test. - - PR c++/39526 - * g++.dg/warn/Wshadow-4.C: New test. - -2009-03-23 Jakub Jelinek <jakub@redhat.com> - - PR tree-optimization/39516 - * gfortran.dg/pr39516.f: New test. - -2009-03-22 Hans-Peter Nilsson <hp@axis.com> - - * lib/target-libpath.exp (set_ld_library_path_env_vars): - Correct TEST_GCC_EXEC_PREFIX test to check existence as a tcl - variable, not environment variable. - -2009-03-21 Jason Merrill <jason@redhat.com> - - PR c++/28879 - * g++.dg/ext/vla6.C: New test. - -2009-03-20 Jason Merrill <jason@redhat.com> - - * g++.dg/cpp0x/initlist5.C: Add additional test. - -2009-03-19 Jakub Jelinek <jakub@redhat.com> - Janis Johnson <janis187@us.ibm.com> - - * lib/compat.exp (compat-get-options-main, compat-get-options): - Handle dg-prune-output in source file. - * lib/gcc-defs.exp (${tool}_check_compile): Process prune requests. - * gcc.dg/compat/struct-layout-1_main.c: Use dg-prune for warning. - * gcc.dg/compat/struct-layout-1_generate.c: Use -Wno-abi, prune - two warnings. - -2009-03-19 Jakub Jelinek <jakub@redhat.com> - - PR c/39495 - * gcc.dg/gomp/pr39495-1.c: New test. - * gcc.dg/gomp/pr39495-2.c: New test. - * g++.dg/gomp/pr39495-1.C: New test. - * g++.dg/gomp/pr39495-2.C: New test. - - PR target/39496 - * gcc.target/i386/pr39496.c: New test. - * g++.dg/other/pr39496.C: New test. - -2009-03-19 Li Feng <nemokingdom@gmail.com> - - PR middle-end/39500 - * gcc.dg/autopar/pr39500-1.c: New. - * gcc.dg/autopar/pr39500-2.c: New. - -2009-03-18 H.J. Lu <hongjiu.lu@intel.com> - - * g++.dg/dg.exp: Prune graphite. - -2009-03-18 Sebastian Pop <sebastian.pop@amd.com> - - PR middle-end/39447 - * g++.dg/graphite: New. - * g++.dg/graphite/graphite.exp: New. - * g++.dg/graphite/pr39447.C: New. - -2009-03-18 H.J. Lu <hongjiu.lu@intel.com> - - PR c++/39425 - * g++.dg/template/pr39425.C: New. - - * g++.dg/template/spec33.C: Updated. - -2009-03-17 Jason Merrill <jason@redhat.com> - - * g++.dg/cpp0x/auto6.C, auto12.C: Update mangling. - -2009-03-17 Paolo Carlini <paolo.carlini@oracle.com> - - PR c++/39475 - * g++.dg/ext/unary_trait_incomplete.C: New. - -2009-03-17 Jing Yu <jingyu@google.com> - - PR middle-end/39378 - * g++.dg/inherit/thunk10.C: New test. - -2009-03-17 Uros Bizjak <ubizjak@gmail.com> - - PR target/39482 - * gcc.target/i386/pr39482.c: New test. - -2009-03-17 Jakub Jelinek <jakub@redhat.com> - - PR debug/39471 - * g++.dg/debug/dwarf2/imported-module-2.C: Expect - DW_TAG_imported_module, not just any DW_TAG_imported prefixed tag. - * g++.dg/debug/dwarf2/imported-module-3.C: Likewise. - * g++.dg/debug/dwarf2/imported-module-4.C: Likewise. - - PR middle-end/39443 - * gcc.dg/pr39443.c: New test. - - PR debug/39412 - * gcc.dg/debug/pr39412.c: New test. - -2009-03-17 Janis Johnson <janis187@us.ibm.com> - - PR testsuite/38526 - * lib/target-libpath.exp (set_ld_library_path_env_vars): Save - existing GCC_EXEC_PREFIX, set to TEST_GCC_EXEC_PREFIX if that - is defined. - (restore_ld_library_path_env_vars): Restore GCC_EXEC_PREFIX to - its original value, or unset if it was not defined. - * gcc.dg/compat/struct-layout-1.exp: Use set/restore library - path procs around use of HOSTCC. - * g++.dg/compat/struct-layout-1.exp: Ditto. - * objc.dg/gnu-encoding/gnu-encoding.exp: Ditto. - -2009-03-16 H.J. Lu <hongjiu.lu@intel.com> - - * gcc.target/x86_64/abi/callabi/func-indirect.c (main): Return 0. - -2009-03-16 Janis Johnson <janis187@us.ibm.com> - - Revert patch for PR testsuite/37630. - - PR testsuite/37960 - * gcc.dg/pr11492.c: Replace constant and remove xfail. - - PR testsuite/37630 - * lib/target-supports.exp (check_effective_target_ieee): New. - * gcc.c-torture/execute/ieee/ieee.exp: Use it. - * gcc.dg/20001012-1.c: Require ieee. - - PR testsuite/37628 - * gcc.c-torture/execute/pr35456.x: New, skip test for vax. - -2009-03-16 Jakub Jelinek <jakub@redhat.com> - - PR tree-optimization/39455 - * gcc.dg/pr39455.c: New test. - -2009-03-13 David Ayers <ayers@fsfe.org> - - * objc/execute/trivial.m. New test. - -2009-03-13 Jack Howarth <howarth@bromo.med.uc.edu> - - PR target/39137 - * gcc.target/i386/stackalign/longlong-2.c: Skip on darwin. - -2009-03-13 H.J. Lu <hongjiu.lu@intel.com> - - PR testsuite/39451 - * gcc.dg/asm-b.c: Use "Q" constraint on %b1/%h1 and "R" - constraint on (%2). - -2009-03-12 David Ayers <ayers@fsfe.org> - - PR libobjc/27466 - * objc/execute/exceptions/handler-1.m. New test. - -2009-03-12 Jakub Jelinek <jakub@redhat.com> - - PR target/39431 - * gcc.target/i386/pr39431.c: New test. - -2009-03-12 H.J. Lu <hongjiu.lu@intel.com> - - PR target/39445 - * gcc.target/i386/pr39445.c: New. - - * gcc.target/i386/push-1.c: XFAIL. - -2009-03-11 Adam Nemet <anemet@caviumnetworks.com> - - * gcc.dg/inline-33.c: New test. - -2009-03-11 Nathan Froyd <froydnj@codesourcery.com> - - * gcc.dg/vect/vect-82.c: Combine dg-do and - dg-require-effective-target into dg-skip-if. - * gcc.dg/vect/vect-83.c: Likewise. - -2009-03-11 Jakub Jelinek <jakub@redhat.com> - - PR target/39137 - * gcc.target/i386/stackalign/longlong-1.c: New test. - * gcc.target/i386/stackalign/longlong-2.c: New test. - -2009-03-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> - - * g++.old-deja/g++.jason/thunk2.C: Skip on SPU. - -2009-03-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> - - * gcc.c-torture/execute/ieee/inf-3.c: New test. - * gcc.c-torture/execute/ieee/inf-2.c: Fix typo. - -2009-03-11 Olivier Hainque <hainque@adacore.com> - - * gnat.dg/slice_enum.adb: New test. - -2009-03-11 Jason Merrill <jason@redhat.com> - - PR debug/39086 - * g++.dg/opt/nrv15.C: New test. - -2009-03-10 Ira Rosen <irar@il.ibm.com> - - PR tree-optimization/39422 - * gcc.dg/vect/costmodel/spu/costmodel-vect-76b.c: Move - constant array with static initialization to global memory. - * gcc.dg/vect/costmodel/spu/costmodel-vect-76c.c: Likewise. - -2009-03-10 Hariharan Sandanagobalane <hariharan@picochip.com> - - * gcc.c-torture/execute/pr39339.c: Bitfield sizes changed to avoid - padding. - -2009-03-09 Jakub Jelinek <jakub@redhat.com> - - PR c++/39371 - * g++.dg/opt/switch2.C: Add -w to dg-options. - * g++.dg/warn/Wswitch-1.C: Adjust expected warnings. - * g++.dg/warn/switch1.C: New test. - * g++.dg/other/switch3.C: New test. - - PR tree-optimization/39394 - * gcc.c-torture/compile/pr39394.c: New test. - -2009-03-09 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> - - * gcc.target/s390/20090223-1.c: New testcase. - -2009-03-08 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR libfortran/39402 - * gfortran.dg/fmt_f0_1.f90: New test. - -2009-03-08 H.J. Lu <hongjiu.lu@intel.com> - - PR c++/39060 - * g++.dg/other/new1.C: Adjusted. - * g++.dg/parse/crash40.C: Likewise. - * g++.dg/parse/defarg12.C: Likewise. - * g++.dg/template/error15.C: Likewise. - - * g++.dg/other/pr39060.C: New. - -2009-03-07 Jason Merrill <jason@redhat.com> - - PR c++/39367 - * g++.dg/opt/new1.C: New. - -2009-03-06 Paolo Carlini <paolo.carlini@oracle.com> - - PR c++/33492 - * g++.dg/other/error32.C: New. - -2009-03-06 Jakub Jelinek <jakub@redhat.com> - - PR middle-end/39360 - * gcc.c-torture/compile/pr39360.c: New test. - - PR debug/39372 - * g++.dg/debug/dwarf2/static-local-var-in-ctor.C: New test. - -2009-03-05 Jason Merrill <jason@redhat.com> - - PR c++/38908 - * g++.dg/warn/Wuninitialized-3.C: New test. - -2009-03-05 Jakub Jelinek <jakub@redhat.com> - - PR debug/39379 - * g++.dg/debug/dwarf2/imported-module-3.C: New test. - * g++.dg/debug/dwarf2/imported-module-4.C: New test. - -2009-03-04 Jason Merrill <jason@redhat.com> - - PR c++/13549 - * g++.dg/template/koenig7.C: New test. - -2009-03-04 Nathan Sidwell <nathan@codesourcery.com> - - * g++.dg/torture/predcom-1.C: New test. - -2009-03-04 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/39362 - * g++.dg/torture/pr39362.C: New testcase. - -2009-03-04 Jason Merrill <jason@redhat.com> - Giovanni Bajo <giovannibajo@gcc.gnu.org> - - PR c++/9634 - PR c++/29469 - PR c++/29607 - * g++.dg/template/dependent-name5.C: New test. - -2009-03-04 Steve Ellcey <sje@cup.hp.com> - - PR testsuite/39357 - * gcc.dg/vect-iv-6.c (dg-require-effective-target): Change from - vect_int to vect_int_mult. - -2009-03-04 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/39358 - * g++.dg/warn/Wstrict-aliasing-bogus-escape-2.C: New testcase. - * g++.dg/warn/Wstrict-aliasing-bogus-escape-3.C: Likewise. - -2009-03-04 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/39339 - * gcc.c-torture/execute/pr39339.c: New testcase. - -2009-03-03 Joseph Myers <joseph@codesourcery.com> - - * gcc.c-torture/compile/20090303-1.c, - gcc.c-torture/compile/20090303-2.c: New tests. - -2009-03-03 Jakub Jelinek <jakub@redhat.com> - - PR fortran/39354 - * gfortran.dg/gomp/pr39354.f90: New test. - - PR tree-optimization/39343 - * gcc.dg/pr39343.c: New test. - -2009-03-03 Ira Rosen <irar@il.ibm.com> - - PR tree-optimization/39248 - * gcc.dg/vect/vect-complex-1.c: Add attribute aligned to the arrays. - * gcc.dg/vect/vect-iv-6.c: Don't expect to fail to vectorize - on targets without vector misalignment support. - * lib/target-supports.exp - (check_effective_target_vect_short_mult): Add - check_effective_target_arm32. - -2009-03-02 Sebastian Pop <sebastian.pop@amd.com> - - PR middle-end/39335 - * gcc.dg/graphite/pr39335_1.c: New. - * gcc.dg/graphite/pr39335.c: New. - -2009-03-02 H.J. Lu <hongjiu.lu@intel.com> - - * gcc.target/i386/stackalign/return-4.c: Scan andl/andq instead - of andl. - * gcc.target/i386/stackalign/return-5.c: Likewise. - * gcc.target/i386/stackalign/return-6.c: Likewise. - -2009-03-02 Richard Guenther <rguenther@suse.de> - Ira Rosen <irar@il.ibm.com> - - PR tree-optimization/39318 - * gfortran.dg/vect/pr39318.f90: New test. - -2009-03-01 Jan Hubicka <jh@suse.cz> - - * gcc.dg/debug/dwarf2/ipa-cp1.c: New testcase. - -2009-03-01 Jan Hubicka <jh@suse.cz> - - PR debug/39267 - * gcc.dg/debug/dwarf2/inline1.c: New testcase. - -2009-03-01 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/pack12.adb: New test. - -2009-02-26 H.J. Lu <hongjiu.lu@intel.com> - - PR c++/37789 - * g++.dg/other/pr37789.C: New. - -2009-02-26 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/39295 - * gfortran.dg/interface_25.f90: New test. - * gfortran.dg/interface_26.f90: New test. - -2009-02-26 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/39292 - * gfortran.dg/initialization_22.f90: New test. - -2009-02-25 H.J. Lu <hongjiu.lu@intel.com> - - PR rtl-optimization/39241 - * gcc.dg/torture/pr39241.c: New. - -2009-02-25 Martin Jambor <mjambor@suse.cz> - - PR tree-optimizations/39259 - * g++.dg/torture/pr39259.C: New testcase. - -2009-02-24 Richard Guenther <rguenther@suse.de> - - PR c++/39242 - * g++.dg/template/instantiate10.C: New testcase. - -2009-02-24 Richard Guenther <rguenther@suse.de> - Zdenek Dvorak <ook@ucw.cz> - - PR tree-optimization/39233 - * gcc.c-torture/execute/pr39233.c: New testcase. - -2009-02-23 Sebastian Pop <sebastian.pop@amd.com> - - PR tree-optimization/39260 - * gcc.dg/graphite/pr39260.c: New. - -2009-02-23 H.J. Lu <hongjiu.lu@intel.com> - - * g++.dg/init/static-init1.C: Replace int with __PTRDIFF_TYPE__. - -2009-02-23 H.J. Lu <hongjiu.lu@intel.com> - - PR c++/36411 - * g++.dg/template/void14.C: New. - -2009-02-23 Jason Merrill <jason@redhat.com> - - PR c++/38880 - * g++.dg/init/const7.C: Remove XFAIL. - * g++.dg/init/static-init1.C: New test. - - * g++.dg/cpp0x/initlist14.C: New test. - -2009-02-21 Thomas Koenig <tkoenig@gcc.gnu.org> - - PR fortran/38914 - * bound_simplification_2.f90: New test case. - * bound_7.f90: New test case. - -2009-02-21 Joseph Myers <joseph@codesourcery.com> - - * gcc.dg/cpp/include4.c: New test. - -2009-02-21 Uros Bizjak <ubizjak@gmail.com> - - PR target/39256 - * gcc.target/i386/abi-2.c: New. - -2009-02-21 Kaz Kojima <kkojima@gcc.gnu.org> - - * gcc.c-torture/execute/pr39228.x: New. - -2009-02-21 Uros Bizjak <ubizjak@gmail.com> - - * gcc.target/i386/abi-1.c: Use scan-assembler-times "..." 1 instead of - scan-assembler to check for xmm0 register. - -2009-02-20 Mark Mitchell <mark@codesourcery.com> - Joseph Myers <joseph@codesourcery.com> - - * gcc.target/arm/va_list.c: New test. - * g++.dg/abi/arm_va_list.C: Likewise. - * lib/target-supports.exp (check_effective_target_arm_eabi): New - function. - * g++.dg/cpp0x/temp-va-arg-bug.C, g++.dg/other/stdarg1.C, - g++.dg/warn/miss-format-1.C, g++.dg/warn/miss-format-3.C, - g++.dg/warn/miss-format-4.C, g++.dg/warn/miss-format-5.C, - g++.dg/warn/miss-format-6.C, g++.old-deja/g++.other/vaarg2.C, - g++.old-deja/g++.other/vaarg3.C, g++.old-deja/g++.other/vaarg4.C, - g++.old-deja/g++.pt/builtin.C: Use -Wno-abi on ARM EABI targets. - -2009-02-20 Jack Howarth <howarth@bromo.med.uc.edu> - - PR testsuite/38164 - * gcc.target/i386/amd64-abi-3.c: Add -fomit-frame-pointer - to dg-options. - -2009-02-20 Jakub Jelinek <jakub@redhat.com> - - PR target/39240 - * gcc.c-torture/execute/pr39240.c: New test. - -2009-02-20 Jason Merrill <jason@redhat.com> - - PR c++/39225 - * g++.dg/parse/dtor15.C: New test. - -2009-02-19 Kazu Hirata <kazu@codesourcery.com> - - * gcc.c-torture/execute/20090219-1.c: New. - -2009-02-19 Adam Nemet <anemet@caviumnetworks.com> - - * gcc.target/mips/mips.exp: Comment !CPU in the isa* pseudo-options. - (mips-dg-options): When matching isa* pseudo-options make - 'value' optional and accept ! entries. Use $spec instead of - $isa_spec in the isa pseudo-option error message. Only - perform the ISA-range check when 'value' is set. If arch is - matching any CPU in the ! entries switch to its generic ISA. - * gcc.target/mips/branch-1.c: Pass isa=!octeon. - * gcc.target/mips/dmult-1.c: Pass isa=64!octeon rather than -mips64. - -2009-02-19 Jakub Jelinek <jakub@redhat.com> - - PR target/39175 - * gcc.dg/visibility-20.c: New test. - * g++.dg/ext/visibility/visibility-11.C: New test. - -2009-02-19 H.J. Lu <hongjiu.lu@intel.com> - - PR c++/39188 - * g++.dg/abi/pr39188-1a.C: New. - * g++.dg/abi/pr39188-1b.C: Likewise. - * g++.dg/abi/pr39188-1.h: Likewise. - * g++.dg/abi/pr39188-2a.C: Likewise. - * g++.dg/abi/pr39188-2b.C: Likewise. - * g++.dg/abi/pr39188-2.h: Likewise. - * g++.dg/abi/pr39188-3a.C: Likewise. - * g++.dg/abi/pr39188-3b.C: Likewise. - * g++.dg/abi/pr39188-3.h: Likewise. - -2009-02-19 Joseph Myers <joseph@codesourcery.com> - - PR c/38483 - * gcc.c-torture/execute/call-trap-1.c, - gcc.c-torture/execute/va-arg-trap-1.c, gcc.dg/call-diag-1.c: New - tests. - -2009-02-19 Uros Bizjak <ubizjak@gmail.com> - - PR target/39228 - * gcc.c-torture/execute/pr39228.c: New test. - -2009-02-19 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/39074 - * gcc.dg/torture/pr39074.c: New testcase. - * gcc.dg/torture/pr39074-2.c: Likewise. - * gcc.dg/torture/pr39074-3.c: Likewise. - -2009-02-18 H.J. Lu <hongjiu.lu@intel.com> - - PR c++/39219 - * g++.dg/parse/attr3.C: New. - -2009-02-18 Jack Howarth <howarth@bromo.med.uc.edu> - - PR testsuite/38165 - * g++.dg/pubtypes.C: Adopt Radar 4535968 fix to testcase. - - PR testsuite/38166 - * g++.dg/ext/visibility/class1.C: Revert revision 122348 - and skip on Darwin. - -2009-02-18 Jason Merrill <jason@redhat.com> - - PR c++/38880 - * g++.dg/init/const7.C: Remove XFAIL. - - PR target/39179 - * g++.dg/opt/const6.C: New test. - -2009-02-18 H.J. Lu <hongjiu.lu@intel.com> - - * gcc.dg/callabi/callabi.exp: Moved to ... - * gcc.target/x86_64/abi/callabi/callabi.exp: Here. Only run - in 64bit mode. - - * gcc.target/x86_64/abi/callabi/func-1.c: Don't check target. - * gcc.target/x86_64/abi/callabi/func-indirect.c: Likewise. - * gcc.target/x86_64/abi/callabi/func-indirect.c: Likewise. - * gcc.target/x86_64/abi/callabi/pr38891.c: Likewise. - * gcc.target/x86_64/abi/callabi/vaarg-1.c: Likewise. - * gcc.target/x86_64/abi/callabi/vaarg-2.c: Likewise. - * gcc.target/x86_64/abi/callabi/vaarg-3.c: Likewise. - - * gcc.dg/callabi/callabi.h: Moved to ... - * gcc.target/x86_64/abi/callabi/callabi.h: Here. - - * gcc.dg/callabi/func-1.c: Moved to ... - * gcc.target/x86_64/abi/callabi/func-1.c: Here. - - * gcc.dg/callabi/func-indirect.c: Moved to ... - * gcc.target/x86_64/abi/callabi/func-indirect.c: Here. - - * gcc.dg/callabi/pr38891.c: Moved to ... - * gcc.target/x86_64/abi/callabi/pr38891.c: Here. - - * gcc.dg/callabi/vaarg-1.c: Moved to ... - * gcc.target/x86_64/abi/callabi/vaarg-1.c: Here. - - * gcc.dg/callabi/vaarg-2.c: Moved to ... - * gcc.target/x86_64/abi/callabi/vaarg-2.c: Here. - - * gcc.dg/callabi/vaarg-3.c: Moved to ... - * gcc.target/x86_64/abi/callabi/vaarg-3.c: Here. - -2009-02-17 Xuepeng Guo <xuepeng.guo@intel.com> - - PR target/38891 - * gcc.dg/callabi/pr38891.c: New. - -2009-02-17 H.J. Lu <hongjiu.lu@intel.com> - - * gcc.dg/callabi/callabi.exp: New. - -2009-02-17 H.J. Lu <hongjiu.lu@intel.com> - - PR target/39082 - * g++.dg/compat/struct-layout-1_generate.c (dg_options): Add - -Wno-abi for x86. - * gcc.dg/compat/struct-layout-1_generate.c (dg_options): Likewise. - - * gcc.target/i386/pr39082-1.c: New. - - * gcc.target/x86_64/abi/abi-x86_64.exp (additional_flags): Add - -Wno-abi. - - * gcc.target/x86_64/abi/args.h (XMM_T): Add _m64 and _m128 if - CHECK_M64_M128 is defined. - (check_f_arguments): Add "do". - (check_vector_arguments): New. - (check_m64_arguments): Likewise. - (check_m128_arguments): Likewise. - - * gcc.target/x86_64/abi/defines.h: Include <xmmintrin.h>. - (CHECK_M64_M128): Define. - - * gcc.target/x86_64/abi/test_m64m128_returning.c: New. Based - on abitest. - * gcc.target/x86_64/abi/test_passing_m64m128.c: Likewise. - - * gcc.target/x86_64/abi/test_passing_structs.c: Define __m128 - tests only if CHECK_M64_M128 is defined. - - * gcc.target/x86_64/abi/test_passing_structs.c (m128_struct): New. - (m128_2_struct): Likewise. - (check_struct_passing5): Likewise. - (check_struct_passing6): Likewise. - (main): Test struct with __m128 if CHECK_M64_M128 is defined. - - * gcc.target/x86_64/abi/test_passing_unions.c (un4): New. - (un5): Likewise. - (check_union_passing4): Likewise. - (main): Test union with __m128 if CHECK_M64_M128 is defined. - -2009-02-18 Joseph Myers <joseph@codesourcery.com> - - PR c/35447 - * gcc.dg/noncompile/pr35447-1.c: New test. - -2009-02-18 Jakub Jelinek <jakub@redhat.com> - - PR tree-optimization/36922 - * gfortran.dg/pr36922.f: New test. - -2009-02-17 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/39202 - * gcc.c-torture/compile/pr39202.c: New testcase. - -2009-02-17 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/39204 - * gcc.dg/torture/pr39204.c: New testcase. - -2009-02-17 Bingfeng Mei <bmei@broadcom.com> - - * gcc.dg/vect/vect-outer-5.c: Require vect_float support. - * gcc.dg/vect/vect-outer-6.c: Ditto. - -2009-02-16 Joseph Myers <joseph@codesourcery.com> - - PR c/35446 - * gcc.dg/noncompile/init-5.c: New test. - * gcc.dg/init-bad-4.c: Adjust expected errors. - -2009-02-16 H.J. Lu <hongjiu.lu@intel.com> - - PR target/37049 - * gcc.target/i386/push-1.c: New. - -2009-02-15 Uros Bizjak <ubizjak@gmail.com> - - * gcc.dg/struct/w_prof_single_str_global.c: Mask return value. - -2009-02-13 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> - - * gcc.target/spu/intrinsics-sr.c: New test. - -2009-02-13 Steve Ellcey <sje@cup.hp.com> - - PR target/38056 - * gcc.target/ia64/sibcall-opt-1.c: New test. - * gcc.target/ia64/sibcall-opt-2.c: New test. - -2009-02-13 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/36528 - * gfortran.dg/cray_pointers_8.f90: New test. - - PR fortran/36703 - * gfortran.dg/cray_pointers_9.f90: New test. - -2009-02-13 Jason Merrill <jason@redhat.com> - - PR c++/39070 - * g++.dg/cpp0x/decltype16.C: New. - -2009-02-13 H.J. Lu <hongjiu.lu@intel.com> - - PR target/39152 - * gfortran.dg/gomp/pr39152.f90: New. - -2009-02-13 H.J. Lu <hongjiu.lu@intel.com> - - PR target/39162 - * gcc.target/i386/pr39162.c: New. - -2009-02-13 Joseph Myers <joseph@codesourcery.com> - - PR c/35444 - * gcc.dg/noncompile/pr35444-1.c, gcc.dg/noncompile/pr35444-2.c: - New tests. - -2009-02-12 Jason Merrill <jason@redhat.com> - - PR c++/38950 - * g++.dg/template/array20.C: New test. - -2009-02-12 Uros Bizjak <ubizjak@gmail.com> - - * gcc.dg/torture/fp-int-convert-float128-timode.c: Do not check - for lp64 in "dg-do run" directive. Remove dg-xfail-if directive. - * gcc.dg/torture/fp-int-convert-timode.c: Remove xfail directive. - -2009-02-12 H.J. Lu <hongjiu.lu@intel.com> - - * g++.dg/cpp0x/defaulted9.C: Compile with "-std=c++0x -fno-inline". - -2009-02-12 H.J. Lu <hongjiu.lu@intel.com> - - PR target/39152 - * gfortran.dg/pr39152.f: New. - -2009-02-11 Jason Merrill <jason@redhat.com> - - PR c++/39153 - * g++.dg/cpp0x/defaulted9.C: New test. - - PR c++/30111 - * g++.dg/init/value7.C: New test. - -2009-02-11 Paolo Bonzini <bonzini@gnu.org> - - PR target/38824 - * gcc.target/i386/pr38824.c: New testcase. - -2009-02-11 Jason Merrill <jason@redhat.com> - - PR c++/38649 - * g++.dg/cpp0x/defaulted8.C: New test. - - PR c++/36744 - * g++.dg/cpp0x/rv9p.C: New test. - -2009-02-10 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/aliasing3.adb: New test. - * gnat.dg/aliasing3_pkg.ad[sb]: New helper. - -2009-02-10 Paolo Carlini <paolo.carlini@oracle.com> - - PR c++/34397 - * g++.dg/template/crash88.C: New. - * g++.dg/template/crash89.C: Likewise. - -2009-02-10 Steve Ellcey <sje@cup.hp.com> - - PR c/39084 - * gcc.dg/pr39084.c: New test. - -2009-02-10 Jakub Jelinek <jakub@redhat.com> - - PR target/39139 - * gcc.target/i386/pr39139.c: New test. - -2009-02-10 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/39132 - * gcc.dg/torture/pr39132.c: New testcase. - -2009-02-10 H.J. Lu <hongjiu.lu@intel.com> - - PR target/39119 - * gcc.target/x86_64/abi/avx/abi-avx.exp: New. - * gcc.target/x86_64/abi/avx/args.h: Likewise. - * gcc.target/x86_64/abi/avx/asm-support.S: Likewise. - * gcc.target/x86_64/abi/avx/avx-check.h: Likewise. - * gcc.target/x86_64/abi/avx/test_m256_returning.c: Likewise. - * gcc.target/x86_64/abi/avx/test_passing_m256.c: Likewise. - * gcc.target/x86_64/abi/avx/test_passing_structs.c: Likewise. - * gcc.target/x86_64/abi/avx/test_passing_unions.c: Likewise. - -2009-02-09 Jason Merrill <jason@redhat.com> - - PR c++/39109 - * g++.dg/init/value6.C: New test. - -2009-02-09 H.J. Lu <hongjiu.lu@intel.com> - - * gcc.target/x86_64/abi/abi-x86_64.exp: Use glob instead of find. - -2009-02-09 Eric Botcazou <ebotcazou@adacore.com> - - * gcc.c-torture/compile/20090209-1.c: New test. - -2009-02-06 Paolo Carlini <paolo.carlini@oracle.com> - - PR c++/35147 - PR c++/37737 - * g++.dg/cpp0x/vt-35147.C: New. - * g++.dg/cpp0x/vt-37737-1.C: Likewise. - * g++.dg/cpp0x/vt-37737-2.C: Likewise. - -2009-02-06 Joseph Myers <joseph@codesourcery.com> - - PR c/35434 - * gcc.dg/attr-alias-4.c: New test. - -2009-02-06 Janis Johnson <janis187@us.ibm.com> - - PR c/39035 - * gcc.dg/dfp/pr39035.c: New test. - -2009-02-06 Joseph Myers <joseph@codesourcery.com> - - PR c/36432 - * gcc.dg/c90-flex-array-2.c, gcc.dg/c99-flex-array-6.c: New tests. - -2009-02-05 Jakub Jelinek <jakub@redhat.com> - - PR c++/39106 - * g++.dg/opt/thunk3.C: New test. - -2009-02-05 Nick Clifton <nickc@redhat.com> - - * gcc.c-torture/compile/20080625-1.c: Skip for M32C. - * gcc.c-torture/compile/limits-stringlit.c: Likewise. - * gcc.dg/cdce1.c: Likewise. - * gcc.dg/cpp/_Pragma6.c: Likewise. - * g++.dg/cpp/_Pragma1.C: Likewise. - * gcc.dg/utf32-2.c: Xfail for M32C. - * gcc.dg/utf32-1.c: Likewise. - * gcc.dg/utf32-3.c: Likewise. - * gcc.dg/Wtype-limits.c: Add expected warning messages for 16-bit - targets. - * gcc.dg/Wtype-limits-Wextra.c: Likewise. - * gcc.dg/utf32-4.c: Only run for 32-bit+ targets. - * gcc.dg/Wconversion-5.c: Likewise. - * gcc.dg/tree-ssa/data-dep-1.c: Likewise. - * gcc.dg/tree-ssa/ldist-3.c: Likewise. - * gcc.dg/tree-ssa/ldist-5.c: Likewise. - * gcc.dg/utf-inc-init.c: Likewise. - * gcc.dg/pr11492.c: Xfail for 16-bit targets. - * gcc.dg/utf-array.c: Add expected warning messages for M32C. - * gcc.dg/utf-array-short-wchar.c: Likewise. - * gcc.dg/tree-ssa/pr33920.c: Expect a warning from all 16-bit targets. - * gcc.dg/mallign.c: Use size_t instead of long. - -2009-02-05 Uros Bizjak <ubizjak@gmail.com> - - * g++.dg/torture/pr31863.C: Generalize dg-timeout-factor. - -2009-02-05 Daniel Berlin <dberlin@dberlin.org> - - * gcc.c-torture/execute/pr39100.c: New. - -2009-02-05 Joseph Myers <joseph@codesourcery.com> - - PR c/35435 - * gcc.dg/tls/diag-6.c: New test. - -2009-02-04 Tobias Grosser <grosser@fim.uni-passau.de> - - * gcc.dg/graphite/scop-19.c: New - -2009-02-04 H.J. Lu <hongjiu.lu@intel.com> - - AVX Programming Reference (January, 2009) - * gcc.target/i386/avx-vpclmulqdq.c: New. - * gcc.target/i386/pclmul-avx-check.h: Likewise. - - * gcc.target/i386/i386.exp (check_effective_target_vpclmul): New. - - * gcc.target/i386/pclmulqdq.c (CHECK_H): New. - (TEST): Likewise. Include CHECK_H instead of "pclmul-check.h". - (pclmul_test): Renamed to ... - (TEST): This. - -2009-02-04 Jakub Jelinek <jakub@redhat.com> - - PR c++/39095 - * g++.dg/abi/mangle31.C: New test. - -2009-02-03 Joseph Myers <joseph@codesourcery.com> - - PR c/29129 - * c90-arraydecl-1.c: Do not expect error for [*] in abstract - declarator. - * vla-6.c: Likewise. Expect warning not error for [*] lexically - inside function prototype but not part of parameter declarator. - * vla-11.c: New test. - -2009-02-03 Jason Merrill <jason@redhat.com> - - * g++.dg/warn/main-4.C: New test. - * g++.old-deja/g++.bugs/900227_01.C: Remove &main warnings. - -2009-02-03 Andrew Pinski <andrew_pinski@playstation.sony.com> - - PR c++/36607 - * g++.dg/expr/cast10.C: New test. - -2009-02-03 Joseph Myers <joseph@codesourcery.com> - - PR c/35433 - * gcc.dg/init-bad-6.c: New test. - -2009-02-03 Jakub Jelinek <jakub@redhat.com> - - PR target/35318 - * gcc.c-torture/compile/pr35318.c: New test. - - PR inline-asm/39059 - * gcc.dg/nofixed-point-2.c: New test. - * g++.dg/ext/fixed1.C: Adjust expected diagnostics. - * g++.dg/ext/fixed2.C: Likewise. - * g++.dg/other/error25.C: Likewise. - * g++.dg/lookup/crash7.C: Likewise. - * g++.dg/cpp0x/decltype-38655.C: Likewise. - - PR c++/39056 - * g++.dg/cpp0x/initlist13.C: New test. - -2009-02-03 Paolo Bonzini <bonzini@gnu.org> - - PR c++/36897 - * g++.dg/template/func2.C: New test. - - PR c++/37314 - * g++.dg/template/typename15.C: New. - * g++.dg/template/typename16.C: New. - -2009-02-03 Janis Johnson <janis187@us.ibm.com> - Ben Elliston <bje@au.ibm.com> - - PR c/39034 - * gcc.dg/dfp/pr39034.c: New test. - -2009-02-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> - - PR testsuite/38263 - * gcc.dg/ipa/ipacost-2.c: Add -fpie when pic. - -2009-02-02 Jason Merrill <jason@redhat.com> - - PR c++/39054 - * g++.dg/parse/dtor14.C: New test. - -2009-02-02 Jakub Jelinek <jakub@redhat.com> - - * lib/target-supports.exp - (check_effective_target_correct_iso_cpp_string_wchar_protos): New. - * g++.dg/ext/builtin10.C: New test. - - PR inline-asm/39058 - * gcc.target/i386/pr39058.c: New test. - -2009-02-02 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/38937 - * g++.dg/warn/Wstrict-aliasing-bogus-escape.C: New testcase. - -2009-02-01 Paolo Carlini <paolo.carlini@oracle.com> - - PR c++/39053 - * g++.dg/parse/crash52.C: New. - -2009-01-30 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/39041 - * gcc.c-torture/compile/pr39041.c: New testcase. - -2009-01-30 Jakub Jelinek <jakub@redhat.com> - - PR target/39013 - * gcc.target/i386/pr39013-1.c: New test. - * gcc.target/i386/pr39013-2.c: New test. - - PR c++/39028 - * g++.dg/ext/label12.C: New test. - -2009-01-30 Paolo Carlini <paolo.carlini@oracle.com> - - PR c++/33465 - * g++.dg/parse/error34.C: New. - * g++.dg/parse/error35.C: Likewise. - -2009-01-30 Paolo Carlini <paolo.carlini@oracle.com> - - PR c++/38655 - * g++.dg/cpp0x/decltype-38655.C: New. - -2009-01-30 Jakub Jelinek <jakub@redhat.com> - - PR target/39002 - * g++.dg/torture/pr39002.C: New test. - -2009-01-29 Kazu Hirata <kazu@codesourcery.com> - - PR tree-optimization/39007 - * gcc.dg/tree-ssa/pr39007.c: New. - -2009-01-29 Kenneth Zadeck <zadeck@naturalbridge.com> - - PR middle-end/35854 - * gcc.dg/lower-subreg-1.c: Renamed dump pass from "subreg" - to "subreg1". - -2009-01-29 Steve Ellcey <sje@cup.hp.com> - - PR middle-end/38857 - * gcc.c-torture/compile/pr38857.c: New test. - -2009-01-28 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/38852 - PR fortran/39006 - * gfortran.dg/bound_6.f90: New test. - -2009-01-28 Pat Haugen <pthaugen@us.ibm.com> - - * gcc.target/powerpc/avoid-indexed-addresses.c: New test. - -2009-01-28 Kazu Hirata <kazu@codesourcery.com> - - PR tree-optimization/38997 - * gcc.dg/tree-ssa/pr38997.c: New. - -2009-01-28 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/38926 - * gcc.c-torture/compile/pr38926.c: New testcase. - -2009-01-28 Jakub Jelinek <jakub@redhat.com> - - PR middle-end/38934 - * gcc.dg/pr38934.c: New test. - -2009-01-28 Richard Guenther <rguenther@suse.de> - - PR middle-end/38908 - * g++.dg/warn/Wuninitialized-2.C: New testcase. - -2009-01-28 Paolo Bonzini <bonzini@gnu.org> - - PR tree-optimization/38984 - * gcc.dg/pr38984.c: New XFAILed testcase. - - -2009-01-28 Uros Bizjak <ubizjak@gmail.com> - - PR target/38988 - * gcc.target/i386/pr38988.c: New test. - -2009-01-27 Paolo Carlini <paolo.carlini@oracle.com> - - PR c++/37554 - * g++.dg/parse/crash51.C: New. - * g++.old-deja/g++.pt/crash9.C: Adjust. - -2009-01-27 Daniel Kraft <d@domob.eu> - - PR fortran/38883 - * gfortran.dg/mvbits_6.f90: New test. - * gfortran.dg/mvbits_7.f90: New test. - * gfortran.dg/mvbits_8.f90: New test. - -2009-01-27 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/38503 - * g++.dg/warn/Wstrict-aliasing-bogus-placement-new.C: New testcase. - -2009-01-27 Uros Bizjak <ubizjak@gmail.com> - - PR middle-end/38969 - * gcc.c-torture/execute/pr38969.c: New test. - -2009-01-26 Adam Nemet <anemet@caviumnetworks.com> - - PR testsuite/38864 - * gcc.target/mips/fixed-vector-type.c: Add target { fixed_point } - to dg-do compile. - * gcc.target/mips/fixed-scalar-type.c: Likewise. - * gcc.target/mips/dpaq_sa_l_w.c: Likewise. - * gcc.target/mips/dpsq_sa_l_w.c: Likewise. - -2009-01-26 H.J. Lu <hongjiu.lu@intel.com> - - PR target/38952 - * g++.dg/torture/stackalign/test-unwind.h (main): Also return 0 - if __USING_SJLJ_EXCEPTIONS__ is defined. - - * g++.dg/torture/stackalign/unwind-0.C (foo): Don't define if - __USING_SJLJ_EXCEPTIONS__ is defined. - * g++.dg/torture/stackalign/unwind-1.C (foo): Likewise. - * g++.dg/torture/stackalign/unwind-2.C (foo): Likewise. - * g++.dg/torture/stackalign/unwind-3.C (foo): Likewise. - * g++.dg/torture/stackalign/unwind-4.C (foo): Likewise. - * g++.dg/torture/stackalign/unwind-5.C (foo): Likewise. - * g++.dg/torture/stackalign/unwind-6.C (foo): Likewise. - -2009-01-26 Danny Smith <dannysmith@users.sourceforge.net> - - PR testsuite/38949 - * g++.dg/torture/stackalign/test-unwind.h (ASMNAME): Define. - Use instead of C name in asm statements. - -2009-01-26 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/38745 - * g++.dg/torture/pr38745.C: New testcase. - -2009-01-26 Richard Guenther <rguenther@suse.de> - - PR middle-end/38851 - * g++.dg/warn/Wuninitialized-1.C: New testcase. - -2009-01-25 Hans-Peter Nilsson <hp@axis.com> - - * gcc.dg/bitfld-15.c: Gate warning on target - pcc_bitfield_type_matters. - * gcc.dg/bitfld-17.c, g++.dg/ext/bitfield2.C, - g++.dg/ext/bitfield4.C: Likewise. - * gcc.dg/pr17112-1.c: Don't expect a warning for the packed - bitfield for any target. - -2009-01-24 Jakub Jelinek <jakub@redhat.com> - - PR c/38957 - * gcc.dg/pr38957.c: New test. - -2009-01-24 David Billinghurst <billingd@gcc.gnu.org> - - PR fortran/38955 - * gfortran.dg/array_constructor_24.f: Allow tolerance when - comparing floats. - -2009-01-24 Sebastian Pop <sebastian.pop@amd.com> - - PR tree-optimization/38953 - * gfortran.dg/graphite/pr38953.f90: New. - -2009-01-24 Paul Brook <paul@codesourcery.com> - - * gcc.target/arm/neon-cond-1.c: New test. - -2009-01-23 Paolo Bonzini <bonzini@gnu.org> - - PR tree-optimization/38932 - * gcc.dg/pr38932.c: New. - -2009-01-23 Revital Eres <eres@il.ibm.com> - - * gcc.dg/sms-7.c: Fix test. - -2009-01-22 Adam Nemet <anemet@caviumnetworks.com> - - * gcc.dg/bitfld-15.c, gcc.dg/bitfld-16.c, - gcc.dg/bitfld-17.c,gcc.dg/bitfld-18.c: New tests. - * g++.dg/ext/bitfield2.C, g++.dg/ext/bitfield3.C, - g++.dg/ext/bitfield4.C, g++.dg/ext/bitfield5.C: New tests. - -2009-01-22 Steve Ellcey <sje@cup.hp.com> - - * gcc.dg/pr35729.c: Make test x86 specific. - -2009-01-22 Steve Ellcey <sje@cup.hp.com> - - PR middle-end/38615 - * gcc.dg/pr38615.c: New test. - -2009-01-22 Uros Bizjak <ubizjak@gmail.com> - - PR target/38931 - * gcc.target/i386/pr38931.c: New test. - -2009-01-22 Dodji Seketeli <dodji@redhat.com> - - PR c++/38930 - * g++.dg/template/typedef11.C: Reverting changes of PR c++/26693. - * g++.dg/template/typedef12.C: Likewise. - * g++.dg/template/typedef13.C: Likewise. - * g++.dg/template/typedef14.C: Likewise. - * g++.dg/template/sfinae3.C: Likewise. - * g++.old-deja/g++.pt/typename8.C: Likewise. - * g++.dg/template/access11.C: Likewise - -2009-01-21 Richard Sandiford <rdsandiford@googlemail.com> - - * gcc.dg/tree-ssa/ssa-store-ccp-3.c: Skip for mips*-*-linux* - and mips*-*-irix*. - * gcc.dg/tree-ssa/vrp47.c: Skip for all MIPS targets. - -2009-01-21 Dodji Seketeli <dodji@redhat.com> - - PR c++/26693 - * g++.dg/template/typedef11.C: New test. - * g++.dg/template/typedef12.C: Likewise. - * g++.dg/template/typedef13.C: Likewise. - * g++.dg/template/typedef14.C: Likewise. - * g++.dg/template/sfinae3.C: Compile this pedantically. - The only errors expected should be the one saying the typedef is ill - formed. - * g++.old-deja/g++.pt/typename8.C: Likewise. - * g++.dg/template/access11.C: Update this. - -2009-01-21 Daniel Kraft <d@domob.eu> - - PR fortran/38887 - * gfortran.dg/mvbits_5.f90: New test. - -2009-01-21 Bingfeng Mei <bmei@broadcom.com> - - * gcc.dg/sms-6.c: New test. - * gcc.dg/sms-7.c: Likewise. - -2009-01-20 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/38907 - * gfortran.dg/host_assoc_function_7.f90: New test - -2009-01-20 Andrew Pinski <andrew_pinski@playstation.sony.com> - Richard Guenther <rguenther@suse.de> - - PR tree-optimization/38747 - PR tree-optimization/38748 - * gcc.dg/tree-ssa/struct-aliasing-1.c: New test. - * gcc.dg/tree-ssa/struct-aliasing-2.c: Likewise. - * gcc.c-torture/execute/struct-aliasing-1.c: Likewise. - -2009-01-20 Kees Cook <kees@ubuntu.com> - H.J. Lu <hongjiu.lu@intel.com> - - PR target/38902 - * gcc.dg/pr38902.c: New. - -2009-01-20 Paolo Bonzini <bonzini@gnu.org> - - PR target/38868 - * gfortran.dg/pr38868.f: New testcase. - -2009-01-20 Richard Guenther <rguenther@suse.de> - - * gcc.c-torture/execute/pr36227.c: Move ... - * gcc.dg/torture/pr36227.c: ... here. Require stdint_types. - -2009-01-19 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk> - - * lib/gfortran.exp: Add -B options for targets that use - libgfortran.a%s in their specs. - -2009-01-19 Jason Merrill <jason@redhat.com> - - PR c++/23287 - * g++.dg/template/dtor5.C: New test. - -2009-01-19 Mikael Morin <mikael.morin@tele2.fr> - - PR fortran/38859 - * gfortran.dg/bound_5.f90: New test. - -2009-01-18 H.J. Lu <hongjiu.lu@intel.com> - - PR target/38736 - * g++.dg/compat/abi/pr38736_main.C: New. - * g++.dg/compat/abi/pr38736_x.C: Likewise. - * g++.dg/compat/abi/pr38736_y.C: Likewise. - * g++.dg/other/macro-1.C: Likewise. - * gcc.dg/macro-1.c: Likewise. - * gcc.dg/compat/pr38736_main.c: Likewise. - * gcc.dg/compat/pr38736_x.c: Likewise. - * gcc.dg/compat/pr38736_y.c: Likewise. - -2009-01-18 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/38819 - * gcc.c-torture/execute/pr38819.c: New testcase. - -2009-01-17 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/38657 - * gfortran.dg/module_commons_3.f90: Reapply. - -2009-01-17 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/34955 - * gfortran.dg/transfer_intrinsic_1.f90: New test. - * gfortran.dg/transfer_intrinsic_2.f90: New test. - -2009-01-17 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/38657 - * gfortran.dg/module_commons_3.f90: Remove - -2009-01-16 H.J. Lu <hongjiu.lu@intel.com> - - * gcc.dg/tree-ssa/foldaddr-1.c: Add the missing '}'. - -2009-01-16 Jason Merrill <jason@redhat.com> - - PR c++/38877 - * g++.dg/template/lvalue1.C: New test. - - PR c++/29470 - * g++.dg/template/access20.C: New test. - * g++.dg/torture/pr34641.C: Fix access. - -2009-01-16 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/38835 - PR middle-end/36227 - * gcc.c-torture/execute/pr36227.c: New testcase. - * gcc.dg/tree-ssa/foldaddr-1.c: XFAIL. - * g++.dg/init/const7.C: Likewise. - -2009-01-16 Adam Nemet <anemet@caviumnetworks.com> - - PR target/38554 - * gcc.c-torture/compile/pr38554.c: New test. - -2009-01-16 Jason Merrill <jason@redhat.com> - - PR c++/38579 - * g++.dg/conversion/access1.C: New test. - -2009-01-16 Jakub Jelinek <jakub@redhat.com> - - PR tree-optimization/38789 - * gcc.c-torture/compile/pr38789.c: New test. - -2009-01-16 Janus Weil <janus@gcc.gnu.org> - - PR fortran/38152 - * gfortran.dg/proc_ptr_13.f90: New. - -2009-01-15 Jason Merrill <jason@redhat.com> - - PR c++/38850 - * g++.dg/template/koenig6.C: New test. - -2009-01-15 Andrew Pinski <andrew_pinski@playstation.sony.com> - - PR c++/29388 - * g++.dg/template/error37.C: New testcase. - -2009-01-15 Jason Merrill <jason@redhat.com> - - PR c++/36334 - * g++.dg/conversion/memfn1.C: New test. - - PR c++/37646 - * g++.dg/conversion/memfn2.C: New test. - -2009-01-15 Steve Ellcey <sje@cup.hp.com> - - PR c++/38357 - * g++.dg/template/crash87.C: New test. - -2009-01-15 H.J. Lu <hongjiu.lu@intel.com> - - PR middle-end/37843 - * gcc.target/i386/pr37843-3.c: Replace _Decimal128 with __m128. - -2009-01-15 Dodji Seketeli <dodji@redhat.com> - - PR c++/38636 - * g++.dg/parse/crash50.C: New test. - -2009-01-14 Jakub Jelinek <jakub@redhat.com> - - PR rtl-optimization/38245 - * gcc.dg/pr38245-3.c: New test. - * gcc.dg/pr38245-3.h: New file. - * gcc.dg/pr38245-4.c: New file. - * gcc.dg/pr38364.c: New test. - -2009-01-14 Adam Nemet <anemet@caviumnetworks.com> - - * gcc.target/mips/mips.exp (mips_option_tests(-mips16)): Make the - sequence PC-relative. - -2009-01-14 Mark Mitchell <mark@codesourcery.com> - - * gcc.target/arm/long-calls-1.c: Tolerate the lack of sibling - calls and/or PLT markers. - * gcc.target/arm/long-calls-2.c: Tolerate the lack of sibling - calls and/or PLT markers. - * gcc.target/arm/long-calls-3.c: Tolerate the lack of sibling - calls and/or PLT markers. - * gcc.target/arm/long-calls-4.c: Tolerate the lack of sibling - calls and/or PLT markers. - -2009-01-14 Daniel Jacobowitz <dan@codesourcery.com> - Nathan Froyd <froydnj@codesourcery.com> - Joseph Myers <joseph@codesourcery.com> - - * lib/target-supports.exp (check_effective_target_powerpc_spe_nocache): - New function. - * gcc.target/powerpc/20030218-1.c: Skip if not powerpc_spe_nocache - and use consistent CFLAGS. - * gcc.target/powerpc/20030505.c: Likewise. - * gcc.target/powerpc/20081204-1.c: Likewise. - * gcc.target/powerpc/ppc-spe.c: Likewise. - * gcc.target/powerpc/spe1.c: Likewise. - * g++.dg/ext/spe1.C: Likewise. - * g++.dg/other/opaque-1.C: Likewise. - * g++.dg/other/opaque-2.C: Likewise. - * g++.dg/other/opaque-3.C: Likewise. - -2009-01-14 Mark Mitchell <mark@codesourcery.com> - - * gcc.dg/vect/vect-105.c: Prevent compiler from hoisting abort - out of loop. - -2009-01-14 Vladimir Makarov <vmakarov@redhat.com> - - PR target/38811 - * g++.dg/torture/pr38811.C: New file. - -2009-01-14 Richard Guenther <rguenther@suse.de> - - PR tree-optimization/38826 - PR middle-end/38477 - * gcc.dg/Wstrict-aliasing-bogus-pta-1.c: New testcase. - -2009-01-13 Sebastian Pop <sebastian.pop@amd.com> - - * gcc.dg/graphite/pr38786.c: Fix commit problem. - -2009-01-14 Nick Clifton <nickc@redhat.com> - - PR c++/37862 - * g++.cp/parse/pr37862.C: New test. - -2009-01-14 Julian Brown <julian@codesourcery.com> - - * gcc.target/arm/eabi1.c (__eabi_uread4, __eabi_uwrite4) - (__eabi_uread8, __eabi_uwrite8): Change spellings of declarations - to... - (__aeabi_uread4, __aeabi_uwrite4, __aeabi_uread8, __aeabi_uwrite8): - These. - -2009-01-13 Jakub Jelinek <jakub@redhat.com> - - PR rtl-optimization/38774 - * gcc.dg/torture/pr38774.c: New test. - - PR c++/38795 - * g++.dg/cpp0x/pr38795.C: New test. - -2009-01-13 Daniel Jacobowitz <dan@codesourcery.com> - Nathan Froyd <froydnj@codesourcery.com> - Joseph Myers <joseph@codesourcery.com> - - * gcc.target/powerpc/altivec-consts.c: Run if vmx_hw, compile - otherwise. Do not check for AltiVec at runtime. - * gcc.target/powerpc/altivec-varargs-1.c: Likewise. - * gcc.target/powerpc/altivec-vec-merge.c: Likewise. - * gcc.target/powerpc/altivec-1.c: Likewise. - * gcc.target/powerpc/altivec-3.c: Likewise. - * gcc.target/powerpc/altivec-10.c: Likewise. - * gcc.target/powerpc/altivec-12.c: Likewise. - * gcc.target/powerpc/altivec-24.c: Likewise. - * gcc.target/powerpc/altivec-cell-2.c: Likewise. - * gcc.target/powerpc/altivec-cell-3.c: Likewise. - * gcc.target/powerpc/altivec-cell-4.c: Likewise. - * gcc.target/powerpc/pr35907.c: Likewise. - * gcc.target/powerpc/altivec-cell-8.c: Run if cell_hw, compile - otherwise. Do not check for Cell at runtime. - * gcc.target/powerpc/altivec_check.h: Delete. - - * g++.dg/ext/altivec-2.C: Do not check for AltiVec at runtime. - * g++.dg/ext/altivec-3.C: Run if vmx_hw, compile otherwise. Do - not check for AltiVec at runtime. - * g++.dg/ext/altivec-cell-2.C: Likewise. - * g++.dg/ext/altivec-cell-3.C: Likewise. - * g++.dg/ext/altivec-cell-4.C: Likewise. - * g++.dg/eh/simd-2.C: Only use -maltivec if vmx_hw. - * g++.dg/eh/check-vect.h (sig_ill_handler): Remove AltiVec runtime - check. - * g++.dg/ext/altivec_check.h: Delete. - -2009-01-13 Nathan Froyd <froydnj@codesourcery.com> - - * gcc.target/powerpc/altivec-macros.c: Require a powerpc_altivec_ok - effective target. Adjust line numbers accordingly. - -2009-01-13 Mark Mitchell <mark@codesourcery.com> - - * gcc.target/i386/sse-10.c: Pass -mno-omit-leaf-frame-pointer. - -2009-01-13 Sebastian Pop <sebastian.pop@amd.com> - - PR tree-optimization/38786 - * gcc.dg/graphite/pr38786.c: New. - -2009-01-13 Uros Bizjak <ubizjak@gmail.com> - - Revert: - 2009-01-05 Uros Bizjak <ubizjak@gmail.com> - - * gcc.dg/compat/struct-layout-1_generate.c (dg-options): Add -mieee - for alpha*-*-* targets. - * g++.dg/compat/struct-layout-1_generate.c (dg-options): Ditto. - -2009-01-12 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR libfortran/38772 - * gfortran.dg/fmt_bz_bn_err.f: New test. - -2009-01-12 Nathan Froyd <froydnj@codesourcery.com> - - * gcc.target/powerpc/ppc-spe64-1.c: Add dg-error handler. - -2009-01-12 Daniel Jacobowitz <dan@codesourcery.com> - - * lib/target-supports.exp (check_effective_target_powerpc64): New. - * gcc.target/powerpc/darwin-longlong.c: Explicitly require 64-bit - instruction support. Do not check for it at runtime. - -2009-01-12 Jason Merrill <jason@redhat.com> - - PR c++/35109 - * g++.dg/lookup/friend11.C: Remove expected error. - * g++.dg/lookup/friend14.C: New test. - * g++.dg/lookup/friend15.C: New test. - -2009-01-12 Dodji Seketeli <dodji@redhat.com> - - PR c++/36019 - * g++.dg/lookup/hidden-class12.C: New test. - * g++.dg/lookup/hidden-class13.C: New test. - * g++.dg/lookup/hidden-class14.C: New test. - * g++.dg/lookup/hidden-class15.C: New test. - * g++.dg/lookup/hidden-class16.C: New test. - -2009-01-12 Mark Mitchell <mark@codesourcery.com> - - * gcc.dg/struct/wo_prof_single_str_global.c: Mask return value. - * gcc.dg/struct/wo_prof_single_str_local.c: Mask return value. - * gcc.dg/struct/wo_prof_single_str_pointer.c: Mask return value. - -2009-01-12 Jason Merrill <jason@redhat.com> - - PR c++/31488 - * g++.dg/other/vararg-3.C: New test. - -2009-01-12 Daniel Jacobowitz <dan@codesourcery.com> - - * gcc.target/powerpc/ppc-spe.c: Compile for all EABI targets. - Explicitly enable SPE. - * gcc.target/powerpc/20030505.c: Likewise. Add dg-message - directive. - - * gcc.target/powerpc/20030218-1.c: Pass -mfloat-gprs=single. - Expect -flax-vector-conversions message. Adjust incompatible - types errors. - * gcc.target/powerpc/spe1.c: Pass -mspe and -mfloat-gprs=single. - Make Foo extern. - - * gcc.dg/cpp/assert4.c: Recognize __PPC__. - - * g++.dg/other/opaque-1.C: Run on targets with SPE. - - * g++.dg/ext/spe-1.C: Pass -mspe and -mfloat-gprs=single. - * g++.dg/other/opaque-2.C: Likewise. - * g++.dg/other/opaque-3.C: Likewise. - -2009-01-12 Jakub Jelinek <jakub@redhat.com> - - PR c/32041 - * gcc.dg/pr32041.c: New test. - * g++.dg/parse/offsetof9.C: New test. - -2009-01-12 Daniel Jacobowitz <dan@codesourcery.com> - Nathan Froyd <froydnj@codesourcery.com> - - * g++.dg/conversion/simd1.C: Ignore irrelevant warning. - * g++.dg/ext/attribute-test-1.C: Likewise. - * g++.dg/ext/attribute-test-2.C: Likewise. - * g++.dg/ext/attribute-test-3.C: Likewise. - * g++.dg/ext/attribute-test-4.C: Likewise. - -2009-01-12 Eric Botcazou <ebotcazou@adacore.com> - - * gnat.dg/unchecked_convert3.adb: New test. - -2009-01-12 Tomas Bily <tbily@suse.cz> - - PR middlend/38385 - * gcc.dg/tree-ssa/pr38385.c: New file. - -2009-01-12 Jakub Jelinek <jakub@redhat.com> - - PR c++/38794 - * g++.dg/parse/typedef9.C: New test. - - PR tree-optimization/38807 - * gcc.c-torture/compile/pr38807.c: New test. - -2009-01-11 Adam Nemet <anemet@caviumnetworks.com> - - * gcc.target/mips/ins-2.c: New test. - -2009-01-11 H.J. Lu <hongjiu.lu@intel.com> - - PR testsuite/38809 - * gcc.dg/pr38616.c: Only run for targets with -fstack-protector. - -2009-01-11 Jakub Jelinek <jakub@redhat.com> - - PR c++/36254 - * g++.dg/warn/Wreturn-type-5.C: New test. - -2009-01-11 Matthias Klose <doko@ubuntu.com> - - PR middle-end/38616 - * gcc.dg/pr38616.c: New test. - -2009-01-10 Sebastian Pop <sebastian.pop@amd.com> - - * gcc.dg/graphite/block-3.c: Fix compile error on 32bit. - -2009-01-10 Andrew Pinski <pinskia@gmail.com> - - PR c++/38648 - * g++.dg/expr/string-1.C: New test. - * g++.dg/expr/string-2.C: New test. - - PR c++/36695 - * g++.dg/ext/complex4.C: New test. - * g++.dg/ext/complex5.C: New test. - * g++.dg/init/reference1.C: New test. - * g++.dg/init/reference2.C: New test. - * g++.dg/init/reference3.C: New test. - -2009-01-10 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/38763 - * gfortran.dg/transfer_null_1.f90: New test. - -2009-01-10 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/38765 - * gfortran.dg/host_assoc_function_6.f90: New test. - -2009-01-09 Joel Sherrill <joel.sherrill@oarcorp.com> - - * lib/target-supports.exp: Add method to determine if the effective - target is really a ppc405 after applying all compile options. - * gcc.target/powerpc/405-mulhhwu-2.c: Add dg-skip-if not ppc405. - * gcc.target/powerpc/405-nmachhw-1.c: Likewise. - * gcc.target/powerpc/405-nmaclhw-1.c: Likewise. - * gcc.target/powerpc/405-machhwu-1.c: Likewise. - * gcc.target/powerpc/405-mullhwu-1.c: Likewise. - * gcc.target/powerpc/405-nmacchw-1.c: Likewise. - * gcc.target/powerpc/405-mulchwu-1.c: Likewise. - * gcc.target/powerpc/405-nmachhw-2.c: Likewise. - * gcc.target/powerpc/405-nmaclhw-2.c: Likewise. - * gcc.target/powerpc/405-machhwu-2.c: Likewise. - * gcc.target/powerpc/405-mulhhw-1.c: Likewise. - * gcc.target/powerpc/405-machhw-1.c: Likewise. - * gcc.target/powerpc/405-mullhw-1.c: Likewise. - * gcc.target/powerpc/405-maclhw-1.c: Likewise. - * gcc.target/powerpc/405-dlmzb-strlen-1.c: Likewise. - * gcc.target/powerpc/405-mullhwu-2.c: Likewise. - * gcc.target/powerpc/405-nmacchw-2.c: Likewise. - * gcc.target/powerpc/405-mulchwu-2.c: Likewise. - * gcc.target/powerpc/405-mulchw-1.c: Likewise. - * gcc.target/powerpc/405-maclhwu-1.c: Likewise. - * gcc.target/powerpc/405-macchw-1.c: Likewise. - * gcc.target/powerpc/405-mulhhw-2.c: Likewise. - * gcc.target/powerpc/405-machhw-2.c: Likewise. - * gcc.target/powerpc/405-mullhw-2.c: Likewise. - * gcc.target/powerpc/405-maclhw-2.c: Likewise. - * gcc.target/powerpc/405-macchwu-1.c: Likewise. - * gcc.target/powerpc/405-mulhhwu-1.c: Likewise. - * gcc.target/powerpc/405-mulchw-2.c: Likewise. - * gcc.target/powerpc/405-maclhwu-2.c: Likewise. - * gcc.target/powerpc/405-macchw-2.c: Likewise. - * gcc.target/powerpc/405-macchwu-2.c: Likewise. - -2009-01-09 Jakub Jelinek <jakub@redhat.com> - - PR c++/35335 - * g++.dg/other/error31.C: New testcase. - - PR c/35742 - * gcc.dg/pr35742.c: New test. - -2009-01-09 John F. Carr <jfc@mit.edu> - - PR c++/37877 - * g++.dg/parse/linkage3.C: New test. - -2009-01-09 Jakub Jelinek <jakub@redhat.com> - - PR middle-end/38771 - * gcc.c-torture/compile/pr38771.c: New test. - -2009-01-08 Nathan Froyd <froydnj@codesourcery.com> - - * gcc.dg/pr34856.c: Ignore irrelevant warning. - -2009-01-08 Mark Mitchell <mark@codesourcery.com> - - * gcc.dg/sibcall-3.c: XFAIL for Thumb. - * gcc.dg/sibcall-4.c: Likewise. - -2009-01-08 Sebastian Pop <sebastian.pop@amd.com> - Jan Sjodin <jan.sjodin@amd.com> - - PR tree-optimization/38559 - * gcc.dg/graphite/pr38559.c: New. - -2009-01-08 Ira Rosen <irar@il.ibm.com> - - PR tree-optimization/37194 - * gcc.dg/vect/costmodel/ppc/costmodel-pr37194.c: New test. - -2009-01-07 Jakub Jelinek <jakub@redhat.com> - - PR c++/38725 - * g++.dg/ext/label11.C: New test. - -2009-01-07 Joseph Myers <joseph@codesourcery.com> - - * lib/target-supports.exp (check_weak_override_available): New. - * lib/target-supports-dg.exp (dg-require-weak-override): New. - * gcc.dg/tree-ssa/pr27781.c, g++.dg/eh/weak1.C: Use - dg-require-weak-override. - -2009-01-07 Nathan Froyd <froydnj@codesourcery.com> - Alan Modra <amodra@bigpond.net.au> - - * gcc.c-torture/compile/20090107-1.c: New test. - -2009-01-07 Uros Bizjak <ubizjak@gmail.com> - - PR target/38706 - * g++.dg/other/pr38706.C: New test. - -2009-01-07 Jason Merrill <jason@redhat.com> - - * g++.dg/cpp0x/variadic92.C: New test. - * g++.dg/cpp0x/variadic93.C: New test. - -2009-01-07 Janis Johnson <janis187@us.ibm.com> - - * lib/target-supports-dg.exp (current_compiler_flags): New. - (check-flags): Use it; do not access dg-test local variables. - (dg-skip-if): Do not access dg-test local variables. - (dg-xfail-run-if): Ditto. - (dg-shouldfail): Ditto. - * gcc.test-framework/test-framework.exp - (check_effective_target_def_nocache): New. - * gcc.test-framework/test-framework.awk: Handle scan tests. - * gcc.test-framework/dg-do-run-xrif-nocache-exp-XF.c: New test. - * gcc.test-framework/dg-error-nocache-exp-P.c: New test. - * gcc.test-framework/dg-nocache-scanasm-exp-XF.c: New test. - * gcc.test-framework/dg-warning-nocache-exp-P.c: New test. - * gcc.test-framework/dg-nocache-sif-exp-P.c: New test. - * gcc.test-framework/dg-nocache-sif-exp-U.c: New test. - * gcc.test-framework/dg-nocache-xif-exp-P.c: New test. - * gcc.test-framework/dg-do-run-sft-nocache-exp-P.c: New test. - * gcc.test-framework/dg-nocache-xif-exp-XP.c: New test. - - * g++.dg/torture/pr38586.C: Ignore a possible warning. - - * lib/target-supports-dg.exp (check_test_flags): Delete. - -2009-01-07 Jan Sjodin <jan.sjodin@amd.com> - - PR tree-optimization/38492 - PR tree-optimization/38498 - * gcc.dg/graphite/pr38500.c: Fixed warning as committed - in trunk. - * gcc.dg/graphite/block-0.c: Update test. - * gcc.dg/graphite/block-1.c: Same. - * gcc.dg/graphite/block-2.c: Remove xfail and test for blocking. - * gcc.dg/graphite/block-4.c: Remove test for strip mine. - * gcc.dg/graphite/block-3.c: New. - * gcc.dg/graphite/pr38498.c: New. - -2009-01-07 H.J. Lu <hongjiu.lu@intel.com> - - AVX Programming Reference (December, 2008) - * gcc.target/i386/avx-vmovntdq-256-1.c: New. - * gcc.target/i386/avx-vmovntpd-256-1.c: Likewise. - * gcc.target/i386/avx-vmovntps-256-1.c: Likewise. - - * gcc.target/i386/sse2-movntdq-1.c (TEST): Align array to 16byte. - * gcc.target/i386/sse2-movntpd-1.c (TEST): Likewise. - -2009-01-06 Thomas Koenig <tkoenig@gcc.gnu.org> - - PR fortran/38220 - * gfortran.dg/c_loc_pure_1.f90: New test. - -2009-01-06 Mikael Morin <mikael.morin@tele2.fr> - - PR fortran/38669 - * gfortran.dg/elemental_dependency_3.f90: - Add the final tree dump cleanup. - -2009-01-06 Jakub Jelinek <jakub@redhat.com> - - * gfortran.dg/pr23095.f: Require ilp32 in target selection instead of - passing -m32. - - PR rtl-optimization/38722 - * gfortran.dg/pr38722.f90: New test. - -2009-01-06 Janis Johnson <janis187@us.ibm.com> - - PR c/34252 - * gcc.dg/dfp/decfloat-constants.c: Check for DECnn_SUBNORMAL_MIN - instead of DECnn_DEN. Support -DDBG to list lines that fail. - -2009-01-06 Dominique Dhumieres <dominiq@lps.ens.fr> - - * gfortran.dg/implicit_12.f90: Add space around dg directive. - * gfortran.dg/typebound_call_8.f03: Same. - * gfortran.dg/elemental_bind_c.f90: Same. - * gfortran.dg/typebound_call_7.f03: Same. - * gfortran.dg/interface_proc_end.f90: Same - * gfortran.dg/pr37243.f: Fix typo. - -2009-01-06 Uros Bizjak <ubizjak@gmail.com> - - * gcc.dg/struct-ret-3.c (CHUNK_SIZE): New define. Use CHUNK_SIZE - instead of hardcoded number. Increase CHUNK_SIZE to 16384 for - large stack sizes. - -2009-01-06 H.J. Lu <hongjiu.lu@intel.com> - - AVX Programming Reference (December, 2008) - * gcc.target/i386/avx-2.c: Remove tests for _mm_permute2_pd, - _mm256_permute2_pd, _mm_permute2_ps and _mm256_permute2_ps. - * gcc.target/i386/sse-14.c: Likewise. - - * gcc.target/i386/avx-vpermil2pd-1.c: Removed. - * gcc.target/i386/avx-vpermil2ps-1.c: Likewise. - * gcc.target/i386/avx-vpermil2pd-256-1.c: Likewise. - * gcc.target/i386/avx-vpermil2ps-256-1.c: Likewise. - -2009-01-05 Jerry DeLisle <jvdelisle@gcc.gnu.org> - - PR libfortran/38735 - * gfortran.dg/fmt_bz_bn.f: Update test. - -2009-01-05 Dodji Seketeli <dodji@redhat.com> - - PR c++/38472 - * g++.dg/conversion/usual-arith-conv.C: New test. - -2009-01-05 Andrew Pinski <andrew_pinski@playstation.sony.com> - - PR c/34911 - * gcc.dg/vector-3.c: New testcase. - * g++.dg/ext/vector15.C: New test. - -2009-01-05 Harsha Jagasia <harsha.jagasia@amd.com> - - PR tree-optimization/38510 - * gcc.dg/graphite/pr38510.c: New. - -2009-01-05 Harsha Jagasia <harsha.jagasia@amd.com> - Jan Sjodin <jan.sjodin@amd.com> - - PR tree-optimization/38500 - * gcc.dg/graphite/pr38500.c: New. - -2009-01-05 Laurent GUERBY <laurent@guerby.net> - - * gcc.c-torture/compile/20001226-1.c: Generalize - dg-timeout-factor. - * gcc.c-torture/compile/limits-fnargs.c: Add - dg-timeout-factor. - * gcc.dg/20020425-1.c: Likewise. - * gcc.dg/pch/pch.exp: Likewise. - -2009-01-05 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/38657 - * gfortran.dg/module_commons_3.f90: New test. - -2009-01-05 Daniel Franke <franke.daniel@gmail.com> - - PR fortran/37159 - * gfortran.dg/random_seed_1.f90: Updated. - -2009-01-05 Mikael Morin <mikael.morin@tele2.fr> - - PR fortran/38669 - PR fortran/38726 - * gfortran.dg/elemental_subroutine_7.f90: - Fix p values so that it can be used as vector subscript. - -2009-01-05 Jason Merrill <jason@redhat.com> - - * g++.dg/cpp0x/initlist12.C: Add another test. - - * g++.dg/cpp0x/defaulted7.C: New test. - -2009-01-05 Thomas Koenig <tkoenig@gcc.gnu.org> - - PR fortran/38672 - * gfortran.dg/host_assoc_blockdata_1.f90: New test. - * gfortran.dg/host_assoc_blockdata_2.f90: New test. - -2009-01-05 Uros Bizjak <ubizjak@gmail.com> - - * gcc.dg/compat/struct-layout-1_generate.c (dg-options): Add -mieee - for alpha*-*-* targets. - * g++.dg/compat/struct-layout-1_generate.c (dg-options): Ditto. - -2009-01-05 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/38665 - * gfortran.dg/host_assoc_function_5.f90: New test. - -2009-01-04 Mikael Morin <mikael.morin@tele2.fr> - - PR fortran/38669 - * gfortran.dg/elemental_dependency_3.f90: New test. - * gfortran.dg/elemental_subroutine_7.f90: New test. - -2009-01-04 Uros Bizjak <ubizjak@gmail.com> - - * gcc.dg/struct-ret-3.c: Include unistd.h. - (main): Exit early if system memory page size is - larger than 4096 bytes. - -2009-01-04 Daniel Franke <franke.daniel@gmail.com> - - PR fortran/38718 - * gfortran.dg/merge_init_expr.f90: New. - -2009-01-04 Mikael Morin <mikael.morin@tele2.fr> - - PR fortran/38536 - * gfortran.dg/c_loc_tests_13.f90: New test. - * gfortran.dg/c_loc_tests_14.f90: New test. - -2009-01-03 Daniel Franke <franke.daniel@gmail.com> - - * gfortran.dg/func_result_4.f90: New. - -2009-01-03 Paul Thomas <pault@gcc.gnu.org> - - PR fortran/38594 - * gfortran.dg/host_assoc_call_3.f90: Make sure that the generic - interface still works, in addition to original tests. - * gfortran.dg/host_assoc_call_6.f90: New test. - -2009-01-03 Jakub Jelinek <jakub@redhat.com> - - PR c++/38705 - * g++.dg/torture/pr38705.C: New test. - - PR c/38700 - * gcc.dg/pr38700.c: New test. - -2009-01-02 Jason Merrill <jason@redhat.com> - - * g++.dg/cpp0x/initlist11.C: New test. - * g++.dg/cpp0x/initlist12.C: New test. - -2009-01-02 Richard Sandiford <rdsandiford@googlemail.com> - - * gcc.dg/fixed-point/composite-type.c: Update wording of messages. - Allow extra informative notes. - -2009-01-01 Jakub Jelinek <jakub@redhat.com> - - PR c/36489 - * gcc.dg/pr36489.c: New test. - -Copyright (C) 2009 Free Software Foundation, Inc. +Copyright (C) 2010 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright diff --git a/gcc/testsuite/ChangeLog-2009 b/gcc/testsuite/ChangeLog-2009 new file mode 100644 index 0000000..005b4ac --- /dev/null +++ b/gcc/testsuite/ChangeLog-2009 @@ -0,0 +1,12678 @@ +2009-12-30 Joseph Myers <joseph@codesourcery.com> + + PR c/42439 + * gcc.dg/bitfld-19.c, gcc.dg/bitfld-20.c, gcc.dg/bitfld-21.c: New + tests. + +2009-12-30 Ira Rosen <irar@il.ibm.com> + + PR tree-optimization/41956 + * gcc.dg/vect/pr41956.c: New test. + +2009-12-30 Uros Bizjak <ubizjak@gmail.com> + + PR target/42549 + * gcc.target/i386/mmx-3dnow-check.h: New file. + * gcc.target/i386/pr42549.c: New test. + +2009-12-29 Ian Lance Taylor <iant@google.com> + + PR middle-end/42099 + * gcc.c-torture/execute/20091229-1.c: New test. + +2009-12-29 Janus Weil <janus@gcc.gnu.org> + + PR fortran/42517 + * gfortran.dg/gomp/recursion1.f90: New test. + +2009-12-29 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/test_raise_from_pure.adb: XFAIL for the ARM. + * gnat.dg/warn5.adb: Expect warning on the ARM. + +2009-12-28 Jason Merrill <jason@redhat.com> + + PR c++/42447 + * g++.dg/template/array21.C: New. + +2009-12-28 Janus Weil <janus@gcc.gnu.org> + + PR fortran/42353 + * gfortran.dg/class_13.f03: New test. + +2009-12-28 H.J. Lu <hongjiu.lu@intel.com> + + PR middle-end/41344 + * gfortran.dg/gomp/pr41344.f: New. + +2009-12-27 Martin Jambor <mjambor@suse.cz> + + PR tree-optimization/42231 + * gcc.c-torture/execute/pr42231.c: New test. + +2009-12-27 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + Daniel Kraft <d@domob.eu> + + PR fortran/22552 + * gfortran.dg/warn_implicit_procedure_1.f90: New test. + +2009-12-24 Jason Merrill <jason@redhat.com> + + PR c++/41305 + * g++.dg/lookup/koenig9.C: New test. + * g++.dg/lookup/koenig10.C: New test. + * g++.dg/lookup/koenig11.C: New test. + * g++.dg/lookup/koenig12.C: New test. + +2009-12-24 Julian Brown <julian@codesourcery.com> + Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> + + PR target/40887 + * gcc.target/arm/pr40887.c: New test. + +2009-12-23 Jakub Jelinek <jakub@redhat.com> + + PR rtl-optimization/42475 + * gcc.dg/pr42475.c: New test. + +2009-12-23 Jakub Jelinek <jakub@redhat.com> + Cary Coutant <ccoutant@google.com> + + PR debug/42454 + * gcc.dg/debug/dwarf2/aranges-fnsec-1.c: Add check for .debug_ranges. + +2009-12-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> + + PR target/42093 + * gcc.target/arm/pr42093.c: New test. + +2009-12-23 Ramana Radhakrishnan <ramrad01@arm.com> + + PR target/40670 + * gcc.target/arm/pr40670.c: New test. + +2009-12-23 Uros Bizjak <ubizjak@gmail.com> + + * gcc.target/alpha/20000715-1.c: Remove target selector. + * gcc.target/alpha/20011018-1.c: Ditto. + * gcc.target/alpha/980217-1.c: Ditto. + * gcc.target/alpha/asm-1.c: Ditto. + * gcc.target/alpha/base-1.c: Ditto. + * gcc.target/alpha/base-2.c: Ditto. + * gcc.target/alpha/cix-1.c: Ditto. + * gcc.target/alpha/cix-2.c: Ditto. + * gcc.target/alpha/max-1.c: Ditto. + * gcc.target/alpha/max-2.c: Ditto. + +2009-12-23 Sebastian Pop <sebpop@gmail.com> + + * g++.dg/graphite/id-1.C: New. + * g++.dg/graphite/pr41305.C: New. + * gcc.dg/graphite/id-16.c: New. + * gcc.dg/graphite/interchange-10.c: New. + * gcc.dg/graphite/interchange-11.c: New. + * gcc.dg/graphite/interchange-mvt.c: New. + * gcc.dg/graphite/pr40281.c: New. + * gcc.dg/graphite/run-id-2.c: New. + * gcc.dg/graphite/scop-dsyr2k.c: New. + * gcc.dg/graphite/scop-dsyrk.c: New. + * gcc.dg/graphite/scop-mvt.c: New. + * gcc.dg/graphite/scop-sor.c: New. + * gfortran.dg/graphite/id-18.f90: New. + * gfortran.dg/graphite/interchange-3.f90: New. + * gfortran.dg/graphite/pr42050.f90: New. + +2009-12-23 Dodji Seketeli <dodji@redhat.com> + + PR c++/42260 + * g++.dg/conversion/cast2.C: New test. + +2009-12-22 Jason Merrill <jason@redhat.com> + + PR c++/42466 + * g++.dg/template/nontype19.C: New. + + PR c++/42331 + * g++.dg/cpp0x/initlist29.C: New. + +2009-12-22 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk> + + PR target/41605 + * lib/g++.exp: Provide -B options to allow for link spec %s + substitutions for static libraries. + +2009-12-22 Brian Hackett <bhackett1024@gmail.com> + + * g++.dg/plugin/attribute_plugin.c: Rename pre-genericize event. + * g++.dg/plugin/dumb_plugin.c: Same. + +2009-12-21 Jason Merrill <jason@redhat.com> + + * g++.dg/abi/mangle14.C: Add expected mangling. + +2009-12-21 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> + + * gcc.dg/pr36901.h: AVR must support address zero. + +2009-12-21 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> + + PR testsuite/36903 + * gcc.dg/tree-ssa/gen-vect-11.c : Disable for avr target. It will + not vectorize. + * gcc.dg/tree-ssa/gen-vect-11a.c: Ditto. + * gcc.dg/tree-ssa/gen-vect-2.c: Ditto. + * gcc.dg/tree-ssa/gen-vect-25.c: Ditto. + * gcc.dg/tree-ssa/gen-vect-26.c: Ditto. + * gcc.dg/tree-ssa/gen-vect-28.c: Ditto. + * gcc.dg/tree-ssa/gen-vect-32.c: Ditto. + * gcc.dg/tree-ssa/pr23455.c: Test for 4 eliminations on avr target. + * gcc.dg/tree-ssa/ssa-fre-26.c: XFAIL test for avr. + * gcc.dg/tree-ssa/vrp47.c: Skip test for avr target due to low + branch cost. + +2009-12-21 Thomas Koenig <tkoenig@gcc.gnu.org> + + PR libfortran/PR42422 + * gfortran.dg/list_read_10.f90: New test. + +2009-12-19 Dodji Seketeli <dodji@redhat.com> + + PR c++/42225 + * g++.dg/template/typedef26.C: New test. + +2009-12-19 Richard Guenther <rguenther@suse.de> + + PR lto/42401 + * g++.dg/lto/20091219_0.C: New testcase. + +2009-12-19 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/42108 + * gfortran.dg/pr42108.f90: New testcase. + +2009-12-18 Jason Merrill <jason@redhat.com> + + PR c++/28300 + * g++.dg/template/spec37.C: New. + + PR c++/42415 + * g++.dg/tc1/dr147.C: Add test. + * g++.old-deja/g++.jason/temporary5.C: Adjust. + +2009-12-18 Shujing Zhao <pearly.zhao@oracle.com> + + * g++.old-deja/g++.brendan/misc6.C: Make expected dg-error strings + explicit. + +2009-12-17 Jakub Jelinek <jakub@redhat.com> + + * gcc.dg/debug/dwarf2/const-1.c: Don't expect DW_AT_const_value, + but instead DW_AT_location with DW_OP_addr+DW_OP_stack_value. Add + -gno-strict-dwarf -fno-merge-debug-strings to dg-options. + * g++.dg/debug/dwarf2/const1.C: Likewise. + * g++.dg/debug/dwarf2/template-params-3.C: Likewise. + * g++.dg/debug/dwarf2/template-func-params-3.C: Likewise. + +2009-12-17 Alexandre Oliva <aoliva@redhat.com> + + PR debug/41679 + * gcc.target/arm/pr41679.c: New. + +2009-12-17 Jakub Jelinek <jakub@redhat.com> + + PR c++/42386 + * g++.dg/opt/dtor3.C: New test. + +2009-12-17 Arnaud Charlet <charlet@adacore.com> + + * ada/acats/run_all.sh: Strip comments from norun.lst + +2009-12-17 Uros Bizjak <ubizjak@gmail.com> + + PR target/32280 + * gcc.target/i386/pr32280-1.c: New test. + +2009-12-17 Uros Bizjak <ubizjak@gmail.com> + + * objc/execute/forward-1.x: XFAIL for -fgnu-runtime on + x86_64-*-darwin*, powerpc*-*-darwin* and alpha*-*-linux* targets. + +2009-12-17 Janus Weil <janus@gcc.gnu.org> + + PR fortran/42144 + * gfortran.dg/dynamic_dispatch_6.f03: New test. + +2009-12-17 Shujing Zhao <pearly.zhao@oracle.com> + + * g++.old-deja/g++.mike/net31.C: Make expected dg-error strings + explicit. + * g++.old-deja/g++.bugs/900213_02.C: Likewise. + * g++.old-deja/g++.bugs/900215_02.C: Likewise. + +2009-12-16 Richard Guenther <rguenther@suse.de> + + PR lto/42392 + * gcc.dg/lto/20091216-1_0.c: New testcase. + +2009-12-15 Jason Merrill <jason@redhat.com> + + PR c++/42387 + * g++.dg/ext/vla8.C: New. + +2009-12-16 Jakub Jelinek <jakub@redhat.com> + + * gcc.c-torture/compile/20091215-1.c: New test. + + * gcc.dg/debug/tls-1.c: New test. + +2009-12-15 Jason Merrill <jason@redhat.com> + + PR c++/42358 + * g++.dg/cpp0x/variadic98.C: New. + +2009-12-14 Jason Merrill <jason@redhat.com> + + PR c++/42373 + * g++.dg/cpp0x/lambda/lambda-mangle.C: Adjust regexps for darwin. + +2009-12-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * ada/acats/norun.lst: Sort. + +2009-12-15 Jakub Jelinek <jakub@redhat.com> + + PR c++/41183 + * g++.dg/torture/pr41183.C: New test. + +2009-12-15 Tobias Burnus <burnus@net-b.de> + + PR fortran/41235 + * gfortran.dg/auto_char_len_1.f90: New test. + * gfortran.dg/auto_char_len_2.f90: New test. + * gfortran.dg/auto_char_len_4.f90: Correct test. + +2009-12-14 Jason Merrill <jason@redhat.com> + + PR c++/42364 + * g++.dg/cpp0x/variadic31.C: Compile with -g. + * g++.dg/ext/attrib33.C: Likewise. + +2009-12-15 Shujing Zhao <pearly.zhao@oracle.com> + + * g++.dg/other/error20.C: Adjust dg-message strings. + * g++.dg/other/error31.C: Likewise. + * g++.dg/rtti/typeid6.C: Likewise. + * g++.dg/ext/ms-1.C: Likewise. + * g++.dg/parse/error19.C: Likewise. + * g++.dg/parse/crash5.C: Likewise. + * g++.dg/cpp0x/explicit4.C: Likewise. + * g++.dg/template/ptrmem4.C: Likewise. + * g++.dg/template/crash37.C: Likewise. + * g++.dg/template/qualttp5.C: Likewise. + * g++.dg/template/local6.C: Likewise. + * g++.dg/template/instantiate5.C: Likewise. + * g++.old-deja/g++.brendan/overload1.C: Likewise. + * g++.old-deja/g++.brendan/cvt3.C: Likewise. + * g++.old-deja/g++.brendan/overload4.C: Likewise. + * g++.old-deja/g++.jason/conversion11.C: Likewise. + * g++.old-deja/g++.jason/scoping10.C: Likewise. + * g++.old-deja/g++.other/expr1.C: Likewise. + * g++.old-deja/g++.other/pmf3.C: Likewise. + * g++.old-deja/g++.other/crash24.C: Likewise. + * g++.old-deja/g++.niklas/t120.C: Likewise. + * g++.old-deja/g++.niklas/t121.C: Likewise. + * g++.old-deja/g++.law/operators9.C: Likewise. + * g++.old-deja/g++.law/arm9.C: Likewise. + * g++.old-deja/g++.law/enum4.C: Likewise. + * g++.old-deja/g++.law/arg11.C: Likewise. + * g++.old-deja/g++.benjamin/15800-1.C: Likewise. + * g++.old-deja/g++.mike/p2431.C: Likewise. + * g++.old-deja/g++.mike/p438.C: Likewise. + * g++.old-deja/g++.mike/p9068.C: Likewise. + * g++.old-deja/g++.mike/p11110.C: Likewise. + * g++.old-deja/g++.bugs/900330_02.C: Likewise. + +2009-12-14 Uros Bizjak <ubizjak@gmail.com> + + * g++.dg/other/i386-2.C: Add -mpopcnt -mabm -mlwp to dg-options. + * g++.dg/other/i386-3.C: Ditto. + * g++.dg/other/i386-5.C: Remove duplicated test. + * g++.dg/other/i386-6.C: Ditto. + +2009-12-14 Daniel Franke <franke.daniel@gmail.com> + + PR fortran/42354 + * gfortran.dg/iso_c_binding_init_expr.f03: New. + * gfortran.dg/intrinsic_std_1.f90: Fixed expected error message. + * gfortran.dg/function_kinds_5.f90: Likewise. + * gfortran.dg/selected_char_kind_3.f90: Likewise. + +2009-12-14 Dominique d'Humieres <dominiq@lps.ens.fr> + + * gfortran.dg/boz_15.f90: Fix typos. + +2009-12-14 Jakub Jelinek <jakub@redhat.com> + Sebastian Pop <sebastian.pop@amd.com> + + * gcc.target/i386/sse-12.c: Add -mpopcnt and -mlwp. + * gcc.target/i386/sse-13.c: Same. + (__builtin_ia32_lwpval32, __builtin_ia32_lwpval64, + __builtin_ia32_lwpins32, __builtin_ia32_lwpins64): Added testcases. + * gcc.target/i386/sse-14.c: Add -mpopcnt -mabm -mlwp. + Added tests for __lwpval32, __lwpins32, __lwpval64, and __lwpins64. + * gcc.target/i386/sse-22.c: Added tests for popcnt, abm, and lwp. + * gcc.target/i386/sse-23.c: Same. + +2009-12-14 Sebastian Pop <sebpop@gmail.com> + + PR middle-end/42284 + * testsuite/gcc.dg/graphite/pr42284.c: New. + +2009-12-13 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/42357 + * g++.dg/torture/pr42357.C: New testcase. + +2009-12-11 Janus Weil <janus@gcc.gnu.org> + + PR fortran/42257 + * gfortran.dg/extends_9.f03: New test. + +2009-12-11 Jason Merrill <jason@redhat.com> + + PR c++/42219 + * g++.dg/conversion/err-recover1.C: New. + +2009-12-11 Janus Weil <janus@gcc.gnu.org> + + PR fortran/42335 + * gfortran.dg/select_type_11.f03: New test. + +2009-12-11 Dodji Seketeli <dodji@redhat.com> + + PR c++/42225 + * g++.dg/template/typedef24.C: New test. + * g++.dg/template/typedef25.C: New test. + +2009-12-11 Dodji Seketeli <dodji@redhat.com> + + PR c++/42251 + * g++.dg/template/const3.C: New test. + +2009-12-11 Richard Guenther <rguenther@suse.de> + + PR lto/42320 + * g++.dg/lto/20091210-1_0.h: New testcase. + * g++.dg/lto/20091210-1_0.C: Likewise. + * g++.dg/lto/20091210-1_1.C: Likewise. + +2009-12-10 Jakub Jelinek <jakub@redhat.com> + + PR c++/42317 + * g++.dg/opt/dtor2.C: New test. + * g++.dg/opt/dtor2.h: New file. + * g++.dg/opt/dtor2-aux.cc: New file. + +2009-12-10 Daniel Franke <franke.daniel@gmail.com> + + PR fortran/41369 + * gfortran.dg/func_derived_5.f90: New. + +2009-12-10 Jan Hubicka <jh@suse.cz> + + PR middle-end/42110 + * g++.dg/torture/pr42110.C: new file. + +2009-12-10 Daniel Franke <franke.daniel@gmail.com> + + PR fortran/34402 + * gfortran.dg/alloc_comp_init_expr.f03: New. + +2009-12-09 David Edelsohn <edelsohn@gnu.org> + + * gcc.target/powerpc/bswap64-4.c: Disable on AIX. + * gcc.target/powerpc/ppc64-double-1.c: Disable on AIX. + +2009-12-09 Xinliang David Li <davidxl@google.com> + + PR tree-optimization/42337 + * g++.dg/tree-ssa/pr42337.C: New test. + +2009-12-08 Tobias Burnus <burnus@net-b.de> + + PR fortran/41711 + * gfortran.dg/boz_15.f90: New test. + +2008-12-08 Daniel Kraft <d@domob.eu> + + PR fortran/41177 + * gfortran.dg/typebound_proc_4.f03: Remove check for wrong error. + * gfortran.dg/typebound_proc_13.f03: New test. + +2009-12-08 Olga Golovanevsky <olga@il.ibm.com> + Jakub Jelinek <jakub@redhat.com> + + PR midle-end/41843 + * gcc.dg/struct/wo_prof_empty_str.c: New testcase. + +2009-12-07 Richard Henderson <rth@redhat.com> + + PR rtl-opt/42269 + * gcc.c-torture/execute/pr42269-2.c: New. + * gcc.target/alpha/pr42269-1.c: Likewise. + +2009-12-07 Richard Henderson <rth@redhat.com> + + PR debug/42299 + PR debug/42166 + * gcc.c-torture/compile/pr42299.c: New. + * gfortran.dg/pr42166.f90: Likewise. + +2009-12-07 Jakub Jelinek <jakub@redhat.com> + + PR debug/42244 + * gcc.dg/debug/pr42244.c: New test. + +2009-12-07 Jakub Jelinek <jakub@redhat.com> + + * gcc.target/i386/sse-12.c: Add -mabm to dg-options, mention + abmintrin.h is also tested. + * gcc.target/i386/sse-13.c: Likewise. + +2009-12-07 Daniel Franke <franke.daniel@gmail.com> + + PR fortran/41940 + * gfortran.dg/allocate_scalar_with_shape.f90: New. + +2009-12-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + PR other/40302 + * gcc.dg/torture/builtin-math-6.c: Assume we have MPC. + * gcc.dg/torture/builtin-math-7.c: Likewise. + * gfortran.dg/complex_intrinsic_7.f90: Likewise. + * gfortran.dg/complex_intrinsic_8.f90: Likewise. + * gfortran.dg/integer_exponentiation_4.f90: Re-enable some tests. + * lib/target-supports.exp (check_effective_target_mpc, + check_effective_target_mpc_pow, check_effective_target_mpc_arc): + Delete. + +2009-12-07 Edmar Wienskoski <edmar@freescale.com> + + * gcc.target/powerpc/ppc-eq0-1.c: Adjust testcase for isel + targets. + +2009-12-06 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> + + * gcc.c-torture/execute/vla-dealloc-1.c: Use lower loop count + for 16bit int targets. + +2009-12-06 Richard Henderson <rth@redhat.com> + + PR debug/42234 + * gcc.c-torture/compile/pr42234.c: New. + +2009-12-06 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41478 + PR fortran/42268 + * gfortran.dg/intrinsic_pack_5.f90: New test. + +2009-12-04 Jason Merrill <jason@redhat.com> + + PR c++/42010 + * g++.dg/abi/local2.C: New. + + PR c++/42277 + * g++.dg/cpp0x/decltype20.C: New. + +2009-12-04 David Daney <ddaney@caviumnetworks.com> + + PR rtl-optimization/42164 + * gcc.c-torture/compile/pr42164.c: New test. + +2009-12-04 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/specs/size_attribute1.ads: New test. + * gnat.dg/specs/size_attribute1_pkg1.ad[sb]: New helper. + * gnat.dg/specs/size_attribute1_pkg2.ad[sb]: Likewise. + +2009-12-04 Dodji Seketeli <dodji@redhat.com> + + PR c++/42218 + * g++.dg/other/error33.C: New test. + +2009-12-03 Jason Merrill <jason@redhat.com> + + * g++.dg/abi/guard2.C: Run on *-*-linux* rather than x86-*-* + + PR c++/41611 + * g++.dg/abi/guard2.C: New. + + PR c++/42266 + * g++.dg/cpp0x/variadic97.C: New. + +2009-12-03 Jakub Jelinek <jakub@redhat.com> + + PR middle-end/42049 + * gcc.c-torture/compile/pr42049.c: New test. + +2009-12-03 Quentin Ochem <ochem@adacore.com> + + * gnat.dg/controlled5.adb: New test. + * gnat.dg/controlled5_pkg.ad[sb]: New helper. + +2009-12-03 Dodji Seketeli <dodji@redhat.com> + + PR c++/42217 + * g++.dg/other/bitfield4.C: New test. + +2009-12-03 Jakub Jelinek <jakub@redhat.com> + + PR c++/42256 + * g++.dg/inherit/thunk11.C: New test. + * g++.dg/inherit/thunk11.h: New file. + * g++.dg/inherit/thunk11-aux.cc: New file. + +2009-12-02 Richard Henderson <rth@redhat.com> + + PR tree-opt/42215 + * gcc.dg/pr42215.c: New. + +2009-12-02 Richard Guenther <rguenther@suse.de> + + * g++.dg/ipa/iinline-1.C: Adjust. + * g++.dg/template/cond2.C: Likewise. + * g++.dg/template/pr35240.C: Likewise. + +2009-12-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> + + PR middle-end/42224 + * gcc.target/s390/pr42224.c: New test. + +2009-12-01 Jason Merrill <jason@redhat.com> + + PR c++/41611 + * g++.dg/abi/guard1.C: New. + +2009-12-01 Uros Bizjak <ubizjak@gmail.com> + + * gcc.target/i386/vperm-v4sf-1.c (dg-options): Use -msse. + +2009-12-01 Jakub Jelinek <jakub@redhat.com> + + PR c++/42234 + * g++.dg/gomp/pr42234.C: New test. + +2009-12-01 Martin Jambor <mjambor@suse.cz> + + PR tree-optimization/42237 + * gcc.c-torture/compile/pr42237.c: New test. + +2009-12-01 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/42057 + * g++.dg/parse/crash54.C: New. + +2009-11-30 Chao-ying Fu <fu@mips.com> + + * gcc.target/mips/dsp-lhx.c: New test. + * gcc.target/mips/dsp-no-lhx.c: New test. + +2009-11-30 Dave Korn <dave.korn.cygwin@gmail.com> + + * lib/g++.exp (g++_init): Add host-dependent settings for + LC_ALL and LANG. + * lib/gcc-dg.exp: Likewise. + * lib/options.exp: Likewise. + * lib/objc.exp (objc_init): Likewise. + * lib/gfortran.exp (gfortran_init): Likewise. + +2009-11-30 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/40371 + * g++.dg/template/crash93.C: New. + +2009-11-30 Steve Ellcey <sje@cup.hp.com> + + * gcc.dg/pr41551.c: New test. + +2009-11-30 Janus Weil <janus@gcc.gnu.org> + + PR fortran/42053 + * gfortran.dg/select_type_9.f03: New. + +2009-11-30 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41631 + * gfortran.dg/extends_type_of_1.f03: Fix invalid test case. + * gfortran.dg/module_md5_1.f90: Adjusted MD5 sum. + * gfortran.dg/select_type_1.f03: Remove FIXMEs. + * gfortran.dg/select_type_2.f03: Ditto. + * gfortran.dg/select_type_8.f03: New test. + +2009-11-30 Janus Weil <janus@gcc.gnu.org> + + * gfortran.dg/extends_type_of_1.f03: New test. + * gfortran.dg/same_type_as_1.f03: Extended. + +2009-11-30 Paul Thomas <pault@gcc.gnu.org> + + * gfortran.dg/class_4c.f03: Add dg-additional-sources. + * gfortran.dg/class_4d.f03: Rename module. Cleanup modules. + +2009-11-30 Janis Johnson <janis187@us.ibm.com> + + PR testsuite/42212 + * gcc.target/powerpc/regnames-1.c: Add missing brace dg-do. + +2009-11-30 Martin Jambor <mjambor@suse.cz> + + PR middle-end/42196 + * gcc.c-torture/compile/pr42196-1.c: New test. + * gcc.c-torture/compile/pr42196-2.c: New test. + * gcc.c-torture/compile/pr42196-3.c: New test. + +2009-11-30 Ira Rosen <irar@il.ibm.com> + + * gfortran.dg/vect/vect-7.f90: New test. + +2009-11-30 Richard Guenther <rguenther@suse.de> + + PR middle-end/42119 + PR fortran/38530 + * gfortran.dg/pr42119.f90: New testcase. + +2009-11-30 Dodji Seketeli <dodji@redhat.com> + + PR c++/42069 + * g++.dg/template/typedef23.C: New test. + +2009-11-29 H.J. Lu <hongjiu.lu@intel.com> + + PR tree-optimization/41961 + * g++.dg/tree-ssa/pr41961.C: New. + +2009-11-29 Ira Rosen <irar@il.ibm.com> + + PR tree-optimization/42193 + * gcc.dg/vect/pr42193.c: New test. + +2009-11-28 Dodji Seketeli <dodji@redhat.com> + + PR c++/36408 + * g++.dg/template/stmtexpr2.C: New test. + +2009-11-28 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/42183 + * g++.dg/torture/pr42183.C: New testcase. + +2009-11-28 Kai Tietz <kai.tietz@onevision.com> + + * gcc.dg/lto/20081210-1_0.c (uintptr_t): Use for + w64 target type 'unsigned long long'. + +2009-11-27 Martin Jambor <mjambor@suse.cz> + + PR middle-end/42006 + * gcc.c-torture/execute/pr42006.c: New test. + +2009-11-27 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/38656 + * g++.dg/cpp0x/error2.C: New. + +2009-11-27 Michael Matz <matz@suse.de> + + PR rtl-optimization/42084 + * gcc.dg/pr42084.c: New test. + +2009-11-27 Michael Matz <matz@suse.de> + + PR c++/41906 + * g++.dg/tree-ssa/pr41906.C: New testcase. + +2009-11-27 Jakub Jelinek <jakub@redhat.com> + + * gcc.dg/O16384.c: New test. + +2009-11-27 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/35112 + * g++.dg/parse/crash53.C: New. + * g++.dg/parse/error17.C: Adjust, error messages are not + duplicated anymore. + * g++.dg/template/dtor7.C: Remove xfail-ed dg-bogus directives. + +2009-11-27 Uros Bizjak <ubizjak@gmail.com> + + * gcc.target/i386/vperm-v4sf-1.c (dg-options): Use -msse2. + * gcc.target/i386/vperm-v4sf-2.c: Require effective target ssse3. + * gcc.target/i386/vperm-v4si-2.c: Ditto. + * gcc.target/i386/vperm-v4si-2x.c: Require effective target xop. + +2009-11-26 Richard Henderson <rth@redhat.com> + + * gcc.target/i386/xop-imul64-vector.c: Look for vpmulld not vpmacsdd. + +2009-11-26 Jason Merrill <jason@redhat.com> + + PR c++/42026, DR 239 + * g++.dg/lookup/koenig8.C: New. + + PR c++/10690 + * g++.dg/template/explicit-args2.C: Add typeid cases. + +2009-11-26 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR fortran/41278 + * gfortran.dg/array_function_5.f90: New test. + +2009-11-26 Janus Weil <janus@gcc.gnu.org> + + PR fortran/42048 + PR fortran/42167 + * gfortran.dg/select_type_10.f03: New test case. + * gfortran.dg/typebound_call_11.f03: Extended test case. + +2009-11-26 Michael Matz <matz@suse.de> + + PR tree-optimization/41905 + * g++.dg/tree-ssa/pr41905.C: New testcase. + +2009-11-25 Richard Henderson <rth@redhat.com> + + * gcc.dg/vect/slp-21.c: Succeed with vect_extract_even_odd too. + + * lib/target-supports.exp + (check_effective_target_vect_extract_even_odd): Add x86. + + * gcc.target/i386/isa-check.h: New. + * gcc.target/i386/vperm-2-2.inc, gcc.target/i386/vperm-4-1.inc, + gcc.target/i386/vperm-4-2.inc, gcc.target/i386/vperm-v2df.c, + gcc.target/i386/vperm-v2di.c, gcc.target/i386/vperm-v4sf-1.c, + gcc.target/i386/vperm-v4sf-2.c, gcc.target/i386/vperm-v4si-1.c, + gcc.target/i386/vperm-v4si-2.c, gcc.target/i386/vperm-v4si-2x.c, + gcc.target/i386/vperm.pl: New files. + +2009-11-25 Richard Henderson <rth@redhat.com> + + * gcc.dg/vect/pr36493.c: Call check_vect. + * gcc.dg/vect/pr37539.c: Likewise. + * gcc.dg/vect/vect-nest-cycle-3.c: Call check_vect earlier. + * tree-vect.h (check_vect): Use cpuid for x86. + +2009-11-25 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/specs/pack6.ads: New test. + * gnat.dg/specs/pack6_pkg.ads: New helper. + +2009-11-25 Jakub Jelinek <jakub@redhat.com> + + * gcc.target/powerpc/regnames-1.c: New test. + +2009-11-25 Eric Botcazou <ebotcazou@adacore.com> + John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + PR ada/42170 + * ada/acats/run_acats: Bump stack limit to 16MB. + +2009-11-25 Richard Earnshaw <rearnsha@arm.com> + + * gcc.target/arm/pr40835.c: Require a thumb1 target, do not force + -march=armv5te. + +2009-11-24 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR fortran/42008 + * gfortran.dg/pure_initializer_2.f90: New test. + +2009-11-23 Jason Merrill <jason@redhat.com> + + * g++.dg/tc1/dr147.C: Check for helpful messages. Add DR 318 tests. + * g++.old-deja/g++.pt/ctor2.C: Adjust. + * g++.dg/lookup/name-clash4.C: Adjust. + +2009-11-23 Jason Merrill <jason@redhat.com> + + * g++.dg/template/spec15.C: Check for helpful message. + +2009-11-24 Janis Johnson <janis187@us.ibm.com> + + * gcc.target/powerpc/altivec-32.c: Don't use -m64. + * gcc.target/powerpc/const-compare.c: Require lp64, don't use -m64. + * gcc.target/powerpc/darwin-bool-1.c: Require ilp32, remove dg-skip-if. + * gcc.target/powerpc/paired-1.c: Require ilp32, don't use -m32. + * gcc.target/powerpc/paired-2.c: Ditto. + * gcc.target/powerpc/paired-3.c: Ditto. + * gcc.target/powerpc/paired-4.c: Ditto. + * gcc.target/powerpc/paired-5.c: Ditto. + * gcc.target/powerpc/paired-6.c: Ditto. + * gcc.target/powerpc/paired-7.c: Ditto. + * gcc.target/powerpc/paired-8.c: Ditto. + * gcc.target/powerpc/paired-9.c: Ditto. + * gcc.target/powerpc/paired-10.c: Ditto. + * gcc.target/powerpc/popcount-2.c: Don't use -m32. + * gcc.target/powerpc/popcount-3.c: Don't use -m64. + * gcc.target/powerpc/ppc-paired.c: Require ilp32, don't use -m32. + * gcc.target/powerpc/pr39457.c: Don't use -m64. + * gcc.target/powerpc/vsx-vector-1.c: Ditto. + * gcc.target/powerpc/vsx-vector-2.c: Ditto. + * gcc.target/powerpc/vsx-vector-3.c: Ditto. + * gcc.target/powerpc/vsx-vector-4.c: Ditto. + +2009-11-24 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> + + * g++.dg/debug/dwarf2/anonname1.C: Escape backslash in + scan-assembler-not regular expression. + +2009-11-24 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/42142 + * gcc.c-torture/execute/pr42142.c: New testcase. + +2009-11-24 Martin Jambor <mjambor@suse.cz> + + PR tree-optimization/42154 + * gcc.c-torture/execute/pr42154.c: New test. + +2009-11-24 Janus Weil <janus@gcc.gnu.org> + + PR fortran/42045 + * gfortran.dg/proc_ptr_comp_2.f90: Correct invalid test case. + * gfortran.dg/proc_ptr_comp_3.f90: Extended test case. + * gfortran.dg/proc_ptr_comp_24.f90: New. + +2009-11-23 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> + + * gcc.c-torture/execute/pr40404.c: Use long for bitfield on 16bit + int targets. + +2009-11-23 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> + + * gcc-dg/Wtype-limits.c: Add line to correct line numbers. + +2009-11-23 H.J. Lu <hongjiu.lu@intel.com> + + PR testsuite/42086 + * gcc.target/ia64/fptr-1.c: Make it a compile test. + +2009-11-23 Janis Johnson <janis187@us.ibm.com> + + * lib/lto.exp (lto_option_list): Rename from option_list. + * lib/compat.exp (compat_option_list): Rename from option_list. + +2009-11-23 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> + + * gcc-dg/raw-string-1.c: Require-effective-target wchar. + * gcc-dg/raw-string-2.c: Ditto. + * gcc-dg/utf-array-short-wchar.c: Ditto. + * gcc-dg/utf-array.c: Ditto. + * gcc-dg/utf8-2.c: Ditto. + +2009-11-23 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> + + * gcc.dg/torture/pr37868.c: Use smaller bitfield for 16bit int + targets. + +2009-11-23 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> + + * gcc.dg/tree-ssa/pr33920.c: Remove warning check for 16 bit target. + +2009-11-23 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> + + * gcc-dg/Wtype-limits.c: Remove XFAIL for avr target. + +2009-11-23 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> + + PR testsuite/36470 + * gcc.dg/utf-cvt.c: Skip int test for 16bit int targets. + Enable short test for avr target. + * gcc.dg/utf32-1.c: Enable test for avr and m32 targets. + * gcc.dg/utf32-2.c: Ditto. + * gcc.dg/utf32-3.c: Ditto. + * gcc.dg/utf32-4.c: Enable test for non-32bit targets. + +2009-11-23 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> + + * gcc.dg/tree-ssa/asmgoto-1.c: Suppress warnings. + +2009-11-23 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> + + * gcc.c-torture/execute/ipa-sra-2.x: New. Skip for 16bit targets. + + +2009-11-23 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> + + * gcc.dg/sms-6.c: Use long for 16 bit int targets. + * gcc.dg/sms-7.c: Ditto. + +2009-11-23 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> + + * gcc.dg/pr36998.c: Frame pointer required for avr target. + * gcc.dg/debug/pr41264-1.c: Use long if int size 16bit or smaller. + * gcc.dg/pr39226.c: Use smaller bitfield if int size is 16bit. + * gcc.dg/pr41340.c: Test requires long pointer target. + * gcc.dg/profile-generate-3.c: Test requires profiling support. + +2009-11-23 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> + + * gcc.dg/graphite/block-1.c: Require 32-bit or larger array support. + * gcc.dg/graphite/block-3.c: Ditto. + * gcc.dg/graphite/block-4.c: Ditto. + * gcc.dg/graphite/block-5.c: Ditto. + * gcc.dg/graphite/block-6.c: Ditto. + * gcc.dg/graphite/interchange-0.c: Ditto. + * gcc.dg/graphite/interchange-1.c: Ditto. + * gcc.dg/graphite/interchange-2.c: Ditto. + * gcc.dg/graphite/interchange-3.c: Ditto. + * gcc.dg/graphite/interchange-4.c: Ditto. + * gcc.dg/graphite/interchange-5.c: Ditto. + * gcc.dg/graphite/interchange-6.c: Ditto. + * gcc.dg/graphite/run-id-1.c: Ditto. + * gcc.dg/graphite/scop-16.c: Ditto. + * gcc.dg/graphite/scop-17.c: Ditto. + * gcc.dg/graphite/scop-18.c: Ditto. + * gcc.dg/graphite/scop-matmult.c: Ditto. + * gcc.dg/graphite/pr40157.c: Require 32bit or larger int. + * gcc.dg/graphite/id-15.c: Ditto. + +2009-11-23 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/specs/weak1.ads: New test. + +2009-11-23 Steve Ellcey <sje@cup.hp.com> + + * gcc.dg/debug/dwarf2/inline2.c: Modify scan. + +2009-11-23 Dodji Seketeli <dodji@redhat.com> + + PR c++/14777 + * g++.dg/template/typedef13.C: Adjust. + * g++.dg/template/typedef19.C: Adjust. + * g++.dg/template/typedef20.C: Adjust. + * g++.dg/template/typedef22.C: New test. + +2009-11-22 Uros Bizjak <ubizjak@gmail.com> + + PR target/42113 + * gcc.target/alpha/pr42113.c: New test. + +2009-11-21 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR fortran/41807 + * gfortran.dg/data_value_1.f90: Update test. + * gfortran.dg/array_constructor_32.f90: New test. + +2009-11-21 Martin Jambor <mjambor@suse.cz> + + PR middle-end/42025 + * gcc.c-torture/compile/pr42025-1.c: New test. + * gcc.c-torture/compile/pr42025-2.c: New test. + +2009-11-21 Adam Nemet <adambnemet@gmail.com> + + * gcc.target/mips/mult-1.c: Forbid octeon. + * gcc.target/mips/octeon-dmul-3.c: New test. + +2009-11-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + + * gcc.dg/tree-ssa/vrp47.c: Fix target check. + +2009-11-20 Jason Merrill <jason@redhat.com> + + PR c++/9050, DR 147, DR 318 + * g++.dg/template/ctor9.C: New. + * g++.dg/tc1/dr147.C: Remove xfails. + * g++.dg/lookup/name-clash4.C: Adjust. + * g++.old-deja/g++.jason/temporary5.C: Adjust. + * g++.old-deja/g++.pt/ctor2.C: Adjust. + +2009-11-21 Jakub Jelinek <jakub@redhat.com> + + PR tree-optimization/42078 + * gcc.dg/pr42078.c: New test. + +2009-11-20 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> + + PR Testsuite/42114 + * gcc-dg/c99-stdint-1.c: Condition test for target without signal.h. + XFAIL ptrdiff range test for avr. + * gcc-dg/c99-stdint-2.c: XFAIL for avr target. + * gcc-dg/c99-stdint-5.c: Condition test for target without signal.h. + * gcc-dg/c99-stdint-6.c: Ditto. + +2009-11-20 Michael Meissner <meissner@linux.vnet.ibm.com> + + * gcc/testsuite/gcc.target/powerpc/vsx-vrsave.c: Delete, + 2009-10-23 change to set VRSAVE if VSX has been reverted. + +2009-11-20 Simon Martin <simartin@users.sourceforge.net> + + PR c++/38646 + * g++.dg/cpp0x/pr38646.C: New test. + +2009-11-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * gcc.dg/c99-stdint-6.c: Set dg-options for alpha*-dec-osf5*. + Wrap *int_least*_t tests in !NO_LEAST_TYPES. + Wrap *intmax_t tests in !NO_MAX_TYPES. + +2009-11-20 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/42060 + * g++.dg/cpp0x/initlist28.C: New. + +2009-11-20 H.J. Lu <hongjiu.lu@intel.com> + + * gfortran.dg/proc_ptr_comp_23.f90: Add a missing space. + +2009-11-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + + * gcc.dg/tree-ssa/vrp47.c: Skip on S/390. + +2009-11-20 Shujing Zhao <pearly.zhao@oracle.com> + + * g++.old-deja/g++.jason/rfg20.C: Make expected dg-error strings + explicit. + * g++.old-deja/g++.rfg/00321_01-.C: Likewise. + * g++.old-deja/g++.rfg/00324_02-.C: Likewise. + * g++.old-deja/g++.law/typeck1.C: Likewise. + * g++.old-deja/g++.bugs/900324_02.C: Likewise. + * g++.dg/conversion/ptrmem9.C: Likewise. + * g++.dg/expr/cond2.C: Likewise. + +2009-11-20 Paul Thomas <pault@gcc.gnu.org> + Janus Weil <janus@gcc.gnu.org> + + PR fortran/42104 + * gfortran.dg/proc_ptr_comp_23.f90: New test. + +2009-11-19 Jason Merrill <jason@redhat.com> + + PR c++/42115 + * g++.dg/init/placement5.C: Add positive test. + + DR 176 permissiveness + * g++.dg/ext/injected-ttp.C: New. + * g++.old-deja/g++.pt/niklas01a.C: Adjust. + * g++.old-deja/g++.pt/ttp41.C: Adjust. + +2009-11-19 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> + + * gcc.c-torture/compile/pr40204.c: Test only for int32 target. + * gcc.c-torture/compile/pr41181.c: Skip test for avr target. + +2009-11-19 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> + + * gcc-dg/raw-string-1.c: Skip test for avr target. + * gcc-dg/utf-array-short-wchar.c: Ditto. + * gcc-dg/utf-array.c: Ditto. + * gcc-dg/utf8-2.c: Ditto. + +2009-11-19 Rafael Avila de Espindola <espindola@google.com> + + * g++.dg/plugin/selfassign.c: Include plugin-version.h. + (plugin_init): Pass correct version to plugin_default_version_check. + * gcc.dg/plugin/ggcplug.c: Include plugin-version.h. + (plugin_init): Pass correct version to plugin_default_version_check. + * gcc.dg/plugin/selfassign.c: Include plugin-version.h. + (plugin_init): Pass correct version to plugin_default_version_check. + +2009-11-19 Jason Merrill <jason@redhat.com> + + PR c++/561 + * g++.dg/overload/pmf2.C: New. + +2009-11-18 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR libgfortran/42090 + * gfortran.dg/direct_io_11.f90: New test. + +2009-11-18 H.J. Lu <hongjiu.lu@intel.com> + + * gcc.misc-tests/linkage.exp: Also check -m32 for i*86-*-linux*. + +2009-11-18 Nick Clifton <nickc@redhat.com> + + * g++.dg/lto/20091002-1_0.C: Replace -shared with -r -nostlib. + * g++.dg/lto/20081120-1_0.C: Likewise. + * g++.dg/lto/20091002-2_0.C: Likewise. + * g++.dg/lto/20081120-2_0.C: Likewise. + * g++.dg/lto/20091002-3_0.C: Likewise. + * g++.dg/lto/20081123_0.C: Likewise. + * g++.dg/lto/20090313_0.C: Likewise. + * g++.dg/lto/20081109-1_0.C: Likewise. + * g++.dg/lto/20081219_0.C: Likewise. + * g++.dg/lto/20081204-1_0.C: Likewise. + * g++.dg/lto/20090302_0.C: Likewise. + * g++.dg/lto/20081119-1_0.C: Likewise. + * g++.dg/lto/20081118_0.C: Likewise. + +2009-11-18 H.J. Lu <hongjiu.lu@intel.com> + + PR testsuite/41913 + * lib/lto.exp (scan-symbol): Properly check if target exist. + +2009-11-18 Janus Weil <janus@gcc.gnu.org> + + PR fortran/42072 + * gfortran.dg/proc_ptr_8.f90: Extended. + +2009-11-18 Shujing Zhao <pearly.zhao@oracle.com> + + * g++.old-deja/g++.other/crash28.C: Make expected dg-error strings + explicit. + * g++.dg/inherit/error4.C: Likewise. + * g++.dg/template/crash90.C: Likewise. + +2009-11-18 Jakub Jelinek <jakub@redhat.com> + + PR c++/3187 + * g++.dg/abi/mangle26.C: Also match *C2* definition. + * g++.dg/abi/mangle27.C: Likewise. + * g++.dg/abi/mangle28.C: Likewise. + * g++.dg/abi/mangle29.C: Likewise. + +2009-11-18 Alexandre Oliva <aoliva@redhat.com> + + PR debug/41926 + * gcc.dg/vect/vect-debug-pr41926.c: New. + +2009-11-17 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/42058 + * g++.dg/init/array26.C: New. + * g++.dg/init/array27.C: Likewise. + * g++.old-deja/g++.benjamin/13478.C: Adjust dg-errors. + +2009-11-17 Jakub Jelinek <jakub@redhat.com> + + PR c++/42061 + * g++.dg/cpp0x/initlist27.C: New test. + + PR c++/42059 + * g++.dg/cpp0x/initlist26.C: New test. + +2009-11-16 Jason Merrill <jason@redhat.com> + + PR c++/189, c++/9937, c++/13950, DR 176 + * g++.dg/tc1/dr176.C: Adjust. + * g++.dg/template/injected1.C: New. + * g++.dg/template/inherit.C: Adjust. + * g++.old-deja/g++.brendan/crash56.C: Adjust. + * g++.old-deja/g++.pt/lookup8.C: Adjust. + * g++.old-deja/g++.pt/ttp22.C: Adjust. + * g++.old-deja/g++.pt/ttp23.C: Adjust. + +2009-11-16 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/42055 + * g++.dg/template/crash92.C: New. + +2009-11-16 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/32056 + * g++.dg/template/error44.C: New. + +2009-11-16 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + + * gcc.c-torture/execute/pr41919.c: Mark chars explicitely as signed. + +2009-11-15 Janus Weil <janus@gcc.gnu.org> + + PR fortran/42048 + * gfortran.dg/typebound_call_11.f03: New test. + +2009-11-15 Hans-Peter Nilsson <hp@axis.com> + + * gcc.dg/lto/lto.exp: For non-lto, bail out before calling + init functions. + +2009-11-13 Jason Merrill <jason@redhat.com> + + PR c++/27425 + PR c++/34274 + * g++.dg/template/arg7.C: New. + + PR c++/29363 + * g++.dg/template/error43.C: New. + + PR debug/26965 + * g++.dg/debug/dwarf2/static-data-member2.C: New. + + PR c++/35075 + * g++.dg/template/ref5.C: New. + + PR c++/21008, DR 515 + * g++.dg/template/inherit4.C: New. + * g++.dg/lookup/scoped8.C: Adjust. + + PR c++/11987 + * g++.dg/parse/typename11.C: New. + * g++.dg/template/crash48.C: Adjust. + +2009-11-13 Uros Bizjak <ubizjak@gmail.com> + + PR testsuite/42001 + * g++.dg/lto/lto.exp: Pass no-mathlib to lto_init. Call + lto_finish at the end. + * gfortran.dg/lto/lto.exp: Ditto. + +2009-11-12 Jason Merrill <jason@redhat.com> + + PR c++/39560 + * g++.dg/lookup/anon7.C: New. + + PR c++/37037 + * g++.dg/template/typedef21.C: New. + + PR c++/42013 + * g++.dg/cpp0x/decltype19.C: New. + +2009-11-11 Jason Merrill <jason@redhat.com> + + PR c++/39131 + * g++.dg/dfp/typeid1.C: New. + +2009-11-11 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41978 + * gfortran.dg/proc_ptr_comp_22.f90: New test. + +2009-11-11 H.J. Lu <hongjiu.lu@intel.com> + + PR testsuite/42001 + * gcc.dg/lto/lto.exp: Pass no-mathlib to lto_init. Call + lto_finish at the end. + + * lib/lto.exp (lto_init): Set mathlib to " " for no-mathlib. + (lto_finish): New. Restore mathlib. + +2009-11-11 Kai Tietz <kai.tietz@onevision.com> + + * g++.dg/torture/pushpop_macro.C: New testcase. + * gcc.c-torture/execute/pushpop_macro.c: New testcase. + * gcc.dg/cpp/pragma-pop_macro-1.c: Allow test for all targets. + +2009-11-11 Jon Beniston <jon@beniston.com> + + * lib/target-supports.exp (check_profiling_available): lm32 target + doesn't support profiling. + * gcc.dg/20020312-2.c: Add lm32 support. + * g++.dg/other/packed1.C: Expect to fail on lm32. + * g++.old-deja/g++.jason/thunk3.C: Likewise. + +2009-11-11 Daniel Jacobowitz <dan@codesourcery.com> + + * gcc.target/arm/neon: Regenerate generated tests. + +2009-11-10 Jason Merrill <jason@redhat.com> + + * g++.dg/init/placement5.C: New. + + PR c++/34158 + * g++.dg/init/placement4.C: New. + +2009-11-10 Eric Botcazou <ebotcazou@adacore.com> + + * gcc.dg/vect/vect-multitypes-5.c: XFAIL on SPARC 32-bit. + * gcc.dg/vect/vect-multitypes-6.c: Likewise. + * gcc.dg/vect/vect-multitypes-12.c: Likewise. + * gcc.dg/vect/slp-multitypes-3.c: Likewise. + +2009-11-10 Eric Botcazou <ebotcazou@adacore.com> + + * gcc.c-torture/execute/ipa-sra-2.c: Use calloc instead of malloc. + * gcc.dg/pr41963.c: Do not include math.h. Declare fabsf manually. + +2009-11-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * gcc.c-torture/compile/pr41987.c: New. + +2009-11-09 Jakub Jelinek <jakub@redhat.com> + + PR middle-end/40946 + * gcc.dg/pr40946.c: New test. + +2009-11-09 Jason Merrill <jason@redhat.com> + + PR c++/41972 + * g++.dg/template/ref4.C: New. + + PR c++/41994 + * g++.dg/template/conv10.C: New. + +2009-11-07 Jason Merrill <jason@redhat.com> + + PR c++/37920 + * g++.dg/ext/typeof11.C: New. + +2009-11-08 Jakub Jelinek <jakub@redhat.com> + + PR target/41985 + * gcc.target/i386/pr41985.c: New test. + +2009-11-08 Richard Guenther <rguenther@suse.de> + + * gcc.dg/torture/pta-escape-1.c: New testcase. + +2009-11-08 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/rep_clause4.adb: New test. + +2009-11-08 Richard Guenther <rguenther@suse.de> + + PR rtl-optimization/41928 + * gfortran.dg/pr41928.f90: New testcase. + +2009-11-07 Jason Merrill <jason@redhat.com> + + PR c++/18451 + PR c++/40738 + * g++.dg/parse/error36.C: Add parameter and template cases. + * g++.dg/cpp0x/variadic-ex1.C: Update expected errors. + * g++.dg/ext/typedef-init.C: Likewise. + * g++.dg/lookup/hidden-class1.C: Likewise. + * g++.dg/lookup/hidden-class10.C: Likewise. + * g++.dg/lookup/hidden-class5.C: Likewise. + * g++.dg/lookup/hidden-class7.C: Likewise. + * g++.dg/lookup/hidden-temp-class1.C: Likewise. + * g++.dg/lookup/hidden-temp-class4.C: Likewise. + * g++.dg/lookup/hidden-temp-class7.C: Likewise. + * g++.dg/lookup/strong-using-2.C: Likewise. + * g++.dg/other/typedef1.C: Likewise. + * g++.dg/parse/access10.C: Likewise. + * g++.dg/parse/constructor1.C: Likewise. + * g++.dg/parse/crash38.C: Likewise. + * g++.dg/parse/error3.C: Likewise. + * g++.dg/parse/typespec1.C: Likewise. + * g++.dg/template/typedef5.C: Likewise. + * g++.old-deja/g++.pt/typename3.C: Likewise. + * g++.old-deja/g++.pt/typename4.C: Likewise. + * g++.old-deja/g++.pt/typename6.C: Likewise. + * g++.old-deja/g++.robertl/eb94.C: Likewise. + + * g++.dg/abi/regparm1.C: Fix execute test. + +2009-11-07 Jakub Jelinek <jakub@redhat.com> + + PR tree-optimization/41643 + * gcc.dg/pr41643.c: New test. + +2009-11-06 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR fortran/41909 + * gfortran.dg/recursive_check_15.f90: New test. + +2009-11-06 Jason Merrill <jason@redhat.com> + + PR c++/15946 + * g++.dg/parse/error36.C: New. + * g++.old-deja/g++.other/typename1.C: Adjust. + + PR c++/9381 + * g++.dg/abi/regparm1.C: New. + +2009-11-06 Basile Starynkevitch <basile@starynkevitch.net> + + * g++.dg/plugin/pragma_plugin-test-1.C: new testcase for + PLUGIN_PRAGMAS. + * g++.dg/plugin/pragma_plugin.c: new test plugin for PLUGIN_PRAGMAS. + * g++.dg/plugin/plugin.exp (plugin_test_list): Add pragma_plugin.c + and pragma_plugin-test-1.C. + +2009-11-06 Andrew Pinski <andrew_pinski@playstation.sony.com> + + PR c++/41536 + * g++.dg/ext/always_inline-5.C: New test. + +2009-11-06 Jakub Jelinek <jakub@redhat.com> + + PR c++/41967 + * g++.dg/gomp/pr41967.C: New test. + +2009-11-06 Michael Matz <matz@suse.de> + + PR middle-end/41963 + * gcc.dg/pr41963.c: New test. + +2009-11-06 Jakub Jelinek <jakub@redhat.com> + + PR middle-end/41935 + * gcc.dg/pr41935.c: New test. + * c-c++-common/pr41935.c: New test. + * c-c++-common/builtin-offsetof.c (f0): Allow index one past the last + element. + * gcc.c-torture/execute/pr41935.c: New test. + +2009-11-05 Jason Merrill <jason@redhat.com> + + PR c++/34180 + * g++.dg/init/synth2.C: New. + + PR c++/7046 + * g++.dg/abi/pragma-pack1.C: New. + + PR c++/34870 + * g++.dg/lookup/koenig7.C: New. + + PR c++/41703 + * g++.dg/template/partial6.C: New. + +2009-11-05 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41556 + * gfortran.dg/class_12.f03: New test. + +2009-11-05 Jakub Jelinek <jakub@redhat.com> + + * gcc.target/i386/i386.exp (check_effective_target_xop): Fix typo + in builtin's name. + +2009-11-04 Jason Merrill <jason@redhat.com> + + PR c++/36912 + * g++.dg/init/static-init2.C: New. + +2009-11-05 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41556 + PR fortran/41873 + * gfortran.dg/interface_abstract_4.f90: New test. + +2009-11-05 Maxim Kuvyrkov <maxim@codesourcery.com> + + * gcc.target/m68k/pr41302.c: Fix target triplet. + +2009-11-04 Jason Merrill <jason@redhat.com> + + PR c++/39413 + * g++.dg/template/overload11.C: New. + * g++.dg/template/nested3.C: Adjust. + +2009-11-04 Eric Botcazou <ebotcazou@adacore.com> + + PR ada/20548 + * ada/acats/norun.lst: Remove the stack checking tests. + * ada/acats/run_acats: Limit the stack to 8MB. + +2009-11-04 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41556 + PR fortran/41937 + * gfortran.dg/class_11.f03: New test. + +2009-11-04 Jason Merrill <jason@redhat.com> + + PR c++/35067 + * g++.dg/abi/thunk5.C: New. + +2009-11-04 Andrew Pinski <andrew_pinski@playstation.sony.com> + + PR rtl-opt/41833 + * gcc.target/powerpc/altivec-33.c: New testcase. + +2009-11-04 Jason Merrill <jason@redhat.com> + + PR c++/17365, DR 218 + * g++.dg/lookup/koenig6.C: New. + * g++.dg/lookup/koenig5.C: Adjust. + * g++.dg/template/crash56.C: Adjust. + * g++.old-deja/g++.ns/koenig5.C: Adjust. + +2009-11-04 Harsha Jagasia <harsha.jagasia@amd.com> + Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> + + * gcc.target/i386/xop-check.h: New file. + * gcc.target/i386/xop-hadduX.c: Ditto. + * gcc.target/i386/xop-haddX.c: Ditto. + * gcc.target/i386/xop-hsubX.c: Ditto. + * gcc.target/i386/xop-imul32widen-vector.c: Ditto. + * gcc.target/i386/xop-imul32widen-vector.c: Ditto. + * gcc.target/i386/xop-pcmov2.c: Ditto. + * gcc.target/i386/xop-pcmov.c: Ditto. + * gcc.target/i386/xop-rotate1-vector.c: Ditto. + * gcc.target/i386/xop-rotate2-vector.c: Ditto. + * gcc.target/i386/xop-rotate3-vector.c: Ditto. + * gcc.target/i386/xop-shift1-vector.c: Ditto. + * gcc.target/i386/xop-shift2-vector.c: Ditto. + * gcc.target/i386/xop-shift3-vector.c: Ditto. + * gcc.target/i386/i386.exp: Add check_effective_target_xop. + * gcc.target/i386/sse-12.c: Update with new compile options to + activate and check xopintrin.h intrinsic file. + * gcc.target/i386/sse-13.c: Ditto. + * gcc.target/i386/sse-14.c: Ditto. + * gcc.target/i386/sse-22.c: Ditto. + * gcc.target/i386/sse-23.c: Ditto. + * g++.dg/other/i386-2.C: Ditto. + * g++.dg/other/i386-3.C: Ditto. + * g++.dg/other/i386-5.C: Ditto. + * g++.dg/other/i386-6.C: Ditto. + +2009-11-04 Wei Guozhi <carrot@google.com> + + PR target/40835 + * gcc.target/arm/pr40835: New testcase. + +2009-11-04 Revital Eres <eres@il.ibm.com> + + * gcc.target/powerpc/vsx-vectorize-3.c: Adjust tetcase following + change in decision of peeling for alignment. + * gcc.target/powerpc/vsx-vectorize-5.c: Likewise. + * gcc.dg/vect/vect-50.c: Likewise. + * gcc.dg/vect/vect-42.c: Likewise. + * gcc.dg/vect/costmodel/i386/costmodel-fast-math-vect-pr29925.c: + Likewise. + * gcc.dg/vect/costmodel/x86_64/costmodel-fast-math-vect-pr29925.c: + Likewise. + * gcc.dg/vect/vect-multitypes-6.c: Likewise. + * gcc.dg/vect/vect-60.c: Likewise. + * gcc.dg/vect/vect-52.c: Likewise. + * gcc.dg/vect/vect-44.c: Likewise. + * gcc.dg/vect/vect-27.c: Likewise. + * gcc.dg/vect/vect-29.c: Likewise. + * gcc.dg/vect/vect-72.c: Likewise. + * gcc.dg/vect/vect-56.c: Likewise. + * gcc.dg/vect/vect-48.c: Likewise. + * gcc.dg/vect/vect-multitypes-3.c: Likewise. + * gfortran.dg/vect/vect-2.f90: Likewise. + * gfortran.dg/vect/vect-5.f90: Likewise. + +2009-11-04 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/41919 + * gcc.c-torture/execute/pr41919.c: New testcase. + +2009-11-04 Carlos O'Donell <carlos@codesourcery.com> + + PR target/41302 + * gcc.target/m68k/pr41302.c: New test. + +2009-11-03 Jason Merrill <jason@redhat.com> + + PR c++/36959 + * g++.dg/opt/inline16.C: New. + +2009-11-03 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/stack_check.adb1: New test. + * gnat.dg/stack_check.adb2: Likewise. + +2009-11-03 Jakub Jelinek <jakub@redhat.com> + + PR rtl-optimization/41917 + * gcc.c-torture/execute/pr41917.c: New test. + +2009-11-03 Uros Bizjak <ubizjak@gmail.com> + + * gcc.target/i386/pr41900.c: Make test compile only. Scan assembler + dump to not include "call *%esp". + +2009-11-03 Jason Merrill <jason@redhat.com> + + PR c++/39786 + * g++.dg/lookup/using22.C: New. + + PR c++/41876 + * g++.dg/parse/eh-decl.C: New. + + PR c++/41927 + * g++.dg/template/sfinae16.C: New. + + PR c++/41815 + * g++.dg/cpp0x/rv-return.C: New. + * g++.dg/cpp0x/deduce.C: Adjust. + + PR c++/40944 + * g++.dg/template/sfinae15.C: New. + + PR c++/40687 + * g++.dg/cpp0x/auto3.C: Remove xfail. + +2009-11-03 Tobias Burnus <burnus@net-b.de> + + PR fortran/41907 + * gfortran.dg/missing_optional_dummy_6.f90: New test. + +2009-11-03 Nick Clifton <nickc@redhat.com> + + * gcc.target/rx/builtins.c: Remove redundant tests. + Add test of MVTIPL instruction. + * gcc.target/rx/interrupts.c: Use fast_interrupt and interrupt + function attributes. Add -msave-acc-in-interrupts option to the + command line. + +2009-11-03 Andrew Stubbs <ams@codesourcery.com> + Maxim Kuvyrkov <maxim@codesourcery.com> + + * g++.dg/torture/pr36191.C: Don't run with -fomit-frame-pointer on + sh, m68k and fido. + +2009-11-03 Dodji Seketeli <dodji@redhat.com> + + PR c++/38699 + * c-c++-common/dfp/builtin-offsetof.c: Moved to ... + * c-c++-common/builtin-offsetof.c: ... here. + +2009-11-03 Dodji Seketeli <dodji@redhat.com> + + PR c++/38699 + * c-c++-common/dfp/builtin-offsetof.c: New test. + * g++.dg/other/offsetof6.C: Likewise. + +2009-11-03 Uros Bizjak <ubizjak@gmail.com> + + PR target/41900 + * gcc.target/i386/pr41900.c: New test. + +2009-11-02 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> + + * gcc.c-torture/execute/pr40668.c: Correct for 16bit int size. + +2009-11-02 Dodji Seketeli <dodji@redhat.com> + + PR c++/41856 + * g++.dg/lookup/extern-c-redecl3.C: Make the test x86 only. + * g++.dg/lookup/extern-c-redecl4.C: Likewise. + +2009-11-02 Dodji Seketeli <dodji@redhat.com> + + PR c++/37093 + * g++.dg/other/ptrmem10.C: New test. + * g++.dg/other/ptrmem11.C: Likewise. + +2009-11-02 Janis Johnson <janis187@us.ibm.com> + + PR testsuite/41878 + * gfortran.dg/vect/vect-2.f90: Fix effective-target expression, add + spaces in some expressions. + +2009-11-02 Jason Merrill <jason@redhat.com> + + * g++.dg/other/linkage2.C: Move to... + * g++.dg/cpp0x/linkage2.C: ..here. + * g++.dg/abi/mangle32.C: Add -std=c++0x. + * g++.dg/cpp0x/nolinkage1.C: Likewise. + * g++.dg/debug/dwarf2/anonname1.C: Likewise. + * g++.dg/ext/anon-struct4.C: Revert earlier change. + * g++.dg/lookup/anon2.C: Likewise. + * g++.dg/other/anon3.C: Likewise. + * g++.dg/template/arg2.C: Likewise. + * g++.dg/template/local4.C: Likewise. + * g++.old-deja/g++.law/operators32.C: Likewise. + * g++.old-deja/g++.other/linkage2.C: Likewise. + * g++.old-deja/g++.pt/enum6.C: Likewise. + * g++.old-deja/g++.other/anon9.C: Likewise. + * g++.old-deja/g++.other/linkage1.C: Likewise. + * c-c++-common/dfp/pr35620.c: Give the union a name. + +2009-11-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> + + PR tree-optimization/41857 + * gcc.target/spu/ea/pr41857.c: New file. + +2009-11-02 Martin Jambor <mjambor@suse.cz> + + PR tree-optimization/41750 + * gcc.c-torture/execute/pr41750.c: New test. + +2009-11-02 Jakub Jelinek <jakub@redhat.com> + + PR tree-optimization/41841 + * gcc.dg/pr41841.c: New test. + + PR debug/41893 + * gcc.dg/debug/pr41893-1.c: New test. + * gcc.dg/debug/pr41893-2.c: New file. + + PR c++/41774 + * g++.dg/ext/visibility/namespace3.C: New test. + +2009-11-01 Jason Merrill <jason@redhat.com> + + * gcc.dg/tree-ssa/restrict-1.c: Move to c-c++-common. + * gcc.dg/tree-ssa/restrict-2.c: Move to c-c++-common. + * gcc.dg/tree-ssa/restrict-4.c: Move to c-c++-common. + +2009-11-01 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/opt5.adb: New test. + +2009-11-01 Tobias Burnus <burnus@net-b.de> + + PR fortran/41872 + * gfortran.dg/allocatable_scalar_4.f90: New test. + +2009-11-01 Tobias Burnus <burnus@net-b.de> + + PR fortran/41850 + * gfortran.dg/intent_out_6.f90: New testcase. + +2009-10-31 Richard Guenther <rguenther@suse.de> + + * g++.dg/tree-ssa/restrict1.C: New. + +2009-10-31 Jason Merrill <jason@redhat.com> + + * g++.dg/rtti/typeid9.C: New. + + PR c++/41754 + * g++.dg/cpp0x/initlist25.C: New. + +2009-10-31 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/specs/rep_clause4.ads: New test. + +2009-10-30 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> + + PR target/41885 + * gcc.target/avr/torture/pr41885.c: New test. + +2009-10-30 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/specs/pack5.ads: New test. + +2009-10-30 Andrew Jenner <andrew@codesourcery.com> + + * lib/target-supports.exp: Handle powerpc-*-elf. + +2009-10-30 H.J. Lu <hongjiu.lu@intel.com> + + PR target/40838 + * gcc.target/i386/incoming-6.c: New. + * gcc.target/i386/incoming-7.c: Likewise. + * gcc.target/i386/incoming-8.c: Likewise. + * gcc.target/i386/incoming-9.c: Likewise. + * gcc.target/i386/incoming-10.c: Likewise. + * gcc.target/i386/incoming-11.c: Likewise. + * gcc.target/i386/incoming-12.c: Likewise. + * gcc.target/i386/incoming-13.c: Likewise. + * gcc.target/i386/incoming-14.c: Likewise. + * gcc.target/i386/incoming-15.c: Likewise. + * gcc.target/i386/pr37843-4.c: Likewise. + +2009-10-30 Dodji Seketeli <dodji@redhat.com> + + PR c++/41863 + * g++.dg/template/sizeof12.C: New test. + +2009-10-29 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/pack14.adb: New test. + +2009-10-29 David Daney <ddaney@caviumnetworks.com> + + * gcc.target/mips/mips.exp (mips_option_groups): Add + mcount-ra-address. + * gcc.target/mips/mmcount-ra-address-1.c: New test. + * gcc.target/mips/mmcount-ra-address-2.c: New test. + * gcc.target/mips/mmcount-ra-address-3.c: New test. + +2009-10-29 Michael Matz <matz@suse.de> + + * gcc.target/i386/sse-recip.c: Use fabsf instead of != . + * gcc.target/i386/sse-recip-vec.c: Ditto. + * gcc.target/i386/brokensqrt.c: New test. + +2009-10-29 Tobias Burnus <burnus@net-b.de> + + PR fortran/41777 + * gfortran.dg/associated_target_3.f90: New testcase. + +2009-10-29 Rafael Avila de Espindola <espindola@google.com> + + * gfortran.dg/lto/pr41764_0.f: New. + +2009-10-29 Martin Jambor <mjambor@suse.cz> + + PR tree-optimization/41775 + * g++.dg/torture/pr41775.C: New testcase. + +2009-10-28 Jason Merrill <jason@redhat.com> + + * g++.dg/cpp0x/inline-ns1.C: New. + * g++.dg/cpp0x/inline-ns2.C: New. + * g++.dg/cpp0x/inline-ns3.C: New. + +2009-10-28 Paolo Bonzini <bonzini@gnu.org> + + PR rtl-optimization/39715 + * gcc.target/arm/thumb-ltu.c: New. + +2009-10-28 Richard Guenther <rguenther@suse.de> + + PR lto/41808 + PR lto/41839 + * gcc.dg/lto/20091027-1_0.c: New testcase. + * gcc.dg/lto/20091027-1_1.c: Likewise. + * g++.dg/lto/20091026-1_0.C: Likewise. + * g++.dg/lto/20091026-1_1.C: Likewise. + * g++.dg/lto/20091026-1_a.h: Likewise. + +2009-10-28 Jakub Jelinek <jakub@redhat.com> + + PR middle-end/41837 + * gcc.dg/pr41837.c: New test. + + PR debug/41801 + * g++.dg/ext/sync-3.C: New test. + + PR target/41762 + * gcc.dg/pr41762.c: New test. + +2009-10-28 Richard Guenther <rguenther@suse.de> + + PR middle-end/41855 + * gfortran.dg/lto/20091028-1_0.f90: New testcase. + * gfortran.dg/lto/20091028-1_1.c: Likewise. + * gfortran.dg/lto/20091028-2_0.f90: Likewise. + * gfortran.dg/lto/20091028-2_1.c: Likewise. + +2009-10-28 Paolo Bonzini <bonzini@gnu.org> + + PR rtl-optimization/39715 + * gcc.target/arm/thumb-bitfld1.c: New. + +2009-10-28 Paolo Bonzini <bonzini@gnu.org> + + PR rtl-optimization/40741 + * gcc.target/arm/thumb-branch1.c: New. + +2009-10-27 Jason Merrill <jason@redhat.com> + + * g++.dg/cpp0x/lambda/lambda-conv.C: New. + * g++.dg/cpp0x/lambda/lambda-const-neg.C: Adjust. + * g++.dg/cpp0x/lambda/lambda-mangle.C: Adjust. + * g++.dg/cpp0x/lambda/lambda-non-const.C: Adjust. + +2009-10-27 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/null_pointer_deref1.adb: Accept Constraint_Error. + * gnat.dg/null_pointer_deref2.adb: Likewise. + +2009-10-27 Richard Guenther <rguenther@suse.de> + + * gcc.dg/torture/ipa-pta-1.c: Adjust testcase. + +2009-10-27 Jakub Jelinek <jakub@redhat.com> + + PR c/41842 + * gcc.dg/pr41842.c: New test. + +2009-10-27 Revital Eres <eres@il.ibm.com> + + PR tree-optimization/40648 + * gcc.target/powerpc/vsx-vectorize-2.c: Adjust testcase following + change in decision of peeling for alignment. + * gcc.target/powerpc/vsx-vectorize-3.c: Likewise. + * gcc.target/powerpc/vsx-vectorize-4.c: Likewise. + * gcc.target/powerpc/vsx-vectorize-5.c: Likewise. + * gcc.target/powerpc/vsx-vectorize-6.c: Likewise. + * gcc.target/powerpc/vsx-vectorize-7.c: Likewise. + * gcc.dg/vect/vect-50.c: Likewise. + * gcc.dg/vect/vect-33.c: Likewise. + * gcc.dg/vect/no-section-anchors-vect-69.c: Likewise. + * gcc.dg/vect/costmodel/i386/costmodel-fast-math-vect-pr29925.c: + Likewise. + * gcc.dg/vect/costmodel/i386/costmodel-vect-31.c: Likewise. + * gcc.dg/vect/costmodel/i386/costmodel-vect-33.c: Likewise. + * gcc.dg/vect/costmodel/x86_64/costmodel-fast-math-vect-pr29925.c: + Likewise. + * gcc.dg/vect/costmodel/x86_64/costmodel-vect-31.c: Likewise. + * gcc.dg/vect/costmodel/x86_64/costmodel-vect-33.c: Likewise. + * gcc.dg/vect/vect-multitypes-6.c: Likewise. + * gcc.dg/vect/vect-60.c: Likewise. + * gcc.dg/vect/vect-26.c: Likewise. + * gcc.dg/vect/vect-52.c: Likewise. + * gcc.dg/vect/vect-44.c: Likewise. + * gcc.dg/vect/vect-27.c: Likewise. + * gcc.dg/vect/vect-70.c: Likewise. + * gcc.dg/vect/vect-28.c: Likewise. + * gcc.dg/vect/no-section-anchors-vect-31.c: Likewise. + * gcc.dg/vect/vect-109.c: Likewise. + * gcc.dg/vect/vect-54.c: Likewise. + * gcc.dg/vect/vect-29.c: Likewise. + * gcc.dg/vect/vect-72.c: Likewise. + * gcc.dg/vect/vect-56.c: Likewise. + * gcc.dg/vect/vect-48.c: Likewise. + * gcc.dg/vect/vect-91.c: Likewise. + * gcc.dg/vect/vect-92.c: Likewise. + * gcc.dg/vect/vect-58.c: Likewise. + * gcc.dg/vect/slp-25.c: Likewise. + * gcc.dg/vect/vect-93.c: Likewise. + * gcc.dg/vect/vect-95.c: Likewise. + * gcc.dg/vect/no-section-anchors-vect-64.c: Likewise. + * gcc.dg/vect/vect-87.c: Likewise. + * gcc.dg/vect/vect-96.c: Likewise. + * gcc.dg/vect/vect-multitypes-1.c: Likewise. + * gcc.dg/vect/vect-88.c: Likewise. + * gcc.dg/vect/no-section-anchors-vect-66.c: Likewise. + * gcc.dg/vect/vect-89.c: Likewise. + * gcc.dg/vect/vect-multitypes-3.c: Likewise. + * gcc.dg/vect/no-section-anchors-vect-68.c: Likewise. + * gcc.dg/vect/vect-multitypes-4.c: Likewise. + * gfortran.dg/vect/vect-2.f90: Likewise. + * gfortran.dg/vect/vect-3.f90: Likewise. + * gfortran.dg/vect/vect-4.f90: Likewise. + * gfortran.dg/vect/vect-5.f90: Likewise. + +2009-10-27 Jakub Jelinek <jakub@redhat.com> + + PR c++/41020 + * g++.dg/lookup/extern-c-redecl5.C: Fix up regexp. + +2009-10-26 Ben Elliston <bje@au.ibm.com> + Michael Meissner <meissner@linux.vnet.ibm.com> + Ulrich Weigand <uweigand@de.ibm.com> + + * gcc.target/spu/ea/ea.exp: New file. + * gcc.target/spu/ea/cache1.c: Likewise. + * gcc.target/spu/ea/cast1.c: Likewise. + * gcc.target/spu/ea/cast2.c: Likewise. + * gcc.target/spu/ea/compile1.c: Likewise. + * gcc.target/spu/ea/compile2.c: Likewise. + * gcc.target/spu/ea/cppdefine.c: Likewise. + * gcc.target/spu/ea/errors1.c: Likewise. + * gcc.target/spu/ea/errors2.c: Likewise. + * gcc.target/spu/ea/execute1.c: Likewise. + * gcc.target/spu/ea/execute2.c: Likewise. + * gcc.target/spu/ea/execute3.c: Likewise. + * gcc.target/spu/ea/ops1.c: Likewise. + * gcc.target/spu/ea/ops2.c: Likewise. + * gcc.target/spu/ea/options1.c: Likewise. + * gcc.target/spu/ea/test-sizes.c: Likewise. + +2009-10-26 Jakub Jelinek <jakub@redhat.com> + + PR bootstrap/41345 + * gcc.dg/pr41345.c: New test. + + PR debug/41828 + * g++.dg/debug/dwarf2/anonname1.C: New test. + +2009-10-26 Jason Merrill <jason@redhat.com> + + PR c++/38796 + * g++.dg/cpp0x/defaulted15.C: New. + * g++.dg/cpp0x/defaulted16.C: New. + +2009-10-26 Dodji Seketeli <dodji@redhat.com> + + PR c++/41785 + * g++.dg/cpp0x/variadic96.C: New test. + +2009-10-26 Nick Clifton <nickc@redhat.com> + + * lib/target-supports.exp (check_profiling_available): + Profiling is not, currently, available for the RX port. + (check_effective_target_hard_float): Add support for RX target. + * gcc.target/rx: New directory. + * gcc.target/rx/builtins.c: New test file. + * gcc.target/rx/interrupts.c: New test file. + * gcc.target/rx/rx-abi-function-tests.c: New test file. + * gcc.target/rx/zero-width-bitfield.c: New test file. + * gcc.target/rx/i272091.c: New test file. + * gcc.target/rx/packed-struct.c: New test file. + * gcc.target/rx/rx.exp: New file: Drives RX tests. + +2009-10-26 Andrew Pinski <pinskia@gcc.gnu.org> + + * gcc.dg/lto/20091014-1_0.c: Replace -shared with -r -nostlib. + * gcc.dg/lto/20091016-1_0.c: Likewise. + * gcc.dg/lto/20090206-1_0.c: Likewise. + * gcc.dg/lto/20081120-1_0.c: Likewise. + * gcc.dg/lto/20081120-2_0.c: Likewise. + * gcc.dg/lto/20090116_0.c: Likewise. + * gcc.dg/lto/20081126_0.c: Likewise. + * gcc.dg/lto/20091013-1_0.c: Likewise. + * gcc.dg/lto/20081212-1_0.c: Likewise. + * gcc.dg/lto/20091015-1_0.c: Likewise. + * gcc.dg/lto/20090126-1_0.c: Likewise. + * gcc.dg/lto/20090126-2_0.c: Likewise. + * gcc.dg/lto/20091020-1_0.c: Likewise. + * gcc.dg/lto/20091020-2_0.c: Likewise. + * gcc.dg/lto/20081204-1_0.c: Likewise. + * gcc.dg/lto/20081204-2_0.c: Likewise. + * gcc.dg/lto/20081224_0.c: Likewise. + * gcc.dg/lto/20090219_0.c: Likewise. + +2009-10-26 Dodji Seketeli <dodji@redhat.com> + + PR c++/41020 + * g++.dg/lookup/extern-c-redecl2.C: New test. + * g++.dg/lookup/extern-c-redecl3.C: Likewise. + * g++.dg/lookup/extern-c-redecl4.C: Likewise. + * g++.dg/lookup/extern-c-redecl5.C: Likewise. + +2009-10-26 Michael Matz <matz@suse.de> + + PR tree-optimization/41783 + * gcc.dg/pr41783.c: New test. + * gcc.dg/tree-ssa/ssa-pre-23.c: Adjust. + * gcc.dg/tree-ssa/ssa-pre-24.c: Don't xfail anymore. + * gcc.dg/tree-ssa/ssa-pre-27.c: New test. + +2009-10-26 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41714 + * gfortran.dg/class_allocate_4.f03: New test. + +2009-10-24 Adam Nemet <anemet@caviumnetworks.com> + + * gcc.target/mips/mult-1.c: New test. + +2009-10-24 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41784 + * gfortran.dg/extends_8.f03: New test. + +2009-10-24 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/specs/pack4.ads: New test. + +2009-10-24 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/null_pointer_deref1.adb: New test. + * gnat.dg/null_pointer_deref2.adb: Likewise. + +2009-10-24 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/41772 + * gfortran.dg/transfer_intrinsic_3.f90. + +2009-10-24 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/opt4.adb: New test. + +2009-10-23 Joseph Myers <joseph@codesourcery.com> + + PR c/40033 + * gcc.dg/noncompile/pr40033-1.c: New test. + +2009-10-23 Dodji Seketeli <dodji@redhat.com> + + PR c++/40808 + * g++.dg/abi/mangle34.C: New test + +2009-10-23 Jason Merrill <jason@redhat.com> + + * g++.dg/cpp0x/lambda/lambda-nested2.C: New. + + Core issue 899 + * g++.dg/cpp0x/explicit4.C: New. + +2009-10-23 Joseph Myers <joseph@codesourcery.com> + + * g++.dg/abi/rtti3.C, g++.dg/abi/thunk4.C: Skip for *-*-mingw* and + *-*-cygwin. + * g++.dg/cpp0x/lambda/lambda-mangle.C: Disable weak symbols tests + for *-*-mingw* and *-*-cygwin. + * g++.dg/opt/vt1.C: Skip for *-*-mingw* and *-*_cygwin. + * g++.dg/template/spec35.C: Disable weak symbol test for + *-*-mingw* and *-*-cygwin. + + PR testsuite/31342 + * gcc.target/i386/pic-1.c: Skip for *-*-mingw* and *-*-cygwin. + +2009-10-23 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41800 + * gfortran.dg/class_10.f03: New test. + +2009-10-22 Michael Meissner <meissner@linux.vnet.ibm.com> + + PR target/41787 + * gcc.target/powerpc/vsx-vrsave.c: New file. + +2009-10-23 Joseph Myers <joseph@codesourcery.com> + + PR c/41673 + * gcc.dg/Wstrict-aliasing-bogus-vla-1.c: New test. + +2009-10-23 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/41778 + * gcc.dg/tree-ssa/ssa-pre-26.c: New testcase. + +2009-10-22 Richard Guenther <rguenther@suse.de> + + PR lto/41791 + * g++.dg/lto/20091022-2_0.C: New testcase. + +2009-10-22 Richard Guenther <rguenther@suse.de> + + PR lto/41730 + * g++.dg/lto/20091022-1_0.C: New testcase. + +2009-10-22 Razya Ladelsky <razya@il.ibm.com> + + * gcc.dg/autopar/outer-4.c: Adjust scan. + * gcc.dg/autopar/outer-5.c: Adjust scan. + * gcc.dg/autopar/outer-5.c: Add scan optimized. + + * libgomp.graphite/force-parallel-2.c: Adjust scan. + * gcc.dg/autopar/outer-1.c: New testcase. + * gcc.dg/autopar/outer-2.c: New testcase. + * gcc.dg/autopar/outer-3.c: New testcase. + * gcc.dg/autopar/outer-4.c: New testcase. + * gcc.dg/autopar/outer-5.c: New testcase. + * gcc.dg/autopar/outer-6.c: New testcase. + +2009-10-22 Jan Hubicka <jh@suse.cz> + + * gcc.c-torture/compile/pr40556.c: New testcase. + +2009-10-22 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41781 + * gfortran.dg/goto_8.f90: New test case. + +2009-10-21 Sebastian Pop <sebastian.pop@amd.com> + + PR tree-optimization/41497 + * gcc.dg/tree-ssa/pr41497.c: New. + +2009-10-21 Steve Ellcey <sje@cup.hp.com> + + * g++.dg/tree-ssa/copyprop.C: Use include to define free(). + +2009-10-21 Joseph Myers <joseph@codesourcery.com> + + * gcc.dg/tls/pie-1.c: New test. + +2009-10-21 Jakub Jelinek <jakub@redhat.com> + + * g++.dg/abi/mangle33.C: New test. + +2009-10-21 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/discr22.adb: New test. + +2009-10-21 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/loop_optimization7.ad[sb]: New test. + * gnat.dg/loop_optimization7_pkg.ads: New helper. + +2009-10-21 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41706 + PR fortran/41766 + * gfortran.dg/class_9.f03: Extended test case. + * gfortran.dg/select_type_7.f03: New test case. + +2009-10-20 Richard Guenther <rguenther@suse.de> + + * gcc.dg/lto/20091020-3_0.c: New testcase. + +2009-10-20 Richard Guenther <rguenther@suse.de> + + PR lto/41761 + * gcc.dg/lto/20091020-1_0.c: New testcase. + * gcc.dg/lto/20091020-1_1.c: Likewise. + * gcc.dg/lto/20091020-2_0.c: Likewise. + * gcc.dg/lto/20091020-2_1.c: Likewise. + +2009-10-20 Jakub Jelinek <jakub@redhat.com> + + PR debug/41340 + * gcc.dg/pr41340.c: New test. + +2009-10-20 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/discr21.ad[sb]: New test. + * gnat.dg/discr21_pkg.ads: New helper. + +2009-10-20 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/41706 + * gfortran.dg/class_9 : New test. + +2009-10-19 Jakub Jelinek <jakub@redhat.com> + + * gcc.dg/raw-string-1.c: New test. + * gcc.dg/raw-string-2.c: New test. + * gcc.dg/raw-string-3.c: New test. + * gcc.dg/raw-string-4.c: New test. + * gcc.dg/raw-string-5.c: New test. + * gcc.dg/raw-string-6.c: New test. + * gcc.dg/raw-string-7.c: New test. + * gcc.dg/utf8-1.c: New test. + * gcc.dg/utf8-2.c: New test. + * gcc.dg/utf-badconcat2.c: New test. + * gcc.dg/utf-dflt2.c: New test. + * gcc.dg/cpp/include6.c: New test. + * g++.dg/ext/raw-string-1.C: New test. + * g++.dg/ext/raw-string-2.C: New test. + * g++.dg/ext/raw-string-3.C: New test. + * g++.dg/ext/raw-string-4.C: New test. + * g++.dg/ext/raw-string-5.C: New test. + * g++.dg/ext/raw-string-6.C: New test. + * g++.dg/ext/raw-string-7.C: New test. + * g++.dg/ext/utf8-1.C: New test. + * g++.dg/ext/utf8-2.C: New test. + * g++.dg/ext/utf-badconcat2.C: New test. + * g++.dg/ext/utf-dflt2.C: New test. + + * gcc.dg/cleanup-13.c: New test. + +2009-10-19 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41586 + * gfortran.dg/auto_dealloc_1.f90: New test case. + +2009-10-19 Jakub Jelinek <jakub@redhat.com> + + Port from redhat/gcc-4_4-branch: + 2009-10-08 Jakub Jelinek <jakub@redhat.com> + * gcc.dg/debug/vta-2.c: New test. + + 2009-09-30 Alexandre Oliva <aoliva@redhat.com> + * gcc.dg/debug/vta-1.c: New. + +2009-10-19 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/noreturn2.ad[sb]: New test. + +2009-10-19 Tobias Burnus <burnus@net-b.de> + + PR fortran/41755 + * gfortran.dg/equiv_8.f90: New test. + * gfortran.dg/class_allocate_1.f03: Remove obsolete FIXME. + +2009-10-19 Joseph Myers <joseph@codesourcery.com> + + * gcc.target/arm/neon-thumb2-move.c: New test. + +2009-10-19 Jakub Jelinek <jakub@redhat.com> + + * gcc.dg/debug/vta-3.c: New test. + +2009-10-17 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/nested_proc.adb: Rename into... + * gnat.dg/nested_proc1.adb: ...this. + * gnat.dg/nested_proc2.adb: New test. + +2009-10-17 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/noreturn1.ad[sb]: New test. + +2009-10-17 Janus Weil <janus@gcc.gnu.org> + Paul Thomas <pault@gcc.gnu.org> + + PR fortran/41629 + * gfortran.dg/class_6.f90: New test. + + PR fortran/41608 + PR fortran/41587 + * gfortran.dg/class_7.f90: New test. + + PR fortran/41618 + * gfortran.dg/class_8.f90: New test. + +2009-10-17 Richard Guenther <rguenther@suse.de> + + * gcc.dg/lto/20091017-1_0.c: New testcase. + * gcc.dg/lto/20091017-1_1.c: Likewise. + +2009-10-17 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/unchecked_convert4.adb: Add missing rep clause. + +2009-10-17 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/aggr11.adb: New test. + * gnat.dg/aggr11_pkg.ads: New helper. + +2009-10-17 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/slice8.adb: New test. + * gnat.dg/slice8_pkg1.ads: New helper. + * gnat.dg/slice8_pkg2.ads: Likewise. + * gnat.dg/slice8_pkg3.ad[sb]: Likewise. + +2009-10-17 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/unchecked_convert4.adb: New test. + +2009-10-15 Jason Merrill <jason@redhat.com> + + PR c++/38798 + * g++.dg/cpp0x/trailing5.C: New. + + * g++.dg/cpp0x/auto6.C: Rename to trailing1.C. + * g++.dg/cpp0x/auto8.C: Rename to trailing2.C. + * g++.dg/cpp0x/auto12.C: Rename to trailing3.C. + * g++.dg/cpp0x/auto13.C: Rename to trailing4.C. + +2009-10-16 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41719 + * gfortran.dg/class_5.f03: New test case. + * gfortran.dg/typebound_operator_2.f03: Fixing invalid test case. + * gfortran.dg/typebound_operator_4.f03: Ditto. + +2009-10-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * g++.dg/ipa/iinline-1.C: Use dg-add-options bind_pic_locally. + * g++.dg/other/first-global.C: Likewise. + * g++.dg/parse/attr-externally-visible-1.C: Likewise. + * g++.dg/torture/pr40323.C: Likewise. + * g++.dg/tree-ssa/nothrow-1.C: Likewise. + * gcc.dg/inline-33.c: Likewise. + * gcc.dg/ipa/ipa-1.c: Likewise. + * gcc.dg/ipa/ipa-2.c: Likewise. + * gcc.dg/ipa/ipa-3.c: Likewise. + * gcc.dg/ipa/ipa-4.c: Likewise. + * gcc.dg/ipa/ipa-5.c: Likewise. + * gcc.dg/ipa/ipa-7.c: Likewise. + * gcc.dg/ipa/ipacost-2.c: Likewise. + * gcc.dg/tree-ssa/inline-3.c: Likewise. + * gcc.dg/tree-ssa/local-pure-const.c: Likewise. + * gfortran.dg/whole_file_5.f90: Likewise. + * gfortran.dg/whole_file_6.f90: Likewise. + +2009-10-16 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/41728 + * gcc.c-torture/compile/pr41728.c: New testcase. + +2009-10-16 Richard Guenther <rguenther@suse.de> + + PR lto/41598 + * gcc.dg/lto/20091016-1_0.c: New testcase. + * gcc.dg/lto/20091016-1_1.c: Likewise. + * gcc.dg/lto/20091016-1_a.h: Likewise. + +2009-10-16 Richard Guenther <rguenther@suse.de> + + PR lto/41715 + * gfortran.dg/lto/20091015-1_0.f: New testcase. + * gfortran.dg/lto/20091015-1_1.f: Likewise. + * gfortran.dg/lto/20091015-1_2.f: Likewise. + +2009-10-16 Richard Guenther <rguenther@suse.de> + + PR lto/41713 + * gfortran.dg/lto/20091016-1_0.f90: New testcase. + +2009-10-15 Jakub Jelinek <jakub@redhat.com> + + PR debug/41717 + * gcc.dg/debug/pr41717.c: New test. + +2009-10-16 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/41648 + * gfortran.dg/dynamic_dispatch_4.f03 : New test. + + PR fortran/41656 + * gfortran.dg/dynamic_dispatch_5.f03 : New test. + +2009-10-15 Michael Meissner <meissner@linux.vnet.ibm.com> + + PR target/23983 + * gcc.target/powerpc/altivec-4.c (b): Make sure altivec builtin + result used. + * g++.dg/ext/altivec-2.C (main): Ditto. + +2009-10-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * lib/target-supports.exp (add_options_for_bind_pic_locally): New. + * gcc.dg/tree-ssa/ipa-cp-1.c: Bind pic locally. + +2009-10-15 Richard Guenther <rguenther@suse.de> + + PR lto/41669 + * gcc.dg/lto/20091015-1_0.c: New testcase. + * gcc.dg/lto/20091015-1_1.c: Likewise. + * gcc.dg/lto/20091015-1_2.c: Likewise. + * gcc.dg/lto/20091015-1_a.h: Likewise. + * gcc.dg/lto/20091015-1_b.h: Likewise. + +2009-10-15 Steve Ellcey <sje@cup.hp.com> + + * gcc.dg/torture/pr41555.c: Add -std=c99 option. + +2009-10-14 Daniel Gutson <dgutson@codesourcery.com> + + * gcc.target/arm/neon/vfp-shift-a2t2.c: New test case. + +2009-10-14 Jakub Jelinek <jakub@redhat.com> + + * obj-c++.dg/layout-1.mm: Don't xfail dg-bogus on lp64, change + line from 1 to 0. + * obj-c++.dg/bitfield-1.mm: Likewise. + * obj-c++.dg/bitfield-4.mm: Likewise. + +2009-10-14 Richard Guenther <rguenther@suse.de> + + PR lto/41173 + * gcc.dg/lto/20091014-1_0.c: New testcase. + +2009-10-14 Jakub Jelinek <jakub@redhat.com> + + PR testsuite/41707 + * g++.dg/plugin/attribute_plugin-test-1.C: Expect the first + warning on line 0 instead of 1. + +2009-10-14 Richard Guenther <rguenther@suse.de> + + PR lto/41521 + * gfortran.dg/lto/pr41521_0.f90: New testcase. + * gfortran.dg/lto/pr41521_1.f90: Likewise. + +2009-10-14 Jakub Jelinek <jakub@redhat.com> + + PR preprocessor/41543 + * gcc.dg/debug/dwarf2/pr41543.c: New test. + + PR debug/41695 + * gcc.dg/debug/dwarf2/pr41695.c: New test. + +2009-10-14 Uros Bizjak <ubizjak@gmail.com> + + * gcc.target/i386/i386.exp (check_effective_target_ms_hook_prologue): + New procedure. + * gcc.target/i386/ms_hook_prologue.c: Check for ms_hook_prologue + effective target. + +2009-10-14 Jason Merrill <jason@redhat.com> + + PR c++/39866 + * g++.dg/cpp0x/defaulted14.C: New. + +2009-10-14 Larry Evans <cppljevans@suddenlink.net> + + * g++.dg/cpp0x/vt-40092.C: New. + +2009-10-14 Alexandre Oliva <aoliva@redhat.com> + + * gcc.dg/guality/pr41616-1.c: Drop -O2. + * gcc.dg/guality/pr41447-1.c: Likewise. Name main. + +2009-10-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * gfortran.dg/complex_intrinsic_8.f90: New test. + +2009-10-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * gcc.dg/torture/builtin-math-6.c: Test complex "arc" functions. + * lib/target-supports.exp (check_effective_target_mpc_arc): New. + +2009-10-14 Hans-Peter Nilsson <hp@axis.com> + + PR target/38948 + * gcc.dg/torture/pr38948.c: New test. + +2009-10-13 Steve Ellcey <sje@cup.hp.com> + + * gfortran.dg/vect/fast-math-pr38968.f90: Add timeout. + +2009-10-13 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41581 + * gfortran.dg/class_allocate_2.f03: Modified. + * gfortran.dg/class_allocate_3.f03: New test case. + +2009-10-13 Richard Guenther <rguenther@suse.de> + + PR lto/41668 + * gcc.dg/lto/20091006-2_0.c: New testcase. + * gcc.dg/lto/20091006-2_1.c: Likewise. + * gcc.dg/lto/20091006-2_2.c: Likewise. + * gcc.dg/lto/20091013-1_0.c: Likewise. + * gcc.dg/lto/20091013-1_1.c: Likewise. + * gcc.dg/lto/20091013-1_2.c: Likewise. + +2009-10-13 Martin Jambor <mjambor@suse.cz> + + * gcc.c-torture/compile/pr41661.c: New test. + +2009-10-12 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR libgfortran/41683 + * gfortran.dg/fmt_error_9.f: Add check for repeat count after P. + +2009-10-12 Jason Merrill <jason@redhat.com> + + PR c++/37875 + * g++.dg/cpp0x/decltype18.C: New. + + PR c++/37766 + * g++.dg/cpp0x/fntmpdefarg1.C: New. + +2009-10-12 Janis Johnson <janis187@us.ibm.com> + + * gcc.dg/lto/20090914-2.c: Fix typos in test directives. + +2009-10-12 Alexandre Oliva <aoliva@redhat.com> + + PR debug/41343 + PR debug/41447 + PR debug/41264 + PR debug/41338 + * gcc.dg/guality/pr41447-1.c: New. + * gcc.dg/debug/pr41264-1.c: New. + * gcc.dg/debug/pr41343-1.c: New. + +2009-10-12 Hans-Peter Nilsson <hp@axis.com> + + PR target/26515 + * gcc.dg/torture/pr26515.c: New test. + +2009-10-12 Janis Johnson <janis187@us.ibm.com> + + PR testsuite/41659 + * gcc.dg/lto/20090914-2.c: Use dg-skip-if to skip test. + * lib/lto.exp (lto-get-options-main): Report error for using "target" + or "xfail" with dg-lto-do. + +2009-10-12 Stefan Dösinger <stefan@codeweavers.com> + + * gcc.target/i386/ms_hook_prologue.c: New testcase. + +2009-10-12 Michael Matz <matz@suse.de> + + * gcc.dg/plugin/one_time_plugin.c: Update test to use the cfg + pass. + +2009-10-12 Jakub Jelinek <jakub@redhat.com> + + PR target/41680 + * g++.dg/torture/pr41680.C: New test. + +2009-10-12 Dodji Seketeli <dodji@redhat.com> + + PR c++/41570 + * g++.dg/debug/dwarf2/template-params-7.C: New test. + +2009-10-12 Alexandre Oliva <aoliva@redhat.com> + + PR debug/41616 + * gcc.dg/guality/pr41616-1.c: New. + +2009-10-11 Jason Merrill <jason@redhat.com> + + PR c++/37204 + * g++.dg/cpp0x/rv-reinterpret.C: New. + +2009-10-11 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR libgfortran/38439 + * gfortran.dg/fmt_error_9.f: New test. + * gfortran.dg/fmt_error_10.f: New test. + +2009-10-11 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/41583 + * gfortran.dg/class_4a.f03: New test with class_4b,c and d.f03. + * gfortran.dg/class_4b.f03: As above. + * gfortran.dg/class_4c.f03: As above. + * gfortran.dg/class_4d.f03: As above. + +2009-10-11 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/41555 + * gcc.dg/torture/pr41555.c: New testcase. + +2009-10-10 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR libgfortran/35862 + * gfortran.dg/round_2.f03: Eliminate possible compile error. Use max + function correctly. + +2009-10-10 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR libgfortran/35862 + * gfortran.dg/round_2.f03: Update test to also test for smaller kind. + Add conditions to avoid runtime errors if not supported. + +2009-10-10 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/41654 + * gfortran.fortran-torture/compile/pr41654.f90: New testcase. + +2009-10-09 Jason Merrill <jason@redhat.com> + + * g++.dg/cpp/ucn-1.C: New. + +2009-10-09 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41585 + * gfortran.dg/class_2.f03: Extended test case. + +2009-10-09 Tobias Burnus <burnus@net-b.de> + + PR fortran/41582 + * gfortran.dg/class_allocate_1.f03: Modify code such that + it compiles with the gfc_warning->gfc_error change. + * gfortran.dg/class_allocate_1.f03: New test. + +2009-10-09 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41579 + * gfortran.dg/select_type_6.f03: New test. + +2009-10-09 Jakub Jelinek <jakub@redhat.com> + + PR preprocessor/41445 + * gcc.dg/cpp/separate-1.c: Adjust. + * gcc.dg/cpp/spacing1.c: Add -P to dg-options. + * gcc.dg/debug/dwarf2/pr41445-1.c: New test. + * gcc.dg/debug/dwarf2/pr41445-2.c: New test. + * gcc.dg/debug/dwarf2/pr41445-3.c: New test. + * gcc.dg/debug/dwarf2/pr41445-4.c: New test. + * gcc.dg/debug/dwarf2/pr41445-5.c: New test. + * gcc.dg/debug/dwarf2/pr41445-6.c: New test. + + PR rtl-optimization/41646 + * gcc.c-torture/compile/pr41646.c: New test. + +2009-10-09 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/41634 + * gcc.c-torture/compile/pr41634.c: New testcase. + +2009-10-09 Uros Bizjak <ubizjak@gmail.com> + + * gfortran.dg/block_2.f08: Cleanup "original" tree dump. + +2009-10-09 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/opt3.adb: New test. + * gnat.dg/opt3_pkg.ads: New helper. + +2009-10-08 Doug Kwan <dougkwan@google.com> + + PR rtl-optimization/41574 + * gcc.dg/pr41574.c: New test. + +2009-10-08 Cary Coutant <ccoutant@google.com> + + Add support for debugging with ICF (Identical Code Folding). + * g++.dg/debug/dwarf2/icf.C: New test. + +2009-10-08 Adam Nemet <anemet@caviumnetworks.com> + + * gcc.target/mips/truncate-6.c: New test. + +2009-10-08 Jason Merrill <jason@redhat.com> + + PR c++/36816 + * g++.dg/cpp0x/rv-deduce.C: New. + + PR c++/37177 + * g++.dg/cpp0x/variadic-throw.C: Adjust errors. + * g++.dg/template/explicit-args2.C: New. + * g++.dg/template/explicit-args3.C: New. + * g++.old-deja/g++.pt/crash58.C: Remove some errors. + +2009-10-08 Michael Matz <matz@suse.de> + + PR middle-end/41573 + * gcc.dg/tree-ssa/foldstring-1.c: Use fre dump. + * gcc.dg/tree-ssa/useless-1.c: Use gimple dump. + * gcc.dg/pr41573.c: New test. + +2009-10-07 Joseph Myers <joseph@codesourcery.com> + + PR c/41182 + * gcc.c-torture/compile/pr41182-1.c: New. + +2009-10-07 Jason Merrill <jason@redhat.com> + + * g++.dg/cpp0x/variadic95.C: New. + +2009-10-07 Jason Merrill <jason@redhat.com> + + * g++.dg/template/scope3.C: New. + +2009-10-07 Jakub Jelinek <jakub@redhat.com> + + * gcc.dg/debug/dwarf2/inline3.c: New test. + +2009-10-07 Daniel Kraft <d@domob.eu> + + PR fortran/41615 + * gfortran.dg/assumed_charlen_function_6.f90: New test. + +2009-10-07 Janus Weil <janus@gcc.gnu.org> + + * gfortran.dg/same_type_as_2.f03: Modified (was illegal). + * gfortran.dg/select_type_1.f03: Modified error message. + * gfortran.dg/select_type_5.f03: New test. + +2009-10-06 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR libgfortran/41612 + * gfortran.dg/round_2.f03: Fix test to work on platforms that do not + have kind=10 reals. + +2009-10-06 Jason Merrill <jason@redhat.com> + + * g++.dg/cpp0x/lambda/lambda-init.C: New. + * g++.dg/cpp0x/lambda/lambda-direct-init.C: New. + +2009-10-06 Richard Guenther <rguenther@suse.de> + + PR lto/41502 + * gcc.dg/lto/20091006-1_0.c: New testcase. + * gcc.dg/lto/20091006-1_1.c: Likewise. + * gcc.dg/lto/20091005-2_0.c: Likewise. + +2009-10-06 Samuel Tardieu <sam@rfc1149.net> + + PR ada/41383 + * gnat.dg/timer_cancel.adb: New test. + +2009-10-06 Samuel Tardieu <sam@rfc1149.net> + + PR ada/38333 + * gnat.dg/specs/import_abstract.ads: New. + +2009-10-05 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR libgfortran/35862 + * gfortran.dg/round_2.f03: New test. + +2009-10-05 Jakub Jelinek <jakub@redhat.com> + + PR debug/41558 + * gcc.dg/guality/guality.exp: Move gdb-test proc into... + * lib/gcc-gdb-test.exp: ... here. New file. + * gfortran.dg/guality/guality.exp: New file. + * gfortran.dg/guality/pr41558.f90: New test. + * gfortran.dg/guality/arg1.f90: New test. + +2009-10-05 Paul Thomas <pault@gcc.gnu.org> + + * gfortran.dg/dynamic_dispatch_1.f90: New test. + * gfortran.dg/dynamic_dispatch_2.f90: New test. + * gfortran.dg/dynamic_dispatch_3.f90: New test. + * gfortran.dg/module_md5_1.f90: Update md5 sum. + +2009-10-05 Sriraman Tallam <tmsriram@google.com> + + * gcc.dg/plugin/selfassign.c (plugin_init): Change plugin_pass to + register_pass_info. + * gcc.dg/plugin/one_time_plugin.c (plugin_init): Change + plugin_pass to register_pass_info. + * g++.dg/plugin/selfassign.c (plugin_init): Change plugin_pass to + register_pass_info. + * g++.dg/plugin/dumb_plugin.c (plugin_init): Change plugin_pass to + register_pass_info. + +2009-10-05 Richard Guenther <rguenther@suse.de> + + PR lto/41281 + * gcc.dg/lto/20090914-2_0.c: New testcase. + +2009-10-05 Richard Guenther <rguenther@suse.de> + + PR lto/40902 + * gcc.dg/lto/20091005-1_0.c: New testcase. + * gcc.dg/lto/20091005-1_1.c: Likewise. + +2009-10-05 Richard Guenther <rguenther@suse.de> + + PR lto/41552 + PR lto/41487 + * g++.dg/lto/20091002-1_0.C: Adjust flags. + * g++.dg/lto/20091004-1_0.C: New testcase. + * g++.dg/lto/20091004-1_1.C: Likewise. + * g++.dg/lto/20091004-2_0.C: Likewise. + * g++.dg/lto/20091004-2_1.C: Likewise. + * g++.dg/lto/20091004-3_0.C: Likewise. + * g++.dg/lto/20091004-3_1.C: Likewise. + +2009-10-05 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/23821 + * gcc.dg/torture/pr23821.c: New testcase. + +2009-10-05 Daniel Kraft <d@domob.eu> + + PR fortran/41403 + * gfortran.dg/goto_6.f: New test. + * gfortran.dg/goto_7.f: New test. + +2009-10-03 Ben Elliston <bje@au.ibm.com> + Bill Maddox <maddox@google.com> + Cary Coutant <ccoutant@google.com> + Chris Demetriou <cgd@google.com> + Diego Novillo <dnovillo@google.com> + Doug Kwan <dougkwan@google.com> + Jan Hubicka <jh@suse.cz> + Ollie Wild <aaw@google.com> + Rafael Espindola <espindola@google.com> + Richard Guenther <rguenther@suse.de> + Simon Baldwin <simonb@google.com> + + * g++.dg/20090107-1.C: New. + * g++.dg/20090121-1.C: New. + * g++.dg/ipa/20090113-1.C: New. + * g++.dg/lto: New directory. + * g++.dg/lto/20080829_0.C: New. + * g++.dg/lto/20080904_0.C: New. + * g++.dg/lto/20080907_0.C: New. + * g++.dg/lto/20080908-1_0.C: New. + * g++.dg/lto/20080908-2_0.C: New. + * g++.dg/lto/20080908-3_0.C: New. + * g++.dg/lto/20080909-1_0.C: New. + * g++.dg/lto/20080910-1_0.C: New. + * g++.dg/lto/20080912-1_0.C: New. + * g++.dg/lto/20080912_0.C: New. + * g++.dg/lto/20080915_0.C: New. + * g++.dg/lto/20080916_0.C: New. + * g++.dg/lto/20080917_0.C: New. + * g++.dg/lto/20080924_0.C: New. + * g++.dg/lto/20080926_0.C: New. + * g++.dg/lto/20081008_0.C: New. + * g++.dg/lto/20081022.h: New. + * g++.dg/lto/20081022_0.C: New. + * g++.dg/lto/20081022_1.C: New. + * g++.dg/lto/20081023_0.C: New. + * g++.dg/lto/20081109-1_0.C: New. + * g++.dg/lto/20081109-2_0.C: New. + * g++.dg/lto/20081109_0.C: New. + * g++.dg/lto/20081109_1.C: New. + * g++.dg/lto/20081118-1_0.C: New. + * g++.dg/lto/20081118-1_1.C: New. + * g++.dg/lto/20081118_0.C: New. + * g++.dg/lto/20081118_1.C: New. + * g++.dg/lto/20081119-1.h: New. + * g++.dg/lto/20081119-1_0.C: New. + * g++.dg/lto/20081119-1_1.C: New. + * g++.dg/lto/20081119_0.C: New. + * g++.dg/lto/20081119_1.C: New. + * g++.dg/lto/20081120-1_0.C: New. + * g++.dg/lto/20081120-1_1.C: New. + * g++.dg/lto/20081120-2_0.C: New. + * g++.dg/lto/20081120-2_1.C: New. + * g++.dg/lto/20081123_0.C: New. + * g++.dg/lto/20081123_1.C: New. + * g++.dg/lto/20081125.h: New. + * g++.dg/lto/20081125_0.C: New. + * g++.dg/lto/20081125_1.C: New. + * g++.dg/lto/20081127_0.C: New. + * g++.dg/lto/20081127_1.C: New. + * g++.dg/lto/20081203_0.C: New. + * g++.dg/lto/20081203_1.C: New. + * g++.dg/lto/20081204-1_0.C: New. + * g++.dg/lto/20081204-1_1.C: New. + * g++.dg/lto/20081204-2_0.C: New. + * g++.dg/lto/20081204-2_1.C: New. + * g++.dg/lto/20081209_0.C: New. + * g++.dg/lto/20081209_1.C: New. + * g++.dg/lto/20081211-1.h: New. + * g++.dg/lto/20081211-1_0.C: New. + * g++.dg/lto/20081211-1_1.C: New. + * g++.dg/lto/20081217-1_0.C: New. + * g++.dg/lto/20081217-2_0.C: New. + * g++.dg/lto/20081219_0.C: New. + * g++.dg/lto/20081219_1.C: New. + * g++.dg/lto/20090106_0.C: New. + * g++.dg/lto/20090112_0.C: New. + * g++.dg/lto/20090128_0.C: New. + * g++.dg/lto/20090221_0.C: New. + * g++.dg/lto/20090302_0.C: New. + * g++.dg/lto/20090302_1.C: New. + * g++.dg/lto/20090303_0.C: New. + * g++.dg/lto/20090311-1.h: New. + * g++.dg/lto/20090311-1_0.C: New. + * g++.dg/lto/20090311-1_1.C: New. + * g++.dg/lto/20090311_0.C: New. + * g++.dg/lto/20090311_1.C: New. + * g++.dg/lto/20090312.h: New. + * g++.dg/lto/20090312_0.C: New. + * g++.dg/lto/20090312_1.C: New. + * g++.dg/lto/20090313_0.C: New. + * g++.dg/lto/20090313_1.C: New. + * g++.dg/lto/20090315_0.C: New. + * g++.dg/lto/20090315_1.C: New. + * g++.dg/lto/20091002-1_0.C: New testcase. + * g++.dg/lto/20091002-2_0.C: Likewise.. + * g++.dg/lto/20091002-3_0.C: Likewise.. + * g++.dg/lto/README: New. + * g++.dg/lto/pr40818_0.C: New. + * g++.dg/opt/thunk3-1.C: New. + * g++.dg/opt/thunk4.C: New. + * gcc.c-torture/execute/builtins/lib/abs.c: Mark builtin + replacements with __attribute__ ((__noinline__)). + * gcc.c-torture/execute/builtins/lib/bfill.c: Likewise. + * gcc.c-torture/execute/builtins/lib/bzero.c: Likewise. + * gcc.c-torture/execute/builtins/lib/fprintf.c: Likewise. + * gcc.c-torture/execute/builtins/lib/memchr.c: Likewise. + * gcc.c-torture/execute/builtins/lib/memcmp.c: Likewise. + * gcc.c-torture/execute/builtins/lib/memmove.c: Likewise. + * gcc.c-torture/execute/builtins/lib/mempcpy.c: Likewise. + * gcc.c-torture/execute/builtins/lib/memset.c: Likewise. + * gcc.c-torture/execute/builtins/lib/printf.c: Likewise. + * gcc.c-torture/execute/builtins/lib/sprintf.c: Likewise. + * gcc.c-torture/execute/builtins/lib/stpcpy.c: Likewise. + * gcc.c-torture/execute/builtins/lib/strcat.c: Likewise. + * gcc.c-torture/execute/builtins/lib/strchr.c: Likewise. + * gcc.c-torture/execute/builtins/lib/strcmp.c: Likewise. + * gcc.c-torture/execute/builtins/lib/strcpy.c: Likewise. + * gcc.c-torture/execute/builtins/lib/strcspn.c: Likewise. + * gcc.c-torture/execute/builtins/lib/strlen.c: Likewise. + * gcc.c-torture/execute/builtins/lib/strncat.c: Likewise. + * gcc.c-torture/execute/builtins/lib/strncmp.c: Likewise. + * gcc.c-torture/execute/builtins/lib/strncpy.c: Likewise. + * gcc.c-torture/execute/builtins/lib/strpbrk.c: Likewise. + * gcc.c-torture/execute/builtins/lib/strrchr.c: Likewise. + * gcc.c-torture/execute/builtins/lib/strspn.c: Likewise. + * gcc.c-torture/execute/builtins/lib/strstr.c: Likewise. + * gcc.dg/20081223-1.c: New. + * gcc.dg/lto: New directory. + * gcc.dg/lto/20080908_0.c: New. + * gcc.dg/lto/20080917_0.c: New. + * gcc.dg/lto/20080924_0.c: New. + * gcc.dg/lto/20081024_0.c: New. + * gcc.dg/lto/20081109_0.c: New. + * gcc.dg/lto/20081111_0.c: New. + * gcc.dg/lto/20081111_1.c: New. + * gcc.dg/lto/20081112_0.c: New. + * gcc.dg/lto/20081112_1.c: New. + * gcc.dg/lto/20081115_0.c: New. + * gcc.dg/lto/20081115_1.c: New. + * gcc.dg/lto/20081115_2.c: New. + * gcc.dg/lto/20081118_0.c: New. + * gcc.dg/lto/20081118_1.c: New. + * gcc.dg/lto/20081118_2.c: New. + * gcc.dg/lto/20081120-1_0.c: New. + * gcc.dg/lto/20081120-1_1.c: New. + * gcc.dg/lto/20081120-2_0.c: New. + * gcc.dg/lto/20081120-2_1.c: New. + * gcc.dg/lto/20081125_0.c: New. + * gcc.dg/lto/20081125_1.c: New. + * gcc.dg/lto/20081126_0.c: New. + * gcc.dg/lto/20081201-1_0.c: New. + * gcc.dg/lto/20081201-1_1.c: New. + * gcc.dg/lto/20081201-1_2.c: New. + * gcc.dg/lto/20081201-2_0.c: New. + * gcc.dg/lto/20081201-2_1.c: New. + * gcc.dg/lto/20081202-1_0.c: New. + * gcc.dg/lto/20081202-1_1.c: New. + * gcc.dg/lto/20081202-2_0.c: New. + * gcc.dg/lto/20081202-2_1.c: New. + * gcc.dg/lto/20081204-1_0.c: New. + * gcc.dg/lto/20081204-1_1.c: New. + * gcc.dg/lto/20081204-2_0.c: New. + * gcc.dg/lto/20081210-1_0.c: New. + * gcc.dg/lto/20081212-1_0.c: New. + * gcc.dg/lto/20081222_0.c: New. + * gcc.dg/lto/20081222_0.h: New. + * gcc.dg/lto/20081222_1.c: New. + * gcc.dg/lto/20081224_0.c: New. + * gcc.dg/lto/20081224_0.h: New. + * gcc.dg/lto/20081224_1.c: New. + * gcc.dg/lto/20090116_0.c: New. + * gcc.dg/lto/20090120_0.c: New. + * gcc.dg/lto/20090126-1_0.c: New. + * gcc.dg/lto/20090126-2_0.c: New. + * gcc.dg/lto/20090206-1_0.c: New. + * gcc.dg/lto/20090206-2_0.c: New. + * gcc.dg/lto/20090210_0.c: New. + * gcc.dg/lto/20090210_1.c: New. + * gcc.dg/lto/20090213_0.c: New. + * gcc.dg/lto/20090213_1.c: New. + * gcc.dg/lto/20090218-1_0.c: New. + * gcc.dg/lto/20090218-1_1.c: New. + * gcc.dg/lto/20090218-2_0.c: New. + * gcc.dg/lto/20090218-2_1.c: New. + * gcc.dg/lto/20090218_0.c: New. + * gcc.dg/lto/20090218_1.c: New. + * gcc.dg/lto/20090218_2.c: New. + * gcc.dg/lto/20090218_3.c: New. + * gcc.dg/lto/20090219_0.c: New. + * gcc.dg/lto/20090312_0.c: New. + * gcc.dg/lto/20090312_1.c: New. + * gcc.dg/lto/20090313_0.c: New. + * gcc.dg/lto/20090706-1_0.c: New. + * gcc.dg/lto/20090706-2_0.c: New. + * gcc.dg/lto/20090717_0.c: New. + * gcc.dg/lto/20090717_1.c: New. + * gcc.dg/lto/20090729_0.c: New. + * gcc.dg/lto/20090729_1.c: New. + * gcc.dg/lto/20090812_0.c: New. + * gcc.dg/lto/20090812_1.c: New. + * gcc.dg/lto/20090914-1_0.c: New. + * gcc.dg/lto/README: New. + * gcc.dg/visibility-7.c: Adjust expected pattern + * gfortran.dg/lto: New directory. + * gfortran.dg/lto/pr40724_0.f: New. + * gfortran.dg/lto/pr40724_1.f: New. + * gfortran.dg/lto/pr40725_0.f03: New. + * gfortran.dg/lto/pr40725_1.c: New. + * gfortran.dg/lto/pr41069_0.f90: New. + * gfortran.dg/lto/pr41069_1.f90: New. + * gfortran.dg/lto/pr41069_2.f90: New. + * g++.dg/README: Add 'lto' directory. + * g++.dg/dg.exp: Also scan 'lto' directory + +2009-10-03 Ben Elliston <bje@au.ibm.com> + Janis Johnson <janis187@us.ibm.com> + Diego Novillo <dnovillo@google.com> + + * g++.dg/lto/lto.exp: New. + * gcc.c-torture/execute/execute.exp: Add + LTO_TORTURE_OPTIONS TO C_TORTURE_OPTIONS. + * gcc.c-torture/execute/builtins/builtins.exp: Likewise. + * gcc.c-torture/execute/ieee/ieee.exp: Likewise. + * gcc.c-torture/unsorted/unsorted.exp: Likewise. + * gcc.target/i386/math-torture/math-torture.exp: Likewise. + * gcc.dg/lto/lto.exp: New. + * gfortran.dg/lto/lto.exp: New. + * lib/target-supports.exp (check_effective_target_lto): New. + * lib/c-torture.exp: Load target-supports.exp. Define + LTO_TORTURE_OPTIONS if check_effective_target_lto returns nonzero. + * lib/gcc-dg.exp: Likewise. + * lib/lto.exp: New. + * lib/torture-options.exp: Add support for a third argument. + +2009-10-03 Uros Bizjak <ubizjak@gmail.com> + + PR testsuite/41542 + * gcc.dg/tree-ssa/ipa-cp-1.c: Remove mis-merged garbage. + +2009-10-02 Jason Merrill <jason@redhat.com> + + * g++.dg/abi/mangle32.C: New. + +2009-10-02 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/atomic2.adb: New test. + +2009-10-02 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/array11.adb: New test. + * gnat.dg/array12.adb: Likewise. + +2009-10-02 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/array10.adb: New test. + * gnat.dg/object_overflow.adb: Tweak. + +2009-10-02 Jack Howarth <howarth@bromo.med.uc.edu> + + * gcc.dg/guality/guality.exp: Disable on darwin. + +2009-10-02 Janis Johnson <janis187@us.ibm.com> + + * c-c++-common/dfp/func-vararg-alternate-d32.c: Remove XFAIL. + * c-c++-common/dfp/func-vararg-dfp.c: Ditto. + * c-c++-common/dfp/func-vararg-mixed.c: Ditto. + * c-c++-common/dfp/func-vararg-mixed-2.c: Ditto. + +2009-10-02 Tobias Burnus <burnus@net-b.de> + + PR fortran/41479 + * gfortran.dg/intent_out_5.f90: New test. + +2009-10-02 Jakub Jelinek <jakub@redhat.com> + + PR debug/41404 + PR debug/41353 + * gcc.dg/guality/pr41404-1.c: New test. + * gcc.dg/guality/pr41353-2.c: New test. + +2009-10-02 H.J. Lu <hongjiu.lu@intel.com> + + PR testsuite/41546 + * gcc.target/i386/ifcvt-onecmpl-abs-1.c: Change -mtune=i586 + to -mtune=generic. + +2009-10-01 Jan Hubicka <jh@suse.cz> + + * gcc.dg/tree-ssa/ipa-cp-1.c: New testcase. + +2009-10-01 Loren J. Rittle <ljrittle@acm.org> + + * gcc.dg/20021014-1.c (*-*-freebsd*): Use dg-message. + + * gcc.target/i386/ifcvt-onecmpl-abs-1.c: Specify -mtune=i586. + +2009-10-01 Tobias Burnus <burnus@net-b.de> + + PR fortran/41515 + * gfortran.dg/parameter_array_init_5.f90: New test. + +2009-10-01 Jason Merrill <jason@redhat.com> + + * g++.dg/cpp0x/defaulted13.C: New. + +2009-09-30 Dennis Wassel <dennis.wassel@gmail.com> + + * gfortran.dg/bounds_check_7.f90: Adapted error message. + * gfortran.dg/bounds_check_11.f90: Likewise. + * gfortran.dg/bounds_check_fail_1.f90: Likewise. + +2009-09-30 Tobias Burnus <burnus@net-b.de> + + * gfortran.dg/select_type_4.f90: New test. + +2009-09-30 Janus Weil <janus@gcc.gnu.org> + + * gfortran.dg/same_type_as_1.f03: New test. + * gfortran.dg/same_type_as_2.f03: Ditto. + +2009-09-30 Janus Weil <janus@gcc.gnu.org> + + * gfortran.dg/select_type_1.f03: Extended. + * gfortran.dg/select_type_3.f03: New test. + +2009-09-30 Janus Weil <janus@gcc.gnu.org> + + * gfortran.dg/class_allocate_1.f03: New test. + +2009-09-30 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40996 + * gfortran.dg/allocatable_scalar_3.f90: New test. + * gfortran.dg/select_type_2.f03: Ditto. + * gfortran.dg/typebound_proc_5.f03: Changed error messages. + +2009-09-30 Janus Weil <janus@gcc.gnu.org> + + * gfortran.dg/block_name_2.f90: Modified error message. + * gfortran.dg/select_6.f90: Ditto. + * gfortran.dg/select_type_1.f03: New test. + +2009-09-30 Janus Weil <janus@gcc.gnu.org> + + * gfortran.dg/allocate_derived_1.f90: Remove -w option. + * gfortran.dg/class_1.f03: Ditto. + * gfortran.dg/class_2.f03: Ditto. + * gfortran.dg/proc_ptr_comp_pass_1.f90: Ditto. + * gfortran.dg/proc_ptr_comp_pass_2.f90: Ditto. + * gfortran.dg/proc_ptr_comp_pass_3.f90: Ditto. + * gfortran.dg/typebound_call_10.f03: Ditto. + * gfortran.dg/typebound_call_2.f03: Ditto. + * gfortran.dg/typebound_call_3.f03: Ditto. + * gfortran.dg/typebound_call_4.f03: Ditto. + * gfortran.dg/typebound_call_9.f03: Ditto. + * gfortran.dg/typebound_generic_3.f03: Ditto. + * gfortran.dg/typebound_generic_4.f03: Ditto. + * gfortran.dg/typebound_operator_1.f03: Ditto. + * gfortran.dg/typebound_operator_2.f03: Ditto. + * gfortran.dg/typebound_operator_3.f03: Ditto. + * gfortran.dg/typebound_operator_4.f03: Ditto. + * gfortran.dg/typebound_proc_1.f08: Ditto. + * gfortran.dg/typebound_proc_5.f03: Ditto. + * gfortran.dg/typebound_proc_6.f03: Ditto. + +2009-09-30 Jason Merrill <jason@redhat.com> + + * g++.dg/eh/init-temp1.C: Improve test. + +2009-09-30 Uros Bizjak <ubizjak@gmail.com> + + PR target/22093 + * gcc.target/alpha/pr22093.c: New test. + +2009-09-29 John Freeman <jfreeman08@gmail.com> + Jason Merrill <jason@redhat.com> + + * g++.dg/cpp0x/lambda/lambda-array.C: New. + * g++.dg/cpp0x/lambda/lambda-capture-const-ref.C: New. + * g++.dg/cpp0x/lambda/lambda-capture-const-ref-neg.C: New. + * g++.dg/cpp0x/lambda/lambda-const.C: New. + * g++.dg/cpp0x/lambda/lambda-copy-default-neg.C: New. + * g++.dg/cpp0x/lambda/lambda-copy-default.C: New. + * g++.dg/cpp0x/lambda/lambda-copy-neg.C: New. + * g++.dg/cpp0x/lambda/lambda-copy.C: New. + * g++.dg/cpp0x/lambda/lambda-ctor-neg.C: New. + * g++.dg/cpp0x/lambda/lambda-ctors.C: New. + * g++.dg/cpp0x/lambda/lambda-deduce-ext-neg.C: New. + * g++.dg/cpp0x/lambda/lambda-deduce-ext-neg2.C: New. + * g++.dg/cpp0x/lambda/lambda-deduce-ext.C: New. + * g++.dg/cpp0x/lambda/lambda-deduce-neg.C: New. + * g++.dg/cpp0x/lambda/lambda-deduce.C: New. + * g++.dg/cpp0x/lambda/lambda-defarg.C: New. + * g++.dg/cpp0x/lambda/lambda-eh.C: New. + * g++.dg/cpp0x/lambda/lambda-errloc.C: New. + * g++.dg/cpp0x/lambda/lambda-field-names.C: New. + * g++.dg/cpp0x/lambda/lambda-in-class-neg.C: New. + * g++.dg/cpp0x/lambda/lambda-in-class.C: New. + * g++.dg/cpp0x/lambda/lambda-lookup-neg.C: New. + * g++.dg/cpp0x/lambda/lambda-mangle.C: New. + * g++.dg/cpp0x/lambda/lambda-mixed.C: New. + * g++.dg/cpp0x/lambda/lambda-mutable.C: New. + * g++.dg/cpp0x/lambda/lambda-nested.C: New. + * g++.dg/cpp0x/lambda/lambda-non-const.C: New. + * g++.dg/cpp0x/lambda/lambda-nop.C: New. + * g++.dg/cpp0x/lambda/lambda-ns-scope.C: New. + * g++.dg/cpp0x/lambda/lambda-pass.C: New. + * g++.dg/cpp0x/lambda/lambda-recursive.C: New. + * g++.dg/cpp0x/lambda/lambda-ref-default.C: New. + * g++.dg/cpp0x/lambda/lambda-ref.C: New. + * g++.dg/cpp0x/lambda/lambda-std-function.C: New. + * g++.dg/cpp0x/lambda/lambda-template.C: New. + * g++.dg/cpp0x/lambda/lambda-this.C: New. + * g++.dg/cpp0x/lambda/lambda-type.C: New. + * g++.dg/cpp0x/lambda/lambda-use.C: New. + * lib/prune.exp: Accept "In lambda function". + +2009-09-29 Harsha Jagasia <harsha.jagasia@amd.com> + + * gcc.target/i386/fma4-check.h: New file. + * gcc.target/i386/fma4-fma.c: Ditto. + * gcc.target/i386/fma4-maccXX.c: Ditto. + * gcc.target/i386/fma4-msubXX.c: Ditto. + * gcc.target/i386/fma4-nmaccXX.c: Ditto. + * gcc.target/i386/fma4-nmsubXX.c: Ditto. + * gcc.target/i386/fma4-vector.c: Ditto. + * gcc.target/i386/fma4-256-maccXX.c: Ditto. + * gcc.target/i386/fma4-256-msubXX.c: Ditto. + * gcc.target/i386/fma4-256-nmaccXX.c: Ditto. + * gcc.target/i386/fma4-256-nmsubXX.c: Ditto. + * gcc.target/i386/fma4-256-vector.c: Ditto. + * gcc.target/i386/funcspec-2.c: Ditto. + + * gcc.target/i386/funcspec-4.c: Test error conditions related to FMA4. + + * gcc.target/i386/funcspec-5.c: Add FMA4. + * gcc.target/i386/funcspec-6.c: Ditto. + * gcc.target/i386/funcspec-8.c: Ditto. + + * gcc.target/i386/funcspec-9.c: New file. + + * gcc.target/i386/i386.exp: Add check_effective_target_fma4. + + * gcc.target/i386/isa-10.c: New file. + * gcc.target/i386/isa-11.c: Ditto. + * gcc.target/i386/isa-12.c: Ditto. + * gcc.target/i386/isa-13.c: Ditto. + * gcc.target/i386/isa-2.c: Ditto. + * gcc.target/i386/isa-3.c: Ditto. + * gcc.target/i386/isa-4.c: Ditto. + * gcc.target/i386/isa-7.c: Ditto. + * gcc.target/i386/isa-8.c: Ditto. + * gcc.target/i386/isa-9.c: Ditto. + + * gcc.target/i386/isa-14.c: Add FMA4. + * gcc.target/i386/isa-1.c: Ditto. + * gcc.target/i386/isa-5.c: Ditto. + * gcc.target/i386/isa-6.c: Ditto. + + * gcc.target/i386/sse-12.c: New file. + * gcc.target/i386/sse-13.c: Ditto. + * gcc.target/i386/sse-14.c: Ditto. + * gcc.target/i386/sse-22.c: Ditto. + + * g++.dg/other/i386-2.C: Add -mfma4 to dg-options. + * g++.dg/other/i386-3.C: Ditto. + * g++.dg/other/i386-5.C: Ditto. + * g++.dg/other/i386-6.C: Ditto. + +2009-09-29 H.J. Lu <hongjiu.lu@intel.com> + + PR testsuite/41496 + * g++.dg/dfp/dfp.exp: Unset DEFAULT_CXXFLAGS if it didn't exist + before. + +2009-09-29 Janis Johnson <janis187@us.ibm.com> + + * gcc.test-framework/dg-bogus-exp-XF.c: Move dg-bogus directive. + * gcc.test-framework/dg-warning-exp-P.c: Move dg-warning directives. + +2009-09-29 Jakub Jelinek <jakub@redhat.com> + + PR debug/41438 + * gcc.dg/debug/dwarf2/const-1.c: Add dg-require-visibility, make x + hidden. + * g++.dg/debug/dwarf2/const-1.C: Likewise. + +2009-09-29 Harsha Jagasia <harsha.jagasia@amd.com> + + * gcc.target/i386/i386.exp: Remove check_effective_target_sse5. + * gcc.target/i386/isa-1.c: Remove SSE5. + * gcc.target/i386/isa-5.c: Ditto. + * gcc.target/i386/isa-6.c: Ditto. + * gcc.target/i386/funcspec-4.c: Remove error conditions + related to SSE5. + * gcc.target/i386/avx-1.c: Remove comments to mmintrin-common.h. + * gcc.target/i386/avx-2.c: Ditto. + * gcc.target/i386/sse-23.c: Ditto. + * gcc.target/i386/funcspec-9.c: Delete. + +2009-09-29 Jakub Jelinek <jakub@redhat.com> + + * gcc.dg/guality/guality.exp (gdb-test): New proc for use in dg-final. + * gcc.dg/guality/pr41353-1.c: New test. + + PR testsuite/41444 + * gcc.dg/guality/guality.h (GUALITY_GDB_REDIRECT): Fix a typo + in macro name definition for non-unix/win32/msdos. + +2009-09-29 Daniel Kraft <d@domob.eu> + + PR fortran/39626 + * gfortran.dg/block_1.f08: New test. + * gfortran.dg/block_2.f08: New test. + * gfortran.dg/block_3.f90: New test. + * gfortran.dg/block_4.f08: New test. + * gfortran.dg/block_5.f08: New test. + * gfortran.dg/block_6.f08: New test. + * gfortran.dg/block_7.f08: New test. + * gfortran.dg/block_8.f08: New test. + +2009-09-28 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR libgfortran/35862 + * gfortran.dg/round_1.f03: New test. + * gfortran.dg/f2003_io_3.f03: Update test. + +2009-09-28 Easwaran Raman <eraman@google.com> + + * gcc.target/i386/ifcvt-onecmpl-abs-1.c: New file. + * gcc.c-torture/execute/ifcvt-onecmpl-abs-1.c: New file. + +2009-09-28 Janis Johnson <janis187@us.ibm.com> + + * g++.dg/dfp/dfp.exp: Run tests from c-c++-common/dfp. + * c-c++-common/dfp/func-vararg-alternate-d32.c: XFAIL for C++. + * c-c++-common/dfp/func-vararg-dfp.c: Ditto. + * c-c++-common/dfp/func-vararg-mixed.c: Ditto. + * c-c++-common/dfp/func-vararg-mixed-2.c: Ditto. + + * g++.dg/dfp/dfp.exp: Fix typo. + + * lib/target-supports.exp (check-effective-target-dfp-nocache): + Fix typo that breaks the check. + +2009-09-28 Olivier Hainque <hainque@adacore.com> + + * gnat.dg (tagged_alloc_free.adb): New testcase. + +2009-09-28 Janis Johnson <janis187@us.ibm.com> + + * g++.dg/dfp: New directory. + * g++.dg/dg.exp: Prune tests in dfp directory. + * g++.dg/dfp/dfp.exp: New. + * g++.dg/dfp/mangle-mode.C: New test. + +2009-09-28 Michael Matz <matz@suse.de> + + * gcc.dg/builtins-44.c: Use __builtin_isinf_sign when checking + for sign of -Inf. + +2009-09-27 Richard Henderson <rth@redhat.com> + + * gcc.c-torture/compile/pr41469.c: Add -fexceptions. + * gcc.dg/tree-ssa/pr41469-1.c: New. + +2009-09-26 Andreas Schwab <schwab@linux-m68k.org> + + PR c/41476 + * gcc.dg/cond-constqual-1.c: New test. + +2009-09-26 Michael Matz <matz@suse.de> + + PR lto/40758 + PR middle-end/41470 + * gcc.dg/pr41470.c: New test. + +2009-09-26 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/array9.adb: New test. + +2009-09-26 Michael Matz <matz@suse.de> + + PR tree-optimization/41454 + * gcc.dg/pr41454.c: New test. + +2009-09-25 Dodji Seketeli <dodji@redhat.com> + + * g++.dg/debug/dwarf2/template-func-params-4.C: Adjust after renaming + DW_TAG_template_parameter_pack and DW_TAG_formal_parameter_pack + into DW_TAG_GNU_template_parameter_pack and + DW_TAG_GNU_formal_parameter_pack. + * g++.dg/debug/dwarf2/template-params-4.C: Likewise. + * g++.dg/debug/dwarf2/template-func-params-7.C: Likewise. + +2009-09-25 Nathan Froyd <froydnj@codesourcery.com> + + * gcc.dg/vect/vect.exp: Append extra parameters as separate + parameters for alignment-sensitive -fsection-anchors tests. + +2009-09-25 Richard Guenther <rguenther@suse.de> + + PR middle-end/41463 + * gcc.c-torture/execute/pr41463.c: New testcase. + +2009-09-25 Olivier Hainque <hainque@adacore.com> + + * gnat.dg/sse_nolib.adb: New testcase. + +2009-09-25 Revital Eres <ERES@il.ibm.com> + + * gcc.target/powerpc/vsx-vectorize-8.c: New test. + * gcc.target/powerpc/vsx-vectorize-1.c: Likewise. + * gcc.target/powerpc/vsx-vectorize-2.c: Likewise. + * gcc.target/powerpc/vsx-vectorize-3.c: Likewise. + * gcc.target/powerpc/vsx-vectorize-4.c: Likewise. + * gcc.target/powerpc/vsx-vectorize-5.c: Likewise. + * gcc.target/powerpc/vsx-vectorize-6.c: Likewise. + * gcc.target/powerpc/vsx-vectorize-7.c: Likewise. + * gcc.dg/vect/vect.exp: Add Power7 flags. + * g++.dg/vect/vect.exp: Likewise. + * gfortran.dg/vect/vect.exp: Likewise. + +2009-09-24 Steven G. Kargl <kargl@gcc.gnu.org> + + PR fortran/41459 + * gfortran.dg/empty_label.f: New test. + * gfortran.dg/empty_label.f90: Ditto. + * gfortran.dg/warnings_are_errors_1.f: Fix to emit a single warning. + +2009-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * gcc.dg/torture/builtin-math-7.c: Test complex int division at + compile-time. + +2009-09-24 Adam Nemet <anemet@caviumnetworks.com> + + * lib/scanasm.exp (make_pattern_printable): New function. + (dg-scan, scan-assembler-times, scan-assembler-dem, + scan-assembler-dem-not): Use it. + +2009-09-24 H.J. Lu <hongjiu.lu@intel.com> + + * gcc.target/i386/pr12329.c (dg-do): Changed to run. + (test_nested): Renamed to ... + (test_nested1): This. + (test_nested2): New. + (main): Likewise. + +2009-09-24 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/36143 + PR tree-optimization/38747 + * gcc.dg/tree-ssa/fre-vce-1.c: XFAIL. + * gcc.dg/tree-ssa/forwprop-6.c: Likewise. + * g++.dg/torture/pr38747.C: New testcase. + * g++.dg/tree-ssa/pr19637.C: Un-XFAIL. + +2009-09-24 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/nested_proc.adb: New test. + +2009-09-24 Jakub Jelinek <jakub@redhat.com> + + * gcc.target/i386/pr12329.c: Adjust. + +2009-09-23 Alexandre Oliva <aoliva@redhat.com> + + PR debug/41248 + * gcc.dg/pr41248.c: New. + +2009-09-23 Dodji Seketeli <dodji@redhat.com> + + PR debug/41065 + * gcc.dg/debug/dwarf2/global-used-types.c: New test. + +2009-09-23 Andreas Schwab <schwab@redhat.com> + + * lib/profopt.exp (profopt-get-options): Set tool_flags for + current_compiler_flags. Fix typos. + +2009-09-23 Yuri Gribov <tetra2005@googlemail.com> + + * gcc.c-torture/execute/980526-2.c: Skip if sizeof (int) > 4. + +2009-09-23 Uros Bizjak <ubizjak@gmail.com> + + PR c/39779 + * gcc.c-torture/compile/pr39779.c: New test. + +2009-09-22 Dodji Seketeli <dodji@redhat.com> + + * g++.dg/debug/dwarf2/template-func-params-4.C: Adjust. + * g++.dg/debug/dwarf2/template-func-params-7.C: Likewise. + * g++.dg/debug/dwarf2/template-params-4.C: Likewise. + +2009-09-22 Alexandre Oliva <aoliva@redhat.com> + + PR debug/41295 + * gcc.dg/pr41295.c: New. + +2009-09-22 Neil Vachharajani <nvachhar@google.com> + + * gcc.dg/pr40209.c: Add test case. + +2009-09-22 Adam Nemet <anemet@caviumnetworks.com> + + * gcc.target/mips/code-readable-1.c: Change \. to \\. when + matching assembly. + * gcc.target/mips/code-readable-2.c: Likewise. + * gcc.target/mips/code-readable-3.c: Likewise. + +2009-09-22 Janis Johnson <janis187@us.ibm.com> + + * lib/target-supports.exp (check_effective_target_dfp_nocache): + Check support via mode instead of C type. + (check_effective_target_dfprt_nocache): Ditto. + (check_effective_target_hard_dfp): Ditto. + +2009-09-22 Richard Guenther <rguenther@suse.de> + + PR middle-end/41395 + * gcc.c-torture/execute/pr41395-1.c: New testcase. + * gcc.c-torture/execute/pr41395-2.c: Likewise. + +2009-09-22 Jakub Jelinek <jakub@redhat.com> + + * gcc.dg/20090922-1.c: New test. + + PR bootstrap/41405 + * gfortran.dg/debug/pr37738.f: Add -gno-strict-dwarf to dg-options. + * gfortran.dg/debug/pr35154-dwarf2.f: Likewise. + * g++.dg/debug/dwarf2/explicit-constructor.C: Likewise. + * g++.dg/debug/dwarf2/imported-module-2.C: Likewise. + * g++.dg/debug/dwarf2/imported-module-3.C: Likewise. + * g++.dg/debug/dwarf2/imported-module-4.C: Likewise. + * g++.dg/debug/dwarf2/namespace-1.C: Likewise. + * objc.dg/dwarf-2.m: Likewise. + +2009-09-22 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/41428 + * g++.dg/tree-ssa/pr41428.C: New testcase. + +2009-09-22 Jakub Jelinek <jakub@redhat.com> + + PR middle-end/41429 + * g++.dg/gomp/pr41429.C: New test. + +2009-09-21 Giuseppe Scrivano <gscrivano@gnu.org> + + * gcc.dg/tree-ssa/tailrecursion-6.c: New file. + +2009-09-21 Jason Merrill <jason@redhat.com> + + PR c++/41421 + * g++.dg/cpp0x/trivial1.C: Expand. + +2009-09-21 Kai Tietz <kai.tietz@onevision.com> + + * gcc.dg/torture/calleesave-sse.c: New. + +2009-09-21 Jan Hubicka <jh@suse.cz> + + * gcc.dg/guality/inline-params.c: New testcase. + +2009-09-21 Uros Bizjak <ubizjak@gmail.com> + + * gcc.c-torture/execute/ieee/ieee.exp (additional_flags): + Add -fno-inline. + * gcc.c-torture/execute/ieee/pr36332.c (foo): Remove attributes. + * gcc.c-torture/execute/ieee/pr30704.c (f1): Ditto. + (f2): Ditto. + +2009-09-20 H.J. Lu <hongjiu.lu@intel.com> + + * gcc.dg/ipa/ipa-sra-1.c (dg-options): Add -fipa-sra. + * gcc.dg/ipa/ipa-sra-2.c (dg-options): Likewise. + * gcc.dg/ipa/ipa-sra-3.c (dg-options): Likewise. + * gcc.dg/ipa/ipa-sra-4.c (dg-options): Likewise. + * gcc.dg/ipa/ipa-sra-5.c (dg-options): Likewise. + +2009-09-20 Andrew Pinski <pinskia@gcc.gnu.org> + + PR middle-end/40642 + * g++.dg/torture/pr40642.C: New testcase. + +2009-09-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * gcc.dg/torture/builtin-math-7.c: Update for testing Annex G + cases in static initializers. + +2009-09-20 Kai Tietz <kai.tietz@onevision.com> + + * gcc.c-tortue/compile/pr39886.c: New. + +2009-09-20 Chris Demetriou <cgd@google.com> + + PR preprocessor/28435: + * gcc.dg/cpp/missing-header-MD.c: Make output checking match + gcc.dg/cpp/missing-header-1.c, and add PR number to test comment. + * gcc.dg/cpp/missing-header-MMD.c: Likewise. + * gcc.dg/cpp/missing-sysheader-MD.c: Likewise. + * gcc.dg/cpp/missing-sysheader-MMD.c: Likewise. + +2009-09-19 Adam Nemet <anemet@caviumnetworks.com> + + * gcc.target/mips/mips.exp: Add relax-pic-calls + under -mfoo/-mno-foo options. + (mips-dg-options): Make -mrelax-pic-calls imply -mno-plt, -mabicalls + and -mexplicit-relocs. + * gcc.target/mips/call-1.c: New test. + * gcc.target/mips/call-2.c: New test. + * gcc.target/mips/call-3.c: New test. + * gcc.target/mips/lazy-binding-1.c: Add MIPS-specific dg-options. + * gcc.dg/tree-ssa/loop-1.c: Likewise. + +2009-09-19 Chris Demetriou <cgd@google.com> + + PR preprocessor/28435: + * gcc.dg/cpp/missing-header-MD.c: New test. + * gcc.dg/cpp/missing-header-MMD.c: New test. + * gcc.dg/cpp/missing-sysheader-MD.c: New test. + * gcc.dg/cpp/missing-sysheader-MMD.c: New test. + +2009-09-18 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR libgfortran/41328 + * gfortran.dg/cr_lf.f90: Modify test to include check that no EOR with + EOF works. + +2009-09-18 Jason Merrill <jason@redhat.com> + + * g++.dg/cpp0x/nolinkage1{.C,.h,a.cc}: New. + * g++.dg/cpp0x/initlist-deduce.C: New. + +2009-09-18 Neil Vachharajani <nvachhar@google.com> + + * gcc.dg/tree-prof/val-prof-7.c: Added test case. + +2009-09-18 Janis Johnson <janis187@us.ibm.com> + + * gcc.dg/dfp/dfp.exp: Also run tests in c-c++-common/dfp. + * c-c++-common/dfp: New directory. + * c-c++-common/dfp/dfp-dbg.h: New file. + * gcc.dg/dfp/call-by-value.c: Move to ... + * c-c++-common/call-by-value.c: here. + * gcc.dg/dfp/cast.c: Move to ... + * c-c++-common/cast.c: here. + * gcc.dg/dfp/compare-eq-const.c: Move to ... + * c-c++-common/compare-eq-const.c: here. + * gcc.dg/dfp/compare-eq-d128.c: Move to ... + * c-c++-common/compare-eq-d128.c: here. + * gcc.dg/dfp/compare-eq-d32.c: Move to ... + * c-c++-common/compare-eq-d32.c: here. + * gcc.dg/dfp/compare-eq-d64.c: Move to ... + * c-c++-common/compare-eq-d64.c: here. + * gcc.dg/dfp/compare-eq-dfp.c: Move to ... + * c-c++-common/compare-eq-dfp.c: here. + * gcc.dg/dfp/compare-eq.h: Move to ... + * c-c++-common/compare-eq.h: here. + * gcc.dg/dfp/compare-rel-const.c: Move to ... + * c-c++-common/compare-rel-const.c: here. + * gcc.dg/dfp/compare-rel-d128.c: Move to ... + * c-c++-common/compare-rel-d128.c: here. + * gcc.dg/dfp/compare-rel-d32.c: Move to ... + * c-c++-common/compare-rel-d32.c: here. + * gcc.dg/dfp/compare-rel-d64.c: Move to ... + * c-c++-common/compare-rel-d64.c: here. + * gcc.dg/dfp/compare-rel-dfp.c: Move to ... + * c-c++-common/compare-rel-dfp.c: here. + * gcc.dg/dfp/compare-rel.h: Move to ... + * c-c++-common/compare-rel.h: here. + * gcc.dg/dfp/compare-special-d128.c: Move to ... + * c-c++-common/compare-special-d128.c: here. + * gcc.dg/dfp/compare-special-d32.c: Move to ... + * c-c++-common/compare-special-d32.c: here. + * gcc.dg/dfp/compare-special-d64.c: Move to ... + * c-c++-common/compare-special-d64.c: here. + * gcc.dg/dfp/compare-special.h: Move to ... + * c-c++-common/compare-special.h: here. + * gcc.dg/dfp/constants-zero.c: Move to ... + * c-c++-common/constants-zero.c: here. + * gcc.dg/dfp/convert-bfp-10.c: Move to ... + * c-c++-common/convert-bfp-10.c: here. + * gcc.dg/dfp/convert-bfp-11.c: Move to ... + * c-c++-common/convert-bfp-11.c: here. + * gcc.dg/dfp/convert-bfp-12.c: Move to ... + * c-c++-common/convert-bfp-12.c: here. + * gcc.dg/dfp/convert-bfp-13.c: Move to ... + * c-c++-common/convert-bfp-13.c: here. + * gcc.dg/dfp/convert-bfp-14.c: Move to ... + * c-c++-common/convert-bfp-14.c: here. + * gcc.dg/dfp/convert-bfp-2.c: Move to ... + * c-c++-common/convert-bfp-2.c: here. + * gcc.dg/dfp/convert-bfp-3.c: Move to ... + * c-c++-common/convert-bfp-3.c: here. + * gcc.dg/dfp/convert-bfp-4.c: Move to ... + * c-c++-common/convert-bfp-4.c: here. + * gcc.dg/dfp/convert-bfp-5.c: Move to ... + * c-c++-common/convert-bfp-5.c: here. + * gcc.dg/dfp/convert-bfp-6.c: Move to ... + * c-c++-common/convert-bfp-6.c: here. + * gcc.dg/dfp/convert-bfp-7.c: Move to ... + * c-c++-common/convert-bfp-7.c: here. + * gcc.dg/dfp/convert-bfp-8.c: Move to ... + * c-c++-common/convert-bfp-8.c: here. + * gcc.dg/dfp/convert-bfp-9.c: Move to ... + * c-c++-common/convert-bfp-9.c: here. + * gcc.dg/dfp/convert-bfp.c: Move to ... + * c-c++-common/convert-bfp.c: here. + * gcc.dg/dfp/convert-bfp-fold.c: Move to ... + * c-c++-common/convert-bfp-fold.c: here. + * gcc.dg/dfp/convert-dfp.c: Move to ... + * c-c++-common/convert-dfp.c: here. + * gcc.dg/dfp/convert-dfp-fold-2.c: Move to ... + * c-c++-common/convert-dfp-fold-2.c: here. + * gcc.dg/dfp/convert-dfp-fold.c: Move to ... + * c-c++-common/convert-dfp-fold.c: here. + * gcc.dg/dfp/convert.h: Move to ... + * c-c++-common/convert.h: here. + * gcc.dg/dfp/convert-int.c: Move to ... + * c-c++-common/convert-int.c: here. + * gcc.dg/dfp/convert-int-fold.c: Move to ... + * c-c++-common/convert-int-fold.c: here. + * gcc.dg/dfp/convert-int-max.c: Move to ... + * c-c++-common/convert-int-max.c: here. + * gcc.dg/dfp/convert-int-max-fold.c: Move to ... + * c-c++-common/convert-int-max-fold.c: here. + * gcc.dg/dfp/convert-int-saturate.c: Move to ... + * c-c++-common/convert-int-saturate.c: here. + * gcc.dg/dfp/func-array.c: Move to ... + * c-c++-common/func-array.c: here. + * gcc.dg/dfp/func-deref.c: Move to ... + * c-c++-common/func-deref.c: here. + * gcc.dg/dfp/func-mixed.c: Move to ... + * c-c++-common/func-mixed.c: here. + * gcc.dg/dfp/func-pointer.c: Move to ... + * c-c++-common/func-pointer.c: here. + * gcc.dg/dfp/func-scalar.c: Move to ... + * c-c++-common/func-scalar.c: here. + * gcc.dg/dfp/func-struct.c: Move to ... + * c-c++-common/func-struct.c: here. + * gcc.dg/dfp/func-vararg-alternate-d128-2.c: Move to ... + * c-c++-common/func-vararg-alternate-d128-2.c: here. + * gcc.dg/dfp/func-vararg-alternate-d128.c: Move to ... + * c-c++-common/func-vararg-alternate-d128.c: here. + * gcc.dg/dfp/func-vararg-alternate-d32.c: Move to ... + * c-c++-common/func-vararg-alternate-d32.c: here. + * gcc.dg/dfp/func-vararg-alternate-d64.c: Move to ... + * c-c++-common/func-vararg-alternate-d64.c: here. + * gcc.dg/dfp/func-vararg-alternate.h: Move to ... + * c-c++-common/func-vararg-alternate.h: here. + * gcc.dg/dfp/func-vararg-dfp.c: Move to ... + * c-c++-common/func-vararg-dfp.c: here. + * gcc.dg/dfp/func-vararg-mixed-2.c: Move to ... + * c-c++-common/func-vararg-mixed-2.c: here. + * gcc.dg/dfp/func-vararg-mixed.c: Move to ... + * c-c++-common/func-vararg-mixed.c: here. + * gcc.dg/dfp/func-vararg-size0.c: Move to ... + * c-c++-common/func-vararg-size0.c: here. + * gcc.dg/dfp/inf-1.c: Move to ... + * c-c++-common/inf-1.c: here. + * gcc.dg/dfp/loop-index.c: Move to ... + * c-c++-common/loop-index.c: here. + * gcc.dg/dfp/modes.c: Move to ... + * c-c++-common/modes.c: here. + * gcc.dg/dfp/nan-1.c: Move to ... + * c-c++-common/nan-1.c: here. + * gcc.dg/dfp/nan-2.c: Move to ... + * c-c++-common/nan-2.c: here. + * gcc.dg/dfp/operator-arith-fold.c: Move to ... + * c-c++-common/operator-arith-fold.c: here. + * gcc.dg/dfp/operator-assignment.c: Move to ... + * c-c++-common/operator-assignment.c: here. + * gcc.dg/dfp/operator-comma.c: Move to ... + * c-c++-common/operator-comma.c: here. + * gcc.dg/dfp/operator-cond.c: Move to ... + * c-c++-common/operator-cond.c: here. + * gcc.dg/dfp/operator-logical.c: Move to ... + * c-c++-common/operator-logical.c: here. + * gcc.dg/dfp/operator-unary.c: Move to ... + * c-c++-common/operator-unary.c: here. + * gcc.dg/dfp/pr31385.c: Move to ... + * c-c++-common/pr31385.c: here. + * gcc.dg/dfp/pr33466.c: Move to ... + * c-c++-common/pr33466.c: here. + * gcc.dg/dfp/pr35620.c: Move to ... + * c-c++-common/pr35620.c: here. + * gcc.dg/dfp/pr36800.c: Move to ... + * c-c++-common/pr36800.c: here. + * gcc.dg/dfp/pr39034.c: Move to ... + * c-c++-common/pr39034.c: here. + * gcc.dg/dfp/pr39035.c: Move to ... + * c-c++-common/pr39035.c: here. + * gcc.dg/dfp/pr39902.c: Move to ... + * c-c++-common/pr39902.c: here. + * gcc.dg/dfp/pr39986.c: Move to ... + * c-c++-common/pr39986.c: here. + * gcc.dg/dfp/signbit-1.c: Move to ... + * c-c++-common/signbit-1.c: here. + * gcc.dg/dfp/signbit-2.c: Move to ... + * c-c++-common/signbit-2.c: here. + * gcc.dg/dfp/struct-layout-1.c: Move to ... + * c-c++-common/struct-layout-1.c: here. + * gcc.dg/dfp/usual-arith-conv.c: Move to ... + * c-c++-common/usual-arith-conv.c: here. + * gcc.dg/dfp/usual-arith-conv-const.c: Move to ... + * c-c++-common/usual-arith-conv-const.c: here. + +2009-09-18 Jack Howarth <howarth@bromo.med.uc.edu> + + PR testsuite/41288 + * gcc.target/x86_64/abi/asm-support-darwin.s (snapshot_ret): Preserve + stack alignment. + +2009-09-17 Andrew Pinski <pinskia@gcc.gnu.org> + + PR c++/39365 + * g++.dg/expr/bool3.C: New test. + * g++.dg/expr/bool4.C: New test. + +2009-09-17 Janis Johnson <janis187@us.ibm.com> + + * gcc.dg/dfp/dfp-dbg.h: Define EXTERN. + * gcc.dg/dfp/signbit-2.c: Use it. + * gcc.dg/dfp/func-vararg-alternate.h: Change two + arguments to unsigned int. + * gcc.dg/dfp/convert-bfp-10.c: Don't include float.h. + * gcc.dg/dfp/convert-bfp-fold.c: Include dfp-dbg.h. + * gcc.dg/dfp/convert-dfp-fold.c: Ditto + * gcc.dg/dfp/convert-int-max-fold.c: Ditto. + * gcc.dg/dfp/operator-arith-fold.c: Ditto. + * gcc.dg/dfp/pr39986.c: Ditto. + * gcc.dg/dfp/usual-arith-conv-const.c: Ditto. + * gcc.dg/dfp/pr31385.c: Use mode in typedef, not C type. + * gcc.dg/dfp/pr35620.c: Define typedef for C++. + * gcc.dg/dfp/convert-int.c: Define BOOL for C++. + * gcc.dg/dfp/convert-int-fold.c: Ditto. + +2009-09-17 Jakub Jelinek <jakub@redhat.com> + + * gcc.dg/debug/dwarf2/struct-loc1.c: New test. + +2009-09-17 Janis Johnson <janis187@us.ibm.com> + + PR c/41049 + * dfp/pr41049.c: New test. + +2009-09-17 H.J. Lu <hongjiu.lu@intel.com> + + PR testsuite/41385 + * gcc.dg/dfp/dfp.exp: Properly save DEFAULT_CFLAGS. + +2009-09-17 Martin Jambor <mjambor@suse.cz> + + * gcc.dg/struct/wo_prof_escape_arg_to_local.c: Do not run IPA-SRA. + * gcc.dg/ipa/ipa-sra-1.c: New test. + * gcc.dg/ipa/ipa-sra-2.c: New test. + * gcc.dg/ipa/ipa-sra-3.c: New test. + * gcc.dg/ipa/ipa-sra-4.c: New test. + * gcc.dg/ipa/ipa-sra-5.c: New test. + * gcc.c-torture/execute/ipa-sra-1.c: New test. + * gcc.c-torture/execute/ipa-sra-2.c: New test. + +2009-09-17 Michael Matz <matz@suse.de> + + PR middle-end/41347 + * gfortran.dg/pr41347.f90: New test. + +2009-09-17 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + + * gcc.c-torture/compile/20090917-1.c: New testcase. + +2009-09-16 Uros Bizjak <ubizjak@gmail.com> + + * gfortran.dg/default_format_denormal_2.f90: Add ieee options. + * gfortran.dg/default_format_denormal_1.f90: Ditto. Remove + alpha*-*-* target from XFAIL list. + +2009-09-16 Janis Johnson <janis187@us.ibm.com> + + * gcc.dg/dfp/dfp.exp: Use appropriate default options. + * gcc.dg/dfp/dfp-dbg.h: New; define FAILURE, FINISH. + * gcc.dg/dfp/cast-bad.c: Use default options. + * gcc.dg/dfp/compare-rel-const.c: Ditto. + * gcc.dg/dfp/composite-type.c: Ditto. + * gcc.dg/dfp/constants.c: Ditto. + * gcc.dg/dfp/constants-hex.c: Ditto. + * gcc.dg/dfp/constants-pedantic.c: Ditto. + * gcc.dg/dfp/convert-bfp-fold.c: Ditto. + * gcc.dg/dfp/convert-dfp-fold.c: Ditto. + * gcc.dg/dfp/convert-int-max-fold.c: Ditto. + * gcc.dg/dfp/ctypes.c: Ditto. + * gcc.dg/dfp/ddmode-ice.c: Ditto. + * gcc.dg/dfp/dec-eval-method-2.c: Ditto. + * gcc.dg/dfp/float-constant-double.c: Ditto. + * gcc.dg/dfp/keywords-pedantic.c: Ditto. + * gcc.dg/dfp/keywords-reserved.c: Ditto. + * gcc.dg/dfp/modes.c: Ditto. + * gcc.dg/dfp/operator-bitwise.c: Ditto. + * gcc.dg/dfp/pr31344.c: Ditto. + * gcc.dg/dfp/pr31385.c: Ditto. + * gcc.dg/dfp/pr33466.c: Ditto. + * gcc.dg/dfp/pr35620.c: Ditto. + * gcc.dg/dfp/pr37435.c: Ditto. + * gcc.dg/dfp/pr39986.c: Ditto. + * gcc.dg/dfp/pragma-float-const-decimal64-1.c: Ditto. + * gcc.dg/dfp/pragma-float-const-decimal64-2.c: Ditto. + * gcc.dg/dfp/pragma-float-const-decimal64-3.c: Ditto. + * gcc.dg/dfp/pragma-float-const-decimal64-4.c: Ditto. + * gcc.dg/dfp/pragma-float-const-decimal64-7.c: Ditto. + * gcc.dg/dfp/pragma-float-const-decimal64-8.c: Ditto. + * gcc.dg/dfp/typespec.c: Ditto. + * gcc.dg/dfp/usual-arith-conv-bad.c: Ditto. + * gcc.dg/dfp/usual-arith-conv-bad-2.c: Ditto. + * gcc.dg/dfp/usual-arith-conv-const.c: Ditto. + * gcc.dg/dfp/Wbad-function-cast-1.c: Ditto. + * gcc.dg/dfp/Wtraditional-conversion-2.c: Ditto. + * gcc.dg/dfp/wtr-conversion-1.c: Ditto. + * gcc.dg/dfp/compare-eq.h: Define custom debug macros. + * gcc.dg/dfp/compare-rel.h: Ditto. + * gcc.dg/dfp/compare-special.h: Ditto. + * gcc.dg/dfp/convert.h: Ditto. + * gcc.dg/dfp/fe-check.h: Ditto. + * gcc.dg/dfp/call-by-value.c: Use default options and debug macros. + * gcc.dg/dfp/cast.c: Ditto. + * gcc.dg/dfp/compare-eq-const.c: Ditto. + * gcc.dg/dfp/compare-eq-d32.c: Ditto. + * gcc.dg/dfp/compare-eq-d64.c: Ditto. + * gcc.dg/dfp/compare-eq-d128.c: Ditto. + * gcc.dg/dfp/compare-eq-dfp.c: Ditto. + * gcc.dg/dfp/compare-rel-d32.c: Ditto. + * gcc.dg/dfp/compare-rel-d64.c: Ditto. + * gcc.dg/dfp/compare-rel-d128.c: Ditto. + * gcc.dg/dfp/compare-rel-dfp.c: Ditto. + * gcc.dg/dfp/compare-special-d32.c: Ditto. + * gcc.dg/dfp/compare-special-d64.c: Ditto. + * gcc.dg/dfp/compare-special-d128.c: Ditto. + * gcc.dg/dfp/constants-zero.c: Ditto. + * gcc.dg/dfp/convert-bfp-2.c: Ditto. + * gcc.dg/dfp/convert-bfp-3.c: Ditto. + * gcc.dg/dfp/convert-bfp-4.c: Ditto. + * gcc.dg/dfp/convert-bfp-5.c: Ditto. + * gcc.dg/dfp/convert-bfp-6.c: Ditto. + * gcc.dg/dfp/convert-bfp-7.c: Ditto. + * gcc.dg/dfp/convert-bfp-8.c: Ditto. + * gcc.dg/dfp/convert-bfp-9.c: Ditto. + * gcc.dg/dfp/convert-bfp-10.c: Ditto. + * gcc.dg/dfp/convert-bfp-11.c: Ditto. + * gcc.dg/dfp/convert-bfp-12.c: Ditto. + * gcc.dg/dfp/convert-bfp-13.c: Ditto. + * gcc.dg/dfp/convert-bfp-14.c: Ditto. + * gcc.dg/dfp/convert-bfp.c: Ditto. + * gcc.dg/dfp/convert-complex.c: Ditto. + * gcc.dg/dfp/convert-dfp.c: Ditto. + * gcc.dg/dfp/convert-dfp-fold-2.c: Ditto. + * gcc.dg/dfp/convert-dfp-round.c: Ditto. + * gcc.dg/dfp/convert-int.c: Ditto. + * gcc.dg/dfp/convert-int-fold.c: Ditto. + * gcc.dg/dfp/convert-int-max.c: Ditto. + * gcc.dg/dfp/convert-int-saturate.c: Ditto. + * gcc.dg/dfp/decfloat-constants.c: Ditto. + * gcc.dg/dfp/fe-binop.c: Ditto. + * gcc.dg/dfp/fe-convert-1.c: Ditto. + * gcc.dg/dfp/fe-convert-2.c: Ditto. + * gcc.dg/dfp/fe-convert-3.c: Ditto. + * gcc.dg/dfp/func-array.c: Ditto. + * gcc.dg/dfp/func-deref.c: Ditto. + * gcc.dg/dfp/func-mixed.c: Ditto. + * gcc.dg/dfp/func-pointer.c: Ditto. + * gcc.dg/dfp/func-scalar.c: Ditto. + * gcc.dg/dfp/func-struct.c: Ditto. + * gcc.dg/dfp/func-vararg-alternate.h: Ditto. + * gcc.dg/dfp/func-vararg-alternate-d32.c: Ditto. + * gcc.dg/dfp/func-vararg-alternate-d64.c: Ditto. + * gcc.dg/dfp/func-vararg-alternate-d128.c: Ditto. + * gcc.dg/dfp/func-vararg-alternate-d128-2.c: Ditto. + * gcc.dg/dfp/func-vararg-dfp.c: Ditto. + * gcc.dg/dfp/func-vararg-mixed.c: Ditto. + * gcc.dg/dfp/func-vararg-mixed-2.c: Ditto. + * gcc.dg/dfp/func-vararg-size0.c: Ditto. + * gcc.dg/dfp/inf-1.c: Ditto. + * gcc.dg/dfp/loop-index.c: Ditto. + * gcc.dg/dfp/nan-1.c: Ditto. + * gcc.dg/dfp/nan-2.c: Ditto. + * gcc.dg/dfp/operator-arith-fold.c: Ditto. + * gcc.dg/dfp/operator-assignment.c: Ditto. + * gcc.dg/dfp/operator-comma.c: Ditto. + * gcc.dg/dfp/operator-cond.c: Ditto. + * gcc.dg/dfp/operator-logical.c: Ditto. + * gcc.dg/dfp/operator-unary.c: Ditto. + * gcc.dg/dfp/pr36800.c: Ditto. + * gcc.dg/dfp/pr39034.c: Ditto. + * gcc.dg/dfp/pr39035.c: Ditto. + * gcc.dg/dfp/pr39902.c: Ditto. + * gcc.dg/dfp/signbit-1.c: Ditto. + * gcc.dg/dfp/signbit-2.c: Ditto. + * gcc.dg/dfp/struct-layout-1.c: Ditto. + * gcc.dg/dfp/union-init.c: Ditto. + * gcc.dg/dfp/usual-arith-conv.c: Ditto. + +2009-09-16 Michael Matz <matz@suse.de> + + PR fortran/41212 + * gfortran.dg/pr41212.f90: New test. + +2009-09-16 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/alignment9.adb: New test. + +2009-09-16 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/discr20.ad[sb]: New test. + +2009-09-16 Richard Guenther <rguenther@suse.de> + + PR middle-end/34011 + * gcc.dg/tree-ssa/ssa-lim-7.c: New testcase. + +2009-09-16 DJ Delorie <dj@redhat.com> + Kaz Kojima <kkojima@gcc.gnu.org> + + * gcc.target/sh/struct-arg-dw2.c: New test. + +2009-09-15 Nathan Froyd <froydnj@codesourcery.com> + Jakub Jelinek <jakub@redhat.com> + + PR target/41175 + * gcc.target/powerpc/pr41175.c: New test. + +2009-09-14 Richard Henderson <rth@redhat.com> + + * c-c++-common/asmgoto-1.c, c-c++-common/asmgoto-2.c, + c-c++-common/asmgoto-3.c, gcc.c-torture/compile/asmgoto-1.c, + gcc.dg/tree-ssa/asmgoto-1.c: New files. + +2009-09-14 Richard Henderson <rth@redhat.com> + + * g++.dg/eh/builtin1.C: Update resx pattern match. + * g++.dg/eh/builtin2.C, g++.dg/eh/builtin3.C: Likewise. + +2009-09-14 Richard Sandiford <rdsandiford@googlemail.com> + + * gcc.target/mips/branch-helper.h: New file. + * gcc.target/mips/branch-2.c, + * gcc.target/mips/branch-3.c, + * gcc.target/mips/branch-4.c, + * gcc.target/mips/branch-5.c, + * gcc.target/mips/branch-6.c, + * gcc.target/mips/branch-7.c, + * gcc.target/mips/branch-8.c, + * gcc.target/mips/branch-9.c, + * gcc.target/mips/branch-10.c, + * gcc.target/mips/branch-11.c, + * gcc.target/mips/branch-12.c, + * gcc.target/mips/branch-13.c, + * gcc.target/mips/branch-14.c, + * gcc.target/mips/branch-15.c: New tests. + +2009-09-14 Michael Meissner <meissner@linux.vnet.ibm.com> + + PR target/41331 + * gcc.target/powerpc/bswap64-4.c: New file to test bswap64 on a + -m32 -mpowerpc64 system. + +2009-09-14 Bernd Schmidt <bernd.schmidt@analog.com> + + From Jie Zhang <jie.zhang@analog.com>: + * gcc.target/bfin/saveall.c: New test. + * gcc.target/bfin/20090914-1.c: New test. + * gcc.target/bfin/20090914-2.c: New test. + + * gcc.target/bfin/20090914-3.c: New test. + +2009-09-14 Andrew Stubbs <ams@codesourcery.com> + + * gcc.target/sh/20080410-1.c: Remove obsolete -fira option. + +2009-09-14 Richard Guenther <rguenther@suse.de> + + PR middle-end/41350 + * g++.dg/debug/dwarf-eh-personality-1.C: New testcase. + +2009-09-12 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR libgfortran/41328 + * gfortran.dg/cr_lf.f90: New test. + +2009-09-11 Michael Matz <matz@suse.de> + + PR middle-end/41275 + * g++.dg/tree-ssa/pr41275.C: New test. + +2009-09-11 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41242 + * gfortran.dg/proc_ptr_comp_21.f90: New. + +2009-09-10 Steven G. Kargl <kargl@gcc.gnu.org> + + PR fortran/31292 + * gfortran.dg/module_procedure_1.f90: New test. + * gfortran.dg/module_procedure_2.f90: Ditto. + * gfortran.dg/generic_14.f90: Move dg-error to new location. + +2009-09-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + James A. Morrison <phython@gcc.gnu.org> + + PR ada/18302 + * ada/acats/run_all.sh (target_run): Use run_test.exp to execute + commands. + * ada/acats/run_test.exp: New file. + +2009-09-10 Uros Bizjak <ubizjak@gmail.com> + + Revert: + 2009-09-09 Uros Bizjak <ubizjak@gmail.com> + + PR rtl-optimization/39779 + * gcc.dg/pr39979.c: New test. + +2009-09-10 Richard Guenther <rguenther@suse.de> + + PR middle-end/41257 + * g++.dg/torture/pr41257-2.C: New testcase. + +2009-09-09 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/28293 + * g++.dg/template/crash91.C: New. + +2009-09-09 Uros Bizjak <ubizjak@gmail.com> + + PR rtl-optimization/39779 + * gcc.dg/pr39979.c: New test. + +2009-09-09 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/41101 + * gcc.c-torture/compile/pr41101.c: New testcase. + +2009-09-09 Richard Guenther <rguenther@suse.de> + + PR middle-end/41317 + * gcc.c-torture/execute/pr41317.c: New testcase. + * gcc.dg/tree-ssa/forwprop-11.c: XFAIL. + * gcc.dg/tree-ssa/forwprop-12.c: Likewise. + +2009-09-08 Dodji Seketeli <dodji@redhat.com> + + Fix some test breakages on Darwin + * g++.dg/debug/dwarf2/namespace-1.C: Use -fno-merge-debug-string + and adjust. + * g++.dg/debug/dwarf2/template-func-params-6.C: Likewise. + * g++.dg/debug/dwarf2/template-func-params-7.C: Likewise. + * g++.dg/debug/dwarf2/template-params-6.C: Likewise. + * g++.dg/debug/dwarf2/pubnames-1.C: Likewise. Also, adjust to + take darwin specifics in account. + +2009-09-08 Joseph Myers <joseph@codesourcery.com> + + * gcc.dg/profile-dir-1.c, gcc.dg/profile-dir-2.c, + gcc.dg/profile-dir-3.c: Disable for remote-host testing. + +2009-09-08 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/39923 + * g++.dg/cpp0x/initlist24.C: New. + +2009-09-08 Ozkan Sezer <sezeroz@gmail.com> + + * gcc.dg/large-size-array-2.c: Fix target requirement. + * gcc.dg/large-size-array-4.c: Likewise. + * gcc.dg/c90-const-expr-2.c: Define ZERO as 0LL for _WIN64. + * gcc.dg/c99-const-expr-2.c: Likewise. + * gcc.dg/c90-const-expr-6.c: Typedef ptrdiff_t with __extension__. + * gcc.dg/c90-const-expr-9.c: Typedef size_t with __extension__. + * gcc.dg/c90-const-expr-10.c: Likewise. + * gcc.dg/torture/pr39074.c: Use intptr_t typedef'ed as __PTRDIFF_TYPE__ + instead of long. + * gcc.dg/tree-ssa/pr33920.c: Likewise. + * gcc.dg/vect/pr33846.c: Likewise. + * gcc.dg/vect/pr33833.c: Use uintptr_t, typedef'ed as unsigned + __PTRDIFF_TYPE__, instead of unsigned long. + * gcc.dg/vect/O1-pr33854.c: Use __SIZE_TYPE__ instead of unsigned long. + +2009-09-08 Alexandre Oliva <aoliva@redhat.com> + + PR debug/41229 + PR debug/41291 + PR debug/41300 + * gfortran.dg/pr41229.f90: New. + +2009-09-08 Alexandre Oliva <aoliva@redhat.com> + + PR debug/41232 + * gcc.dg/pr41232.c: New. + +2009-09-08 Joseph Myers <joseph@codesourcery.com> + + * gcc.misc-tests/i386-prefetch.exp: Skip tests when multilib flags + contain -march. + * gcc.dg/tree-ssa/prefetch-7.c, gcc.target/i386/387-1.c, + gcc.target/i386/387-5.c, gcc.target/i386/cmov7.c, + gcc.target/i386/funcspec-1.c, gcc.target/i386/funcspec-8.c, + gcc.target/i386/gcc-have-sync-compare-and-swap-1.c, + gcc.target/i386/gcc-have-sync-compare-and-swap-2.c, + gcc.target/i386/isa-6.c, gcc.target/i386/lea.c, + gcc.target/i386/pentium4-not-mull.c, gcc.target/i386/sse-5.c, + gcc.target/i386/ssefn-1.c: Skip when multilib flags contain -march + options other than that used in dg-options. + +2009-09-07 Jakub Jelinek <jakub@redhat.com> + + PR rtl-optimization/41239 + * gcc.c-torture/execute/pr41239.c: New test. + +2009-09-07 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR libgfortran/41192 + * gfortran.dg/namelist_59.f90: New test. + +2009-09-07 Bernd Schmidt <bernd.schmidt@analog.com> + + From Mike Frysinger <michael.frysinger@analog.com> + * gcc.target/bfin/mcpu-bf542m.c: New file. + * gcc.target/bfin/mcpu-bf544m.c: Likewise. + * gcc.target/bfin/mcpu-bf546m.c: Likewise. + * gcc.target/bfin/mcpu-bf548m.c: Likewise. + * gcc.target/bfin/mcpu-bf549m.c: Likewise. + +2009-09-07 Martin Jambor <mjambor@suse.cz> + + PR middle-end/41282 + * gcc.c-torture/compile/pr41282.c: New test. + +2009-09-07 Thomas Koenig <tkoenig@gcc.gnu.org> + + PR fortran/41197 + * gfortran.dg/allocate_alloc_opt_1.f90: Use scalar + variables for stat and errmsg. + * gfortran.dg/deallocate_alloc_opt_1.f90: Likewise. + * gfortran.dg/allocate_stat_2.f90: New test. + +2009-09-07 Bernd Schmidt <bernd.schmidt@analog.com> + + * gcc.c-torture/compile/20090907-1.c: New test. + +2009-09-06 Jakub Jelinek <jakub@redhat.com> + + PR bootstrap/41241 + * gcc.dg/pr41241.c: New test. + +2009-09-06 Richard Guenther <rguenther@suse.de> + + PR middle-end/41144 + * g++.dg/torture/pr41144.C: New testcase. + +2009-09-06 Richard Guenther <rguenther@suse.de> + + PR middle-end/41261 + * gcc.dg/torture/pr41261.c: New testcase. + +2009-09-05 Richard Guenther <rguenther@suse.de> + + PR middle-end/41181 + * gcc.c-torture/compile/pr41181.c: New testcase. + +2009-09-05 Richard Guenther <rguenther@suse.de> + + PR debug/41273 + * g++.dg/torture/pr41273.C: New testcase. + +2009-09-05 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/41258 + * gfortran.dg/typebound_proc_12.f90 : New test. + +2009-09-04 Alexandre Oliva <aoliva@redhat.com> + + PR debug/41225 + * gfortran.dg/pr41225.f90: New. + +2009-09-04 Alexandre Oliva <aoliva@redhat.com> + + * gcc.dg/guality/guality.h: Include stdint.h. Drop unnecessary + unistd.h, sys/types.h and sys/wait.h. + (gualchk_t): New. + (GUALCVT): New. + (GUALCHKXPR, GUALCHKVAL, GUALCHKFLA): Use it. + (GUALITY_GDB_REDIRECT): New. + (GUALITY_GDB_ARGS): Use it. + +2009-09-04 Richard Guenther <rguenther@suse.de> + + PR middle-end/41257 + * g++.dg/torture/pr41257.C: New testcase. + +2009-09-04 Martin Jambor <mjambor@suse.cz> + + PR tree-optimization/41112 + * gnat.dg/array8.adb: New test. + +2009-09-03 Daniel Gutson <dgutson@codesourcery.com> + + * gcc.target/arm/ctz.c: New test case. + +2009-09-03 Alon Dayan <alond@il.ibm.com> + + PR tree-optimization/38275 + * gcc.dg/autopar/reduc-1char.c: Increase number + of iterations. Adjust the logic accordingly. + * gcc.dg/autopar/reduc-2char.c: Ditto. + * gcc.dg/autopar/reduc-1.c: Ditto. + * gcc.dg/autopar/reduc-2.c: Ditto. + * gcc.dg/autopar/reduc-3.c: Ditto. + * gcc.dg/autopar/reduc-6.c: Ditto. + * gcc.dg/autopar/reduc-7.c: Ditto. + * gcc.dg/autopar/reduc-8.c: Ditto. + * gcc.dg/autopar/reduc-9.c: Ditto. + * gcc.dg/autopar/pr39500-1.c: Ditto. + * gcc.dg/autopar/reduc-1short.c: Ditto. + * gcc.dg/autopar/reduc-2short.c: Ditto. + * gcc.dg/autopar/parallelization-1.c: Ditto. + +2009-09-03 Jakub Jelinek <jakub@redhat.com> + + * gcc.dg/guality/guality.exp: Only run guality tests if a trivial + testcase using guality.h compiles and links and if a global variable + can be verified by gdb. + +2009-09-03 Bernd Schmidt <bernd.schmidt@analog.com> + + * lib/target-supports.exp (check_effective_target_sync_int_long): + Supported on Blackfin Linux targets. + +2009-09-02 David Daney <ddaney@caviumnetworks.com> + + * gcc.c-torture/compile/builtin_unreachable-1.c: New testcase. + +2009-09-03 Diego Novillo <dnovillo@google.com> + + * gcc.dg/gomp/combined-1.c: Adjust expected pattern. + * g++.dg/tree-prof/inline_mismatch_args.C: Likewise. + * g++.dg/warn/unit-1.C: Likewise. + * g++.dg/ipa/iinline-1.C: Likewise. + * g++.dg/template/cond2.C: Adjust expected line location for the + error. + * g++.dg/template/pr35240.C: Likewise. + +2009-09-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * gcc.dg/tree-ssa/inline-3.c: Add -fpie when pic. + * gcc.dg/tree-ssa/local-pure-const.c: Likewise. + +2009-09-02 Martin Jambor <mjambor@suse.cz> + + * gcc.dg/tree-ssa/sra-8.c: New testcase. + * gcc.dg/memcpy-1.c: Add . to match pattern. + * gcc.dg/uninit-I.c: XFAIL warning test. + * g++.dg/warn/unit-1.C: XFAIL warning test. + +2009-09-02 Ian Lance Taylor <iant@google.com> + + * gcc.dg/20090902-1.c: New test. + +2009-09-02 Jakub Jelinek <jakub@redhat.com> + + * gcc.dg/builtin-object-size-9.c: New test. + +2009-09-02 Olivier Hainque <hainque@adacore.com> + + * gnat.dg/array7.ad[bs]: Add check for Signed_Integer_Type_Definition. + +2009-09-02 Eric Botcazou <ebotcazou@adacore.com> + Olivier Hainque <hainque@adacore.com> + + * gnat.dg/misaligned_param.adb: New test. + * gnat.dg/misaligned_param_pkg.ad[sb]: New helper. + * gnat.dg/slice7.adb: Add 1 more related case. + +2009-09-01 Alexandre Oliva <aoliva@redhat.com> + + * gcc.dg/guality/guality.c: Expect to fail for now. + * gcc.dg/guality/example.c: Likewise. + +2009-09-01 Alexandre Oliva <aoliva@redhat.com> + + * gcc.dg/guality/guality.c: New. + * gcc.dg/guality/guality.h: New. + * gcc.dg/guality/guality.exp: New. + * gcc.dg/guality/example.c: New. + * lib/gcc-dg.exp (cleanup-dump): Remove .gk files. + (cleanup-saved-temps): Likewise, .gkd files too. + +2009-09-01 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR fortran/39229 + * gfortran.dg/line_length_3.f: New test. + * gfortran.dg/line_length_4.f90: New test. + +2009-09-01 Loren J. Rittle <ljrittle@acm.org> + + * lib/target-supports.exp (check_gc_sections_available): + Add proper pattern quote. + +2009-08-31 Uros Bizjak <ubizjak@gmail.com> + Kaz Kojima <kkojima@gcc.gnu.org> + + * lib/target-supports.exp (add_options_for_ieee): New procedure. + * g++.dg/cdce3.C: Use dg-add-options ieee. + * g++.dg/torture/type-generic-1.C: Likewise. + * gcc.c-torture/compile/fix-trunc-mem-1.c: Likewise. + * gcc.dg/pr28796-2.c: Likewise. + * gcc.dg/torture/builtin-math-7.c: Likewise. + * gcc.dg/torture/type-generic-1.c: Likewise. + * gfortran.dg/boz_14.f90: Likewise. + * gfortran.dg/erf_2.F90: Likewise. + * gfortran.dg/init_flag_3.f90: Likewise. + * gfortran.dg/init_flag_4.f90: Likewise. + * gfortran.dg/init_flag_5.f90: Likewise. + * gfortran.dg/integer_exponentiation_1.f90: Likewise. + * gfortran.dg/integer_exponentiation_5.F90: Likewise. + * gfortran.dg/isnan_1.f90: Likewise. + * gfortran.dg/isnan_2.f90: Likewise. + * gfortran.dg/maxlocval_2.f90: Likewise. + * gfortran.dg/maxlocval_4.f90: Likewise. + * gfortran.dg/minlocval_1.f90: Likewise. + * gfortran.dg/minlocval_4.f90: Likewise. + * gfortran.dg/module_nan.f90: Likewise. + * gfortran.dg/namelist_42.f90: Likewise. + * gfortran.dg/namelist_43.f90: Likewise. + * gfortran.dg/nan_1.f90: Likewise. + * gfortran.dg/nan_2.f90: Likewise. + * gfortran.dg/nan_3.f90: Likewise. + * gfortran.dg/nan_4.f90: Likewise. + * gfortran.dg/nan_5.f90: Likewise. + * gfortran.dg/nearest_1.f90: Likewise. + * gfortran.dg/nearest_2.f90: Likewise. + * gfortran.dg/nearest_3.f90: Likewise. + * gfortran.dg/pr37243.f: Likewise. + * gfortran.dg/real_const_3.f90: Likewise. + * gfortran.dg/transfer_simplify_2.f90: Likewise. + +2009-08-31 Dodji Seketeli <dodji@redhat.com> + + PR debug/30161 + * g++.dg/debug/dwarf2/template-params-1.C: New test. + * g++.dg/debug/dwarf2/template-params-2.C: Likewise. + * g++.dg/debug/dwarf2/template-params-3.C: Likewise. + * g++.dg/debug/dwarf2/template-params-4.C: Likewise. + * g++.dg/debug/dwarf2/template-params-5.C: Likewise. + * g++.dg/debug/dwarf2/template-params-6.C: Likewise. + * g++.dg/debug/dwarf2/template-func-params-1.C: Likewise. + * g++.dg/debug/dwarf2/template-func-params-2.C: Likewise. + * g++.dg/debug/dwarf2/template-func-params-3.C: Likewise. + * g++.dg/debug/dwarf2/template-func-params-4.C: Likewise. + * g++.dg/debug/dwarf2/template-func-params-5.C: Likewise. + * g++.dg/debug/dwarf2/template-func-params-6.C: Likewise. + * g++.dg/debug/dwarf2/template-func-params-7.C: Likewise. + +2009-08-31 Jason Merrill <jason@redhat.com> + + PR c++/41127 + * g++.dg/parse/enum5.C: New. + * g++.dg/cpp0x/enum1.C: Adjust expected error. + +2009-08-31 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40940 + * gfortran.dg/allocate_derived_1.f90: New. + * gfortran.dg/class_3.f03: New. + +2009-08-31 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40996 + * gfortran.dg/allocatable_scalar_1.f90: New. + * gfortran.dg/allocatable_scalar_2.f90: Renamed from finalize_9.f03. + * gfortran.dg/finalize_9.f03: Renamed to allocatable_scalar_2.f90. + * gfortran.dg/proc_ptr_comp_pass_4.f90: Modified. + +2009-08-30 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/41186 + * g++.dg/torture/pr41186.C: New testcase. + * g++.dg/tree-ssa/pr41186.C: Likewise. + +2009-08-30 Dodji Seketeli <dodji@redhat.com> + + PR c++/41187 + * g++.dg/debug/dwarf2/namespace-1.C: Use a loosier regexp to + take ia64 assembly comments syntax in account. + +2009-08-30 Uros Bizjak <ubizjak@gmail.com> + + * gcc.target/i386/funcspec-5.c: Remove fused-add test. + +2009-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * gfortran.dg/whole_file_5.f90: Add -fpie when pic, fix scan pattern. + * gfortran.dg/whole_file_6.f90: Likewise. + +2009-08-28 Cary Coutant <ccoutant@google.com> + + PR debug/41063 + * g++.dg/debug/dwarf2/pr41063.C: New test. + +2009-08-27 Uros Bizjak <ubizjak@gmail.com> + + PR rtl-optimization/40861 + * gcc.dg/pr40861.c: New test. + +2009-08-27 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40869 + * gfortran.dg/proc_ptr_comp_20.f90: New. + +2009-08-27 Janne Blomqvist <jb@gcc.gnu.org> + + PR libfortran/39667 + * gfortran.dg/f2003_io_4.f03: Don't require target fd_truncate, + open temp file with status="scratch". + * gfortran.dg/fmt_cache_1.f: Likewise. + * gfortran.dg/fmt_exhaust.f90: Likewise. + * gfortran.dg/fmt_t_4.f90: Likewise. + * gfortran.dg/fseek.f90: Likewise. + * gfortran.dg/list_read_5.f90: Likewise. + * gfortran.dg/namelist_39.f90: Likewise. + * gfortran.dg/namelist_56.f90: Likewise. + * gfortran.dg/read_bad_advance.f90: Likewise. + * gfortran.dg/read_repeat.f90: Likewise. + * gfortran.dg/read_size_noadvance.f90: Likewise. + * gfortran.dg/read_x_past.f: Likewise. + +2009-08-27 Tobias Burnus <burnus@net-b.de> + + PR fortran/28039 + * gfortran.dg/fmt_with_extra.f: xfail testcase as patch was reverted. + +2009-08-27 Daniel Kraft <d@domob.eu> + + PR fortran/37425 + * gfortran.dg/impure_assignment_1.f90: Change expected error message. + * gfortran.dg/typebound_operator_1.f03: Remove check for not-implemented + error and fix problem with recursive assignment. + * gfortran.dg/typebound_operator_2.f03: No not-implemented check. + * gfortran.dg/typebound_operator_3.f03: New test. + * gfortran.dg/typebound_operator_4.f03: New test. + +2009-08-27 Dodji Seketeli <dodji@redhat.com> + + PR debug/41170 + * debug/dwarf2/namespace-1.C: New test. + +2009-08-26 H.J. Lu <hongjiu.lu@intel.com> + + PR fortran/41162 + * gfortran.dg/pr41162.f: New. + +2009-08-26 Adam Nemet <anemet@caviumnetworks.com> + Richard Sandiford <rdsandiford@googlemail.com> + + * gcc.target/mips/mips.exp: Replace isa(_rev)=...!... mechanism + with "forbid_cpu". + * gcc.target/mips/branch-1.c: Update accordingly. + * gcc.target/mips/extend-1.c: Likewise. + * gcc.target/mips/dmult-1.c: Likewise. Remove redundant isa=64. + +2009-08-26 Richard Guenther <rguenther@suse.de> + + PR middle-end/41163 + * gcc.c-torture/compile/pr41163.c: New testcase. + * gcc.dg/pr35899.c: Adjust. + +2009-08-26 Richard Guenther <rguenther@suse.de> + + * gcc.dg/tree-ssa/restrict-4.c: New testcase. + +2009-08-26 Jason Merrill <jason@redhat.com> + + * g++.dg/cpp0x/explicit3.C: New. + * g++.dg/overload/cond2.C: New. + +2009-08-25 Kaz Kojima <kkojima@gcc.gnu.org> + + * gcc.dg/torture/builtin-math-7.c: Add -mieee for sh*-*-* targets. + +2009-08-25 Jan Hubicka <jh@suse.cz> + + * gcc.target/i386/sse5-shift1-vector.c + * gcc.target/i386/isa-12.c + * gcc.target/i386/isa-12.cgcc.target/i386/isa-12.c + * gcc.target/i386/sse5-pcmov2.c + * gcc.target/i386/isa-3.c + * gcc.target/i386/sse5-shift2-vector.c + * gcc.target/i386/isa-7.c + * gcc.target/i386/funcspec-2.c + * gcc.target/i386/sse5-haddX.c + * gcc.target/i386/sse5-hadduX.c + * gcc.target/i386/isa-9.c + * gcc.target/i386/sse5-maccXX.c + * gcc.target/i386/sse5-shift3-vector.c + * gcc.target/i386/sse5-msubXX.c + * gcc.target/i386/sse5-permpX.c + * gcc.target/i386/sse5-check.h + * gcc.target/i386/sse-12.c + * gcc.target/i386/sse-11.c + * gcc.target/i386/sse-10.c + * gcc.target/i386/sse-13.c + * gcc.target/i386/sse-14.c + * gcc.target/i386/sse-22.c + * gcc.target/i386/sse-2.c + * gcc.target/i386/sse-13.c + * gcc.target/i386/avx-2.c + * gcc.target/i386/sse5-rotate1-vector.c + * gcc.target/i386/isa-4.c + * gcc.target/i386/sse5-hsubX.c + * gcc.target/i386/sse5-pcmov.c + * gcc.target/i386/sse5-fma.c + * gcc.target/i386/isa-8.c + * gcc.target/i386/sse5-rotate2-vector.c + * gcc.target/i386/sse5-nmaccXX.c + * gcc.target/i386/sse5-imul64-vector.c + * gcc.target/i386/sse5-nmsubXX.c + * gcc.target/i386/sse5-rotate3-vector.c + * gcc.target/i386/sse5-fma-vector.c + * gcc.target/i386/sse5-imul32widen-vector.c + * gcc.target/i386/sse5-ima-vector.c: Remove SSE5 related testcases. + + * gcc.target/i386/funcspec-8.c: Replace SSE5 by SSE4. + * gcc.target/i386/funcspec-5.c: Remove SSE5. + * gcc.target/i386/funcspec-6.c: Remove fused-add test. + * gcc.target/i386/avx-1.c: Remove SSE5. + * gcc.target/i386/avx-2.c: Remove SSE5. + * g++.dg/other/i386-2.C: Replace SSE5 by SSE4A. + * g++.dg/other/i386-3.C: Replace SSE5 by SSE4A. + * g++.dg/other/i386-6.C: Replace SSE5 by SSE4A. + * g++.dg/other/i386-5.C: Replace SSE5 by SSE4A. + +2009-08-25 Uros Bizjak <ubizjak@gmail.com> + + * gcc.c-torture/compile/limits-fndefn.c: Add dg-timeout-factor. + +2009-08-25 Ville Voutilainen <ville.voutilainen@gmail.com> + + * g++.dg/cpp0x/alignof.C: New. Tests that the alignof + keyword works in the same manner as __alignof. + +2009-08-25 Thomas Koenig <tkoenig@gcc.gnu.org> + + PR libfortran/34670 + * gfortran.dg/unpack_bounds_1.f90: New test. + * gfortran.dg/unpack_bounds_2.f90: New test. + * gfortran.dg/unpack_bounds_3.f90: New test. + +2009-08-25 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/slice7.adb: New test. + * gnat.dg/slice7_pkg.ads: New helper. + +2009-08-25 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41139 + * gfortran.dg/proc_ptr_25.f90: New. + * gfortran.dg/proc_ptr_comp_18.f90: New. + * gfortran.dg/proc_ptr_comp_19.f90: New. + +2009-08-24 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR fortran/41154 + * gfortran.dg/fmt_error_8.f: New test. + +2009-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * gcc.dg/torture/builtin-math-6.c (link_error): Accept a value + number, update all callers and synchronize results for latest MPC. + +2009-08-21 Jason Merrill <jason@redhat.com> + + * g++.dg/warn/Wunused-17.C: New. + +2009-08-11 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> + + * gcc.target/arm/combine-cmp-shift.c: New test. + +2009-08-24 Kai Tietz <kai.tietz@onevision.com> + + * gcc.dg/format/ms-format1.c: Add new cases for I32 width specifier. + * gcc.dg/format/ms-format2.c: New test about illegal use of I32/I64 + width specifier. + +2009-08-23 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + * gfortran.dg/fmt_error_7.f: New test. + +2009-08-23 Uros Bizjak <ubizjak@gmail.com> + + PR target/40718 + * gcc.target/i386/pr40718.c: New test. + +2009-08-22 Steven G. Kargl <kargl@gcc.gnu.org> + + * gfortran.dg/proc_ptr_24.f90: New test. + +2009-08-22 Steven K. kargl <kargl@gcc.gnu.org> + + * gfortran.dg/allocate_alloc_opt_4.f90: New test. + * gfortran.dg/allocate_alloc_opt_5.f90: New test. + * gfortran.dg/allocate_alloc_opt_6.f90: New test. + +2009-08-22 Bud Davis <bdavis9659@sbcglobal.net> + + PR fortran/28039 + * gfortran.dg/fmt_with_extra.f: new file. + +2009-08-21 Maciej W. Rozycki <macro@codesourcery.com> + + * lib/target-supports.exp + (check_effective_target_arm_iwmmxt_ok): New procedure. + * gcc.target/arm/mmx-1.c: Only run if arm_iwmmxt_ok. Remove the + exclusions for -mfloat-abi=softfp and -mfloat-abi=hard. + +2009-08-21 Uros Bizjak <ubizjak@gmail.com> + + * gfortran.dg/boz_9.f90: Do not load denormal floating + point constants. Remove -mieee option for alpha*-*-* targets. + +2009-08-21 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41106 + * gfortran.dg/proc_ptr_23.f90: New. + * gfortran.dg/proc_ptr_comp_15.f90: New. + * gfortran.dg/proc_ptr_comp_16.f90: New. + * gfortran.dg/proc_ptr_comp_17.f90: New. + +2009-08-21 Jakub Jelinek <jakub@redhat.com> + + PR c++/41131 + * g++.dg/expr/unary3.C: New test. + +2009-08-21 Kaz Kojima <kkojima@gcc.gnu.org> + + * gfortran.dg/common_5.f: Add -mdalign for sh. + * gfortran.dg/common_align_2.f90: Likewise. + +2009-08-20 Thomas Koenig <tkoenig@gcc.gnu.org> + + PR libfortran/40962 + * c_f_pointer_tests_4.f90: New test. + +2009-08-20 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/slice6.adb: New test. + * gnat.dg/slice6_pkg.ads: New helper. + +2009-08-20 Michael Matz <matz@suse.de> + + PR fortran/41126 + * gfortran.dg/pr41126.f90: New test. + +2009-08-20 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/dynamic_bound.adb: New test. + +2009-08-20 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41121 + * gfortran.dg/intrinsic_5.f90: New. + +2009-08-19 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> + Richard Earnshaw <richard.earnshaw@arm.com> + + * gcc.target/arm/20090811-1.c: New test. + +2009-08-19 Jakub Jelinek <jakub@redhat.com> + + PR middle-end/41123 + * gcc.dg/pr41123.c: New test. + +2009-08-19 Jason Merrill <jason@redhat.com> + + PR c++/41120 + * g++.dg/other/gc4.C: New. + +2009-08-18 Michael Matz <matz@suse.de> + + * gfortran.dg/vect/vect-gems.f90: New test. + * gcc.dg/tree-ssa/alias-1.c: Remove, it checks something broken. + +2009-08-18 DJ Delorie <dj@redhat.com> + + * lib/wrapper.exp: Move load of target-libpath.exp from here... + * lib/gcc-defs.exp: ... to here. + + * lib/wrapper.exp (${tool}_maybe_build_wrapper): Set up + GCC_EXEC_PREFIX before building the wrapper. + +2009-08-18 Nathan Froyd <froydnj@codesourcery.com> + + * gcc.dg/vect/vect.exp: Add new stanza for aligned-section-anchors-* + tests. + * gcc.dg/vect/section-anchors-nest-1.c: Rename to... + * gcc.dg/vect/aligned-section-anchors-nest-1.c: ...this. Remove + dg-options. Fix dg-final clause. + +2009-08-18 Uros Bizjak <ubizjak@gmail.com> + + * g++.dg/cdce3.C: Add -mieee for alpha*-*-* targets. + +2009-08-18 Janus Weil <janus@gcc.gnu.org> + Paul Thomas <pault@gcc.gnu.org> + + PR fortran/40870 + * gfortran.dg/proc_ptr_comp_13.f90: Extended. + +2009-08-18 Richard Guenther <rguenther@suse.de> + + PR middle-end/41094 + * gcc.dg/torture/pr41094.c: New testcase. + * gcc.dg/torture/builtin-power-1.c: Adjust. + * gcc.dg/builtins-10.c: Likewise. + +2009-08-18 Jakub Jelinek <jakub@redhat.com> + + PR target/40971 + * gcc.dg/pr40971.c: New test. + +2008-08-17 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/41062 + * gfortran.dg/use_only_4.f90: New test. + +2009-08-17 Daniel Kraft <d@domob.eu> + + PR fortran/37425 + * gfortran.dg/typebound_operator_2.f03: Test for error with illegal + NOPASS bindings as operators. + +2009-08-17 Uros Bizjak <ubizjak@gmail.com> + + * lib/target-supports.exp + (check_effective_target_vect_cmdline_needed): Add alpha to the list + of targets that do not need command line argument to enable SIMD. + +2009-08-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * lib/target-supports.exp (check_effective_target_mpc_pow): Fix + typo in cache name. + +2009-08-17 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR fortran/41075 + * gfortran.dg/unlimited_fmt_1.f90: New test. + +2009-08-17 Dodji Seketeli <dodji@redhat.com> + + * gcc.dg.debug/dwarf2/inline2.c: Add -dA to compile options. + +2009-08-17 Arnaud Charlet <charlet@adacore.com> + + * gnat.dg/itype.ad[sb]: New test. + +2009-08-16 Adam Nemet <anemet@caviumnetworks.com> + + * gcc.target/mips/mips.exp: Add terminology section to comment + at the top of the file. Fix typos. + +2009-08-16 Jason Merrill <jason@redhat.com> + + * g++.dg/debug/dwarf2/inline1.C: New. + +2009-08-16 Richard Sandiford <rdsandiford@googlemail.com> + + PR target/38599 + * gcc.target/mips/smartmips-lwxs.c: Remove -mlong32. + +2009-08-16 Dodji Seketeli <dodji@redhat.com> + + PR debug/37801 + * gcc.dg/debug/20020224-1.c: Adjust the comment. + Make sure to trigger inlining optimizations. + * gcc.dg/debug/dwarf2/inline2.c: New test. + +2009-08-14 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41070 + * gfortran.dg/structure_constructor_10.f90: New. + +2009-08-14 Olatunji Ruwase <tjruwase@google.com> + + * gcc.dg/pragma-re-1.c: Supported on all platforms. + * gcc.dg/pragma-re-2.c: Likewise. + * gcc.dg/pragma-re-3.c: Likewise. + * gcc.dg/pragma-re-4.c: Likewise. + * g++.dg/other/pragma-re-1.C: Likewise. + * g++.dg/other/pragma-re-2.C: Likewise. + +2009-08-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * gcc.dg/torture/builtin-math-7.c: New. + +2009-08-14 Richard Guenther <rguenther@suse.de> + + * gcc.c-torture/execute/20090814-1.c: New testcase. + +2009-08-14 David Edelsohn <edelsohn@gnu.org> + + * gcc.dg/graphite/graphite_autopar: Move to libgomp testsuite. + +2009-08-14 Paolo Bonzini <bonzini@gnu.org> + + PR target/40934 + * gcc.target/i386/pr40934.c: New. + +2009-08-14 Uros Bizjak <ubizjak@gmail.com> + + PR target/41019 + * gcc.target/i386/pr41019.c: New test. + +2009-08-13 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR fortran/40955 + * gfortran.dg/winapi.f90: New test. + +2009-08-13 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40995 + * gfortran.dg/intrinsic_4.f90: New. + * gfortran.dg/intrinsic_subroutine.f90: An error message moved to a + different line. + +2009-08-13 Richard Guenther <rguenther@suse.de> + + PR middle-end/41047 + * gcc.dg/tree-ssa/ssa-ccp-27.c: New testcase. + +2009-08-12 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/41011 + * gfortran.dg/pr41011.f: New testcase. + +2009-08-11 Andrew Haley <aph@redhat.com> + + * gcc.target/arm/synchronize.c: New file. + +2009-08-12 Sebastian Pop <sebastian.pop@amd.com> + + PR middle-end/40980 + * gfortran.dg/graphite/id-17.f: New. + +2009-08-12 Konrad Trifunovic <konrad.trifunovic@gmail.com> + Sebastian Pop <sebastian.pop@amd.com> + + * gcc.dg/graphite/interchange-1.c: XFAILed. + * gcc.dg/graphite/interchange-2.c: XFAILed. + * gcc.dg/graphite/interchange-3.c: XFAILed. + * gcc.dg/graphite/interchange-4.c: XFAILed. + * gcc.dg/graphite/interchange-7.c: XFAILed. + +2009-08-12 Sebastian Pop <sebastian.pop@amd.com> + + * gcc.dg/graphite/interchange-6.c: Un-XFAIL. + +2009-08-12 Sebastian Pop <sebastian.pop@amd.com> + Pranav Garg <pranav.garg2107@gmail.com> + + * gcc.dg/graphite/interchange-6.c: XFAILed. + +2009-08-12 Sebastian Pop <sebastian.pop@amd.com> + + * gcc.dg/graphite/interchange-9.c: New. + +2009-08-12 Richard Guenther <rguenther@suse.de> + + PR rtl-optimization/41033 + * gcc.dg/pr41033.c: New test. + +2009-08-11 Janus Weil <janus@gcc.gnu.org> + + PR fortran/41022 + * gfortran.dg/proc_ptr_comp_14.f90: New. + +2009-08-11 Adam Nemet <anemet@caviumnetworks.com> + + * gcc.target/mips/ext-5.c: New test. + * gcc.target/mips/ext-6.c: New test. + * gcc.target/mips/ext-7.c: New test. + * gcc.target/mips/ext-8.c: New test. + * gcc.target/mips/extend-2.c: New test. + +2009-08-10 Jason Merrill <jason@redhat.com> + + * g++.dg/other/linkage2.C: New test for types-without-linkage + handling. + * g++.dg/ext/anon-struct4.C: No error about anonymous type. + * g++.dg/lookup/anon2.C: Likewise. + * g++.dg/other/anon3.C: Likewise. + * g++.dg/template/arg2.C: Likewise. + * g++.dg/template/local4.C: Likewise. + * g++.old-deja/g++.law/operators32.C: Likewise. + * g++.old-deja/g++.other/linkage2.C: Likewise. + * g++.old-deja/g++.pt/enum6.C: Likewise. + * g++.old-deja/g++.other/anon9.C: Use the undefined decls. + * g++.old-deja/g++.other/linkage1.C: Likewise. + +2009-08-10 Manuel López-Ibáñez <manu@gcc.gnu.org> + + * gcc.dg/dg.exp: Test also c-c++-common dir. + * g++.dg/dg.exp: Likewise. + * g++.dg/warn/Wconversion-real.C: Delete. + * gcc.dg/Wconversion-real.c: Move to ... + * c-c++-common/Wconversion-real.c: ... here. + * lib/target-supports.exp + (check_effective_target_c,check_effective_target_c++): New. + +2009-08-10 Daniel Kraft <d@domob.eu> + + PR fortran/37425 + * gfortran.dg/typebound_operator_1.f03: New test. + * gfortran.dg/typebound_operator_2.f03: New test. + +2009-08-10 Richard Guenther <rguenther@suse.de> + + PR middle-end/41006 + * gcc.c-torture/compile/pr41006-1.c: New testcase. + * gcc.c-torture/compile/pr41006-2.c: Likewise. + +2009-08-10 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40940 + * gfortran.dg/class_1.f03: New. + * gfortran.dg/class_2.f03: New. + * gfortran.dg/proc_ptr_comp_pass_1.f90: Use CLASS instead of TYPE. + * gfortran.dg/proc_ptr_comp_pass_2.f90: Ditto. + * gfortran.dg/proc_ptr_comp_pass_3.f90: Ditto. + * gfortran.dg/typebound_call_10.f03: Ditto. + * gfortran.dg/typebound_call_2.f03: Ditto. + * gfortran.dg/typebound_call_3.f03: Ditto. + * gfortran.dg/typebound_call_4.f03: Ditto. + * gfortran.dg/typebound_generic_3.f03: Ditto. + * gfortran.dg/typebound_generic_4.f03: Ditto. + * gfortran.dg/typebound_proc_1.f08: Ditto. + * gfortran.dg/typebound_proc_5.f03: Ditto. + * gfortran.dg/typebound_proc_6.f03: Ditto. + +2009-08-10 Dodji Seketeli <dodji@redhat.com> + + PR c++/40866 + * g++.dg/expr/stmt-expr-1.C: New test. + +2009-08-09 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/41016 + * gcc.c-torture/compile/pr41016.c: New testcase. + +2009-08-09 Richard Sandiford <rdsandiford@googlemail.com> + + * gcc.dg/overflow-warn-8.c: New test. + +2009-08-09 Ira Rosen <irar@il.ibm.com> + + PR tree-optimization/41008 + * gcc.dg/vect/O1-pr41008.c: New test. + +2009-08-05 Tobias Burnus <burnus@net-b.de> + + PR fortran/40955 + * gfortran.dg/module_md5_1.f90: Update MD5 check sum. + +2009-08-09 Bernd Schmidt <bernd.schmidt@analog.com> + + * gcc.target/bfin/loop-autoinc.c: New file. + +2009-08-08 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/40991 + * g++.dg/torture/pr40991.C: New testcase. + +2009-08-08 Laurent GUERBY <laurent@guerby.net> + + * ada/acats/support/impdef.a: Tweak timing constants. Add + Long_Minimum_Task_Switch and Long_Switch_To_New_Task. + * ada/acats/tests/c9/c940005.a: Use new timing constants. + * ada/acats/tests/c9/c940007.a: Likewise. + * ada/acats/tests/c9/c94001c.ada: Likewise. + * ada/acats/tests/c9/c94006a.ada: Likewise. + * ada/acats/tests/c9/c94008c.ada: Likewise. + * ada/acats/tests/c9/c951002.a: Likewise. + * ada/acats/tests/c9/c954a01.a: Likewise. + * ada/acats/tests/c9/c96001a.ada: Likewise. + * ada/acats/tests/c9/c97307a.ada: Likewise. + +2009-08-07 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/40999 + * gfortran.dg/pr40999.f: New testcase. + +2009-08-07 Jakub Jelinek <jakub@redhat.com> + + * g++.dg/tree-prof/partition1.C: New test. + +2009-08-06 Richard Earnshaw <rearnsha@arm.com> + + * lib/target-supports.exp (check_effective_target_arm_hard_vfp_ok): New + hook. + (check_effective_target_arm_neon_ok): Improve test for neon + availability. + * gcc.target/arm/eabi1.c: Only run test in base variant. + * gcc.target/arm/abitest.h: Allow the test function to have a PCS + attribute. + * gcc.target/arm/vfp1[567].c: New tests. + +2009-08-06 Jason Merrill <jason@redhat.com> + + PR c++/40948 + * g++.dg/ext/complit12.C: Expand. + +2009-08-06 Richard Earnshaw <rearnsha@arm.com> + + Merge ARM/hard_vfp_branch to trunk. + + 2009-08-04 Richard Earnshaw <rearnsha@arm.com> + + * gcc.target/arm/mmx-1.c: Skip if using -mfloat-abi=hard. + * gcc.dg/builtin-apply2.c: Skip for ARM if using -mfloat-abi=hard. + + 2009-05-12 Joseph Myers <joseph@codesourcery.com> + + * gcc.target/arm/eabi1.c: Do not skip for non-base ABI variants. + (PCS): Define macro to use base AAPCS. + (decl_float, __aeabi_d2f, __aeabi_f2d): Use PCS macro. + + 2009-05-11 Daniel Jacobowitz <dan@codesourcery.com> + + * lib/target-supports.exp (check_effective_target_arm_neon_ok): + Correct arm_neon.h typo. + + 2009-03-06 Richard Earnshaw <rearnsha@arm.com> + + * lib/target-supports.exp (check_effective_target_hard_vfp_ok): Make + this a linkage test. + * gcc.target/arm/aapcs/aapcs.exp: New framework for testing AAPCS + argument marshalling. + * abitest.h: New file. + * vfp1.c, vfp2.c, vfp3.c, vfp4.c, vfp5.c, vfp6.c, vfp7.c: New tests. + * vfp8.c, vfp9.c, vfp10.c, vfp11.c, vfp12.c, vfp13.c, vfp14.c: New. + +2009-08-06 Martin Jambor <mjambor@suse.cz> + + PR middle-end/32964 + * gcc.dg/tree-ssa/pr32964.c: New test. + +2009-08-06 Uros Bizjak <ubizjak@gmail.com> + H.J. Lu <hongjiu.lu@intel.com> + + PR target/40957 + * gcc.target/i386/pr40957.c: New test. + +2009-08-06 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/40964 + * gcc.c-torture/compile/pr40964.c: New testcase. + +2009-08-05 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/40847 + * gfortran.dg/transfer_resolve_1.f90 : New test. + +2009-08-05 Uros Bizjak <ubizjak@gmail.com> + Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz> + + PR target/40906 + * gcc.target/i386/pr40906-1.c: New test. + * gcc.target/i386/pr40906-2.c: Ditto. + * gcc.target/i386/pr40906-3.c: Ditto. + +2009-08-05 Jakub Jelinek <jakub@redhat.com> + + PR rtl-optimization/40924 + * g++.dg/torture/pr40924.C: New test. + +2009-08-05 Manuel López-Ibáñez <manu@gcc.gnu.org> + + PR c++/36069 + * g++.dg/warn/pr36069.C: New. + +2009-08-04 Dodji Seketeli <dodji@redhat.com> + + PR c++/39987 + * g++.dg/overload/defarg4.C: New test. + +2009-08-04 Manuel López-Ibáñez <manu@gcc.gnu.org> + + PR c++/16696 + * g++.dg/parse/pr16696.C: New. + * g++.dg/parse/pr16696-permissive.C: New. + +2009-08-04 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/40875 + * gfortran.dg/initialization_23.f90 : New test. + +2009-08-04 Dodji Seketeli <dodji@redhat.com> + + PR debug/39706 + * g++.dg/debug/dwarf2/pubnames-1.C: New test. + +2009-08-03 Jason Merrill <jason@redhat.com> + Jakub Jelinek <jakub@redhat.com> + + PR c++/40948 + * g++.dg/ext/complit12.C: New. + +2009-08-03 Janis Johnson <janis187@us.ibm.com> + + PR c/39902 + * gcc.target/powerpc/pr39902-2.c: New test. + +2009-08-03 Jakub Jelinek <jakub@redhat.com> + + PR middle-end/40943 + * gcc.dg/uninit-6.c: Re-add XFAIL. + * gcc.dg/uninit-6-O0.c: Likewise. + * gcc.dg/uninit-pr40943.c: New test. + +2009-08-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + PR testsuite/40858 + * g++.dg/debug/dwarf2/typedef1.C: Also match assembler string used with + .ascii. + +2009-08-02 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR libfortran/40853 + * gfortran.dg/namelist_40.f90: Update error output. + * gfortran.dg/namelist_47.f90: Update error output. + * gfortran.dg/namelist_58.f90: New test. + +2009-08-02 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40881 + * gfortran.dg/aliasing_dummy_1.f90: Add -std=legacy. + * gfortran.dg/altreturn_3.f90: Ditto. + * gfortran.dg/altreturn_5.f90: Ditto. + * gfortran.dg/altreturn_6.f90: Ditto. + * gfortran.dg/altreturn_7.f90: Ditto. + * gfortran.dg/array_constructor_13.f90: Ditto. + * gfortran.dg/arrayio_7.f90: Ditto. + * gfortran.dg/arrayio_8.f90: Ditto. + * gfortran.dg/assumed_charlen_function_3.f90: Modified warning message. + * gfortran.dg/assumed_charlen_function_4.f90: Add -std=legacy. + * gfortran.dg/assumed_charlen_function_5.f90: Modified warning message. + * gfortran.dg/backspace_8.f: Add -std=legacy. + * gfortran.dg/backspace_9.f: Ditto. + * gfortran.dg/char_comparison_1.f: Ditto. + * gfortran.dg/char_decl_1.f90: Ditto. + * gfortran.dg/char_initialiser_actual.f90: Ditto. + * gfortran.dg/char_pointer_assign.f90: Ditto. + * gfortran.dg/char_pointer_dependency.f90: Ditto. + * gfortran.dg/char_pointer_dummy.f90: Ditto. + * gfortran.dg/char_pointer_func.f90: Ditto. + * gfortran.dg/common_8.f90: Ditto. + * gfortran.dg/constant_substring.f: Ditto. + * gfortran.dg/data_char_2.f90: Ditto. + * gfortran.dg/der_array_io_1.f90: Ditto. + * gfortran.dg/der_array_io_2.f90: Ditto. + * gfortran.dg/der_array_io_3.f90: Ditto. + * gfortran.dg/der_io_3.f90: Ditto. + * gfortran.dg/dev_null.F90: Ditto. + * gfortran.dg/direct_io_2.f90: Ditto. + * gfortran.dg/do_iterator_2.f90: Ditto. + * gfortran.dg/e_d_fmt.f90: Ditto. + * gfortran.dg/empty_format_1.f90: Ditto. + * gfortran.dg/entry_17.f90: Modified warning message. + * gfortran.dg/entry_7.f90: Add -std=legacy. + * gfortran.dg/eor_1.f90: Ditto. + * gfortran.dg/equiv_2.f90: Ditto. + * gfortran.dg/equiv_constraint_2.f90: Use new-style character length. + * gfortran.dg/equiv_substr.f90: Add -std=legacy. + * gfortran.dg/extended_char_comparison_1.f: Ditto. + * gfortran.dg/fmt_bz_bn_err.f: Ditto. + * gfortran.dg/fmt_error_2.f90: Ditto. + * gfortran.dg/fmt_read_bz_bn.f90: Ditto. + * gfortran.dg/fmt_tl.f: Ditto. + * gfortran.dg/fmt_white.f: Ditto. + * gfortran.dg/func_derived_1.f90: Ditto. + * gfortran.dg/g77_intrinsics_funcs.f: Ditto. + * gfortran.dg/g77_intrinsics_sub.f: Ditto. + * gfortran.dg/global_references_2.f90: Ditto. + * gfortran.dg/hollerith_1.f90: Ditto. + * gfortran.dg/hollerith.f90: Use new-style character length. + * gfortran.dg/hollerith_f95.f90: Ditto. + * gfortran.dg/ichar_1.f90: Add -std=legacy. + * gfortran.dg/implicit_6.f90: Ditto. + * gfortran.dg/implicit_9.f90: Ditto. + * gfortran.dg/inquire_13.f90: Ditto. + * gfortran.dg/inquire_5.f90: Ditto. + * gfortran.dg/inquire_6.f90: Ditto. + * gfortran.dg/inquire.f90: Ditto. + * gfortran.dg/io_constraints_1.f90: Use new-style character length. + * gfortran.dg/io_constraints_2.f90: Ditto. + * gfortran.dg/list_read_2.f90: Add -std=legacy. + * gfortran.dg/loc_2.f90: Ditto. + * gfortran.dg/logical_1.f90: Ditto. + * gfortran.dg/longline.f: Ditto. + * gfortran.dg/merge_char_1.f90: Ditto. + * gfortran.dg/namelist_12.f: Ditto. + * gfortran.dg/namelist_14.f90: Ditto. + * gfortran.dg/namelist_18.f90: Ditto. + * gfortran.dg/namelist_19.f90: Ditto. + * gfortran.dg/namelist_21.f90: Ditto. + * gfortran.dg/namelist_22.f90: Ditto. + * gfortran.dg/namelist_37.f90: Ditto. + * gfortran.dg/namelist_54.f90: Ditto. + * gfortran.dg/namelist_55.f90: Ditto. + * gfortran.dg/namelist_empty.f90: Ditto. + * gfortran.dg/namelist_use.f90: Use new-style character length. + * gfortran.dg/namelist_use_only.f90: Add -std=legacy. + * gfortran.dg/nested_modules_4.f90: Ditto. + * gfortran.dg/nested_modules_5.f90: Ditto. + * gfortran.dg/open-options-blanks.f: Ditto. + * gfortran.dg/output_exponents_1.f90: Ditto. + * gfortran.dg/parens_5.f90: Ditto. + * gfortran.dg/parens_6.f90: Ditto. + * gfortran.dg/parent_result_ref_2.f90: Modified warning message. + * gfortran.dg/pointer_function_actual_1.f90: Add -std=legacy. + * gfortran.dg/pr15129.f90: Ditto. + * gfortran.dg/pr15332.f: Ditto. + * gfortran.dg/pr16597.f90: Ditto. + * gfortran.dg/pr17143.f90: Ditto. + * gfortran.dg/pr17164.f90: Ditto. + * gfortran.dg/pr17229.f: Modified warning message. + * gfortran.dg/pr18210.f90: Add -std=legacy. + * gfortran.dg/pr19155.f: Ditto. + * gfortran.dg/pr20086.f90: Ditto. + * gfortran.dg/pr20124.f90: Ditto. + * gfortran.dg/pr20755.f: Ditto. + * gfortran.dg/pr20865.f90: Ditto. + * gfortran.dg/pr20950.f: Ditto. + * gfortran.dg/pr21730.f: Ditto. + * gfortran.dg/pr22491.f: Ditto. + * gfortran.dg/pr29713.f90: Ditto. + * gfortran.dg/print_parentheses_1.f: Ditto. + * gfortran.dg/print_parentheses_2.f90: Ditto. + * gfortran.dg/proc_assign_1.f90: Ditto. + * gfortran.dg/proc_decl_1.f90: Ditto. + * gfortran.dg/proc_ptr_17.f90: Add dg-warning. + * gfortran.dg/read_eor.f90: : Add -std=legacy. + * gfortran.dg/read_float_1.f90: Ditto. + * gfortran.dg/read_logical.f90: Ditto. + * gfortran.dg/recursive_statement_functions.f90: Ditto. + * gfortran.dg/return_1.f90: Ditto. + * gfortran.dg/rewind_1.f90: Ditto. + * gfortran.dg/runtime_warning_1.f90: Use new-style character length. + * gfortran.dg/scalar_return_1.f90: Add -std=legacy. + * gfortran.dg/stfunc_1.f90: Ditto. + * gfortran.dg/stfunc_3.f90: Ditto. + * gfortran.dg/stfunc_4.f90: Ditto. + * gfortran.dg/stfunc_6.f90: Ditto. + * gfortran.dg/streamio_2.f90: Ditto. + * gfortran.dg/string_ctor_1.f90: Ditto. + * gfortran.dg/string_null_compare_1.f: Ditto. + * gfortran.dg/substr_6.f90: Ditto. + * gfortran.dg/tl_editing.f90: Ditto. + * gfortran.dg/unf_io_convert_1.f90: Use new-style character length. + * gfortran.dg/warnings_are_errors_1.f90: Modified warning message. + * gfortran.dg/x_slash_1.f: Add -std=legacy. + * gfortran.dg/g77/1832.f: Ditto. + * gfortran.dg/g77/19981216-0.f Ditto. + * gfortran.dg/g77/19990525-0.f: Ditto. + * gfortran.dg/g77/19990826-2.f: Ditto. + * gfortran.dg/g77/20000630-2.f: Ditto. + * gfortran.dg/g77/20010116.f: Ditto. + * gfortran.dg/g77/20010519-1.f: Use new-style character length. + * gfortran.dg/g77/980419-2.f: Add -std=legacy. + * gfortran.dg/g77/980520-1.f: Ditto. + * gfortran.dg/g77/check0.f: Ditto. + * gfortran.dg/g77/cpp3.F: Ditto. + * gfortran.dg/g77/cpp4.F: Use new-style character length. + * gfortran.dg/g77/f77-edit-i-in.f: Add -std=legacy. + * gfortran.dg/g77/f77-edit-t-in.f: Ditto. + * gfortran.dg/g77/short.f: Ditto. + +2009-08-01 Adam Nemet <anemet@caviumnetworks.com> + + * gcc.target/mips/ext-3.c: Add NOMIPS16. + * gcc.target/mips/ext-4.c: Likewise. + * gcc.target/mips/interrupt_handler.c: Likewise. + * gcc.target/mips/truncate-4.c: Likewise. + * gcc.target/mips/truncate-5.c: Likewise. + +2009-08-01 Sebastian Pop <sebastian.pop@amd.com> + + * gcc.dg/graphite/graphite_autopar/graphite_autopar.exp: Rename + -fgraphite-force-parallel to -floop-parallelize-all. + +2009-08-01 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/40011 + * gfortran.dg/whole_file_7.f90: New test. + * gfortran.dg/whole_file_8.f90: New test. + * gfortran.dg/whole_file_9.f90: New test. + * gfortran.dg/whole_file_10.f90: New test. + * gfortran.dg/whole_file_11.f90: New test. + * gfortran.dg/whole_file_12.f90: New test. + * gfortran.dg/whole_file_13.f90: New test. + * gfortran.dg/whole_file_14.f90: New test. + +2009-07-31 Jason Merrill <jason@redhat.com> + + * g++.dg/cpp0x/initlist22.C: Adjust for new rvalue reference + binding semantics. + * g++.dg/cpp0x/named.C: Likewise. + * g++.dg/cpp0x/overload.C: Likewise. + * g++.dg/cpp0x/rv1n.C: Likewise. + * g++.dg/cpp0x/rv1p.C: Likewise. + * g++.dg/cpp0x/rv2n.C: Likewise. + * g++.dg/cpp0x/rv2p.C: Likewise. + * g++.dg/cpp0x/rv3n.C: Likewise. + * g++.dg/cpp0x/rv3p.C: Likewise. + * g++.dg/cpp0x/rv4n.C: Likewise. + * g++.dg/cpp0x/rv4p.C: Likewise. + * g++.dg/cpp0x/rv5n.C: Likewise. + * g++.dg/cpp0x/rv5p.C: Likewise. + * g++.dg/cpp0x/rv6n.C: Likewise. + * g++.dg/cpp0x/rv6p.C: Likewise. + * g++.dg/cpp0x/rv7n.C: Likewise. + * g++.dg/cpp0x/rv7p.C: Likewise. + * g++.dg/cpp0x/template_deduction.C: Likewise. + * g++.dg/cpp0x/unnamed_refs.C: Likewise. + * g++.dg/cpp0x/overloadn.C: New. + * g++.dg/cpp0x/rv-cast.C: New. + +2009-07-31 Adam Nemet <anemet@caviumnetworks.com> + + * gcc.target/mips/ext-4.c: New test. + +2009-07-30 Sebastian Pop <sebastian.pop@amd.com> + + * g++.dg/tree-ssa/pr33615.C: Fix pattern for lim. + +2009-07-30 Sebastian Pop <sebastian.pop@amd.com> + + * gcc.dg/tree-ssa/20050314-1.c: Fix patterns for lim and dceloop. + * gcc.dg/tree-ssa/loop-32.c: Same. + * gcc.dg/tree-ssa/loop-33.c: Same. + * gcc.dg/tree-ssa/loop-34.c: Same. + * gcc.dg/tree-ssa/loop-35.c: Same. + * gcc.dg/tree-ssa/loop-7.c: Same. + * gcc.dg/tree-ssa/pr23109.c: Same. + * gcc.dg/tree-ssa/restrict-2.c: Same. + * gcc.dg/tree-ssa/restrict-3.c: Same. + * gcc.dg/tree-ssa/ssa-lim-1.c: Same. + * gcc.dg/tree-ssa/ssa-lim-2.c: Same. + * gcc.dg/tree-ssa/ssa-lim-3.c: Same. + * gcc.dg/tree-ssa/ssa-lim-6.c: Same. + * gcc.dg/tree-ssa/structopt-1.c: Same. + * gcc.dg/vect/dump-tree-dceloop-pr26359.c: Same. + * gfortran.dg/pr32921.f: Same. + +2009-07-30 Sebastian Pop <sebastian.pop@amd.com> + + * gcc.dg/graphite/graphite_autopar/force-parallel-1.c: New. + * gcc.dg/graphite/graphite_autopar/force-parallel-2.c: New. + * gcc.dg/graphite/graphite_autopar/force-parallel-3.c: New. + * gcc.dg/graphite/graphite_autopar/force-parallel-4.c: New. + * gcc.dg/graphite/graphite_autopar/force-parallel-5.c: New. + * gcc.dg/graphite/graphite_autopar/force-parallel-6.c: New. + * gcc.dg/graphite/graphite_autopar/force-parallel-7.c: New. + * gcc.dg/graphite/graphite_autopar/force-parallel-8.c: New. + * gcc.dg/graphite/graphite_autopar/force-parallel-9.c: New. + * gcc.dg/graphite/graphite_autopar/graphite_autopar.exp: New. + * gcc.dg/graphite/id-1.c: New. + * gcc.dg/graphite/id-10.c: New. + * gcc.dg/graphite/id-11.c: New. + * gcc.dg/graphite/id-12.c: New. + * gcc.dg/graphite/id-13.c: New. + * gcc.dg/graphite/id-14.c: New. + * gcc.dg/graphite/id-15.c: New. + * gcc.dg/graphite/id-2.c: New. + * gcc.dg/graphite/id-3.c: New. + * gcc.dg/graphite/id-4.c: New. + * gcc.dg/graphite/id-5.c: New. + * gcc.dg/graphite/id-6.c: New. + * gcc.dg/graphite/id-7.c: New. + * gcc.dg/graphite/id-8.c: New. + * gcc.dg/graphite/id-9.c: New. + * gcc.dg/graphite/interchange-0.c: New. + * gcc.dg/graphite/interchange-1.c: New. + * gcc.dg/graphite/interchange-2.c: New. + * gcc.dg/graphite/interchange-3.c: New. + * gcc.dg/graphite/interchange-4.c: New. + * gcc.dg/graphite/interchange-5.c: New. + * gcc.dg/graphite/interchange-6.c: New. + * gcc.dg/graphite/interchange-7.c: New. + * gcc.dg/graphite/interchange-8.c: New. + * gcc.dg/graphite/pr35356-1.c: New. + * gcc.dg/graphite/pr35356-2.c: New. + * gcc.dg/graphite/pr35356-3.c: New. + * gcc.dg/graphite/pr40157.c: New. + * gcc.dg/graphite/run-id-1.c: New. + * gcc.dg/graphite/scop-20.c: New. + * gcc.dg/graphite/scop-21.c: New. + * gfortran.dg/graphite/id-1.f90: New. + * gfortran.dg/graphite/id-10.f90: New. + * gfortran.dg/graphite/id-11.f: New. + * gfortran.dg/graphite/id-12.f: New. + * gfortran.dg/graphite/id-13.f: New. + * gfortran.dg/graphite/id-14.f: New. + * gfortran.dg/graphite/id-15.f: New. + * gfortran.dg/graphite/id-16.f: New. + * gfortran.dg/graphite/id-5.f: New. + * gfortran.dg/graphite/id-6.f: New. + * gfortran.dg/graphite/id-7.f: New. + * gfortran.dg/graphite/id-8.f: New. + * gfortran.dg/graphite/id-9.f: New. + * gfortran.dg/graphite/interchange-1.f: New. + * gfortran.dg/graphite/interchange-2.f: New. + +2009-07-30 Sebastian Pop <sebastian.pop@amd.com> + + * gcc.dg/graphite/graphite.exp: Implement an automatic selection of + flags based on the name of the testcase. + * gfortran.dg/graphite/graphite.exp: Same. + + * gcc.dg/graphite/block-0.c: Adjusted. + * gcc.dg/graphite/block-1.c: Adjusted. + * gcc.dg/graphite/block-2.c: Adjusted. + * gcc.dg/graphite/block-3.c: Adjusted. + * gcc.dg/graphite/block-4.c: Adjusted. + * gcc.dg/graphite/block-5.c: Adjusted. + * gcc.dg/graphite/block-6.c: Adjusted. + * gcc.dg/graphite/pr37485.c: Adjusted. + * gcc.dg/graphite/pr37684.c: Adjusted. + * gcc.dg/graphite/pr37828.c: Adjusted. + * gcc.dg/graphite/pr37883.c: Adjusted. + * gcc.dg/graphite/pr37928.c: Adjusted. + * gcc.dg/graphite/pr37943.c: Adjusted. + * gcc.dg/graphite/pr38409.c: Adjusted. + * gcc.dg/graphite/pr38498.c: Adjusted. + * gcc.dg/graphite/pr38559.c: Adjusted. + * gcc.dg/graphite/pr39335.c: Adjusted. + * gcc.dg/graphite/pr39335_1.c: Adjusted. + * gcc.dg/graphite/scop-0.c: Adjusted. + * gcc.dg/graphite/scop-1.c: Adjusted. + * gcc.dg/graphite/scop-10.c: Adjusted. + * gcc.dg/graphite/scop-11.c: Adjusted. + * gcc.dg/graphite/scop-12.c: Adjusted. + * gcc.dg/graphite/scop-13.c: Adjusted. + * gcc.dg/graphite/scop-14.c: Adjusted. + * gcc.dg/graphite/scop-15.c: Adjusted. + * gcc.dg/graphite/scop-16.c: Adjusted. + * gcc.dg/graphite/scop-17.c: Adjusted. + * gcc.dg/graphite/scop-18.c: Adjusted. + * gcc.dg/graphite/scop-19.c: Adjusted. + * gcc.dg/graphite/scop-2.c: Adjusted. + * gcc.dg/graphite/scop-3.c: Adjusted.- + * gcc.dg/graphite/scop-4.c: Adjusted. + * gcc.dg/graphite/scop-5.c: Adjusted. + * gcc.dg/graphite/scop-6.c: Adjusted. + * gcc.dg/graphite/scop-7.c: Adjusted. + * gcc.dg/graphite/scop-8.c: Adjusted. + * gcc.dg/graphite/scop-9.c: Adjusted. + * gcc.dg/graphite/scop-matmult.c: Adjusted. + * gfortran.dg/graphite/block-1.f90: Adjusted. + * gfortran.dg/graphite/block-2.f: Adjusted. + * gfortran.dg/graphite/block-3.f90: Adjusted. + * gfortran.dg/graphite/block-4.f90: Adjusted. + * gfortran.dg/graphite/id-2.f90: Adjusted. + * gfortran.dg/graphite/id-3.f90: Adjusted. + * gfortran.dg/graphite/id-4.f90: Adjusted. + * gfortran.dg/graphite/pr37852.f90: Adjusted. + * gfortran.dg/graphite/pr37857.f90: Adjusted. + * gfortran.dg/graphite/pr37980.f90: Adjusted. + * gfortran.dg/graphite/pr38083.f90: Adjusted. + * gfortran.dg/graphite/pr38953.f90: Adjusted. + * gfortran.dg/graphite/scop-1.f: Adjusted. + +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. + +2009-07-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * lib/options.exp: Use "!=" instead of "ne". + + * gcc.dg/vector-4.c: Add -fno-common option on hppa*-*-hpux* (32-bit). + + * gcc.dg/ucnid-11.c: Skip on hppa*-*-hpux* (32-bit). + * gcc.dg/ucnid-12.c: Likewise. + +2009-07-30 Michael Meissner <meissner@linux.vnet.ibm.com> + Pat Haugen <pthaugen@us.ibm.com> + Revital Eres <ERES@il.ibm.com> + + * gcc.target/powerpc/altivec-32.c: New file to test + Altivec simple math function vectorization. + + * gcc.target/powerpc/bswap-run.c: New file to test swap + builtins. + * gcc.target/powerpc/bswap16.c: Ditto. + * gcc.target/powerpc/bswap32.c: Ditto. + * gcc.target/powerpc/bswap64-1.c: Ditto. + * gcc.target/powerpc/bswap64-2.c: Ditto. + * gcc.target/powerpc/bswap64-3.c: Ditto. + * gcc.target/powerpc/optimize-bswapdi-2.c: Ditto. + * gcc.target/powerpc/optimize-bswapdi-3.c: Ditto. + * gcc.target/powerpc/optimize-bswapsi-2.c: Ditto. + + * gcc.target/powerpc/popcount-2.c: New file to test + power7 popcntd instructions. + * gcc.target/powerpc/popcount-3.c: Ditto. + + * gcc.target/powerpc/pr39457.c: New VSX test. + * gcc.target/powerpc/vsx-builtin-1.c: Ditto. + * gcc.target/powerpc/vsx-builtin-2.c: Ditto. + * gcc.target/powerpc/vsx-builtin-3.c: Ditto. + * gcc.target/powerpc/vsx-builtin-4.c: Ditto. + * gcc.target/powerpc/vsx-builtin-5.c: Ditto. + * gcc.target/powerpc/vsx-builtin-6.c: Ditto. + * gcc.target/powerpc/vsx-vector-1.c: Ditto. + * gcc.target/powerpc/vsx-vector-2.c: Ditto. + * gcc.target/powerpc/vsx-vector-3.c: Ditto. + * gcc.target/powerpc/vsx-vector-4.c: Ditto. + * gcc.target/powerpc/vsx-vector-5.c: Ditto. + * gcc.target/powerpc/vsx-vector-6.c: Ditto. + + * gcc.target/powerpc/altivec-6.c: Store the result of + vec_add, so the optimizer doesn't remove it. + + * gcc.dg/optimize-bswapdi-1.c: Add powerpc 64-bit to + systems that support bswap64. + + * gcc.dg/vmx/vmx.exp: Explicitly add -mno-vsx to + prevent VSX code generation. + + * lib/target-supports.exp (check_vsx_hw_available): New + function to test if VSX available. + (check_effective_target_powerpc_vsx_ok): Ditto. + (check_vmx_hw_available): Add explicit -mno-vsx. + +2009-07-30 Janis Johnson <janis187@us.ibm.com> + + PR c/39902 + * gcc.dg/dfp/pr39902.c: Fix typos in constant suffixes. + +2009-07-30 Martin Jambor <mjambor@suse.cz> + + PR tree-optimization/40570 + * gcc.c-torture/compile/pr40570.c: New test. + +2009-07-29 Jason Merrill <jason@redhat.com> + + PR c++/14912 + * g++.dg/template/defarg13.C: New. + +2009-07-29 Richard Guenther <rguenther@suse.de> + + PR c++/40834 + * g++.dg/torture/pr40834.C: New testcase. + +2009-07-29 Michael Matz <matz@suse.de> + + PR middle-end/40830 + * gcc.dg/vect/vect-pre-interact.c: XFAIL for no_align targets. + +2009-07-28 Kaz Kojima <kkojima@gcc.gnu.org> + + * 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. + +2009-07-28 Jakub Jelinek <jakub@redhat.com> + + PR fortran/40878 + * gfortran.dg/gomp/pr40878-1.f90: New test. + * gfortran.dg/gomp/pr40878-2.f90: New test. + + PR testsuite/40891 + * gcc.dg/cdce1.c: Adjust note line number. + * gcc.dg/cdce2.c: Likewise. + +2009-07-28 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40882 + * gfortran.dg/proc_ptr_comp_13.f90: New. + +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. + +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. + +2009-07-27 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40848 + * gfortran.dg/altreturn_7.f90: New. + +2009-07-27 Simon Baldwin <simonb@google.com> + + PR testsuite/40829 + * gcc.dg/vect/no-scevccp-noreassoc-outer-2.c: Extended array 'a' + so that indexing no longer runs off array end. + +2009-07-27 Tobias Burnus <burnus@net-b.de> + + PR fortran/40851 + * gfortran.dg/derived_init_3.f90: New test. + +2009-07-26 Tobias Burnus <burnus@net-b.de> + + PR fortran/33197 + * gfortran.dg/atan2_1.f90: New test + * gfortran.dg/atan2_2.f90: New test + +2007-07-26 Simon Martin <simartin@users.sourceforge.net> + + PR c++/40749 + * g++.dg/warn/Wreturn-type-6.C: New test. + +2009-07-26 Ira Rosen <irar@il.ibm.com> + + PR tree-optimization/40801 + * gfortran.dg/vect/fast-math-real8-pr40801.f90: New test. + * gfortran.dg/vect/vect.exp: Run tests starting with + "fast-math-real8" with -ffast-math and -fdefault-real-8. + +2009-07-25 David Daney <ddaney@caviumnetworks.com> + + PR rtl-optimization/40445 + * g++.dg/other/builtin-unreachable-1.C: New testcase. + +2009-07-25 David Daney <ddaney@caviumnetworks.com> + + * gcc.dg/builtin-unreachable-4.c: New test. + +2009-07-25 Tobias Burnus <burnus@net-b.de> + + PR fortran/33197 + * gfortran.dg/complex_intrinsic_5.f90: New test. + * gfortran.dg/complex_intrinsic_7.f90: New test. + +2009-07-25 Martin Jambor <mjambor@suse.cz> + + * gcc.c-torture/execute/pr17377.c: Add noclone attribute to function y. + * gcc.dg/ipa/noclone-1.c: New test. + +2009-07-25 Uros Bizjak <ubizjak@gmail.com> + + * lib/target-supports.exp (check_effective_target_static): New + procedure. + * gcc.dg/special/gcsec-1.c (dg-options): Use -static only when + supported. + * g++.old-deja/g++.law/weak.C: Require static effective target. + +2009-07-25 Janus Weil <janus@gcc.gnu.org> + + PR fortran/39630 + * gfortran.dg/proc_ptr_comp_3.f90: Modified. + * gfortran.dg/proc_ptr_comp_pass_1.f90: New. + * gfortran.dg/proc_ptr_comp_pass_2.f90: New. + * gfortran.dg/proc_ptr_comp_pass_3.f90: New. + * gfortran.dg/proc_ptr_comp_pass_4.f90: New. + * gfortran.dg/proc_ptr_comp_pass_5.f90: New. + * gfortran.dg/typebound_call_10.f03: New. + +2009-07-24 Jason Merrill <jason@redhat.com> + + * g++.dg/cpp0x/defaulted11.C: New. + + * g++.dg/cpp0x/initlist23.C: New. + +2009-07-24 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40822 + * gfortran.dg/char_length_16.f90: New. + +2009-07-24 Jakub Jelinek <jakub@redhat.com> + + PR fortran/40643 + PR fortran/31067 + * gfortran.dg/maxlocval_2.f90: New test. + * gfortran.dg/maxlocval_3.f90: New test. + * gfortran.dg/maxlocval_4.f90: New test. + * gfortran.dg/minlocval_1.f90: New test. + * gfortran.dg/minlocval_2.f90: New test. + * gfortran.dg/minlocval_3.f90: New test. + * gfortran.dg/minlocval_4.f90: New test. + +2009-07-23 Joseph Myers <joseph@codesourcery.com> + + * gcc.dg/dll-4.c: Allow foo1 and foo2 in either order in + scan-assembler. + +2009-07-23 Jakub Jelinek <jakub@redhat.com> + + PR fortran/40839 + * gfortran.dg/pr40839.f90: New test. + +2009-07-23 Michael Matz <matz@suse.de> + + PR middle-end/40830 + * gcc.dg/vect/vect-pre-interact.c: Require vect_float, and + don't set options ourself. + +2009-07-23 Simon Baldwin <simonb@google.com> + + * gcc.misc-tests/linkage.exp: Added -m64 to x86_64 linux target + native C compilation where required. + +2009-07-22 Doug Kwan <dougkwan@google.com> + + * gcc.c-torture/compile/20090721-1.c: New test. + +2009-07-22 Michael Matz <matz@suse.de> + + PR tree-optimization/35229 + PR tree-optimization/39300 + * gcc.dg/vect/vect-pre-interact.c: New test. + +2009-07-22 Richard Guenther <rguenther@suse.de> + + * g++.dg/lookup/using21.C: Fix duplicate paste. + +2009-07-22 Richard Guenther <rguenther@suse.de> + + PR c++/40799 + * g++.dg/lookup/using21.C: New testcase. + +2009-07-21 Jason Merrill <jason@redhat.com> + + * g++.dg/init/aggr4.C: New. + +2009-07-21 Jason Merrill <jason@redhat.com> + + Core issue 934 + * g++.dg/cpp0x/initlist22.C: New. + +2009-07-21 Uros Bizjak <ubizjak@gmail.com> + + * gcc.target/i386/vectorize8.c: New test. + +2009-07-21 Uros Bizjak <ubizjak@gmail.com> + + PR target/40811 + * lib/target-supports.exp (check_effective_target_vect_uintfloat_cvt): + Add i?86 and x86_64 targets. + * gcc.target/i386/vectorize7.c: New test. + + PR target/40809 + * gcc.target/i386/pr40809.c: New test. + +2009-07-21 Jakub Jelinek <jakub@redhat.com> + + PR tree-optimization/40813 + * g++.dg/opt/inline15.C: New test. + +2009-07-21 Paul Brook <paul@codesourcery.com> + + * gcc.dg/vect/section-anchors-nest-1.c: New test. + * lib/target-supports.exp (check_effective_target_section_anchors): + Add arm*-*-*. + +2009-07-20 Olatunji Ruwase <tjruwase@google.com> + + * gcc.dg/plugin/finish_unit_plugin.c: New test. + * gcc.dg/plugin/finish_unit-test-1.c: New test. + * gcc.dg/plugin/plugin.exp: Added finish_unit_plugin.c test. + +2009-07-20 Adam Nemet <anemet@caviumnetworks.com> + + * gcc.target/mips/ext-3.c: New test. + +2009-07-20 Jakub Jelinek <jakub@redhat.com> + + * gcc.dg/builtin-object-size-6.c: Adjust expected values. + * gcc.dg/builtin-object-size-8.c: New test. + * g++.dg/ext/builtin-object-size1.C: Adjust expected values. + * g++.dg/ext/builtin-object-size2.C: Likewise. + + PR tree-optimization/40792 + * gcc.dg/pr40792.c: New test. + +2009-07-20 Ira Rosen <irar@il.ibm.com> + + * gcc.dg/vect/vect-cond-1.c, gcc.dg/vect/vect-cond-2.c, + gcc.dg/vect/vect-cond-3.c, gcc.dg/vect/vect-cond-4.c, + gcc.dg/vect/vect-cond-5.c, gcc.dg/vect/vect-cond-6.c: New tests. + +2009-07-20 Christian Bruel <christian.bruel@st.com> + + * gcc.target/sh/mfmovd.c: New test. + +2009-07-19 Janne Blomqvist <jb@gcc.gnu.org> + Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR libfortran/40714 + * gfortran.dg/eof_3.f90: New test. + +2009-07-18 Steven G. Kargl <kargl@gcc.gnu.org> + + PR fortran/40727 + * gfortran.dg/intrinsic_cmplx.f90: New test. + +2009-07-19 Thomas Koenig <tkoenig@gcc.gnu.org> + + PR libfortran/34670 + PR libfortran/36874 + * gfortran.dg/cshift_bounds_1.f90: New test. + * gfortran.dg/cshift_bounds_2.f90: New test. + * gfortran.dg/cshift_bounds_3.f90: New test. + * gfortran.dg/cshift_bounds_4.f90: New test. + * gfortran.dg/eoshift_bounds_1.f90: New test. + * gfortran.dg/maxloc_bounds_4.f90: Correct typo in error message. + * gfortran.dg/maxloc_bounds_5.f90: Correct typo in error message. + * gfortran.dg/maxloc_bounds_7.f90: Correct typo in error message. + +2009-07-19 Jan Hubicka <jh@suse.cz> + + PR tree-optimization/40676 + * gcc.c-torture/compile/pr40676.c: New testcase. + +2009-07-18 Adam Nemet <anemet@caviumnetworks.com> + + * gcc.target/mips/ext-2.c: New test. + +2009-07-18 Adam Nemet <anemet@caviumnetworks.com> + + * gcc.target/mips/octeon-exts-7.c: New test. + * gcc.target/mips/octeon-exts-2.c: Revert previous change. + * gcc.target/mips/octeon-exts-5.c: Likewise. + +2009-07-18 Richard Guenther <rguenther@suse.de> + + PR testsuite/40798 + * gcc.dg/tree-ssa/loop-2.c: Tighten pattern. + +2009-07-18 Richard Guenther <rguenther@suse.de> + + PR c/40787 + * gcc.dg/pr35899.c: Adjust. + +2009-07-18 Richard Sandiford <r.sandiford@uk.ibm.com> + + * gcc.target/powerpc/asm-es-1.c: New test. + * gcc.target/powerpc/asm-es-2.c: Likewise. + +2009-07-17 Richard Guenther <rguenther@suse.de> + + PR c/40401 + * g++.dg/rtti/crash4.C: New testcase. + * g++.dg/torture/20090706-1.C: Likewise. + * gcc.dg/redecl-17.c: Likewise. + * gfortran.dg/missing_optional_dummy_5.f90: Adjust pattern. + * gcc.dg/declspec-9.c: Expect extra error. + * gcc.dg/declspec-10.c: Likewise. + * gcc.dg/declspec-11.c: Likewise. + * gcc.dg/redecl-10.c: Expect extra warnings. + * gcc.target/i386/pr39082-1.c: Adjust diagnostic location. + * gcc.target/i386/pr39545-1.c: Likewise. + * g++.dg/ext/asm3.C: Expect more errors. + * g++.dg/gomp/block-1.C: Likewise. + * g++.dg/gomp/block-2.C: Likewise. + * g++.dg/gomp/block-3.C: Likewise. + * g++.dg/gomp/block-5.C: Likewise. + * g++.old-deja/g++.jason/report.C: Expect extra warnings. + * g++.dg/warn/unused-result1.C: XFAIL. + +2009-07-17 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/40321 + * gcc.c-torture/compile/pr40321.c: New testcase. + * g++.dg/torture/pr40321.C: Likewise. + +2009-07-17 Jakub Jelinek <jakub@redhat.com> + + PR c++/40780 + * g++.dg/template/ptrmem19.C: New test. + +2009-07-17 Aldy Hernandez <aldyh@redhat.com> + Manuel López-Ibáñez <manu@gcc.gnu.org> + + PR 40435 + * gcc.dg/pr36902.c: Add column info. + * g++.dg/gcov/gcov-2.C: Change count for definition. + +2009-07-16 Jason Merrill <jason@redhat.com> + + PR libstdc++/37907 + * g++.dg/cpp0x/std-layout1.C: New. + * g++.dg/ext/has_nothrow_assign.C: Fix. + * g++.dg/ext/has_nothrow_copy.C: Fix. + * g++.dg/ext/has_trivial_assign.C: Fix. + * g++.dg/ext/has_trivial_copy.C: Fix. + * g++.dg/ext/is_pod.C: Fix. + * g++.dg/other/offsetof3.C: Adjust. + * g++.dg/overload/ellipsis1.C: Adjust. + * g++.dg/warn/var-args1.C: Adjust. + * g++.old-deja/g++.brendan/crash63.C: Adjust. + * g++.old-deja/g++.brendan/crash64.C: Adjust. + * g++.old-deja/g++.brendan/overload8.C: Adjust. + * g++.old-deja/g++.other/vaarg3.C: Adjust. + * g++.old-deja/g++.pt/vaarg3.C: Adjust. + +2009-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * gcc.dg/torture/builtin-math-5.c: Add more cases. + * gcc.dg/torture/builtin-math-6.c: Likewise. Depend on + effective target "mpc_pow". + * lib/target-supports.exp (check_effective_target_mpc_pow): New. + +2009-07-16 Richard Henderson <rth@redhat.com> + + * g++.dg/opt/eh4.C: New test. + +2009-07-16 Jakub Jelinek <jakub@redhat.com> + + * obj-c++.dg/defs.mm (abort): Make it extern "C". + +2009-07-15 Jakub Jelinek <jakub@redhat.com> + + PR middle-end/40747 + * gcc.c-torture/execute/pr40747.c: New test. + +2009-07-15 Richard Guenther <rguenther@suse.de> + + PR middle-end/40753 + * gcc.c-torture/compile/pr40753.c: New testcase. + +2009-07-15 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40743 + * gfortran.dg/interface_assignment_4.f90: New. + +2009-07-15 Gerald Pfeifer <gerald@pfeifer.com> + + * gcc.dg/builtins-config.h (HAVE_C99_RUNTIME): Do not define + for FreeBSD up to and including version 8. + +2009-07-14 Taras Glek <tglek@mozilla.com> + Rafael Espindola <espindola@google.com> + + * g++.dg/plugin/header-plugin-test.C: New. + * g++.dg/plugin/header_plugin.c: New. + * g++.dg/plugin/plugin.exp: Update. + +2009-07-14 Uros Bizjak <ubizjak@gmail.com> + + * gcc.target/i386/sse-recip-vec.c: Move arrays out of test + function to enable vectorization. + * gcc.target/i386/sse2-lrint-vec.c: Ditto. + * gcc.target/i386/sse2-lrintf-vec.c: Ditto. + +2009-07-14 Uros Bizjak <ubizjak@gmail.com> + + * gcc.target/i386/sse-copysignf-vec.c: New test. + * gcc.target/i386/sse2-copysign-vec.c: Ditto. + +2009-07-14 Jason Merrill <jason@redhat.com> + + PR c++/37276 + * g++.dg/lookup/builtin5.C: New. + * g++.dg/other/error22.C: Add missing extern "C". + * g++.dg/warn/Warray-bounds.C: Likewise. + * gcc.dg/compat/compat-common.h: Likewise. + + PR c++/40746 + * g++.dg/lookup/using20.C: New. + + PR c++/40740 + * g++.dg/template/koenig8.C: New. + +2009-07-14 Jack Howarth <howarth@bromo.med.uc.edu> + + * gcc.c-torture/compile/20000804-1.c: skip for ilp32 on + both i?86-*-darwin* and x86_64-*-darwin*. + +2009-07-14 Joseph Myers <joseph@codesourcery.com> + + * gcc.target/i386/pr37843-1.c, gcc.target/i386/pr37843-2.c, + gcc.target/i386/pr37843-3.c: Allow leading underscore on function + name. + +2009-07-14 Dodji Seketeli <dodji@redhat.com> + + PR debug/40705 + * g++.dg/debug/dwarf2/typedef1.C: New test. + + PR c++/40357 + * g++.dg/other/typedef3.C: New test. + +2009-07-14 Maxim Kuvyrkov <maxim@codesourcery.com> + + * gcc.dg/20090709-1.c: Move to a proper place ... + * gcc.target/m68k/20090709-1.c: ... here. + +2009-07-13 Andrew Pinski <andrew_pinski@playstation.sony.com> + + PR C++/22154 + * g++.old-deja/g++.pt/typename10.C: Update for DR 382, typename in + front of qualified names are allowed. + * g++.dg/parse/crash10.C: Likewise. + * g++.dg/parse/error15.C: Likewise. + * g++.dg/parse/typename9.C: Likewise. + * g++.dg/parse/error8.C: Likewise. + +2009-07-13 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40646 + * gfortran.dg/proc_ptr_22.f90: Extended. + * gfortran.dg/proc_ptr_comp_12.f90: Extended. + +2009-07-13 Ira Rosen <irar@il.ibm.com> + + * gfortran.dg/vect/vect-6.f: New test. + +2009-07-12 Jason Merrill <jason@redhat.com> + + PR c++/36628 + * g++.dg/cpp0x/decltype17.C: New. + + PR c++/37206 + * g++.dg/cpp0x/rv10.C: New. + +2009-07-12 Jason Merrill <jason@redhat.com> + + PR c++/40689 + * g++.dg/cpp0x/initlist20.C: New. + * g++.dg/cpp0x/initlist21.C: New. + +2009-07-12 Ira Rosen <irar@il.ibm.com> + + * gcc.dg/vect/no-scevccp-outer-2.c: Expect to vectorize. + * gcc.dg/vect/vect-double-reduc-1.c, gcc.dg/vect/vect-double-reduc-2.c, + gcc.dg/vect/vect-double-reduc-3.c, gcc.dg/vect/vect-double-reduc-4.c, + gcc.dg/vect/vect-double-reduc-5.c, gcc.dg/vect/vect-double-reduc-6.c, + gcc.dg/vect/vect-double-reduc-7.c: New tests. + +2009-07-12 Hans-Peter Nilsson <hp@axis.com> + + * gfortran.dg/f2003_io_4.f03, gfortran.dg/read_size_noadvance.f90, + gfortran.dg/namelist_39.f90, gfortran.dg/read_repeat.f90, + gfortran.dg/fmt_exhaust.f90, gfortran.dg/fseek.f90, + gfortran.dg/fmt_t_7.f, gfortran.dg/read_x_past.f, + gfortran.dg/read_bad_advance.f90, gfortran.dg/backslash_3.f, + gfortran.dg/namelist_56.f90, gfortran.dg/list_read_5.f90, + gfortran.dg/fmt_cache_1.f, gfortran.dg/fmt_t_4.f90: Gate test on + effective_target fd_truncate. + +2009-07-11 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/specs/addr1.ads: New test. + +2009-07-11 Jan Hubicka <jh@suse.cz> + + PR middle-end/48388 + * g++.dg/torture/pr40388.C: New testcase. + +2009-07-11 Jakub Jelinek <jakub@redhat.com> + + PR target/40668 + * gcc.c-torture/execute/pr40668.c: New test. + +2009-07-11 Paolo Bonzini <bonzini@gnu.org> + + * gcc.c-torture/execute/20090711-1.c: New test. + +2009-07-11 Richard Sandiford <rdsandiford@googlemail.com> + + PR testsuite/40699 + PR testsuite/40707 + PR testsuite/40709 + * lib/gcc-defs.exp, lib/target-libpath.exp, lib/objc.exp, + lib/gfortran.exp, lib/g++.exp, lib/obj-c++.exp, lib/c-torture.exp, + lib/gcc-dg.exp, lib/gnat.exp, g++.dg/compat/compat.exp, + g++.dg/compat/struct-layout-1.exp: Revert 2009-06-30 commit. + +2009-07-11 Tobias Burnus <burnus@net-b.de> + + PR fortran/33197 + * gfortran.dg/complex_intrinsic_3.f90: New test. + * gfortran.dg/complex_intrinsic_4.f90: New test. + +2009-07-10 David Daney <ddaney@caviumnetworks.com> + + PR target/39079 + * gcc.target/mips/mips.exp: Make -msynci a known option. + * gcc.target/mips/clear-cache-1.c (dg-options): Add -msynci. + +2009-07-10 Jakub Jelinek <jakub@redhat.com> + + PR c++/40502 + * g++.dg/ext/strncpy-chk1.C: New test. + +2009-07-10 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/40496 + * g++.dg/opt/pr40496.C: New testcase. + +2009-07-10 Manuel López-Ibáñez <manu@gcc.gnu.org> + + PR 25509 + PR 40614 + * g++.dg/warn/unused-result1-Werror.c: New. + +2009-07-10 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/39334 + * gfortran.dg/recursive_parameter_1.f90: New test. + +2009-07-09 Steven G. Kargl <kargl@gcc.gnu.org> + + * gfortran.dg/c_kind_tests_2.f03: clean-up leftover module(s). + * gfortran.dg/module_equivalence_6.f90: Ditto. + * gfortran.dg/alloc_comp_auto_array_2.f90: Ditto. + * gfortran.dg/nan_2.f90: Ditto. + * gfortran.dg/inquire_11.f90: Ditto. + * gfortran.dg/abstract_type_3.f03: Ditto. + * gfortran.dg/abstract_type_1.f90: Ditto. + * gfortran.dg/private_type_9.f90: Ditto. + * gfortran.dg/abstract_type_5.f03: Ditto. + * gfortran.dg/elemental_subroutine_6.f90: Ditto. + * gfortran.dg/derived_comp_array_ref_3.f90: Ditto. + * gfortran.dg/derived_sub.f90: Ditto. + * gfortran.dg/missing_optional_dummy_5.f90: Ditto. + * gfortran.dg/bounds_check_fail_2.f90: Ditto. + * gfortran.dg/maxloc_bounds_6.f90: Ditto. + * gfortran.dg/mvbits_6.f90: Ditto. + * gfortran.dg/abstract_type_2.f03: Ditto. + * gfortran.dg/abstract_type_4.f03: Ditto. + * gfortran.dg/bounds_check_9.f90: Ditto. + * gfortran.dg/optional_dim_3.f90: Ditto. + * gfortran.dg/pr32921.f: Ditto. + * gfortran.dg/entry_16.f90: Ditto. + * gfortran.dg/generic_16.f90: Ditto. + + +2009-07-09 Maxim Kuvyrkov <maxim@codesourcery.com> + + * gcc.target/m68k/20090709-1.c: New. + +2009-07-09 Dodji Seketeli <dodji@redhat.com> + + PR c++/40684 + * g++.dg/template/unify11.C: New test. + +2008-07-09 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/40629 + * gfortran.dg/host_assoc_function_9.f90: New test. + +2009-07-09 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40646 + * gfortran.dg/proc_ptr_22.f90: New. + * gfortran.dg/proc_ptr_comp_12.f90: New. + +2009-07-09 Jakub Jelinek <jakub@redhat.com> + + PR middle-end/40692 + * gcc.c-torture/compile/pr40692.c: New test. + +2009-07-09 Tobias Burnus <burnus@net-b.de> + + PR fortran/40604 + * gfortran.dg/pointer_check_6.f90: New test. + +2009-07-08 Adam Nemet <anemet@caviumnetworks.com> + + * gcc.target/mips/truncate-5.c: New test. + +2009-07-08 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR libfortran/40330 + PR libfortran/40662 + * gfortran.dg/fmt_cache_1.f: New test. + +2009-07-08 Tobias Burnus <burnus@net-b.de> + + PR fortran/40675 + * gfortran.dg/nosigned_zero_1.f90: New test. + * gfortran.dg/nosigned_zero_2.f90: New test. + +2009-07-08 Richard Guenther <rguenther@suse.de> + + * gcc.dg/torture/ssa-pta-fn-1.c: Fix invalid testcase again. + +2009-07-08 Richard Guenther <rguenther@suse.de> + + * gcc.dg/torture/ssa-pta-fn-1.c: Fix invalid testcase. + +2009-07-08 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/40591 + * gfortran.dg/proc_ptr_21.f90: New test. + +2009-07-08 Manuel López-Ibáñez <manu@gcc.gnu.org> + + PR c++/31246 + * g++.dg/warn/pr31246.C: New. + * g++.dg/warn/pr31246-2.C: New. + +2009-07-07 Jason Merrill <jason@redhat.com> + + PR c++/35828 + * g++.dg/template/defarg12.C: New. + + PR c++/37816 + * g++.dg/cpp0x/enum7.C: New. + + PR c++/37946 + * g++.dg/cpp0x/enum6.C: New. + + PR c++/40639 + * g++.dg/cpp0x/enum5.C: New. + + PR c++/40633 + * g++.dg/cpp0x/enum4.C: New. + +2009-07-07 Manuel López-Ibáñez <manu@gcc.gnu.org> + + * gcc.dg/format/gcc_diag-1.c: Remove tests for %J. + +2009-07-07 Manuel López-Ibáñez <manu@gcc.gnu.org> + + * gcc.dg/format/gcc_diag-1.c: Remove tests for %H. + +2009-07-07 Jakub Jelinek <jakub@redhat.com> + + PR middle-end/40669 + * gcc.dg/pr40669.c: New test. + +2009-07-07 Manuel López-Ibáñez <manu@gcc.gnu.org> + + * gcc.dg/plugin/selfassign.c: Replace %H by an explicit + location. Update all calls. + * g++.dg/plugin/selfassign.c: Likewise. + +2009-07-06 Jason Merrill <jason@redhat.com> + + * g++.dg/rtti/dyncast[34].C: New. + +2009-07-06 Nathan Froyd <froydnj@codesourcery.com> + + * lib/target-supports.exp + (check_effective_target_mips_newabi_large_long_double): New. + * gcc.target/mips/fpr-moves-5.c: Require mips_newabi_large_long_double + target. + * gcc.target/mips/fpr-moves-6.c: Likewise. + +2009-07-06 Simon Martin <simartin@users.sourceforge.net> + + PR c++/40557 + * g++.dg/template/union2.C: New test. + +2009-07-04 Jason Merrill <jason@redhat.com> + + * g++.dg/template/using15.C: New. + +2009-07-04 Jakub Jelinek <jakub@redhat.com> + + * gfortran.dg/maxloc_1.f90: New test. + +2009-07-04 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40593 + * gfortran.dg/proc_ptr_result_6.f90: New. + +2009-07-04 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + + * gcc.dg/framework-2.c: Adjust testcase to pass. + +2009-07-04 Jason Merrill <jason@redhat.com> + + PR c++/40619 + * g++.dg/cpp0x/auto16.C: New. + +2009-07-03 Vladimir Makarov <vmakarov@redhat.com> + + PR target/40587 + * gfortran.dg/pr40587.f: New test. + +2009-07-03 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR fortran/40638 + * gfortran.dg/unit_1.f90: New test. + +2009-07-03 Jason Merrill <jason@redhat.com> + + * g++.dg/template/pure1.C: Expect another error. + +2009-07-03 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/40640 + * gcc.c-torture/compile/pr40640.c: New testcase. + +2009-07-03 Richard Guenther <rguenther@suse.de> + + PR middle-end/34163 + * gfortran.dg/pr34163.f90: New testcase. + +2009-07-03 Jan Hubicka <jh@suse.cz> + + * gcc.dg/tree-ssa/loop-24.c: Update dump file matching; enable -O2. + * gcc.dg/tree-ssa/loop-25.c: Likewise. + * gcc.dg/tree-ssa/loop-26.c: Likewise. + * gcc.dg/tree-ssa/pr32044.c: Likewise. + * gcc.dg/tree-ssa/loop-29.c: Likewise. + * gcc.dg/tree-ssa/loop-10.c: Likewise. + * gnat.dg/loop_optimization6.adb: Enable -O2. + +2009-07-02 Mark Mitchell <mark@codesourcery.com> + + * g++.dg/warn/null4.C: Extend. + +2009-07-02 Jason Merrill <jason@redhat.com> + + * g++.dg/template/spec8.C: Fix. + +2009-07-02 Michael Matz <matz@suse.de> + + PR fortran/32131 + * gfortran.dg/pr32921.f: Adjust. + +2009-07-02 Jan Hubicka <jh@suse.cz> + + * gcc.dg/tree-ssa/local-pure-const.c: New testcase. + +2009-07-01 Adam Nemet <anemet@caviumnetworks.com> + + * gcc.target/mips/truncate-4.c: New testcase. + +2009-07-01 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/19831 + * gcc.dg/tree-ssa/20041122-1.c: Enable TBAA, scan FRE dump, + make allocated memory escape. Un-XFAIL. + * gcc.dg/vect/pr21591.c: Make allocated memory escape. + * gcc.dg/vect/pr31699.c: Likewise. + * gcc.dg/tree-ssa/ssa-dce-7.c: New testcase. + +2009-06-30 Jakub Jelinek <jakub@redhat.com> + + PR c++/40566 + * g++.dg/parse/cond5.C: New test. + +2009-06-30 Nathan Froyd <froydnj@codesourcery.com> + + * gcc.dg/tree-ssa/gen-vect-25.c (n): New variable. + (main): Pass n to main_1 instead. + * gcc.dg/tree-ssa/gen-vect-28.c (off): New variable. + (main_1): New function, split off from... + (main): ...here. Pass `off' to main_1 instead. + +2009-06-30 Jason Merrill <jason@redhat.com> + + PR c++/40595 + * g++.dg/cpp0x/variadic94.C: New. + +2009-06-30 Richard Sandiford <r.sandiford@uk.ibm.com> + + * lib/gcc-defs.exp (gcc-set-multilib-library-path): Delete. + * lib/target-libpath.exp (ld_library_path_vars): New variable. + (init_ld_library_path_env_vars): New function, replacing the + orig_*_saved assignments. Call it after defining it. + (set_ld_library_path_env_vars): Rewrite to use ld_library_path_vars. + (restore_ld_library_path_env_vars): Likewise. + (add_path, find_libgcc_s): New functions. + * lib/objc.exp (objc_init): Use find_libgcc_s instead of + gcc-set-multilib-library-path. + (objc_target_compile): Don't add "." to ld_library_path. + Use add_path. + * lib/gfortran.exp (gfortran_link_flags): Don't add "." to + ld_library_path. Use add_path. Use find_libgcc_s instead of + gcc-set-multilib-library-path. + * lib/g++.exp (g++_link_flags): Likewise. + * lib/obj-c++.exp (obj-c++_link_flags): Likewise. + * lib/c-torture.exp: Do not manipulate ld_library_path at the + top level; do it... + (c-torture-execute): ...here instead. Use $ld_library_path_multilib + to tell when this needs to happen. Use find_libgcc_s instead of + gcc-set-multilib-library-path. + * lib/gcc-dg.exp: Likewise. + * lib/gnat.exp (gnat_target_compile): Don't add "." to ld_library_path. + * g++.dg/compat/compat.exp (alt_ld_library_path): Don't add "." + unless it is in $ALT_LD_LIBRARY_PATH. + * g++.dg/compat/struct-layout-1.exp (alt_ld_library_path): Likewise. + +2009-06-30 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/discr12.adb: New test. + * gnat.dg/discr12_pkg.ads: New helper. + * gnat.dg/discr13.adb: New test. + * gnat.dg/discr14.ad[sb]: Likewise. + * gnat.dg/discr15.adb: Likewise. + * gnat.dg/discr15_pkg.ads: New helper. + * gnat.dg/discr16.adb: New test. + * gnat.dg/discr16_g.ads: New helper. + * gnat.dg/discr16_pkg.ads: Likewise. + * gnat.dg/discr16_cont.ads: Likewise. + * gnat.dg/discr17.adb: New test. + * gnat.dg/discr18.adb: Likewise. + * gnat.dg/discr18_pkg.ads: New helper. + * gnat.dg/discr19.adb: New test. + +2009-06-30 Thomas Koenig <tkoenig@gcc.gnu.org> + + PR fortran/40576 + * gfortran.dg/internal_write_1.f90: New testcase. + +2009-06-30 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40594 + * gfortran.dg/derived_pointer_recursion_2.f90: New. + +2009-06-30 Richard Guenther <rguenther@suse.de> + + * gcc.dg/tree-ssa/ssa-dce-6.c: New testcase. + +2009-06-30 Wei Guozhi <carrot@google.com> + + * gcc.dg/tree-ssa/ssa-sink-5.c: Change the compiler option "-O2 -Os" + to "-Os". + +2009-06-30 Ira Rosen <irar@il.ibm.com> + + PR tree-optimization/40542 + * gcc.dg/vect/pr40542.c: New test. + +2009-06-30 Martin Jambor <mjambor@suse.cz> + + PR tree-optimization/40582 + * gcc.c-torture/compile/pr40582.c: New test. + +2009-06-30 Wei Guozhi <carrot@google.com> + + PR/40416 + * gcc.dg/tree-ssa/ssa-sink-5.c: New testcase. + +2009-06-29 Jason Merrill <jason@redhat.com> + + PR c++/40274 + * g++.dg/template/debug1.C: New. + +2009-06-29 Tobias Burnus <burnus@net-b.de> + + PR fortran/40580 + * pointer_check_1.f90: New test. + * pointer_check_2.f90: New test. + * pointer_check_3.f90: New test. + * pointer_check_4.f90: New test. + * pointer_check_5.f90: New test. + +2009-06-29 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/40551 + * gfortran.dg/func_assign_2.f90 : New test. + +2009-06-29 Richard Guenther <rguenther@suse.de> + + PR middle-end/14187 + * gcc.dg/tree-ssa/restrict-1.c: New testcase. + * gcc.dg/tree-ssa/restrict-2.c: Likewise. + * gcc.dg/tree-ssa/restrict-3.c: Likewise. + * gcc.c-torture/execute/20090623-1.c: Likewise. + * gcc.dg/tree-ssa/ldist-13.c: Likewise. + * gcc.dg/tree-ssa/ldist-14.c: Likewise. + +2009-06-29 Richard Guenther <rguenther@suse.de> + + PR middle-end/38212 + * gcc.c-torture/execute/pr38212.c: New testcase. + +2009-06-29 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/40579 + * gcc.c-torture/execute/pr40579.c: New testcase. + +2009-06-28 Uros Bizjak <ubizjak@gmail.com> + + PR tree-optimization/40550 + * gcc.dg/pr40550.c: New test. + +2009-06-28 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/overflow_sum2.adb: New test + * gnat.dg/namet.ads: New helper. + + * gnat.dg/test_overflow_sum.adb: Rename to overflow_sum.adb. + +2009-06-28 Tobias Burnus <burnus@net-b.de> + + PR fortran/34112 + * gfortran.dg/compiler-directive_1.f90: New test. + * gfortran.dg/compiler-directive_2.f: New test. + +2009-06-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * gfortran.dg/integer_exponentiation_4.f90: Temporarily + comment out some values and add some cases. + +2009-06-27 Paolo Bonzini <bonzini@gnu.org> + + PR testsuite/40567 + * gcc.dg/vect/vect.exp: Fix lappend syntax. + +2009-06-26 Richard Henderson <rth@redhat.com> + + PR testsuite/40565 + * gcc.dg/vect/vect.exp: Add -fno-ipa-cp-clone to -O3 tests. + * gcc.target/i386/local.c: Pass a non-constant to T. + +2009-06-26 Janus Weil <janus@gcc.gnu.org> + + PR fortran/39997 + PR fortran/40541 + * gfortran.dg/proc_ptr_15.f90: Fixed and extended. + * gfortran.dg/proc_ptr_common_1.f90: Fixed invalid test case. + * gfortran.dg/proc_ptr_result_1.f90: Ditto. + * gfortran.dg/proc_ptr_result_5.f90: New. + +2009-06-26 Janis Johnson <janis187@us.ibm.com> + + PR c/39902 + * gcc.dg/dfp/pr39902.c: New test. + +2009-06-26 Uros Bizjak <ubizjak@gmail.com> + + PR testsuite/40532 + * gcc.dg/builtins-65.c: Require c99 runtime. + +2009-06-26 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/array7.ad[sb]: New test. + +2009-06-26 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/array6.adb: New test. + +2009-06-25 Ian Lance Taylor <iant@google.com> + + * g++.dg/warn/Wsign-compare-3.C: New testcase. + +2009-06-25 Ian Lance Taylor <iant@google.com> + + * g++.dg/warn/Wunused-16.C: New testcase. + +2009-06-25 Ian Lance Taylor <iant@google.com> + + * g++.dg/warn/skip-2.C: New testcase. + +2009-06-25 Steve Ellcey <sje@cup.hp.com> + + * gcc.c-torture/execute/20090618-1.c: add dg-run and + dg-skip-if and move to ... + * gcc.dg/torture/20090618-1.c. + +2009-06-25 Martin Jambor <mjambor@suse.cz> + + PR tree-optimization/40493 + * gcc.c-torture/execute/pr40493.c: New test. + +2009-06-24 Jason Merrill <jason@redhat.com> + + PR c++/40342 + * g++.dg/template/overload10.C: New. + +2009-06-24 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40427 + * gfortran.dg/proc_ptr_comp_11.f90: New. + +2009-06-24 Andreas Krebbel <krebbel1@de.ibm.com> + + * gcc.dg/pr40501.c: New testcase. + +2009-06-23 DJ Delorie <dj@redhat.com> + + Add MeP port. + * lib/target-supports.exp: Add mep support (no profiling). + +2009-06-23 Steve Ellcey <sje@cup.hp.com> + + PR testsuite/39297 + * gcc.dg/ssa/loop-31.c: Change scan rules. + +2009-06-23 Manuel Lopez-Ibanez <manu@gcc.gnu.org> + + * gcc.dg/cpp/empty-include.c: Update column info. + * gcc.dg/cpp/assert2.c: Update column info. + +2009-06-23 Jakub Jelinek <jakub@redhat.com> + + * g++.dg/ext/builtin-object-size1.C: New test. + * g++.dg/ext/builtin-object-size2.C: New test. + +2009-06-23 Andreas Krebbel <krebbel1@de.ibm.com> + + * gcc.dg/optimize-bswapsi-1.c: Add new bswap implementation. + * gcc.dg/optimize-bswapdi-1.c: Likewise. + +2009-06-22 Adam Nemet <anemet@caviumnetworks.com> + + * gcc.target/mips/truncate-3.c: New test. + +2009-06-22 Janus Weil <janus@gcc.gnu.org> + + PR fortran/37254 + PR fortran/39850 + * gfortran.dg/interface_30.f90: Modified error message. + * gfortran.dg/proc_decl_22.f90: New. + +2009-06-22 Ian Lance Taylor <iant@google.com> + + * gcc.dg/Wcxx-compat-19.c: New testcase. + +2009-06-22 Matthias Klose <doko@ubuntu.com> + + PR objc/28050 + * pr28050.m: New testcase. + +2009-06-22 H.J. Lu <hongjiu.lu@intel.com> + + PR testsuite/40481 + * gcc.dg/plugin/one_time_plugin.c (one_pass_exec): Return 0; + +2009-06-22 Martin Jambor <mjambor@suse.cz> + + PR tree-optimization/40492 + * g++.dg/torture/pr40492.C: New test. + +2009-06-22 Uros Bizjak <ubizjak@gmail.com> + + * gcc.c-torture/unsorted/dump-noaddr.x (dump_compare): Determine + dumpbase file name from $src. Add -fdump-ipa-all to compile flags. + +2009-06-22 Olivier Hainque <hainque@adacore.com> + + * gnat.dg/raise_ce.adb: Helper for ... + * gnat.dg/handle_and_return.adb: New test. + +2009-06-22 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/40443 + * gfortran.dg/generic_18.f90: New test. + +2009-06-22 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/40472 + * gfortran.dg/spread_size_limit.f90: New test. + +2009-06-21 Uros Bizjak <ubizjak@gmail.com> + + * gcc.c-torture/unsorted/dump-noaddr.x (dump_compare): Use -dumpbase + to put dump files in a subdirectory. + * lib/gcc-dg.exp (cleanup-saved-temps): Also remove + ".o" temporary files. + +2009-06-21 Janus Weil <janus@gcc.gnu.org> + + PR fortran/39850 + * gfortran.dg/interface_19.f90: Add 'cleanup-modules'. + * gfortran.dg/interface_20.f90: Ditto. + * gfortran.dg/interface_21.f90: Ditto. + * gfortran.dg/interface_22.f90: Ditto. + * gfortran.dg/interface_30.f90: New. + * gfortran.dg/proc_ptr_11.f90: Fix invalid test case. + +2009-06-21 Uros Bizjak <ubizjak@gmail.com> + + * gcc.dg/tree-ssa/fre-vce-1.c: Cleanup "fre" tree dump. + * gcc.dg/vect/vect-shift-2.c: Cleanup "vect" tree dump. + * gcc.dg/vect/vect.exp (VECT_SLP_CFLAGS): Initialize with original + DEFAULT_VECTFLAGS. + +2009-06-21 Ira Rosen <irar@il.ibm.com> + Revital Eres <eres@il.ibm.com> + + PR testsuite/40359 + * gcc.dg/vect/vect-50.c: Fix syntax error in the check. + * gcc.dg/vect/vect-42.c: Likewise and separate vec_no_align check. + * gcc.dg/vect/vect-96.c: Fix syntax error in the check. + +2009-06-21 Ira Rosen <irar@il.ibm.com> + + PR testsuite/40475 + * gcc.dg/vect/vect-nest-cycle-1.c: Fail to vectorize on targets + without misalignment support. + * gcc.dg/vect/vect-nest-cycle-2.c: Likewise. + +2009-06-20 Tobias Burnus <burnus@net-b.de> + + PR fortran/40452 + * gfortran.dg/bounds_check_strlen_9.f90: New test. + +2009-06-19 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/40440 + * gfortran.dg/alloc_comp_result_2.f90: New test. + +2009-06-19 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> + + PR target/40482 + * gcc.target/arm/pr40482.c: New test. + +2009-06-19 Ian Lance Taylor <iant@google.com> + + * gcc.dg/Wcxx-compat-18.c: New testcase. + +2009-06-19 Richard Guenther <rguenther@suse.de> + + * gcc.c-torture/execute/20090618-1.c: New testcase. + +2009-06-19 Ian Lance Taylor <iant@google.com> + + * gcc.dg/Wcxx-compat-17.c: New testcase. + +2009-06-19 Ian Lance Taylor <iant@google.com> + + * gcc.dg/Wcxx-compat-15.c: New testcase. + +2009-06-19 Ian Lance Taylor <iant@google.com> + + * gcc.dg/Wcxx-compat-16.c: New testcase. + +2009-06-19 Uros Bizjak <ubizjak@gmail.com> + + * gcc.dg/builtins-34.c: Add significand cases. + +2009-06-19 Uros Bizjak <ubizjak@gmail.com> + + PR testsuite/40491 + * gcc.dg/20080522-1.c: Remove testcase for real. + * gcc.dg/20080528-1.c: Ditto. + +2009-06-19 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40450 + * gfortran.dg/proc_ptr_20.f90: New. + +2009-06-18 H.J. Lu <hongjiu.lu@intel.com> + + PR target/40470 + * gcc.dg/torture/pr40470-1.c: New. + * gcc.dg/torture/pr40470-2.c: Likewise. + * gcc.dg/torture/pr40470-3.c: Likewise. + * gcc.dg/torture/pr40470-4.c: Likewise. + +2009-06-18 Diego Novillo <dnovillo@google.com> + + * gcc.dg/plugin/selfassign.c: Declare plugin_is_GPL_compatible. + * gcc.dg/plugin/ggcplug.c: Likewise. + * gcc.dg/plugin/one_time_plugin.c: Likewise. + * g++.dg/plugin/selfassign.c: Likewise. + * g++.dg/plugin/attribute_plugin.c: Likewise. + * g++.dg/plugin/dumb_plugin.c: Likewise. + +2009-06-18 Manuel López-Ibáñez <manu@gcc.gnu.org> + + * gcc.dg/cpp/arith-3.c: Add column info. + +2009-06-18 Sandra Loosemore <sandra@codesourcery.com> + + * gcc.target/arm/fp16-compile-none-2.c: New. + * gcc.target/arm/fp16-compile-ieee-12.c: New. + * gcc.target/arm/fp16-compile-alt-12.c: New. + +2009-06-18 Sandra Loosemore <sandra@codesourcery.com> + + * gcc.target/arm/fp16-compile-alt-1.c: New. + * gcc.target/arm/fp16-compile-alt-2.c: New. + * gcc.target/arm/fp16-compile-alt-3.c: New. + * gcc.target/arm/fp16-compile-alt-4.c: New. + * gcc.target/arm/fp16-compile-alt-5.c: New. + * gcc.target/arm/fp16-compile-alt-6.c: New. + * gcc.target/arm/fp16-compile-alt-7.c: New. + * gcc.target/arm/fp16-compile-alt-8.c: New. + * gcc.target/arm/fp16-compile-alt-9.c: New. + * gcc.target/arm/fp16-compile-alt-10.c: New. + * gcc.target/arm/fp16-compile-alt-11.c: New. + * gcc.target/arm/fp16-compile-ieee-1.c: New. + * gcc.target/arm/fp16-compile-ieee-2.c: New. + * gcc.target/arm/fp16-compile-ieee-3.c: New. + * gcc.target/arm/fp16-compile-ieee-4.c: New. + * gcc.target/arm/fp16-compile-ieee-5.c: New. + * gcc.target/arm/fp16-compile-ieee-6.c: New. + * gcc.target/arm/fp16-compile-ieee-7.c: New. + * gcc.target/arm/fp16-compile-ieee-8.c: New. + * gcc.target/arm/fp16-compile-ieee-9.c: New. + * gcc.target/arm/fp16-compile-ieee-10.c: New. + * gcc.target/arm/fp16-compile-ieee-11.c: New. + * gcc.target/arm/fp16-compile-none-1.c: New. + * gcc.target/arm/fp16-compile-exprtype.c: New. + * gcc.target/arm/fp16-compile-vcvt.c: New. + * gcc.target/arm/fp16-builtins-1.c: New. + * gcc.target/arm/fp16-rounding-alt-1.c: New. + * gcc.target/arm/fp16-rounding-ieee-1.c: New. + * gcc.target/arm/fp16-param-1.c: New. + * gcc.target/arm/fp16-return-1.c: New. + * gcc.target/arm/fp16-unprototyped-1.c: New. + * gcc.target/arm/fp16-unprototyped-2.c: New. + * gcc.target/arm/fp16-variadic-1.c: New. + * gcc.dg/torture/arm-fp16-compile-assign.c: New. + * gcc.dg/torture/arm-fp16-compile-convert.c: New. + * gcc.dg/torture/arm-fp16-int-convert-alt.c: New. + * gcc.dg/torture/arm-fp16-int-convert-ieee.c: New. + * gcc.dg/torture/arm-fp16-ops.h: New. + * gcc.dg/torture/arm-fp16-ops-1.c: New. + * gcc.dg/torture/arm-fp16-ops-2.c: New. + * gcc.dg/torture/arm-fp16-ops-3.c: New. + * gcc.dg/torture/arm-fp16-ops-4.c: New. + * gcc.dg/torture/arm-fp16-ops-5.c: New. + * gcc.dg/torture/arm-fp16-ops-6.c: New. + * gcc.dg/torture/arm-fp16-ops-7.c: New. + * gcc.dg/torture/arm-fp16-ops-8.c: New. + * g++.dg/ext/arm-fp16/fp16-overload-1.C: New. + * g++.dg/ext/arm-fp16/fp16-return-1.C: New. + * g++.dg/ext/arm-fp16/fp16-param-1.C: New. + * g++.dg/ext/arm-fp16/fp16-mangle-1.C: New. + * g++.dg/ext/arm-fp16/arm-fp16-ops.h: New. + * g++.dg/ext/arm-fp16/arm-fp16-ops-1.C: New. + * g++.dg/ext/arm-fp16/arm-fp16-ops-2.C: New. + * g++.dg/ext/arm-fp16/arm-fp16-ops-3.C: New. + * g++.dg/ext/arm-fp16/arm-fp16-ops-4.C: New. + * g++.dg/ext/arm-fp16/arm-fp16-ops-5.C: New. + * g++.dg/ext/arm-fp16/arm-fp16-ops-6.C: New. + * g++.dg/ext/arm-fp16/arm-fp16-ops-7.C: New. + * g++.dg/ext/arm-fp16/arm-fp16-ops-8.C: New. + +2009-06-18 Uros Bizjak <ubizjak@gmail.com> + + * gcc.dg/builtins-65.c: New test. + +2009-06-18 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40451 + * gfortran.dg/proc_ptr_result_4.f90: New. + +2009-06-17 Adam Nemet <anemet@caviumnetworks.com> + + * gcc.c-torture/execute/bitfld-5.c: New test. + +2009-06-17 David Daney <ddaney@caviumnetworks.com> + + * gcc.dg/builtin-unreachable-3.c: New test. + +2009-06-17 David Daney <ddaney@caviumnetworks.com> + + * gcc.target/i386/builtin-unreachable.c: New test. + +2009-06-17 Ian Lance Taylor <iant@google.com> + + * gcc.dg/Wcxx-compat-14.c: New testcase. + +2009-06-17 Aldy Hernandez <aldyh@redhat.com> + + * gcc.dg/func-ptr-conv-1.c: Update column info. + +2009-06-17 Richard Guenther <rguenther@suse.de> + + PR middle-end/40404 + * gcc.c-torture/execute/pr40404.c: New testcase. + +2009-06-17 Richard Guenther <rguenther@suse.de> + + PR middle-end/40460 + * g++.dg/torture/pr40460.C: New testcase. + +2009-06-05 Olatunji Ruwase <tjruwase@google.com> + + * gcc.dg/plugin/one_time_plugin.c: New test. + * gcc.dg/plugin/one_time-test-1.c: New test. + * gcc.dg/plugin/plugin.exp: Added one_time_plugin.c test. + +2009-06-16 Ian Lance Taylor <iant@google.com> + + * g++.dg/warn/skip-1.C: New testcase. + +2009-06-16 Jakub Jelinek <jakub@redhat.com> + + PR middle-end/40446 + * g++.dg/other/pr40446.C: New test. + +2009-06-16 Richard Guenther <rguenther@suse.de> + + * gcc.dg/tree-ssa/pta-escape-1.c: New testcase. + * gcc.dg/tree-ssa/pta-escape-2.c: Likewise. + * gcc.dg/tree-ssa/pta-escape-3.c: Likewise. + * gcc.dg/tree-ssa/ssa-fre-27.c: Likewise. + +2009-06-16 Martin Jambor <mjambor@suse.cz> + + * gcc.c-torture/compile/pr40432.c: New file. + +2009-06-16 Martin Jambor <mjambor@suse.cz> + + * gfortran.fortran-torture/compile/pr40413.f90: New file. + +2009-06-16 Janus Weil <janus@gcc.gnu.org> + + PR fortran/36947 + PR fortran/40039 + * gfortran.dg/dummy_procedure_1.f90: Extended test case. + * gfortran.dg/interface_20.f90: Modified error messages. + * gfortran.dg/interface_21.f90: Ditto. + * gfortran.dg/interface_26.f90: Ditto. + * gfortran.dg/interface_27.f90: Ditto. + * gfortran.dg/interface_28.f90: Extended test case. + * gfortran.dg/interface_29.f90: New. + * gfortran.dg/proc_decl_7.f90: Modified error messages. + * gfortran.dg/proc_decl_8.f90: Ditto. + * gfortran.dg/proc_ptr_11.f90: Ditto. + * gfortran.dg/proc_ptr_15.f90: Ditto. + +2009-06-16 Ira Rosen <irar@il.ibm.com> + + * gcc.dg/vect/vect-outer-4g.c: Don't look for pattern not allowed + printing. + * gcc.dg/vect/vect-outer-4k.c, gcc.dg/vect/vect-outer-4l.c, + gcc.dg/vect/vect-outer-4f.c: Likewise. + * gcc.dg/vect/vect-nest-cycle-1.c: New test. + * gcc.dg/vect/vect-nest-cycle-2.c, gcc.dg/vect/vect-nest-cycle-3.c: + Likewise. + * gcc.dg/vect/vect-outer-1a.c: Fail because of strided access in + outer loop. + +2009-06-16 Tobias Burnus <burnus@net-b.de> + + PR fortran/40383 + * gfortran.dg/bounds_check_strlen_8.f90: New test. + +2009-06-15 Ian Lance Taylor <iant@google.com> + + * gcc.dg/Wjump-misses-init-1.c: New testcase. + * gcc.dg/Wjump-misses-init-2.c: New testcase. + * gcc.dg/c99-vla-jump-5.c: Adjust expected error messages. + Recognize new notes. + * gcc.dg/stmt-expr-label-2.c: Likewise. + * gcc.dg/c99-vla-jump-1.c: Recognize new notes. Fix column numbers. + * gcc.dg/c99-vla-jump-2.c: Recognize new notes. + * gcc.dg/c99-vla-jump-3.c: Recognize new notes. + * gcc.dg/c99-vla-jump-4.c: Likewise. + * gcc.dg/stmt-expr-label-1.c: Likewise. + * gcc.dg/stmt-expr-label-3.c: Likewise. + * gcc.dg/vla-8.c: Likewise. Move error message to different line. + +2009-06-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * gcc.dg/torture/builtin-math-6.c: Robustify and fix clog cases. + +2009-06-15 Jakub Jelinek <jakub@redhat.com> + + * gcc.dg/builtin-object-size-7.c: New test. + +2009-06-15 Jakub Jelinek <jakub@redhat.com> + + PR testsuite/40426 + * lib/gcc-dg.exp (gcc-dg-debug-runtest): For type -gdwarf-2 and + level != "" use separate -gdwarf-2 -g${level} options instead of + -gdwarf-2${level}. + * lib/gfortran-dg.exp (gfortran-dg-debug-runtest): Likewise. + * gfortran.dg/debug/pr37738.f: Also skip if -gdwarf-2 -g1. + * gfortran.dg/debug/pr35154-dwarf2.f: Likewise. + +2009-06-15 Rafael Avila de Espindola <espindola@google.com> + + * g++.dg/abi/mangle11.C: Update warning line. + * g++.dg/abi/mangle12.C: Update warning line. + * g++.dg/abi/mangle17.C: Update warning line. + * g++.dg/abi/mangle20-2.C: Update warning line. + +2009-06-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + + * gcc.dg/optimize-bswap-1.c: Split into these two: + * gcc.dg/optimize-bswapsi-1.c: New testcase. + * gcc.dg/optimize-bswapdi-1.c: New testcase. + +2009-06-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + + * gcc.dg/optimize-bswap-1.c: New testcase. + +2009-06-14 Richard Guenther <rguenther@suse.de> + + PR middle-end/40389 + * g++.dg/torture/pr40389.C: New testcase. + +2009-06-13 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/40421 + * gfortran.fortran-torture/compile/pr40421.f: New testcase. + +2009-06-12 Aldy Hernandez <aldyh@redhat.com> + + * gcc.dg/old-style-prom-3.c: Add column info. + * gcc.dg/overflow-warn-1.c + * gcc.dg/gomp/pr27415.c + * gcc.dg/gomp/for-1.c: Same. + * gcc.dg/enum-compat-1.c: Same. + * gcc.dg/c99-tag-3.c: Same. + * gcc.dg/Wredundant-decls-2.c: Same. + * gcc.dg/func-ptr-conv-1.c: Same. + * gcc.dg/asm-wide-1.c: Same. + * gcc.dg/nofixed-point-2.c: Same. + * gcc.dg/cpp/line3.c: Same. + * gcc.dg/array-10.c: Same. + * gcc.dg/c99-vla-jump-1.c: Same. + * gcc.dg/pr20368-1.c: Same. + * gcc.dg/Wshadow-3.c: Same. + * gcc.dg/c90-const-expr-8.c: Same. + * gcc.dg/label-decl-2.c: Same. + * gcc.dg/dremf-type-compat-2.c: Same. + * gcc.dg/c90-const-expr-5.c: Same. + * gcc.dg/builtins-30.c: Same. + * gcc.dg/Warray-bounds.c: Same. + * gcc.dg/Wcxx-compat-2.c: Same. + * gcc.dg/tree-ssa/col-1.c: Same. + * gcc.dg/old-style-prom-2.c: Same. + * gcc.dg/cast-function-1.c: Same. + * gcc.dg/pr15698-1.c: Same. + * gcc.dg/dremf-type-compat-3.c: Same. + * gcc.dg/vla-8.c: Same. + * gcc.dg/gomp/pr27415.c: Move firstprivate diagnostics to correct + line. + * gcc.dg/label-decl-2.c: Move label diagnostic to correct line. + * gcc.dg/old-style-prom-3.c: Check for error on the correct line. + * gcc.dg/enum-compat-1.c: Same. + * gcc.dg/dremf-type-compat-2.c: Same. + * gcc.dg/old-style-prom-2.c: Same. + * gcc.dg/pr15698-1.c: Same. + * gcc.dg/pr20368-1.c: Same. + * gcc.dg/dremf-type-compat-3.c: Same. + * gcc.dg/builtins-30.c: Same. Test for columns. + +2009-06-12 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40176 + * gfortran.dg/proc_decl_1.f90: Extended. + +2009-06-12 Ian Lance Taylor <iant@google.com> + + * gcc.dg/Wcxx-compat-13.c: New testcase. + +2009-06-12 Andrew Pinski <andrew_pinski@playstation.sony.com> + + PR tree-opt/38865 + * gcc.dg/tree-ssa/fre-vce-1.c + +2009-06-12 H.J. Lu <hongjiu.lu@intel.com> + + PR testsuite/40384 + * gcc.dg/tree-ssa/prefetch-5.c: Add --param + min-insn-to-prefetch-ratio=5. + +2009-06-12 Joey Ye <joey.ye@intel.com> + H.J. Lu <hongjiu.lu@intel.com> + + PR middle-end/39146 + * gcc.target/i386/stackalign/pr39146.c: New. + +2009-06-11 H.J. Lu <hongjiu.lu@intel.com> + + * gcc.target/i386/crc32-1.c: New. + * gcc.target/i386/crc32-2.c: Likewise. + +2009-06-11 David Daney <ddaney@caviumnetworks.com> + + PR c/39252 + * gcc.dg/builtin-unreachable-1.c: New test. + * gcc.dg/builtin-unreachable-2.c: Same. + +2009-06-11 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/40402 + * gfortran.dg/data_value_1.f90: New test. + +2009-06-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + + PR testsuite/39831 + * gcc.target/i386/excess-precision-1.c: Use -mfpmath=387, and + remove ilp32 requirement. + * gcc.target/i386/excess-precision-2.c: Likewise. + * gcc.target/i386/excess-precision-3.c: Likewise. + * gcc.target/i386/excess-precision-4.c: Likewise. + * gcc.target/i386/excess-precision-5.c: Likewise. + * gcc.target/i386/excess-precision-6.c: Likewise. + +2009-06-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + + PR fortran/38718 + * gfortran.dg/is_iostat_end_eor_2.f90: New test. + * gfortran.dg/nan_5.f90: New test. + +2009-06-10 Nathan Froyd <froydnj@codesourcery.com> + + * gcc.target/arm/neon-modes-1.c: New test. + +2009-06-10 Kai Tietz <kai.tietz@onevision.com> + + * g++.dg/torture/pr31579.C: Cast pointer + via __SIZE_TYPE__ instead of 'unsigned long'. + +2009-06-10 Anthony Green <green@moxielogic.com> + + * lib/target-supports.exp (check_profiling_available): + Profiling is not available for testing purposes on moxie. + +2009-06-09 Ian Lance Taylor <iant@google.com> + + * gcc.dg/Wcxx-compat-12.c: New testcase. + +2009-06-09 Janne Blomqvist <jb@gcc.gnu.org> + + PR libfortran/40334 + * gfortran.dg/backspace_11.f90: New. + +2009-06-09 Jason Merrill <jason@redhat.com> + + * g++.dg/cpp0x/defaulted10.C: New. + +2009-06-09 Martin Jambor <mjambor@suse.cz> + + * gcc.c-torture/compile/pr40351.c: New file. + +2009-06-09 Olivier Hainque <hainque@adacore.com> + + * gnat.dg/align_max.adb: New test. + +2009-06-08 Jason Merrill <jason@redhat.com> + + * g++.dg/cpp0x/auto15.C: New. + +2009-06-08 Jan Hubicka <jh@suse.cz> + + PR debug/39834 + * gcc.dg/torture/pr39834.c + +2009-06-08 Jan Hubicka <jh@suse.cz> + + PR middle-end/40102 + * g++.dg/torture/pr40102.C: New testcase. + +2009-06-08 Jakub Jelinek <jakub@redhat.com> + + * gcc.dg/builtin-object-size-2.c (test1): Adjust expected results. + * gcc.dg/builtin-object-size-4.c (test1): Adjust expected results. + * gcc.dg/builtin-object-size-6.c: New test. + + PR c++/40373 + * g++.dg/template/dtor7.C: New test. + + PR c++/40370 + PR c++/40372 + * g++.dg/template/error41.C: New test. + * g++.dg/template/error42.C: New test. + +2009-06-08 Revital Eres <eres@il.ibm.com> + + PR testsuite/40359 + * gcc.dg/vect/vect-58.c: Change checks to use vect_hw_misalign. + * gcc.dg/vect/vect-88.c: Likewise. + * gcc.dg/vect/no-section-anchors-vect-66.c: Likewise. + * gcc.dg/vect/pr25413.c: Likewise. + * lib/target-supports.exp: Add i?86 to vect_hw_misalign. + +2009-06-07 Ian Lance Taylor <iant@google.com> + + * g++.dg/warn/Wswitch-3.C: New testcase. + * gcc.dg/Wswitch.c: Adjust for -Wswitch change. + * gcc.dg/Wswitch-enum-error.c: Likewise. + * gcc.dg/Wswitch-error.c: Likewise. + +2009-06-07 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR fortran/40008 + * gfortran.dg/negative_unit.f: Update test. + * gfortran.dg/negative_unit_int8.f: Update test. + * gfortran.dg/newunit_1.f90: New test. + +2009-06-07 Daniel Franke <franke.daniel@gmail.com> + + PR fortran/25104 + PR fortran/29962 + * gfortran.dg/spread_init_expr.f03: New. + * gfortran.dg/unpack_init_expr.f03: New. + * gfortran.dg/intrinsic_argument_conformance_2.f90: Adjusted + error message. + +2009-06-07 Daniel Franke <franke.daniel@gmail.com> + + PR fortran/25104 + PR fortran/29962 + * gfortran.dg/count_init_expr.f03 + * gfortran.dg/product_init_expr.f03 + * gfortran.dg/sum_init_expr.f03 + +2009-06-07 Daniel Franke <franke.daniel@gmail.com> + + PR fortran/36874 + * gfortran.dg/intrinsic_argument_conformance_2.f90: Adjusted error + message. + * gfortran.dg/zero_sized_1.f90: Removed checks with incompatible + shapes. + * gfortran.dg/zero_sized_5.f90: Likewise. + +2009-06-07 H.J. Lu <hongjiu.lu@intel.com> + + PR middle-end/32950 + * g++.dg/torture/pr32950.C: New. + +2009-06-07 Daniel Franke <franke.daniel@gmail.com> + + PR fortran/25104 + PR fortran/29962 + * gfortran.dg/dot_product_1.f03: New. + * gfortran.dg/matmul_8.f03: New. + * gfortran.dg/transpose_3.f03: New. + +2009-06-06 Ian Lance Taylor <iant@google.com> + + * gcc.dg/Wunused-label-1.c: New test case. + * g++.dg/warn/Wunused-label-1.C: New test case. + * g++.dg/warn/Wunused-label-2.C: New test case. + * g++.dg/warn/Wunused-label-3.C: New test case. + +2009-06-06 Daniel Franke <franke.daniel@gmail.com> + + PR fortran/37203 + * reshape_zerosize_2.f90: New. + +2009-06-06 Daniel Franke <franke.daniel@gmail.com> + + PR fortran/32890 + * gfortran.dg/pack_assign_1.f90: New. + * gfortran.dg/pack_vector_1.f90: New. + +2009-06-05 Jakub Jelinek <jakub@redhat.com> + + PR middle-end/40340 + * gcc.dg/pr40340-1.c: New test. + * gcc.dg/pr40340-2.c: New test. + * gcc.dg/pr40340-3.c: New test. + * gcc.dg/pr40340-4.c: New test. + * gcc.dg/pr40340-5.c: New test. + * gcc.dg/pr40340.h: New file. + +2009-06-05 Revital Eres <eres@il.ibm.com> + + * lib/target-supports.exp (check_effective_target_vect_hw_misalign): + New procedure. + * gcc.dg/vect/vect-50.c: Change checks to use vect_hw_misalign. + * gcc.dg/vect/vect-33.c: Likewise. + * gcc.dg/vect/vect-92.c: Likewise. + * gcc.dg/vect/vect-58.c: Likewise. + * gcc.dg/vect/no-section-anchors-vect-69.c: Likewise. + * gcc.dg/vect/vect-42.c: Likewise. + * gcc.dg/vect/slp-25.c: Likewise. + * gcc.dg/vect/vect-align-1.c: Likewise. + * gcc.dg/vect/vect-align-2.c: Likewise. + * gcc.dg/vect/vect-93.c: Likewise. + * gcc.dg/vect/no-scevccp-outer-8.c: Likewise. + * gcc.dg/vect/costmodel/i386/costmodel-vect-31.c: Likewise. + * gcc.dg/vect/costmodel/i386/costmodel-vect-33.c: Likewise. + * gcc.dg/vect/costmodel/x86_64/costmodel-vect-31.c: Likewise. + * gcc.dg/vect/costmodel/x86_64/costmodel-vect-33.c: Likewise. + * gcc.dg/vect/vect-26.c: Likewise. + * gcc.dg/vect/vect-44.c: Likewise. + * gcc.dg/vect/vect-70.c: Likewise. + * gcc.dg/vect/vect-95.c: Likewise. + * gcc.dg/vect/no-section-anchors-vect-64.c: Likewise. + * gcc.dg/vect/vect-28.c: Likewise. + * gcc.dg/vect/no-section-anchors-vect-31.c: Likewise. + * gcc.dg/vect/vect-87.c: Likewise. + * gcc.dg/vect/vect-109.c: Likewise. + * gcc.dg/vect/vect-54.c: Likewise. + * gcc.dg/vect/vect-96.c: Likewise. + * gcc.dg/vect/vect-multitypes-1.c: Likewise. + * gcc.dg/vect/vect-88.c: Likewise. + * gcc.dg/vect/no-section-anchors-vect-66.c: Likewise. + * gcc.dg/vect/vect-89.c: Likewise. + * gcc.dg/vect/vect-91.c: Likewise. + * gcc.dg/vect/no-section-anchors-vect-68.c: Likewise. + * gcc.dg/vect/vect-multitypes-4.c: Likewise. + * gfortran.dg/vect/vect-2.f90: Likewise. + * gfortran.dg/vect/vect-3.f90: Likewise. + * gfortran.dg/vect/vect-4.f90: Likewise. + * gfortran.dg/vect/vect-5.f90: Likewise. + +2009-06-05 Alexander Strange <astrange@ithinksw.com> + + PR tree-optimization/36318 + * gcc.dg/tree-ssa/sra-7.c: New test. + +2009-06-04 Daniel Franke <franke.daniel@gmail.com> + + PR fortran/37203 + * gfortran.dg/reshape_order_5.f90: New. + * gfortran.dg/reshape_shape_1.f90: New. + +2009-06-04 Jason Merrill <jason@redhat.com> + + * g++.dg/template/error38.C: Add pointer-to-typedef case. + +2009-06-04 Steve Ellcey <sje@cup.hp.com> + + * gcc.dg/vect/vect-42.c: Modify vect_no_align case. + * gcc.dg/vect/no-vfa-vect-43.c: Ditto. + +2009-06-04 Richard Guenther <rguenther@suse.de> + + PR c++/39371 + * g++.dg/torture/pr40335.C: New testcase. + +2009-06-03 Richard Guenther <rguenther@suse.de> + + PR middle-end/40328 + * gcc.dg/torture/pr40328.c: New testcase. + +2009-06-03 Maxim Kuvyrkov <maxim@codesourcery.com> + + * gcc.dg/falign-labels.c (dg-options): Don't restrict for + m68k and fido. + +2009-06-03 Martin Jambor <mjambor@suse.cz> + + * g++.dg/torture/pr40323.C: New file. + +2009-06-03 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/specs/root.ads: New test. + * gnat.dg/specs/root-level_1.ads: Likewise. + * gnat.dg/specs/root-level_2.ads: Likewise. + * gnat.dg/specs/root-level_1-level_2.ads: Likewise. + +2009-06-02 Mark Mitchell <mark@codesourcery.com> + + * g++.dg/init/ref15.C: Require unwrapped targets. + +2009-06-02 Jason Merrill <jason@redhat.com> + + * g++.dg/cpp0x/initlist13.C: Remove expected error. + * g++.dg/cpp0x/initlist18.C: New. + * g++.dg/cpp0x/initlist19.C: New. + + * g++.dg/cpp0x/auto14.C: New. + +2009-06-02 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/alignment6.adb: Remove XFAIL. + +2009-06-02 Simon Martin <simartin@users.sourceforge.net> + + PR c++/38089 + * g++.dg/template/spec36.C: New test. + +2009-06-01 Ian Lance Taylor <iant@google.com> + + * gcc.dg/cast-qual-3.c: New testcase. + * g++.dg/warn/Wcast-qual2.C: New testcase. + +2009-06-01 Aldy Hernandez <aldyh@redhat.com> + + * lib/gcc-dg.exp (dg-bogus): Override dg-bogus. + (process-message): Expect column numbers. + * gcc.dg/va-arg-2.c: Use line 0 to indicate no column. + * gcc.dg/pch/counter-2.c: Same. + * gcc.dg/pch/valid-2.c: Same. + * gcc.dg/pch/warn-1.c: Same. + * gcc.dg/pch/valid-1.c: Same. + * gcc.dg/cpp/include2a.c: Handle lack of columns. + * gcc.dg/cpp/syshdr.c: Same. + * gcc.dg/cpp/19940712-1.c: Same. + * gcc.dg/cpp/missing-header-1.c: Same. + * gcc.dg/cpp/unc4.c: Remove -fno-show-column. + * gcc.dg/cpp/tr-warn3.c: Same. + * gcc.dg/cpp/pr29612-2.c: Same. + * gcc.dg/cpp/tr-warn4.c: Same. + * gcc.dg/cpp/Wtrigraphs.c: Same. + * gcc.dg/cpp/poison.c: Same. + * gcc.dg/cpp/arith-3.c: Same. + * gcc.dg/cpp/sysmac2.c: Same. + * gcc.dg/cpp/cpp.exp: Same. + * gcc.dg/cpp/tr-warn5.c: Same. + * gcc.dg/cpp/include2.c: Same. + * gcc.dg/cpp/Wmissingdirs.c: Same. + * gcc.dg/cpp/Wmissingdirs.c: Same. + * gcc.dg/cpp/tr-warn6.c: Same. + * gcc.dg/cpp/Wtrigraphs-2.c: Same. + * gcc.dg/cpp/macspace1.c: Same. + * gcc.dg/cpp/escape-2.c: Same. + * gcc.dg/cpp/assert2.c: Same. + * gcc.dg/cpp/undef2.c: Same. + * gcc.dg/cpp/macspace2.c: Same. + * gcc.dg/cpp/tr-warn1.c: Same. + * gcc.dg/cpp/extratokens2.c: Same. + * gcc.dg/cpp/strify2.c: Same. + * gcc.dg/cpp/Wsignprom.c: Same. + * gcc.dg/cpp/redef2.c: Same. + * gcc.dg/cpp/trad/trad.exp: Same. + * gcc.dg/cpp/arith-1.c: Same. + * gcc.dg/cpp/extratokens.c: Same. + * gcc.dg/cpp/if-mpar.c: Same. + +2009-06-01 Olivier Hainque <hainque@adacore.com> + + * gnat.dg/nested_float_packed.ads: New test. + +2009-06-01 Olivier Hainque <hainque@adacore.com> + Eric Botcazou <botcazou@adacore.com> + + * gnat.dg/oconst[1-6].ad[bs]: New tests. Also support for ... + * gnat.dg/test_oconst.adb: New test. + +2009-05-31 Basile Starynkevitch <basile@starynkevitch.net> + + * gcc.dg/plugin/ggcplug.c: Moved comment. + (plugin_init): Fixed typo, declared i, returned 0 at end. + +2009-05-31 Ira Rosen <irar@il.ibm.com> + + PR testsuite/40244 + * gcc.dg/vect/bb-slp-4.c: Change the number of data accesses to 2. + * gcc.dg/vect/bb-slp-10.c: Change the store misalignment to 1. + +2009-05-29 Ian Lance Taylor <iant@google.com> + + * gcc.dg/Wcxx-compat-11.c: New testcase. + +2009-05-29 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + + PR fortran/40019 + * gfortran.dg/leadz_trailz_1.f90: New test. + * gfortran.dg/leadz_trailz_2.f90: New test. + +2009-05-29 Martin Jambor <mjambor@suse.cz> + + * gfortran.dg/pr25923.f90: XFAIL warning expectation. + * gcc.dg/tree-ssa/ssa-fre-7.c: Compile with -fno-tree-sra. + * gcc.dg/tree-ssa/ssa-fre-8.c: Likewise. + * gcc.dg/tree-ssa/ssa-fre-9.c: Likewise. + * gcc.dg/memcpy-1.c: Removed param sra-max-structure-size. + * gcc.dg/tree-ssa/sra-2.c: Likewise. + * gcc.dg/tree-ssa/sra-3.c: Likewise. + * gcc.dg/tree-ssa/sra-1.c: Likewise. + * gcc.dg/tree-ssa/sra-4.c: Changed comment. + * gcc.dg/tree-ssa/sra-5.c: New file. + * gcc.dg/tree-ssa/sra-6.c: New file. + * gcc.c-torture/compile/sra-1.c: New file. + +2009-05-29 Jakub Jelinek <jakub@redhat.com> + + PR middle-end/40291 + * gcc.c-torture/compile/pr40291.c: New test. + + PR target/40017 + * gcc.target/powerpc/altivec-types-1.c: Don't expect error for + __vector _Bool. + * gcc.target/powerpc/altivec-30.c: New test. + * gcc.target/powerpc/altivec-31.c: New test. + +2009-05-28 Richard Guenther <rguenther@suse.de> + + * gcc.dg/tree-ssa/ssa-fre-26.c: New testcase. + * gcc.c-torture/execute/20090527-1.c: Likewise. + +2009-05-28 Dodji Seketeli <dodji@redhat.com> + + PR c++/39754 + * g++.dg/template/canon-type-1.C: New test. + * g++.dg/template/canon-type-2.C: Likewise. + * g++.dg/template/canon-type-3.C: Likewise. + * g++.dg/template/canon-type-4.C: Likewise. + * g++.dg/template/canon-type-5.C: Likewise. + * g++.dg/template/canon-type-6.C: Likewise. + * g++.dg/template/canon-type-7.C: Likewise. + +2009-05-28 Dave Korn <dave.korn.cygwin@gmail.com> + Uros Bizjak <ubizjak@gmail.com> + Danny Smith <dansmister@gmail.com> + + PR target/37216 + + * lib/target-supports.exp (check_effective_target_pe_aligned_commons): + New function. + * gcc.target/i386/pr37216.c: New test source file. + * gcc.dg/compat/struct-layout-1_generate.c (dg_options[]): No longer + use -fno-common for testing Cygwin and MinGW targets. + +2009-05-28 Kai Tietz <kai.tietz@onevision.com> + + * g++.dg/ext/packed6.C (size_t): Use __extension__ and __SIZE_TYPE__. + * g++.dg/opt/memcpy1.C (size_t): Likewise. + * g++.dg/pr37742.C (size_t): Likewise. + * g++.dg/torture/pr34850.C (size_t): Likewise. + * g++.dg/torture/20070621-1.C (ptrdiff_t): Use __extension__ and + _PTRDIFF_TYPE__. + * g++.dg/torture/pr34222.C (ptrdiff_t): Likewise. + * g++.dg/tree-ssa/pr22444.C (ptrdiff_t): Likewise. + (size_t): Use __extension__ and __SIZE_TYPE__. + * gcc.c-torture/compile/20000211-1.c (size_t): Typedef size_t via + __SIZE_TYPE__. + * gcc.c-torture/compile/20010328-1.c (size_t): Likewise. + * gcc.c-torture/compile/20030320-1.c (size_t): Likewise. + * gcc.c-torture/compile/20030405-1.c (size_t): Likewise. + * gcc.c-torture/compile/20030902-1.c (size_t): Likewise. + * gcc.c-torture/compile/20060202-1.c (size_t): Likewise. + * gcc.c-torture/compile/20080613-1.c (size_t): Likewise. + * gcc.c-torture/compile/920428-2.c (size_t): Likewise. + * gcc.c-torture/compile/980329-1.c (size_t): Likewise. + * gcc.c-torture/compile/980816-1.c (size_t): Likewise. + * gcc.c-torture/compile/pr32584.c (size_t): Likewise. + (__ssize_t): Likewise. + * gcc.c-torture/compile/pr33173.c (size_t): Likewise. + * gcc.c-torture/compile/pr33382.c (size_t): Likewise. + * gcc.c-torture/compile/pr34334.c (size_t): Likewise. + * gcc.c-torture/compile/pr34688.c (size_t): Likewise. + * gcc.c-torture/compile/pr35043.c (size_t): Likewise. + * gcc.c-torture/compile/pr37669.c (size_t): Likewise. + * gcc.dg/20050629-1.c (size_t): Typedef size_t via __SIZE_TYPE__. + * gcc.dg/pr33667.c (size_t): Likewise. + * gcc.dg/prefetch-loop-arrays-1.c (size_t): Likewise. + * gcc.dg/torture/pr39204.c (size_t): Likewise. + * gcc.dg/tree-ssa/20041122-1.c (size_t): Likewise. + * gcc.dg/tree-ssa/pr36908.c (size_t): Likewise. + * gcc.dg/tree-ssa/pr38250.c (size_t): Likewise. + * gcc.dg/tree-ssa/ssa-dse-10.c (size_t): Likewise. + +2009-05-28 Ira Rosen <irar@il.ibm.com> + + PR tree-optimization/40254 + * gcc.dg/vect/pr40254.c: New test. + +2009-05-28 Adam Nemet <anemet@caviumnetworks.com> + + PR middle-end/33699 + * gcc.target/mips/const-anchor-1.c: New test. + * gcc.target/mips/const-anchor-2.c: New test. + +2009-05-27 Jason Merrill <jason@redhat.com> + + * g++.dg/cpp0x/initlist15.C: New. + * g++.dg/cpp0x/initlist16.C: New. + * g++.dg/cpp0x/initlist17.C: New. + +2009-05-27 Janne Blomqvist <jb@gcc.gnu.org> + + PR fortran/39178 + * gfortran.dg/elemental_dependency_1.f90: Fix scan-tree-dump-times + patterns to reflect frontend changes. + * gfortran.dg/vector_subscript_4.f90: Likewise. + +2009-05-27 Olivier Hainque <hainque@adacore.com> + Eric Botcazou <botcazou@adacore.com> + + * gcc.c-torture/execute/align-nest.c: New testcase. + * gnat.dg/misaligned_nest.adb: New testcase. + +2009-05-27 Rafael Avila de Espindola <espindola@google.com> + + * g++.dg/plugin/attribute_plugin.c: Include gcc-plugin.h first. + * g++.dg/plugin/dumb_plugin.c: Include gcc-plugin.h first. + * g++.dg/plugin/selfassign.c: Include gcc-plugin.h first. + * gcc.dg/plugin/selfassign.c: Include gcc-plugin.h first. + +2009-05-27 Kai TIetz <kai.tietz@onevision.com> + + * g++.old-deja/g++.brendan/array1.C (array): Use __SIZE_TYPE__ + cast instead of assuming 0ul. + * g++.old-deja/g++.brendan/crash64.C (size_t): Define it via + __SIZE_TYPE__. + (_type_desc): Make first argument const. + * g++.old-deja/g++.jason/new3.C (dg-options): Add -Wno-long-long. + +2009-05-27 Thomas Koenig <tkoenig@gcc.gnu.org> + + PR libfortran/40187 + * gfortran.dg/c_f_pointer_shape_tests_4.f03: New file. + * gfortran.dg/c_f_pointer_shape_tests_4_driver.c: New file. + +2009-05-26 Basile Starynkevitch <basile@starynkevitch.net> + + * gcc.dg/plugin/plugin.exp: Added ggcplug.c test plugin + with ggcplug-test-1.c for testing PLUGIN_GGC_MARKING etc... + * gcc.dg/plugin/ggcplug-test-1.c: Added new file. + * gcc.dg/plugin/ggcplug.c: Added new file. + +2009-05-26 Tobias Burnus <burnus@net-b.de> + + PR fortran/40246 + * gfortran.dg/nullify_4.f90: New test. + +2009-05-26 Richard Guenther <rguenther@suse.de> + + * gcc.dg/tree-ssa/inline-3.c: Remove dump file. + +2009-05-26 Richard Guenther <rguenther@suse.de> + + PR middle-end/40252 + * gcc.c-torture/compile/pr40252.c: New testcase. + +2009-05-26 Dodji Seketeli <dodji@redhat.com> + + PR c++/40007 + * g++.dg/template/typedef18.C: New test. + * g++.dg/template/typedef19.C: Likewise. + * g++.dg/template/typedef20.C: Likewise. + * g++.dg/template/access11.C: Adjust. + +2009-05-26 Richard Guenther <rguenther@suse.de> + + PR testsuite/40247 + * gcc.dg/struct/wo_prof_escape_substr_pointer.c: Obfuscate. + +2009-05-25 Jason Merrill <jason@redhat.com> + + PR c++/38064 + * g++.dg/cpp0x/enum3.C: New test. + +2009-05-25 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/36327 + * gcc.dg/tree-ssa/ssa-fre-24.c: New testcase. + * gcc.dg/tree-ssa/ssa-fre-25.c: Likewise. + * gcc.dg/tree-ssa/sra-2.c: Disable FRE. + * gcc.dg/vect/no-vfa-vect-43.c: Adjust. + * gcc.dg/vect/vect-40.c: Likewise. + * gcc.dg/vect/vect-42.c: Likewise. + * gcc.dg/vect/vect-46.c: Likewise. + * gcc.dg/vect/vect-76.c: Likewise. + +2009-05-25 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40176 + * gfortran.dg/proc_ptr_18.f90: New. + * gfortran.dg/proc_ptr_19.f90: New. + * gfortran.dg/proc_ptr_comp_9.f90: New. + * gfortran.dg/proc_ptr_comp_10.f90: New. + +2009-05-25 Richard Guenther <rguenther@suse.de> + + * gcc.dg/tree-ssa/ssa-fre-14.c: Adjust. + * gcc.dg/tree-ssa/ssa-fre-15.c: Likewise. + +2009-05-25 Ira Rosen <irar@il.ibm.com> + + PR tree-optimization/40238 + * gcc.dg/vect/pr40238.c: New test. + +2009-05-24 Jerry DeLisle <jvdelisle@gcc.gnu.org> + Dominique Dhumieres <dominiq@lps.ens.fr> + + PR fortran/35732 + PR fortran/39872 + * gfortran.dg/bounds_check_fail_3.f90: New test. + * gfortran.dg/bounds_check_fail_4.f90: New test. + * gfortran.dg/bounds_check_14.f90: Update test. + * gfortran.dg/bound_4.f90: Update test. + +2009-05-24 Richard Guenther <rguenther@suse.de> + + PR middle-end/40233 + * gcc.c-torture/compile/pr40233.c: New testcase. + +2009-05-24 Uros Bizjak <ubizjak@gmail.com> + + * gfortran.dg/erf_2.F90 (dg-options): Add -mieee + for alpha*-*-* targets. + +2009-05-24 Ira Rosen <irar@il.ibm.com> + + * gcc.dg/vect/bb-slp-1.c: New test. + * gcc.dg/vect/bb-slp-2.c, gcc.dg/vect/bb-slp-3.c, + gcc.dg/vect/bb-slp-4.c, gcc.dg/vect/bb-slp-5.c, + gcc.dg/vect/bb-slp-6.c, gcc.dg/vect/bb-slp-7.c, + gcc.dg/vect/bb-slp-8.c, gcc.dg/vect/bb-slp-9.c, + gcc.dg/vect/bb-slp-10.c, gcc.dg/vect/bb-slp-11.c, + gcc.dg/vect/no-tree-reassoc-bb-slp-12.c, gcc.dg/vect/bb-slp-13.c, + gcc.dg/vect/bb-slp-14.c, gcc.dg/vect/bb-slp-15.c, + gcc.dg/vect/bb-slp-16.c, gcc.dg/vect/bb-slp-17.c, + gcc.dg/vect/bb-slp-18.c, gcc.dg/vect/bb-slp-19.c, + gcc.dg/vect/bb-slp-20.c, gcc.dg/vect/bb-slp-21.c, + gcc.dg/vect/bb-slp-22.c: Likewise. + * gcc.dg/vect/vect.exp: Run basic block SLP tests. + +2009-05-23 Mark Mitchell <mark@codesourcery.com> + Maxim Kuvyrkov <maxim@codesourcery.com> + + * gcc.dg/falign-labels-1.c: New test. + +2009-05-23 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/specs/rep_clause3.ads: New test. + +2009-05-23 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/addr6.adb: New test. + +2009-05-22 Mark Mitchell <mark@codesourcery.com> + + * lib/target-supports.exp (check_effective_target_arm_thumb2_ok): + New function. + * gcc.target/arm/thumb2-mul-space.c: New file. + * gcc.target/arm/thumb2-mul-space-2.c: New file. + * gcc.target/arm/thumb2-mul-space-3.c: New file. + * gcc.target/arm/thumb2-mul-speed.c: New file. + +2009-05-22 Richard Guenther <rguenther@suse.de> + + PR middle-end/38964 + * g++.dg/warn/Wstrict-aliasing-float-ref-int-obj.C: XFAIL. + * gcc.dg/Wstrict-aliasing-converted-assigned.c: Likewise. + * gcc.dg/Wstrict-aliasing-float-ptr-int-obj.c: Likewise. + +2009-05-22 Mark Mitchell <mark@codesourcery.com> + + * gcc.dg/dll-6.c: New test. + * gcc.dg/dll-6a.c: Likewise. + * gcc.dg/dll-7.c: Likewise. + * gcc.dg/dll-7a.c: Likewise. + * g++.dg/ext/dllexport2.C: Likewise. + * g++.dg/ext/dllexport2a.cc: Likewise. + +2009-05-21 Steve Ellcey <sje@cup.hp.com> + + PR target/37846 + * gcc.target/ia64/mfused-madd-vect.c: New test. + * gcc.target/ia64/mfused-madd.c: New test. + * gcc.target/ia64/mno-fused-madd-vect.c: New test. + * gcc.target/ia64/mno-fused-madd.c: New test. + +2009-05-21 H.J. Lu <hongjiu.lu@intel.com> + + * gcc.target/i386/movbe-1.c: New. + * gcc.target/i386/movbe-2.c: Likewise. + +2009-05-21 Taras Glek <tglek@mozilla.com> + + * gcc.dg/plugin/selfassign.c (plugin_init): Updated to new + plugin_init signature. + * g++.dg/plugin/selfassign.c (plugin_init): Likewise. + * g++.dg/plugin/dumb_plugin.c (plugin_init): Likewise. + * g++.dg/plugin/attribute_plugin.c (plugin_init): Likewise. + +2009-05-21 Mark Mitchell <mark@codesourcery.com> + + * gcc.dg/target/arm/neon-vmla-1.c: New. + * gcc.dg/target/arm/neon-vmls-1.c: Likewise. + +2009-05-20 Adam Nemet <anemet@caviumnetworks.com> + + * gcc.target/mips/octeon-exts-6.c: New test. + * gcc.target/mips/extend-1.c: New test. + * gcc.target/mips/octeon-exts-2.c: Adjust to not match sign-extension + EXTS. + * gcc.target/mips/octeon-exts-5.c: Likewise. + +2009-05-20 Jakub Jelinek <jakub@redhat.com> + + PR middle-end/40204 + * gcc.c-torture/compile/pr40204.c: New test. + +2009-05-20 Richard Guenther <rguenther@suse.de> + + * gcc.c-torture/compile/20090518-1.c: New testcase. + +2009-05-19 Zdenek Dvorak <ook@ucw.cz> + + PR tree-optimization/40087 + * gcc.dg/tree-ssa/pr40087.c: New test. + +2009-05-19 Andrew Pinski <andrew_pinski@playstation.sony.com> + + * gcc.dg/vector-4.c: New testcase. + * gcc.dg/simd-1b.c: % is now allowed for integer vectors. + * g++.dg/ext/vector16.C: New testcase. + +2009-05-19 H.J. Lu <hongjiu.lu@intel.com> + + PR c/40172 + * gcc.dg/pr40172.c: Renamed to ... + * gcc.dg/pr40172-1.c: This. + + * gcc.dg/pr40172-2.c: New. + * gcc.dg/pr40172-3.c: Likewise. + +2009-05-19 Manuel López-Ibáñez <manu@gcc.gnu.org> + + PR c/40172 + * gcc.dg/pr40172.c: Add -Wlogical-op to dg-options. + +2009-05-19 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/loop_optimization6.ad[sb]: New test. + +2009-05-19 Richard Guenther <rguenther@suse.de> + + * gcc.c-torture/compile/20090519-1.c: New testcase. + +2009-05-18 Jason Merrill <jason@redhat.com> + + * g++.dg/cpp0x/explicit1.C: New. + * g++.dg/cpp0x/explicit2.C: New. + +2009-05-18 Dodji Seketeli <dodji@redhat.com> + + PR debug/40109 + * g++.dg/debug/dwarf2/nested-1.C: New test. + +2009-05-18 H.J. Lu <hongjiu.lu@intel.com> + + PR testsuite/39907 + * gcc.target/x86_64/abi/asm-support.S (snapshot_ret): Preserve + stack alignment. + +2009-05-18 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40164 + * gfortran.dg/proc_ptr_comp_8.f90: New. + +2009-05-18 Richard Guenther <rguenther@suse.de> + + PR fortran/40168 + * gfortran.dg/array_memset_2.f90: Adjust. + +2009-05-18 Janus Weil <janus@gcc.gnu.org> + + PR fortran/36947 + PR fortran/40039 + * gfortran.dg/interface_27.f90: New. + * gfortran.dg/interface_28.f90: New. + * gfortran.dg/proc_ptr_11.f90: Fixing invalid test case. + * gfortran.dg/proc_ptr_result_1.f90: Ditto. + +2009-05-18 Maxim Kuvyrkov <maxim@codesourcery.com> + + * gcc.target/m68k/tls-ie.c: New test. + * gcc.target/m68k/tls-le.c: New test. + * gcc.target/m68k/tls-gd.c: New test. + * gcc.target/m68k/tls-ld.c: New test. + * gcc.target/m68k/tls-ie-xgot.c: New test. + * gcc.target/m68k/tls-le-xtls.c: New test. + * gcc.target/m68k/tls-gd-xgot.c: New test. + * gcc.target/m68k/tls-ld-xgot.c: New test. + * gcc.target/m68k/tls-ld-xtls.c: New test. + * gcc.target/m68k/tls-ld-xgot-xtls.c: New test. + +2009-05-18 Martin Jambor <mjambor@suse.cz> + + * gcc.dg/ipa/modif-1.c: Do not check for unmodified int parameter. + +2009-05-17 H.J. Lu <hongjiu.lu@intel.com> + + PR c/40172 + * gcc.dg/pr40172.c: New. + +2009-05-17 Jason Merrill <jason@redhat.com> + + PR c++/40139 + * g++.dg/template/dtor6.C: New. + +2009-05-17 Joseph Myers <joseph@codesourcery.com> + + * g++.dg/warn/translate-ice-1.C: New test. + +2009-05-17 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + + * gfortran.dg/c_kind_int128_test1.f03: Also test C_INT_FAST128_T. + * gfortran.dg/c_kind_int128_test2.f03: Update comment. + * gfortran.dg/c_kind_params.f90: Also test int_fast*_t. + * gfortran.dg/c_kinds.c: Add int_fast*_t arguments. + +2009-05-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + + PR fortran/33197 + * gfortran.dg/erf_2.F90: New test. + * gfortran.dg/erfc_scaled_2.f90: New test. + +2009-05-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + + PR fortran/31243 + * gfortran.dg/string_1.f90: New test. + * gfortran.dg/string_2.f90: New test. + * gfortran.dg/string_3.f90: New test. + +2009-05-16 David Billinghurst <billingd@gcc.gnu.org> + + * gfortran.dg/default_format_denormal_1.f90: XFAIL on cygwin. + * gfortran.dg/default_format_1.f90: Revert change of 2009-05-12 + +2009-05-15 Ian Lance Taylor <iant@google.com> + + * gcc.dg/Wcxx-compat-10.c: New testcase. + +2009-05-15 Manuel López-Ibáñez <manu@gcc.gnu.org> + + PR 16302 + * gcc.dg/pr16302.c: New. + * g++.dg/warn/pr16302.C: New. + +2009-05-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * gcc.dg/torture/builtin-math-5.c: New. + * gcc.dg/torture/builtin-math-6.c: New. + * lib/target-supports.exp (check_effective_target_mpc): New. + +2009-05-15 Jan Hubicka <jh@suse.cz> + + * gcc.dg/tree-ssa/inline-3.c: New testcase + +2009-05-15 Jan Hubicka <jh@suse.cz> + + * gcc.target/i386/align-main-1.c (check): Mark noinline. + * gcc.target/i386/align-main-2.c (check): Mark noinline. + * gcc.dg/ipa/ipa-4.c: Disable early inlining. + * gcc.dg/vect/vect-iv-10.c (main1): Mark noinline. + * gcc.dg/vect/costmodel/i386/costmodel-vect-33.c (main1): + Mark noinline. + * gcc.dg/vect/costmodel/x86_64/costmodel-vect-33.c (main1): + Mark noinline. + * gcc.dg/vect/pr31699.c (foo): Mark noinline. + * gcc.dg/vect/pr18400.c (main1): Mark noinline. + +2009-05-15 Jan Hubicka <jh@suse.cz> + + * sibcall-6.c: Add no-ipa-cp argument and mark the function to be + optimized by sibcall noinline. + +2009-05-15 Jan Hubicka <jh@suse.cz> + + * sibcall-1.c (track): Mark noinline. + * sibcall-2.c (track): Mark noinline. + * sibcall-3.c (track): Mark noinline. + * sibcall-4.c (track): Mark noinline. + +2009-05-15 Jan Hubicka <jh@suse.cz> + + * flatten-2.c: Disable early inlining; add comment. + * flatten-3.c: New test based on flatten-2.c. + +2009-05-15 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/39999 + * gcc.c-torture/compile/pr39999.c: New testcase. + +2009-05-15 Joseph Myers <joseph@codesourcery.com> + + * gcc.c-torture/compile/ptr-conv-1.c: New test. + +2009-05-14 Ian Lance Taylor <iant@google.com> + + * gcc.dg/Wcxx-compat-9.c: New testcase. + +2009-05-14 Janus Weil <janus@gcc.gnu.org> + + PR fortran/39996 + * gfortran.dg/func_decl_2.f90: Modified (replacing warnings by errors). + * gfortran.dg/duplicate_type_2.f90: Ditto. + * gfortran.dg/duplicate_type_3.f90: New. + +2009-05-14 Laurent GUERBY <laurent@guerby.net> + + * ada/acats/tests/c3/c38202a.ada: Use Impdef. + * ada/acats/tests/c5/c59002c.ada: Likewise. + +2009-05-13 Taras Glek <tglek@mozilla.com> + + * g++.dg/plugin/attribute_plugin-test-1.C: Testcase input for custom + attributes and decl smashing. + * g++.dg/plugin/attribute_plugin.c: Testcase plugin to test user + attributes. + * g++.dg/plugin/dumb_plugin.c: Fixed typo. + * g++.dg/plugin/plugin.exp: Added attribute_plugin test . + +2009-05-14 Jakub Jelinek <jakub@redhat.com> + + PR fortran/39865 + * gfortran.dg/pr39865.f90: New test. + * gfortran.dg/hollerith.f90: Don't expect errors for CHARACTER + arrays in FMT=. + * gfortran.dg/hollerith_f95.f90: Likewise. + * gfortran.dg/hollerith6.f90: New test. + * gfortran.dg/hollerith7.f90: New test. + +2009-05-14 Manuel Lopez-Ibanez <manu@gcc.gnu.org> + + PR cpp/36674 + * gcc.dg/cpp/pr36674.i: New. + +2009-05-14 Ben Elliston <bje@au.ibm.com> + + PR middle-end/40035 + * gcc.c-torture/compile/pr40035.c: New test. + +2009-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * gcc.target/i386/pr39543-2.c: Skip if ilp32 && pic. + +2009-05-12 Tobias Burnus <burnus@net-b.de> + + PR fortran/40110 + * gfortran.dg/bind_c_usage_18.f90: Change dg-error into dg-warning. + * gfortran.dg/c_kind_tests_2.f03: Ditto. + * gfortran.dg/interop_params.f03: Ditto. + +2009-05-12 Jan Hubicka <jh@suse.cz> + + * gcc.dg/tree-ssa/loop-36.c: Reduce amount of iterations to 2 + so unrolling still happens. + * gcc.dg/ipa/ipacost-1.c: Prevent inlining + * gcc.dg/ipa/ipacost-2.c: Likewise. + * gcc.dg/vect/slp-3.c: Loop is no longer unrolled. + +2009-05-12 David Billinghurst <billingd@gcc.gnu.org> + + * gfortran.dg/default_format_1.f90: XFAIL on cygwin. + +2009-05-12 David Billinghurst <billingd@gcc.gnu.org> + + * lib/target-supports.exp (check_profiling_available): Return + false for -p on *-*-cygwin* targets. + +2009-05-11 H.J. Lu <hongjiu.lu@intel.com> + + PR tree-optimization/38632 + * g++.dg/tree-ssa/pr38632.C: New. + +2009-05-11 Jan Hubicka <jh@suse.cz> + + * gcc.dg/tree-ssa/pr21829.c: Simplify matching since + we now optimize better. + * gcc.dg/Wunreachable-8.c: Bogus warnings now come + out at different places. + * gcc.dg/vect/vect-92.c: Increase loop iteration count to prevent + unroling. + * gcc.dg/vect/vect-76.c: Likewise. + * gcc.dg/vect/vect-70.c: Likewise. + * gcc.dg/vect/vect-66.c: Likewise. + * gcc.dg/vect/no-section-anchors-vect-66.c: Likewise. + * gcc.dg/vect/slp-3.c: One of loops gets now fully unrolled. + +2009-05-11 H.J. Lu <hongjiu.lu@intel.com> + + PR middle-end/40080 + * gcc.c-torture/compile/pr40080.c: New. + +2009-05-11 Paolo Bonzini <bonzini@gnu.org> + + * gcc.c-torture/compile/pr40026.c: New testcase. + +2009-05-11 Janus Weil <janus@gcc.gnu.org> + + PR fortran/40089 + * gfortran.dg/proc_ptr_comp_7.f90: New. + +2009-05-11 Ira Rosen <irar@il.ibm.com> + + PR tree-optimization/40074 + * gcc.dg/vect/pr40074.c: New test. + +2009-05-10 Ian Lance Taylor <iant@google.com> + + * gcc.dg/Wcxx-compat-7.c: New testcase. + * gcc.dg/Wcxx-compat-8.c: New testcase. + * gcc.dg/c99-tag-1.c: Recognize new "originally defined here" notes. + * gcc.dg/pr17188-1.c: Likewise. + * gcc.dg/pr39084.c: Likewise. + +2009-05-10 Michael Matz <matz@suse.de> + + PR target/40031 + * gcc.dg/pr40031.c: New test. + +2009-05-10 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/40018 + * gfortran.dg/array_constructor_31.f90: New test. + +2009-05-10 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/40081 + * g++.dg/torture/pr40081.C: New testcase. + +2009-05-10 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/38863 + * gfortran.dg/dependency_24.f90: New test. + * gfortran.dg/dependency_23.f90: Clean up module files. + +2009-05-10 David Billinghurst <billingd@gcc.gnu.org> + + PR fortran/38956 + * gfortran.dg/chmod_1.f90: Don't run on *-*-cygwin*. + * gfortran.dg/chmod_2.f90: Likewise. + * gfortran.dg/chmod_3.f90: Likewise. + * gfortran.dg/open_errors.f90: Likewise. + +2009-05-09 Jan Hubicka <jh@suse.cz> + + PR middle-end/40043 + * g++.dg/eh/nested-try.C: New test. + +2009-05-08 Michael Meissner <meissner@linux.vnet.ibm.com> + + PR tree-optimization/40049 + * gcc.dg/vect/vect-shift-2.c: New test. + +2009-05-08 Joseph Myers <joseph@codesourcery.com> + + * gcc.dg/torture/complex-sign-mul-minus-one.c, + gcc.dg/torture/complex-sign-mul-one.c: New tests. + +2009-05-08 H.J. Lu <hongjiu.lu@intel.com> + + PR c/36892 + * g++.dg/warn/deprecated-6.C: New. + * gcc.dg/deprecated-4.c: Likewise. + * gcc.dg/deprecated-5.c: Likewise. + * gcc.dg/deprecated-6.c: Likewise. + +2009-05-08 H.J. Lu <hongjiu.lu@intel.com> + + * gcc.dg/vect/no-vfa-vect-37.c: Replace __aligned__(16) with + __aligned__(__BIGGEST_ALIGNMENT__). + * gcc.dg/vect/no-vfa-vect-43.c: Likewise. + * gcc.dg/vect/no-vfa-vect-49.c: Likewise. + * gcc.dg/vect/no-vfa-vect-53.c: Likewise. + * gcc.dg/vect/no-vfa-vect-57.c: Likewise. + * gcc.dg/vect/no-vfa-vect-61.c: Likewise. + * gcc.dg/vect/no-vfa-vect-79.c: Likewise. + * gcc.dg/vect/Os-vect-95.c: Likewise. + * gcc.dg/vect/pr20122.c: Likewise. + * gcc.dg/vect/pr36493.c: Likewise. + * gcc.dg/vect/pr37385.c: Likewise. + * gcc.dg/vect/slp-7.c: Likewise. + * gcc.dg/vect/slp-9.c: Likewise. + * gcc.dg/vect/slp-widen-mult-s16.c: Likewise. + * gcc.dg/vect/slp-widen-mult-u8.c: Likewise. + * gcc.dg/vect/vect-35.c: Likewise. + * gcc.dg/vect/vect-40.c: Likewise. + * gcc.dg/vect/vect-42.c: Likewise. + * gcc.dg/vect/vect-44.c: Likewise. + * gcc.dg/vect/vect-46.c: Likewise. + * gcc.dg/vect/vect-48.c: Likewise. + * gcc.dg/vect/vect-52.c: Likewise. + * gcc.dg/vect/vect-54.c: Likewise. + * gcc.dg/vect/vect-56.c: Likewise. + * gcc.dg/vect/vect-58.c: Likewise. + * gcc.dg/vect/vect-60.c: Likewise. + * gcc.dg/vect/vect-74.c: Likewise. + * gcc.dg/vect/vect-75.c: Likewise. + * gcc.dg/vect/vect-76.c: Likewise. + * gcc.dg/vect/vect-77-alignchecks.c: Likewise. + * gcc.dg/vect/vect-77.c: Likewise. + * gcc.dg/vect/vect-77-global.c: Likewise. + * gcc.dg/vect/vect-78-alignchecks.c: Likewise. + * gcc.dg/vect/vect-78.c: Likewise. + * gcc.dg/vect/vect-78-global.c: Likewise. + * gcc.dg/vect/vect-80.c: Likewise. + * gcc.dg/vect/vect-85.c: Likewise. + * gcc.dg/vect/vect-87.c: Likewise. + * gcc.dg/vect/vect-88.c: Likewise. + * gcc.dg/vect/vect-92.c: Likewise. + * gcc.dg/vect/vect-93.c: Likewise. + * gcc.dg/vect/vect-95.c: Likewise. + * gcc.dg/vect/vect-97.c: Likewise. + * gcc.dg/vect/vect-complex-1.c: Likewise. + * gcc.dg/vect/vect-complex-4.c: Likewise. + * gcc.dg/vect/vect-complex-5.c: Likewise. + * gcc.dg/vect/vect-multitypes-10.c: Likewise. + * gcc.dg/vect/vect-multitypes-11.c: Likewise. + * gcc.dg/vect/vect-multitypes-12.c: Likewise. + * gcc.dg/vect/vect-multitypes-13.c: Likewise. + * gcc.dg/vect/vect-multitypes-14.c: Likewise. + * gcc.dg/vect/vect-multitypes-15.c: Likewise. + * gcc.dg/vect/vect-multitypes-16.c: Likewise. + * gcc.dg/vect/vect-multitypes-17.c: Likewise. + * gcc.dg/vect/vect-multitypes-3.c: Likewise. + * gcc.dg/vect/vect-multitypes-6.c: Likewise. + * gcc.dg/vect/vect-multitypes-7.c: Likewise. + * gcc.dg/vect/vect-multitypes-8.c: Likewise. + * gcc.dg/vect/vect-multitypes-9.c: Likewise. + * gcc.dg/vect/vect-outer-1a.c: Likewise. + * gcc.dg/vect/vect-outer-1.c: Likewise. + * gcc.dg/vect/vect-outer-2a.c: Likewise. + * gcc.dg/vect/vect-outer-2b.c: Likewise. + * gcc.dg/vect/vect-outer-2.c: Likewise. + * gcc.dg/vect/vect-outer-2c.c: Likewise. + * gcc.dg/vect/vect-outer-2d.c: Likewise. + * gcc.dg/vect/vect-outer-3a.c: Likewise. + * gcc.dg/vect/vect-outer-3b.c: Likewise. + * gcc.dg/vect/vect-outer-3.c: Likewise. + * gcc.dg/vect/vect-outer-3c.c: Likewise. + * gcc.dg/vect/vect-outer-5.c: Likewise. + * gcc.dg/vect/vect-outer-6.c: Likewise. + * gcc.dg/vect/vect-reduc-dot-s16a.c: Likewise. + * gcc.dg/vect/vect-reduc-dot-s16b.c: Likewise. + * gcc.dg/vect/vect-reduc-dot-s8a.c: Likewise. + * gcc.dg/vect/vect-reduc-dot-s8b.c: Likewise. + * gcc.dg/vect/vect-reduc-dot-s8c.c: Likewise. + * gcc.dg/vect/vect-reduc-dot-u16a.c: Likewise. + * gcc.dg/vect/vect-reduc-dot-u16b.c: Likewise. + * gcc.dg/vect/vect-reduc-dot-u8a.c: Likewise. + * gcc.dg/vect/vect-reduc-dot-u8b.c: Likewise. + * gcc.dg/vect/vect-widen-mult-s16.c: Likewise. + * gcc.dg/vect/vect-widen-mult-s8.c: Likewise. + * gcc.dg/vect/vect-widen-mult-u16.c: Likewise. + * gcc.dg/vect/vect-widen-mult-u8.c: Likewise. + * gcc.dg/vect/wrapv-vect-reduc-dot-s8b.c: Likewise. + +2009-05-08 Joseph Myers <joseph@codesourcery.com> + + PR c/24581 + * gcc.dg/torture/complex-sign.h: New header. + * gcc.dg/torture/complex-sign-add.c, + gcc.dg/torture/complex-sign-mixed-add.c, + gcc.dg/torture/complex-sign-mixed-div.c, + gcc.dg/torture/complex-sign-mixed-mul.c, + gcc.dg/torture/complex-sign-mixed-sub.c, + gcc.dg/torture/complex-sign-mul.c, + gcc.dg/torture/complex-sign-sub.c: New tests. + +2009-05-08 Janus Weil <janus@gcc.gnu.org> + + PR fortran/39876 + * gfortran.dg/intrinsic_3.f90: New. + +2009-05-07 Janis Johnson <janis187@us.ibm.com> + + PR c/39037 + * gcc.dg/Wunsuffixed-float-constants-1.c: New test. + * gcc.dg/cpp/pragma-float-const-decimal64-1.c: New test. + * gcc.dg/dfp/float-constant-double.c: New test. + * gcc.dg/dfp/pragma-float-const-decimal64-1.c: New test. + * gcc.dg/dfp/pragma-float-const-decimal64-2.c: New test. + * gcc.dg/dfp/pragma-float-const-decimal64-3.c: New test. + * gcc.dg/dfp/pragma-float-const-decimal64-4.c: New test. + * gcc.dg/dfp/pragma-float-const-decimal64-5.c: New test. + * gcc.dg/dfp/pragma-float-const-decimal64-6.c: New test. + * gcc.dg/dfp/pragma-float-const-decimal64-7.c: New test. + * gcc.dg/dfp/pragma-float-const-decimal64-8.c: New test. + * g++.dg/cpp/pragma-float-const-decimal64-1.C: New test. + +2009-05-07 Jakub Jelinek <jakub@redhat.com> + + PR middle-end/40057 + * gcc.c-torture/execute/pr40057.c: New test. + +2009-05-06 James E. Wilson <wilson@codesourcery.com> + + * gcc.c-torture/compile/const-high-part.c: New test. + +2009-05-06 H.J. Lu <hongjiu.lu@intel.com> + + PR testsuite/40050 + * lib/plugin-support.exp (plugin-test-execute): Use HOSTCC to + build plugin. + +2009-05-06 Janus Weil <janus@gcc.gnu.org> + + PR fortran/39630 + * gfortran.dg/proc_decl_1.f90: Modified. + * gfortran.dg/proc_ptr_comp_1.f90: New. + * gfortran.dg/proc_ptr_comp_2.f90: New. + * gfortran.dg/proc_ptr_comp_3.f90: New. + * gfortran.dg/proc_ptr_comp_4.f90: New. + * gfortran.dg/proc_ptr_comp_5.f90: New. + * gfortran.dg/proc_ptr_comp_6.f90: New. + +2009-05-06 Dodji Seketeli <dodji@redhat.com> + + PR c++/17395 + * g++.dg/template/call7.C: New test. + +2009-05-06 Diego Novillo <dnovillo@google.com> + + * lib/plugin-support.exp: Do not prefix $GMPINC with -I. + +2009-05-06 H.J. Lu <hongjiu.lu@intel.com> + + * gfortran.dg/pr40021.f: Moved to ... + * gfortran.fortran-torture/execute/pr40021.f: Here. + +2009-05-06 Janis Johnson <janis187@us.ibm.com> + + PR middle-end/39986 + * gcc.dg/dfp/pr39986.c: New test. + +2009-05-06 Michael Matz <matz@suse.de> + + PR middle-end/40021 + * gfortran.dg/pr40021.f: New test. + +2009-05-06 Le-Chun Wu <lcwu@google.com> + + * lib/plugin-support.exp: New file containing support procs for + plugin testcases. + * lib/target-supports.exp (check_plugin_available): New proc. + * gcc.dg/plugin/plugin.exp: New driver script for gcc testcases. + * gcc.dg/plugin/selfassign.c: New plugin source file. + * gcc.dg/plugin/self-assign-test-1.c: New test. + * gcc.dg/plugin/self-assign-test-2.c: Likewise. + * g++.dg/README: Add description for plugin test. + * g++.dg/dg.exp: Exclude plugin tests from the general test list. + * g++.dg/plugin/plugin.exp: New driver script for g++ testcases. + * g++.dg/plugin/selfassign.c: New plugin source file. + * g++.dg/plugin/self-assign-test-1.C: New test. + * g++.dg/plugin/self-assign-test-2.C: Likewise. + * g++.dg/plugin/self-assign-test-3.C: Likewise. + * g++.dg/plugin/dumb_plugin.c: New plugin source file. + * g++.dg/plugin/dumb-plugin-test-1.C: New test. + +2009-05-06 Tobias Burnus <burnus@net-b.de> + + PR fortran/40041 + * gfortran.dg/intrinsic_2.f90: New test. + * gfortran.dg/intrinsic.f90: Add old and this PR as comment. + +2009-05-06 Joseph Myers <joseph@codesourcery.com> + + PR c/40032 + * gcc.dg/noncompile/incomplete-5.c: New test. + +2009-05-05 Jakub Jelinek <jakub@redhat.com> + + PR middle-end/39666 + * gcc.dg/pr39666-1.c: New test. + * gcc.dg/pr39666-2.c: Likewise. + * g++.dg/warn/Wuninitialized-4.C: Likewise. + * g++.dg/warn/Wuninitialized-5.C: Likewise. + * gfortran.dg/pr39666-1.f90: Likewise. + * gfortran.dg/pr39666-2.f90: Likewise. + +2009-05-05 Adam Nemet <anemet@caviumnetworks.com> + + * gcc.target/mips/mips.exp: Add -mtune= to mips_option_groups. + * gcc.target/mips/dspr2-MULT.c: Pass -mtune=74kc + * gcc.target/mips/dspr2-MULTU.c: Likewise. + +2009-05-05 Janus Weil <janus@gcc.gnu.org> + + PR fortran/39998 + * gfortran.dg/proc_ptr_17.f90: New. + +2009-05-05 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/40022 + * gcc.c-torture/execute/pr40022.c: New testcase. + +2009-05-05 Richard Guenther <rguenther@suse.de> + + PR middle-end/40023 + * gcc.c-torture/compile/pr40023.c: New testcase. + +2009-05-05 Nathan Sidwell <nathan@codesourcery.com> + + * g++.old-deja/g++.other/overload11.C: Adjust expected errors. + * g++.dg/template/overload9.C: Likewise. + * g++.dg/ext/ms-1.C: New. + +2009-05-05 Jakub Jelinek <jakub@redhat.com> + + PR c++/40013 + * g++.dg/ext/vla7.C: New test. + +2009-05-04 Joseph Myers <joseph@codesourcery.com> + + * gcc.dg/ucnid-11.c, gcc.dg/ucnid-12.c, gcc.dg/ucnid-13.c: New tests. + +2009-05-04 Joseph Myers <joseph@codesourcery.com> + + * gcc.dg/ucnid-8.c, gcc.dg/ucnid-9.c, gcc.dg/ucnid-10.c: New tests. + * gcc.dg/declspec-9.c, gcc.dg/declspec-10.c, gcc.dg/declspec-11.c: + Update expected errors. + +2009-05-04 Manuel Lopez-Ibanez <manu@gcc.gnu.org> + + PR c++/28152 + * g++.dg/parse/parser-pr28152.C: New. + * g++.dg/parse/parser-pr28152-2.C: New. + +2009-05-04 Joseph Myers <joseph@codesourcery.com> + + * gcc.dg/attr-alias-5.c, gcc.dg/ucnid-7.c: New tests. + +2009-05-03 Eric Botcazou <ebotcazou@adacore.com> + + * gcc.target/sparc/fpmul-2.c: Replace final_cleanup with optimized. + * gcc.target/sparc/fexpand-2.c: Likewise. + * gcc.target/sparc/fpmerge-2.c: Likewise. + * gcc.target/sparc/pdist-2.c: Likewise. + +2009-05-03 Richard Guenther <rguenther@suse.de> + + PR c/39983 + * gcc.c-torture/compile/pr39983.c: New testcase. + +2009-05-03 Joseph Myers <joseph@codesourcery.com> + + * gcc.dg/c99-complex-3.c: New test. + +2009-05-03 Joseph Myers <joseph@codesourcery.com> + + * gcc.dg/cpp/utf8-5byte-1.c: New test. + +2009-05-02 Joseph Myers <joseph@codesourcery.com> + + * gcc.dg/ucnid-6.c: Fix typo in dg-do directive. + +2009-05-02 Richard Guenther <rguenther@suse.de> + + PR middle-end/40001 + * gcc.target/spu/pr40001.c: New testcase. + +2009-04-30 Adam Nemet <anemet@caviumnetworks.com> + + * gcc.dg/ssp-1.c (__stack_chk_fail): Remove static. + +2009-04-30 Steve Ellcey <sje@cup.hp.com> + + PR middle-end/39579 + * gcc.dg/vect/vect-35.c: XFAIL for IA64 and Sparc. + * gfortran.dg/vect/fast-math-pr38968.f90: Ditto. + +2009-04-30 Janis Johnson <janis187@us.ibm.com> + + PR testsuite/39776 + * g++.dg/ext/altivec-15.C: Remove dg-error for messages that are + no longer issued. + +2009-04-30 David Ayers <ayers@fsfe.org> + + * lib/objc.exp (objc_init): Add and set gcc_warning_prefix + and gcc_error_prefix variables. + * objc.dg/bad-receiver-type.m: Update to match correct + diagnostics marker. + * objc.dg/encode-5.m: Likewise. + * objc.dg/id-1.m: Likewise. + * objc.dg/method-1.m: Likewise. + * objc.dg/method-6.m: Likewise. + * objc.dg/method-7.m: Likewise. + * objc.dg/method-9.m: Likewise. + * objc.dg/method-11.m: Likewise. + * objc.dg/method-20.m: Likewise. + * objc.dg/private-1.m: Likewise. + +2009-04-30 Janne Blomqvist <jb@gcc.gnu.org> + + PR libfortran/39667 + * gfortran.dg/advance_1.f90: Don't require target fd_truncate. + * gfortran.dg/advance_4.f90: Likewise + * gfortran.dg/advance_5.f90: Likewise + * gfortran.dg/append_1.f90: Likewise + * gfortran.dg/backslash_1.f90: Likewise + * gfortran.dg/backslash_2.f90: Likewise + * gfortran.dg/backslash_3.f: Likewise + * gfortran.dg/backspace_10.f90: Likewise + * gfortran.dg/backspace_3.f: Likewise + * gfortran.dg/backspace_4.f: Likewise + * gfortran.dg/backspace_5.f: Likewise + * gfortran.dg/backspace_8.f: Likewise + * gfortran.dg/backspace_9.f: Likewise + * gfortran.dg/complex_write.f90: Likewise + * gfortran.dg/convert_implied_open.f90: Likewise + * gfortran.dg/dollar_edit_descriptor_1.f: Likewise + * gfortran.dg/dos_eol.f: Likewise + * gfortran.dg/empty_format_1.f90: Likewise + * gfortran.dg/endfile.f: Likewise + * gfortran.dg/eof_1.f90: Likewise + * gfortran.dg/eor_1.f90: Likewise + * gfortran.dg/eor_handling_1.f90: Likewise + * gfortran.dg/eor_handling_2.f90: Likewise + * gfortran.dg/eor_handling_3.f90: Likewise + * gfortran.dg/eor_handling_4.f90: Likewise + * gfortran.dg/eor_handling_5.f90: Likewise + * gfortran.dg/error_recovery_5.f90: Likewise + * gfortran.dg/f2003_inquire_1.f03: Likewise + * gfortran.dg/f2003_io_4.f03: Likewise + * gfortran.dg/f2003_io_5.f03: Likewise + * gfortran.dg/f2003_io_7.f03: Likewise + * gfortran.dg/fgetc_1.f90: Likewise + * gfortran.dg/fgetc_2.f90: Likewise + * gfortran.dg/flush_1.f90: Likewise + * gfortran.dg/fmt_exhaust.f90: Likewise + * gfortran.dg/fmt_huge.f90: Likewise + * gfortran.dg/fmt_read.f90: Likewise + * gfortran.dg/fmt_t_1.f90: Likewise + * gfortran.dg/fmt_t_2.f90: Likewise + * gfortran.dg/fmt_t_3.f90: Likewise + * gfortran.dg/fmt_t_4.f90: Likewise + * gfortran.dg/fmt_t_5.f90: Likewise + * gfortran.dg/fmt_t_7.f: Likewise + * gfortran.dg/fseek.f90: Likewise + * gfortran.dg/ftell_1.f90: Likewise + * gfortran.dg/ftell_2.f90: Likewise + * gfortran.dg/func_derived_3.f90: Likewise + * gfortran.dg/inquire_9.f90: Likewise + * gfortran.dg/iostat_1.f90: Likewise + * gfortran.dg/iostat_2.f90: Likewise + * gfortran.dg/list_read_1.f90: Likewise + * gfortran.dg/list_read_4.f90: Likewise + * gfortran.dg/list_read_5.f90: Likewise + * gfortran.dg/list_read_7.f90: Likewise + * gfortran.dg/list_read_8.f90: Likewise + * gfortran.dg/list_read_9.f90: Likewise + * gfortran.dg/namelist_13.f90: Likewise + * gfortran.dg/namelist_14.f90: Likewise + * gfortran.dg/namelist_15.f90: Likewise + * gfortran.dg/namelist_16.f90: Likewise + * gfortran.dg/namelist_17.f90: Likewise + * gfortran.dg/namelist_18.f90: Likewise + * gfortran.dg/namelist_19.f90: Likewise + * gfortran.dg/namelist_20.f90: Likewise + * gfortran.dg/namelist_24.f90: Likewise + * gfortran.dg/namelist_26.f90: Likewise + * gfortran.dg/namelist_27.f90: Likewise + * gfortran.dg/namelist_28.f90: Likewise + * gfortran.dg/namelist_37.f90: Likewise + * gfortran.dg/namelist_38.f90: Likewise + * gfortran.dg/namelist_39.f90: Likewise + * gfortran.dg/namelist_40.f90: Likewise + * gfortran.dg/namelist_43.f90: Likewise + * gfortran.dg/namelist_44.f90: Likewise + * gfortran.dg/namelist_45.f90: Likewise + * gfortran.dg/namelist_46.f90: Likewise + * gfortran.dg/namelist_47.f90: Likewise + * gfortran.dg/namelist_48.f90: Likewise + * gfortran.dg/namelist_49.f90: Likewise + * gfortran.dg/namelist_50.f90: Likewise + * gfortran.dg/namelist_51.f90: Likewise + * gfortran.dg/namelist_52.f90: Likewise + * gfortran.dg/namelist_56.f90: Likewise + * gfortran.dg/namelist_char_only.f90: Likewise + * gfortran.dg/namelist_use.f90: Likewise + * gfortran.dg/namelist_use_only.f90: Likewise + * gfortran.dg/noadv_size.f90: Likewise + * gfortran.dg/open_access_append_1.f90: Likewise + * gfortran.dg/pad_no.f90: Likewise + * gfortran.dg/pr12884.f: Likewise + * gfortran.dg/pr17090.f90: Likewise + * gfortran.dg/pr17285.f90: Likewise + * gfortran.dg/pr17286.f90: Likewise + * gfortran.dg/pr18122.f90: Likewise + * gfortran.dg/pr18210.f90: Likewise + * gfortran.dg/pr18392.f90: Likewise + * gfortran.dg/pr19155.f: Likewise + * gfortran.dg/pr19216.f: Likewise + * gfortran.dg/pr19467.f90: Likewise + * gfortran.dg/pr19657.f: Likewise + * gfortran.dg/pr20257.f90: Likewise + * gfortran.dg/read_bad_advance.f90: Likewise + * gfortran.dg/read_eof_2.f90: Likewise + * gfortran.dg/read_eof_4.f90: Likewise + * gfortran.dg/read_many_1.f: Likewise + * gfortran.dg/read_noadvance.f90: Likewise + * gfortran.dg/read_repeat.f90: Likewise + * gfortran.dg/read_size_noadvance.f90: Likewise + * gfortran.dg/read_x_past.f: Likewise + * gfortran.dg/record_marker_1.f90: Likewise + * gfortran.dg/record_marker_3.f90: Likewise + * gfortran.dg/rewind_1.f90: Likewise + * gfortran.dg/runtime_warning_1.f90: Likewise + * gfortran.dg/shape_3.f90: Likewise + * gfortran.dg/slash_1.f90: Likewise + * gfortran.dg/stat_1.f90: Likewise + * gfortran.dg/stat_2.f90: Likewise + * gfortran.dg/streamio_11.f90: Likewise + * gfortran.dg/streamio_3.f90: Likewise + * gfortran.dg/streamio_4.f90: Likewise + * gfortran.dg/streamio_9.f90: Likewise + * gfortran.dg/tl_editing.f90: Likewise + * gfortran.dg/unf_io_convert_1.f90: Likewise + * gfortran.dg/unf_io_convert_2.f90: Likewise + * gfortran.dg/unf_read_corrupted_2.f90: Likewise + * gfortran.dg/unf_short_record_1.f90: Likewise + * gfortran.dg/utf8_1.f03: Likewise + * gfortran.dg/utf8_2.f03: Likewise + * gfortran.dg/widechar_IO_1.f90: Likewise + * gfortran.dg/write_check3.f90: Likewise + * gfortran.dg/write_rewind_2.f: Likewise + * gfortran.dg/x_slash_2.f: Likewise + +2009-04-29 Richard Guenther <rguenther@suse.de> + + PR target/39943 + * lib/target-supports.exp (check_effective_target_vect_uintfloat_cvt): + New. + (check_effective_target_vect_floatuint_cvt): Likewise. + * gcc.dg/vect/slp-10.c: Adjust. + * gcc.dg/vect/slp-11.c: Adjust. + * gcc.dg/vect/slp-12b.c: Adjust. + * gcc.dg/vect/slp-33.c: Adjust. + * gcc.c-torture/compile/pr39943.c: New testcase. + +2009-04-29 Richard Guenther <rguenther@suse.de> + + PR middle-end/39937 + * gcc.c-torture/compile/pr39937.c: New testcase. + +2009-04-29 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/39941 + * gcc.c-torture/compile/pr39941.c: New testcase. + +2009-04-29 Bernd Schmidt <bernd.schmidt@analog.com> + + * gcc.target/bfin/20090411-1.c: New test. + +2009-04-29 Anmol P. Paralkar <anmol@freescale.com> + + PR target/39565 + * gcc.dg/pr39565.c: New testcase. + +2009-04-28 Nathan Sidwell <nathan@codesourcery.com> + + * gcc.target/i386/sse4_1-roundps-1.c: Skip for vxworks kernel. + * gcc.target/i386/sse4_1-roundpd-1.c: Likewise. + * gcc.target/i386/sse4_1-roundps-3.c: Likewise. + * gcc.target/i386/sse4_1-roundpd-3.c: Likewise. + * gcc.target/i386/sse4_1-roundss-1.c: Likewise. + * gcc.target/i386/sse4_1-roundsd-1.c: Likewise. + * gcc.target/i386/sse4_1-roundss-3.c: Likewise. + * gcc.target/i386/sse4_1-roundsd-3.c: Likewise. + * gcc.target/i386/sse4_1-roundps-2.c: Likewise. + * gcc.target/i386/sse4_1-roundpd-2.c: Likewise. + * gcc.target/i386/sse4_1-roundss-2.c: Likewise. + * gcc.target/i386/sse4_1-roundsd-2.c: Likewise. + * gcc.target/i386/sse4_1-roundss-4.c: Likewise. + * gcc.target/i386/sse4_1-roundsd-4.c: Likewise. + * gcc.target/i386/pr37191.c: Likewise. + * gcc.target/i386/reload-1.c: Likewise. + * g++.old-deja/g++.pt/repo1.C: Skip for vxworks kernel. + * g++.old-deja/g++.pt/repo2.C: Likewise. + * g++.old-deja/g++.pt/repo3.C: Likewise. + * g++.old-deja/g++.pt/repo4.C: Likewise. + * g++.old-deja/g++.pt/instantiate4.C: Likewise. + * g++.old-deja/g++.pt/instantiate6.C: Likewise. + * g++.dg/template/repo1.C: Likewise. + * g++.dg/template/repo2.C: Likewise. + * g++.dg/template/repo3.C: Likewise. + * g++.dg/template/repo4.C: Likewise. + * g++.dg/template/repo5.C: Likewise. + * g++.dg/template/repo6.C: Likewise. + * g++.dg/template/repo7.C: Likewise. + * g++.dg/template/repo8.C: Likewise. + * g++.dg/template/repo9.C: Likewise. + * g++.dg/rtti/repo1.C: Likewise. + * gcc.dg/cpp/_Pragma6.c: Skip for vxworks. + * g++.dg/cpp/_Pragma1.C: Skip for vxworks. + * gcc.dg/pthread-init-1.c: Xfail for vxworks rtp. + * g++.dg/other/PR23205.C: Skip for vxworks. + * g++.dg/ext/visibility/class1.C: Requires PIC. + * g++.dg/eh/async-unwind2.C: Requires PIC. + * lib/target-supports.exp (check_cxa_atexit_available): Vxworks + does not have cxa_exit. + +2009-04-28 Jing Yu <jingyu@google.com> + + PR testsuite/39790 + * lib/target-supports.exp (check_effective_target_tls): Remove + comment of caching. + (check_effective_target_tls_native): Likewise. + (check_effective_target_tls_runtime): Likewise. + * gcc.dg/tls/alias-1.c (dg-require-effective-target): Change target + tls to tls_runtime. + * gcc.dg/tls/opt-2.c: Add dg-require-effective-target tls_runtime. + +2009-04-28 Janus Weil <janus@gcc.gnu.org> + + PR fortran/39946 + * gfortran.dg/proc_ptr_16.f90: New. + +2009-04-28 Steve Ellcey <sje@cup.hp.com> + + * gcc.target/ia64/sync-1.c: Check for cmpxchg8 only if + lp64 is true. + +2009-04-28 Richard Guenther <rguenther@suse.de> + + PR middle-end/39937 + * gfortran.fortran-torture/compile/pr39937.f: New testcase. + +2009-04-28 H.J. Lu <hongjiu.lu@intel.com> + + * g++.dg/warn/pr35652.C: Removed. + * gcc.dg/pr35652.c: Likewise. + +2009-04-28 Alexander Monakov <amonakov@ispras.ru> + + * gcc.target/ia64/20071210-2.c: New testcase. + +2009-04-28 Uros Bizjak <ubizjak@gmail.com> + + PR c/39323 + * gcc.dg/pr39323-2.c: Also scan for alignment in log2 format. + * gcc.dg/pr39323-3.c: Ditto. + +2009-04-28 Janus Weil <janus@gcc.gnu.org> + + PR fortran/39930 + PR fortran/39931 + * gfortran.dg/ambiguous_reference_2.f90: New. + * gfortran.dg/pointer_assign_7.f90: New. + +2009-04-28 Nathan Froyd <froydnj@codesourcery.com> + Mark Mitchell <mark@codesourcery.com> + + * gcc.target/powerpc/20020118-1.c: Skip on vxworks targets. + * gcc.dg/20020103-1.c: Check for __ppc. + * gcc.dg/asm-b.c: Check for __ppc. + * gcc.dg/20020919-1.c: Check for __ppc. + * gcc.dg/20020312-2.c: Likewise. + * gcc.dg/trampoline-1.c: Add appropriate NO_TRAMPOLINES #ifndefs. + * gcc.dg/torture/asm-subreg-1.c: Skip on sparc vxworks targets. + * gcc.dg/attr-weakref-1.c: Skip on selected vxworks targets. + * g++.dg/warn/weak1.C: Likewise. + * gcc.dg/tree-ssa/20030714-1.c (find_base_value): Declare as + static so appropriate optimizations kick in. + (find_base_value_wrapper): New function. + * g++.dg/eh/simd-5.C: Fix target triplet. + * gcc.target/arm/long-calls-1.c: Skip for -mlong-calls. + +2009-04-28 Uros Bizjak <ubizjak@gmail.com> + H.J. Lu <hongjiu.lu@intel.com> + + PR target/39911 + * gcc.target/i386/pr39911.c: New test. + +2009-04-28 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/39879 + * gfortran.dg/alloc_comp_assign_10.f90: New test. + +2009-04-28 Ben Elliston <bje@au.ibm.com> + + PR c++/35652 + Revert: + + 2009-03-27 Manuel Lopez-Ibanez <manu@gcc.gnu.org> + + * gcc.dg/pr35652.C: New. + * g++.dg/warn/pr35652.C: New. + * gcc.dg/format/plus-1.c: Adjust message. + +2009-04-27 DJ Delorie <dj@redhat.com> + + * lib/target-supports.exp (check_effective_target_double64): New. + (check_effective_target_double64plus): New. + (check_effective_target_large_double): New. + * gcc.dg/Wconversion-real-integer.c: Require double64plus. + * gcc.dg/div-double-1.c: Likewise. + * gcc.dg/Wconversion-real.c: Require large_double. + * gcc.dg/cdce1.c: Require large_double instead of checking targets. + + * gcc.c-torture/execute/ieee/unsafe-fp-assoc-1.c: Skip if doubles + are too small. + + * gcc.c-torture/execute/ieee/20010226-1.c: Mark all floating point + constants as long. + +2009-04-27 Ian Lance Taylor <iant@google.com> + + * gcc.dg/Wcxx-compat-5.c: New testcase. + * gcc.dg/Wcxx-compat-6.c: New testcase. + +2009-04-27 Trevor Smigiel <trevor_smigiel@playstation.sony.com> + + Allow non-constant arguments to conversion intrinsics. + * gcc.target/spu/intrinsics-3.c: Update tests. + +2009-04-27 Richard Guenther <rguenther@suse.de> + + PR middle-end/39928 + * gcc.c-torture/compile/pr39928-1.c: New testcase. + * gcc.c-torture/compile/pr39928-2.c: Likewise. + +2009-04-27 H.J. Lu <hongjiu.lu@intel.com> + + PR target/39903 + * gcc.dg/torture/pr39903-1.c: New. + * gcc.dg/torture/pr39903-2.c: Likewise. + +2009-04-27 Revital Eres <eres@il.ibm.com> + + * gcc.dg/sms-1.c: Add noinline attribute, create sms dump file + and check it. + * gcc.dg/sms-2.c: Add dump check. + * gcc.dg/sms-3.c: Add noinline attribute, create sms dump file + and check it. + * gcc.dg/sms-4.c: Likewise. + * gcc.dg/sms-5.c: Likewise. + * gcc.dg/sms-6.c: Likewise. + * gcc.dg/sms-7.c: Likewise. + * gcc.dg/sms-antideps.c: Rename to... + * gcc.dg/sms-8.c: This and add sms dump file and check it. + +2009-04-27 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/opt2.adb: New test. + +2009-04-27 Jakub Jelinek <jakub@redhat.com> + + PR c++/39875 + * g++.dg/warn/Wunused-15.C: New test. + +2009-04-26 Michael Matz <matz@suse.de> + + Expand from SSA. + * gcc.dg/tree-ssa/20030728-1.c: Use -rtl-expand-details dump and + change regexps. + * gcc.target/i386/pr37248-1.c: Modified. + * gcc.target/i386/pr37248-3.c: Modified. + * gcc.target/i386/pr37248-2.c: Modified. + * gnat.dg/aliasing1.adb: Modified. + * gnat.dg/pack9.adb: Modified. + * gnat.dg/aliasing2.adb: Modified. + * gcc.dg/strict-overflow-2.c: Modified. + * gcc.dg/autopar/reduc-1char.c: Modified. + * gcc.dg/autopar/reduc-2char.c: Modified. + * gcc.dg/autopar/reduc-1.c: Modified. + * gcc.dg/autopar/reduc-2.c: Modified. + * gcc.dg/autopar/reduc-3.c: Modified. + * gcc.dg/autopar/reduc-6.c: Modified. + * gcc.dg/autopar/reduc-7.c: Modified. + * gcc.dg/autopar/reduc-8.c: Modified. + * gcc.dg/autopar/reduc-9.c: Modified. + * gcc.dg/autopar/reduc-1short.c: Modified. + * gcc.dg/autopar/reduc-2short.c: Modified. + * gcc.dg/autopar/parallelization-1.c: Modified. + * gcc.dg/strict-overflow-4.c: Modified. + * gcc.dg/strict-overflow-6.c: Modified. + * gcc.dg/gomp/combined-1.c: Modified. + * gcc.dg/no-strict-overflow-1.c: Modified. + * gcc.dg/no-strict-overflow-3.c: Modified. + * gcc.dg/no-strict-overflow-5.c: Modified. + * gcc.dg/tree-ssa/reassoc-13.c: Modified. + * gcc.dg/tree-ssa/pr18134.c: Modified. + * gcc.dg/tree-ssa/20030824-1.c: Modified. + * gcc.dg/tree-ssa/vector-2.c: Modified. + * gcc.dg/tree-ssa/forwprop-9.c: Modified. + * gcc.dg/tree-ssa/loop-21.c: Modified. + * gcc.dg/tree-ssa/20030824-2.c: Modified. + * gcc.dg/tree-ssa/vector-3.c: Modified. + * gcc.dg/tree-ssa/asm-3.c: Modified. + * gcc.dg/tree-ssa/pr23294.c: Modified. + * gcc.dg/tree-ssa/loop-22.c: Modified. + * gcc.dg/tree-ssa/loop-15.c: Modified. + * gcc.dg/tree-ssa/prefetch-4.c: Modified. + * gcc.dg/tree-ssa/pr22051-1.c: Modified. + * gcc.dg/tree-ssa/pr20139.c: Modified. + * gcc.dg/tree-ssa/scev-cast.c: Modified. + * gcc.dg/tree-ssa/pr22051-2.c: Modified. + * gcc.dg/tree-ssa/reassoc-1.c: Modified. + * gcc.dg/tree-ssa/loop-5.c: Modified. + * gcc.dg/tree-ssa/pr19431.c: Modified. + * gcc.dg/tree-ssa/pr32044.c: Modified. + * gcc.dg/tree-ssa/prefetch-7.c: Modified. + * gcc.dg/tree-ssa/loop-19.c: Modified. + * gcc.dg/tree-ssa/loop-28.c: Modified. + * gcc.dg/tree-ssa/ssa-pre-15.c: Modified. + * gcc.dg/tree-ssa/divide-1.c: Modified. + * gcc.dg/tree-ssa/inline-1.c: Modified. + * gcc.dg/tree-ssa/divide-3.c: Modified. + * gcc.dg/tree-ssa/pr30978.c: Modified. + * gcc.dg/tree-ssa/alias-6.c: Modified. + * gcc.dg/tree-ssa/divide-4.c: Modified. + * gcc.dg/tree-ssa/alias-11.c: Modified. + * gcc.dg/no-strict-overflow-7.c: Modified. + * gcc.dg/strict-overflow-1.c: Modified. + * gcc.dg/pr15784-4.c: Modified. + * gcc.dg/pr34263.c: Modified. + * gcc.dg/strict-overflow-3.c: Modified. + * gcc.dg/tree-prof/stringop-1.c: Modified. + * gcc.dg/tree-prof/val-prof-1.c: Modified. + * gcc.dg/tree-prof/val-prof-2.c: Modified. + * gcc.dg/tree-prof/val-prof-3.c: Modified. + * gcc.dg/tree-prof/val-prof-4.c: Modified. + * gcc.dg/no-strict-overflow-2.c: Modified. + * gcc.dg/no-strict-overflow-4.c: Modified. + * gcc.dg/no-strict-overflow-6.c: Modified. + * g++.dg/tree-ssa/pr27090.C: Modified. + * g++.dg/tree-ssa/tmmti-2.C: Modified. + * g++.dg/tree-ssa/ptrmemfield.C: Modified. + * g++.dg/tree-ssa/pr19807.C: Modified. + * g++.dg/opt/pr30965.C: Modified. + * g++.dg/init/new17.C: Modified. + * gfortran.dg/whole_file_6.f90: Modified. + * gfortran.dg/whole_file_5.f90: Modified. + * gfortran.dg/reassoc_1.f90: Modified. + * gfortran.dg/reassoc_3.f90: Modified. + +2009-04-26 Steven G. Kargl <kargl@gcc.gnu.org> + + PR fortran/39893 + * gfortran.dg/assumed_charlen_dummy.f90: New Test. + +2009-04-26 Jakub Jelinek <jakub@redhat.com> + + PR inline-asm/39543 + * gcc.target/i386/pr39543-1.c: New test. + * gcc.target/i386/pr39543-2.c: New test. + * gcc.target/i386/pr39543-3.c: New test. + + PR c/39889 + * gcc.dg/Wunused-value-3.c: New test. + +2009-04-26 Joseph Myers <joseph@codesourcery.com> + + PR c/39581 + * gcc.dg/c99-const-expr-14.c, gcc.dg/gnu99-const-expr-4.c, + gcc.dg/vla-21.c: New tests. + +2009-04-26 Joseph Myers <joseph@codesourcery.com> + + PR c/39556 + * gcc.dg/inline-34.c: New test. + +2009-04-25 Joseph Myers <joseph@codesourcery.com> + + * gcc.dg/enum-const-1.c, gcc.dg/enum-const-2.c, + gcc.dg/enum-const-3.c: New tests. + * gcc.dg/gnu89-const-expr-1.c, gcc.dg/gnu99-const-expr-1.c: Use + -pedantic-errors. Update expected diagnostics. + +2009-04-25 Joseph Myers <joseph@codesourcery.com> + + PR c/39582 + * gcc.dg/vla-20.c: New test. + +2009-04-25 Joseph Myers <joseph@codesourcery.com> + + PR c/39564 + * gcc.dg/vla-19.c: New test. + +2009-04-25 Joseph Myers <joseph@codesourcery.com> + + PR preprocessor/39559 + * gcc.dg/c99-intconst-2.c: New test. + +2009-04-25 Jan Hubicka <jh@suse.cz> + + * g++.dg/tree-ssa/ehcleanup-1.C: Update. + +2009-04-25 Janus Weil <janus@gcc.gnu.org> + + PR fortran/39688 + * gfortran.dg/import7.f90: New. + +2009-04-24 Richard Guenther <rguenther@suse.de> + + * gcc.dg/tree-ssa/vrp48.c: Fix. + +2008-04-24 Doug Kwan <dougkwan@google.com> + + * g++.dg/init/copy7.C: Only abort in memcpy if source and + destination are the same. + +2009-04-24 Richard Guenther <rguenther@suse.de> + + * gcc.dg/tree-ssa/vrp48.c: New testcase. + +2009-04-24 Joseph Myers <joseph@codesourcery.com> + + * gcc.dg/array-const-1.c, gcc.dg/array-const-2.c, + gcc.dg/array-const-3.c: New tests. + +2009-04-24 Ian Lance Taylor <iant@google.com> + + * gcc.dg/Wcxx-compat-4.c: New testcase. + +2009-04-24 Daniel Kraft <d@domob.eu> + + * gfortran.dg/typebound_generic_1.f03: Change so that no error is + expected on already erraneous symbol (renamed to fresh one). + +2009-04-24 Paolo Bonzini <bonzini@gnu.org> + + PR middle-end/39867 + * gcc.dg/pr39867.c: New. + +2009-04-24 Janus Weil <janus@gcc.gnu.org> + + PR fortran/39861 + PR fortran/39864 + * gfortran.dg/intrinsic_1.f90: New. + +2009-04-24 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/alignment7.adb: New test. + * gnat.dg/alignment8.adb: Likewise. + +2009-04-24 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/specs/pr34799.ads: Rename to rep_clause1.ads. + * gnat.dg/specs/rep_clause2.ads: New test. + +2009-04-24 Jakub Jelinek <jakub@redhat.com> + + PR rtl-optimization/39794 + * gcc.dg/pr39794.c: New test. + +2009-04-23 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/atomic1.adb: New test. + * gnat.dg/atomic1_pkg.ads: New helper. + +2009-04-23 Steve Ellcey <sje@cup.hp.com> + + PR testsuite/39623 + * gcc.dg/vect/no-vfa-vect-57.c: XFAIL when vect_no_align. + * gcc.dg/vect/no-vfa-vect-61.c: Ditto. + +2009-04-23 Rafael Avila de Espindola <espindola@google.com> + + * gcc.dg/format/gcc_diag-1.c (foo): Don't check that %E produces a + warning. + +2009-04-22 Andrew Pinski <andrew_pinski@playstation.sony.com> + + PR C/31499 + * gcc.dg/vector-init-1.c: New testcase. + * gcc.dg/vector-init-2.c: New testcase. + +2009-04-22 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/enum2.adb: New test. + * gnat.dg/enum2_pkg.ads: New helper. + +2009-04-22 Jakub Jelinek <jakub@redhat.com> + + PR c/39855 + * gcc.dg/torture/pr39855.c: New test. + +2009-04-22 Dodji Seketeli <dodji@redhat.com> + + PR c++/39639 + * g++.dg/cpp0x/pr39639.C: New test. + +2009-04-22 Mark Heffernan <meheff@google.com> + + * gcc.dg/profile-generate-3.c: New test. + +2009-04-22 Jan Hubicka <jh@suse.cz> + + * g++.dg/tree-ssa/ehcleanup-1.C: New testcase. + +2009-04-22 Steve Ellcey <sje@cup.hp.com> + + PR testsuite/39623 + * gcc.dg/vect/no-vfa-vect-43.c Fix vect_no_align check. + +2009-04-22 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/39824 + * gcc.c-torture/compile/pr39824.c: New testcase. + +2009-04-22 Manuel Lopez-Ibanez <manu@gcc.gnu.org> + + PR c++/14875 + * g++.dg/parse/parser-pr14875.C: New. + * g++.dg/parse/parser-pr14875-2.C: New. + * g++.dg/parse/error6.C: Update match string. + +2009-04-22 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/39845 + * gcc.c-torture/compile/pr39845.c: New testcase. + +2009-04-22 Janus Weil <janus@gcc.gnu.org> + + PR fortran/39735 + * gfortran.dg/assumed_charlen_function_5.f90: Modified. + * gfortran.dg/external_initializer.f90: Modified. + * gfortran.dg/interface_26.f90: Modified. + * gfortran.dg/intrinsic_subroutine.f90: Modified. + * gfortran.dg/proc_ptr_3.f90: Modified. + * gfortran.dg/proc_ptr_15.f90: New. + * gfortran.dg/proc_ptr_result_1.f90: Modified. + +2009-04-21 Manuel Lopez-Ibanez <manu@gcc.gnu.org> + + PR c++/35711 + * g++.dg/warn/pr35711.C: New. + * g++.dg/conversion/ptrmem2.C: Update. + +2009-04-21 Joseph Myers <joseph@codesourcery.com> + + * ChangeLog, ChangeLog-1993-2007, ChangeLog-2008, ChangeLog.ptr, + ChangeLog.tree-ssa, README, README.QMTEST, README.compat, + README.gcc, g++.dg/README, g++.dg/compat/break/README, + g++.dg/gomp/gomp.exp, g++.old-deja/g++.brendan/README, + g++.old-deja/g++.oliva/ChangeLog, g++.old-deja/g++.robertl/README, + gcc.c-torture/ChangeLog.0, + gcc.c-torture/execute/builtins/builtins.exp, gcc.dg/README, + gcc.dg/gomp/gomp.exp, gcc.target/frv/frv.exp, + gcc.target/i386/math-torture/math-torture.exp, + gcc.target/mips/inter/mips16-inter.exp, + gcc.target/mips/mips-nonpic/README, + gcc.target/x86_64/abi/README.gcc, + gcc.target/xstormy16/xstormy16.exp, gcc.test-framework/README, + gfortran.dg/g77/README, gfortran.dg/gomp/gomp.exp, + gfortran.fortran-torture/ChangeLog.g95: Add copyright and license + notices. + * ChangeLog-1993-2007, ChangeLog: Correct dates. + +2009-04-21 Eric Botcazou <ebotcazou@adacore.com> + + * gcc.dg/debug/dwarf2/short-circuit.c: New test. + +2009-04-21 Richard Guenther <rguenther@suse.de> + + PR middle-end/39829 + * gcc.dg/torture/pr39829.c: New testcase. + +2009-04-21 Martin Jambor <mjambor@suse.cz> + + * gcc.dg/tree-ssa/cswtch-2.c: New test. + +2009-04-21 Manuel López-Ibáñez <manu@gcc.gnu.org> + + PR 16202 + * gcc.dg/sequence-pt-1.c: Remove XFAILs. + * gcc.dg/sequence-pt-2.c: New. + * gcc.dg/sequence-pt-3.c: New. + * g++.dg/warn/sequence-pt-1.C: Remove XFAILs. + * g++.dg/warn/sequence-pt-2.c: New. + * g++.dg/warn/sequence-pt-3.c: New. + +2009-04-21 Jakub Jelinek <jakub@redhat.com> + + * gcc.dg/torture/pr39678.c (struct X): Make c field signed char. + +2009-04-21 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/import1.ad[sb]: New test. + +2009-04-20 Andrew Pinski <andrew_pinski@playstation.sony.com> + + * objc/execute/exceptions/handler-1.m: For the NeXT runtime, just + return 0. + +2009-04-20 Tobias Burnus <burnus@net-b.de> + + PR fortran/39811 + * gfortran.dg/continuation_11.f90: New test. + +2009-04-21 Manuel Lopez-Ibanez <manu@gcc.gnu.org> + + PR c++/13358 + * gcc.dg/wtr-int-type-1.c: Use two dg-warning to match two + messages. Test for "long long" in system headers. + * gcc.dg/c99-longlong-2.c: New. + * g++.dg/warn/pr13358.C: New. + * g++.dg/warn/pr13358-2.C: New. + * g++.dg/warn/pr13358-3.C: New. + * g++.dg/warn/pr13358-4.C: New. + +2009-04-20 Andrew Pinski <andrew_pinski@playstation.sony.com> + + * gcc.dg/framework-2.c: Fix up for non existent includes + being fatal errors now. + +2009-04-20 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/39800 + * gfortran.dg/private_type_13.f90: New test. + * gfortran.dg/private_type_2.f90: Add option -std=f95. + +2009-04-20 Le-Chun Wu <lcwu@google.com> + + PR c++/39803 + * g++.dg/warn/Wunused-14.C: New test. + +2009-04-20 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/specs/small_alignment.ads: New test. + +2009-04-20 Ian Lance Taylor <iant@google.com> + + * gcc.dg/Wcxx-compat-3.c: New testcase. + +2009-04-20 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/pack13.ad[sb]: New test. + * gnat.dg/pack13_pkg.ads: New helper. + +2009-04-20 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/discr11.ad[sb]: New test. + * gnat.dg/discr11_pkg.ads: New helper. + +2009-04-20 Ira Rosen <irar@il.ibm.com> + + PR tree-optimization/39675 + * gcc.dg/vect/O3-pr39675-2.c: New test. + +2009-04-20 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/rep_clause3.adb: New test. + +2009-04-19 Joseph Myers <joseph@codesourcery.com> + + PR c/37481 + * gcc.dg/c99-flex-array-7.c: New test. + +2009-04-19 Joseph Myers <joseph@codesourcery.com> + + PR c/19771 + * gcc.c-torture/execute/vla-dealloc-1.c: New test. + +2009-04-19 Joseph Myers <joseph@codesourcery.com> + + PR c/38243 + * gcc.dg/c99-restrict-3.c: New test. + +2009-04-19 Joseph Myers <joseph@codesourcery.com> + + PR preprocessor/20078 + * gcc.dg/cpp/paste16.c, gcc.dg/cpp/redef4.c: New tests. + +2009-04-19 Eric Botcazou <ebotcazou@adacore.com> + + * lib/gnat.exp (local_find_gnatmake): Pass --LINK to gnatlink. + Do not pass -B$root after -margs. + +2009-04-19 Manuel López-Ibáñez <manu@gcc.gnu.org> + + PR c/32061 + PR c++/36954 + * gcc.dg/pr32061.c: New. + * gcc.dg/Wlogical-op-1.c: Update. + * g++.dg/warn/Wlogical-op-1.C: Update. + * g++.dg/warn/pr36954.C: New. + +2009-04-18 Joseph Myers <joseph@codesourcery.com> + + PR c/27676 + * gcc.dg/lvalue-5.c: New test. + +2009-04-18 Joseph Myers <joseph@codesourcery.com> + + PR c/22367 + * gcc.dg/lvalue-6.c, gcc.dg/lvalue-7.c: New tests. + +2009-04-18 Joseph Myers <joseph@codesourcery.com> + + * gcc.dg/cpp/include5.c: New test. + +2009-04-18 Joseph Myers <joseph@codesourcery.com> + + PR c/35210 + * gcc.dg/call-diag-2.c: New test. + +2009-04-18 Joseph Myers <joseph@codesourcery.com> + + PR preprocessor/39646 + * gcc.dg/cpp/line8.c: New test. + +2009-04-18 Joseph Myers <joseph@codesourcery.com> + + PR preprocessor/39647 + * gcc.dg/cpp/line7.c: New test. + +2009-04-18 Richard Guenther <rguenther@suse.de> + + PR middle-end/39804 + * gcc.target/i386/pr39804.c: New testcase. + +2009-04-18 Eric Botcazou <ebotcazou@adacore.com> + + * gcc.target/i386/pr39496.c: Compile with -mtune=i686. + * g++.dg/other/pr39496.C: Likewise. + +2009-04-18 Manuel López-Ibáñez <manu@gcc.gnu.org> + + PR middle-end/36902 + * gcc.dg/pr36902.c: New. + +2009-04-17 Diego Novillo <dnovillo@google.com> + + * gcc.c-torture/execute/builtins/strlen-3.c: Fix ODR + violation for variable 'inside_main'. + +2009-04-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> + + * gfortran.fortran-torture/execute/getarg_1.x: New file. + +2009-04-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> + + * gfortran.dg/vect/pr39318.f90: Guard with "target fopenmp". + +2009-04-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> + + * gfortran.dg/chmod_1.f90: Disable on spu-*-* targets. + * gfortran.dg/chmod_2.f90: Likewise. + * gfortran.dg/chmod_3.f90: Likewise. + * gfortran.dg/open_errors.f90: Likewise. + * gfortran.dg/stat_1.f90: Likewise. + * gfortran.dg/stat_2.f90: Likewise. + +2009-04-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> + + * gfortran.fortran-torture/execute/nan_inf_fmt.x: Skip on spu-*-*. + * gfortran.fortran-torture/execute/intrinsic_nearest.x: Likewise. + * gfortran.fortran-torture/execute/intrinsic_set_exponent.x: Likewise. + * gfortran.dg/nearest_1.f90: Likewise. + * gfortran.dg/nearest_3.f90: Likewise. + * gfortran.dg/isnan_1.f90: Likewise. + * gfortran.dg/isnan_2.f90: Likewise. + * gfortran.dg/nan_1.f90: Likewise. + * gfortran.dg/nan_2.f90: Likewise. + * gfortran.dg/nan_3.f90: Likewise. + * gfortran.dg/nan_4.f90: Likewise. + * gfortran.dg/module_nan.f90: Likewise. + * gfortran.dg/int_conv_2.f90: Likewise. + * gfortran.dg/init_flag_3.f90: Likewise. + * gfortran.dg/namelist_42.f90: Likewise. + * gfortran.dg/namelist_43.f90: Likewise. + * gfortran.dg/real_const_3.f90: Likewise. + * gfortran.dg/transfer_simplify_1.f90: Likewise. + + * gfortran.dg/default_format_1.f90: XFAIL on spu-*-*. + * gfortran.dg/default_format_denormal_1.f90: XFAIL on spu-*-*. + * gfortran.dg/scalar_mask_2.f90: XFAIL on spu-*-*. + * gfortran.dg/integer_exponentiation_3.F90: XFAIL on spu-*-*. + * gfortran.dg/integer_exponentiation_5.F90: XFAIL on spu-*-*. + + * gfortran.dg/elemental_subroutine_1.f90: Relax "epsilon" check. + * gfortran.dg/gamma_5.f90: Likewise. + +2009-04-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> + + * lib/gcc-dg.exp (gcc-dg-prune): Make linker message check + less strict so it also works with auto-overlay support. + * lib/gcc-defs.exp (${tool}_check_unsupported_p): Add check + for "exceeds local store" linker errors on the SPU. + + * lib/gfortran.exp: Include target-supports.exp. + (gfortran_init): On SPU targets where automatic overlay support + is available, use it to build all Fortran test cases. + + * gfortran.dg/pr20257.f90: Skip on spu-*-* targets. + +2009-04-17 Arnaud Charlet <charlet@adacore.com> + + * gnat.dg/ref_type.ads, gnat.dg/ref_type.adb: Fix test after proper + rule enforced by gnat on taft types. + +2009-04-17 Jakub Jelinek <jakub@redhat.com> + + PR testsuite/39792 + * g++.dg/ext/complit11.C: Add empty dg-options. + +2009-04-16 Andrew Pinski <pinskia@gmail.com> + + PR c++/17570 + * g++.dg/template/defarg11.C: New test. + +2009-04-16 Andrew Pinski <pinskia@gmail.com> + + PR c++/28766 + * g++.dg/ext/complit11.C: New testcase. + +2009-04-15 Le-Chun Wu <lcwu@google.com> + + PR c++/39551 + * g++.dg/warn/Wunused-13.C: New testcase. + +2009-04-15 Ian Lance Taylor <iant@google.com> + + * gcc.dg/Wenum-compare-1.c: New testcase. + +2009-04-15 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/39764 + * g++.dg/torture/pr39764.C: New testcase. + +2009-04-15 Nathan Sidwell <nathan@codesourcery.com> + + * g++.dg/ext/altivec-17.C: New. + +2009-04-15 Arnaud Charlet <charlet@adacore.com> + + * gnat.dg/sync1.ads: Fix error now flagged by gnat. + * gnat.dg/specs/limited1.ads: Ditto. + +2009-04-14 Michael Meissner <meissner@linux.vnet.ibm.com> + + PR testsuite/39769 + * gcc.dg/vmx/3a-04.c (test): Don't rely on floating point equality + for testing the results of estimate instructions. + * gcc.dg/vmx/3a-04m.c (test): Ditto. + * gcc.dg/vmx/3a-05.c (test): Ditto. + +2009-04-14 Jason Merrill <jason@redhat.com> + + PR c++/39763 + * g++.dg/warn/Wshadow-4.C: Extend. + +2009-04-14 Uros Bizjak <ubizjak@gmail.com> + + * gcc.target/alpha/pr39740.c (dg-options): Add -mexplicit-relocs. + (do_D): Remove attribute hidden. + +2009-04-13 Jason Merrill <jason@redhat.com> + + PR c++/39480 + * g++.dg/init/copy7.C: New. + +2009-04-13 H.J. Lu <hongjiu.lu@intel.com> + + PR testsuite/39733 + * gcc.misc-tests/options.exp (check_for_options): Renamed to ... + (check_for_all_options): This. + +2009-04-13 Jason Merrill <jason@redhat.com> + + PR c++/39750 + * g++.dg/template/crash90.C: New. + +2009-04-12 Jason Merrill <jason@redhat.com> + + PR c++/39742 + * g++.dg/overload/extern-C-2.C: New. + +2009-04-12 Joseph Myers <joseph@codesourcery.com> + + PR preprocessor/31869 + * gcc.dg/cpp/strify5.c: New test. + +2009-04-12 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/enum1.adb: New test. + * gnat.dg/enum1_pkg.ads: New helper. + +2009-04-12 Uros Bizjak <ubizjak@gmail.com> + + PR target/39740 + * gcc.target/alpha/pr39740.c: New test. + +2009-04-11 Daniel Kraft <d@domob.eu> + + PR fortran/37746 + * gfortran.dg/bounds_check_strlen_1.f90: New test. + * gfortran.dg/bounds_check_strlen_2.f90: New test. + * gfortran.dg/bounds_check_strlen_3.f90: New test. + * gfortran.dg/bounds_check_strlen_4.f90: New test. + * gfortran.dg/bounds_check_strlen_5.f90: New test. + * gfortran.dg/bounds_check_strlen_6.f90: New test. + * gfortran.dg/bounds_check_strlen_7.f90: New test. + * gfortran.fortran-torture/execute/intrinsic_index.f90: Fix wrong + expected string length that failed with -fbounds-check now. + * gfortran.fortran-torture/execute/intrinsic_trim.f90: Ditto. + +2009-04-11 Janus Weil <janus@gcc.gnu.org> + + PR fortran/39692 + * gfortran.dg/proc_ptr_14.f90: New. + +2009-04-11 Richard Guenther <rguenther@suse.de> + + PR middle-end/39732 + * g++.dg/torture/pr39732.C: New testcase. + +2009-04-11 Daniel Franke <franke.daniel@gmail.com> + + * gfortran.dg/whole_file_5.f90: New. + * gfortran.dg/whole_file_6.f90: New. + +2009-04-11 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/39713 + * g++.dg/torture/pr39713.C: New testcase. + +2009-04-10 Richard Guenther <rguenther@suse.de> + + PR c/39712 + * gcc.dg/pr39712.c: New testcase. + +2009-04-10 H.J. Lu <hongjiu.lu@intel.com> + + PR c++/28301 + * g++.dg/cpp0x/enum2.C: Updated. + * g++.dg/debug/pr22514.C: Likewise. + * g++.dg/parse/enum2.C: Likewise. + * g++.dg/parse/enum3.C: Likewise. + * g++.dg/template/crash79.C: Likewise. + * g++.old-deja/g++.jason/cond.C: Likewise. + +2009-04-10 Chao-ying Fu <fu@mips.com> + + * gcc.target/mips/interrupt_handler.c: Change from compile to + assemble. + +2009-04-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * objc/execute/forward-1.x: Fix x86_64 entry typos. + +2009-04-10 Daniel Franke <franke.daniel@gmail.com> + + PR fortran/38709 + * gfortran.dg/zero_sized_6.f90: New. + +2009-04-10 Manuel López-Ibáñez <manu@gcc.gnu.org> + + PR c++/20118 + * g++.dg/parse/pr20118.C: New. + * g++.dg/template/spec16.C: Update. + +2009-04-09 H.J. Lu <hongjiu.lu@intel.com> + + PR testsuite/35621 + * gcc.target/i386/avx-vpabsb-1.c: Add -fno-strict-aliasing. + * gcc.target/i386/avx-vpabsb-1.c: Likewise. + * gcc.target/i386/avx-vpabsd-1.c: Likewise. + * gcc.target/i386/avx-vpabsw-1.c: Likewise. + * gcc.target/i386/avx-vpalignr-1.c: Likewise. + * gcc.target/i386/avx-vphaddd-1.c: Likewise. + * gcc.target/i386/avx-vphaddsw-1.c: Likewise. + * gcc.target/i386/avx-vphaddw-1.c: Likewise. + * gcc.target/i386/avx-vphsubd-1.c: Likewise. + * gcc.target/i386/avx-vphsubsw-1.c: Likewise. + * gcc.target/i386/avx-vphsubw-1.c: Likewise. + * gcc.target/i386/avx-vpmaddubsw-1.c: Likewise. + * gcc.target/i386/avx-vpmulhrsw-1.c: Likewise. + * gcc.target/i386/avx-vpshufb-1.c: Likewise. + * gcc.target/i386/avx-vpsignb-1.c: Likewise. + * gcc.target/i386/avx-vpsignd-1.c: Likewise. + * gcc.target/i386/avx-vpsignw-1.c: Likewise. + +2009-04-09 H.J. Lu <hongjiu.lu@intel.com> + + PR target/39678 + * g++.dg/torture/pr39678.C: New. + * gcc.dg/compat/struct-complex-2.h: Likewise. + * gcc.dg/compat/struct-complex-2_main.c: Likewise. + * gcc.dg/compat/struct-complex-2_x.c: Likewise. + * gcc.dg/compat/struct-complex-2_y.c: Likewise. + * gcc.dg/torture/pr39678.c: Likewise. + * gcc.target/i386/pr39678.c: Likewise. + + * gcc.dg/compat/struct-complex-1_x.c: Add -Wno-psabi. + * gcc.dg/compat/struct-complex-1_y.c: Likewise. + + * gcc.target/x86_64/abi/test_passing_structs.c: Include + <complex.h>. Add tests for structure with complex float. + +2009-04-10 Ben Elliston <bje@au.ibm.com> + Joseph Myers <joseph@codesourcery.com> + + PR target/36800 + * gcc.dg/dfp/pr36800.c: New. + +2009-04-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + Rafael Avila de Espindola <espindola@google.com> + + * gcc.misc-tests/help.exp: New file. + * lib/options.exp: New file. + +2009-04-09 Janis Johnson <janis187@us.ibm.com> + + PR libobjc/36610 + * objc/execute/forward-1.x: New. + +2009-04-09 Paolo Bonzini <bonzini@gnu.org> + + * gcc.dg/pr27150-1.c: Change to a link test. + +2009-04-09 Jakub Jelinek <jakub@redhat.com> + + * g++.dg/lookup/using2.C: Change copyright header to refer to version + 3 of the GNU General Public License and to point readers at the + COPYING3 file and the FSF's license web page. + * gcc.dg/fixed-point/fixed-point.exp: Likewise. + * gcc.dg/struct/struct-reorg.exp: Likewise. + * gcc.target/spu/tag_manager.c: Likewise. + +2009-04-09 Richard Guenther <rguenther@suse.de> + + PR testsuite/39696 + * ssa-ccp-25.c: Adjust pattern. + +2009-04-09 Janus Weil <janus@gcc.gnu.org> + + PR fortran/36704 + * gfortran.dg/external_procedures_1.f90: Modified. + * gfortran.dg/proc_ptr_result_1.f90: New. + * gfortran.dg/proc_ptr_result_2.f90: New. + * gfortran.dg/proc_ptr_result_3.f90: New. + +2009-04-09 Richard Guenther <rguenther@suse.de> + + * gcc.dg/vect/vect-54.c: Make constant input data file-scope + to prevent constant propagation. + * gcc.dg/vect/vect-56.c: Likewise. + * gcc.dg/vect/vect-58.c: Likewise. + * gcc.dg/vect/vect-60.c: Likewise. + * gcc.dg/vect/no-vfa-vect-57.c: Likewise. + * gcc.dg/vect/no-vfa-vect-61.c: Likewise. + * gcc.dg/tree-prof/stringop-2.c: Adjust expected outcome. + +2009-04-09 Richard Guenther <rguenther@suse.de> + + * gcc.dg/tree-ssa/ssa-ccp-25.c: New testcase. + * gcc.dg/tree-ssa/ssa-ccp-26.c: Likewise. + +2009-04-09 Joseph Myers <joseph@codesourcery.com> + + PR c/39613 + * gcc.dg/case-const-1.c, gcc.dg/case-const-2.c, gcc.dg/case-const-3.c: + New tests. + +2009-04-08 Joseph Myers <joseph@codesourcery.com> + + * gcc.dg/c99-stdint-1.c: Fix cut-and-paste mistakes in test. + * gcc.dg/c99-stdint-7.c, gcc.dg/c99-stdint-8.c: New tests. + +2009-04-08 Jakub Jelinek <jakub@redhat.com> + + * g++.dg/debug/dwarf2/static-data-member1.C: New test. + +2009-04-08 Jason Merrill <jason@redhat.com> + + PR c++/25185 + * g++.dg/template/error40.C: Add another test. + +2009-04-08 Joseph Myers <joseph@codesourcery.com> + + PR c/39614 + PR c/39673 + * gcc.c-torture/compile/pr39614-1.c, + gcc.c-torture/compile/pr39614-2.c, + gcc.c-torture/compile/pr39614-3.c, + gcc.c-torture/compile/pr39614-4.c, + gcc.c-torture/compile/pr39614-5.c, + gcc.c-torture/compile/pr39673-1.c, + gcc.c-torture/compile/pr39673-2.c: New tests. + * gcc.dg/gnu89-const-expr-2.c, gcc.dg/gnu99-const-expr-2.c: Test + more cases. + * gcc.dg/overflow-warn-1.c, gcc.dg/overflow-warn-2.c, + gcc.dg/overflow-warn-3.c, gcc.dg/overflow-warn-4.c: Update + expected errors. + +2009-04-08 Dodji Seketeli <dodji@redhat.com> + + PRc++/39637 + * g++.dg/cpp0x/variadic-crash2.C: New test. + +2009-04-08 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/38863 + * gfortran.dg/alloc_comp_result_1.f90: New test. + +2009-04-07 Jason Merrill <jason@redhat.com> + + PR c++/34691 + * g++.dg/overload/extern-C-1.C: New. + +2009-04-07 Dominique d'Humieres <dominiq@lps.ens.fr> + + PR testsuite/39325 + * gcc.misc-tests/linkage.exp: Use -m64 for 64-bit *86*-darwin. + +2009-04-07 Jason Merrill <jason@redhat.com> + + PR c++/25185 + * g++.dg/template/error40.C: New. + +2009-04-07 Janus Weil <janus@gcc.gnu.org> + + PR fortran/38152 + * gfortran.dg/proc_ptr_13.f90: Add "-g" option. + +2009-04-07 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/subp_elim_errors.ad[sb]: New test. + +2009-04-07 Janus Weil <janus@gcc.gnu.org> + + PR fortran/38290 + * gfortran.dg/proc_decl_1.f90: Modified. + * gfortran.dg/proc_ptr_11.f90: Extended. + * gfortran.dg/proc_ptr_13.f90: Modified. + +2009-04-06 Jason Merrill <jason@redhat.com> + + PR c++/35146 + * g++.dg/template/fnspec1.C: New. + +2009-04-06 Laurent GUERBY <laurent@guerby.net> + + * lib/gnat.exp: Handle multilib. + +2009-04-06 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/38863 + * gfortran.dg/dependency_23.f90: New test. + +2009-04-06 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/28868 + * gcc.dg/tree-ssa/ssa-fre-21.c: New testcase. + * gcc.dg/tree-ssa/ssa-sccvn-1.c: Adjust. + * gcc.dg/tree-ssa/ssa-sccvn-2.c: Likewise. + * gcc.dg/tree-ssa/ssa-sccvn-4.c: Likewise. + +2009-04-06 Andrew Stubbs <ams@codesourcery.com> + + * gcc.dg/pragma-isr-trapa2.c: Skip test for FPU-less architectures. + +2009-04-06 Andrew Stubbs <ams@codesourcery.com> + + * gcc.target/sh/sh4a-memmovua.c: Include string.h instead of stdlib.h. + +2009-04-06 Andrew Stubbs <ams@codesourcery.com> + + * gcc.target/sh/sh4a-bitmovua.c (y0): Rename to y_0 to avoid a clash + with the built-in y0, and the subsequent warning. + (y1): Likewise, rename to y_1. + +2009-04-06 Janus Weil <janus@gcc.gnu.org> + + PR fortran/39414 + * gfortran.dg/proc_decl_21.f90: New. + +2009-04-06 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/36091 + * gfortran.dg/forall_13.f90: Add -fbounds-check option. + +2009-04-06 Hans-Peter Nilsson <hp@axis.com> + + * gfortran.dg/namelist_51.f90, gfortran.dg/utf8_2.f03, + gfortran.dg/namelist_48.f90, gfortran.dg/read_repeat.f90, + gfortran.dg/streamio_9.f90, gfortran.dg/widechar_IO_1.f90, + gfortran.dg/namelist_50.f90, gfortran.dg/namelist_52.f90, + gfortran.dg/utf8_1.f03, gfortran.dg/namelist_56.f90, + gfortran.dg/namelist_49.f90: Gate test on effective_target + fd_truncate. + * gfortran.dg/widechar_IO_3.f90: Ditto. Fix typo in comment. + +2009-04-05 Daniel Kraft <d@domob.eu> + + PR fortran/38654 + * gfortran.dg/read_float_2.f03 + * gfortran.dg/read_float_3.f90 + +2009-04-05 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/39648 + * gcc.c-torture/compile/pr39648.c: New testcase. + +2009-04-05 Jason Merrill <jason@redhat.com> + + PR c++/14912 + * g++.dg/template/error39.C: New. + +2009-04-05 Daniel Franke <franke.daniel@gmail.com> + + PR fortran/29458 + * gfortran.dg/implied_do_1.f90: New. + +2009-04-04 Tobias Burnus <burnus@net-b.de> + + PR fortran/39577 + * gfortran.dg/recursive_check_8.f90: New. + * gfortran.dg/recursive_check_9.f90: New. + * gfortran.dg/recursive_check_10.f90: New. + * gfortran.dg/recursive_check_11.f90: New. + * gfortran.dg/recursive_check_12.f90: New. + * gfortran.dg/recursive_check_13.f90: New. + * gfortran.dg/recursive_check_14.f90: New. + +2009-04-04 Jason Merrill <jason@redhat.com> + + PR c++/25185 + * g++.dg/template/error38.C: Add more tests. + +2009-04-04 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/37614 + * gfortran.dg/common_align_2.f90: New test. + +2009-04-04 Richard Earnshaw <rearnsha@arm.com> + + PR target/39501 + * gcc.c-torture/execute/pr39501.c: New file. + * gcc.c-torture/execute/pr39501.x: New file. + +2009-04-04 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/8781 + PR tree-optimization/37892 + * g++.dg/tree-ssa/pr8781.C: New testcase. + * gcc.dg/tree-ssa/ssa-pre-25.c: Likewise. + +2009-04-04 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/39636 + * gcc.c-torture/compile/pr39636.c: New testcase. + +2009-04-03 H.J. Lu <hongjiu.lu@intel.com> + + PR rtl-optimization/39607 + * g++.dg/opt/pr39607.C: New. + +2009-04-03 Tobias Burnus <burnus@net-b.de> + + PR fortran/39594 + * gfortran.dg/common_12.f90: New. + +2009-04-03 Jason Merrill <jason@redhat.com> + + PR c++/39608 + * g++.dg/template/const2.C: New test. + +2009-04-03 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/2480 + PR tree-optimization/23086 + * gcc.dg/tree-ssa/pr2480.c: New testcase. + * gcc.dg/tree-ssa/pr23086.c: Likewise. + +2009-04-03 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/34743 + * gcc.dg/pr38984.c: Remove XFAIL, adjust. + * gcc.dg/tree-ssa/20070302-1.c: Remove XFAIL. + * gcc.dg/tree-ssa/alias-18.c: Likewise. + * gcc.dg/tree-ssa/sra-3.c: Likewise. + * gcc.dg/vect/no-vfa-vect-49.c: Likewise. + * gcc.dg/vect/no-vfa-vect-53.c: Likewise. + * gcc.dg/vect/no-vfa-vect-57.c: Likewise. + * gcc.dg/vect/no-vfa-vect-61.c: Likewise. + +2009-04-03 Richard Guenther <rguenther@suse.de> + + PR middle-end/13146 + PR tree-optimization/23940 + PR tree-optimization/33237 + PR middle-end/33974 + PR middle-end/34093 + PR tree-optimization/36201 + PR tree-optimization/36230 + PR tree-optimization/38049 + PR tree-optimization/38207 + PR tree-optimization/38230 + PR tree-optimization/38301 + PR tree-optimization/38585 + PR middle-end/38895 + PR tree-optimization/38985 + PR tree-optimization/39299 + * gcc.dg/pr19633-1.c: Adjust. + * gcc.dg/torture/pta-callused-1.c: Likewise. + * gcc.dg/torture/pr39074-2.c: Likewise. + * gcc.dg/torture/pr39074.c: Likewise. + * gcc.dg/torture/pta-ptrarith-3.c: New testcase. + * gcc.dg/torture/pr30375.c: Adjust. + * gcc.dg/torture/pr33563.c: Likewise. + * gcc.dg/torture/pr33870.c: Likewise. + * gcc.dg/torture/pr33560.c: Likewise. + * gcc.dg/torture/pta-structcopy-1.c: New testcase. + * gcc.dg/torture/ssa-pta-fn-1.c: Likewise. + * gcc.dg/tree-ssa/alias-15.c: Remove. + * gcc.dg/tree-ssa/ssa-dce-4.c: New testcase. + * gcc.dg/tree-ssa/pr26421.c: Adjust. + * gcc.dg/tree-ssa/ssa-fre-10.c: XFAIL. + * gcc.dg/tree-ssa/ssa-dce-5.c: New testcase. + * gcc.dg/tree-ssa/pr23382.c: Adjust. + * gcc.dg/tree-ssa/ssa-fre-20.c: New testcase. + * gcc.dg/tree-ssa/alias-16.c: Adjust. + * gcc.dg/tree-ssa/ssa-fre-13.c: Likewise. + * gcc.dg/tree-ssa/ssa-fre-14.c: Likewise. + * gcc.dg/tree-ssa/alias-18.c: Likewise. + * gcc.dg/tree-ssa/ssa-fre-15.c: Likewise. + * gcc.dg/tree-ssa/ssa-lim-3.c: Likewise. + * gcc.dg/tree-ssa/alias-19.c: Likewise. + * gcc.dg/tree-ssa/pta-ptrarith-1.c: New testcase. + * gcc.dg/tree-ssa/pr13146.c: Likewise. + * gcc.dg/tree-ssa/ssa-pre-23.c: Likewise. + * gcc.dg/tree-ssa/pta-ptrarith-2.c: Likewise. + * gcc.dg/tree-ssa/ssa-fre-18.c: Likewise. + * gcc.dg/tree-ssa/ssa-pre-24.c: New XFAILed testcase. + * gcc.dg/tree-ssa/ssa-fre-19.c: New testcase. + * gcc.dg/tree-ssa/alias-20.c: Likewise. + * gcc.dg/tree-ssa/ssa-dse-12.c: Likewise. + * gcc.dg/tree-ssa/pr38895.c: Likewise. + * gcc.dg/uninit-B.c: XFAIL. + * gcc.dg/vect/no-vfa-vect-43.c: Adjust. + * gcc.dg/uninit-pr19430.c: XFAIL. + * g++.dg/tree-ssa/pr13146.C: New testcase. + * g++.dg/opt/pr36187.C: Adjust. + * g++.dg/torture/20090329-1.C: New testcase. + +2009-04-02 Chao-ying Fu <fu@mips.com> + + * gcc.target/mips/interrupt_handler.c: New test. + +2009-04-02 David Ayers <ayers@fsfe.org> + + PR objc/18456 + * objc.dg/bad-receiver-type-2.m: New test contributed by + Alexander Mamberg. + +2009-04-02 Jason Merrill <jason@redhat.com> + + PR c++/25185 + * g++.dg/template/error38.C: New test. + +2009-04-02 Janis Johnson <janis187@us.ibm.com> + + PR tree-optimization/31677 + * gcc.dg/memcpy-1.c: Add compiler option. + +2009-04-02 Ira Rosen <irar@il.ibm.com> + + PR tree-optimization/39595 + * gfortran.dg/vect/O3-pr39595.f: New test. + +2009-04-02 Dodji Seketeli <dodji@redhat.com> + + PR c++/26693 + * g++.dg/template/typedef11.C: New test. + * g++.dg/template/typedef12.C: Likewise. + * g++.dg/template/typedef13.C: Likewise. + * g++.dg/template/typedef14.C: Likewise. + * g++.dg/template/typedef15.C: Likewise. + * g++.dg/template/typedef16.C: Likewise. + * g++.dg/template/sfinae3.C: Compile this pedantically. + The only errors expected should be the one saying the typedef is ill + formed. + * g++.old-deja/g++.pt/typename8.C: Likewise. + * g++.dg/template/access11.C: Update this. + +2009-04-02 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/37221 + * gcc.c-torture/compile/20090331-1.c: New testcase. + +2009-04-01 Eric Botcazou <ebotcazou@adacore.com> + + * gcc.c-torture/compile/20090401-1.c: New test. + +2009-04-01 H.J. Lu <hongjiu.lu@intel.com> + + PR c++/4926 + * g++.dg/template/pr4926-1.C: New. + +2009-04-01 Xinliang David Li <davidxl@google.com> + + * gcc.target/i386/all_one_m128i.c: New test. + +2009-04-01 Janis Johnson <janis187@us.ibm.com> + + PR c/39027 + * gcc.dg/fltconst-1.c: Don't error for use of d or D in suffix. + * gcc.dg/fltconst-2.c: New test. + * gcc.dg/fltconst-double-pedantic-1.c: New test. + * gcc.dg/fltconst-double-pedantic-2.c: New test. + + PR c/33466 + * gcc.dg/cpp/pr33466.c: New test. + * gcc.dg/dfp/pr33466.c: New test. + * gcc.dg/fixed-point/pr33466.c: New test. + +2009-04-01 H.J. Lu <hongjiu.lu@intel.com> + + PR tree-optimization/35011 + * g++.dg/other/pr35011.C: New. + +2009-04-01 Jakub Jelinek <jakub@redhat.com> + + PR target/39226 + * gcc.dg/pr39226.c: New test. + +2009-04-01 H.J. Lu <hongjiu.lu@intel.com> + + PR c++/35240 + * g++.dg/template/pr35240.C: New. + +2009-04-01 Joseph Myers <joseph@codesourcery.com> + + PR c/39605 + * gcc.dg/vla-17.c, gcc.dg/vla-18.c: New tests. + * gcc.dg/pr25682.c: Update expected diagnostics. + +2009-04-01 Richard Guenther <rguenther@suse.de> + + * gcc.dg/fold-plusmult-2.c: New testcase. + +2009-04-01 Jakub Jelinek <jakub@redhat.com> + + PR c/37772 + * gcc.dg/pr37772.c: New test. + * g++.dg/ext/asm11.C: New test. + +2009-04-01 H.J. Lu <hongjiu.lu@intel.com> + + * lib/target-libpath.exp (restore_ld_library_path_env_vars): Always + restore GCC_EXEC_PREFIX to its original value, or unset if it was not + defined. + +2009-03-31 Jason Merrill <jason@redhat.com> + + * g++.old-deja/g++.other/using9.C: Add expected errors. + +2009-03-31 H.J. Lu <hongjiu.lu@intel.com> + + * gcc.c-torture/compile/pr33009.c: Removed. + +2009-03-31 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> + + * gcc.c-torture/compile/pr33009.c: Delete. + * gcc.c-torture/compile/pr11832.c: Likewise. + +2009-03-31 Joseph Myers <joseph@codesourcery.com> + + PR c/448 + * lib/target-supports.exp (check_effective_target_stdint_types): + Update comment. + (check_effective_target_inttypes_types): New. + * gcc.dg/c99-stdint-1.c, gcc.dg/c99-stdint-2.c, + gcc.dg/c99-stdint-3.c, gcc.dg/c99-stdint-4.c, + gcc.dg/c99-stdint-5.c, gcc.dg/c99-stdint-6.c: New tests. + +2009-03-31 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/38917 + PR fortran/38918 + * gfortran.dg/data_pointer_1.f90: New test. + +2009-03-31 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/38915 + * gfortran.dg/char_length_15.f90: New test. + +2009-03-31 Jason Merrill <jason@redhat.com> + + C++ DR 613 + * g++.old-deja/g++.dg/cpp0x/decltype3.C: Remove expected errors. + * g++.old-deja/g++.ext/typeof2.C: Remove expected errors. + * g++.old-deja/g++.other/sizeof2.C: Remove some expected errors, + xfail others. + + * g++.dg/other/typedef2.C: New test. + + PR c++/37806 + * g++.dg/template/typedef17.C: New test. + + * g++.dg/cpp0x/auto6.C: Adjust expected mangling. + * g++.dg/cpp0x/auto12.C: Likewise. + +2009-03-31 Richard Guenther <rguenther@suse.de> + + PR middle-end/31029 + * gcc.dg/fold-compare-4.c: New testcase. + * gcc.dg/fold-compare-5.c: Likewise. + +2009-03-31 Richard Guenther <rguenther@suse.de> + + * gcc.dg/tree-ssa/forwprop-12.c: New testcase. + +2009-03-31 Joseph Myers <joseph@codesourcery.com> + + PR target/39592 + * gcc.target/i386/pr39592-1.c: New test. + +2009-03-31 Joseph Myers <joseph@codesourcery.com> + + PR preprocessor/15638 + * gcc.dg/cpp/missing-header-1.c: New test. + * gcc.dg/cpp/include2.c: Only test #include <>. Expect + "compilation terminated" message. + * gcc.dg/cpp/include2a.c: New test. Copy of include2.c but only + test #include "". + * gcc.dg/pch/counter-2.c, gcc.dg/pch/valid-1.c, + gcc.dg/pch/valid-2.c, gcc.dg/pch/warn-1.c: Expect "compilation + terminated" message. + +2009-03-31 Richard Guenther <rguenther@suse.de> + + PR middle-end/23401 + PR middle-end/27810 + * gcc.dg/tree-ssa/pr23401.c: New testcase. + * gcc.dg/tree-ssa/pr27810.c: Likewise. + +2009-03-30 Steven G. Kargl <kargls@comcast.net> + + PR fortran/38389 + * gfortran.dg/alloc_alloc_expr_1.f90: Adjust for new error message. + * gfortran.dg/allocate_alloc_opt_1.f90: New test. + * gfortran.dg/allocate_alloc_opt_2.f90: Ditto. + * gfortran.dg/allocate_alloc_opt_3.f90: Ditto. + * gfortran.dg/deallocate_alloc_opt_1.f90: Ditto. + * gfortran.dg/deallocate_alloc_opt_2.f90: Ditto. + * gfortran.dg/deallocate_alloc_opt_3.f90: Ditto. + +2009-03-30 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/22571 + * gfortran.dg/whole_file_1.f90: New test. + PR fortran/26227 + * gfortran.dg/whole_file_2.f90: New test. + * gfortran.dg/whole_file_3.f90: New test. + PR fortran/24886 + * gfortran.dg/whole_file_4.f90: New test. + +2009-03-30 Jakub Jelinek <jakub@redhat.com> + + * gfortran.dg/bind_c_usage_19.f90: New test. + + PR target/39558 + * gcc.target/powerpc/altivec-29.c: New test. + +2009-03-30 Joseph Myers <joseph@codesourcery.com> + + PR rtl-optimization/323 + * gcc.target/i386/excess-precision-1.c, + gcc.target/i386/excess-precision-2.c, + gcc.target/i386/excess-precision-3.c, + gcc.target/i386/excess-precision-4.c, + gcc.target/i386/excess-precision-5.c, + gcc.target/i386/excess-precision-6.c: New tests. + +2009-03-30 Joseph Myers <joseph@codesourcery.com> + + PR c/35235 + * gcc.dg/c99-array-lval-8.c: New test. + +2009-03-29 Joseph Myers <joseph@codesourcery.com> + + PR preprocessor/34695 + * gcc.dg/builtin-redefine.c, gcc.dg/cpp/redef2.c, + gcc.dg/cpp/redef3.c, gcc.dg/cpp/trad/redef2.c: Use dg-message + instead of dg-warning for "previous definition" messages. + * gcc.dg/cpp/Wvariadic-1.c, gcc.dg/cpp/Wvariadic-3.c: Expect + "warnings being treated as errors" message. + * gcc.dg/fltconst-1.c: Use -fshow-column. + +2009-03-29 Steven G. Kargl <kargl@gcc.gnu.org> + + PR fortran/38823 + * gfortran.dg/power1.f90: New test. + +2009-03-29 Joseph Myers <joseph@codesourcery.com> + + PR c/456 + PR c/5675 + PR c/19976 + PR c/29116 + PR c/31871 + PR c/35198 + * gcc.c-torture/compile/20081108-1.c, + gcc.c-torture/compile/20081108-2.c, + gcc.c-torture/compile/20081108-3.c, gcc.dg/bconstp-2.c, + gcc.dg/bconstp-3.c, gcc.dg/bconstp-4.c, gcc.dg/c90-const-expr-6.c, + gcc.dg/c90-const-expr-7.c, gcc.dg/c90-const-expr-8.c, + gcc.dg/c90-const-expr-9.c, gcc.dg/c90-const-expr-10.c, + gcc.dg/c90-const-expr-11.c, gcc.dg/c99-const-expr-6.c, + gcc.dg/c99-const-expr-7.c, gcc.dg/c99-const-expr-8.c, + gcc.dg/c99-const-expr-9.c, gcc.dg/c99-const-expr-10.c, + gcc.dg/c99-const-expr-11.c, gcc.dg/c99-const-expr-12.c, + gcc.dg/c99-const-expr-13.c, gcc.dg/compare10.c, + gcc.dg/gnu89-const-expr-1.c, gcc.dg/gnu89-const-expr-2.c, + gcc.dg/gnu99-const-expr-1.c, gcc.dg/gnu99-const-expr-2.c, + gcc.dg/gnu99-const-expr-3.c, gcc.dg/vla-12.c, gcc.dg/vla-13.c, + gcc.dg/vla-14.c, gcc.dg/vla-15.c, gcc.dg/vla-16.c: New tests. + * gcc.dg/c90-const-expr-1.c, gcc.dg/c90-const-expr-2.c, + gcc.dg/c90-const-expr-3.c, gcc.dg/c99-const-expr-2.c, + gcc.dg/c99-const-expr-3.c, gcc.dg/c99-static-1.c: Remove XFAILs. + * gcc.dg/c90-const-expr-2.c: Use ZERO in place of 0 in another + case. + * gcc.dg/overflow-warn-1.c, gcc.dg/overflow-warn-2.c, + gcc.dg/overflow-warn-3.c, gcc.dg/overflow-warn-4.c: Remove + XFAILs. Update expected messages. + * gcc.dg/pr14649-1.c, gcc.dg/pr19984.c, gcc.dg/pr25682.c: Update + expected messages. + * gcc.dg/real-const-1.c: Replace with test from original PR. + * gcc.dg/vect/pr32230.c: Use intermediate cast to __PTRDIFF_TYPE__ + when casting from non-constant integer to pointer. + +2009-03-29 Richard Guenther <rguenther@suse.de> + + * gcc.dg/tree-ssa/forwprop-11.c: New testcase. + +2009-03-29 Daniel Kraft <d@domob.eu> + + PR fortran/37423 + * gfortran.dg/typebound_proc_4.f03: Remove not-implemented check for + DEFERRED bindings. + * gfortran.dg/typebound_proc_9.f03: New test. + * gfortran.dg/typebound_proc_10.f03: New test. + * gfortran.dg/typebound_proc_11.f03: New test. + * gfortran.dg/abstract_type_5.f03: New test. + +2009-03-29 Tobias Schlüter <tobi@gcc.gnu.org> + + PR fortran/38507 + * gfortran.dg/do_4.f: New. + * gfortran.dg/goto_2.f90: Correct expected warnings. + * gfortran.dg/goto_4.f90: Likewise. + * gfortran.dg/goto_5.f90: New. + +2009-03-29 H.J. Lu <hongjiu.lu@intel.com> + + PR target/39545 + * gcc.c-torture/compile/pr16566-2.c: Add -Wno-psabi for x86-64. + + * gcc.target/i386/pr39545-1.c: New. + * gcc.target/i386/pr39545-2.c: Likewise. + + * gcc.target/x86_64/abi/test_passing_structs.c (flex1_struct): New. + (flex2_struct): Likewise. + (check_struct_passing7): Likewise. + (check_struct_passing8): Likewise. + (f1s): Likewise. + (f2s): Likewise. + (main): Call check_struct_passing7 and check_struct_passing8. + +2009-03-29 Richard Guenther <rguenther@suse.de> + + * gcc.c-torture/execute/20090113-1.c: New testcase. + * gcc.c-torture/execute/20090113-2.c: Likewise. + * gcc.c-torture/execute/20090113-3.c: Likewise. + * gcc.c-torture/execute/20090207-1.c: Likewise. + * gcc.c-torture/compile/20090114-1.c: Likewise. + * gcc.c-torture/compile/20090328-1.c: Likewise. + * gcc.dg/noncompile/920507-1.c: Fix out-of-bounds array access. + +2009-03-29 David Ayers <ayers@fsfe.org> + + PR objc/27377 + * objc.dg/conditional-1.m: New tests. + +2009-03-28 Adam Nemet <anemet@caviumnetworks.com> + + * gcc.dg/winline-10.c: New test. + +2009-03-28 Tobias Burnus <burnus@net-b.de> + + PR fortran/34656 + * gfortran.dg/do_check_1.f90: Add test. + * gfortran.dg/do_check_2.f90: Add test. + * gfortran.dg/do_check_3.f90: Add test. + * gfortran.dg/do_check_4.f90: Add test. + +2009-03-28 Jan Hubicka <jh@suse.cz> + + * gcc.dg/attr-noinline.c: Avoid pure-const optimization. + * gcc.dg/pr33826.c: Update dump files. + * gcc.dg/ipa/ipa-3.c: Avoid pure-const optimization. + * gcc.dg/ipa/ipa-5.c: Avoid pure-const optimization. + +2009-03-28 Martin Jambor <mjambor@suse.cz> + + * g++.dg/tree-ssa/fwprop-align.C: New test. + +2009-03-28 Jakub Jelinek <jakub@redhat.com> + + * gcc.target/powerpc/altivec-28.c: New test. + + PR c++/39554 + * gcc.dg/wdisallowed-functions-1.c: Removed. + * gcc.dg/wdisallowed-functions-2.c: Removed. + * gcc.dg/wdisallowed-functions-3.c: Removed. + * g++.dg/warn/Wdisallowed-functions-1.C: Removed. + * g++.dg/warn/Wdisallowed-functions-2.C: Removed. + * g++.dg/warn/Wdisallowed-functions-3.C: Removed. + +2009-03-28 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/38723 + * gcc.dg/tree-ssa/ssa-fre-22.c: New testcase. + +2009-03-28 Paul Thomas <pault@gcc.gnu.org + + PR fortran/38538 + * gfortran.dg/char_result_13.f90: New test. + +2009-03-28 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/38765 + * gfortran.dg/alloc_comp_assign_9.f90: New test. + +2009-03-28 Daniel Kraft <d@domob.eu> + + * gfortran.dg/trim_1.f90: New test. + +2009-03-28 Richard Guenther <rguenther@suse.de> + + * gcc.dg/Warray-bounds.c: Do not use redundant stores. + * g++.dg/warn/Warray-bounds.C: Likewise. + +2009-03-28 Tobias Burnus <burnus@net-b.de> + + PR fortran/32626 + * gfortran.dg/recursive_check_7.f90: New test. + +2009-03-28 Tobias Burnus <burnus@net-b.de> + + PR fortran/38432 + * gfortran.dg/do_check_5.f90: New test. + * gfortran.dg/array_constructor_11.f90: Add dg-warning. + * gfortran.dg/array_constructor_18.f90: Ditto. + * gfortran.dg/array_constructor_22.f90: Ditto. + * gfortran.dg/do_3.F90: Ditto. + * gfortran.dg/do_1.f90: Ditto. + +2009-03-28 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/38180 + * gcc.dg/tree-ssa/ssa-ccp-24.c: New testcase. + +2009-03-28 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/38513 + * gcc.dg/tree-ssa/ssa-fre-21.c: New testcase. + * gcc.dg/tree-ssa/ssa-dse-11.c: Adjust. + * gcc.dg/vect/vect-reduc-dot-u8a.c: Likewise. + * gcc.dg/vect/vect-reduc-dot-u8b.c: Likewise. + * gcc.dg/vect/slp-widen-mult-u8.c: Likewise. + * gcc.dg/vect/vect-multitypes-16.c: Likewise. + * gcc.dg/vect/vect-35.c: Likewise. + * gcc.dg/vect/wrapv-vect-reduc-dot-s8b.c: Likewise. + * gcc.dg/vect/vect-multitypes-17.c: Likewise. + * gcc.dg/vect/slp-widen-mult-s16.c: Likewise. + +2009-03-28 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/38968 + * gfortran.dg/vect/fast-math-pr38968.f90: New testcase. + +2009-03-28 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/37795 + * gcc.dg/tree-ssa/ssa-ifcombine-7.c: New testcase. + +2009-03-28 Joseph Myers <joseph@codesourcery.com> + + * g++.old-deja/g++.ext/attrib5.C, g++.old-deja/g++.jason/thunk3.C, + gcc.c-torture/compile/981006-1.c: Don't XFAIL or add special + options for removed targets. + +2009-03-27 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/39120 + * gcc.c-torture/execute/pr39120.c: New testcase. + +2009-03-27 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/39120 + * gcc.dg/torture/pta-callused-1.c: New testcase. + +2009-03-27 H.J. Lu <hongjiu.lu@intel.com> + + PR middle-end/39315 + * gcc.target/i386/pr39315-1.c: New. + * gcc.target/i386/pr39315-2.c: Likewise. + * gcc.target/i386/pr39315-3.c: Likewise. + * gcc.target/i386/pr39315-4.c: Likewise. + * gcc.target/i386/pr39315-check.c: Likewise. + +2009-03-27 H.J. Lu <hongjiu.lu@intel.com> + + PR c/39323 + * gcc.dg/pr39323-1.c: New. + * gcc.dg/pr39323-2.c: Likewise. + * gcc.dg/pr39323-3.c: Likewise. + +2009-03-27 H.J. Lu <hongjiu.lu@intel.com> + + PR target/38034 + * gcc.target/ia64/sync-1.c: New. + +2009-03-27 H.J. Lu <hongjiu.lu@intel.com> + + PR target/39472 + * gcc.target/x86_64/abi/callabi/func-2a.c: New. + * gcc.target/x86_64/abi/callabi/func-2b.c: Likewise. + * gcc.target/x86_64/abi/callabi/func-indirect-2a.c: Likewise. + * gcc.target/x86_64/abi/callabi/func-indirect-2b.c: Likewise. + * gcc.target/x86_64/abi/callabi/vaarg-4a.c: Likewise. + * gcc.target/x86_64/abi/callabi/vaarg-4b.c: Likewise. + * gcc.target/x86_64/abi/callabi/vaarg-5a.c: Likewise. + * gcc.target/x86_64/abi/callabi/vaarg-5b.c: Likewise. + +2009-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * gcc.dg/torture/builtin-explog-1.c: Remove tests that aren't true + for low precision (i.e. float). + +2009-03-27 Dodji Seketeli <dodji@redhat.com> + Jakub Jelinek <jakub@redhat.com> + + PR debug/37959 + * g++.dg/debug/dwarf2/explicit-constructor.C: New test. + +2009-03-27 Jakub Jelinek <jakub@redhat.com> + + * gcc.dg/memmove-2.c: New test. + * gcc.dg/memmove-3.c: New test. + + * gcc.dg/ipa/ipacost-1.c: Adjust match pattern for change + in clone naming. + +2009-03-27 Xinliang David Li <davidxl@google.com> + + PR tree-optimization/39557 + * g++.dg/tree-ssa/dom-invalid.C: New test. + +2009-03-27 Xinliang David Li <davidxl@google.com> + + PR tree-optimization/39548 + * g++.dg/tree-ssa/copyprop.C: New test. + +2009-03-27 Andrew Pinski <andrew_pinski@playstation.sony.com> + + PR c++/38638 + * g++.dg/template/typename17.C: New testcase. + * g++.dg/template/typename18.C: New testcase. + +2009-03-27 Andrew Pinski <andrew_pinski@playstation.sony.com> + + PR c++/36799 + * g++.dg/other/var_copy-1.C: New test. + +2009-03-27 Simon Martin <simartin@users.sourceforge.net> + + PR c++/37647 + * g++.dg/parse/ctor9.C: New test. + +2009-03-27 Simon Martin <simartin@users.sourceforge.net> + + PR c++/29727 + * g++.dg/init/error2.C: New test. + +2009-03-27 Manuel Lopez-Ibanez <manu@gcc.gnu.org> + + PR c++/35652 + * gcc.dg/pr35652.C: New. + * g++.dg/warn/pr35652.C: New. + * gcc.dg/format/plus-1.c: Adjust message. + +2009-03-26 Jakub Jelinek <jakub@redhat.com> + + PR c++/39554 + * gcc.dg/wdisallowed-functions-3.c: New test. + * g++.dg/warn/Wdisallowed-functions-3.C: New test. + +2009-03-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * gcc.dg/inline-33.c: Fix when pic. + +2009-03-25 Alexander Monakov <amonakov@ispras.ru> + + * gcc.target/ia64/20090324-1.c: New test. + +2009-03-25 Jakub Jelinek <jakub@redhat.com> + + PR c/27898 + * gcc.dg/pr27898.c: New test. + + PR tree-optimization/32139 + * gcc.c-torture/compile/pr32139.c: New test. + +2009-03-24 Jason Merrill <jason@redhat.com> + + PR c++/28274 + * g++.dg/parse/defarg14.C: New test. + +2009-03-24 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR libfortran/39528 + * gfortran.dg/read_repeat.f90: New test. + +2009-03-24 Ira Rosen <irar@il.ibm.com> + + PR tree-optimization/39529 + * gcc.dg/vect/pr39529.c: New test. + +2009-03-24 Dodji Seketeli <dodji@redhat.com> + Jakub Jelinek <jakub@redhat.com> + + PR debug/39524 + * g++.dg/debug/dwarf2/imported-decl-1.C: New test. + +2009-03-23 Jakub Jelinek <jakub@redhat.com> + + PR c/39495 + * gcc.dg/gomp/pr39495-2.c: Remove xfails. + +2009-03-23 Jason Merrill <jason@redhat.com> + + * g++.dg/cpp0x/auto12.C: Add variadic test. + + PR c++/39526 + * g++.dg/warn/Wshadow-4.C: New test. + +2009-03-23 Jakub Jelinek <jakub@redhat.com> + + PR tree-optimization/39516 + * gfortran.dg/pr39516.f: New test. + +2009-03-22 Hans-Peter Nilsson <hp@axis.com> + + * lib/target-libpath.exp (set_ld_library_path_env_vars): + Correct TEST_GCC_EXEC_PREFIX test to check existence as a tcl + variable, not environment variable. + +2009-03-21 Jason Merrill <jason@redhat.com> + + PR c++/28879 + * g++.dg/ext/vla6.C: New test. + +2009-03-20 Jason Merrill <jason@redhat.com> + + * g++.dg/cpp0x/initlist5.C: Add additional test. + +2009-03-19 Jakub Jelinek <jakub@redhat.com> + Janis Johnson <janis187@us.ibm.com> + + * lib/compat.exp (compat-get-options-main, compat-get-options): + Handle dg-prune-output in source file. + * lib/gcc-defs.exp (${tool}_check_compile): Process prune requests. + * gcc.dg/compat/struct-layout-1_main.c: Use dg-prune for warning. + * gcc.dg/compat/struct-layout-1_generate.c: Use -Wno-abi, prune + two warnings. + +2009-03-19 Jakub Jelinek <jakub@redhat.com> + + PR c/39495 + * gcc.dg/gomp/pr39495-1.c: New test. + * gcc.dg/gomp/pr39495-2.c: New test. + * g++.dg/gomp/pr39495-1.C: New test. + * g++.dg/gomp/pr39495-2.C: New test. + + PR target/39496 + * gcc.target/i386/pr39496.c: New test. + * g++.dg/other/pr39496.C: New test. + +2009-03-19 Li Feng <nemokingdom@gmail.com> + + PR middle-end/39500 + * gcc.dg/autopar/pr39500-1.c: New. + * gcc.dg/autopar/pr39500-2.c: New. + +2009-03-18 H.J. Lu <hongjiu.lu@intel.com> + + * g++.dg/dg.exp: Prune graphite. + +2009-03-18 Sebastian Pop <sebastian.pop@amd.com> + + PR middle-end/39447 + * g++.dg/graphite: New. + * g++.dg/graphite/graphite.exp: New. + * g++.dg/graphite/pr39447.C: New. + +2009-03-18 H.J. Lu <hongjiu.lu@intel.com> + + PR c++/39425 + * g++.dg/template/pr39425.C: New. + + * g++.dg/template/spec33.C: Updated. + +2009-03-17 Jason Merrill <jason@redhat.com> + + * g++.dg/cpp0x/auto6.C, auto12.C: Update mangling. + +2009-03-17 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/39475 + * g++.dg/ext/unary_trait_incomplete.C: New. + +2009-03-17 Jing Yu <jingyu@google.com> + + PR middle-end/39378 + * g++.dg/inherit/thunk10.C: New test. + +2009-03-17 Uros Bizjak <ubizjak@gmail.com> + + PR target/39482 + * gcc.target/i386/pr39482.c: New test. + +2009-03-17 Jakub Jelinek <jakub@redhat.com> + + PR debug/39471 + * g++.dg/debug/dwarf2/imported-module-2.C: Expect + DW_TAG_imported_module, not just any DW_TAG_imported prefixed tag. + * g++.dg/debug/dwarf2/imported-module-3.C: Likewise. + * g++.dg/debug/dwarf2/imported-module-4.C: Likewise. + + PR middle-end/39443 + * gcc.dg/pr39443.c: New test. + + PR debug/39412 + * gcc.dg/debug/pr39412.c: New test. + +2009-03-17 Janis Johnson <janis187@us.ibm.com> + + PR testsuite/38526 + * lib/target-libpath.exp (set_ld_library_path_env_vars): Save + existing GCC_EXEC_PREFIX, set to TEST_GCC_EXEC_PREFIX if that + is defined. + (restore_ld_library_path_env_vars): Restore GCC_EXEC_PREFIX to + its original value, or unset if it was not defined. + * gcc.dg/compat/struct-layout-1.exp: Use set/restore library + path procs around use of HOSTCC. + * g++.dg/compat/struct-layout-1.exp: Ditto. + * objc.dg/gnu-encoding/gnu-encoding.exp: Ditto. + +2009-03-16 H.J. Lu <hongjiu.lu@intel.com> + + * gcc.target/x86_64/abi/callabi/func-indirect.c (main): Return 0. + +2009-03-16 Janis Johnson <janis187@us.ibm.com> + + Revert patch for PR testsuite/37630. + + PR testsuite/37960 + * gcc.dg/pr11492.c: Replace constant and remove xfail. + + PR testsuite/37630 + * lib/target-supports.exp (check_effective_target_ieee): New. + * gcc.c-torture/execute/ieee/ieee.exp: Use it. + * gcc.dg/20001012-1.c: Require ieee. + + PR testsuite/37628 + * gcc.c-torture/execute/pr35456.x: New, skip test for vax. + +2009-03-16 Jakub Jelinek <jakub@redhat.com> + + PR tree-optimization/39455 + * gcc.dg/pr39455.c: New test. + +2009-03-13 David Ayers <ayers@fsfe.org> + + * objc/execute/trivial.m. New test. + +2009-03-13 Jack Howarth <howarth@bromo.med.uc.edu> + + PR target/39137 + * gcc.target/i386/stackalign/longlong-2.c: Skip on darwin. + +2009-03-13 H.J. Lu <hongjiu.lu@intel.com> + + PR testsuite/39451 + * gcc.dg/asm-b.c: Use "Q" constraint on %b1/%h1 and "R" + constraint on (%2). + +2009-03-12 David Ayers <ayers@fsfe.org> + + PR libobjc/27466 + * objc/execute/exceptions/handler-1.m. New test. + +2009-03-12 Jakub Jelinek <jakub@redhat.com> + + PR target/39431 + * gcc.target/i386/pr39431.c: New test. + +2009-03-12 H.J. Lu <hongjiu.lu@intel.com> + + PR target/39445 + * gcc.target/i386/pr39445.c: New. + + * gcc.target/i386/push-1.c: XFAIL. + +2009-03-11 Adam Nemet <anemet@caviumnetworks.com> + + * gcc.dg/inline-33.c: New test. + +2009-03-11 Nathan Froyd <froydnj@codesourcery.com> + + * gcc.dg/vect/vect-82.c: Combine dg-do and + dg-require-effective-target into dg-skip-if. + * gcc.dg/vect/vect-83.c: Likewise. + +2009-03-11 Jakub Jelinek <jakub@redhat.com> + + PR target/39137 + * gcc.target/i386/stackalign/longlong-1.c: New test. + * gcc.target/i386/stackalign/longlong-2.c: New test. + +2009-03-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> + + * g++.old-deja/g++.jason/thunk2.C: Skip on SPU. + +2009-03-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> + + * gcc.c-torture/execute/ieee/inf-3.c: New test. + * gcc.c-torture/execute/ieee/inf-2.c: Fix typo. + +2009-03-11 Olivier Hainque <hainque@adacore.com> + + * gnat.dg/slice_enum.adb: New test. + +2009-03-11 Jason Merrill <jason@redhat.com> + + PR debug/39086 + * g++.dg/opt/nrv15.C: New test. + +2009-03-10 Ira Rosen <irar@il.ibm.com> + + PR tree-optimization/39422 + * gcc.dg/vect/costmodel/spu/costmodel-vect-76b.c: Move + constant array with static initialization to global memory. + * gcc.dg/vect/costmodel/spu/costmodel-vect-76c.c: Likewise. + +2009-03-10 Hariharan Sandanagobalane <hariharan@picochip.com> + + * gcc.c-torture/execute/pr39339.c: Bitfield sizes changed to avoid + padding. + +2009-03-09 Jakub Jelinek <jakub@redhat.com> + + PR c++/39371 + * g++.dg/opt/switch2.C: Add -w to dg-options. + * g++.dg/warn/Wswitch-1.C: Adjust expected warnings. + * g++.dg/warn/switch1.C: New test. + * g++.dg/other/switch3.C: New test. + + PR tree-optimization/39394 + * gcc.c-torture/compile/pr39394.c: New test. + +2009-03-09 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + + * gcc.target/s390/20090223-1.c: New testcase. + +2009-03-08 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR libfortran/39402 + * gfortran.dg/fmt_f0_1.f90: New test. + +2009-03-08 H.J. Lu <hongjiu.lu@intel.com> + + PR c++/39060 + * g++.dg/other/new1.C: Adjusted. + * g++.dg/parse/crash40.C: Likewise. + * g++.dg/parse/defarg12.C: Likewise. + * g++.dg/template/error15.C: Likewise. + + * g++.dg/other/pr39060.C: New. + +2009-03-07 Jason Merrill <jason@redhat.com> + + PR c++/39367 + * g++.dg/opt/new1.C: New. + +2009-03-06 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/33492 + * g++.dg/other/error32.C: New. + +2009-03-06 Jakub Jelinek <jakub@redhat.com> + + PR middle-end/39360 + * gcc.c-torture/compile/pr39360.c: New test. + + PR debug/39372 + * g++.dg/debug/dwarf2/static-local-var-in-ctor.C: New test. + +2009-03-05 Jason Merrill <jason@redhat.com> + + PR c++/38908 + * g++.dg/warn/Wuninitialized-3.C: New test. + +2009-03-05 Jakub Jelinek <jakub@redhat.com> + + PR debug/39379 + * g++.dg/debug/dwarf2/imported-module-3.C: New test. + * g++.dg/debug/dwarf2/imported-module-4.C: New test. + +2009-03-04 Jason Merrill <jason@redhat.com> + + PR c++/13549 + * g++.dg/template/koenig7.C: New test. + +2009-03-04 Nathan Sidwell <nathan@codesourcery.com> + + * g++.dg/torture/predcom-1.C: New test. + +2009-03-04 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/39362 + * g++.dg/torture/pr39362.C: New testcase. + +2009-03-04 Jason Merrill <jason@redhat.com> + Giovanni Bajo <giovannibajo@gcc.gnu.org> + + PR c++/9634 + PR c++/29469 + PR c++/29607 + * g++.dg/template/dependent-name5.C: New test. + +2009-03-04 Steve Ellcey <sje@cup.hp.com> + + PR testsuite/39357 + * gcc.dg/vect-iv-6.c (dg-require-effective-target): Change from + vect_int to vect_int_mult. + +2009-03-04 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/39358 + * g++.dg/warn/Wstrict-aliasing-bogus-escape-2.C: New testcase. + * g++.dg/warn/Wstrict-aliasing-bogus-escape-3.C: Likewise. + +2009-03-04 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/39339 + * gcc.c-torture/execute/pr39339.c: New testcase. + +2009-03-03 Joseph Myers <joseph@codesourcery.com> + + * gcc.c-torture/compile/20090303-1.c, + gcc.c-torture/compile/20090303-2.c: New tests. + +2009-03-03 Jakub Jelinek <jakub@redhat.com> + + PR fortran/39354 + * gfortran.dg/gomp/pr39354.f90: New test. + + PR tree-optimization/39343 + * gcc.dg/pr39343.c: New test. + +2009-03-03 Ira Rosen <irar@il.ibm.com> + + PR tree-optimization/39248 + * gcc.dg/vect/vect-complex-1.c: Add attribute aligned to the arrays. + * gcc.dg/vect/vect-iv-6.c: Don't expect to fail to vectorize + on targets without vector misalignment support. + * lib/target-supports.exp + (check_effective_target_vect_short_mult): Add + check_effective_target_arm32. + +2009-03-02 Sebastian Pop <sebastian.pop@amd.com> + + PR middle-end/39335 + * gcc.dg/graphite/pr39335_1.c: New. + * gcc.dg/graphite/pr39335.c: New. + +2009-03-02 H.J. Lu <hongjiu.lu@intel.com> + + * gcc.target/i386/stackalign/return-4.c: Scan andl/andq instead + of andl. + * gcc.target/i386/stackalign/return-5.c: Likewise. + * gcc.target/i386/stackalign/return-6.c: Likewise. + +2009-03-02 Richard Guenther <rguenther@suse.de> + Ira Rosen <irar@il.ibm.com> + + PR tree-optimization/39318 + * gfortran.dg/vect/pr39318.f90: New test. + +2009-03-01 Jan Hubicka <jh@suse.cz> + + * gcc.dg/debug/dwarf2/ipa-cp1.c: New testcase. + +2009-03-01 Jan Hubicka <jh@suse.cz> + + PR debug/39267 + * gcc.dg/debug/dwarf2/inline1.c: New testcase. + +2009-03-01 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/pack12.adb: New test. + +2009-02-26 H.J. Lu <hongjiu.lu@intel.com> + + PR c++/37789 + * g++.dg/other/pr37789.C: New. + +2009-02-26 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/39295 + * gfortran.dg/interface_25.f90: New test. + * gfortran.dg/interface_26.f90: New test. + +2009-02-26 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/39292 + * gfortran.dg/initialization_22.f90: New test. + +2009-02-25 H.J. Lu <hongjiu.lu@intel.com> + + PR rtl-optimization/39241 + * gcc.dg/torture/pr39241.c: New. + +2009-02-25 Martin Jambor <mjambor@suse.cz> + + PR tree-optimizations/39259 + * g++.dg/torture/pr39259.C: New testcase. + +2009-02-24 Richard Guenther <rguenther@suse.de> + + PR c++/39242 + * g++.dg/template/instantiate10.C: New testcase. + +2009-02-24 Richard Guenther <rguenther@suse.de> + Zdenek Dvorak <ook@ucw.cz> + + PR tree-optimization/39233 + * gcc.c-torture/execute/pr39233.c: New testcase. + +2009-02-23 Sebastian Pop <sebastian.pop@amd.com> + + PR tree-optimization/39260 + * gcc.dg/graphite/pr39260.c: New. + +2009-02-23 H.J. Lu <hongjiu.lu@intel.com> + + * g++.dg/init/static-init1.C: Replace int with __PTRDIFF_TYPE__. + +2009-02-23 H.J. Lu <hongjiu.lu@intel.com> + + PR c++/36411 + * g++.dg/template/void14.C: New. + +2009-02-23 Jason Merrill <jason@redhat.com> + + PR c++/38880 + * g++.dg/init/const7.C: Remove XFAIL. + * g++.dg/init/static-init1.C: New test. + + * g++.dg/cpp0x/initlist14.C: New test. + +2009-02-21 Thomas Koenig <tkoenig@gcc.gnu.org> + + PR fortran/38914 + * bound_simplification_2.f90: New test case. + * bound_7.f90: New test case. + +2009-02-21 Joseph Myers <joseph@codesourcery.com> + + * gcc.dg/cpp/include4.c: New test. + +2009-02-21 Uros Bizjak <ubizjak@gmail.com> + + PR target/39256 + * gcc.target/i386/abi-2.c: New. + +2009-02-21 Kaz Kojima <kkojima@gcc.gnu.org> + + * gcc.c-torture/execute/pr39228.x: New. + +2009-02-21 Uros Bizjak <ubizjak@gmail.com> + + * gcc.target/i386/abi-1.c: Use scan-assembler-times "..." 1 instead of + scan-assembler to check for xmm0 register. + +2009-02-20 Mark Mitchell <mark@codesourcery.com> + Joseph Myers <joseph@codesourcery.com> + + * gcc.target/arm/va_list.c: New test. + * g++.dg/abi/arm_va_list.C: Likewise. + * lib/target-supports.exp (check_effective_target_arm_eabi): New + function. + * g++.dg/cpp0x/temp-va-arg-bug.C, g++.dg/other/stdarg1.C, + g++.dg/warn/miss-format-1.C, g++.dg/warn/miss-format-3.C, + g++.dg/warn/miss-format-4.C, g++.dg/warn/miss-format-5.C, + g++.dg/warn/miss-format-6.C, g++.old-deja/g++.other/vaarg2.C, + g++.old-deja/g++.other/vaarg3.C, g++.old-deja/g++.other/vaarg4.C, + g++.old-deja/g++.pt/builtin.C: Use -Wno-abi on ARM EABI targets. + +2009-02-20 Jack Howarth <howarth@bromo.med.uc.edu> + + PR testsuite/38164 + * gcc.target/i386/amd64-abi-3.c: Add -fomit-frame-pointer + to dg-options. + +2009-02-20 Jakub Jelinek <jakub@redhat.com> + + PR target/39240 + * gcc.c-torture/execute/pr39240.c: New test. + +2009-02-20 Jason Merrill <jason@redhat.com> + + PR c++/39225 + * g++.dg/parse/dtor15.C: New test. + +2009-02-19 Kazu Hirata <kazu@codesourcery.com> + + * gcc.c-torture/execute/20090219-1.c: New. + +2009-02-19 Adam Nemet <anemet@caviumnetworks.com> + + * gcc.target/mips/mips.exp: Comment !CPU in the isa* pseudo-options. + (mips-dg-options): When matching isa* pseudo-options make + 'value' optional and accept ! entries. Use $spec instead of + $isa_spec in the isa pseudo-option error message. Only + perform the ISA-range check when 'value' is set. If arch is + matching any CPU in the ! entries switch to its generic ISA. + * gcc.target/mips/branch-1.c: Pass isa=!octeon. + * gcc.target/mips/dmult-1.c: Pass isa=64!octeon rather than -mips64. + +2009-02-19 Jakub Jelinek <jakub@redhat.com> + + PR target/39175 + * gcc.dg/visibility-20.c: New test. + * g++.dg/ext/visibility/visibility-11.C: New test. + +2009-02-19 H.J. Lu <hongjiu.lu@intel.com> + + PR c++/39188 + * g++.dg/abi/pr39188-1a.C: New. + * g++.dg/abi/pr39188-1b.C: Likewise. + * g++.dg/abi/pr39188-1.h: Likewise. + * g++.dg/abi/pr39188-2a.C: Likewise. + * g++.dg/abi/pr39188-2b.C: Likewise. + * g++.dg/abi/pr39188-2.h: Likewise. + * g++.dg/abi/pr39188-3a.C: Likewise. + * g++.dg/abi/pr39188-3b.C: Likewise. + * g++.dg/abi/pr39188-3.h: Likewise. + +2009-02-19 Joseph Myers <joseph@codesourcery.com> + + PR c/38483 + * gcc.c-torture/execute/call-trap-1.c, + gcc.c-torture/execute/va-arg-trap-1.c, gcc.dg/call-diag-1.c: New + tests. + +2009-02-19 Uros Bizjak <ubizjak@gmail.com> + + PR target/39228 + * gcc.c-torture/execute/pr39228.c: New test. + +2009-02-19 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/39074 + * gcc.dg/torture/pr39074.c: New testcase. + * gcc.dg/torture/pr39074-2.c: Likewise. + * gcc.dg/torture/pr39074-3.c: Likewise. + +2009-02-18 H.J. Lu <hongjiu.lu@intel.com> + + PR c++/39219 + * g++.dg/parse/attr3.C: New. + +2009-02-18 Jack Howarth <howarth@bromo.med.uc.edu> + + PR testsuite/38165 + * g++.dg/pubtypes.C: Adopt Radar 4535968 fix to testcase. + + PR testsuite/38166 + * g++.dg/ext/visibility/class1.C: Revert revision 122348 + and skip on Darwin. + +2009-02-18 Jason Merrill <jason@redhat.com> + + PR c++/38880 + * g++.dg/init/const7.C: Remove XFAIL. + + PR target/39179 + * g++.dg/opt/const6.C: New test. + +2009-02-18 H.J. Lu <hongjiu.lu@intel.com> + + * gcc.dg/callabi/callabi.exp: Moved to ... + * gcc.target/x86_64/abi/callabi/callabi.exp: Here. Only run + in 64bit mode. + + * gcc.target/x86_64/abi/callabi/func-1.c: Don't check target. + * gcc.target/x86_64/abi/callabi/func-indirect.c: Likewise. + * gcc.target/x86_64/abi/callabi/func-indirect.c: Likewise. + * gcc.target/x86_64/abi/callabi/pr38891.c: Likewise. + * gcc.target/x86_64/abi/callabi/vaarg-1.c: Likewise. + * gcc.target/x86_64/abi/callabi/vaarg-2.c: Likewise. + * gcc.target/x86_64/abi/callabi/vaarg-3.c: Likewise. + + * gcc.dg/callabi/callabi.h: Moved to ... + * gcc.target/x86_64/abi/callabi/callabi.h: Here. + + * gcc.dg/callabi/func-1.c: Moved to ... + * gcc.target/x86_64/abi/callabi/func-1.c: Here. + + * gcc.dg/callabi/func-indirect.c: Moved to ... + * gcc.target/x86_64/abi/callabi/func-indirect.c: Here. + + * gcc.dg/callabi/pr38891.c: Moved to ... + * gcc.target/x86_64/abi/callabi/pr38891.c: Here. + + * gcc.dg/callabi/vaarg-1.c: Moved to ... + * gcc.target/x86_64/abi/callabi/vaarg-1.c: Here. + + * gcc.dg/callabi/vaarg-2.c: Moved to ... + * gcc.target/x86_64/abi/callabi/vaarg-2.c: Here. + + * gcc.dg/callabi/vaarg-3.c: Moved to ... + * gcc.target/x86_64/abi/callabi/vaarg-3.c: Here. + +2009-02-17 Xuepeng Guo <xuepeng.guo@intel.com> + + PR target/38891 + * gcc.dg/callabi/pr38891.c: New. + +2009-02-17 H.J. Lu <hongjiu.lu@intel.com> + + * gcc.dg/callabi/callabi.exp: New. + +2009-02-17 H.J. Lu <hongjiu.lu@intel.com> + + PR target/39082 + * g++.dg/compat/struct-layout-1_generate.c (dg_options): Add + -Wno-abi for x86. + * gcc.dg/compat/struct-layout-1_generate.c (dg_options): Likewise. + + * gcc.target/i386/pr39082-1.c: New. + + * gcc.target/x86_64/abi/abi-x86_64.exp (additional_flags): Add + -Wno-abi. + + * gcc.target/x86_64/abi/args.h (XMM_T): Add _m64 and _m128 if + CHECK_M64_M128 is defined. + (check_f_arguments): Add "do". + (check_vector_arguments): New. + (check_m64_arguments): Likewise. + (check_m128_arguments): Likewise. + + * gcc.target/x86_64/abi/defines.h: Include <xmmintrin.h>. + (CHECK_M64_M128): Define. + + * gcc.target/x86_64/abi/test_m64m128_returning.c: New. Based + on abitest. + * gcc.target/x86_64/abi/test_passing_m64m128.c: Likewise. + + * gcc.target/x86_64/abi/test_passing_structs.c: Define __m128 + tests only if CHECK_M64_M128 is defined. + + * gcc.target/x86_64/abi/test_passing_structs.c (m128_struct): New. + (m128_2_struct): Likewise. + (check_struct_passing5): Likewise. + (check_struct_passing6): Likewise. + (main): Test struct with __m128 if CHECK_M64_M128 is defined. + + * gcc.target/x86_64/abi/test_passing_unions.c (un4): New. + (un5): Likewise. + (check_union_passing4): Likewise. + (main): Test union with __m128 if CHECK_M64_M128 is defined. + +2009-02-18 Joseph Myers <joseph@codesourcery.com> + + PR c/35447 + * gcc.dg/noncompile/pr35447-1.c: New test. + +2009-02-18 Jakub Jelinek <jakub@redhat.com> + + PR tree-optimization/36922 + * gfortran.dg/pr36922.f: New test. + +2009-02-17 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/39202 + * gcc.c-torture/compile/pr39202.c: New testcase. + +2009-02-17 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/39204 + * gcc.dg/torture/pr39204.c: New testcase. + +2009-02-17 Bingfeng Mei <bmei@broadcom.com> + + * gcc.dg/vect/vect-outer-5.c: Require vect_float support. + * gcc.dg/vect/vect-outer-6.c: Ditto. + +2009-02-16 Joseph Myers <joseph@codesourcery.com> + + PR c/35446 + * gcc.dg/noncompile/init-5.c: New test. + * gcc.dg/init-bad-4.c: Adjust expected errors. + +2009-02-16 H.J. Lu <hongjiu.lu@intel.com> + + PR target/37049 + * gcc.target/i386/push-1.c: New. + +2009-02-15 Uros Bizjak <ubizjak@gmail.com> + + * gcc.dg/struct/w_prof_single_str_global.c: Mask return value. + +2009-02-13 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> + + * gcc.target/spu/intrinsics-sr.c: New test. + +2009-02-13 Steve Ellcey <sje@cup.hp.com> + + PR target/38056 + * gcc.target/ia64/sibcall-opt-1.c: New test. + * gcc.target/ia64/sibcall-opt-2.c: New test. + +2009-02-13 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/36528 + * gfortran.dg/cray_pointers_8.f90: New test. + + PR fortran/36703 + * gfortran.dg/cray_pointers_9.f90: New test. + +2009-02-13 Jason Merrill <jason@redhat.com> + + PR c++/39070 + * g++.dg/cpp0x/decltype16.C: New. + +2009-02-13 H.J. Lu <hongjiu.lu@intel.com> + + PR target/39152 + * gfortran.dg/gomp/pr39152.f90: New. + +2009-02-13 H.J. Lu <hongjiu.lu@intel.com> + + PR target/39162 + * gcc.target/i386/pr39162.c: New. + +2009-02-13 Joseph Myers <joseph@codesourcery.com> + + PR c/35444 + * gcc.dg/noncompile/pr35444-1.c, gcc.dg/noncompile/pr35444-2.c: + New tests. + +2009-02-12 Jason Merrill <jason@redhat.com> + + PR c++/38950 + * g++.dg/template/array20.C: New test. + +2009-02-12 Uros Bizjak <ubizjak@gmail.com> + + * gcc.dg/torture/fp-int-convert-float128-timode.c: Do not check + for lp64 in "dg-do run" directive. Remove dg-xfail-if directive. + * gcc.dg/torture/fp-int-convert-timode.c: Remove xfail directive. + +2009-02-12 H.J. Lu <hongjiu.lu@intel.com> + + * g++.dg/cpp0x/defaulted9.C: Compile with "-std=c++0x -fno-inline". + +2009-02-12 H.J. Lu <hongjiu.lu@intel.com> + + PR target/39152 + * gfortran.dg/pr39152.f: New. + +2009-02-11 Jason Merrill <jason@redhat.com> + + PR c++/39153 + * g++.dg/cpp0x/defaulted9.C: New test. + + PR c++/30111 + * g++.dg/init/value7.C: New test. + +2009-02-11 Paolo Bonzini <bonzini@gnu.org> + + PR target/38824 + * gcc.target/i386/pr38824.c: New testcase. + +2009-02-11 Jason Merrill <jason@redhat.com> + + PR c++/38649 + * g++.dg/cpp0x/defaulted8.C: New test. + + PR c++/36744 + * g++.dg/cpp0x/rv9p.C: New test. + +2009-02-10 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/aliasing3.adb: New test. + * gnat.dg/aliasing3_pkg.ad[sb]: New helper. + +2009-02-10 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/34397 + * g++.dg/template/crash88.C: New. + * g++.dg/template/crash89.C: Likewise. + +2009-02-10 Steve Ellcey <sje@cup.hp.com> + + PR c/39084 + * gcc.dg/pr39084.c: New test. + +2009-02-10 Jakub Jelinek <jakub@redhat.com> + + PR target/39139 + * gcc.target/i386/pr39139.c: New test. + +2009-02-10 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/39132 + * gcc.dg/torture/pr39132.c: New testcase. + +2009-02-10 H.J. Lu <hongjiu.lu@intel.com> + + PR target/39119 + * gcc.target/x86_64/abi/avx/abi-avx.exp: New. + * gcc.target/x86_64/abi/avx/args.h: Likewise. + * gcc.target/x86_64/abi/avx/asm-support.S: Likewise. + * gcc.target/x86_64/abi/avx/avx-check.h: Likewise. + * gcc.target/x86_64/abi/avx/test_m256_returning.c: Likewise. + * gcc.target/x86_64/abi/avx/test_passing_m256.c: Likewise. + * gcc.target/x86_64/abi/avx/test_passing_structs.c: Likewise. + * gcc.target/x86_64/abi/avx/test_passing_unions.c: Likewise. + +2009-02-09 Jason Merrill <jason@redhat.com> + + PR c++/39109 + * g++.dg/init/value6.C: New test. + +2009-02-09 H.J. Lu <hongjiu.lu@intel.com> + + * gcc.target/x86_64/abi/abi-x86_64.exp: Use glob instead of find. + +2009-02-09 Eric Botcazou <ebotcazou@adacore.com> + + * gcc.c-torture/compile/20090209-1.c: New test. + +2009-02-06 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/35147 + PR c++/37737 + * g++.dg/cpp0x/vt-35147.C: New. + * g++.dg/cpp0x/vt-37737-1.C: Likewise. + * g++.dg/cpp0x/vt-37737-2.C: Likewise. + +2009-02-06 Joseph Myers <joseph@codesourcery.com> + + PR c/35434 + * gcc.dg/attr-alias-4.c: New test. + +2009-02-06 Janis Johnson <janis187@us.ibm.com> + + PR c/39035 + * gcc.dg/dfp/pr39035.c: New test. + +2009-02-06 Joseph Myers <joseph@codesourcery.com> + + PR c/36432 + * gcc.dg/c90-flex-array-2.c, gcc.dg/c99-flex-array-6.c: New tests. + +2009-02-05 Jakub Jelinek <jakub@redhat.com> + + PR c++/39106 + * g++.dg/opt/thunk3.C: New test. + +2009-02-05 Nick Clifton <nickc@redhat.com> + + * gcc.c-torture/compile/20080625-1.c: Skip for M32C. + * gcc.c-torture/compile/limits-stringlit.c: Likewise. + * gcc.dg/cdce1.c: Likewise. + * gcc.dg/cpp/_Pragma6.c: Likewise. + * g++.dg/cpp/_Pragma1.C: Likewise. + * gcc.dg/utf32-2.c: Xfail for M32C. + * gcc.dg/utf32-1.c: Likewise. + * gcc.dg/utf32-3.c: Likewise. + * gcc.dg/Wtype-limits.c: Add expected warning messages for 16-bit + targets. + * gcc.dg/Wtype-limits-Wextra.c: Likewise. + * gcc.dg/utf32-4.c: Only run for 32-bit+ targets. + * gcc.dg/Wconversion-5.c: Likewise. + * gcc.dg/tree-ssa/data-dep-1.c: Likewise. + * gcc.dg/tree-ssa/ldist-3.c: Likewise. + * gcc.dg/tree-ssa/ldist-5.c: Likewise. + * gcc.dg/utf-inc-init.c: Likewise. + * gcc.dg/pr11492.c: Xfail for 16-bit targets. + * gcc.dg/utf-array.c: Add expected warning messages for M32C. + * gcc.dg/utf-array-short-wchar.c: Likewise. + * gcc.dg/tree-ssa/pr33920.c: Expect a warning from all 16-bit targets. + * gcc.dg/mallign.c: Use size_t instead of long. + +2009-02-05 Uros Bizjak <ubizjak@gmail.com> + + * g++.dg/torture/pr31863.C: Generalize dg-timeout-factor. + +2009-02-05 Daniel Berlin <dberlin@dberlin.org> + + * gcc.c-torture/execute/pr39100.c: New. + +2009-02-05 Joseph Myers <joseph@codesourcery.com> + + PR c/35435 + * gcc.dg/tls/diag-6.c: New test. + +2009-02-04 Tobias Grosser <grosser@fim.uni-passau.de> + + * gcc.dg/graphite/scop-19.c: New + +2009-02-04 H.J. Lu <hongjiu.lu@intel.com> + + AVX Programming Reference (January, 2009) + * gcc.target/i386/avx-vpclmulqdq.c: New. + * gcc.target/i386/pclmul-avx-check.h: Likewise. + + * gcc.target/i386/i386.exp (check_effective_target_vpclmul): New. + + * gcc.target/i386/pclmulqdq.c (CHECK_H): New. + (TEST): Likewise. Include CHECK_H instead of "pclmul-check.h". + (pclmul_test): Renamed to ... + (TEST): This. + +2009-02-04 Jakub Jelinek <jakub@redhat.com> + + PR c++/39095 + * g++.dg/abi/mangle31.C: New test. + +2009-02-03 Joseph Myers <joseph@codesourcery.com> + + PR c/29129 + * c90-arraydecl-1.c: Do not expect error for [*] in abstract + declarator. + * vla-6.c: Likewise. Expect warning not error for [*] lexically + inside function prototype but not part of parameter declarator. + * vla-11.c: New test. + +2009-02-03 Jason Merrill <jason@redhat.com> + + * g++.dg/warn/main-4.C: New test. + * g++.old-deja/g++.bugs/900227_01.C: Remove &main warnings. + +2009-02-03 Andrew Pinski <andrew_pinski@playstation.sony.com> + + PR c++/36607 + * g++.dg/expr/cast10.C: New test. + +2009-02-03 Joseph Myers <joseph@codesourcery.com> + + PR c/35433 + * gcc.dg/init-bad-6.c: New test. + +2009-02-03 Jakub Jelinek <jakub@redhat.com> + + PR target/35318 + * gcc.c-torture/compile/pr35318.c: New test. + + PR inline-asm/39059 + * gcc.dg/nofixed-point-2.c: New test. + * g++.dg/ext/fixed1.C: Adjust expected diagnostics. + * g++.dg/ext/fixed2.C: Likewise. + * g++.dg/other/error25.C: Likewise. + * g++.dg/lookup/crash7.C: Likewise. + * g++.dg/cpp0x/decltype-38655.C: Likewise. + + PR c++/39056 + * g++.dg/cpp0x/initlist13.C: New test. + +2009-02-03 Paolo Bonzini <bonzini@gnu.org> + + PR c++/36897 + * g++.dg/template/func2.C: New test. + + PR c++/37314 + * g++.dg/template/typename15.C: New. + * g++.dg/template/typename16.C: New. + +2009-02-03 Janis Johnson <janis187@us.ibm.com> + Ben Elliston <bje@au.ibm.com> + + PR c/39034 + * gcc.dg/dfp/pr39034.c: New test. + +2009-02-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + PR testsuite/38263 + * gcc.dg/ipa/ipacost-2.c: Add -fpie when pic. + +2009-02-02 Jason Merrill <jason@redhat.com> + + PR c++/39054 + * g++.dg/parse/dtor14.C: New test. + +2009-02-02 Jakub Jelinek <jakub@redhat.com> + + * lib/target-supports.exp + (check_effective_target_correct_iso_cpp_string_wchar_protos): New. + * g++.dg/ext/builtin10.C: New test. + + PR inline-asm/39058 + * gcc.target/i386/pr39058.c: New test. + +2009-02-02 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/38937 + * g++.dg/warn/Wstrict-aliasing-bogus-escape.C: New testcase. + +2009-02-01 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/39053 + * g++.dg/parse/crash52.C: New. + +2009-01-30 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/39041 + * gcc.c-torture/compile/pr39041.c: New testcase. + +2009-01-30 Jakub Jelinek <jakub@redhat.com> + + PR target/39013 + * gcc.target/i386/pr39013-1.c: New test. + * gcc.target/i386/pr39013-2.c: New test. + + PR c++/39028 + * g++.dg/ext/label12.C: New test. + +2009-01-30 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/33465 + * g++.dg/parse/error34.C: New. + * g++.dg/parse/error35.C: Likewise. + +2009-01-30 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/38655 + * g++.dg/cpp0x/decltype-38655.C: New. + +2009-01-30 Jakub Jelinek <jakub@redhat.com> + + PR target/39002 + * g++.dg/torture/pr39002.C: New test. + +2009-01-29 Kazu Hirata <kazu@codesourcery.com> + + PR tree-optimization/39007 + * gcc.dg/tree-ssa/pr39007.c: New. + +2009-01-29 Kenneth Zadeck <zadeck@naturalbridge.com> + + PR middle-end/35854 + * gcc.dg/lower-subreg-1.c: Renamed dump pass from "subreg" + to "subreg1". + +2009-01-29 Steve Ellcey <sje@cup.hp.com> + + PR middle-end/38857 + * gcc.c-torture/compile/pr38857.c: New test. + +2009-01-28 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/38852 + PR fortran/39006 + * gfortran.dg/bound_6.f90: New test. + +2009-01-28 Pat Haugen <pthaugen@us.ibm.com> + + * gcc.target/powerpc/avoid-indexed-addresses.c: New test. + +2009-01-28 Kazu Hirata <kazu@codesourcery.com> + + PR tree-optimization/38997 + * gcc.dg/tree-ssa/pr38997.c: New. + +2009-01-28 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/38926 + * gcc.c-torture/compile/pr38926.c: New testcase. + +2009-01-28 Jakub Jelinek <jakub@redhat.com> + + PR middle-end/38934 + * gcc.dg/pr38934.c: New test. + +2009-01-28 Richard Guenther <rguenther@suse.de> + + PR middle-end/38908 + * g++.dg/warn/Wuninitialized-2.C: New testcase. + +2009-01-28 Paolo Bonzini <bonzini@gnu.org> + + PR tree-optimization/38984 + * gcc.dg/pr38984.c: New XFAILed testcase. + + +2009-01-28 Uros Bizjak <ubizjak@gmail.com> + + PR target/38988 + * gcc.target/i386/pr38988.c: New test. + +2009-01-27 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/37554 + * g++.dg/parse/crash51.C: New. + * g++.old-deja/g++.pt/crash9.C: Adjust. + +2009-01-27 Daniel Kraft <d@domob.eu> + + PR fortran/38883 + * gfortran.dg/mvbits_6.f90: New test. + * gfortran.dg/mvbits_7.f90: New test. + * gfortran.dg/mvbits_8.f90: New test. + +2009-01-27 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/38503 + * g++.dg/warn/Wstrict-aliasing-bogus-placement-new.C: New testcase. + +2009-01-27 Uros Bizjak <ubizjak@gmail.com> + + PR middle-end/38969 + * gcc.c-torture/execute/pr38969.c: New test. + +2009-01-26 Adam Nemet <anemet@caviumnetworks.com> + + PR testsuite/38864 + * gcc.target/mips/fixed-vector-type.c: Add target { fixed_point } + to dg-do compile. + * gcc.target/mips/fixed-scalar-type.c: Likewise. + * gcc.target/mips/dpaq_sa_l_w.c: Likewise. + * gcc.target/mips/dpsq_sa_l_w.c: Likewise. + +2009-01-26 H.J. Lu <hongjiu.lu@intel.com> + + PR target/38952 + * g++.dg/torture/stackalign/test-unwind.h (main): Also return 0 + if __USING_SJLJ_EXCEPTIONS__ is defined. + + * g++.dg/torture/stackalign/unwind-0.C (foo): Don't define if + __USING_SJLJ_EXCEPTIONS__ is defined. + * g++.dg/torture/stackalign/unwind-1.C (foo): Likewise. + * g++.dg/torture/stackalign/unwind-2.C (foo): Likewise. + * g++.dg/torture/stackalign/unwind-3.C (foo): Likewise. + * g++.dg/torture/stackalign/unwind-4.C (foo): Likewise. + * g++.dg/torture/stackalign/unwind-5.C (foo): Likewise. + * g++.dg/torture/stackalign/unwind-6.C (foo): Likewise. + +2009-01-26 Danny Smith <dannysmith@users.sourceforge.net> + + PR testsuite/38949 + * g++.dg/torture/stackalign/test-unwind.h (ASMNAME): Define. + Use instead of C name in asm statements. + +2009-01-26 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/38745 + * g++.dg/torture/pr38745.C: New testcase. + +2009-01-26 Richard Guenther <rguenther@suse.de> + + PR middle-end/38851 + * g++.dg/warn/Wuninitialized-1.C: New testcase. + +2009-01-25 Hans-Peter Nilsson <hp@axis.com> + + * gcc.dg/bitfld-15.c: Gate warning on target + pcc_bitfield_type_matters. + * gcc.dg/bitfld-17.c, g++.dg/ext/bitfield2.C, + g++.dg/ext/bitfield4.C: Likewise. + * gcc.dg/pr17112-1.c: Don't expect a warning for the packed + bitfield for any target. + +2009-01-24 Jakub Jelinek <jakub@redhat.com> + + PR c/38957 + * gcc.dg/pr38957.c: New test. + +2009-01-24 David Billinghurst <billingd@gcc.gnu.org> + + PR fortran/38955 + * gfortran.dg/array_constructor_24.f: Allow tolerance when + comparing floats. + +2009-01-24 Sebastian Pop <sebastian.pop@amd.com> + + PR tree-optimization/38953 + * gfortran.dg/graphite/pr38953.f90: New. + +2009-01-24 Paul Brook <paul@codesourcery.com> + + * gcc.target/arm/neon-cond-1.c: New test. + +2009-01-23 Paolo Bonzini <bonzini@gnu.org> + + PR tree-optimization/38932 + * gcc.dg/pr38932.c: New. + +2009-01-23 Revital Eres <eres@il.ibm.com> + + * gcc.dg/sms-7.c: Fix test. + +2009-01-22 Adam Nemet <anemet@caviumnetworks.com> + + * gcc.dg/bitfld-15.c, gcc.dg/bitfld-16.c, + gcc.dg/bitfld-17.c,gcc.dg/bitfld-18.c: New tests. + * g++.dg/ext/bitfield2.C, g++.dg/ext/bitfield3.C, + g++.dg/ext/bitfield4.C, g++.dg/ext/bitfield5.C: New tests. + +2009-01-22 Steve Ellcey <sje@cup.hp.com> + + * gcc.dg/pr35729.c: Make test x86 specific. + +2009-01-22 Steve Ellcey <sje@cup.hp.com> + + PR middle-end/38615 + * gcc.dg/pr38615.c: New test. + +2009-01-22 Uros Bizjak <ubizjak@gmail.com> + + PR target/38931 + * gcc.target/i386/pr38931.c: New test. + +2009-01-22 Dodji Seketeli <dodji@redhat.com> + + PR c++/38930 + * g++.dg/template/typedef11.C: Reverting changes of PR c++/26693. + * g++.dg/template/typedef12.C: Likewise. + * g++.dg/template/typedef13.C: Likewise. + * g++.dg/template/typedef14.C: Likewise. + * g++.dg/template/sfinae3.C: Likewise. + * g++.old-deja/g++.pt/typename8.C: Likewise. + * g++.dg/template/access11.C: Likewise + +2009-01-21 Richard Sandiford <rdsandiford@googlemail.com> + + * gcc.dg/tree-ssa/ssa-store-ccp-3.c: Skip for mips*-*-linux* + and mips*-*-irix*. + * gcc.dg/tree-ssa/vrp47.c: Skip for all MIPS targets. + +2009-01-21 Dodji Seketeli <dodji@redhat.com> + + PR c++/26693 + * g++.dg/template/typedef11.C: New test. + * g++.dg/template/typedef12.C: Likewise. + * g++.dg/template/typedef13.C: Likewise. + * g++.dg/template/typedef14.C: Likewise. + * g++.dg/template/sfinae3.C: Compile this pedantically. + The only errors expected should be the one saying the typedef is ill + formed. + * g++.old-deja/g++.pt/typename8.C: Likewise. + * g++.dg/template/access11.C: Update this. + +2009-01-21 Daniel Kraft <d@domob.eu> + + PR fortran/38887 + * gfortran.dg/mvbits_5.f90: New test. + +2009-01-21 Bingfeng Mei <bmei@broadcom.com> + + * gcc.dg/sms-6.c: New test. + * gcc.dg/sms-7.c: Likewise. + +2009-01-20 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/38907 + * gfortran.dg/host_assoc_function_7.f90: New test + +2009-01-20 Andrew Pinski <andrew_pinski@playstation.sony.com> + Richard Guenther <rguenther@suse.de> + + PR tree-optimization/38747 + PR tree-optimization/38748 + * gcc.dg/tree-ssa/struct-aliasing-1.c: New test. + * gcc.dg/tree-ssa/struct-aliasing-2.c: Likewise. + * gcc.c-torture/execute/struct-aliasing-1.c: Likewise. + +2009-01-20 Kees Cook <kees@ubuntu.com> + H.J. Lu <hongjiu.lu@intel.com> + + PR target/38902 + * gcc.dg/pr38902.c: New. + +2009-01-20 Paolo Bonzini <bonzini@gnu.org> + + PR target/38868 + * gfortran.dg/pr38868.f: New testcase. + +2009-01-20 Richard Guenther <rguenther@suse.de> + + * gcc.c-torture/execute/pr36227.c: Move ... + * gcc.dg/torture/pr36227.c: ... here. Require stdint_types. + +2009-01-19 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk> + + * lib/gfortran.exp: Add -B options for targets that use + libgfortran.a%s in their specs. + +2009-01-19 Jason Merrill <jason@redhat.com> + + PR c++/23287 + * g++.dg/template/dtor5.C: New test. + +2009-01-19 Mikael Morin <mikael.morin@tele2.fr> + + PR fortran/38859 + * gfortran.dg/bound_5.f90: New test. + +2009-01-18 H.J. Lu <hongjiu.lu@intel.com> + + PR target/38736 + * g++.dg/compat/abi/pr38736_main.C: New. + * g++.dg/compat/abi/pr38736_x.C: Likewise. + * g++.dg/compat/abi/pr38736_y.C: Likewise. + * g++.dg/other/macro-1.C: Likewise. + * gcc.dg/macro-1.c: Likewise. + * gcc.dg/compat/pr38736_main.c: Likewise. + * gcc.dg/compat/pr38736_x.c: Likewise. + * gcc.dg/compat/pr38736_y.c: Likewise. + +2009-01-18 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/38819 + * gcc.c-torture/execute/pr38819.c: New testcase. + +2009-01-17 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/38657 + * gfortran.dg/module_commons_3.f90: Reapply. + +2009-01-17 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/34955 + * gfortran.dg/transfer_intrinsic_1.f90: New test. + * gfortran.dg/transfer_intrinsic_2.f90: New test. + +2009-01-17 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/38657 + * gfortran.dg/module_commons_3.f90: Remove + +2009-01-16 H.J. Lu <hongjiu.lu@intel.com> + + * gcc.dg/tree-ssa/foldaddr-1.c: Add the missing '}'. + +2009-01-16 Jason Merrill <jason@redhat.com> + + PR c++/38877 + * g++.dg/template/lvalue1.C: New test. + + PR c++/29470 + * g++.dg/template/access20.C: New test. + * g++.dg/torture/pr34641.C: Fix access. + +2009-01-16 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/38835 + PR middle-end/36227 + * gcc.c-torture/execute/pr36227.c: New testcase. + * gcc.dg/tree-ssa/foldaddr-1.c: XFAIL. + * g++.dg/init/const7.C: Likewise. + +2009-01-16 Adam Nemet <anemet@caviumnetworks.com> + + PR target/38554 + * gcc.c-torture/compile/pr38554.c: New test. + +2009-01-16 Jason Merrill <jason@redhat.com> + + PR c++/38579 + * g++.dg/conversion/access1.C: New test. + +2009-01-16 Jakub Jelinek <jakub@redhat.com> + + PR tree-optimization/38789 + * gcc.c-torture/compile/pr38789.c: New test. + +2009-01-16 Janus Weil <janus@gcc.gnu.org> + + PR fortran/38152 + * gfortran.dg/proc_ptr_13.f90: New. + +2009-01-15 Jason Merrill <jason@redhat.com> + + PR c++/38850 + * g++.dg/template/koenig6.C: New test. + +2009-01-15 Andrew Pinski <andrew_pinski@playstation.sony.com> + + PR c++/29388 + * g++.dg/template/error37.C: New testcase. + +2009-01-15 Jason Merrill <jason@redhat.com> + + PR c++/36334 + * g++.dg/conversion/memfn1.C: New test. + + PR c++/37646 + * g++.dg/conversion/memfn2.C: New test. + +2009-01-15 Steve Ellcey <sje@cup.hp.com> + + PR c++/38357 + * g++.dg/template/crash87.C: New test. + +2009-01-15 H.J. Lu <hongjiu.lu@intel.com> + + PR middle-end/37843 + * gcc.target/i386/pr37843-3.c: Replace _Decimal128 with __m128. + +2009-01-15 Dodji Seketeli <dodji@redhat.com> + + PR c++/38636 + * g++.dg/parse/crash50.C: New test. + +2009-01-14 Jakub Jelinek <jakub@redhat.com> + + PR rtl-optimization/38245 + * gcc.dg/pr38245-3.c: New test. + * gcc.dg/pr38245-3.h: New file. + * gcc.dg/pr38245-4.c: New file. + * gcc.dg/pr38364.c: New test. + +2009-01-14 Adam Nemet <anemet@caviumnetworks.com> + + * gcc.target/mips/mips.exp (mips_option_tests(-mips16)): Make the + sequence PC-relative. + +2009-01-14 Mark Mitchell <mark@codesourcery.com> + + * gcc.target/arm/long-calls-1.c: Tolerate the lack of sibling + calls and/or PLT markers. + * gcc.target/arm/long-calls-2.c: Tolerate the lack of sibling + calls and/or PLT markers. + * gcc.target/arm/long-calls-3.c: Tolerate the lack of sibling + calls and/or PLT markers. + * gcc.target/arm/long-calls-4.c: Tolerate the lack of sibling + calls and/or PLT markers. + +2009-01-14 Daniel Jacobowitz <dan@codesourcery.com> + Nathan Froyd <froydnj@codesourcery.com> + Joseph Myers <joseph@codesourcery.com> + + * lib/target-supports.exp (check_effective_target_powerpc_spe_nocache): + New function. + * gcc.target/powerpc/20030218-1.c: Skip if not powerpc_spe_nocache + and use consistent CFLAGS. + * gcc.target/powerpc/20030505.c: Likewise. + * gcc.target/powerpc/20081204-1.c: Likewise. + * gcc.target/powerpc/ppc-spe.c: Likewise. + * gcc.target/powerpc/spe1.c: Likewise. + * g++.dg/ext/spe1.C: Likewise. + * g++.dg/other/opaque-1.C: Likewise. + * g++.dg/other/opaque-2.C: Likewise. + * g++.dg/other/opaque-3.C: Likewise. + +2009-01-14 Mark Mitchell <mark@codesourcery.com> + + * gcc.dg/vect/vect-105.c: Prevent compiler from hoisting abort + out of loop. + +2009-01-14 Vladimir Makarov <vmakarov@redhat.com> + + PR target/38811 + * g++.dg/torture/pr38811.C: New file. + +2009-01-14 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/38826 + PR middle-end/38477 + * gcc.dg/Wstrict-aliasing-bogus-pta-1.c: New testcase. + +2009-01-13 Sebastian Pop <sebastian.pop@amd.com> + + * gcc.dg/graphite/pr38786.c: Fix commit problem. + +2009-01-14 Nick Clifton <nickc@redhat.com> + + PR c++/37862 + * g++.cp/parse/pr37862.C: New test. + +2009-01-14 Julian Brown <julian@codesourcery.com> + + * gcc.target/arm/eabi1.c (__eabi_uread4, __eabi_uwrite4) + (__eabi_uread8, __eabi_uwrite8): Change spellings of declarations + to... + (__aeabi_uread4, __aeabi_uwrite4, __aeabi_uread8, __aeabi_uwrite8): + These. + +2009-01-13 Jakub Jelinek <jakub@redhat.com> + + PR rtl-optimization/38774 + * gcc.dg/torture/pr38774.c: New test. + + PR c++/38795 + * g++.dg/cpp0x/pr38795.C: New test. + +2009-01-13 Daniel Jacobowitz <dan@codesourcery.com> + Nathan Froyd <froydnj@codesourcery.com> + Joseph Myers <joseph@codesourcery.com> + + * gcc.target/powerpc/altivec-consts.c: Run if vmx_hw, compile + otherwise. Do not check for AltiVec at runtime. + * gcc.target/powerpc/altivec-varargs-1.c: Likewise. + * gcc.target/powerpc/altivec-vec-merge.c: Likewise. + * gcc.target/powerpc/altivec-1.c: Likewise. + * gcc.target/powerpc/altivec-3.c: Likewise. + * gcc.target/powerpc/altivec-10.c: Likewise. + * gcc.target/powerpc/altivec-12.c: Likewise. + * gcc.target/powerpc/altivec-24.c: Likewise. + * gcc.target/powerpc/altivec-cell-2.c: Likewise. + * gcc.target/powerpc/altivec-cell-3.c: Likewise. + * gcc.target/powerpc/altivec-cell-4.c: Likewise. + * gcc.target/powerpc/pr35907.c: Likewise. + * gcc.target/powerpc/altivec-cell-8.c: Run if cell_hw, compile + otherwise. Do not check for Cell at runtime. + * gcc.target/powerpc/altivec_check.h: Delete. + + * g++.dg/ext/altivec-2.C: Do not check for AltiVec at runtime. + * g++.dg/ext/altivec-3.C: Run if vmx_hw, compile otherwise. Do + not check for AltiVec at runtime. + * g++.dg/ext/altivec-cell-2.C: Likewise. + * g++.dg/ext/altivec-cell-3.C: Likewise. + * g++.dg/ext/altivec-cell-4.C: Likewise. + * g++.dg/eh/simd-2.C: Only use -maltivec if vmx_hw. + * g++.dg/eh/check-vect.h (sig_ill_handler): Remove AltiVec runtime + check. + * g++.dg/ext/altivec_check.h: Delete. + +2009-01-13 Nathan Froyd <froydnj@codesourcery.com> + + * gcc.target/powerpc/altivec-macros.c: Require a powerpc_altivec_ok + effective target. Adjust line numbers accordingly. + +2009-01-13 Mark Mitchell <mark@codesourcery.com> + + * gcc.target/i386/sse-10.c: Pass -mno-omit-leaf-frame-pointer. + +2009-01-13 Sebastian Pop <sebastian.pop@amd.com> + + PR tree-optimization/38786 + * gcc.dg/graphite/pr38786.c: New. + +2009-01-13 Uros Bizjak <ubizjak@gmail.com> + + Revert: + 2009-01-05 Uros Bizjak <ubizjak@gmail.com> + + * gcc.dg/compat/struct-layout-1_generate.c (dg-options): Add -mieee + for alpha*-*-* targets. + * g++.dg/compat/struct-layout-1_generate.c (dg-options): Ditto. + +2009-01-12 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR libfortran/38772 + * gfortran.dg/fmt_bz_bn_err.f: New test. + +2009-01-12 Nathan Froyd <froydnj@codesourcery.com> + + * gcc.target/powerpc/ppc-spe64-1.c: Add dg-error handler. + +2009-01-12 Daniel Jacobowitz <dan@codesourcery.com> + + * lib/target-supports.exp (check_effective_target_powerpc64): New. + * gcc.target/powerpc/darwin-longlong.c: Explicitly require 64-bit + instruction support. Do not check for it at runtime. + +2009-01-12 Jason Merrill <jason@redhat.com> + + PR c++/35109 + * g++.dg/lookup/friend11.C: Remove expected error. + * g++.dg/lookup/friend14.C: New test. + * g++.dg/lookup/friend15.C: New test. + +2009-01-12 Dodji Seketeli <dodji@redhat.com> + + PR c++/36019 + * g++.dg/lookup/hidden-class12.C: New test. + * g++.dg/lookup/hidden-class13.C: New test. + * g++.dg/lookup/hidden-class14.C: New test. + * g++.dg/lookup/hidden-class15.C: New test. + * g++.dg/lookup/hidden-class16.C: New test. + +2009-01-12 Mark Mitchell <mark@codesourcery.com> + + * gcc.dg/struct/wo_prof_single_str_global.c: Mask return value. + * gcc.dg/struct/wo_prof_single_str_local.c: Mask return value. + * gcc.dg/struct/wo_prof_single_str_pointer.c: Mask return value. + +2009-01-12 Jason Merrill <jason@redhat.com> + + PR c++/31488 + * g++.dg/other/vararg-3.C: New test. + +2009-01-12 Daniel Jacobowitz <dan@codesourcery.com> + + * gcc.target/powerpc/ppc-spe.c: Compile for all EABI targets. + Explicitly enable SPE. + * gcc.target/powerpc/20030505.c: Likewise. Add dg-message + directive. + + * gcc.target/powerpc/20030218-1.c: Pass -mfloat-gprs=single. + Expect -flax-vector-conversions message. Adjust incompatible + types errors. + * gcc.target/powerpc/spe1.c: Pass -mspe and -mfloat-gprs=single. + Make Foo extern. + + * gcc.dg/cpp/assert4.c: Recognize __PPC__. + + * g++.dg/other/opaque-1.C: Run on targets with SPE. + + * g++.dg/ext/spe-1.C: Pass -mspe and -mfloat-gprs=single. + * g++.dg/other/opaque-2.C: Likewise. + * g++.dg/other/opaque-3.C: Likewise. + +2009-01-12 Jakub Jelinek <jakub@redhat.com> + + PR c/32041 + * gcc.dg/pr32041.c: New test. + * g++.dg/parse/offsetof9.C: New test. + +2009-01-12 Daniel Jacobowitz <dan@codesourcery.com> + Nathan Froyd <froydnj@codesourcery.com> + + * g++.dg/conversion/simd1.C: Ignore irrelevant warning. + * g++.dg/ext/attribute-test-1.C: Likewise. + * g++.dg/ext/attribute-test-2.C: Likewise. + * g++.dg/ext/attribute-test-3.C: Likewise. + * g++.dg/ext/attribute-test-4.C: Likewise. + +2009-01-12 Eric Botcazou <ebotcazou@adacore.com> + + * gnat.dg/unchecked_convert3.adb: New test. + +2009-01-12 Tomas Bily <tbily@suse.cz> + + PR middlend/38385 + * gcc.dg/tree-ssa/pr38385.c: New file. + +2009-01-12 Jakub Jelinek <jakub@redhat.com> + + PR c++/38794 + * g++.dg/parse/typedef9.C: New test. + + PR tree-optimization/38807 + * gcc.c-torture/compile/pr38807.c: New test. + +2009-01-11 Adam Nemet <anemet@caviumnetworks.com> + + * gcc.target/mips/ins-2.c: New test. + +2009-01-11 H.J. Lu <hongjiu.lu@intel.com> + + PR testsuite/38809 + * gcc.dg/pr38616.c: Only run for targets with -fstack-protector. + +2009-01-11 Jakub Jelinek <jakub@redhat.com> + + PR c++/36254 + * g++.dg/warn/Wreturn-type-5.C: New test. + +2009-01-11 Matthias Klose <doko@ubuntu.com> + + PR middle-end/38616 + * gcc.dg/pr38616.c: New test. + +2009-01-10 Sebastian Pop <sebastian.pop@amd.com> + + * gcc.dg/graphite/block-3.c: Fix compile error on 32bit. + +2009-01-10 Andrew Pinski <pinskia@gmail.com> + + PR c++/38648 + * g++.dg/expr/string-1.C: New test. + * g++.dg/expr/string-2.C: New test. + + PR c++/36695 + * g++.dg/ext/complex4.C: New test. + * g++.dg/ext/complex5.C: New test. + * g++.dg/init/reference1.C: New test. + * g++.dg/init/reference2.C: New test. + * g++.dg/init/reference3.C: New test. + +2009-01-10 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/38763 + * gfortran.dg/transfer_null_1.f90: New test. + +2009-01-10 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/38765 + * gfortran.dg/host_assoc_function_6.f90: New test. + +2009-01-09 Joel Sherrill <joel.sherrill@oarcorp.com> + + * lib/target-supports.exp: Add method to determine if the effective + target is really a ppc405 after applying all compile options. + * gcc.target/powerpc/405-mulhhwu-2.c: Add dg-skip-if not ppc405. + * gcc.target/powerpc/405-nmachhw-1.c: Likewise. + * gcc.target/powerpc/405-nmaclhw-1.c: Likewise. + * gcc.target/powerpc/405-machhwu-1.c: Likewise. + * gcc.target/powerpc/405-mullhwu-1.c: Likewise. + * gcc.target/powerpc/405-nmacchw-1.c: Likewise. + * gcc.target/powerpc/405-mulchwu-1.c: Likewise. + * gcc.target/powerpc/405-nmachhw-2.c: Likewise. + * gcc.target/powerpc/405-nmaclhw-2.c: Likewise. + * gcc.target/powerpc/405-machhwu-2.c: Likewise. + * gcc.target/powerpc/405-mulhhw-1.c: Likewise. + * gcc.target/powerpc/405-machhw-1.c: Likewise. + * gcc.target/powerpc/405-mullhw-1.c: Likewise. + * gcc.target/powerpc/405-maclhw-1.c: Likewise. + * gcc.target/powerpc/405-dlmzb-strlen-1.c: Likewise. + * gcc.target/powerpc/405-mullhwu-2.c: Likewise. + * gcc.target/powerpc/405-nmacchw-2.c: Likewise. + * gcc.target/powerpc/405-mulchwu-2.c: Likewise. + * gcc.target/powerpc/405-mulchw-1.c: Likewise. + * gcc.target/powerpc/405-maclhwu-1.c: Likewise. + * gcc.target/powerpc/405-macchw-1.c: Likewise. + * gcc.target/powerpc/405-mulhhw-2.c: Likewise. + * gcc.target/powerpc/405-machhw-2.c: Likewise. + * gcc.target/powerpc/405-mullhw-2.c: Likewise. + * gcc.target/powerpc/405-maclhw-2.c: Likewise. + * gcc.target/powerpc/405-macchwu-1.c: Likewise. + * gcc.target/powerpc/405-mulhhwu-1.c: Likewise. + * gcc.target/powerpc/405-mulchw-2.c: Likewise. + * gcc.target/powerpc/405-maclhwu-2.c: Likewise. + * gcc.target/powerpc/405-macchw-2.c: Likewise. + * gcc.target/powerpc/405-macchwu-2.c: Likewise. + +2009-01-09 Jakub Jelinek <jakub@redhat.com> + + PR c++/35335 + * g++.dg/other/error31.C: New testcase. + + PR c/35742 + * gcc.dg/pr35742.c: New test. + +2009-01-09 John F. Carr <jfc@mit.edu> + + PR c++/37877 + * g++.dg/parse/linkage3.C: New test. + +2009-01-09 Jakub Jelinek <jakub@redhat.com> + + PR middle-end/38771 + * gcc.c-torture/compile/pr38771.c: New test. + +2009-01-08 Nathan Froyd <froydnj@codesourcery.com> + + * gcc.dg/pr34856.c: Ignore irrelevant warning. + +2009-01-08 Mark Mitchell <mark@codesourcery.com> + + * gcc.dg/sibcall-3.c: XFAIL for Thumb. + * gcc.dg/sibcall-4.c: Likewise. + +2009-01-08 Sebastian Pop <sebastian.pop@amd.com> + Jan Sjodin <jan.sjodin@amd.com> + + PR tree-optimization/38559 + * gcc.dg/graphite/pr38559.c: New. + +2009-01-08 Ira Rosen <irar@il.ibm.com> + + PR tree-optimization/37194 + * gcc.dg/vect/costmodel/ppc/costmodel-pr37194.c: New test. + +2009-01-07 Jakub Jelinek <jakub@redhat.com> + + PR c++/38725 + * g++.dg/ext/label11.C: New test. + +2009-01-07 Joseph Myers <joseph@codesourcery.com> + + * lib/target-supports.exp (check_weak_override_available): New. + * lib/target-supports-dg.exp (dg-require-weak-override): New. + * gcc.dg/tree-ssa/pr27781.c, g++.dg/eh/weak1.C: Use + dg-require-weak-override. + +2009-01-07 Nathan Froyd <froydnj@codesourcery.com> + Alan Modra <amodra@bigpond.net.au> + + * gcc.c-torture/compile/20090107-1.c: New test. + +2009-01-07 Uros Bizjak <ubizjak@gmail.com> + + PR target/38706 + * g++.dg/other/pr38706.C: New test. + +2009-01-07 Jason Merrill <jason@redhat.com> + + * g++.dg/cpp0x/variadic92.C: New test. + * g++.dg/cpp0x/variadic93.C: New test. + +2009-01-07 Janis Johnson <janis187@us.ibm.com> + + * lib/target-supports-dg.exp (current_compiler_flags): New. + (check-flags): Use it; do not access dg-test local variables. + (dg-skip-if): Do not access dg-test local variables. + (dg-xfail-run-if): Ditto. + (dg-shouldfail): Ditto. + * gcc.test-framework/test-framework.exp + (check_effective_target_def_nocache): New. + * gcc.test-framework/test-framework.awk: Handle scan tests. + * gcc.test-framework/dg-do-run-xrif-nocache-exp-XF.c: New test. + * gcc.test-framework/dg-error-nocache-exp-P.c: New test. + * gcc.test-framework/dg-nocache-scanasm-exp-XF.c: New test. + * gcc.test-framework/dg-warning-nocache-exp-P.c: New test. + * gcc.test-framework/dg-nocache-sif-exp-P.c: New test. + * gcc.test-framework/dg-nocache-sif-exp-U.c: New test. + * gcc.test-framework/dg-nocache-xif-exp-P.c: New test. + * gcc.test-framework/dg-do-run-sft-nocache-exp-P.c: New test. + * gcc.test-framework/dg-nocache-xif-exp-XP.c: New test. + + * g++.dg/torture/pr38586.C: Ignore a possible warning. + + * lib/target-supports-dg.exp (check_test_flags): Delete. + +2009-01-07 Jan Sjodin <jan.sjodin@amd.com> + + PR tree-optimization/38492 + PR tree-optimization/38498 + * gcc.dg/graphite/pr38500.c: Fixed warning as committed + in trunk. + * gcc.dg/graphite/block-0.c: Update test. + * gcc.dg/graphite/block-1.c: Same. + * gcc.dg/graphite/block-2.c: Remove xfail and test for blocking. + * gcc.dg/graphite/block-4.c: Remove test for strip mine. + * gcc.dg/graphite/block-3.c: New. + * gcc.dg/graphite/pr38498.c: New. + +2009-01-07 H.J. Lu <hongjiu.lu@intel.com> + + AVX Programming Reference (December, 2008) + * gcc.target/i386/avx-vmovntdq-256-1.c: New. + * gcc.target/i386/avx-vmovntpd-256-1.c: Likewise. + * gcc.target/i386/avx-vmovntps-256-1.c: Likewise. + + * gcc.target/i386/sse2-movntdq-1.c (TEST): Align array to 16byte. + * gcc.target/i386/sse2-movntpd-1.c (TEST): Likewise. + +2009-01-06 Thomas Koenig <tkoenig@gcc.gnu.org> + + PR fortran/38220 + * gfortran.dg/c_loc_pure_1.f90: New test. + +2009-01-06 Mikael Morin <mikael.morin@tele2.fr> + + PR fortran/38669 + * gfortran.dg/elemental_dependency_3.f90: + Add the final tree dump cleanup. + +2009-01-06 Jakub Jelinek <jakub@redhat.com> + + * gfortran.dg/pr23095.f: Require ilp32 in target selection instead of + passing -m32. + + PR rtl-optimization/38722 + * gfortran.dg/pr38722.f90: New test. + +2009-01-06 Janis Johnson <janis187@us.ibm.com> + + PR c/34252 + * gcc.dg/dfp/decfloat-constants.c: Check for DECnn_SUBNORMAL_MIN + instead of DECnn_DEN. Support -DDBG to list lines that fail. + +2009-01-06 Dominique Dhumieres <dominiq@lps.ens.fr> + + * gfortran.dg/implicit_12.f90: Add space around dg directive. + * gfortran.dg/typebound_call_8.f03: Same. + * gfortran.dg/elemental_bind_c.f90: Same. + * gfortran.dg/typebound_call_7.f03: Same. + * gfortran.dg/interface_proc_end.f90: Same + * gfortran.dg/pr37243.f: Fix typo. + +2009-01-06 Uros Bizjak <ubizjak@gmail.com> + + * gcc.dg/struct-ret-3.c (CHUNK_SIZE): New define. Use CHUNK_SIZE + instead of hardcoded number. Increase CHUNK_SIZE to 16384 for + large stack sizes. + +2009-01-06 H.J. Lu <hongjiu.lu@intel.com> + + AVX Programming Reference (December, 2008) + * gcc.target/i386/avx-2.c: Remove tests for _mm_permute2_pd, + _mm256_permute2_pd, _mm_permute2_ps and _mm256_permute2_ps. + * gcc.target/i386/sse-14.c: Likewise. + + * gcc.target/i386/avx-vpermil2pd-1.c: Removed. + * gcc.target/i386/avx-vpermil2ps-1.c: Likewise. + * gcc.target/i386/avx-vpermil2pd-256-1.c: Likewise. + * gcc.target/i386/avx-vpermil2ps-256-1.c: Likewise. + +2009-01-05 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR libfortran/38735 + * gfortran.dg/fmt_bz_bn.f: Update test. + +2009-01-05 Dodji Seketeli <dodji@redhat.com> + + PR c++/38472 + * g++.dg/conversion/usual-arith-conv.C: New test. + +2009-01-05 Andrew Pinski <andrew_pinski@playstation.sony.com> + + PR c/34911 + * gcc.dg/vector-3.c: New testcase. + * g++.dg/ext/vector15.C: New test. + +2009-01-05 Harsha Jagasia <harsha.jagasia@amd.com> + + PR tree-optimization/38510 + * gcc.dg/graphite/pr38510.c: New. + +2009-01-05 Harsha Jagasia <harsha.jagasia@amd.com> + Jan Sjodin <jan.sjodin@amd.com> + + PR tree-optimization/38500 + * gcc.dg/graphite/pr38500.c: New. + +2009-01-05 Laurent GUERBY <laurent@guerby.net> + + * gcc.c-torture/compile/20001226-1.c: Generalize + dg-timeout-factor. + * gcc.c-torture/compile/limits-fnargs.c: Add + dg-timeout-factor. + * gcc.dg/20020425-1.c: Likewise. + * gcc.dg/pch/pch.exp: Likewise. + +2009-01-05 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/38657 + * gfortran.dg/module_commons_3.f90: New test. + +2009-01-05 Daniel Franke <franke.daniel@gmail.com> + + PR fortran/37159 + * gfortran.dg/random_seed_1.f90: Updated. + +2009-01-05 Mikael Morin <mikael.morin@tele2.fr> + + PR fortran/38669 + PR fortran/38726 + * gfortran.dg/elemental_subroutine_7.f90: + Fix p values so that it can be used as vector subscript. + +2009-01-05 Jason Merrill <jason@redhat.com> + + * g++.dg/cpp0x/initlist12.C: Add another test. + + * g++.dg/cpp0x/defaulted7.C: New test. + +2009-01-05 Thomas Koenig <tkoenig@gcc.gnu.org> + + PR fortran/38672 + * gfortran.dg/host_assoc_blockdata_1.f90: New test. + * gfortran.dg/host_assoc_blockdata_2.f90: New test. + +2009-01-05 Uros Bizjak <ubizjak@gmail.com> + + * gcc.dg/compat/struct-layout-1_generate.c (dg-options): Add -mieee + for alpha*-*-* targets. + * g++.dg/compat/struct-layout-1_generate.c (dg-options): Ditto. + +2009-01-05 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/38665 + * gfortran.dg/host_assoc_function_5.f90: New test. + +2009-01-04 Mikael Morin <mikael.morin@tele2.fr> + + PR fortran/38669 + * gfortran.dg/elemental_dependency_3.f90: New test. + * gfortran.dg/elemental_subroutine_7.f90: New test. + +2009-01-04 Uros Bizjak <ubizjak@gmail.com> + + * gcc.dg/struct-ret-3.c: Include unistd.h. + (main): Exit early if system memory page size is + larger than 4096 bytes. + +2009-01-04 Daniel Franke <franke.daniel@gmail.com> + + PR fortran/38718 + * gfortran.dg/merge_init_expr.f90: New. + +2009-01-04 Mikael Morin <mikael.morin@tele2.fr> + + PR fortran/38536 + * gfortran.dg/c_loc_tests_13.f90: New test. + * gfortran.dg/c_loc_tests_14.f90: New test. + +2009-01-03 Daniel Franke <franke.daniel@gmail.com> + + * gfortran.dg/func_result_4.f90: New. + +2009-01-03 Paul Thomas <pault@gcc.gnu.org> + + PR fortran/38594 + * gfortran.dg/host_assoc_call_3.f90: Make sure that the generic + interface still works, in addition to original tests. + * gfortran.dg/host_assoc_call_6.f90: New test. + +2009-01-03 Jakub Jelinek <jakub@redhat.com> + + PR c++/38705 + * g++.dg/torture/pr38705.C: New test. + + PR c/38700 + * gcc.dg/pr38700.c: New test. + +2009-01-02 Jason Merrill <jason@redhat.com> + + * g++.dg/cpp0x/initlist11.C: New test. + * g++.dg/cpp0x/initlist12.C: New test. + +2009-01-02 Richard Sandiford <rdsandiford@googlemail.com> + + * gcc.dg/fixed-point/composite-type.c: Update wording of messages. + Allow extra informative notes. + +2009-01-01 Jakub Jelinek <jakub@redhat.com> + + PR c/36489 + * gcc.dg/pr36489.c: New test. + + +Copyright (C) 2009 Free Software Foundation, Inc. + +Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. |