- 16 Feb, 2011 15 commits
-
-
From-SVN: r170227
Joseph Myers committed -
From-SVN: r170226
Joseph Myers committed -
2011-02-16 Jonathan Wakely <jwakely.gcc@gmail.com> * include/bits/regex.h (match_results::format): Use char_traits. From-SVN: r170225
Jonathan Wakely committed -
* config/lm32/lm32.h (ASM_SPEC): Use %{muser-enabled} instead of %{muser-extend-enabled}. From-SVN: r170224
Joseph Myers committed -
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
Janus Weil committed -
re PR c++/47326 ([C++0x] ICE in tsubst_copy (triggered by dependency of 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
Dodji Seketeli committed -
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
Benjamin Kosnik committed -
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
Tobias Burnus committed -
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
Jakub Jelinek committed -
re PR tree-optimization/47738 (ICE: verify_ssa failed: no immediate_use list 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
Richard Guenther committed -
quadmath-printf.c: Also check __GLIBC__ when checking whether workarounds 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
Jakub Jelinek committed -
From-SVN: r170210
Rainer Orth committed -
re PR c++/47704 ([C++0x] Java-related error message when trying to 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
Jakub Jelinek committed -
PR c++/46807 * method.c (synthesized_method_walk): Always exit early for trivial fn in C++98 mode. From-SVN: r170207
Jason Merrill committed -
From-SVN: r170206
GCC Administrator committed
-
- 15 Feb, 2011 25 commits
-
-
From-SVN: r170202
Mike Stump committed -
From-SVN: r170201
Ian Lance Taylor committed -
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
Tobias Burnus committed -
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
Jeff Law committed -
From-SVN: r170198
Ian Lance Taylor committed -
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
H.J. Lu committed -
From-SVN: r170196
Ian Lance Taylor committed -
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
Steven G. Kargl committed -
From-SVN: r170194
Ian Lance Taylor committed -
From-SVN: r170193
Ian Lance Taylor committed -
From-SVN: r170192
Ian Lance Taylor committed -
From-SVN: r170189
Michael Meissner committed -
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
Alexandre Oliva committed -
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
Alexandre Oliva committed -
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
Alexandre Oliva committed -
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
Alexandre Oliva committed -
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
Nathan Froyd committed -
* 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
Nick Clifton committed -
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
H.J. Lu committed -
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
Richard Guenther committed -
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
Nathan Froyd committed -
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
Nathan Froyd committed -
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
Jakub Jelinek committed -
From-SVN: r170169
Rainer Orth committed -
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
Rainer Orth committed
-