Skip to content
Snippets Groups Projects
  1. Feb 16, 2011
  2. Feb 15, 2011
    • Mike Stump's avatar
      * MAINTAINERS: Add myself as testsuite maintainer. · 12a0ae3d
      Mike Stump authored
      From-SVN: r170202
      12a0ae3d
    • Ian Lance Taylor's avatar
      Don't crash on erroneous thunk call. · fdd6f94b
      Ian Lance Taylor authored
      From-SVN: r170201
      fdd6f94b
    • Tobias Burnus's avatar
      re PR libfortran/47716 (libgfortran quadmath_weak.h not found on NetBSD 5.1) · 69eb61d4
      Tobias Burnus authored
      2011-02-15  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/47716
              PR fortran/47648
              * acinclude.m4 (LIBGFOR_CHECK_FLOAT128): Use check from
              libquadmath, which uses more features.
              * configure: Regenerate.
      
      From-SVN: r170200
      69eb61d4
    • Jeff Law's avatar
      Revert · fc2fa4fb
      Jeff Law authored
      	2011-01-25  Jeff Law  <law@redhat.com>
      
      	PR rtl-optimization/37273
      	* ira-costs.c (scan_one_insn): Detect constants living in memory and
      	handle them like argument loads from stack slots.  Do not double
      	count memory for memory constants and argument loads from stack slots.
      
      From-SVN: r170199
      fc2fa4fb
    • Ian Lance Taylor's avatar
      Don't crash on interface loop with forwarding types. · 158559de
      Ian Lance Taylor authored
      From-SVN: r170198
      158559de
    • H.J. Lu's avatar
      Revert cant_combine_insn_p change. · 4e380b8e
      H.J. Lu authored
      gcc/
      
      2011-02-15  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR middle-end/47725
      	* combine.c (cant_combine_insn_p): Revert the last change.
      
      gcc/testsuite/
      
      2011-02-15  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR middle-end/47725
      	* gcc.dg/torture/pr47725.c: Removed.
      
      From-SVN: r170197
      4e380b8e
    • Ian Lance Taylor's avatar
      Don't crash on defer of type conversion. · f8012934
      Ian Lance Taylor authored
      From-SVN: r170196
      f8012934
    • Steven G. Kargl's avatar
      re PR fortran/47633 (Result of COMPILER_VERSION() has NULL byte appended) · ed17fc41
      Steven G. Kargl authored
      2011-02-15  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/47633
      	. simplify.c (gfc_simplify_compiler_version): Fix off-by-one issue.
      
      From-SVN: r170195
      ed17fc41
    • Ian Lance Taylor's avatar
      Don't crash lowering self-referential variable initializer. · 72f812a2
      Ian Lance Taylor authored
      From-SVN: r170194
      72f812a2
    • Ian Lance Taylor's avatar
      Don't let array indexes be untyped. · 1c4a5fc8
      Ian Lance Taylor authored
      From-SVN: r170193
      1c4a5fc8
    • Ian Lance Taylor's avatar
      Don't crash defining function in different package. · 8d620a1a
      Ian Lance Taylor authored
      From-SVN: r170192
      8d620a1a
    • Michael Meissner's avatar
      Fix PR 47755 · e3a69bb4
      Michael Meissner authored
      From-SVN: r170189
      e3a69bb4
    • Alexandre Oliva's avatar
      re PR debug/47106 (-fcompare-debug failure (length) with -fpartial-inlining... · de650422
      Alexandre Oliva authored
      re PR debug/47106 (-fcompare-debug failure (length) with  -fpartial-inlining -flto -fconserve-stack)
      
      PR debug/47106
      PR debug/47402
      * cgraph.h (compute_inline_parameters): Return void.
      * ipa-inline.c (compute_inline_parameters): Adjust.
      
      From-SVN: r170188
      de650422
    • Alexandre Oliva's avatar
      re PR debug/47106 (-fcompare-debug failure (length) with -fpartial-inlining... · 30925d94
      Alexandre Oliva authored
      re PR debug/47106 (-fcompare-debug failure (length) with  -fpartial-inlining -flto -fconserve-stack)
      
      PR debug/47106
      PR debug/47402
      * tree-inline.h (estimated_stack_frame_size): Take cgraph node
      rather than decl.
      * cfgexpand.c (estimated_stack_frame_size): Likewise.
      * ipa-inline.c (compute_inline_parameters): Adjust.
      
      From-SVN: r170187
      30925d94
    • Alexandre Oliva's avatar
      re PR debug/47106 (-fcompare-debug failure (length) with -fpartial-inlining... · 1b9a784a
      Alexandre Oliva authored
      re PR debug/47106 (-fcompare-debug failure (length) with  -fpartial-inlining -flto -fconserve-stack)
      
      PR debug/47106
      PR debug/47402
      * tree-flow.h (FOR_EACH_REFERENCED_VAR): Add FN argument.
      Adjust all users.  Pass FN to...
      * tree-flow-inline.h (first_referenced_var): ... this.  Add
      fn argument.
      * ipa-struct-reorg.c: Adjust.
      * tree-dfa.c: Adjust.
      * tree-into-ssa.c: Adjust.
      * tree-sra.c: Adjust.
      * tree-ssa-alias.c: Adjust.
      * tree-ssa-live.c: Adjust.
      * tree-ssa.c: Adjust.
      * tree-ssanames.c: Adjust.
      * tree-tailcall.c: Adjust.
      
      From-SVN: r170186
      1b9a784a
    • Alexandre Oliva's avatar
      re PR debug/47106 (-fcompare-debug failure (length) with -fpartial-inlining... · 27c6b086
      Alexandre Oliva authored
      re PR debug/47106 (-fcompare-debug failure (length) with  -fpartial-inlining -flto -fconserve-stack)
      
      PR debug/47106
      PR debug/47402
      * tree-flow.h (referenced_var_lookup): Add fn parameter.
      Adjust all callers.
      * tree-dfa.c (referenced_var_lookup): Use fn instead of cfun.
      * tree-flow-inline.h: Adjust.
      * gimple-pretty-print.c: Adjust.
      * tree-into-ssa.c: Adjust.
      * tree-ssa.c: Adjust.
      * cfgexpand.c: Adjust.
      
      From-SVN: r170185
      27c6b086
    • Nathan Froyd's avatar
      make iq2000 use constraints.md · 679e8183
      Nathan Froyd authored
      	make iq2000 use constraints.md
              * config/iq2000/i2000.h (REG_CLASS_FROM_LETTER): Delete.
              (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
              (EXTRA_CONSTRAINT): Delete.
              * config/iq2000/constraints.md: New file.
              * config/iq2000/iq2000.md: Include it.
      	(define_insn ""): Delete.
      	(movsi_internal2, movhi_internal2, movqi_internal2): Delete
      	unsupported constraint letters from patterns.
      	(call_value, call_value_internal1): Likewise.
      	(call_value_multiple_internal1): Likewise.
      
      From-SVN: r170184
      679e8183
    • Nick Clifton's avatar
      mn10300.c: Include tm-constrs.h. · a45d420a
      Nick Clifton authored
      	* config/mn10300/mn10300.c: Include tm-constrs.h.
      	(struct liw_data): New data structure describing an LIW candidate
      	instruction.
      	(extract_bundle): Use struct liw_data.  Allow small integer
      	operands for some instructions.
      	(check_liw_constraints): Use struct liw_data.  Remove swapped
      	parameter.  Add comments describing the checks.  Fix bug when
      	assigning the source of liw1 to the source of liw2.
      	(liw_candidate): Delete.  Code moved into extract_bundle.
      	(mn10300_bundle_liw): Use struct liw_data.  Check constraints
      	before swapping.
      	* config/mn10300/predicates.md (liw_operand): New predicate.
      	Allows registers and small integer constants.
      	* config/mn10300/constraints.md (O): New constraint.  Accetps
      	integers in the range -8 to +7 inclusive.
      	* config/mn10300/mn10300.md (movesi_internal): Add an alternative
      	for moving a small integer into a register.  Give this alternative
      	LIW attributes.
      	(addsi3, subsi3, cmpsi, lshrsi3, ashrsi3): Likewise.
      	(ashlsi3): Likewise, plus give LIW attributes to the alternatives
      	using the J,K,L and M constraints,
      	(liw): Remove SI mode on second operands to allow for HI and QI
      	mode values.
      	(cmp_liw, liw_cmp): Likewise.  Plus fix order of operands in the
      	instruction.
      
      From-SVN: r170182
      a45d420a
    • H.J. Lu's avatar
      Check zero/sign extended hard registers. · 8a73faf1
      H.J. Lu authored
      gcc/
      
      2011-02-15  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR middle-end/47725
      	* combine.c (cant_combine_insn_p): Check zero/sign extended
      	hard registers.
      
      gcc/testsuite/
      
      2011-02-15  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR middle-end/47725
      	* gcc.dg/torture/pr47725.c: New.
      
      From-SVN: r170179
      8a73faf1
    • Richard Guenther's avatar
      re PR middle-end/47743 (PRE ICE in fold_convert_loc) · 48feba28
      Richard Guenther authored
      2011-02-15  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/47743
      	* tree-ssa-pre.c (phi_translate_1): If we didn't get a value-number
      	for a non-type-compatible VN lookup bail out.
      
      	* gcc.dg/torture/pr47743.c: New testcase.
      
      From-SVN: r170173
      48feba28
    • Nathan Froyd's avatar
      make fr30 use constraints.md · ad1c1eeb
      Nathan Froyd authored
      	make fr30 use constraints.md
      	* config/fr30/constraints.md: New file.
      	* config/fr30/fr30.md: Include it.
      	* config/fr30/fr30.h (REG_CLASS_FROM_LETTER): Delete.
      	(CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
      	(EXTRA_CONSTRAINT): Delete.
      
      From-SVN: r170172
      ad1c1eeb
    • Nathan Froyd's avatar
      make frv use constraints.md · 49ac143d
      Nathan Froyd authored
      	make frv use constraints.md
      	* config/frv/constraints.md: New file.
      	* config/frv/predicates.md: Include it.
      	* config/frv/frv.c (reg_class_from_letter): Delete.
      	(frv_option_override): Don't initialize it.
      	* config/frv/frv.h (REG_CLASS_FROM_LETTER): Delete.
      	(CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_K): Delete.
      	(CONST_OK_FOR_L, CONST_OK_FOR_M, CONST_OK_FOR_N): Delete.
      	(CONST_OK_FOR_O, CONST_OK_FOR_P, CONST_OK_FOR_LETTER_P): Delete.
      	(CONST_DOUBLE_OK_FOR_G, CONST_DOUBLE_OK_FOR_H): Delete.
      	(CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
      	(EXTRA_CONSTRAINT_FOR_Q, EXTRA_CONSTRAINT_FOR_R): Delete.
      	(EXTRA_CONSTRAINT_FOR_S, EXTRA_CONSTRAINT_FOR_T): Delete.
      	(EXTRA_CONSTRAINT_FOR_U, EXTRA_CONSTRAINT): Delete.
      	(EXTRA_MEMORY_CONSTRAINT, CONSTRAINT_LEN): Delete.
      	(REG_CLASS_FROM_CONSTRAINT): Delete.
      
      From-SVN: r170171
      49ac143d
    • Jakub Jelinek's avatar
      re PR middle-end/47581 (Unnecessary adjustments to stack pointer) · c95f9494
      Jakub Jelinek authored
      	PR middle-end/47581
      	* config/i386/i386.c (ix86_compute_frame_size): Don't align offset
      	if frame size is 0 in a leaf function.
      
      	* gcc.target/i386/pr47581.c: New test.
      
      From-SVN: r170170
      c95f9494
    • Rainer Orth's avatar
      Fixed ChangeLog typo. · c1e2901e
      Rainer Orth authored
      From-SVN: r170169
      c1e2901e
    • Rainer Orth's avatar
      re PR pch/14940 (PCH largefile test fails on various platforms) · 13aed611
      Rainer Orth authored
      	PR pch/14940
      	* config/alpha/host-osf.c: New file.
      	* config/alpha/x-osf: New file.
      	* config.host (alpha*-dec-osf*): Use it.
      
      From-SVN: r170166
      13aed611
    • GCC Administrator's avatar
      Daily bump. · a86f3aaf
      GCC Administrator authored
      From-SVN: r170163
      a86f3aaf
  3. Feb 14, 2011
    • Jonathan Wakely's avatar
      Fix class name in ChangeLog of previous commit, r170158. · 4a4a7c31
      Jonathan Wakely authored
      From-SVN: r170159
      4a4a7c31
    • Jonathan Wakely's avatar
      regex.h (sub_match::sub_match): Add. · bf6319b9
      Jonathan Wakely authored
      2011-02-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
      
      	* include/bits/regex.h (sub_match::sub_match): Add.
      	(match_results::ready): Add.
      	(match_results::empty): Adjust.
      	(match_results::length): Add missing dereference.
      	(match_results::operator[],prefix,suffix): Add debug mode checks.
      	(match_results::cend): Re-use end().
      	(match_results::format): Adjust signatures.
      	(operator==(match_results,match_results)): Implement.
      	* include/bits/regex_compiler.h (_Scanner_base): Use constexpr.
      	* include/bits/regex_constants.h (syntax_option_type): Likewise.
      	* include/bits/regex_grep_matcher.h: Fix comment typo.
      	(_Specialized_results::_Specialized_results): Simplify.
      	* include/bits/regex_cursor.h: Fix comment typo.
      	* include/bits/regex_nfa.h: Likewise.
      	* testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc:
      	Fix error code, remove xfail.
      	* testsuite/28_regex/basic_regex/ctors/extended/
      	string_range_01_02_03.cc: Likewise.
      
      From-SVN: r170158
      bf6319b9
    • Janus Weil's avatar
      re PR fortran/47730 ([OOP] ICE on invalid source in connection with SELECT TYPE) · 01efe923
      Janus Weil authored
      2011-02-14  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/47730
      	* parse.c (gfc_build_block_ns): Commit 'block@' symbol.
      
      2011-02-14  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/47730
      	* gfortran.dg/select_type_22.f03: New.
      
      From-SVN: r170157
      01efe923
    • Jason Merrill's avatar
      re PR c++/47482 ([C++0x] ICE: unexpected expression ‘sizeof ("A")’ of kind sizeof_expr) · c9e71b36
      Jason Merrill authored
      	PR c++/47482
      	* parser.c (cp_parser_enumerator_definition): Call
      	fold_non_dependent_expr.
      
      From-SVN: r170156
      c9e71b36
    • Anatoly Sokolov's avatar
      rx.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. · b09c3081
      Anatoly Sokolov authored
      	* config/rx/rx.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove.
      	* config/rx/rx-protos.h (rx_is_mode_dependent_addr): Remove.
      	* config/xtensa/xtensa.c (rx_is_mode_dependent_addr): Rename to...
      	(rx_mode_dependent_address_p): ...this. Make static. Change argument
      	type to const_rtx.
      	(TARGET_MODE_DEPENDENT_ADDRESS_P): Define.
      
      From-SVN: r170154
      b09c3081
    • Nathan Froyd's avatar
      make stormy16 use constraints.md · d634083b
      Nathan Froyd authored
      	make stormy16 use constraints.md
      	* config/stormy16/constraints.md: New file.
      	* config/stormy16/predicates.md (nonimmediate_nonstack_operand):
      	Use satisfies_constraint_Q and satisfies_constraint_R.
      	* config/stormy16/stomry16-protos.h (xstormy16_extra_constraint_p):
      	Delete.
      	(xstormy16_legitiamte_address_p): Declare.
      	* config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Delete.
      	(CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
      	(EXTRA_CONSTRAINT): Delete.
      	* config/stormy16/stormy16.c (xstormy16_legitiamte_address_p):
      	Un-staticize.
      	(xstormy16_extra_constraint_p): Delete.
      
      From-SVN: r170152
      d634083b
Loading