Jakub Jelinek
e300ec2d1c
re PR tree-optimization/56029 (ICE: verify_gimple failed, location references block not in block tree)
...
PR tree-optimization/56029
* tree-phinodes.c (reserve_phi_args_for_new_edge): Set
gimple_phi_arg_location for the new arg to UNKNOWN_LOCATION.
* g++.dg/torture/pr56029.C: New test.
From-SVN: r195304
2013-01-18 21:24:34 +01:00
Sharad Singhai
a3d7af0411
re PR tree-optimization/55995 (vect increase_alignment notes missing from dump file)
...
2013-01-18 Sharad Singhai <singhai@google.com>
PR tree-optimization/55995
* dumpfile.c (dump_loc): Print location only if available.
* tree-vectorizer.c (increase_alignment): Intialize vect_location.
testsuite/ChangeLog
PR tree-optimization/55995
* gcc.dg/vect/vect.exp: Use "details" flags for dump info.
From-SVN: r195303
2013-01-18 18:26:04 +00:00
Vladimir Makarov
66aa7879c8
re PR target/55433 ([LRA] ICE on excessive reloads)
...
2013-01-18 Vladimir Makarov <vmakarov@redhat.com>
PR target/55433
* lra-constraints.c (curr_insn_transform): Reuse original insn for
secondary memory move.
(inherit_reload_reg): Use rclass instead of cl for
check_secondary_memory_needed_p.
2013-01-18 Vladimir Makarov <vmakarov@redhat.com>
PR target/55433
* gcc.target/i386/pr55433.c: New.
From-SVN: r195302
2013-01-18 18:14:52 +00:00
Jakub Jelinek
3f0fee7b4d
re PR middle-end/56015 (expand expands p[9] = COMPLEX_EXPR <-IMAGPART_EXPR <p[9]>, REALPART_EXPR <p[9]>>; incorrectly.)
...
PR middle-end/56015
* expr.c (expand_expr_real_2) <case COMPLEX_EXPR>: Handle
the case where writing real complex part of target modifies
op1.
* gfortran.dg/pr56015.f90: New test.
From-SVN: r195301
2013-01-18 18:15:07 +01:00
Janis Johnson
b69a7864fb
* gcc.dg/vect/vect-multitypes-12.c: Refactor dg-final directive.
...
From-SVN: r195299
2013-01-18 17:01:40 +00:00
James Greenhalgh
70c6769377
[AArch64] Fix unordered comparisons to floating-point vcond.
...
gcc/
* config/aarch64/aarch64-simd.md
(aarch64_vcond_internal<mode>): Handle unordered cases.
* config/aarch64/iterators.md (v_cmp_result): New.
gcc/testsuite/
* gcc.target/aarch64/vect-fcm-gt-f.c: Change expected output.
* gcc.target/aarch64/vect-fcm-gt-d.c: Likewise.
* gcc.target/aarch64/vect-fcm-ge-f.c: Likewise.
* gcc.target/aarch64/vect-fcm-ge-d.c: Likewise.
* gcc.target/aarch64/vect-fcm-eq-f.c: Likewise.
From-SVN: r195297
2013-01-18 16:34:10 +00:00
Jeff Law
f5ce60b6a2
pr52573.c: Move to...
...
* gcc.dg/pr52573.c: Move to...
* gcc.target/m68k/pr52573.c: Here. Eliminate target selector.
From-SVN: r195296
2013-01-18 09:30:51 -07:00
Yi-Hsiu Hsu
df8de9b3d6
Add support for Marvell's PJ4 CPU
...
2013-01-18 Yi-Hsiu Hsu <ahsu@marvell.com>
Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
* config/arm/marvell-pj4.md: New file.
* config/arm/arm.c (arm_issue_rate): Add marvell_pj4.
* config/arm/arm.md (generic_sched): Add marvell_pj4.
(generic_vfp): Likewise.
* config/arm/arm-cores.def: Add marvell-pj4.
* config/arm/arm-tune.md: Regenerate.
* config/arm/arm-tables.opt: Regenerate.
* config/arm/bpabi.h (BE8_LINK_SPEC): Add marvell_pj4.
* doc/invoke.texi: Document marvell-pj4.
Co-Authored-By: Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
From-SVN: r195295
2013-01-18 14:26:15 +00:00
Tejas Belagod
be30c35692
arm_neon.h: Map scalar types to standard types.
...
2013-01-18 Tejas Belagod <tejas.belagod@arm.com>
gcc/
* config/aarch64/arm_neon.h: Map scalar types to standard types.
From-SVN: r195293
2013-01-18 13:41:58 +00:00
Alexandre Oliva
c350ba539e
Mention PR debug/56006 in earlier commit for PR rtl-optimization/55547.
...
From-SVN: r195292
2013-01-18 11:05:04 +00:00
Alexandre Oliva
af6236c19d
re PR debug/54114 (VTA compile-time performance could be improved)
...
PR debug/54114
PR debug/54402
PR debug/49888
* var-tracking.c (negative_power_of_two_p): New.
(global_get_addr_cache, local_get_addr_cache): New.
(get_addr_from_global_cache, get_addr_from_local_cache): New.
(vt_canonicalize_addr): Rewrite using the above. Adjust the
heading comment.
(vt_stack_offset_p): Remove.
(vt_canon_true_dep): Always canonicalize loc's address.
(clobber_overlapping_mems): Make sure we have a MEM.
(local_get_addr_clear_given_value): New.
(val_reset): Clear local cached entries.
(compute_bb_dataflow): Create and release the local cache.
Disable duplicate MEMs clobbering.
(emit_notes_in_bb): Clobber MEMs likewise.
(vt_emit_notes): Create and release the local cache.
(vt_initialize, vt_finalize): Create and release the global
cache, respectively.
* alias.c (rtx_equal_for_memref_p): Compare operands of
ENTRY_VALUEs.
From-SVN: r195291
2013-01-18 10:58:15 +00:00
Alexandre Oliva
7ff37ffa08
re PR libmudflap/53359 (undefined reference to `__gnu_cxx::__numeric_traits_integer<int>::__min')
...
PR libmudflap/53359
* tree-mudflap.c (mudflap_finish_file): Skip deferred decls
not found in the symtab.
From-SVN: r195290
2013-01-18 10:57:58 +00:00
Alexandre Oliva
3aa035178c
re PR rtl-optimization/55547 (Alias analysis does not handle AND addresses correctly)
...
PR rtl-optimization/55547
PR rtl-optimization/53827
PR debug/53671
PR debug/49888
* alias.c (offset_overlap_p): New, factored out of...
(memrefs_conflict_p): ... this. Use absolute sizes. Retain
the conservative special case for symbolic constants. Don't
adjust zero sizes on alignment.
From-SVN: r195289
2013-01-18 10:57:36 +00:00
Jeff Law
c664546f0e
re PR rtl-optimization/52573 (regrename creates overlapping register allocations for output operands)
...
PR rtl-optimization/52573
* regrename.c (build_def_use): Ignore REG_DEAD notes if there is
a REG_UNUSED for the same register.
* gcc.dg/pr52573.c: New test.
From-SVN: r195288
2013-01-18 00:54:47 -07:00
GCC Administrator
1f8b0400aa
Daily bump.
...
From-SVN: r195286
2013-01-18 00:19:08 +00:00
Jack Howarth
ec03e9e945
re PR sanitizer/55679 (new asan tests from r194458 fail on x86_64-apple-darwin10)
...
PR sanitizer/55679
* g++.dg/asan/interception-test-1.C: Skip on darwin.
* lib/target-supports.exp (check_effective_target_swapcontext): Use
check_no_compiler_messages to test support in ucontext.h.
(check_effective_target_setrlimit): Return 0 for Darwin's non-posix
compliant RLIMIT_AS.
From-SVN: r195281
2013-01-17 21:28:56 +00:00
Marek Polacek
1bd3f7500b
Fix PR55833.
...
From-SVN: r195280
2013-01-17 19:19:37 +00:00
Thorsten Glaser
7b045477e2
re PR libffi/56000 (FAIL: libffi.call/cls_uchar_va.c -O0 -W -Wall output pattern test)
...
2013-01-07 Thorsten Glaser <tg@mirbsd.org>
PR middle-end/56000
* testsuite/libffi.call/cls_uchar_va.c,
testsuite/libffi.call/cls_ushort_va.c,
testsuite/libffi.call/va_1.c: Testsuite fixes.
From-SVN: r195277
2013-01-17 19:24:08 +01:00
Georg-Johann Lay
e52a8b712b
builtins.def (DEF_BUILTIN): Factor out "__builtin_avr_" from NAME, turn NAME to an uppercase identifier.
...
* config/avr/builtins.def (DEF_BUILTIN): Factor out
"__builtin_avr_" from NAME, turn NAME to an uppercase identifier.
Factor out 'CODE_FOR_' from ICODE, use 'nothing' instead of '-1'.
Remove ID. Adjust comments.
* config/avr/avr-c.c (avr_builtin_name): Remove.
(avr_cpu_cpp_builtins): Use DEF_BUILTIN instead of for-loop.
* config/avr/avr.c (avr_tolower): New static function.
(DEF_BUILTIN): Remove parameter ID. Prefix ICODE by 'CODE_FOR_'.
Stringify NAME, prefix it with "__builtin_avr_" and lowercase it.
(avr_expand_builtin): Assert insn_code != CODE_FOR_nothing for
default expansion.
From-SVN: r195276
2013-01-17 17:14:53 +00:00
Jakub Jelinek
610fb63725
re PR rtl-optimization/55273 (ICE in iv_number_of_iterations, at loop-iv.c:2819)
...
PR tree-optimizatoin/55273
* gcc.c-torture/compile/pr55273.c: New testcase.
* loop-iv.c (iv_number_of_iterations): Consider zero iteration case.
From-SVN: r195275
2013-01-17 17:36:43 +01:00
Jan Hubicka
8386a7ea78
re PR rtl-optimization/55273 (ICE in iv_number_of_iterations, at loop-iv.c:2819)
...
PR tree-optimizatoin/51083
* gcc.c-torture/compile/pr51083.c: New testcase.
* loop-iv.c (iv_number_of_iterations): Consider zero iteration case.
From-SVN: r195274
2013-01-17 16:27:23 +00:00
Uros Bizjak
8abaebcd4c
re PR target/55981 (std::atomic store is split in two smaller stores)
...
PR target/55981
* config/i386/sync.md (atomic_store<mode>): Always generate SWImode
store through atomic_store<mode>_1.
(atomic_store<mode>_1): Macroize insn using SWI mode iterator.
testsuite/ChangeLog:
PR target/55981
* gcc.target/pr55981.c: New test.
From-SVN: r195273
2013-01-17 17:24:54 +01:00
Janis Johnson
3f5da2852e
pr40887.c: Require at least armv5.
...
* gcc.target/arm/pr40887.c: Require at least armv5.
* gcc.target/arm/pr51835.c: Avoid conflicts with multilib flags.
* gcc.target/arm/pr51915.c: Likewise.
* gcc.target/arm/pr52006.c: Likewise.
* gcc.target/arm/pr53187.c: Likewise.
From-SVN: r195271
2013-01-17 15:52:19 +00:00
Janis Johnson
1f98b7b2e5
ftest-support.h: Replace for compile-only tests.
...
* gcc.target/arm/ftest-support.h: Replace for compile-only tests.
* gcc.target/arm/ftest-support-arm.h: Delete.
* gcc.target/arm/ftest-support-thumb.h: Delete.
* gcc.target/arm/ftest-armv4-arm.c: Replace with compile-only test.
* gcc.target/arm/ftest-armv4t-arm.c: Likewise.
* gcc.target/arm/ftest-armv4t-thumb.c: Likewise.
* gcc.target/arm/ftest-armv5t-arm.c: Likewise.
* gcc.target/arm/ftest-armv5t-thumb.c: Likewise.
* gcc.target/arm/ftest-armv5te-arm.c: Likewise.
* gcc.target/arm/ftest-armv5te-thumb.c: Likewise.
* gcc.target/arm/ftest-armv6-arm.c: Likewise.
* gcc.target/arm/ftest-armv6-thumb.c: Likewise.
* gcc.target/arm/ftest-armv6k-arm.c: Likewise.
* gcc.target/arm/ftest-armv6k-thumb.c: Likewise.
* gcc.target/arm/ftest-armv6m-thumb.c: Likewise.
* gcc.target/arm/ftest-armv6t2-arm.c: Likewise.
* gcc.target/arm/ftest-armv6t2-thumb.c: Likewise.
* gcc.target/arm/ftest-armv6z-arm.c: Likewise.
* gcc.target/arm/ftest-armv6z-thumb.c: Likewise.
* gcc.target/arm/ftest-armv7a-arm.c: Likewise.
* gcc.target/arm/ftest-armv7a-thumb.c: Likewise.
* gcc.target/arm/ftest-armv7em-thumb.c: Likewise.
* gcc.target/arm/ftest-armv7m-thumb.c: Likewise.
* gcc.target/arm/ftest-armv7r-arm.c: Likewise.
* gcc.target/arm/ftest-armv7r-thumb.c: Likewise.
* gcc.target/arm/ftest-armv8a-arm.c: Likewise.
* gcc.target/arm/ftest-armv8a-thumb.c: Likewise.
From-SVN: r195270
2013-01-17 15:50:51 +00:00
Yufeng Zhang
922c57d1ba
sync-cache.c (__aarch64_sync_cache_range): Cast the results of (dcache_lsize - 1) and (icache_lsize - 1) to the type...
...
2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
* config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
__UINTPTR_TYPE__; also cast 'base' to the same type before the
alignment operation.
From-SVN: r195266
2013-01-17 14:27:36 +00:00
Martin Jambor
8222c37ede
re PR tree-optimization/55264 (ICE: in ipa_make_edge_direct_to_target, at ipa-prop.c:2141 with -O2 -fno-early-inlining -fno-weak)
...
2013-01-17 Martin Jambor <mjambor@suse.cz>
PR tree-optimizations/55264
* ipa-inline-transform.c (can_remove_node_now_p_1): Never return true
for virtual methods.
* ipa.c (symtab_remove_unreachable_nodes): Never return true for
virtual methods before inlining is over.
* cgraph.h (cgraph_only_called_directly_or_aliased_p): Return false for
virtual functions.
* cgraphclones.c (cgraph_create_virtual_clone): Mark clones as
non-virtual.
testsuite/
* g++.dg/ipa/pr55264.C: New test.
From-SVN: r195262
2013-01-17 12:43:14 +01:00
Richard Biener
c5e7e996fb
trans-stmt.c (gfc_trans_do): Conditionally compute countm1 dependent on sign of step...
...
2013-01-17 Richard Biener <rguenther@suse.de>
fortran/
* trans-stmt.c (gfc_trans_do): Conditionally compute countm1
dependent on sign of step, avoids repeated evaluation of
step sign test. Avoid undefined overflow issues by using unsigned
arithmetic.
From-SVN: r195260
2013-01-17 09:53:19 +00:00
Ian Lance Taylor
df69b59879
compiler: Provide location for initialization function.
...
From-SVN: r195259
2013-01-17 01:49:47 +00:00
Ian Lance Taylor
6b514c5361
dwarf.c (struct unit): Add filename and abs_filename fields.
...
* dwarf.c (struct unit): Add filename and abs_filename fields.
(build_address_map): Set new fields when reading unit.
(dwarf_lookup_pc): If we don't find an entry in the line table,
just return the main file name.
From-SVN: r195257
2013-01-17 01:20:28 +00:00
GCC Administrator
2a23fddef5
Daily bump.
...
From-SVN: r195256
2013-01-17 00:19:00 +00:00
Jonathan Wakely
b7202baf14
PR libstdc++/55043 (again)
...
PR libstdc++/55043 (again)
* include/bits/alloc_traits.h (allocator_traits::construct): Disable
unless construction would be well-formed.
(__allow_copy_cons, __check_copy_constructible): Define.
* include/bits/unordered_map.h (__check_copy_constructible): Use as
base class so copy constructor will be deleted if appropriate.
(is_copy_constructible): Remove specialization.
* include/bits/unordered_set.h: Likewise.
* include/debug/unordered_map.h: Undo previous commit. Default copy
and move constructors.
* include/debug/unordered_set.h: Likewise.
* include/profile/unordered_map.h: Undo previous commit.
* include/profile/unordered_set.h: Likewise.
* testsuite/23_containers/unordered_map/55043.cc: Fix test.
* testsuite/23_containers/unordered_multimap/55043.cc: Likewise.
* testsuite/23_containers/unordered_multiset/55043.cc: Likewise.
* testsuite/23_containers/unordered_set/55043.cc: Likewise.
* testsuite/23_containers/unordered_map/requirements/53339.cc: XFAIL,
cannot support incomplete types.
* testsuite/23_containers/unordered_multimap/requirements/53339.cc:
Likewise.
From-SVN: r195253
2013-01-16 23:56:00 +00:00
Janus Weil
9b940c6dd7
re PR fortran/55983 (ICE in find_typebound_proc_uop, at fortran/class.c:2711)
...
2013-01-16 Janus Weil <janus@gcc.gnu.org>
PR fortran/55983
* class.c (find_typebound_proc_uop): Check for f2k_derived instead of
asserting it.
2013-01-16 Janus Weil <janus@gcc.gnu.org>
PR fortran/55983
* gfortran.dg/class_55.f90: New.
From-SVN: r195251
2013-01-16 20:52:10 +01:00
Janis Johnson
934144c03c
re PR testsuite/55994 (multiple definition or memset or strlen for builtins tests with LTO options)
...
PR testsuite/55994
* gcc.c-torture/execute/builtins/builtins.exp: Add
-Wl,--allow-multiple-definition for eabi and elf targets.
From-SVN: r195250
2013-01-16 18:52:51 +00:00
Janis Johnson
fbe10effb5
re PR testsuite/54622 (gcc.dg/vect test failures for arm big-endian)
...
PR testsuite/54622
* lib/target-supports.exp (check_effective_target_vect_perm_byte,
check_effective_target_vect_perm_short,
check_effective_target_vect_widen_mult_qi_to_hi_pattern,
check_effective_target_vect64): Return 0 for big-endian ARM.
(check_effective_target_vect_widen_sum_qi_to_hi): Return 1 for ARM.
From-SVN: r195249
2013-01-16 18:49:57 +00:00
Janis Johnson
9834289577
neon-vld1_dupQ.c: Use types that match function prototypes.
...
* gcc.target/arm/neon-vld1_dupQ.c: Use types that match function
prototypes.
From-SVN: r195248
2013-01-16 18:48:27 +00:00
Vladimir Makarov
79f01c76e0
re PR rtl-optimization/56005 (FAIL: gcc.target/i386/pr45352.c (internal compiler error))
...
2013-01-16 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/56005
* sched-deps.c (sched_analyze_2): Check deps->readonly for adding
pending reads for prefetch.
From-SVN: r195247
2013-01-16 18:27:58 +00:00
Shenghou Ma
20f36478dc
* gospec.c: pass -u pthread_create to linker when static linking.
...
From-SVN: r195244
2013-01-16 16:32:35 +00:00
Ian Bolton
d0b6bb1b12
Make zero_extends explicit for some more SImode patterns (AArch64)
...
From-SVN: r195243
2013-01-16 16:21:05 +00:00
Jakub Jelinek
f34dea0300
re PR driver/55884 (FAIL: libgomp.fortran/omp_parse3.f90 -O0 (test for excess errors))
...
gcc/fortran/
2013-01-16 Jakub Jelinek <jakub@redhat.com>
Tobias Burnus <burnus@net-b.de>
PR driver/55884
* lang.opt (fintrinsic-modules-path): Don't accept Joined.
(fintrinsic-modules-path=): New.
* options.c (gfc_handle_option, gfc_get_option_string,
gfc_get_option_string): Handle the latter.
libgomp/
2013-01-16 Jakub Jelinek <jakub@redhat.com>
Tobias Burnus <burnus@net-b.de>
PR driver/55884
* testsuite/libgomp.fortran/fortran.exp: Use
-fintrinsic-modules-path= instead of
-fintrinsic-modules-path.
Co-Authored-By: Tobias Burnus <burnus@net-b.de>
From-SVN: r195242
2013-01-16 17:19:32 +01:00
Jakub Jelinek
8c01de7fb3
re PR fortran/52865 (GCC can't vectorize fortran loop but able to vectorize similar c-loop)
...
PR fortran/52865
* trans-stmt.c (gfc_trans_do): Put countm1-- before conditional
and use value of countm1 before the decrement in the condition.
From-SVN: r195241
2013-01-16 17:05:27 +01:00
Richard Biener
cb9cf03b1d
tree-inline.c (tree_function_versioning): Remove set but never used variable.
...
2013-01-16 Richard Biener <rguenther@suse.de>
* tree-inline.c (tree_function_versioning): Remove set but
never used variable.
From-SVN: r195240
2013-01-16 14:54:46 +00:00
Richard Biener
2cfc56b9bd
re PR tree-optimization/55964 (Segmentation fault with -O -ftree-loop-distribution -funswitch-loops)
...
2013-01-16 Richard Biener <rguenther@suse.de>
PR tree-optimization/55964
* tree-flow.h (rename_variables_in_loop): Remove.
(rename_variables_in_bb): Likewise.
* tree-loop-distribution.c (update_phis_for_loop_copy): Remove.
(copy_loop_before): Adjust and delete update-ssa status.
* tree-vect-loop-manip.c (rename_variables_in_bb): Make static.
(rename_variables_in_bb): Likewise. Properly walk over
predecessors.
(rename_variables_in_loop): Remove.
(slpeel_update_phis_for_duplicate_loop): Likewise.
(slpeel_tree_duplicate_loop_to_edge_cfg): Handle nested loops,
use available cfg machinery instead of duplicating it.
Update PHI nodes and perform poor-mans SSA update here.
(slpeel_tree_peel_loop_to_edge): Adjust.
* gcc.dg/torture/pr55964.c: New testcase.
From-SVN: r195239
2013-01-16 14:06:58 +00:00
Richard Biener
c25a0c60a5
re PR tree-optimization/54767 (Incorrect code generated with "-O2 -fcheck=bounds")
...
2013-01-16 Richard Biener <rguenther@suse.de>
PR tree-optimization/54767
PR tree-optimization/53465
* tree-vrp.c (vrp_meet_1): Revert original fix for PR53465.
(vrp_visit_phi_node): For PHI arguments coming via backedges
drop all symbolical range information.
(execute_vrp): Compute backedges.
* gfortran.fortran-torture/execute/pr54767.f90: New testcase.
From-SVN: r195238
2013-01-16 13:57:48 +00:00
Richard Biener
04b535af39
install.texi: Update CLooG and ISL requirements to 0.18.0 and 0.11.1.
...
2013-01-16 Richard Biener <rguenther@suse.de>
* doc/install.texi: Update CLooG and ISL requirements to
0.18.0 and 0.11.1.
From-SVN: r195233
2013-01-16 09:37:19 +00:00
Jonathan Wakely
8175e9866c
re PR libstdc++/55043 (issue with nesting unordered_map containing unique_ptr into vector)
...
PR libstdc++/55043
* include/std/unordered_map: Include alloc_traits.h
* include/std/unordered_set: Likewise.
* include/bits/alloc_traits.h: Define __is_copy_insertable.
* include/bits/unordered_map.h: Use it.
* include/bits/unordered_set.h: Likewise.
* include/debug/unordered_map.h: Likewise.
* include/debug/unordered_set.h: Likewise.
* include/profile/unordered_map.h: Likewise.
* include/profile/unordered_set.h: Likewise.
* include/bits/hashtable.h: Fix comment typos.
* testsuite/23_containers/unordered_map/55043.cc: New.
* testsuite/23_containers/unordered_multimap/55043.cc: New.
* testsuite/23_containers/unordered_multiset/55043.cc: New.
* testsuite/23_containers/unordered_set/55043.cc: New.
From-SVN: r195231
2013-01-16 09:20:34 +00:00
Christian Bruel
8b0a1e0b43
re PR target/55301 ([SH] broken sp_switch function attribute)
...
PR target/55301
* config/sh/sh.c (sh_expand_prologue): Postpone new_stack mem symbol.
(broken_move): Handle UNSPECV_SP_SWITCH_B.
* config/sh/sh.md (sp_switch_1): Use set (reg:SI SP_REG).
* config/sh/sh.md (UNSPECV_SP_SWITCH_B): New.
(UNSPECV_SP_SWITCH_E): New.
(sp_switch_1): Change to an unspec.
(sp_switch_2): Change to an unspec. Don't use post-inc when we
replace $r15.
* gcc.target/sh/sh-switch.c: New testcase.
From-SVN: r195230
2013-01-16 09:29:54 +01:00
Jakub Jelinek
19006c45f5
Makefile.am (AM_CXXFLAGS): Remove -Wno-c99-extensions.
...
* sanitizer_common/Makefile.am (AM_CXXFLAGS): Remove
-Wno-c99-extensions.
* interception/Makefile.am (AM_CXXFLAGS): Likewise.
* asan/Makefile.am (AM_CXXFLAGS): Likewise.
* sanitizer_common/Makefile.in: Regenerated.
* interception/Makefile.in: Regenerated.
* asan/Makefile.in: Regenerated.
From-SVN: r195229
2013-01-16 08:34:49 +01:00
Uros Bizjak
88e784e6c2
emit-rtl.c (need_atomic_barrier_p): Mask memory model argument with MEMMODEL_MASK before comparing with MEMMODEL_*...
...
* emit-rtl.c (need_atomic_barrier_p): Mask memory model argument
with MEMMODEL_MASK before comparing with MEMMODEL_* memory types.
* optabs.c (maybe_emit_sync_lock_test_and_set): Ditto.
(expand_mem_thread_fence): Ditto.
(expand_mem_signal_fence): Ditto.
(expand_atomic_load): Ditto.
(expand_atomic_store): Ditto.
From-SVN: r195228
2013-01-16 08:10:21 +01:00
Alexandre Oliva
5147bf6a23
re PR rtl-optimization/55547 (Alias analysis does not handle AND addresses correctly)
...
PR rtl-optimization/55547
PR rtl-optimization/53827
PR debug/53671
PR debug/49888
* alias.c (memrefs_conflict_p): Set sizes to negative after
AND adjustments.
From-SVN: r195227
2013-01-16 04:31:30 +00:00
Alexandre Oliva
c851c76cdf
inclhack.def (feraiseexcept_nosse_invalid): New.
...
* inclhack.def (feraiseexcept_nosse_invalid): New.
(feraiseexcept_nosse_divbyzero): Likewise.
* fixincl.x: Rebuilt.
* tests/base/bits/fenv.h: New.
From-SVN: r195226
2013-01-16 04:07:20 +00:00