1. 01 Aug, 2011 22 commits
    • re PR debug/49887 (.debug_macro breaks many Solaris/SPARC tests) · b6193c94
      	PR debug/49887
      	* config/sol2.c (solaris_code_end): Rename to solaris_file_end.
      	* config/sol2-protos.h: Likewise.
      	* config/i386/i386.c (ix86_code_end) [TARGET_SOLARIS]: Don't call
      	solaris_code_end.
      	* config/i386/sol2.h [!USE_GAS] (TARGET_ASM_FILE_END): Redefine.
      	* config/sparc/sparc.c (sparc_file_end) [TARGET_SOLARIS]: Call
      	solaris_file_end.
      	* config/sparc/sol2.h (TARGET_ASM_CODE_END): Remove.
      
      From-SVN: r177020
      Rainer Orth committed
    • Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New. · 247eb06f
      	libgcc/
      	* Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
      	(libgcc-std.ver.in): Use above.
      	* fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
      	LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
      	throughout file.
      	* config/t-fixedpoint-gnu-prefix: New file.
      	* config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
      	* libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
      	instead of __PFX__.
      
      From-SVN: r177019
      Julian Brown committed
    • tree-ssa-sccvn.c (copy_reference_ops_from_ref): Support FIXED_CST. · 0747aae4
      	gcc/
      	* tree-ssa-sccvn.c (copy_reference_ops_from_ref): Support FIXED_CST.
      
      From-SVN: r177018
      Julian Brown committed
    • final.c (output_addr_const): Print fixed-point constants as decimal not hex. · 848fac28
      	gcc/
      	* final.c (output_addr_const): Print fixed-point constants as
      	decimal not hex.
      
      From-SVN: r177017
      Julian Brown committed
    • stor-layout.c (initialize_sizetypes): Properly sign-extend bitsiztype TYPE_MAX_VALUE. · e62a2b6e
      2011-08-01  Richard Guenther  <rguenther@suse.de>
      
      	* stor-layout.c (initialize_sizetypes): Properly sign-extend
      	bitsiztype TYPE_MAX_VALUE.
      
      From-SVN: r177016
      Richard Guenther committed
    • optabs.c (prepare_cmp_insn): Use correct biasing for fixed-point comparison helpers. · f64398b5
      	* optabs.c (prepare_cmp_insn): Use correct biasing for fixed-point
      	comparison helpers.
      
      From-SVN: r177015
      Julian Brown committed
    • aspects.ads, [...]: Add aspect Type_Invariant, Precondition, Postcondition. · 857ade1b
      2011-08-01  Robert Dewar  <dewar@adacore.com>
      
      	* aspects.ads, aspects.adb: Add aspect Type_Invariant, Precondition,
      	Postcondition.
      	(Same_Aspect): New function.
      	* sem_ch13.adb (Analyze_Aspect_Specifications): Add aspect
      	Type_Invariant, Precondition, Postcondition.
      	* snames.ads-tmpl: Add Name_Type_Invariant.
      
      From-SVN: r177011
      Robert Dewar committed
    • freeze.adb (Freeze_Entity): Don't call Check_Aspect_At_Freeze_Point here. · bd949ee2
      2011-08-01  Robert Dewar  <dewar@adacore.com>
      
      	* freeze.adb (Freeze_Entity): Don't call Check_Aspect_At_Freeze_Point
      	here.
      	(Freeze_All_Ent): Fix error in handling inherited aspects.
      	* sem_ch13.adb (Analyze_Aspect_Specifications): Skip aspect that is
      	already analyzed, but don't skip entire processing of a declaration,
      	that's wrong in some cases of declarations being rewritten.
      	(Analyze_Aspect_Specification): Set Is_Delayed_Aspect in aspects.
      	Don't delay for integer, string literals
      	Treat predicates in usual manner for delay, remove special case code,
      	not needed.
      	(Analyze_Freeze_Entity): Make call to Check_Aspect_At_Freeze_Point
      	(Build_Predicate_Function): Update saved expression in aspect
      	(Build_Invariant_Procedure): Update saved expression in aspect
      	* exp_ch4.adb (Expand_N_Selected_Component): Only do the optimization
      	of replacement of discriminant references if the reference is simple.
      
      From-SVN: r177010
      Robert Dewar committed
    • aspects.ads, [...]: Add Static_Predicate and Dynamic_Predicate. · f1c952af
      2011-08-01  Robert Dewar  <dewar@adacore.com>
      
      	* aspects.ads, aspects.adb: Add Static_Predicate and Dynamic_Predicate.
      	* sem_ch13.adb (Analyze_Aspect_Specification): Add processing for
      	Static_Predicate and Dynamic_Predicate.
      	(Build_Predicate_Function): Add processing for Static_Predicate
      	and Dynamic_Predicate.
      	* sinfo.ads, sinfo.adb (From_Dynamic_Predicate): New flag
      	(From_Static_Predicate): New flag
      	* snames.ads-tmpl: Add Name_Static_Predicate and Name_Dynamic_Predicate
      
      2011-08-01  Robert Dewar  <dewar@adacore.com>
      
      	* usage.adb: Documentation cleanup for Ada version modes in usage.
      	* expander.adb: Minor reformatting.
      
      From-SVN: r177009
      Robert Dewar committed
    • [multiple changes] · 47e11d08
      2011-08-01  Robert Dewar  <dewar@adacore.com>
      
      	* atree.ads: Minor comment fix.
      	* a-stwifi.adb, a-stzfix.adb, a-strfix.adb, a-ztexio.ads, a-textio.ads,
      	a-witeio.ads, sem_prag.adb: Minor reformatting.
      
      2011-08-01  Doug Rupp  <rupp@adacore.com>
      
      	* env.c (__gnat_setenv) [VMS]: Force 32bit on item list structure
      	pointers. Use descrip.h header file for convenience. Add some
      	comments.
      
      2011-08-01  Robert Dewar  <dewar@adacore.com>
      
      	* freeze.adb (Freeze_Entity): Call Check_Aspect_At_Freeze_Point
      	(Freeze_All): Call Check_Aspect_At_End_Of_Declarations
      	* sem_ch13.ads, sem_ch13.adb (Check_Aspect_At_Freeze_Point):
      	New procedure.
      	(Check_Aspect_At_End_Of_Declarations): New procedure
      	(Analye_Aspect_Specification): Minor changes for above procedures
      	* sinfo.ads, sinfo.adb (Is_Delayed_Aspect): Now set in aspect
      	specification node as well.
      
      2011-08-01  Pascal Obry  <obry@adacore.com>
      
      	* adaint.c (_gnat_stat): GetFilesAttributesEx() would fail on special
      	Windows files. Use GetFilesAttributes() in this case to check for file
      	existence instead of returning with an error code.
      
      From-SVN: r177008
      Arnaud Charlet committed
    • a-stzfix.adb, [...] (Replace_Slice): Fixed computation when High is above Source length. · a3a16b21
      2011-08-01  Vincent Celier  <celier@adacore.com>
      
      	* a-stzfix.adb, a-stwifi.adb (Replace_Slice): Fixed computation when
      	High is above Source length.
      
      From-SVN: r177007
      Vincent Celier committed
    • a-ztexio.ads, [...]: Fix comment. · ff58cc69
      2011-08-01  Robert Dewar  <dewar@adacore.com>
      
      	* a-ztexio.ads, a-textio.ads, a-witeio.ads: Fix comment.
      
      From-SVN: r177006
      Robert Dewar committed
    • [multiple changes] · 6bb88533
      2011-08-01  Robert Dewar  <dewar@adacore.com>
      
      	* aspects.ads (Boolean_Aspects): New subtype.
      	* exp_ch13.adb (Expand_Freeze_Entity): Fix errors in handling aspects
      	for derived types in cases where the parent type and derived type have
      	aspects.
      	* freeze.adb (Freeze_Entity): Fix problems in handling derived type
      	with aspects when parent type also has aspects.
      	(Freeze_Entity): Deal with delay of boolean aspects (must evaluate
      	boolean expression at this point).
      	* sem_ch13.adb (Analyze_Aspect_Specifications): Delay all aspects in
      	accordance with final decision on the Ada 2012 feature.
      	* sinfo.ads, sinfo.adb (Is_Boolean_Aspect): New flag.
      
      2011-08-01  Matthew Heaney  <heaney@adacore.com>
      
      	* a-chtgbo.adb (Delete_Node_Sans_Free): Replace iterator with selector.
      
      From-SVN: r177005
      Arnaud Charlet committed
    • [multiple changes] · 060a3f28
      2011-08-01  Pascal Obry  <obry@adacore.com>
      
      	* a-stzunb-shared.adb, a-strunb-shared.adb, a-stwiun-shared.adb:
      	Fix Replace_Slice when High is above current string size.
      	(Replace_Slice): Fix DL computation when High is above current
      	string length.
      
      2011-08-01  Gary Dismukes  <dismukes@adacore.com>
      
      	* gnat_rm.texi: Add documentation for pragma Static_Elaboration_Desired.
      
      From-SVN: r177004
      Arnaud Charlet committed
    • [multiple changes] · e7f567a3
      2011-08-01  Matthew Heaney  <heaney@adacore.com>
      
      	* a-rbtgbo.adb (Delete_Node_Sans_Free): Fixed assignment to left child
      	of node.
      
      2011-08-01  Pascal Obry  <obry@adacore.com>
      
      	* a-stzunb-shared.adb, a-strunb-shared.adb, a-stwiun-shared.adb: Minor
      	reformatting.
      
      From-SVN: r177003
      Arnaud Charlet committed
    • [multiple changes] · 1a265e78
      2011-08-01  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_attr.adb (Analyze_Attribute, case 'Access): handle properly named
      	access to protected subprograms in generic bodies.
      	* sem_ch6.adb (Analyze_Subprogram_Declaration): If the context is a
      	protected type, indicate that the convention of the subprogram is
      	Convention_Protected, because it may be used in subsequent declarations
      	within the protected declaration.
      
      2011-08-01  Vincent Celier  <celier@adacore.com>
      
      	* mlib-prj.adb (Build_Library): Use "ada_" as the prefix for the "init"
      	and "final" procedures when the name of the library is "ada", to avoid
      	duplicate symbols "adainit" and "adafinal" in executables.
      
      From-SVN: r177002
      Arnaud Charlet committed
    • sem_attr.adb (Analyze_Attribute, [...]): Handle properly a quantified expression… · 67e28ef8
      sem_attr.adb (Analyze_Attribute, [...]): Handle properly a quantified expression that appears within a postcondition and...
      
      2011-08-01  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_attr.adb (Analyze_Attribute, case 'Result): Handle properly a
      	quantified expression that appears within a postcondition and uses the
      	Ada2012 'Result attribute.
      
      From-SVN: r177001
      Ed Schonberg committed
    • rem_pio2q.c (__quadmath_kernel_rem_pio2): Fix up fq to y conversion for prec 3… · 57044b5a
      rem_pio2q.c (__quadmath_kernel_rem_pio2): Fix up fq to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
      
      	* math/rem_pio2q.c (__quadmath_kernel_rem_pio2): Fix up fq to y
      	conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
      
      From-SVN: r176999
      Jakub Jelinek committed
    • Use temporary variables for calls with multiple results. · 8586635c
      From-SVN: r176998
      Ian Lance Taylor committed
    • h8300: Add flags to .section directives. · c469244e
      From-SVN: r176996
      Richard Henderson committed
    • Handle SIZE_TYPE being unsigned short. · b87ac615
      From-SVN: r176995
      Richard Henderson committed
    • Daily bump. · 77b06940
      From-SVN: r176994
      GCC Administrator committed
  2. 31 Jul, 2011 15 commits
  3. 30 Jul, 2011 3 commits