Richard Sandiford
7ca9ea769d
gcc/
...
* config/mips/mips.md (sibcall_internal, sibcall_value_internal)
(sibcall_value_multiple_internal, call_split, call_internal_direct)
(call_direct_split, call_value_split, call_value_internal_direct)
(call_value_direct_split, call_value_multiple_split): Use jal and
jal_macro attributes.
From-SVN: r183913
2012-02-05 15:06:40 +00:00
Chung-Lin Tang
6caf807fba
config.host (mips64*-*-linux*, [...]): Add t-slibgcc-libgcc to tmake_file.
...
libgcc/
2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
* config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
Add t-slibgcc-libgcc to tmake_file.
* config/mips/libgcc-mips16.ver: Revert previous patch.
* config/mips/mips16.S (__mips16_rdhwr): Hide.
From-SVN: r183912
2012-02-05 15:03:15 +00:00
Richard Sandiford
d257df9b5e
stringop-2.c (main): Add a nomips16 attribute on MIPS targets.
...
gcc/testsuite/
* gcc.dg/tree-prof/stringop-2.c (main): Add a nomips16 attribute
on MIPS targets.
* gfortran.dg/pr45636.f90: XFAIL for MIPS16 targets.
From-SVN: r183911
2012-02-05 15:01:06 +00:00
Richard Sandiford
9021d4e193
re PR target/52125 (Problems with LO16 asm operands on MIPS)
...
gcc/testsuite/
PR target/52125
* lib/target-supports.exp (check_effective_target_mips_rel): New.
* gcc.dg/pr48774.c: Skip on MIPS REL targets.
From-SVN: r183910
2012-02-05 14:56:35 +00:00
Richard Sandiford
16955e8bf0
target-supports.exp (check_effective_target_mips_llsc): New.
...
gcc/testsuite/
* lib/target-supports.exp (check_effective_target_mips_llsc): New.
(check_effective_target_sync_int_long): Use it.
(check_effective_target_sync_char_short): Likewise.
* gcc.target/mips/atomic-memory-1.c: Restrict error check to mips_llsc.
From-SVN: r183909
2012-02-05 14:53:09 +00:00
Richard Sandiford
7bd8c53f50
reload1.c (reload_regs_reach_end_p): Replace with...
...
gcc/
* reload1.c (reload_regs_reach_end_p): Replace with...
(reload_reg_rtx_reaches_end_p): ...this function.
(new_spill_reg_store): Update commentary.
(emit_input_reload_insns): Don't clear new_spill_reg_store here.
(emit_output_reload_insns): Check reload_reg_rtx_reaches_end_p
before setting new_spill_reg_store.
(emit_reload_insns): Use a separate loop to clear new_spill_reg_store.
Use reload_reg_rtx_reaches_end_p instead of reload_regs_reach_end_p.
Also use reload_reg_rtx_reaches_end_p when reading new_spill_reg_store
for non-spill reload registers.
From-SVN: r183908
2012-02-05 14:49:05 +00:00
Joseph Myers
f4f629390b
* sv.po: Update.
...
From-SVN: r183907
2012-02-05 14:42:26 +00:00
Jonathan Wakely
e3aaef375c
weak_ptr_expired.cc: Modify to PASS instead of XFAIL.
...
* testsuite/20_util/shared_ptr/cons/weak_ptr_expired.cc: Modify to
PASS instead of XFAIL.
From-SVN: r183906
2012-02-05 13:08:02 +00:00
Jeffrey Yasskin
cee8c7a274
re PR c++/52119 ([C++11] overflow in signed left shift isn't diagnosed)
...
2012-02-05 Jeffrey Yasskin <jyasskin@gcc.gnu.org>
Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/52119
* include/std/limits (__glibcxx_min): Fix to avoid undefined behavior.
From-SVN: r183905
2012-02-05 12:58:51 +00:00
Tobias Burnus
b1c02fdc55
re PR fortran/51972 ([OOP] Wrong code as _copy does not honor CLASS components)
...
2012-02-05 Tobias Burnus <burnus@net-b.de>
PR fortran/51972
* gfortran.dg/class_48.f90: Add some further checks.
From-SVN: r183904
2012-02-05 10:46:20 +01:00
Ira Rosen
24ee13842e
re PR tree-optimization/52091 (ICE: verify_gimple failed)
...
PR tree-optimization/52091
* tree-vectorizer.h (vect_is_simple_use): Add an argument.
(vect_is_simple_use_1): Likewise.
* tree-vect-loop.c (vectorizable_reduction): Update calls
to vect_is_simple_use_1 and vect_is_simple_use.
(vectorizable_live_operation): Likewise.
* tree-vect-patterns.c (widened_name_p,
vect_recog_vector_vector_shift_pattern, check_bool_pattern):
Likewise.
* tree-vect-stmts.c (process_use, vect_get_vec_def_for_operand,
vectorizable_call, vectorizable_conversion,
vectorizable_assignment, vectorizable_shift,
vectorizable_operation, vectorizable_store, vectorizable_load):
Likewise.
(vect_is_simple_cond): Add an argument, pass it to
vect_is_simple_use_1.
(vectorizable_condition): Update calls to vect_is_simple_cond,
vect_is_simple_use.
(vect_is_simple_use): Add an argument, the statement in which
OPERAND is used. Check that if OPERAND's def stmt is a double
reduction phi node, the use is a phi node too.
(vect_is_simple_use_1): Add an argument, pass it to
vect_is_simple_use.
* tree-vect-slp.c (vect_get_and_check_slp_defs): Update a call
to vect_is_simple_use.
From-SVN: r183902
2012-02-05 05:58:18 +00:00
GCC Administrator
3bbdbe67bc
Daily bump.
...
From-SVN: r183900
2012-02-05 00:18:50 +00:00
Jakub Jelinek
2243948192
re PR rtl-optimization/52095 (ICE compiling gcc.dg/sms-7.c: SEGV in fprintf)
...
PR rtl-optimization/52095
* modulo-sched.c (dump_insn_locator): New function.
(loop_canon_p, sms_schedule): Use it.
From-SVN: r183895
2012-02-04 17:51:31 +01:00
Jakub Jelinek
d5785e7634
re PR rtl-optimization/52113 ([lower-subreg.c] ICE: in extract_insn, at recog.c:2123)
...
PR rtl-optimization/52113
* lower-subreg.c (decompose_multiword_subregs): Call recog_memoized
even for decomposable shift/zext insns.
* gcc.target/avr/pr52113.c: New test.
From-SVN: r183894
2012-02-04 13:47:55 +01:00
Venkataramanan Kumar
03548f7bec
Move myself to maintain alphabetical order
...
From-SVN: r183891
2012-02-04 02:21:45 +00:00
Ian Lance Taylor
4631101689
compiler, reflect: Fix hash codes of named types, fix PtrTo hash.
...
From-SVN: r183889
2012-02-04 01:41:24 +00:00
GCC Administrator
5007a7a898
Daily bump.
...
From-SVN: r183887
2012-02-04 00:18:45 +00:00
Benjamin Kosnik
0f1fce6945
re PR libstdc++/49445 ([C++0x] Undefined reference to std::atomic<float> "operator float")
...
2012-02-03 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/49445
From-SVN: r183878
2012-02-03 21:10:00 +00:00
Benjamin Kosnik
4035739819
re PR libstdc++/51811 ([C++0x] Incorrect increment/decrement of atomic pointers)
...
2012-02-03 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/51811
* include/bits/atomic_base.h (atomic<_Tp*>): Fix offsets.
* testsuite/29_atomics/atomic/operators/51811.cc: New.
* testsuite/29_atomics/atomic/operators/pointer_partial_void.cc: New.
From-SVN: r183875
2012-02-03 19:49:11 +00:00
Venkataramanan Kumar
3bc05470eb
Adding my name under Write After Approval list
...
From-SVN: r183873
2012-02-03 16:42:48 +00:00
Jakub Jelinek
7d949988e2
baseline_symbols.txt: Update.
...
* config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
* config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
Likewise.
* config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
* config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
From-SVN: r183870
2012-02-03 12:56:48 +01:00
Jakub Jelinek
32410d02e0
re PR rtl-optimization/52092 (ICE: internal consistency failure)
...
PR rtl-optimization/52092
* loop-unswitch.c (unswitch_single_loop): Call copy_rtx_if_shared
on get_iv_value result.
* gcc.c-torture/compile/pr52092.c: New test.
Co-Authored-By: Zdenek Dvorak <ook@ucw.cz>
From-SVN: r183869
2012-02-03 12:55:29 +01:00
Kai Tietz
5b5b0fa908
re PR java/48512 ([4.6] gcj spec files references incorrectly crtmt.o on i686-w64-mingw32 target)
...
PR libjava/48512
* configure.ac (THREADSTARTFILESPEC): Don't add crtmet.o file for
w64 windows targets.
* configure: Regenerated.
From-SVN: r183867
2012-02-03 10:42:42 +01:00
Tristan Gingold
a5c1501406
Add missing entry for previous patch.
...
From-SVN: r183865
2012-02-03 09:20:15 +00:00
Andrew Pinski
7547125327
re PR middle-end/47982 (Documentation error on libgcc __udivmoddi4)
...
2012-02-02 Andrew Pinski <apinski@cavium.com>
PR middle-end/47982
PR middle-end/43967
* doc/libgcc.texi (__udivmoddi4/__udivmodti4): Fix documentation typo.
From-SVN: r183862
2012-02-02 20:11:31 -08:00
Ian Lance Taylor
cf54a93ca9
mksysinfo: Fix type of last field of Cmsghdr.
...
From-SVN: r183860
2012-02-03 01:06:19 +00:00
GCC Administrator
1841202b90
Daily bump.
...
From-SVN: r183859
2012-02-03 00:18:24 +00:00
Mikael Morin
37da591f6a
re PR fortran/41587 ([OOP] ICE with ALLOCATABLE CLASS components)
...
2012-02-02 Mikael Morin <mikael@gcc.gnu.org>
PR fortran/41587
PR fortran/46356
PR fortran/51754
PR fortran/50981
* class.c (insert_component_ref, class_data_ref_missing,
gfc_fix_class_refs): New functions.
* gfortran.h (gfc_fix_class_refs): New prototype.
* trans-expr.c (gfc_conv_expr): Remove special case handling and call
gfc_fix_class_refs instead.
2012-02-02 Mikael Morin <mikael@gcc.gnu.org>
PR fortran/41587
* gfortran.dg/class_array_10.f03: New test.
PR fortran/46356
* gfortran.dg/class_array_11.f03: New test.
PR fortran/51754
* gfortran.dg/class_array_12.f03: New test.
From-SVN: r183853
2012-02-02 23:10:55 +00:00
Ian Lance Taylor
1c69e5e28a
runtime: Correct ENOSYS functions.
...
From-SVN: r183852
2012-02-02 22:58:54 +00:00
Ian Lance Taylor
b6422b3755
compiler: Compare slice start and end with cap, not len.
...
From-SVN: r183851
2012-02-02 22:23:10 +00:00
Paul Thomas
7de7ae1841
re PR fortran/52012 (Wrong-code with realloc on assignment and RESHAPE w/ ORDER=)
...
2012-02-02 Paul Thomas <pault@gcc.gnu.org>
PR fortran/52012
* trans-expr.c (fcncall_realloc_result): If variable shape is
correct, retain the bounds, whatever they are.
2012-02-02 Paul Thomas <pault@gcc.gnu.org>
PR fortran/52012
* gfortran.dg/realloc_on_assign_11.f90: New test.
From-SVN: r183849
2012-02-02 21:20:14 +00:00
Tobias Burnus
1b3f07c72a
re PR fortran/52093 (Extra parenthesis with Size and Shape functions argument cause internal compiler error: Segmentation fault)
...
2012-02-02 Tobias Burnus <burnus@net-b.de>
PR fortran/52093
* simplify.c (gfc_simplify_size): Handle INTRINSIC_PARENTHESES.
2012-02-02 Tobias Burnus <burnus@net-b.de>
PR fortran/52093
* gfortran.dg/shape_7.f90: New.
From-SVN: r183848
2012-02-02 22:01:34 +01:00
Jakub Jelinek
1f01c3ecd1
re PR middle-end/48071 (Blank line after 'all warnings being treated as errors')
...
PR middle-end/48071
* diagnostic.c (diagnostic_finish): Remove trailing newlines.
From-SVN: r183847
2012-02-02 21:46:06 +01:00
Benjamin Kosnik
d1a6c0d4c9
re PR libstdc++/52068 (libc++98.a and libc++11.a are installed)
...
2012-02-02 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/52068
* src/c++11/Makefile.am (toolexeclib_LTLIBRARIES,
libc__11_la_SOURCES): Remove.
* src/c++11/Makefile.in: Regenerate.
* src/c++98/Makefile.am (toolexeclib_LTLIBRARIES,
libc__98_la_SOURCES): Remove.
* src/c++98/Makefile.in: Regenerate.
From-SVN: r183846
2012-02-02 19:58:59 +00:00
Vladimir Makarov
662f8070eb
re PR rtl-optimization/49800 (segfault with -fsched-pressure -fdump-rtl-sched1)
...
2012-02-02 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/49800
* haifa-sched.c (sched_init): Call regstat_init_n_sets_and_refs.
(sched_finish): Call regstat_free_n_sets_and_refs.
From-SVN: r183843
2012-02-02 19:45:04 +00:00
Richard Sandiford
14bc59cb4f
mips-dspr2.md (mips_prepend): Mask operand 3 rather than operand 2.
...
gcc/
2012-02-02 Jia Liu <proljc@gmail.com>
* config/mips/mips-dspr2.md (mips_prepend): Mask operand 3 rather
than operand 2.
gcc/testsuite/
* gcc.target/mips/mips-prepend-1.c: New test.
From-SVN: r183841
2012-02-02 18:54:38 +00:00
Ian Lance Taylor
f22f4fc153
compiler: Permit importing a method to a type being defined.
...
From-SVN: r183840
2012-02-02 18:32:09 +00:00
Jan Hubicka
5ee770bf9e
re PR middle-end/51998 (compiler hangs on self-recursive alias attribute)
...
PR middle-end/51998
* cgraphunit.c (cgraph_analyze_function): Break cyclic aliases.
* varpool.c (varpool_analyze_pending_decls): Likewise.
* testsuite/gcc.dg/alias-12.c: New testcase.
* testsuite/gcc.dg/alias-13.c: New testcase.
Co-Authored-By: Tom de Vries <tom@codesourcery.com>
From-SVN: r183836
2012-02-02 13:29:31 +00:00
Jayant R Sonar
e5b8c09011
Adding myself to MAINTAINERS file for write after approval
...
From-SVN: r183833
2012-02-02 11:23:35 +00:00
Sumanth G
b25364a0b9
Adding GCC port for National Semicondutor's CR16 architecture
...
Co-Authored-By: Jayant R Sonar <jayant.sonar@kpitcummins.com>
From-SVN: r183832
2012-02-02 10:20:32 +00:00
Jakub Jelinek
903e49f520
re PR target/52086 (ICE caused by wrong peephole2 for QImode mem += reg followed by test)
...
PR target/52086
* config/i386/i386.md (*addqi_2 peephole with SImode addition): Check
that operands[2] is either immediate, or q_regs_operand.
* gcc.dg/pr52086.c: New test.
From-SVN: r183830
2012-02-02 10:04:57 +01:00
Jakub Jelinek
13c931c939
re PR tree-optimization/52073 (ICE: vector VEC(vec_void_p,base) index domain error, in vinfo_for_stmt at tree-vectorizer.h:620)
...
PR tree-optimization/52073
* tree-vect-stmts.c (vect_mark_relevant): When checking uses of
a pattern stmt for pattern uses, ignore uses outside of the loop.
* gcc.c-torture/compile/pr52073.c: New test.
From-SVN: r183829
2012-02-02 09:09:37 +01:00
Ian Lance Taylor
10f5ffa4e9
syscall: Add syscall.Times.
...
From-SVN: r183826
2012-02-02 06:40:11 +00:00
Ian Lance Taylor
3375a6c94c
compiler: Fix parameter references in method expressions.
...
From-SVN: r183825
2012-02-02 06:24:07 +00:00
GCC Administrator
4e15881eeb
Daily bump.
...
From-SVN: r183821
2012-02-02 00:18:30 +00:00
Ian Lance Taylor
80678229d7
compiler: Fix type checking for append.
...
From-SVN: r183816
2012-02-01 21:30:48 +00:00
Ian Lance Taylor
7c275c4339
os/exec: Make sure file descriptor is not closed early.
...
From-SVN: r183815
2012-02-01 20:47:15 +00:00
Ian Lance Taylor
fa9fe7a5a7
compiler: Don't crash on switch _ := v.(type).
...
From-SVN: r183814
2012-02-01 20:40:31 +00:00
Thomas Koenig
cf82db1626
re PR fortran/51958 (-ffrontend-optimize generates wrong code)
...
2012-02-01 Thomas König <tkoenig@gcc.gnu.org>
PR fortran/51958
* frontend-passes.c (convert_elseif): New function.
(optimize_namespace): Call it.
2012-02-01 Thomas König <tkoenig@gcc.gnu.org>
PR fortran/51958
* gfortran.dg/function_optimize_10.f90: New test.
From-SVN: r183812
2012-02-01 19:40:25 +00:00
Uros Bizjak
25f10bd4bb
go-test.exp (go-gc-tests): xfail test/nilptr.go runtime test on alpha*-*-*.
...
* go.test/go-test.exp (go-gc-tests): xfail test/nilptr.go runtime
test on alpha*-*-*.
From-SVN: r183811
2012-02-01 20:32:42 +01:00