- 26 Nov, 2012 13 commits
-
-
From-SVN: r193820
Marek Polacek committed -
* tree.h (DECL_RESTRICTED_P): Delete. (DECL_READ_P): Add comment. (DECL_NONSHAREABLE): Likewise. (TYPE_NO_FORCE_BLK): Fix comment. (struct tree_decl_common): Remove decl_restricted_flag, add decl_flag_3. * tree-emutls.c (new_emutls_decl): Do not deal with DECL_RESTRICTED_P. * tree-streamer-in.c (unpack_ts_decl_common_value_fields): Likewise. * tree-streamer-out.c (pack_ts_decl_common_value_fields): Likewise. fortran/ * trans-decl.c (gfc_finish_var_decl): Do not set DECL_RESTRICTED_P. * alias.c (nonoverlapping_component_refs_p): Fix thinko. From-SVN: r193815
Eric Botcazou committed -
gcc/ 2012-11-26 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * doc/sourcebuild.texi: Document arm_v8_vfp_ok. gcc/testsuite/ 2012-11-26 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * lib/target-supports.exp (check_effective_target_arm_v8_vfp_ok): New procedure. (add_options_for_arm_v8_vfp): New procedure. * gcc.target/arm/vrintaf32.c: New test. * gcc.target/arm/vrintaf64.c: Likewise. * gcc.target/arm/vrintmf32.c: Likewise. * gcc.target/arm/vrintmf64.c: Likewise. * gcc.target/arm/vrintpf32.c: Likewise. * gcc.target/arm/vrintpf64.c: Likewise. * gcc.target/arm/vrintrf32.c: Likewise. * gcc.target/arm/vrintrf64.c: Likewise. * gcc.target/arm/vrintxf32.c: Likewise. * gcc.target/arm/vrintxf64.c: Likewise. * gcc.target/arm/vrintzf32.c: Likewise. * gcc.target/arm/vrintzf64.c: Likewise. From-SVN: r193814
Kyrylo Tkachov committed -
gcc/ 2012-11-26 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * config/arm/arm.h (TARGET_FPU_ARMV8): New macro. * config/arm/arm.md (UNSPEC_VRINTZ, UNSPEC_VRINTP, UNSPEC_VRINTM) (UNSPEC_VRINTR, UNSPEC_VRINTX, UNSPEC_VRINTA): New unspecs. (f_rints, f_rintd): New types. * config/arm/iterators.md (VRINT): New int iterator. (F_fma_type): Remove. (vfp_type): New mode attribute. (vfp_double_cond): Likewise. (vrint_pattern, vrint_variant, vrint_predicable): New int attribute. * config/arm/vfp.md (fma<SDF:mode>4): Use vfp_type iterator instead of F_fma_type. (*fmsub<SDF:mode>4, *fnmsub<SDF:mode>4, *fnmadd<SDF:mode>4): Likewise. (<vrint_pattern><SDF:mode>2): New pattern. From-SVN: r193813
Kyrylo Tkachov committed -
* fold-const.c (const_binop): Adjust comment. (extract_muldiv_1): Likewise. (fold_comparison): Likewise. * stor-layout.c (place_field): Fix typo. * tree.c (double_int_fits_to_tree_p): Remove obsolete comment. (force_fit_type_double): Likewise. Fix long line. From-SVN: r193812
Eric Botcazou committed -
2012-11-26 Janus Weil <janus@gcc.gnu.org> PR fortran/54997 * decl.c (match_procedure_decl): Don't set 'referenced' attribute for PROCEDURE declarations. * parse.c (gfc_fixup_sibling_symbols,parse_contained): Don't set 'referenced' attribute for all contained procedures. * trans-decl.c (gfc_get_symbol_decl): Allow for unreferenced procedures. (build_function_decl): Set TREE_USED for referenced procedures. 2012-11-26 Janus Weil <janus@gcc.gnu.org> PR fortran/54997 * gfortran.dg/warn_unused_function_2.f90: New. From-SVN: r193811
Janus Weil committed -
2012-11-26 Greta Yorsh <Greta.Yorsh@arm.com> * config/arm/arm.h (TARGET_LDRD): Reject Thumb1 targets. From-SVN: r193810
Greta Yorsh committed -
2012-11-26 Janus Weil <janus@gcc.gnu.org> PR fortran/54881 * match.c (select_derived_set_tmp,select_class_set_tmp): Removed and unified into ... (select_type_set_tmp): ... this one. Set POINTER argument according to selector. * trans-intrinsic.c (gfc_conv_associated): Use 'gfc_class_data_get' instead of 'gfc_add_data_component'. 2012-11-26 Janus Weil <janus@gcc.gnu.org> PR fortran/54881 * gfortran.dg/associated_6.f90: New. * gfortran.dg/select_type_30.f03: New. From-SVN: r193809
Janus Weil committed -
2012-11-26 Matthias Klose <doko@ubuntu.com> * config/rs6000/t-linux (MULTIARCH_DIRNAME): Fix unbalanced parentheses. From-SVN: r193807
Matthias Klose committed -
PR tree-optimization/54471 * tree-vrp.c (extract_range_from_binary_expr_1): For MULT_EXPR, don't canonicalize range if min2 is zero. * gcc.dg/tree-ssa/vrp86.c: New test. * gcc.c-torture/execute/pr54471.c: New test. From-SVN: r193806
Jakub Jelinek committed -
PR middle-end/55030 * gcc.dg/guality/pr36728-1.c, gcc.dg/guality/pr36728-2.c (foo): Don't use volatile asms, use plain asms. Where the output value for the asm is unused, write a global variable. From-SVN: r193803
Hans-Peter Nilsson committed -
PR middle-end/55030 * builtins.c (expand_builtin_setjmp_receiver): Update comment regarding purpose of blockage. * emit-rtl.c [!HAVE_blockage] (gen_blockage): Similarly for the head comment. * rtlanal.c (volatile_insn_p): Ditto. * doc/md.texi (blockage): Update similarly. Change wording to require one of two forms, rather than implying a wider choice. * cse.c (cse_insn): Where checking for blocking insns, use volatile_insn_p instead of manual check for volatile ASM. * dse.c (scan_insn): Ditto. * cselib.c (cselib_process_insn): Ditto. From-SVN: r193802
Hans-Peter Nilsson committed -
From-SVN: r193801
GCC Administrator committed
-
- 25 Nov, 2012 7 commits
-
-
* gcc.target/i386/sw-1.c (dg-options): Add -mtune=generic. From-SVN: r193798
Uros Bizjak committed -
* config/i386/sse.md (<sse>_loadu<ssemodesuffix><avxsizesuffix>): Do not depend on TARGET_SSE_TYPELESS_STORES. (<sse2>_loaddqu<avxsizesuffix>): Ditto. (<sse>_storeu<ssemodesuffix><avxsizesuffix>): Fix handling of TARGET_SSE_TYPELESS_STORES. (<sse2>_storedqu<avxsizesuffix>): Ditto. From-SVN: r193797
Uros Bizjak committed -
2012-11-25 Tobias Burnus <burnus@net-b.de> PR libquadmath/55462 * strtod/strtod_l.c (round_and_return): Use HAVE_FENV_H instead of nonexisting HAVE_GET_ROUNDING_MODE. From-SVN: r193796
Tobias Burnus committed -
2012-11-25 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/30146 * frontend-passes.c (doloop_warn): New function. (doloop_list): New static variable. (doloop_size): New static variable. (doloop_level): New static variable. (gfc_run_passes): Call doloop_warn. (doloop_code): New function. (doloop_function): New function. (gfc_code_walker): Keep track of DO level. 2012-11-25 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/30146 * gfortran.dg/do_check_6.f90: New test. From-SVN: r193793
Thomas Koenig committed -
From-SVN: r193791
Ian Lance Taylor committed -
From-SVN: r193790
GCC Administrator committed -
gcc/ * doc/tm.texi.in (DELAY_SLOTS_FOR_EPILOGUE): Remove documentation. (ELIGIBLE_FOR_EPILOGUE_DELAY): Likewise. * doc/tm.texi: Regenerate. * reorg.c (fill_simple_delay_slots): Remove code conditional on DELAY_SLOTS_FOR_EPILOGUE being defined. (make_return_insns, dbr_schedule): Likewise. * system.h (DELAY_SLOTS_FOR_EPILOGUE): Poison. (ELIGIBLE_FOR_EPILOGUE_DELAY): Likewise. From-SVN: r193787
Steven Bosscher committed
-
- 24 Nov, 2012 9 commits
-
-
/cp 2012-11-24 Paolo Carlini <paolo.carlini@oracle.com> PR c++/55446 * init.c (build_vec_init): Do not early return error_mark_mode when integer_all_onesp (maxindex). /testsuite 2012-11-24 Paolo Carlini <paolo.carlini@oracle.com> PR c++/55446 * g++.dg/init/new41.C: New. From-SVN: r193785
Paolo Carlini committed -
From-SVN: r193783
Ian Lance Taylor committed -
From-SVN: r193781
Jack Howarth committed -
2012-11-24 Matthias Klose <doko@ubuntu.com> * gcc/config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Use x86_64-linux-gnux32 as multiarch name for x32. From-SVN: r193779
Matthias Klose committed -
2012-11-24 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/55314 * resolve.c (resolve_allocate_deallocate): Compare all subscripts when deciding if to reject a (de)allocate statement. 2012-11-24 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/55314 * gfortran.dg/allocate_error_4.f90: New test. From-SVN: r193778
Thomas Koenig committed -
* lib/gcc-gdb-test.exp (gdb-test): Pass -- as first argument to send_log. From-SVN: r193777
Hans-Peter Nilsson committed -
2012-11-24 Matthias Klose <doko@ubuntu.com> * configure.ac (multiarch): Use $enableval instead of $withval. * configure: Regenerate. * config/i386/t-kfreebsd (MULTILIB_OSDIRNAMES): Filter out x32. From-SVN: r193776
Matthias Klose committed -
PR bootstrap/55455 * quadmath-rounding-mode.h (get_rounding_mode): Don't pass void to fegetround. From-SVN: r193775
H.J. Lu committed -
From-SVN: r193774
GCC Administrator committed
-
- 23 Nov, 2012 11 commits
-
-
From-SVN: r193771
H.J. Lu committed -
2012-11-23 Tobias Burnus <burnus@net-b.de> Joseph Myers <joseph@codesourcery.com> * quadmath-rounding-mode.h: New. * printf/fpioconst.c: Update from GLIBC. Fix strtod rounding. * printf/fpioconst.h: Ditto. * printf/printf_fp.c (__quadmath_printf_fp): Update from GLIBC. Make printf respect the rounding mode for decimal output. * printf/printf_fphex.c (__quadmath_printf_fphex): Update from GLIBC. Make printf respect the rounding mode for hex output. * strtod/strtod_l.c: Update from GLIBC. Make strtod respect the rounding mode. Fix strtod handling of underflow. Co-Authored-By: Joseph Myers <joseph@codesourcery.com> From-SVN: r193770
Tobias Burnus committed -
PR libstdc++/52680 * acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Check for usleep and sleep if nanosleep is not available. Bump libtool revision. * config.h.in: Regenerate. * configure: Likewise. * config/abi/pre/gnu.ver (GLIBCXX_3.4.18): Add __sleep_for. * include/std/thread (this_thread::__sleep_for): Add. (this_thread::yield, this_thread::sleep_until, this_thread::sleep_for): Declare unconditionally. * src/c++11/thread.cc (this_thread::__sleep_for): Define. * testsuite/lib/libstdc++.exp (check_v3_target_nanosleep): Rename to check_v3_target_sleep. * testsuite/lib/dg-options.exp (dg-require-nanosleep): Rename to dg-require-sleep. * testsuite/30_threads/condition_variable_any/53830.cc: Update. * testsuite/30_threads/this_thread/2.cc: Likewise. * testsuite/30_threads/this_thread/3.cc: Likewise. * testsuite/30_threads/this_thread/4.cc: Likewise. * testsuite/30_threads/async/54297.cc: Likewise. From-SVN: r193769
Jonathan Wakely committed -
PR sanitizer/55450 * tsan/Makefile.am (gcc_version): New. * tsan/Makefile.in: Regenerated. From-SVN: r193767
H.J. Lu committed -
2012-11-23 Tobias Burnus <burnus@net-b.de> * doc/invoke.texi (-fsanitize=address): Remove obsolete remark. From-SVN: r193764
Tobias Burnus committed -
* lib/asan-dg.exp (asan_symbolize): Remove all "BFD: " prefixed lines from the output. From-SVN: r193763
Jakub Jelinek committed -
re PR c++/54046 (wrong control reaches end of non-void function for switch case with throw and default) PR c++/54046 * Makefile.in (gimple-low.o): Depend on langhooks.h. * gimple-low.c: Include langhooks.c. (block_may_fallthru): Handle TARGET_EXPR and ERROR_MARK, by default call lang_hooks.block_may_fallthru. * langhooks.h (struct lang_hooks): Add block_may_fallthru langhook. * langhooks-def.h (LANG_HOOKS_BLOCK_MAY_FALLTHRU): Define. (LANG_HOOKS_INITIALIZER): Use it. * cp-objcp-common.h (LANG_HOOKS_BLOCK_MAY_FALLTHRU): Redefine. * cp-objcp-common.c (cxx_block_may_fallthru): New function. * cp-tree.h (cxx_block_may_fallthru): New prototype. * g++.dg/warn/Wreturn-type-8.C: New test. From-SVN: r193762
Jakub Jelinek committed -
* i386-c.c (ix86_target_macros_internal): Update handling of core chips. * i386.c (DUMMY_STRINGOP_ALGS): Update (*_cost): Update. (core_cost): Copy from generic64_cost; fix stringop descriptors. (m_CORE2_32, m_CORE2_64, m_COREI7_32, m_COREI7_64, m_CORE2I7_32, m_CORE2I7_64): Remove. (m_CORE2, m_COREI7, m_CORE2I7): Update. (initial_ix86_tune_features): Update. (processor_target): Update. (ix86_option_override_internal): Update. (ix86_option_override_internal): Remove PROCESSOR_CORE2_64, PROCESSOR_COREI7_64 special cases. (decide_alg): Add noalign parameter; set it. (ix86_expand_movmem, ix86_expand_setmem): Update noalign handling. (ix86_issue_rate): Update. (ia32_multipass_dfa_lookahead): Update. (ix86_sched_init_global): Update. (get_builtin_code_for_version): Update. * i386.h (stringop_strategy): Add noalign flag. (TARGET_CORE2_32, TARGET_CORE2_64, TARGET_COREI7_32, TARGET_COREI7_64): Remove. (TARGET_CORE2, TARGET_COREI7): New. (enum processor_type): Remove PROCESSOR_CORE2_32, PROCESSOR_CORE2_64, PROCESSOR_COREI7_32, PROCESSOR_COREI7_64; add PROCESSOR_CORE2, PROCESSOR_COREI7. From-SVN: r193761
Jan Hubicka committed -
PR rtl-optimization/55388 * alias.c (nonoverlapping_component_refs_p): Handle bitfields. * emit-rtl.c (adjust_address_1): Deal with VOIDmode early. * expmed.c (store_bit_field): Turn the call to adjust_address into a call to adjust_bitfield_address_size. From-SVN: r193760
Eric Botcazou committed -
2012-11-23 Vladimir Makarov <vmakarov@redhat.com> * lra.c (lra): Move init_reg_info and expand_reg_info calls before init_insn_recog_data. From-SVN: r193759
Vladimir Makarov committed -
re PR c++/55418 (Valgrind: Conditional jump or move depends on uninitialised value(s) in implicitly_declare_fn() method.c:1623) 2012-11-23 Markus Trippelsdorf <markus@trippelsdorf.de> PR c++/55418 * method.c (implicitly_declare_fn): Properly initialize trivial_p. From-SVN: r193758
Markus Trippelsdorf committed
-