1. 03 Jul, 2007 22 commits
    • c-parser.c (objc_pq_context): Removed. · 0bacb8c7
      	* c-parser.c (objc_pq_context): Removed.
      	(objc_need_raw_identifier): Likewise.
      	(c_parser) <objc_pq_context>: New field.
      	<objc_need_raw_identifier>: Likewise.
      	(OBJC_NEED_RAW_IDENTIFIER): Removed.
      	(c_lex_one_token): Update.
      	(c_parser_objc_protocol_definition): Update.
      	(c_parser_objc_method_definition): Update.
      	(c_parser_objc_methodproto): Update.
      	(c_parser_declspecs): Update.
      
      From-SVN: r126269
      Tom Tromey committed
    • mips.c (mips_issue_rate): Return 4 for 74K processors. · c849ec73
      gcc/
      2007-07-03  David Ung  <davidu@mips.com>
      
      	* config/mips/mips.c (mips_issue_rate): Return 4 for 74K processors.
      
      From-SVN: r126268
      David Ung committed
    • invoke.texi: Document -march=74kf3_2. · 74d4d024
      gcc/
      2007-07-03  David Ung  <davidu@mips.com>
      	    Richard Sandiford  <richard@codesourcery.com>
      
      	* doc/invoke.texi: Document -march=74kf3_2.
      	* config/mips/mips.h (PROCESSOR_74KF3_2): New processor_type.
      	(TUNE_74K): Check for it.
      	* config/mips/mips.c (mips_cpu_info): Add 74kf3_2.
      	(mips_rtx_cost_data): Add an entry for PROCESSOR_74KF3_2.
      	* config/mips/mips.md (cpu): Add 74kf3_2.
      	* config/mips/74k.md (r74k_int_logical, r74k_int_arith, r74k_int_nop)
      	(r74k_int_cmove, r74k_int_mult, r74k_int_mul3, r74k_int_mfhilo)
      	(r74k_int_mthilo, r74k_int_div, r74k_int_call, r74k_int_jump)
      	(r74k_int_load, r74k_int_store, r74k_unknown, r74k_multi): Add
      	74kf3_2 to the CPU list.
      	(r74kf3_2_fadd, r74kf3_2_fmove, r74kf3_2_fload, r74kf3_2_fstore)
      	(r74kf3_2_fmul_sf, r74kf3_2_fmul_df, r74kf3_2_fdiv_sf)
      	(r74kf3_2_fdiv_df, r74kf3_2_frsqrt_sf, r74kf3_2_frsqrt_df)
      	(r74kf3_2_fcmp, r74kf3_2_fcvt, r74kf3_2_fxfer_to_c1)
      	(r74kf3_2_fxfer_from_c1): New insn reservations.
      
      Co-Authored-By: Richard Sandiford <richard@codesourcery.com>
      
      From-SVN: r126267
      David Ung committed
    • invoke.texi: Replace -march=24kf with -march=24kf2_1 and -march=24kx with -march=24kf1_1. · bdd77024
      gcc/
      2007-07-03  Richard Sandiford  <richard@codesourcery.com>
      	    David Ung  <davidu@mips.com>
      
      	* doc/invoke.texi: Replace -march=24kf with -march=24kf2_1 and
      	-march=24kx with -march=24kf1_1.  Likewise 24ke[fx], 34k[fx]
      	and 74k[fx].  Document aliases for the new options.
      	* config/mips/mips.h (PROCESSOR_24KF): Rename to...
      	(PROCESSOR_24KF2_1): ...this.
      	(PROCESSOR_24KX): Rename to...
      	(PROCESSOR_24KF1_1): ...this.
      	(PROCESSOR_74KF): Rename to...
      	(PROCESSOR_74KF2_1): ...this.
      	(PROCESSOR_74KX): Rename to...
      	(PROCESSOR_74KF1_1): ...this.
      	(TUNE_74K): Update PROCESSOR_* names.
      	* config/mips/mips.c (mips_cpu_info): Add 24kf2_1 as a synonym
      	for 24kf.  Add 24kf1_1 and 24kfx as synonyms for 24kx.  Likewise
      	the 24ke*, 34k* and 74k* processors.  Update PROCESSOR_* names.
      	(mips_rtx_cost_data): Update processor names in comments.
      	(mips_issue_rate): Update PROCESSOR_* names.
      	* config/mips/mips.md (cpu): Rename 24kf to 24kf2_1, 24kx to
      	24kf1_1, 74kf to 74kf2_1 and 74kx to 74kf1_1.
      	* config/mips/24k.md: Rename FPU-related r24k_* insn reservations
      	to r24kf2_1_*.  Rename r24kx_* insn reservations to r24kf1_1_*.
      	Update cpu attribute names.
      	(r24k_fpu_iss): Rename this reservation to...
      	(r24kf2_1_fpu_iss): ...this and update all uses.
      	(r24kx_fpu_iss): Rename this reservation to...
      	(r24kf1_1_fpu_iss): ...this and update all uses.
      	* config/mips/74k.md: Rename FPU-related r74kf_* insn reservations
      	to r74kf2_1_*.  Rename r74kx_* insn reservations to r74kf1_1_*.
      	Update cpu attribute names.
      
      Co-Authored-By: David Ung <davidu@mips.com>
      
      From-SVN: r126266
      Richard Sandiford committed
    • constraints.md: New file. · fbaeb717
      * config/m32r/constraints.md: New file.
      * config/m32r/m32r.c: Include tm-constrs.h.
        (small_data_operand): Use satisfies_constraint_* instead of macro.
        (addr24_operand, gen_compare): Likewise.
      * config/m32r/m32r.h (REG_CLASS_FROM_LETTER): Remove.
        (INT8_P, UPPER16_P, UINT32_P, UINT5_P, INVERTED_SIGNED_8BIT,
        CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P, EXTRA_CONSTRAINT): Likewise.
      * config/m32r/m32r.md: Include constraints.md.
        (movsi_insn): Use satisfies_constraint_* instead of macro.
        (andsi3, iorsi3, xorsi3, seq_insn+1, sne): Likewise.
      * config/m32r/predicates.md (conditional_move_operand): Likewise.
        (two_insn_const_operand, int8_operand, uint16_operand,
         reg_or_int16_operand, reg_or_uint16_operand,
         reg_or_cmp_int16_operand, cmp_int16_operand,
         seth_add3_operand): Likewise.
      
      From-SVN: r126265
      Kaz Kojima committed
    • Fortran frontend: · db430f6a
      2007-07-03  Janne Blomqvist  <jb@gcc.gnu.org>
      
      	* trans-decl.c (gfc_build_builtin_function_decls): Mark
      	internal_realloc as a malloc function.
      
      libgfortran:
      
      2007-07-03  Janne Blomqvist  <jb@gcc.gnu.org>
      
      	* libgfortran.h: Mark internal_malloc_size as a malloc function.
      	* runtime/memory.c (internal_realloc_size): Remove.
      	(internal_realloc): Call realloc directly instead of
      	internal_realloc_size.
      	(allocate_size): Remove.
      	(allocate): Call malloc directly instead of allocate_size, mark as
      	malloc function.
      
      From-SVN: r126264
      Janne Blomqvist committed
    • libgcc2.h: Conditionally declare __bswapsi2 and __bswapdi2. · 66965e90
      2007-07-03  Eric Christopher  <echristo@gmail.com>
      
              * libgcc2.h: Conditionally declare __bswapsi2 and
              __bswapdi2.
      
      From-SVN: r126263
      Eric Christopher committed
    • re PR c++/32609 (ICE in htab_clear_slot at libiberty/hashtab.c:722) · e656a465
      2007-07-03  Richard Guenther  <rguenther@suse.de>
      
      	PR c++/32609
      	* class.c (fixed_type_or_null): Re-lookup the hashtable slot
      	after recursing.
      
      From-SVN: r126262
      Richard Guenther committed
    • MAINTAINERS (Write After Approval): Add myself. · 6ba67283
      	* MAINTAINERS (Write After Approval): Add myself.
      
      From-SVN: r126260
      Julian Brown committed
    • ddg.c (check_sccs): Define only if ENABLE_CHECKING is defined. · 72b31363
      2007-07-03  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* ddg.c (check_sccs): Define only if ENABLE_CHECKING is
      	defined.
      
      From-SVN: r126258
      H.J. Lu committed
    • ChangeLog: Forgot to commit with my last change. · 8f7bdf18
              * testsuite/ChangeLog: Forgot to commit with my last change.
      
      From-SVN: r126257
      Uros Bizjak committed
    • * gcc.dg/pr32176.c: Add -w to default dg-options. · 16290cf8
      From-SVN: r126256
      Uros Bizjak committed
    • re PR target/28307 (pthread functions in libgcc not weak any more on Tru64 UNIX) · b36e79e5
      	PR target/28307
      	* gthr-posix.h [SUPPORTS_WEAK && GTHREAD_USE_WEAK]
      	(__gthrw_pragma): Provide default definition.
      	(__gthrw2): Use it.
      	* gthr-posix.c (__gthrw_pragma): Define.
      
      From-SVN: r126253
      Rainer Orth committed
    • tree-ssa-sccvn.c (set_ssa_val_to): Check for operand_equal_p before declaring inequality. · 78d3c323
      2007-07-03  Daniel Berlin  <dberlin@dberlin.org>
      
      	* tree-ssa-sccvn.c (set_ssa_val_to): Check for operand_equal_p
      	before declaring inequality.
      
      From-SVN: r126252
      Daniel Berlin committed
    • combine.c (recog_for_combine): Log the success or failure of matching new insn… · b6bcd676
      combine.c (recog_for_combine): Log the success or failure of matching new insn patterns against the machine...
      
      	* combine.c (recog_for_combine): Log the success or failure of
      	  matching new insn patterns against the machine description in
      	  detailed dumps.
      
      From-SVN: r126251
      Rask Ingemann Lambertsen committed
    • modulo-sched: print sccs and check it · 8cec1624
      From-SVN: r126249
      Revital Eres committed
    • re PR fortran/20888 (dereferencing NULL still accepted) · bb9e683e
      2007-07-03  Tobias Burnus  <burnus@net-b.de>
      
      	PR fortran/20888
      	* resolve.c (resolve_operator): Check for NULL as operand.
      
      2007-07-03  Tobias Burnus  <burnus@net-b.de>
      
      	PR fortran/20888
      	* gfortran.dg/null_2.f90: New.
      
      From-SVN: r126247
      Tobias Burnus committed
    • configure.ac: Rewrite 'configure --help' strings to look nicer. · 30b74385
      2007-07-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
      
      	* configure.ac: Rewrite 'configure --help' strings to look nicer.
      	* configure: Regenerate.
      
      2007-07-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
      
      	* configure.ac: Add some missing m4 quotation.
      	* configure: Regenerate.
      
      From-SVN: r126246
      Ralf Wildenhues committed
    • re PR middle-end/32176 (ICE tree-type mismatch: expected integer_cst, have… · 2f575701
      re PR middle-end/32176 (ICE tree-type mismatch: expected integer_cst, have plus_expr in int_cst_value, at tree.c:7720)
      
      	PR middle-end/32176
      	* gcc.dg/pr32176.c: New test.
      
      
      Co-Authored-By: Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
      
      From-SVN: r126245
      Uros Bizjak committed
    • cpplib.h (CPP_N_WIDTH_MD, [...]): Add new constants. · c77cd3d1
      libcpp/ChangeLog:
      
      	* include/cpplib.h (CPP_N_WIDTH_MD, CPP_N_MD_W, CPP_N_MD_Q):
      	Add new constants.
      	* expr.c (interpret_float_suffix): Process 'w', 'W', 'q' and 'Q'
      	suffixes.  Return CPP_N_MD_W for 'w' or 'W' suffixes and CPP_N_MD_Q
      	for 'q' or 'Q' suffixes.
      
      gcc/ChangeLog:
      
      	* targhooks.h (default_mode_for_suffix): New function declaration.
      	* targhooks.c (default_mode_for_suffix): New default target hook.
      	* target.h (struct c): New structure in the targetm struct.
      	(mode_for_suffix): New target hook as part of struct c.
      	target-def.h (TARGET_C_MODE_FOR_SUFFIX): Define as
      	default_mode_for_suffix.
      	(TARGET_C): New define.
      	* c-lex.c: Include "target.h".
      	(interpret_float): Use targetm.c.mode_for_suffix to determine
      	the mode for a given non-standard suffix.
      	Makefile.in (c-lex.o): Depend on $(TARGET_H).
      
      	* config/i386/i386.c (ix86_c_mode_for_suffix): New static function.
      	(TARGET_C_MODE_FOR_SUFFIX): Define to ix86_c_mode_for_suffix.
      
      	* doc/extend.texi (Floating Types): New node.  Document __float80 and
      	__float128 types.  Document 'w', 'W', 'q' and 'Q' suffixes.
      
      testsuite/ChangeLog:
      
      	* gcc.dg/const-float80.c : New test.
      	* gcc.dg/const-float128.c : New test.
      	* gcc.dg/const-float80-ped.c : New test.
      	* gcc.dg/const-float128-ped.c : New test.
      
      From-SVN: r126244
      Uros Bizjak committed
    • re PR target/32506 (cross compile sh64-superh-linux-gnu internal compiler error:… · 1ed50f71
      re PR target/32506 (cross compile sh64-superh-linux-gnu internal compiler error: in change_address_1, at emit-rtl.c:1800)
      
      	PR target/32506
      	* config/sh/sh.md (udivsi3_i1_media): Use target_reg_operand
      	predicate instead of target_operand.
      	(divsi3_i1_media, divsi3_media_2): Likewise.
      
      From-SVN: r126243
      Kaz Kojima committed
    • Daily bump. · 370f2044
      From-SVN: r126241
      GCC Administrator committed
  2. 02 Jul, 2007 18 commits