1. 23 Nov, 2011 15 commits
    • [multiple changes] · b38c20a6
      2011-11-23  Matthew Heaney  <heaney@adacore.com>
      
      	* a-coorse.ads, a-ciorse.ads, a-cborse.ads (Set_Iterator_Interfaces):
      	Renamed from Ordered_Set_Iterator_Interfaces.
      	* a-coorse.adb, a-ciorse.adb, a-cborse.adb (Iterator): Declared
      	Iterator type as limited (First, Last): Cursor return value
      	depends on iterator node value (Iterate): Use start position as
      	iterator node value (Next, Previous): Forward to corresponding
      	cursor-based operation.
      	* a-cohase.ads, a-cohase.adb: Implemented forward iterator.
      	* a-cihase.adb, a-cbhase.adb (Iterator): Removed unnecessary
      	node component (First, Next): Forward call to corresponding
      	cursor-based operation (Iterate): Representation of iterator no
      	longer has node component
      
      2011-11-23  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* exp_intr.adb (Expand_Unc_Deallocation): Ensure that the
      	dereference has a proper type before the side effect removal
      	mechanism kicks in.
      	* sem_ch3.adb (Analyze_Subtype_Declaration): Handle a rare case
      	where the base type of the subtype is a private itype created
      	to act as the partial view of a constrained record type. This
      	scenario manifests with equivalent class-wide types for records
      	with unknown discriminants.
      
      2011-11-23  Jerome Guitton  <guitton@adacore.com>
      
      	* s-osprim-vxworks.adb (Clock): Use Clock_RT_Ada.
      
      2011-11-23  Thomas Quinot  <quinot@adacore.com>
      
      	* s-oscons-tmplt.c: Fix unbalanced preprocessor directives Minor
      	reformatting/reorganization.
      
      From-SVN: r181666
      Arnaud Charlet committed
    • g-htable.ads: Remove old comments. · 24fee494
      2011-11-23  Thomas Quinot  <quinot@adacore.com>
      
      	* g-htable.ads: Remove old comments.
      
      From-SVN: r181665
      Thomas Quinot committed
    • re PR rtl-optimization/50496 (ICE in redirect_jump, at jump.c:1497) · b1ab2759
      2011-11-23  Chung-Lin Tang  <cltang@codesourcery.com>
      
      	PR rtl-optimization/50496
      	* jump.c (redirect_jump): Assert fail on nlabel == NULL_RTX
      	only after epilogue is created. Add comments.
      
      From-SVN: r181664
      Chung-Lin Tang committed
    • exp_imgv.adb: Minor reformatting. · bc6e33a3
      2011-11-23  Thomas Quinot  <quinot@adacore.com>
      
      	* exp_imgv.adb: Minor reformatting.
      
      From-SVN: r181663
      Thomas Quinot committed
    • Remove hard coded clock id. · 2d6b25ed
      From-SVN: r181662
      Arnaud Charlet committed
    • Update dependencies. · 5e44449e
      From-SVN: r181661
      Arnaud Charlet committed
    • [multiple changes] · c269a1f5
      2011-11-23  Robert Dewar  <dewar@adacore.com>
      
      	* sem_ch9.adb (Analyze_Entry_Declaration): Check for entry
      	family bounds out of range.
      
      2011-11-23  Matthew Heaney  <heaney@adacore.com>
      
      	* a-cohama.adb, a-cihama.adb, a-cbhama.adb (Iterator): Declare
      	type as limited, and remove node component.
      	(First, Next): Forward call to corresponding cursor-based operation.
      	(Iterate): Representation of iterator no longer has node component.
      
      2011-11-23  Yannick Moy  <moy@adacore.com>
      
      	* exp_util.adb: Revert previous change to remove side-effects in Alfa
      	mode, which is not the correct thing to do for renamings.
      
      2011-11-23  Thomas Quinot  <quinot@adacore.com>
      
      	* s-osinte-hpux.ads, s-taprop-vxworks.adb, s-taprop-tru64.adb,
      	s-osinte-vxworks.ads, s-osinte-aix.ads, s-osinte-lynxos.ads,
      	s-osinte-solaris-posix.ads, s-taprop-solaris.adb, a-exetim-posix.adb,
      	s-osinte-irix.ads, s-osinte-solaris.ads, s-oscons-tmplt.c,
      	s-taprop-irix.adb, s-osinte-hpux-dce.ads, Makefile.rtl,
      	s-osinte-tru64.ads, s-osinte-darwin.ads, s-taprop.ads,
      	s-osinte-freebsd.ads, s-osinte-lynxos-3.ads, s-taprop-hpux-dce.adb,
      	s-taprop-posix.adb: Remove hard-coded clock ids;
      	instead, generate them in System.OS_Constants.
      	(System.OS_Constants.CLOCK_RT_Ada): New constant denoting the
      	id of the clock providing Ada.Real_Time.Monotonic_Clock.
      	* thread.c: New file.
      	(__gnat_pthread_condattr_setup): New function. For platforms where
      	CLOCK_RT_Ada is not CLOCK_REALTIME, set appropriate condition
      	variable attribute.
      
      2011-11-23  Yannick Moy  <moy@adacore.com>
      
      	* sem_ch3.adb: Restore the use of Expander_Active instead of
      	Full_Expander_Active, so that the evaluation is forced in Alfa
      	mode too. Otherwise, we end up with an unexpected insertion in a
      	place where it is not supposed to happen, on default parameters
      	of a call.
      
      2011-11-23  Thomas Quinot  <quinot@adacore.com>
      
      	* prj-pp.adb, prj-pp.ads: Minor new addition: wrapper procedure "wpr"
      	for Pretty_Print, for use from within gdb.
      
      From-SVN: r181660
      Arnaud Charlet committed
    • [multiple changes] · f947ee34
      2011-11-23  Ed Schonberg  <schonberg@adacore.com>
      
      	* exp_ch5.adb (Expand_Iterator_Loop): Wrap the expanded loop
      	and the cursor declarations in a block, so that the loop variable
      	is local to the construct.
      
      2011-11-23  Matthew Heaney  <heaney@adacore.com>
      
      	* a-coorma.ads, a-ciorma.ads, a-cborma.ads (Iterate): Returns
      	type Reversible_Iterator'Class.
      	* a-coorma.adb, a-ciorma.adb, a-cborma.adb (Iterator):
      	Declare type as limited.
      	(First, Last): Return value depends on iterator's start node value.
      	(Next, Previous): Call corresponding Cursor-based operation.
      	(Iterate): Indicate whether complete or partial iteration
      
      From-SVN: r181659
      Arnaud Charlet committed
    • errout.adb: Minor reformattin (Finalize): Take templates into account for warning suppression. · fb2bd3a7
      2011-11-23  Robert Dewar  <dewar@adacore.com>
      
      	* errout.adb: Minor reformattin (Finalize): Take templates into
      	account for warning suppression.
      	* errout.ads (Set_Specific_Warning_Off): Add Used parameter.
      	* erroutc.adb: Minor reformatting (Finalize): Take generic
      	templates into account for warning suppress.
      	* erroutc.ads (Set_Specific_Warning_Off): Add Used parameter.
      	* sem_prag.adb: Minor reformatting (Analyze_Pragma,
      	case Warnings): Provide Used parameter in call to
      	Set_Specific_Warnings_Off (to deal with generic template case).
      
      From-SVN: r181658
      Robert Dewar committed
    • [multiple changes] · a1092b48
      2011-11-23  Pascal Obry  <obry@adacore.com>
      
      	* sem_prag.adb (Process_Convention): Better error message for
      	stdcall convention on dispatching calls.
      
      2011-11-23  Gary Dismukes  <dismukes@adacore.com>
      
      	* sem_ch4.adb, sem_ch13.adb: Minor reformatting.
      
      2011-11-23  Javier Miranda  <miranda@adacore.com>
      
      	* exp_ch6.adb (Expand_Simple_Function_Return): Add missing
      	implicit type conversion when the returned object is allocated
      	in the secondary stack and the type of the returned object is
      	an interface. Done to force generation of displacement of the
      	"this" pointer.
      
      From-SVN: r181657
      Arnaud Charlet committed
    • [multiple changes] · 3d0c15cf
      2011-11-23  Pascal Obry  <obry@adacore.com>
      
      	* impunit.adb: Add g-exptty and g-tty units.
      
      2011-11-23  Robert Dewar  <dewar@adacore.com>
      
      	* exp_imgv.adb: Minor code reorganization (use Make_Temporary).
      
      From-SVN: r181656
      Arnaud Charlet committed
    • [multiple changes] · 95160516
      2011-11-23  Robert Dewar  <dewar@adacore.com>
      
      	* exp_util.adb, par-ch6.adb, sem_res.adb, par-util.adb: Minor
      	reformatting.
      
      2011-11-23  Yannick Moy  <moy@adacore.com>
      
      	* sem_ch13.adb (Analyze_Aspect_Specifications): Place error on
      	line of precondition/ postcondition/invariant.
      2011-11-23  Pascal Obry  <obry@adacore.com>
      
      	* g-exptty.ads, g-exptty.adb, g-tty.ads, g-tty.adb,
      	terminals.c: New files.
      	Makefile.rtl: Add these new files.
      	* gnat_rm.texi: Add documentation for GNAT.Expect.TTY.
      	* gcc-interface/Makefile.in: Add g-exptty, g-tty, terminals.o
      	* gcc-interface/Make-lang.in: Update dependencies.
      
      From-SVN: r181655
      Arnaud Charlet committed
    • Makefile.am (libitm_la_LDFLAGS): Remove "-no-undefined". · bd8aaa86
      
      libitm:
      
      	* Makefile.am (libitm_la_LDFLAGS): Remove "-no-undefined".
      	* Makefile.in: Regenerate.
      
      From-SVN: r181654
      Iain Sandoe committed
    • PR c++/51145 - Alias template in elaborated-type-specifier accepted · 82daaf6d
      gcc/cp/
      
      	PR c++/51145
      	* decl.c (check_elaborated_type_specifier): Gracefully handle
      	error_mark_node.  Accept bound template template parameters.
      	Update diagnostics for alias template specializations.  Update
      	comment.
      	* parser.c (cp_parser_elaborated_type_specifier): Use
      	check_elaborated_type_specifier for simple-template-ids as well.
      
      gcc/testsuite/
      
      	PR c++/51145
      	* g++.dg/cpp0x/alias-decl-14.C: New test.
      	* g++.dg/cpp0x/alias-decl-2.C: Adjust for tests that were wrongly
      	passing before.
      	* g++.dg/cpp0x/alias-decl-10.C: Likewise and adjust for diagnostic
      	change.
      	* g++.dg/ext/attrib27.C: Adjust for diagnostic change.
      	* g++.dg/lookup/struct1.C: Likewise.
      	* g++.dg/parse/elab1.C: Likewise.
      	* g++.dg/parse/elab2.C: Likewise.
      	* g++.dg/parse/int-as-enum1.C: Likewise.
      	* g++.dg/parse/typedef1.C: Likewise.
      	* g++.dg/parse/typedef3.C: Likewise.
      	* g++.dg/parse/typedef4.C: Likewise.
      	* g++.dg/parse/typedef5.C: Likewise.
      	* g++.dg/template/crash26.C: Likewise.
      	* g++.dg/template/nontype4.C: Likewise.
      	* g++.old-deja/g++.benjamin/typedef01.C: Likewise.
      	* g++.old-deja/g++.brendan/line1.C: Likewise.
      	* g++.old-deja/g++.other/elab1.C: Likewise.
      	* g++.old-deja/g++.other/syntax4.C: Likewise.
      
      From-SVN: r181653
      Dodji Seketeli committed
    • Daily bump. · b64cd62a
      From-SVN: r181648
      GCC Administrator committed
  2. 22 Nov, 2011 25 commits