1. 31 Oct, 2006 8 commits
    • g-socthi-vxworks.adb (C_Gethostbyname): Fix wrong test for returned error status. · 014c9caa
      2006-10-31  Thomas Quinot  <quinot@adacore.com>
      
      	* g-socthi-vxworks.adb (C_Gethostbyname): Fix wrong test for returned
      	error status.
      
      From-SVN: r118233
      Thomas Quinot committed
    • sem_res.adb (Resolve_Unary_Op): Add warning for use of unary minus with multiplying operator. · aa180613
      2006-10-31  Robert Dewar  <dewar@adacore.com>
      	    Bob Duff  <duff@adacore.com>
      	    Ed Schonberg  <schonberg@adacore.com>
      
              * sem_res.adb (Resolve_Unary_Op): Add warning for use of unary minus
      	with multiplying operator.
      	(Expected_Type_Is_Any_Real): New function to determine from the Parent
      	pointer whether the context expects "any real type".
      	(Resolve_Arithmetic_Op): Do not give an error on calls to the
      	universal_fixed "*" and "/" operators when they are used in a context
      	that expects any real type. Also set the type of the node to
      	Universal_Real in this case, because downstream processing requires it
      	(mainly static expression evaluation).
      	Reword some continuation messages
      	Add some \\ sequences to continuation messages
      	(Resolve_Call): Refine infinite recursion case. The test has been
      	sharpened to eliminate some false positives.
      	Check for Current_Task usage now includes entry barrier, and is now a
      	warning, not an error.
      	(Resolve): If the call is ambiguous, indicate whether an interpretation
      	is an inherited operation.
      	(Check_Aggr): When resolving aggregates, skip associations with a box,
      	which are priori correct, and will be replaced by an actual default
      	expression in the course of expansion.
      	(Resolve_Type_Conversion): Add missing support for conversion from
      	a class-wide interface to a tagged type. Minor code cleanup.
      	(Valid_Tagged_Converion): Add support for abstact interface type
      	conversions.
      	(Resolve_Selected_Component): Call Generate_Reference here rather than
      	during analysis, and use May_Be_Lvalue to distinguish read/write.
      	(Valid_Array_Conversion): New procedure, abstracted from
      	Valid_Conversion, to incorporate accessibility checks for arrays of
      	anonymous access types.
      	(Valid_Conversion): For a conversion to a numeric type occurring in an
      	instance or inlined body, no need to check that the operand type is
      	numeric, since this has been checked during analysis of the template.
      	Remove legacy test for scope name Unchecked_Conversion.
      
      	* sem_res.ads: Minor reformatting
      
      	* a-except.adb, a-except-2005.adb: Turn off subprogram ordering
      	(PE_Current_Task_In_Entry_Body): New exception code
      	(SE_Restriction_Violation): Removed, not used
      
      	* a-except.ads:  Update comments.
      
      	* types.h, types.ads: Add definition for Validity_Check
      	(PE_Current_Task_In_Entry_Body): New exception code
      	(SE_Restriction_Violation): Removed, not used
      
      From-SVN: r118232
      Robert Dewar committed
    • a-taster.adb, [...]: Minor reformatting. · 524c02d7
      2006-10-31  Robert Dewar  <dewar@adacore.com>
      
      	* a-taster.adb, s-traent-vms.adb, a-elchha.ads, a-elchha.adb,
      	a-exctra.adb, ali-util.adb, exp_disp.ads, s-stalib.ads, s-traent.adb,
      	s-addope.ads, s-addope.adb, a-rbtgso.adb, a-crbltr.ads, a-coprnu.adb,
      	a-cgcaso.adb, a-cgarso.adb, a-cgaaso.adb, a-coormu.adb, a-ciormu.adb,
      	a-rbtgso.ads, a-stunha.adb, a-stunha.adb, a-ciorma.adb, a-coorma.adb,
      	a-secain.adb, a-slcain.adb, a-shcain.adb, a-stwiha.adb, a-stwiha.adb,
      	a-strhas.adb, a-strhas.adb, a-stzhas.adb, a-stzhas.adb, a-szuzha.adb,
      	a-chacon.adb, a-chacon.adb, a-chacon.ads, a-stboha.adb, a-swbwha.adb,
      	a-szbzha.adb: Minor reformatting. Fix header.
      
      	* a-numaux-x86.adb: Add parentheses for use of unary minus
      	* a-ngcefu.adb: Supply missing parentheses for unary minus
      	* a-ngcoty.adb: Add parens for use of unary minus
      	* a-ngelfu.adb: Add missing parens for unary minus
      	* a-tifiio.adb: Add parentheses for uses of unary minus
      
      From-SVN: r118231
      Robert Dewar committed
    • MAINTAINERS (Write After Approval): Add myself. · 7aa42285
      From-SVN: r118230
      Stephen M. Webb committed
    • i386.md (asindf2, [...]): Conditionalize expansion on !optimize_size. · 1d08f955
      2006-10-31  Richard Guenther  <rguenther@suse.de>
      
      	* config/i386/i386.md (asindf2, asinsf2, asinxf2, acosdf2,
      	acossf2, acosxf2, log1psf2, log1pdf2, log1pxf2, ilogbsi2,
      	expsf2, expdf2, expxf2, exp10sf2, exp10df2, exp10xf2,
      	exp2sf2, exp2df2, exp2xf2, expm1df2, expm1sf2, expm1xf2,
      	ldexpdf3, ldexpsf3, ldexpxf3, rintxf2, rintdf2, rintsf2,
      	lround<mode>di2, lround<mode>si2, floorxf2, floordf2, floorsf2,
      	lfloor<mode>di2, lfloor<mode>si2, ceilxf2, ceildf2, ceilsf2,
      	btruncxf2, btruncdf2, btruncsf2): Conditionalize expansion on
      	!optimize_size.
      
      From-SVN: r118221
      Richard Guenther committed
    • re PR fortran/29387 (ICE on character array function of variable length) · dd5797cc
      2006-10-31  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/29387
      	* trans-intrinsic.c (gfc_conv_intrinsic_len): Rearrange to have
      	a specific case for EXPR_VARIABLE and, in default, build an ss
      	to call gfc_conv_expr_descriptor for array expressions..
      
      	PR fortran/29490
      	* trans-expr.c (gfc_set_interface_mapping_bounds): In the case
      	that GFC_TYPE_ARRAY_LBOUND is not available, use descriptor
      	values for it and GFC_TYPE_ARRAY_UBOUND.
      
      	PR fortran/29641
      	* trans-types.c (gfc_get_derived_type): If the derived type
      	namespace has neither a parent nor a proc_name, set NULL for
      	the search namespace.
      
      
      2006-10-31  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/29387
      	* gfortran.dg/intrinsic_actual_2.f90: New test.
      
      	PR fortran/29490
      	* gfortran.dg/actual_array_interface_1.f90: New test.
      
      	PR fortran/29641
      	* gfortran.dg/used_types_11.f90: New test.
      
      From-SVN: r118220
      Paul Thomas committed
    • * opts.c (decode_options): Disable CSE skip blocks. · e5c18c3c
      From-SVN: r118219
      Steven Bosscher committed
    • Daily bump. · e4a6b835
      From-SVN: r118215
      GCC Administrator committed
  2. 30 Oct, 2006 30 commits
  3. 29 Oct, 2006 2 commits