1. 23 Dec, 2007 2 commits
  2. 22 Dec, 2007 8 commits
  3. 21 Dec, 2007 10 commits
  4. 20 Dec, 2007 9 commits
    • xtensa.md (fix_return_addr): Remove. · 7f0ee694
      	* config/xtensa/xtensa.md (fix_return_addr): Remove.
      	* config/xtensa/xtensa-protos.h (xtensa_initialize_trampoline): New.
      	(xtensa_trampoline_template): New.
      	* config/xtensa/xtensa.c (MIN_FRAME_SIZE): Moved here from xtensa.h.
      	(xtensa_return_addr): Expand to standard Xtensa insns instead of
      	fix_return_addr.  Get high bits from a local label.
      	(xtensa_trampoline_template): New function with code moved from
      	TRAMPOLINE_TEMPLATE in xtensa.h.  Use L32R instead of CALL0 except
      	when using CONST16 or absolute-mode literals.
      	(xtensa_initialize_trampoline): New function with code moved from
      	INITIALIZE_TRAMPOLINE in xtensa.h.  Use different offsets depending
      	on which trampoline version is used.
      	* config/xtensa/lib2funcs.S (TRAMPOLINE_SIZE): Add comment.
      	* config/xtensa/xtensa.h (TARGET_ABSOLUTE_LITERALS): Define.
      	(MIN_FRAME_SIZE): Moved to xtensa.c.
      	(TRAMPOLINE_TEMPLATE): Use xtensa_trampoline_template.
      	(TRAMPOLINE_SIZE): Two versions of the trampoline have different sizes.
      	(INITIALIZE_TRAMPOLINE): Use xtensa_initialize_trampoline.
      	* config/xtensa/ieee754-df.S (XCHAL_NO_MUL): Define.
      	(__muldf3): Use CALL12 instead of CALL0 to invoke .Lmul_mulsi3
      	helper when not using the CALL0 ABI.  Change .Lmul_mulsi3 to match.
      	* config/xtensa/lib1funcs.asm (__umulsidi3): Likewise.
      	* config/xtensa/ieee754-sf.S (__mulsf3): Likewise.
      
      From-SVN: r131108
      Bob Wilson committed
    • re PR c++/34111 (new overload resolution error) · 4c12c8ea
              PR c++/34111
              * call.c (standard_conversion): Derived-to-base is considered a
              standard conversion.
      
      From-SVN: r131107
      Jason Merrill committed
    • lang.c (java_classify_record): Don't return RECORD_IS_INTERFACE for now. · ef833d3d
      * lang.c (java_classify_record): Don't return
      RECORD_IS_INTERFACE for now.
      
      From-SVN: r131105
      Alexandre Oliva committed
    • re PR c++/34459 (incorrect code when compiled with optimization (-O1)) · 3ec1a737
      	PR c++/34459
      	* tree-ssa-dse.c (dse_optimize_stmt): Don't eliminate store if
      	USE_STMT not only stores into the same object as STMT, but might
      	read it too.
      
      	* gcc.c-torture/execute/20071219-1.c: New test.
      
      From-SVN: r131101
      Jakub Jelinek committed
    • re PR libfortran/34530 (namelist read broken when whitespace after &namelist) · 667e2045
      2007-12-20  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/34530
              * io/list_read.c (eat_line): Move up in the file.
              (eat_separator): In namelist mode, skip over comment lines.
      
      2007-12-20  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/34530
              * gfortran.dg/namelist_44.f90: New.
      
      From-SVN: r131099
      Tobias Burnus committed
    • re PR fortran/34482 (FAIL: gfortran.dg/nan_4.f90 -O tests for errors) · c7abc45c
      2007-12-20  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/34482
              * gfortran.texi (BOZ): Document behavior for complex
              numbers.
              * target-memory.h (gfc_convert_boz): Update prototype.
              * target-memory.c (gfc_convert_boz): Add error check
              and convert BOZ to smallest possible bit size.
              * resolve.c (resolve_ordinary_assign): Check return value.
              * expr.c (gfc_check_assign): Ditto.
              * simplify.c (simplify_cmplx, gfc_simplify_dble,
              gfc_simplify_float, gfc_simplify_real): Ditto.
      
      2007-12-20  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/34482
              * gfortran.dg/boz_8.f90: Add error-check check.
              * gfortran.dg/boz_9.f90: Shorten BOZ where needed, replace
              stop by call abort.
      
      From-SVN: r131098
      Tobias Burnus committed
    • re PR tree-optimization/34413 (gfortran.dg/ltrans-7.f90 doesn't work) · f4113648
      2007-12-19  Sebastian Pop  <sebastian.pop@amd.com>
      
      	PR tree-optimization/34413
      	* tree-data-ref.c (affine_fn_op, analyze_ziv_subscript,
      	analyze_siv_subscript_cst_affine, analyze_miv_subscript,
      	omega_setup_subscript): Use long_integer_type_node instead of
      	integer_type_node.
      
      From-SVN: r131097
      Sebastian Pop committed
    • re PR target/34525 (ICE in extract_insn, at recog.c:1990 on hppa) · f946206c
      	PR target/34525
      	* pa.c (legitimize_pic_address): Force function labels into memory.
      
      From-SVN: r131096
      John David Anglin committed
    • Daily bump. · ec871836
      From-SVN: r131094
      GCC Administrator committed
  5. 19 Dec, 2007 11 commits
    • Add Sam's email for last sem_ch6.adb/sem_ch3.adb change. · 44914a04
      From-SVN: r131089
      Arnaud Charlet committed
    • Resync. · 7469b7bc
      From-SVN: r131088
      Arnaud Charlet committed
    • Update error message. · 5ce43522
      From-SVN: r131087
      Arnaud Charlet committed
    • gnat_rm.texi, [...]: Update documentation of -gnatw.o Fix name of… · 482434dc
      gnat_rm.texi, [...]: Update documentation of -gnatw.o Fix name of Wide_Wide_Latin_1/9 file names Add...
      
      2007-12-19  Robert Dewar  <dewar@adacore.com>
      
      	* gnat_rm.texi, gnat_ugn.texi: Update documentation of -gnatw.o
      	Fix name of Wide_Wide_Latin_1/9 file names
      	Add documentation for Ada.Exceptions.Last_Chance_Handler (a-elchha.ads)
      	Add missing documentation for Ada.Wide_[Wide_]Characters.Unicode
      	Add missing documentation for Ada.Command_Line.Response_File
      	Update list of warning letters for Warnings pragma
      	Add documentation for pragma Unmodified
      
      From-SVN: r131086
      Robert Dewar committed
    • makegpr.adb (Check_Compilation_Needed): Normalize C_Source_Path so that the… · d71cdcc5
      makegpr.adb (Check_Compilation_Needed): Normalize C_Source_Path so that the source path name is always found in the...
      
      2007-12-19  Vincent Celier  <celier@adacore.com>
      
      	* makegpr.adb (Check_Compilation_Needed): Normalize C_Source_Path so
      	that the source path name is always found in the dependencies.
      
      From-SVN: r131085
      Vincent Celier committed
    • Part of PR ada/33688 · 9b0b4cbe
      2007-12-19  Thomas Quinot  <quinot@adacore.com>
      
      	Part of PR ada/33688
      	* gen-soccon.c: Add constant IP_PKTINFO to allow getting ancillary
      	datagram info on Linux.
      
      From-SVN: r131084
      Thomas Quinot committed
    • utils.c (create_var_decl_1): call rest_of_decl_compilation only for global variable. · 91654939
      2007-12-19  Tristan Gingold  <gingold@adacore.com>
      
      	* utils.c (create_var_decl_1): call rest_of_decl_compilation only for
      	global variable.
      
      From-SVN: r131083
      Tristan Gingold committed
    • re PR ada/34149 (GNAT crash - deeply inrerited function) · 20e8cdd7
      2007-12-19  Gary Dismukes  <dismukes@adacore.com>
      
      	PR ada/34149
      	* sem_disp.adb (Check_Dispatching_Call): Augment existing test for
      	presence of a statically tagged operand (Present (Static_Tag)) with
      	test for Indeterm_Ancestor_Call when determining whether to propagate
      	the static tag to tag-indeterminate operands (which forces dispatching
      	on such calls).
      	(Check_Controlling_Formals): Ada2005, access parameters can have
      	defaults.
      	(Add_Dispatching_Operation, Check_Operation_From_Private_View): do
      	not insert subprogram in list of primitive operations if already there.
      
      From-SVN: r131082
      Gary Dismukes committed
    • sem_ch8.adb (Analyze_Subprogram_Renaming): Diagnose illegal renamings whose… · 90067a15
      sem_ch8.adb (Analyze_Subprogram_Renaming): Diagnose illegal renamings whose renamed entity is a subprogram that requires...
      
      2007-12-19  Ed Schonberg  <schonberg@adacore.com>
      	    Gary Dismukes  <dismukes@adacore.com>
      
      	* sem_ch8.adb (Analyze_Subprogram_Renaming): Diagnose illegal renamings
      	whose renamed entity is a subprogram that requires overriding.
      	(Premature_Usage): Test for the case of N_Full_Type_Declaration when
      	issuing an error for premature usage and issue a message that says
      	'type' rather than 'object'.
      
      From-SVN: r131081
      Ed Schonberg committed
    • sem_ch4.adb (Analyze_Concatenation_Rest): New procedure. · fe39cf20
      2007-12-19  Bob Duff  <duff@adacore.com>
      
      	* sem_ch4.adb (Analyze_Concatenation_Rest): New procedure.
      	(Analyze_Concatenation): Use iteration instead of recursion in order
      	to avoid running out of stack space for deeply nested concatenations.
      
      From-SVN: r131080
      Bob Duff committed
    • PR ada/15803, ada/15805 · f29b857f
      2007-12-19  Ed Schonberg  <schonberg@adacore.com>
      	    Gary Dismukes  <dismukes@adacore.com>
      
      	PR ada/15803, ada/15805
      	* sem_ch6.adb, sem_ch3.adb (Constrain_Access): In Ada2005, diagnose
      	illegal access subtypes when there is a constrained partial view.
      	(Check_For_Premature_Usage): New procedure inside
      	Access_Subprogram_Declaration for checking that an access-to-subprogram
      	type doesn't reference its own name within any formal parameters or
      	result type (including within nested anonymous access types).
      	(Access_Subprogram_Declaration): Add call to Check_For_Premature_Usage.
      	(Sem_Ch3.Analyze_Object_Declaration, Sem_ch6.Process_Formals): if the
      	context is an access_to_variable, the expression cannot be an
      	access_to_constant.
      
      From-SVN: r131079
      Ed Schonberg committed