gccadmin [Tue, 27 Nov 2012 00:18:34 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193836
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Tue, 27 Nov 2012 00:17:25 +0000 (00:17 +0000)]
* loop-invariant.c (check_invariant_table_size): Take sizeof of
the right type.
* reorg.c (resource_conflicts_p): Use hard_reg_set_intersect_p.
(rare_destination): Remove.
(mostly_true_jump): Simplify. Base result on REG_BR_PROP notes if
available, otherwise assume branches are not taken.
(fill_eager_delay_slots): Update mostly_true_jump call.
(relax_delay_slots): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193834
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Mon, 26 Nov 2012 23:53:36 +0000 (23:53 +0000)]
* include/std/functional (__is_socketlike): Change from class
template to alias template.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193832
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Mon, 26 Nov 2012 23:53:29 +0000 (23:53 +0000)]
PR libstdc++/55463
* include/std/functional (_Mem_fn): Handle rvalue objects. Add
noexcept-specifications.
* testsuite/20_util/function_objects/mem_fn/55463.cc: New.
* testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line numbers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193831
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Mon, 26 Nov 2012 22:58:41 +0000 (22:58 +0000)]
* gcc.dg/
20050811-2.c: Change -dv option to -graph option.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193830
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Mon, 26 Nov 2012 21:58:09 +0000 (21:58 +0000)]
* reorg.c (redundant_insn): Do not handle DEBUG_INSNs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193829
138bc75d-0d04-0410-961f-
82ee72b054a4
gjl [Mon, 26 Nov 2012 18:47:23 +0000 (18:47 +0000)]
* gcc.dg/54455.c: Require scheduling.
* gcc.dg/c1x-align-4.c: Skip avr.
* gcc.dg/pr44024.c: Skip avr in final scan.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193827
138bc75d-0d04-0410-961f-
82ee72b054a4
gjl [Mon, 26 Nov 2012 18:46:12 +0000 (18:46 +0000)]
PR testsuite/52641
* gcc.c-torture/execute/
20120919-1.x: New file (int32plus).
* gcc.dg/pr54676.c: Make work for 16-bit int.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193826
138bc75d-0d04-0410-961f-
82ee72b054a4
vmakarov [Mon, 26 Nov 2012 18:08:44 +0000 (18:08 +0000)]
2012-11-26 Vladimir Makarov <vmakarov@redhat.com>
PR target/55277
* gcc.target/i386/pr55227.c: New test.
2012-11-26 Vladimir Makarov <vmakarov@redhat.com>
PR target/55277
* lra-constraints.c (in_class_p): Check reg class contents too.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193824
138bc75d-0d04-0410-961f-
82ee72b054a4
jgreenhalgh [Mon, 26 Nov 2012 17:48:13 +0000 (17:48 +0000)]
gcc/
* config/aarch64/aarch64-builtins.c (aarch64_builtin_decls): New.
(aarch64_init_simd_builtins): Store declaration after builtin
initialisation.
(aarch64_builtin_decl): New.
* config/aarch64/aarch64-protos.h (aarch64_builtin_decl): New.
* config/aarch64/aarch64.c (TARGET_BUILTIN_DECL): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193823
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Mon, 26 Nov 2012 16:47:58 +0000 (16:47 +0000)]
gcc/
* doc/invoke.texi: Remove -dv documentation. Fix up graph dump related
documentation. Document the '-graph' dump option. Complete the '-slim'
dump option documentation.
* common.opt (Variable graph_dump_format): Remove.
* flag-types.h (enum graph_dump_types): Remove.
* flags.h (dump_for_graph): Remove.
* opts.c (decode_d_option): Remove -dv handling.
* sched-int.h (print_insn, print_pattern, print_value): Move prototypes
from here ...
* rtl.h: ...to here. Add note that these functions ought to be in
another file.
* sched-vis.c (print_insn): Add detailed dump for insn notes.
* print-rtl.c (dump_for_graph): Remove.
(print_rtx): Remove dump_for_graph related code.
* graph.c: Almost complete re-write to dump DOT (GraphViz) dumps
instead of VCG dumps.
* graph.h (print_rtl_graph_with_bb): Update prototype.
* passes.c (finish_optimization_passes): Fix profile dump finishing.
Unconditionally loop over graph dumps to finalize.
(execute_function_dump): Split code to dump graphs to separate block.
(execute_one_pass): Don't set TDF_GRAPH here, let the dump option
decoders do their job.
* ddg.c (vcg_print_ddg): Make it a DEBUG_FUNCTION.
* toplev.c: Don't include graph.h.
* tree-optimize.c: Don't include graph.h.
testsuite/
* testsuite/gcc.dg/
20050811-1.c: Change -dv option to -graph option
to -fdump-rtl-all.
* testsuite/gcc.dg/pr37858.c: Remove -dv option.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193821
138bc75d-0d04-0410-961f-
82ee72b054a4
mpolacek [Mon, 26 Nov 2012 16:38:32 +0000 (16:38 +0000)]
Remove redundant variable in hash_set.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193820
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Mon, 26 Nov 2012 13:56:23 +0000 (13:56 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193815
138bc75d-0d04-0410-961f-
82ee72b054a4
gretay [Mon, 26 Nov 2012 12:37:55 +0000 (12:37 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193814
138bc75d-0d04-0410-961f-
82ee72b054a4
gretay [Mon, 26 Nov 2012 12:33:02 +0000 (12:33 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193813
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Mon, 26 Nov 2012 12:01:07 +0000 (12:01 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193812
138bc75d-0d04-0410-961f-
82ee72b054a4
janus [Mon, 26 Nov 2012 11:16:31 +0000 (11:16 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193811
138bc75d-0d04-0410-961f-
82ee72b054a4
gretay [Mon, 26 Nov 2012 10:38:23 +0000 (10:38 +0000)]
2012-11-26 Greta Yorsh <Greta.Yorsh@arm.com>
* config/arm/arm.h (TARGET_LDRD): Reject Thumb1 targets.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193810
138bc75d-0d04-0410-961f-
82ee72b054a4
janus [Mon, 26 Nov 2012 10:30:12 +0000 (10:30 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193809
138bc75d-0d04-0410-961f-
82ee72b054a4
doko [Mon, 26 Nov 2012 09:41:45 +0000 (09:41 +0000)]
2012-11-26 Matthias Klose <doko@ubuntu.com>
* config/rs6000/t-linux (MULTIARCH_DIRNAME): Fix unbalanced
parentheses.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193807
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 26 Nov 2012 09:19:30 +0000 (09:19 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193806
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Mon, 26 Nov 2012 03:25:57 +0000 (03:25 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193803
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Mon, 26 Nov 2012 03:22:15 +0000 (03:22 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193802
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 26 Nov 2012 00:18:38 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193801
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Sun, 25 Nov 2012 22:04:02 +0000 (22:04 +0000)]
* gcc.target/i386/sw-1.c (dg-options): Add -mtune=generic.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193798
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Sun, 25 Nov 2012 20:36:38 +0000 (20:36 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193797
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Sun, 25 Nov 2012 19:59:07 +0000 (19:59 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193796
138bc75d-0d04-0410-961f-
82ee72b054a4
tkoenig [Sun, 25 Nov 2012 17:24:09 +0000 (17:24 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193793
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Sun, 25 Nov 2012 00:55:35 +0000 (00:55 +0000)]
compiler: Don't use memcmp for equality if struct has trailing padding.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193791
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 25 Nov 2012 00:18:12 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193790
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Sun, 25 Nov 2012 00:05:33 +0000 (00:05 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193787
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sat, 24 Nov 2012 23:45:45 +0000 (23:45 +0000)]
/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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193785
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Sat, 24 Nov 2012 20:46:59 +0000 (20:46 +0000)]
syscall: Fix handling of Unix domain @ addresses.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193783
138bc75d-0d04-0410-961f-
82ee72b054a4
kcc [Sat, 24 Nov 2012 18:24:13 +0000 (18:24 +0000)]
[libsanitizer] add mach_override and enable libsanitizer on darwin
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193781
138bc75d-0d04-0410-961f-
82ee72b054a4
doko [Sat, 24 Nov 2012 17:01:07 +0000 (17:01 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193779
138bc75d-0d04-0410-961f-
82ee72b054a4
tkoenig [Sat, 24 Nov 2012 15:00:16 +0000 (15:00 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193778
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Sat, 24 Nov 2012 09:39:38 +0000 (09:39 +0000)]
* lib/gcc-gdb-test.exp (gdb-test): Pass -- as first argument
to send_log.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193777
138bc75d-0d04-0410-961f-
82ee72b054a4
doko [Sat, 24 Nov 2012 02:25:50 +0000 (02:25 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193776
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Sat, 24 Nov 2012 01:12:59 +0000 (01:12 +0000)]
Don't pass void to fegetround
PR bootstrap/55455
* quadmath-rounding-mode.h (get_rounding_mode): Don't pass
void to fegetround.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193775
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 24 Nov 2012 00:18:05 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193774
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Fri, 23 Nov 2012 23:37:45 +0000 (23:37 +0000)]
Add the missing file
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193771
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Fri, 23 Nov 2012 22:11:40 +0000 (22:11 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193770
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Fri, 23 Nov 2012 22:11:23 +0000 (22:11 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193769
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Fri, 23 Nov 2012 21:14:05 +0000 (21:14 +0000)]
Set gcc_version in tsan/Makefile.am
PR sanitizer/55450
* tsan/Makefile.am (gcc_version): New.
* tsan/Makefile.in: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193767
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Fri, 23 Nov 2012 17:14:56 +0000 (17:14 +0000)]
2012-11-23 Tobias Burnus <burnus@net-b.de>
* doc/invoke.texi (-fsanitize=address): Remove obsolete
remark.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193764
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 23 Nov 2012 16:05:03 +0000 (16:05 +0000)]
* lib/asan-dg.exp (asan_symbolize): Remove all "BFD: " prefixed lines
from the output.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193763
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 23 Nov 2012 16:04:03 +0000 (16:04 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193762
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Fri, 23 Nov 2012 16:02:09 +0000 (16:02 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193761
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Fri, 23 Nov 2012 16:00:26 +0000 (16:00 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193760
138bc75d-0d04-0410-961f-
82ee72b054a4
vmakarov [Fri, 23 Nov 2012 15:55:58 +0000 (15:55 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193759
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 23 Nov 2012 15:34:45 +0000 (15:34 +0000)]
2012-11-23 Markus Trippelsdorf <markus@trippelsdorf.de>
PR c++/55418
* method.c (implicitly_declare_fn): Properly initialize trivial_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193758
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 23 Nov 2012 15:12:58 +0000 (15:12 +0000)]
PR middle-end/55430
* gcc.dg/pr55430.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193757
138bc75d-0d04-0410-961f-
82ee72b054a4
kcc [Fri, 23 Nov 2012 14:46:25 +0000 (14:46 +0000)]
[libsanitizer] merge from upstream r168514
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193756
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 23 Nov 2012 14:28:19 +0000 (14:28 +0000)]
* tsan.c: Fix up comment formatting.
(instrument_gimple): Ignore gimple_clobber_p stmts.
(pass_tsan, pass_tsan_O0): Remove TODO_update_address_taken
from todo_flags_finish.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193755
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Fri, 23 Nov 2012 11:06:07 +0000 (11:06 +0000)]
* gcc-interface/trans.c (Attribute_to_gnu) <Attr_Length>: Look through
a view conversion from constrained to unconstrained form.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193751
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Fri, 23 Nov 2012 10:42:50 +0000 (10:42 +0000)]
* gcc-interface/decl.c (components_need_strict_alignment): New.
(components_to_record): Do not pack the variants if one of the fields
needs strict alignment. Likewise for the variant part as a whole.
Specify the position of the variants even if the size isn't specified,
but do not specify the size of the variant part in this case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193750
138bc75d-0d04-0410-961f-
82ee72b054a4
gjl [Fri, 23 Nov 2012 10:08:49 +0000 (10:08 +0000)]
PR testsuite/52641
* gcc.dg/unroll_5.c: Add dg-require-effective-target int32plus.
* gcc.dg/pr55150-1.c: Same.
* gcc.dg/torture/pr54894.c: Add size32plus.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193749
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 23 Nov 2012 09:02:28 +0000 (09:02 +0000)]
PR sanitizer/55435
* c-common.c (handle_no_address_safety_analysis_attribute): New
function.
(c_common_attribute_table): Add no_address_safety_analysis.
* asan.c (gate_asan): Don't instrument functions with
no_address_safety_analysis attribute.
(gate_asan_O0): Use !optimize && gate_asan ().
* doc/extend.texi (no_address_safety_analysis): Document new
function attribute.
* c-c++-common/asan/attrib-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193748
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Fri, 23 Nov 2012 08:49:43 +0000 (08:49 +0000)]
* predict.c (maybe_hot_count_p): Use threshold from profiled working
set instead of hard limit.
(cgraph_maybe_hot_edge_p): Invoke maybe_hot_count_p() instead of
directly checking limit.
* params.def (HOT_BB_COUNT_FRACTION): Remove.
(HOT_BB_COUNT_WS_PERMILLE): New parameter.
* invoke.texi (hot-bb-count-fraction): Remove.
(hot-bb-count-ws-permille): Document.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193747
138bc75d-0d04-0410-961f-
82ee72b054a4
kcc [Fri, 23 Nov 2012 04:09:17 +0000 (04:09 +0000)]
[libsanitizer] a script to help merging asan/tsan from upstream
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193743
138bc75d-0d04-0410-961f-
82ee72b054a4
vmakarov [Fri, 23 Nov 2012 01:29:07 +0000 (01:29 +0000)]
2012-11-22 Vladimir Makarov <vmakarov@redhat.com>
PR middle-end/55430
* lra.c: Move #include "hard-reg-set.h" before #include "rtl.h".
(new_insn_reg): Update biggest_mode.
(collect_non_operand_hard_regs): Check eliminable regs too.
(initialize_lra_reg_info_element): Initialize biggest_mode.
(add_regs_to_insn_regno_info): Ignore non-allocatable
non-eliminable hard regs.
(lra.c): Move setting lra_no_alloc_regs before
init_insn_recog_data.
* lra-constraints.c (simplify_operand_subreg): Add a comment.
(lra_constraints): Ignore equivalent memory of
regs occuring in paradoxical subregs.
* lra-lives.c (lra_create_live_ranges): Add a comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193742
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 23 Nov 2012 00:31:54 +0000 (00:31 +0000)]
* tsan/Makefile.am (AM_CXXFLAGS): Remove -Wno-variadic-macros.
* Makefile.am (SUBDIRS): Guard tsan addition with TSAN_SUPPORTED
automake conditional instead of !MULTISUBDIR32.
* configure.tgt: Set TSAN_SUPPORTED=yes for x86_64/i686-linux
for 64-bit multilib.
* configure.ac: Check for void * size, source in configure.tgt,
define TSAN_SUPPORTED conditional instead of MULTILIBDIR32.
* configure: Regenerated.
* Makefile.in: Regenerated.
* tsan/Makefile.in: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193741
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 23 Nov 2012 00:18:03 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193740
138bc75d-0d04-0410-961f-
82ee72b054a4
wmi [Thu, 22 Nov 2012 22:03:11 +0000 (22:03 +0000)]
libsanitizer/
* tsan: New directory. Import tsan runtime from llvm.
* configure.ac: Add 64 bits tsan build.
* Makefile.am: Likewise.
* configure: Regenerated.
* Makefile.in: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193737
138bc75d-0d04-0410-961f-
82ee72b054a4
wmi [Thu, 22 Nov 2012 21:56:58 +0000 (21:56 +0000)]
2012-11-22 Dmitry Vyukov <dvyukov@google.com>
Wei Mi <wmi@google.com>
* builtins.def (DEF_SANITIZER_BUILTIN): Define tsan builtins.
* sanitizer.def: Ditto.
* Makefile.in (tsan.o): Add tsan.o target.
(BUILTINS_DEF): Add sanitizer.def.
* passes.c (init_optimization_passes): Add tsan passes.
* tree-pass.h (register_pass_info): Ditto.
* toplev.c (compile_file): Ditto.
* doc/invoke.texi: Document tsan related options.
* gcc.c (LINK_COMMAND_SPEC): Add LIBTSAN_SPEC in link command if
-fsanitize=thread.
* tsan.c: New file about tsan.
* tsan.h: Ditto.
* common.opt: Add -fsanitize=thread.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193736
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Thu, 22 Nov 2012 21:44:24 +0000 (21:44 +0000)]
* doc/md.texi (RTL Templates Transformation): Use @pxref for
cross-reference in parentheses.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193735
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Thu, 22 Nov 2012 21:13:56 +0000 (21:13 +0000)]
* config/i386/i386.md (*jcc<mode>_0_i387): Macroize insn
from *fp_jcc_3_387 using X87MODEF mode iterator.
(*jcc<mode>_0_r_i387): New.
(*jccxf_i387): Ditto.
(*jccxf_r_i387): Ditto.
(*jcc<mode>_i387): Macroize insn from *fp_jcc_1_387 using
MODEF mode iterator.
(*jcc<mode>_r_i387): Macroize insn from *fp_jcc_1r_387 using
MODEF mode iterator.
(*jccu<mode>_i387): Macroize insn from *fp_jcc_2_387 using
X87MODEF mode iterator.
(*jccu<mode>_r_i387): Macroize insn from *fp_jcc_2r_387 using
X87MODEF mode iterator.
(*jcc{,u}<mode>_i387 splitters): Macroize splitters using
X87MODEF mode iterator.
(*jcc<X87MODEF:mode>_<SWI24:mode>_i387): Macroize insn
from *fp_jcc_4_<mode>_387 using X87MODEF mode iterator.
(*jcc<X87MODEF:mode>_<SWI24:mode>_r_i387): New.
(*jcc<X87MODEF:mode>_<SWI24:mode>_i387 splitters): Macroize
splitters using X87MODEF and SWI24 mode iterators.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193734
138bc75d-0d04-0410-961f-
82ee72b054a4
mshawcroft [Thu, 22 Nov 2012 18:08:41 +0000 (18:08 +0000)]
Remove documentation for AArch64 constraint 'Utf'.
2012-11-22 Marcus Shawcroft <marcus.shawcroft@arm.com>
* doc/md.texi (AArch64 family): Remove Utf.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193732
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Thu, 22 Nov 2012 16:59:18 +0000 (16:59 +0000)]
* config/i386/i386.md (FPCMP): New mode iterator.
(unord): New mode attribute.
(*cmp<mode>_0_i387): Macroize insn from *cmpfp_0
using X87MODEF mode iterator.
(*cmp<mode>_0_cc_i387): Macroize insn from *cmpfp_0_cc using
X87MODEF mode iterator.
(*cmpxf_i387): Rename from *cmpfp_xf.
(*cmpxf_cc_i387): Rename from *cmpfp_xf_cc.
(*cmp<mode>_i387): Rename from *cmpfp_<mode>.
(*cmp<mode>_cc_i387): Rename from *cmpfp_<mode>_cc.
(*cmpu<mode>_i387): Macroize insn from *cmpfp_u using X87MODEF
mode iterator.
(*cmpu<mode>_cc_i387): Macroize insn from *cmpfp_u_cc using X87MODEF
mode iterator.
(*cmp<X87MODEF:mode>_<SWI24:mode>_i387): Macroize_insn from
*cmpfp_<mode> using X87MODEF mode iterator.
(*cmp<X87MODEF:mode>_<SWI24:mode>_cc_i387): Macroize_insn from
*cmpfp_<mode>_cc using X87MODEF mode iterator.
(*cmpi<FPCMP:unord><MODEF:mode>_mixed): Macroize insn from
*cmpfp_i{,u}_mixed using FPCMP and MODEF mode iterators.
(*cmpi<FPCMP:unord><MODEF:mode>_mixed): Macroize insn from
*cmpfp_i{,u}_sse using FPCMP and MODEF mode iterators.
(*cmpi<CCFPCMP:unord><X87MODEF:mode>_i387): Macroize insn from
*cmpfp_i{,u}_387 using FPCMP and X87MODEF mode iterators.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193731
138bc75d-0d04-0410-961f-
82ee72b054a4
ibolton [Thu, 22 Nov 2012 15:50:30 +0000 (15:50 +0000)]
Implement bswaphi2 with rev16 (AArch64)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193729
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Thu, 22 Nov 2012 15:17:21 +0000 (15:17 +0000)]
Issue an error for -static with fsanitize=address
PR sanitizer/55379
* gcc.c (LINK_COMMAND_SPEC): Issue an error for -static with
-fsanitize=address.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193728
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 22 Nov 2012 14:42:00 +0000 (14:42 +0000)]
PR c++/55137
* semantics.c (verify_constant): Track overflow separately.
(reduced_constant_expression_p): Don't check it here.
(cxx_eval_constant_expression): Check it on CSTs.
(cxx_eval_outermost_constant_expr): Treat overflows as non-constant
at this point, but still return the folded version.
(potential_constant_expression_1): Don't check overflow.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193727
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 22 Nov 2012 14:41:52 +0000 (14:41 +0000)]
* call.c (extend_ref_init_temps_1): Recompute TREE_CONSTANT for
the ADDR_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193726
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Thu, 22 Nov 2012 14:10:47 +0000 (14:10 +0000)]
Add STATIC_LIBASAN_LIBS for -static-libasan
* gcc.c (ADD_STATIC_LIBASAN_LIBS): New macro. Defined
with STATIC_LIBASAN_LIBS.
(LIBASAN_SPEC): Add STATIC_LIBASAN_LIBS.
* config/gnu-user.h (STATIC_LIBASAN_LIBS): New macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193725
138bc75d-0d04-0410-961f-
82ee72b054a4
gretay [Thu, 22 Nov 2012 13:29:56 +0000 (13:29 +0000)]
2012-11-20 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/arm.md (*arm_abssi2): Define predicable attribute.
(*arm_neg_abssi2): Likewise.
* config/arm/thumb2.md (*thumb2_abssi2): Likewise.
(*thumb2_neg_abssi2): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193724
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 22 Nov 2012 10:23:03 +0000 (10:23 +0000)]
2012-11-22 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/55432
* g++.dg/cpp0x/constexpr-55432.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193723
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 22 Nov 2012 10:09:15 +0000 (10:09 +0000)]
* ree.c (struct ext_modified): Add ATTRIBUTE_PACKED.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193722
138bc75d-0d04-0410-961f-
82ee72b054a4
gjl [Thu, 22 Nov 2012 10:00:13 +0000 (10:00 +0000)]
libgcc/
Adjust decimal point of signed accum mode to GCC default.
PR target/54222
* config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
_divqq_helper.
* config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
(__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
(__mulha3, __mulsa3)
(__divqq3, __divha3, __divsa3): Adjust to new position of
decimal point of signed accum types.
(__mulusa3_round): New function.
(__mulusa3): Use it.
(__divqq_helper): New function.
(__udivuqq3): Use it.
gcc/
Adjust decimal point of signed accum mode to GCC default.
PR target/54222
* config/avr/avr-modes.def (HA, SA, DA): Remove mode adjustments.
(TA): Move decimal point one bit to the right.
* config/avr/avr.c (avr_out_fract): Rewrite.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193721
138bc75d-0d04-0410-961f-
82ee72b054a4
doko [Thu, 22 Nov 2012 00:47:58 +0000 (00:47 +0000)]
2012-11-21 Matthias Klose <doko@ubuntu.com>
* configure.tgt (i[3456]86): Handle -mx32 like -m64.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193720
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 22 Nov 2012 00:18:15 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193719
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Wed, 21 Nov 2012 23:55:29 +0000 (23:55 +0000)]
2012-11-22 David S. Miller <davem@davemloft.net>
Tobias Burnus <burnus@net-b.de>
Joseph Myers <joseph@codesourcery.com>
* math/atanq.c (atanq): Update from GLIBC. Handle tiny and
very large arguments properly.
* math/j0q.c (y0q): Update from GLIBC. Avoid arithmetic
underflow when 'x' is very small.
* math/j1q.c (y1q): Ditto.
* math/log1pq.c (log1pq): Update from GLIBC. Saturate
nonzero exponents with absolute value below 0x1p-128 to
+/- 0x1p-128.
* math/powq.c (powq): Update from GLIBC. If xm1 is
smaller than LDBL_EPSILON/2.0L, just return xm1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193716
138bc75d-0d04-0410-961f-
82ee72b054a4
doko [Wed, 21 Nov 2012 23:33:40 +0000 (23:33 +0000)]
2012-11-21 Matthias Klose <doko@ubuntu.com>
* config/alpha/t-linux: New file; define MULTIARCH_DIRNAME.
* config.gcc <alpha*-*-linux*> (tmake_file): Include alpha/t-linux.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193715
138bc75d-0d04-0410-961f-
82ee72b054a4
doko [Wed, 21 Nov 2012 23:01:30 +0000 (23:01 +0000)]
2012-11-21 Matthias Klose <doko@ubuntu.com>
* config/m68k/t-linux: Define MULTIARCH_DIRNAME.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193714
138bc75d-0d04-0410-961f-
82ee72b054a4
doko [Wed, 21 Nov 2012 22:57:54 +0000 (22:57 +0000)]
2012-11-21 Matthias Klose <doko@ubuntu.com>
* config/ia64/t-linux: New file; define MULTIARCH_DIRNAME.
* config.gcc <ia64*-*-linux*> (tmake_file): Include ia64/t-linux.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193713
138bc75d-0d04-0410-961f-
82ee72b054a4
vmakarov [Wed, 21 Nov 2012 22:22:11 +0000 (22:22 +0000)]
2012-11-21 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/55414
* lra-constraints.c (Index): New function.
(lra_constraints): Check dead equiv init insns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193712
138bc75d-0d04-0410-961f-
82ee72b054a4
janus [Wed, 21 Nov 2012 22:19:51 +0000 (22:19 +0000)]
2012-11-21 Janus Weil <janus@gcc.gnu.org>
PR fortran/55352
* trans-decl.c (generate_local_decl): Don't warn for explicitly imported
but unused module variables which are in a namelist or common block.
2012-11-21 Janus Weil <janus@gcc.gnu.org>
PR fortran/55352
* gfortran.dg/namelist_76.f90: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193711
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 21 Nov 2012 22:10:01 +0000 (22:10 +0000)]
alpha: Update to new extv/insv patterns
* config/alpha/alpha.md (extvmisaligndi): Rename from extv; update
mode of operand 1; remove ancient extract_bit_field workaround.
(insvmisaligndi): Rename from insv and update similarly.
(extzvmisaligndi): Rename from extzv and update similarly; split out...
(extzvdi): New expander.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193710
138bc75d-0d04-0410-961f-
82ee72b054a4
sje [Wed, 21 Nov 2012 21:28:30 +0000 (21:28 +0000)]
2012-11-21 Steve Ellcey <sellcey@mips.com>
PR pch/55399
* files.c (pch_open_file): Fix check for implicit_preinclude.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193709
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 21 Nov 2012 20:29:14 +0000 (20:29 +0000)]
PR libgomp/55411
* team.c (gomp_free_thread): Decrease gomp_managed_threads
if pool had any threads_used.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193706
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Wed, 21 Nov 2012 20:28:29 +0000 (20:28 +0000)]
Document __SANITIZE_ADDRESS__
* doc/cpp.texi: Document __SANITIZE_ADDRESS__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193705
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Wed, 21 Nov 2012 20:20:42 +0000 (20:20 +0000)]
Define __SANITIZE_ADDRESS__ for -fsanitize=address
PR c/55397
* cppbuiltin.c (define_builtin_macros_for_compilation_flags):
Define __SANITIZE_ADDRESS__ for flag_asan.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193704
138bc75d-0d04-0410-961f-
82ee72b054a4
wmi [Wed, 21 Nov 2012 17:46:00 +0000 (17:46 +0000)]
* common.opt: Change faddress-sanitizer to fsanitize=address.
* toplev.c (process_options): Likewise.
* gcc.c (LINK_COMMAND_SPEC): Likewise.
* testsuite/lib/asan-dg.exp
(check_effective_target_faddress_sanitizer): Likewise.
(asan_init): Likewise.
* doc/invoke.texi (-fsanitize=address): Document.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193702
138bc75d-0d04-0410-961f-
82ee72b054a4
jamborm [Wed, 21 Nov 2012 17:13:48 +0000 (17:13 +0000)]
2012-11-21 Martin Jambor <mjambor@suse.cz>
* ipa-prop.h (struct ipa_node_params): Rename clone_for_all_contexts to
do_clone_for_all_contexts. Update all uses. New flag
is_all_contexts_clone.
* ipa-cp.c (cgraph_edge_brings_value_p): Also consider the case when cs
leads to the clone for all contexts.
(perhaps_add_new_callers): Likewise.
(decide_whether_version_node): Remove bogus !plats->aggs test. Set
is_all_contexts_clone when cloning for all contexts.
* testsuite/gcc.dg/ipa/ipcp-agg-7.c: New test.
* testsuite/gcc.dg/ipa/ipcp-agg-8.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193701
138bc75d-0d04-0410-961f-
82ee72b054a4
jamborm [Wed, 21 Nov 2012 17:04:45 +0000 (17:04 +0000)]
2012-11-21 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/55260
* ipa-cp.c (intersect_aggregates_with_edge): New function.
(find_aggregate_values_for_callers_subset): Part moved to the function
above. Call it.
(cgraph_edge_brings_all_agg_vals_for_node): Reimplemented using
intersect_aggregates_with_edge.
* testsuite/g++.dg/torture/pr55260-2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193700
138bc75d-0d04-0410-961f-
82ee72b054a4
doko [Wed, 21 Nov 2012 16:13:28 +0000 (16:13 +0000)]
2012-11-21 Matthias Klose <doko@ubuntu.com>
* config/s390/t-linux64: Add multiarch names in MULTILIB_OSDIRNAMES.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193699
138bc75d-0d04-0410-961f-
82ee72b054a4
kcc [Wed, 21 Nov 2012 15:07:31 +0000 (15:07 +0000)]
extend libsanitizer/README.gcc
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193698
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 21 Nov 2012 15:04:45 +0000 (15:04 +0000)]
PR gcov-profile/55417
* profile.c (compute_working_sets): Check index first
to avoid out-of-bounds array access.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193697
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Wed, 21 Nov 2012 13:46:34 +0000 (13:46 +0000)]
2012-11-21 Tobias Burnus <burnus@net-b.de>
PR libquadmath/55225
* math/lgammaq.c (lgammaq): Use local variable if
math.h does not provide signgam.
* acinclude.m4 (LIBQUAD_CHECK_MATH_H_SIGNGAM): New check.
* configure.ac: Use it.
* configure: Regenerate.
* config.h.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193695
138bc75d-0d04-0410-961f-
82ee72b054a4
doko [Wed, 21 Nov 2012 13:39:27 +0000 (13:39 +0000)]
2012-11-21 Matthias Klose <doko@ubuntu.com>
* config/aarch64/t-aarch64-linux: Define MULTIARCH_DIRNAME for
linux target.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193694
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Wed, 21 Nov 2012 13:20:37 +0000 (13:20 +0000)]
* config/i386/i386.md
(*float<SWI48x:mode><MODEF:mode>2_mixed_with_temp): Use SWI48 mode
iterator instead of SWI48x. Update insn constraint.
(*float<SWI48x:mode><MODEF:mode>2_mixed_interunit): Ditto.
(*float<SWI48x:mode><MODEF:mode>2_mixed_nointerunit): Ditto.
(*float<SWI48x:mode><MODEF:mode>2_sse_with_temp): Ditto.
(*float<SWI48x:mode><MODEF:mode>2_sse_interunit): Ditto.
(*float<SWI48x:mode><MODEF:mode>2_sse_nointerunit): Ditto.
(*float<SWI48x:mode><MODEF:mode>2 splitters): Ditto.
(lrint<MODEF:mode><SWI48x:mode>2): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193692
138bc75d-0d04-0410-961f-
82ee72b054a4