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
Ian Lance Taylor
9af4cb9545
libgo: Update to weekly.2012-01-27.
...
From-SVN: r183810
2012-02-01 19:26:59 +00:00
Tobias Burnus
6b6cd722f3
re PR fortran/52024 ([OOP] GENERIC operator cannot be resolved)
...
2012-02-01 Tobias Burnus <burnus@net-b.de>
PR fortran/52024
* module.c (MOD_VERSION): Bump.
(mio_typebound_proc): Read/write is_operator from/to the
.mod file.
2012-02-01 Tobias Burnus <burnus@net-b.de>
PR fortran/52024
* gfortran.dg/typebound_operator_14.f90: New.
From-SVN: r183808
2012-02-01 20:06:07 +01:00
Tobias Burnus
887ee29f8e
2012-02-01 Tobias Burnus
...
PR fortran/52059
* trans-expr.c (gfc_conv_procedure_call): Add array ref
only to variables.
2012-02-01 Tobias Burnus
PR fortran/52059
* gfortran.dg/elemental_function_1.f90: New.
From-SVN: r183807
2012-02-01 20:01:49 +01:00
Jakub Jelinek
c2b13bb66d
re PR target/52079 (ICE in aggregate_value_p while building libgo on arm-linux-gnueabihf)
...
PR target/52079
* go-lang.c (go_langhook_type_for_mode): For TImode and 64-bit HWI
return build_nonstandard_integer_type result if possible.
From-SVN: r183806
2012-02-01 19:58:44 +01:00
Ian Lance Taylor
f4f3b9d396
compiler: Permit a general expression in case x := <-c.
...
From-SVN: r183802
2012-02-01 14:29:28 +00:00
Georg-Johann Lay
c2453253e7
avr.c: Resolve all AS1 and AS2 macros.
...
* config/avr/avr.c: Resolve all AS1 and AS2 macros.
* config/avr/avr.h (AS1, AS2, AS2C, AS3): Remove.
(OUT_AS1, OUT_AS2): Remove.
From-SVN: r183800
2012-02-01 13:21:21 +00:00
Georg-Johann Lay
619392851d
re PR rtl-optimization/51374 ([avr] insn combine reorders volatile memory accesses)
...
PR rtl-optimization/51374
* gcc.target/avr/torture/pr51374-1.c:
Also fail if SBIS is seen.
From-SVN: r183798
2012-02-01 12:46:39 +00:00
Georg-Johann Lay
07ad5438a1
re PR rtl-optimization/51374 ([avr] insn combine reorders volatile memory accesses)
...
gcc/
PR rtl-optimization/51374
* combine.c (can_combine_p): Don't allow volatile_refs_p insns
to cross other volatile_refs_p insns.
gcc/testsuite/
PR rtl-optimization/51374
* testsuite/gcc.target/avr/torture/pr51374-1.c: New.
From-SVN: r183796
2012-02-01 11:35:34 +00:00
Kai Tietz
76a3962fe9
re PR libgcj/51500 (106 unexpected libjava testsuite failures with mingw32)
...
PR target/51500
* interpret.cc (_Jv_init_cif): Handle thiscall
convention for 32-bit Windows.
* java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
Likewise.
* java/lang/reflect/natVMProxy.cc (invoke_t): Add
thiscall-attribute for 32-bit Windows.
From-SVN: r183794
2012-02-01 11:46:36 +01:00
Tristan Gingold
337c6e076c
trans.c (Loop_Statement_to_gnu): Use sizetype instead of size_type_node.
...
2012-02-01 Tristan Gingold <gingold@adacore.com>
* gcc-interface/trans.c (Loop_Statement_to_gnu): Use sizetype
instead of size_type_node.
From-SVN: r183793
2012-02-01 09:52:28 +00:00
Richard Guenther
99ea07f8f0
invoke.texi (fno-inline): Clarify documentation.
...
2012-02-01 Richard Guenther <rguenther@suse.de>
* doc/invoke.texi (fno-inline): Clarify documentation.
(finline-small-functions): Likewise.
(finline-functions): Likewise.
* common.opt (finline): Adjust comment and documentation.
(finline-small-functions): Clarify documentation.
(finline-functions): Likewise.
(finline-functions-called-once): Likewise.
From-SVN: r183792
2012-02-01 09:20:32 +00:00
Tristan Gingold
3db684fb89
c-typeck.c (composite_type): Keep mode for pointers.
...
2012-02-01 Tristan Gingold <gingold@adacore.com>
* c-typeck.c (composite_type): Keep mode for pointers.
From-SVN: r183791
2012-02-01 08:49:11 +00:00
Jonathan Wakely
488b3e6573
re PR libstdc++/49204 ([C++0x] remaining issues in <future>)
...
PR libstdc++/49204
* include/std/future (__future_base::_State_base::wait()): Use lambda
expression for predicate and remove redundant test.
(__future_base::_State_base::wait_for()): Return future_status and
use lambda expression for predicate.
(__future_base::_State_base::wait_until()): Likewise.
(__basic_future::wait_for(), __basic_future::wait_until()): Likewise.
(__future_base::_Async_state): Replace with _Async_state_common
class for non-dependent functionality and _Async_state_impl class
template for dependent functionality.
(__future_base::_Async_state_common::_M_join): Serialize attempts to
join thread.
(__future_base::_Async_state_common::_M_run_deferred): Join.
(__future_base::_Async_state::_M_do_run): Replace with lambda.
* src/c++11/future.cc (__future_base::_Async_state_common): Define
destructor, so key function is in the library.
* config/abi/pre/gnu.ver: Add exports for ~_Async_state_common.
* testsuite/30_threads/packaged_task/members/get_future.cc: Expect
future_status return instead of bool.
* testsuite/30_threads/shared_future/members/wait_until.cc: Likewise.
* testsuite/30_threads/shared_future/members/wait_for.cc: Likewise.
* testsuite/30_threads/future/members/wait_until.cc: Likewise.
* testsuite/30_threads/future/members/wait_for.cc: Likewise.
* testsuite/30_threads/promise/members/set_value2.cc: Likewise.
* testsuite/30_threads/promise/members/set_value3.cc: Likewise.
* testsuite/30_threads/promise/members/swap.cc: Likewise.
From-SVN: r183788
2012-02-01 00:20:08 +00:00
GCC Administrator
3627585bcf
Daily bump.
...
From-SVN: r183787
2012-02-01 00:19:29 +00:00
Ian Lance Taylor
a763aa92e5
compiler: Don't crash on type switch case nil with selector.
...
From-SVN: r183782
2012-02-01 00:02:58 +00:00
Ian Lance Taylor
7d18953823
syscall: Add Gettid on GNU/Linux systems.
...
From-SVN: r183775
2012-01-31 20:47:55 +00:00
Joseph Myers
e15999a5ed
* uk.po: Update.
...
From-SVN: r183774
2012-01-31 19:57:49 +00:00