Skip to content
Snippets Groups Projects
  1. Aug 16, 2007
    • Ed Schonberg's avatar
      sem_ch12.adb (Copy_Generic_Node): A reference to a child unit of the generic... · 36992523
      Ed Schonberg authored
      sem_ch12.adb (Copy_Generic_Node): A reference to a child unit of the generic for an enclosing instance is a...
      
      2007-08-16  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch12.adb (Copy_Generic_Node): A reference to a child unit of the
      	generic for an enclosing instance is a global reference, even though
      	its scope is the enclosing instance.
      
      From-SVN: r127546
      36992523
    • Hristian Kirtchev's avatar
      sem_ch10.adb (Has_With_Clause): If the name of the with clause currently... · 0d01a4ab
      Hristian Kirtchev authored
      sem_ch10.adb (Has_With_Clause): If the name of the with clause currently inspected is a selected component...
      
      2007-08-16  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_ch10.adb (Has_With_Clause): If the name of the with clause
      	currently inspected is a selected component, retrieve the entity of
      	its selector.
      	(Install_Limited_Withed_Unit): Call Has_Limited_With_Clause starting
      	from the immediate ancestor of Main_Unit_Entity.
      	(Install_Limited_Withed_Unit): Do not install the limited view of
      	package P if P is reachable through an ancestor chain from package C
      	and C also has a with clause for P in its body.
      	(Has_Limited_With_Clause): New routine.
      	(Has_With_Clause): New routine.
      
      From-SVN: r127545
      0d01a4ab
    • Vincent Celier's avatar
      prj.ads (Project_Data): Add comments. · 4f6447c5
      Vincent Celier authored
      2007-08-16  Vincent Celier  <celier@adacore.com>
      
      	* prj.ads (Project_Data): Add comments.
      
      	* prj-attr.adb: New attribute Removed_Source_Dirs
      
      	* prj-nmsc.adb (Get_Directories): Take into account new attribute
      	Removed_Source_Dirs
      
      	* snames.ads, snames.adb: New standard name Removed_Source_Dirs
      
      From-SVN: r127544
      4f6447c5
    • Nicolas Roche's avatar
      Makefile.in (gnatlib): Propagate FORCE_DEBUG_ADAFLAGS value to sub makefiles · e03a78d5
      Nicolas Roche authored
      2007-08-16  Nicolas Roche  <roche@adacore.com>
      
      	* Makefile.in (gnatlib): Propagate FORCE_DEBUG_ADAFLAGS value to sub
      	makefiles
      
      	* Make-lang.in: Update dependencies
      
      From-SVN: r127543
      e03a78d5
    • Vincent Celier's avatar
      make.adb (Collect_Arguments): Call Test_If_Relative_Path with Including_Non_Switch set to False. · 1086c39b
      Vincent Celier authored
      2007-08-16  Vincent Celier  <celier@adacore.com>
      
      	* make.adb (Collect_Arguments): Call Test_If_Relative_Path with
      	Including_Non_Switch set to False.
      	(Gnatmake): For the compiler, call Test_If_Relative_Path with
      	Including_Non_Switch set to False.
      
      	* makeutl.adb, makeutl.ads (Test_If_Relative_Path): New Boolean
      	parameter Including_Non_Switch, defaulted to True. When
      	Including_Non_Switch is False, options that are not switches and
      	appear as relative path are not converted to absolute paths.
      
      From-SVN: r127542
      1086c39b
    • Thomas Quinot's avatar
      g-dyntab.adb, [...]: (Set_Item): Suppress Range_Check on Allocated_Table. · c17fc6f6
      Thomas Quinot authored
      2007-08-16  Thomas Quinot  <quinot@adacore.com>
      
      	* g-dyntab.adb, g-table.adb, table.adb: (Set_Item): Suppress
      	Range_Check on Allocated_Table.
      
      From-SVN: r127541
      c17fc6f6
    • Javier Miranda's avatar
      exp_ch9.adb (Build_Protected_Entry): Undo previous change because it is not... · d48365bc
      Javier Miranda authored
      exp_ch9.adb (Build_Protected_Entry): Undo previous change because it is not really required and can introduce...
      
      2007-08-16  Javier Miranda  <miranda@adacore.com>
      
      	* exp_ch9.adb (Build_Protected_Entry): Undo previous change because it
      	is not really required and can introduce regression with the debugger.
      	The original problem is fixed with the patch written for checks.adb.
      
      From-SVN: r127540
      d48365bc
    • Javier Miranda's avatar
      exp_attr.adb (Attribute_Priority): Add missing support for entries and entry barriers. · 16f67b79
      Javier Miranda authored
      2007-08-16  Javier Miranda  <miranda@adacore.com>
      
      	* exp_attr.adb (Attribute_Priority): Add missing support for entries
      	and entry barriers.
      
      From-SVN: r127539
      16f67b79
    • Gary Dismukes's avatar
      exp_aggr.adb (Build_Record_Aggr_Code): Extend the test for an ancestor part... · 19590d70
      Gary Dismukes authored
      exp_aggr.adb (Build_Record_Aggr_Code): Extend the test for an ancestor part given by an aggregate to test for an...
      
      2007-08-16  Gary Dismukes  <dismukes@adacore.com>
      	    Ed Schonberg  <schonberg@adacore.com>
      	    Javier Miranda  <miranda@adacore.com>
      
      	* exp_aggr.adb (Build_Record_Aggr_Code): Extend the test for an
      	ancestor part given by an aggregate to test for an unchecked conversion,
      	since this can occur in some cases when the ancestor part is a function
      	call, and we don't want to fall into the recursive call to this
      	procedure in that case.
      
      	* exp_ch3.adb (Stream_Operation_OK): Revise tests for availability of
      	stream attributes on limited types to account for user-specified
      	attributes as well as whether Input (resp. Output) becomes available
      	due to Read (resp. Write) being available for the type. Change Boolean
      	variable to the more accurate name
      	Has_Predefined_Or_Specified_Stream_Attribute. Change convoluted
      	double-"not" predicate at beginning of return statement to more
      	understandable form.
      
      	* exp_ch5.adb (Expand_N_Extended_Return_Statement): If the extended
      	return has an associated N_Handled_Sequence_Of_Statements, then wrap it
      	in a block statement and use that as the first statement of the
      	expanded return rather than incorrectly using the handled sequence as
      	the first statement.
      
      	* exp_ch6.adb (Expand_N_Subprogram_Declaration): If this is a protected
      	operation, generate an explicit freeze node for it rather than
      	generating extra formals, to ensure that gigi has the proper order of
      	elaboration for anonymous subtypes in the signature of the subprograms.
      	(Build_In_Place_Formal): Move assertion to beginning of loop.
      	(Is_Build_In_Place_Function_Call): Allow for an unchecked conversion
      	applied to a function call (occurs for some cases of 'Input).
      	(Make_Build_In_Place_Call_In_*): Allow for an unchecked conversion
      	applied to a function call (occurs for some cases of 'Input).
      
      	* exp_strm.adb (Build_Record_Or_Elementary_Input_Function): For Ada
      	2005, generate an extended return statement enclosing the result object
      	and 'Read call.
      
      	* freeze.adb (Freeze_Record_Type): Extend the current management of
      	components that are access type with an allocator as default value: add
      	missing support to the use of qualified expressions of the
      	allocator (which also cause freezing of the designated type!)
      	(Freeze_Entity): Call Freeze_Subprogram in the case of a predefined
      	dispatching operation, since extra formals may be needed by calls to
      	build-in-place functions (such as stream 'Input).
      
      	* sem_ch6.adb (Create_Extra_Formals): Skip creation of the extra
      	formals for 'Constrained and accessibility level in the case of a
      	predefined dispatching operation.
      
      	* exp_util.adb (Insert_Actions): A protected body is a valid insertion
      	point, no need to find the parent node.
      
      From-SVN: r127538
      19590d70
    • Gary Dismukes's avatar
      cstand.adb (Create_Standard): Create an entity for a zero-sized type associated with... · 4c8e94ab
      Gary Dismukes authored
      2007-08-16  Gary Dismukes  <dismukes@adacore.com>
      
      	* cstand.adb (Create_Standard): Create an entity for a zero-sized type
      	associated with Standard_Debug_Renaming_Type, to be used as the type of
      	the special variables whose names provide debugger encodings for
      	renaming declarations.
      
      	* einfo.ads, einfo.adb (Debug_Renaming_Link): Change to return Node25.
      	(Set_Debug_Renaming_Link): Change to set Node25.
      	(Write_Field13_Name): Remove case for E_Enumeration_Literal.
      	(Write_Field25_Name): Add case for E_Variable to output
      	"Debug_Renaming_Link".
      	(Write_Field23_Name): Correct the output string for "Limited_View".
      
      	* exp_dbug.adb: Add with and use of Tbuild.
      	(Debug_Renaming_Declaration): Replace creation of an enumeration type
      	and literal with creation of a variable of type
      	Standard_Debug_Renaming_Type whose name encodes both the renamed object
      	and the entity of the renaming declaration.
      	(Qualify_Entity_Name): Add the delayed qualification of the entity name
      	part of the name of a variable that has a Debug_Renaming_Link.
      
      	* stand.ads (Standard_Debug_Renaming_Type): New Entity_Id denoting a
      	special type to be associated with variables that provide debugger
      	encodings for renaming declarations.
      
      From-SVN: r127537
      4c8e94ab
    • Richard Sandiford's avatar
      re PR middle-end/32897 (Invalid rematerialisation of subregs) · c07fdd94
      Richard Sandiford authored
      gcc/
      	PR middle-end/32897
      	* reload.c (find_reloads): Check that the memory returned by
      	find_reloads_toplev was not the result of forcing a constant
      	to memory.
      	(find_reloads_toplev): Always use simplify_gen_subreg to get
      	the subreg of a constant.  If the result is also a constant,
      	but not a legitimate one, force it into the constant pool
      	and reload its address.
      
      gcc/testsuite/
      	* gcc.dg/torture/pr32897.c: New test.
      
      From-SVN: r127536
      c07fdd94
    • Paolo Carlini's avatar
      re PR c++/31132 (ICE on inconsistent friend declaration) · 684939ce
      Paolo Carlini authored
      /cp
      2007-08-16  Paolo Carlini  <pcarlini@suse.de>
      
      	PR c++/31132
      	* pt.c (tsubst_friend_function): When check_classfn
      	returns error_mark_node likewise return it.
      
      /testsuite
      2007-08-16  Paolo Carlini  <pcarlini@suse.de>
      
      	PR c++/31132
      	* g++.dg/template/crash69.C: New.
      
      From-SVN: r127535
      684939ce
    • Arnaud Charlet's avatar
      Add test cases · f0092c54
      Arnaud Charlet authored
      From-SVN: r127534
      f0092c54
    • Arnaud Charlet's avatar
      Add test cases. · 439cafcf
      Arnaud Charlet authored
      From-SVN: r127533
      439cafcf
    • David Edelsohn's avatar
      rs6000.c (rs6000_rtx_costs): Add CLZ, CTZ, and POPCOUNT. · 32f56aad
      David Edelsohn authored
              * config/rs6000/rs6000.c (rs6000_rtx_costs): Add CLZ, CTZ, and
              POPCOUNT.
      
      From-SVN: r127532
      32f56aad
    • GCC Administrator's avatar
      Daily bump. · 262a5154
      GCC Administrator authored
      From-SVN: r127530
      262a5154
  2. Aug 15, 2007
  3. Aug 14, 2007
Loading