aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-02-18Daily bump.GCC Administrator1-1/+1
From-SVN: r170265
2011-02-18cpp.texi (Obsolete Features): Add background on the origin of assertions.Gerald Pfeifer2-3/+9
* doc/cpp.texi (Obsolete Features): Add background on the origin of assertions. From-SVN: r170261
2011-02-18Added support for the 64-bit Apple Objective-C runtimeIain Sandoe70-4765/+12197
From-SVN: r170260
2011-02-17common.opt (optimize_fast): New Variable.Joseph Myers3-7/+17
* common.opt (optimize_fast): New Variable. * opts.c (default_options_optimization): Use opts->x_optimize_fast instead of local variable ofast. From-SVN: r170259
2011-02-17Added -fobjc-abi-version=N and -fobjc-nilcheck flags, and documented themNicola Pero4-2/+45
From-SVN: r170257
2011-02-17re PR c++/47783 (Warning 'set but not used' [-Wunused-but-set-parameter] ↵Jakub Jelinek4-0/+35
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
2011-02-17libquadmath.texi (FLT128_DIG, [...]): Document.Jakub Jelinek43-4319/+1919
* 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
2011-02-17re PR driver/47390 (Linking with -export-dynamic broken)Joseph Myers3-0/+14
PR driver/47390 * common.opt (export-dynamic): New Driver option. * gcc.c (LINK_COMMAND_SPEC): Add comment about %{e*}. From-SVN: r170253
2011-02-17* config/rx/rx.h (LIB_SPEC): Match -msim not -msim*.Joseph Myers2-2/+6
From-SVN: r170252
2011-02-17re PR debug/47106 (-fcompare-debug failure (length) with -fpartial-inlining ↵Alexandre Oliva9-68/+109
-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
2011-02-17sparc.h (CPP_ENDIAN_SPEC): Don't handle -mlittle-endian-data.Joseph Myers2-3/+7
* config/sparc/sparc.h (CPP_ENDIAN_SPEC): Don't handle -mlittle-endian-data. From-SVN: r170247
2011-02-17linux64.h (OPTION_DEFAULT_SPECS): Match -mfpu and -mno-fpu, not -fpu and ↵Joseph Myers4-5/+12
-no-fpu. * 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
2011-02-17re PR libstdc++/47776 (New libstc++ test failures)Paolo Carlini3-18/+22
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
2011-02-17re PR target/43653 (ICE at reload1.c:1188 with -O1 -ftree-vectorize and ↵Uros Bizjak4-16/+78
empty struct) 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
2011-02-17re PR c++/47172 ([C++0x] cannot call member function without object)Dodji Seketeli5-3/+52
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
2011-02-17re PR libfortran/47567 (Wrong output for small absolute values with F editing)Jerry DeLisle2-11/+36
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
2011-02-17regex.h (basic_regex::traits_type): Add typedef.Jonathan Wakely2-44/+85
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
2011-02-17mips.opt (mno-mdmx): Use Var(TARGET_MDMX, 0) instead of InverseVar(MDMX).Joseph Myers2-1/+6
* config/mips/mips.opt (mno-mdmx): Use Var(TARGET_MDMX, 0) instead of InverseVar(MDMX). From-SVN: r170237
2011-02-17re PR libstdc++/47724 ([C++0x] Regex string anchors cause segfault)Jonathan Wakely3-0/+45
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
2011-02-17re PR libstdc++/47773 (Versatile string lacks a default hash function)Paolo Carlini4-0/+179
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
2011-02-17Daily bump.GCC Administrator1-1/+1
From-SVN: r170234
2011-02-17embed-elf.h (LIBGCC_SPEC): Match -m4-340 instead of --m4-340.Joseph Myers2-2/+7
* config/sh/embed-elf.h (LIBGCC_SPEC): Match -m4-340 instead of --m4-340. From-SVN: r170230
2011-02-16* config/mn10300/mn10300.opt (mno-crt0): New.Joseph Myers2-0/+8
From-SVN: r170228
2011-02-16* config/m68k/uclinux.opt (static-libc): New Driver option.Joseph Myers2-0/+7
From-SVN: r170227
2011-02-16* config/m32c/m32c.h (LIB_SPEC): Match -msim not -msim*.Joseph Myers2-8/+12
From-SVN: r170226
2011-02-16regex.h (match_results::format): Use char_traits.Jonathan Wakely2-1/+6
2011-02-16 Jonathan Wakely <jwakely.gcc@gmail.com> * include/bits/regex.h (match_results::format): Use char_traits. From-SVN: r170225
2011-02-16lm32.h (ASM_SPEC): Use %{muser-enabled} instead of %{muser-extend-enabled}.Joseph Myers2-2/+7
* config/lm32/lm32.h (ASM_SPEC): Use %{muser-enabled} instead of %{muser-extend-enabled}. From-SVN: r170224
2011-02-16re PR fortran/47745 ([OOP] Segfault with CLASS(*) and derived type dummy ↵Janus Weil8-13/+60
arguments) 2011-02-16 Janus Weil <janus@gcc.gnu.org> PR fortran/47745 * class.c (gfc_build_class_symbol): Set 'class_ok' attribute. * decl.c (build_sym,attr_decl1): Move setting of 'class_ok' into 'gfc_build_class_symbol'. (gfc_match_decl_type_spec): Reject unlimited polymorphism. * interface.c (matching_typebound_op): Check for 'class_ok' attribute. * match.c (select_type_set_tmp): Move setting of 'class_ok' into 'gfc_build_class_symbol'. * primary.c (gfc_variable_attr): Check for 'class_ok' attribute. 2011-02-16 Janus Weil <janus@gcc.gnu.org> PR fortran/47745 * gfortran.dg/class_39.f03: New. From-SVN: r170223
2011-02-16re PR c++/47326 ([C++0x] ICE in tsubst_copy (triggered by dependency of ↵Dodji Seketeli4-3/+43
return type on parameter pack size)) PR c++/47326 gcc/cp/ PR c++/47326 * pt.c (tsubst_copy)<case SIZEOF_EXPR>: Ensure that even pack expansion arguments are not evaluated. gcc/testsuite/ PR c++/47326 * g++.dg/cpp0x/variadic106.C: New test. From-SVN: r170222
2011-02-16atomic: Remove atomic_address, uplift to N3225.Benjamin Kosnik15-1465/+769
2011-02-16 Benjamin Kosnik <bkoz@redhat.com> * include/std/atomic: Remove atomic_address, uplift to N3225. * include/bits/atomic_0.h: Same. * include/bits/atomic_2.h: Same. * include/bits/atomic_base.h: Same. * testsuite/29_atomics/atomic_address/*: Delete. From-SVN: r170217
2011-02-16re PR libgomp/47758 (729 unexpected failures in the libgomp test suite on ↵Tobias Burnus2-4/+7
powerpc-apple-darwin8) 2011-02-16 Tobias Burnus <burnus@net-b.de> PR libgomp/47758 * testsuite/libgomp.fortran/fortran.exp: Check for the existence of libquadmath.a before adding its libpath to ldflags. From-SVN: r170216
2011-02-16re PR libfortran/47757 (Unintentionally? not exported _gfortran_* symbols in ↵Jakub Jelinek6-0/+113
libgfortran.so.3) PR libfortran/47757 * gfortran.map (GFORTRAN_1.4): Export _gfortran_{m,s}i{all,any,parity}_i{1,2,4,8,16} and _gfortran_{cshift0,eoshift{0,2}}_16_char4. * gfortran.dg/pr47757-1.f90: New test. * gfortran.dg/pr47757-2.f90: New test. * gfortran.dg/pr47757-3.f90: New test. From-SVN: r170215
2011-02-16re PR tree-optimization/47738 (ICE: verify_ssa failed: no immediate_use list ↵Richard Guenther2-2/+7
with -O3 -fno-tree-vectorize) 2011-02-12 Richard Guenther <rguenther@suse.de> PR tree-optimization/47738 * tree-ssa-loop.c (run_tree_predictive_commoning): Return the TODO from tree_predictive_commoning. From-SVN: r170212
2011-02-16quadmath-printf.c: Also check __GLIBC__ when checking whether workarounds ↵Jakub Jelinek8-49/+260
for printf hook handling... * printf/quadmath-printf.c: Also check __GLIBC__ when checking whether workarounds for printf hook handling should be added. * configure.ac: Check for locale.h too. (USE_LOCALE_SUPPORT): Remove check. (USE_NL_LANGINFO, USE_NL_LANGINFO_WC, USE_LOCALECONV): New checks. (USE_I18_NUMBER_H): Check also for _NL_CTYPE_MB_CUR_MAX. * printf/printf_fphex.c (__quadmath_printf_fphex): Use nl_langinfo or localeconv for narrow version and nl_langinfo if USE_NL_LANGINFO_WC for wide version. * printf/quadmath-printf.h: Include locale.h if HAVE_LOCALE_H. * printf/printf_fp.c (USE_I18N_NUMBER_H): Don't define to 0. (__quadmath_printf_fp): Use nl_langinfo or localeconv for narrow version and nl_langinfo if USE_NL_LANGINFO_WC for wide version. Guard nl_langinfo (_NL_CTYPE_MB_CUR_MAX) use with USE_I18N_NUMBER_H #ifdef. * configure: Regenerated. * config.h.in: Regenerated. From-SVN: r170211
2011-02-16* MAINTAINERS: Add myself as testsuite maintainer.Rainer Orth2-0/+5
From-SVN: r170210
2011-02-16re PR c++/47704 ([C++0x] Java-related error message when trying to ↵Jakub Jelinek5-2/+28
instantiate a strongly typed enum with new) PR c++/47704 * cp-tree.h (ENUM_FIXED_UNDERLYING_TYPE_P): Use TYPE_LANG_FLAG_5 instead of TYPE_LANG_FLAG_3. * pt.c (lookup_template_class): Copy over ENUM_FIXED_UNDERLYING_TYPE_P. * g++.dg/cpp0x/enum8.C: New test. From-SVN: r170209
2011-02-15re PR c++/46807 (internal compiler error: in synthesized_method_walk)Jason Merrill5-11/+61
PR c++/46807 * method.c (synthesized_method_walk): Always exit early for trivial fn in C++98 mode. From-SVN: r170207
2011-02-16Daily bump.GCC Administrator1-1/+1
From-SVN: r170206
2011-02-15* MAINTAINERS: Add myself as testsuite maintainer.Mike Stump2-0/+5
From-SVN: r170202
2011-02-15Don't crash on erroneous thunk call.Ian Lance Taylor1-7/+24
From-SVN: r170201
2011-02-15re PR libfortran/47716 (libgfortran quadmath_weak.h not found on NetBSD 5.1)Tobias Burnus3-34/+108
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
2011-02-15RevertJeff Law2-17/+14
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
2011-02-15Don't crash on interface loop with forwarding types.Ian Lance Taylor1-2/+3
From-SVN: r170198
2011-02-15Revert cant_combine_insn_p change.H.J. Lu4-22/+10
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
2011-02-15Don't crash on defer of type conversion.Ian Lance Taylor1-5/+3
From-SVN: r170196
2011-02-15re PR fortran/47633 (Result of COMPILER_VERSION() has NULL byte appended)Steven G. Kargl2-3/+8
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
2011-02-15Don't crash lowering self-referential variable initializer.Ian Lance Taylor1-1/+17
From-SVN: r170194
2011-02-15Don't let array indexes be untyped.Ian Lance Taylor1-3/+2
From-SVN: r170193
2011-02-15Don't crash defining function in different package.Ian Lance Taylor1-2/+3
From-SVN: r170192
2011-02-15Fix PR 47755Michael Meissner4-5/+31
From-SVN: r170189