1. 17 Feb, 2011 17 commits
    • re PR c++/47783 (Warning 'set but not used' [-Wunused-but-set-parameter]… · e3ae330d
      re PR c++/47783 (Warning 'set but not used' [-Wunused-but-set-parameter] incorrectly issued for update through reference wrapper)
      
      	PR c++/47783
      	* cvt.c (convert_from_reference): Call mark_exp_read.
      
      	* g++.dg/warn/Wunused-parm-4.C: New test.
      
      From-SVN: r170255
      Jakub Jelinek committed
    • libquadmath.texi (FLT128_DIG, [...]): Document. · a855debf
      	* libquadmath.texi (FLT128_DIG, FLT128_MIN_10_EXP,
      	FLT128_MAX_10_EXP): Document.
      	(strtoflt128): Remove obsolete comment.
      	* configure.ac (HAVE_STRTOULL): New check.
      	* printf/gmp-impl.h (mpn_construct_float128): New prototype,
      	define.
      	* printf/mul_n.c: Include <config.h>.
      	* printf/add_n.c: Likewise.
      	* printf/cmp.c: Likewise.
      	* printf/fpioconst.c: Likewise.
      	* printf/mul_1.c: Likewise.
      	* printf/rshift.c: Likewise.
      	* printf/lshift.c: Likewise.
      	* printf/submul_1.c: Likewise.
      	* printf/sub_n.c: Likewise.
      	* printf/divrem.c: Likewise.
      	* printf/addmul_1.c: Likewise.
      	* printf/mul.c: Likewise.
      	* printf/quadmath-printf.h (isupper, isdigit, tolower): Change
      	to avoid evaluating argument multiple times.
      	(isxdigit): Redefine.
      	* strtod/strtoflt128.c: New file.
      	* strtod/strtod_l.c: New file.
      	* strtod/mpn2flt128.c: New file.
      	* strtod/grouping.h: New file.
      	* strtod/tens_in_limb.c: New file.
      	* gdtoa/arith.h: Removed.
      	* gdtoa/gd_qnan.h: Removed.
      	* gdtoa/gdtoa_fltrnds.h: Removed.
      	* gdtoa/gdtoa.h: Removed.
      	* gdtoa/gdtoaimp.h: Removed.
      	* gdtoa/gethex.c: Removed.
      	* gdtoa/gmisc.c: Removed.
      	* gdtoa/hd_init.c: Removed.
      	* gdtoa/hexnan.c: Removed.
      	* gdtoa/makefile: Removed.
      	* gdtoa/misc.c: Removed.
      	* gdtoa/README.gdtoa: Removed.
      	* gdtoa/smisc.c: Removed.
      	* gdtoa/strtodg.c: Removed.
      	* gdtoa/strtopQ.c: Removed.
      	* gdtoa/sum.c: Removed.
      	* quadmath.h (FLT128_DIG, FLT128_MIN_10_EXP, FLT128_MAX_10_EXP):
      	Define.
      	* Makefile.am (libquadmath_la_SOURCES): Remove gdtoa/*, add
      	strtod/strtoflt128.c, strtod/mpn2flt128.c and strtod/tens_in_limb.c.
      	* config.h.in: Regenerated.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      
      From-SVN: r170254
      Jakub Jelinek committed
    • re PR driver/47390 (Linking with -export-dynamic broken) · fa381cb2
      	PR driver/47390
      	* common.opt (export-dynamic): New Driver option.
      	* gcc.c (LINK_COMMAND_SPEC): Add comment about %{e*}.
      
      From-SVN: r170253
      Joseph Myers committed
    • * config/rx/rx.h (LIB_SPEC): Match -msim not -msim*. · 5437eaa6
      From-SVN: r170252
      Joseph Myers committed
    • re PR debug/47106 (-fcompare-debug failure (length) with -fpartial-inlining… · bb7e6d55
      re PR debug/47106 (-fcompare-debug failure (length) with  -fpartial-inlining -flto -fconserve-stack)
      
      
      	PR debug/47106
      	PR debug/47402
      	* cfgexpand.c (account_used_vars_for_block): Remove.
      	(estimated_stack_frame_size): Use referenced vars.
      	* tree-inline.c (remap_decl): Only mark VAR_DECLs as referenced
      	that were referenced in the original function.  Test src_fn
      	rather than cfun.  Drop redundant get_var_ann.
      	(setup_one_parameter): Drop redundant get_var_ann.
      	(declare_return_variable): Likewise.
      	(copy_decl_for_dup_finish): Mark VAR_DECLs referenced in src_fn.
      	(copy_arguments_for_versioning): Drop redundant get_var_ann.
      	* ipa-inline.c (compute_inline_parameters): Do not compute
      	disregard_inline_limits here.
      	are not available.
      	(compute_inlinable_for_current, pass_inlinable): New.
      	(pass_inline_parameters): Require PROP_referenced_vars.
      	* cgraphunit.c (cgraph_process_new_functions): Don't run
      	compute_inline_parameters explicitly unless function is in
      	SSA form.
      	(cgraph_analyze_function): Set .disregard_inline_limits.
      	* tree-sra.c (convert_callers): Compute inliner parameters
      	only for functions already in SSA form.
      	* g++.dg/debug/pr47106.C: New.
      
      Co-Authored-By: Jan Hubicka <jh@suse.cz>
      
      From-SVN: r170249
      Alexandre Oliva committed
    • sparc.h (CPP_ENDIAN_SPEC): Don't handle -mlittle-endian-data. · f181a8a7
      	* config/sparc/sparc.h (CPP_ENDIAN_SPEC): Don't handle
      	-mlittle-endian-data.
      
      From-SVN: r170247
      Joseph Myers committed
    • linux64.h (OPTION_DEFAULT_SPECS): Match -mfpu and -mno-fpu, not -fpu and -no-fpu. · c6869789
      	* config/sparc/linux64.h (OPTION_DEFAULT_SPECS): Match -mfpu and
      	-mno-fpu, not -fpu and -no-fpu.
      	* config/sparc/sol2-bi.h (OPTION_DEFAULT_SPECS): Likewise.
      	* config/sparc/sparc.h (OPTION_DEFAULT_SPECS): Likewise.
      
      From-SVN: r170246
      Joseph Myers committed
    • re PR libstdc++/47776 (New libstc++ test failures) · 11514ce0
      2011-02-17  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR libstdc++/47776
      	* testsuite/ext/vstring/hash/char/1.cc: Fix.
      	* testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
      
      From-SVN: r170242
      Paolo Carlini committed
    • re PR target/43653 (ICE at reload1.c:1188 with -O1 -ftree-vectorize and empty struct) · fbf4bfd3
      	PR target/43653
      	* config/i386/i386.c (ix86_secondary_reload): Handle SSE
      	input reload with PLUS RTX.
      
      testsuite/ChangeLog:
      
      	PR target/43653
      	* gcc.target/i386/pr43653.c: New test.
      
      From-SVN: r170241
      Uros Bizjak committed
    • re PR c++/47172 ([C++0x] cannot call member function without object) · 1770aeed
      Fix PR c++/47172
      
      gcc/cp/
      
      	PR c++/47172
      	* pt.c (finish_call_expr): Consider a call expression that has a
      	dependent "this" pointer as being dependent.  Add comments.
      	(dependent_type_p, type_dependent_expression_p): Update comments.
      
      gcc/testsuite/
      
      	* g++.dg/template/inherit6.C: New test.
      
      From-SVN: r170240
      Dodji Seketeli committed
    • re PR libfortran/47567 (Wrong output for small absolute values with F editing) · fc2c5998
      2011-02-16  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libgfortran/47567
      	* io/list_read.c (read_logical): Check for end of line before calling
      	eat_line. (read_integer): Likewise. (parse_real): Don't unget the
      	separator. Check for end of line before calling	eat_line.
      	(read_complex): Allow line-end before and after parenthesis and comma.
      	Check for end of line before calling eat_line. (read_real): Check for
      	end of line before calling eat_line.
      
      From-SVN: r170239
      Jerry DeLisle committed
    • regex.h (basic_regex::traits_type): Add typedef. · 18b08cb9
      2011-02-17  Jonathan Wakely  <jwakely.gcc@gmail.com>
      
      	* include/bits/regex.h (basic_regex::traits_type): Add typedef.
      	(basic_regex::basic_regex(basic_regex&&)): Add noexcept.
      	(basic_regex::operator=(basic_regex&&)): Likewise.
      	(basic_regex::assign(basic_regex&&)): Likewise.
      	(operator==(sub_match,...)): Implement DR 1181.
      	(match_results::match_results(match_results&&)): Define.
      	(match_results::operator=(const match_results&)): Fix parameter type.
      	(match_results::operator=(match_results&&)): Define.
      
      From-SVN: r170238
      Jonathan Wakely committed
    • mips.opt (mno-mdmx): Use Var(TARGET_MDMX, 0) instead of InverseVar(MDMX). · 70be5dc7
      	* config/mips/mips.opt (mno-mdmx): Use Var(TARGET_MDMX, 0) instead
      	of InverseVar(MDMX).
      
      From-SVN: r170237
      Joseph Myers committed
    • re PR libstdc++/47724 ([C++0x] Regex string anchors cause segfault) · 948ef710
      2011-02-17  Jonathan Wakely  <jwakely.gcc@gmail.com>
      
      	PR libstdc++/47724
      	* include/bits/regex_compiler.h (_Scanner::_M_advance): Do not treat
      	line anchors as metacharacters.
      	* testsuite/28_regex/basic_regex/ctors/47724.cc: New.
      
      From-SVN: r170236
      Jonathan Wakely committed
    • re PR libstdc++/47773 (Versatile string lacks a default hash function) · bde8d7f7
      2011-02-16  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR libstdc++/47773
      	* include/ext/vstring.h (hash<__gnu_cxx::__vstring>,
      	hash<__gnu_cxx::__wvstring>, hash<__gnu_cxx::__u16vstring>,
      	hash<__gnu_cxx::__u32vstring>): Add.
      	* testsuite/ext/vstring/hash/char/1.cc: New.
      	* testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
      
      From-SVN: r170235
      Paolo Carlini committed
    • Daily bump. · a3daf817
      From-SVN: r170234
      GCC Administrator committed
    • embed-elf.h (LIBGCC_SPEC): Match -m4-340 instead of --m4-340. · 30b1646e
      	* config/sh/embed-elf.h (LIBGCC_SPEC): Match -m4-340 instead of
      	--m4-340.
      
      From-SVN: r170230
      Joseph Myers committed
  2. 16 Feb, 2011 16 commits
  3. 15 Feb, 2011 7 commits