Uros Bizjak
529a66ea53
re PR target/42549 (Incorrect 3DNow! code generated)
...
PR target/42549
* config/i386/mmx.md ("*mmx_subv2sf3): Fix insn operand number for
alternative 1.
testsuite/ChangeLog:
PR target/42549
* gcc.target/i386/mmx-3dnow-check.h: New file.
* gcc.target/i386/pr42549.c: New test.
From-SVN: r155519
2009-12-30 12:07:12 +01:00
Robert Millan
8404785839
re PR other/42537 ([PATCH] misc spelling fixes)
...
/gcc
2009-12-30 Robert Millan <rmh.gcc@aybabtu.com>
PR other/42537
* errors.c: Fix typo in comment.
* graphite-sese-to-poly.c: Likewise.
* profile.c (is_inconsistent): Fix typo in string.
/libjava
2009-12-30 Robert Millan <rmh.gcc@aybabtu.com>
PR other/42537
* classpath/java/rmi/activation/Activatable.java: Fix typos in comment.
From-SVN: r155518
2009-12-30 10:53:31 +00:00
Paolo Carlini
0ac3a9af09
stl_iterator.h.: Fix typo in comment.
...
2009-12-30 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/stl_iterator.h.: Fix typo in comment.
From-SVN: r155517
2009-12-30 10:34:41 +00:00
Ian Lance Taylor
f6c1336cbe
re PR middle-end/42099 (Error in 64-bit division for 32-bit target)
...
./: PR middle-end/42099
* expmed.c (expand_divmod): Don't shift HOST_WIDE_INT value more
than HOST_BITS_PER_WIDE_INT.
testsuite/:
PR middle-end/42099
* gcc.c-torture/execute/20091229-1.c: New test.
From-SVN: r155516
2009-12-30 04:27:55 +00:00
Edward Smith-Rowland
53bc54ecc0
random.h: Fix equation in comment of Weibull distro.
...
2009-12-29 Edward Smith-Rowland <3dw4rd@verizon.net>
* include/bits/random.h: Fix equation in comment of Weibull distro.
From-SVN: r155515
2009-12-30 02:08:23 +00:00
GCC Administrator
b6c524d03d
Daily bump.
...
From-SVN: r155514
2009-12-30 00:16:52 +00:00
H.J. Lu
981fb32695
i386.c (ix86_expand_int_vcond): Reformat.
...
2009-12-29 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (ix86_expand_int_vcond): Reformat.
From-SVN: r155509
2009-12-29 13:05:13 -08:00
Janus Weil
8b5f6dd83d
re PR fortran/42517 (-fcheck=recursion does not work with -fopenmp)
...
gcc/fortran/
2009-12-29 Janus Weil <janus@gcc.gnu.org>
PR fortran/42517
* invoke.texi: Document the interference of
-fcheck=recursion and -fopenmp.
* trans-decl.c (gfc_generate_function_code): Disable -fcheck=recursion
when used with -fopenmp.
gcc/testsuite/
2009-12-29 Janus Weil <janus@gcc.gnu.org>
PR fortran/42517
* gfortran.dg/gomp/recursion1.f90: New test.
From-SVN: r155506
2009-12-29 20:29:54 +01:00
Eric Botcazou
af6ffd394a
test_raise_from_pure.adb: XFAIL for the ARM.
...
* gnat.dg/test_raise_from_pure.adb: XFAIL for the ARM.
* gnat.dg/warn5.adb: Expect warning on the ARM.
From-SVN: r155505
2009-12-29 16:12:03 +00:00
Paolo Carlini
700d289947
bitset (bitset<>::to_ullong, [...]): Add.
...
2009-12-29 Paolo Carlini <paolo.carlini@oracle.com>
* include/std/bitset (bitset<>::to_ullong, _M_do_to_ullong): Add.
(_Base_bitset<>::_M_do_to_ullong): Add.
* include/debug/bitset (bitset<>): Add using _Base::to_ullong.
* include/profile/bitset (bitset<>): Likewise.
* testsuite/23_containers/bitset/to_ullong/1.cc: New.
From-SVN: r155504
2009-12-29 12:24:36 +00:00
Joseph Myers
497d63a44e
* zh_CN.po: Update.
...
From-SVN: r155503
2009-12-29 11:48:31 +00:00
Joel Brobecker
df7b6aaae4
* dwarf2.h (enum dwarf_attribute): Add DW_AT_GNAT_descriptive_type.
...
From-SVN: r155501
2009-12-29 04:14:21 +00:00
Dave Korn
d8299715e0
re PR target/41595 (object-c++ mangled local labels are not correctly recognized.)
...
2009-10-06 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
PR objective-c++/41595
* config/darwin.c (darwin_label_is_anonymous_local_objc_name):
New function to recognize objective c/c++ internal symbols,
including mangled ones.
* config/darwin.h (ASM_OUTPUT_LABELREF): Use
darwin_label_is_anonymous_local_objc_name to detect both
mangled and clear ObjC internal symbols.
From-SVN: r155500
2009-12-29 04:13:09 +00:00
Jason Merrill
4db98b6eb5
re PR c++/42447 (ICE during processing complex templates)
...
PR c++/42447
* pt.c (iterative_hash_template_arg): Don't rely on TYPE_CANONICAL
for ARRAY_TYPE.
From-SVN: r155499
2009-12-28 22:33:24 -05:00
Paolo Carlini
2838468cc3
bitset (bitset<>::bitset(const char*)): Add.
...
2009-12-28 Paolo Carlini <paolo.carlini@oracle.com>
* include/debug/bitset (bitset<>::bitset(const char*)): Add.
* include/profile/bitset (bitset<>::bitset(const char*)): Likewise.
From-SVN: r155498
2009-12-29 00:29:12 +00:00
GCC Administrator
25bf76a523
Daily bump.
...
From-SVN: r155497
2009-12-29 00:17:09 +00:00
Janus Weil
aba7171d5f
re PR fortran/42353 ([OOP] Bogus Error: Name 'vtype$...' at (1) is an ambiguous reference ...)
...
gcc/fortran/
2009-12-28 Janus Weil <janus@gcc.gnu.org>
PR fortran/42353
* symbol.c (gfc_find_derived_vtab): Make vtabs and vtypes private.
gcc/testsuite/
2009-12-28 Janus Weil <janus@gcc.gnu.org>
PR fortran/42353
* gfortran.dg/class_13.f03: New test.
From-SVN: r155494
2009-12-29 00:13:03 +01:00
David Edelsohn
72b79d3945
ffi_darwin.c (ffi_prep_args): Copy abi and nargs to local variables.
...
* src/powerpc/ffi_darwin.c (ffi_prep_args): Copy abi and nargs to
local variables.
(aix_adjust_aggregate_sizes): New function.
(ffi_prep_cif_machdep): Call it.
From-SVN: r155492
2009-12-28 13:19:18 -05:00
H.J. Lu
36960f2e20
Correct pathname.
...
From-SVN: r155490
2009-12-28 08:57:01 -08:00
H.J. Lu
58e9bc70a6
Mention PR middle-end/41344.
...
From-SVN: r155488
2009-12-28 08:44:34 -08:00
H.J. Lu
ca50f84ad9
Handle GIMPLE_COND in diagnose_sb_2.
...
gcc/
2009-12-28 H.J. Lu <hongjiu.lu@intel.com>
PR middle-end/41344
* omp-low.c (diagnose_sb_2): Handle GIMPLE_COND.
gcc/testsuite/
2009-12-28 H.J. Lu <hongjiu.lu@intel.com>
* gfortran.dg/gomp/pr41344.f: New.
From-SVN: r155487
2009-12-28 08:41:33 -08:00
Christopher Faylor
f77f39454c
MAINTAINERS: Change my email address.
...
* MAINTAINERS: Change my email address.
From-SVN: r155486
2009-12-28 04:50:44 +00:00
Martin Jambor
c5b338ad9d
re PR tree-optimization/42231 (Wrong generated code when using a callback function (possible callback function inlining bug ?))
...
2009-12-27 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/42231
* testsuite/gcc.c-torture/execute/pr42231.c: New test.
From-SVN: r155485
2009-12-28 02:41:07 +01:00
GCC Administrator
a85f9f14de
Daily bump.
...
From-SVN: r155484
2009-12-28 00:16:38 +00:00
Joseph Myers
4852f38b7c
* sv.po: Update.
...
From-SVN: r155480
2009-12-27 18:40:21 +00:00
Francois-Xavier Coudert
ca071303a5
re PR fortran/22552 (Would like warning when an undeclared function is called)
...
2009-12-27 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Daniel Kraft <d@domob.eu>
PR fortran/22552
* lang.opt (Wimplicit-procedure): New option.
* gfortran.h (struct gfc_option_t): New member `warn_implicit_procedure'
* options.c (gfc_handle_option): Handle -Wimplicit-procedure.
* interface.c (gfc_procedure_use): Warn about procedure never
explicitly declared if requested by the new flag.
* invoke.texi: Document new flag -Wimplicit-procedure.
2009-12-27 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Daniel Kraft <d@domob.eu>
PR fortran/22552
* gfortran.dg/warn_implicit_procedure_1.f90: New test.
Co-Authored-By: Daniel Kraft <d@domob.eu>
From-SVN: r155479
2009-12-27 10:30:57 +01:00
GCC Administrator
6f352c3a70
Daily bump.
...
From-SVN: r155478
2009-12-27 00:17:00 +00:00
Andreas Tobler
99fba2c42a
configure.ac: Define FFI_MMAP_EXEC_WRIT for the given targets.
...
2009-12-26 Andreas Tobler <a.tobler@schweiz.org>
* configure.ac: Define FFI_MMAP_EXEC_WRIT for the given targets.
* configure: Regenerate.
* fficonfig.h.in: Likewise.
* src/closures.c: Remove the FFI_MMAP_EXEC_WRIT definition for
Solaris/x86.
From-SVN: r155475
2009-12-26 19:49:55 +01:00
Andreas Schwab
302486f4fb
ffi.c (ffi_prep_args_SYSV): Advance intarg_count when a float arguments is passed in memory.
...
* src/powerpc/ffi.c (ffi_prep_args_SYSV): Advance intarg_count
when a float arguments is passed in memory.
(ffi_closure_helper_SYSV): Mark general registers as used up when
a 64bit or soft-float long double argument is passed in memory.
From-SVN: r155473
2009-12-26 12:40:27 +00:00
Anthony Green
b8f38e8917
Fix ChangeLog entry date
...
From-SVN: r155472
2009-12-26 05:04:08 +00:00
Matthias Klose
2c57b16134
Fix libffi docs
...
From-SVN: r155471
2009-12-26 05:01:43 +00:00
Frank Everdij
c4205f77f3
IRIX support
...
From-SVN: r155470
2009-12-26 04:59:25 +00:00
Bradley Smith
124f60ab29
avr32 libffi port
...
From-SVN: r155469
2009-12-26 04:21:07 +00:00
GCC Administrator
f8b9b505f2
Daily bump.
...
From-SVN: r155468
2009-12-26 00:17:04 +00:00
GCC Administrator
ac96f086a1
Daily bump.
...
From-SVN: r155464
2009-12-25 00:16:44 +00:00
Jason Merrill
db10df3dfc
PR c++/41305, DR 384
...
PR c++/41305, DR 384
* name-lookup.c (arg_assoc_class): Split out arg_assoc_class_only
and arg_assoc_bases.
(friend_of_associated_class_p): Remove.
(arg_assoc_namespace): Don't call it.
(arg_assoc_template_arg): Use arg_assoc_class_only for member
template context.
(arg_assoc_type): Handle UNION_TYPE and ENUMERAL_TYPE properly.
* name-lookup.c (arg_assoc): Handle TEMPLATE_ID_EXPR properly.
From-SVN: r155461
2009-12-24 16:46:14 -05:00
Andy Hutchinson
17fad3611f
re PR target/42457 (AVR fails to build with other than C family languages)
...
2009-12-24 Andy Hutchinson <hutchinsonandy@gcc.gnu.org>
PR target/42457
* config/avr/avr.c (avr_extra_arch_macro): Remove static.
(avr_cpu_cpp_builtins): Remove.
* config/avr/avr.h (avr_extra_arch_macro): Add prototype.
* config/avr/avr-c.c: New File.
(avr_cpu_cpp_builtins) : Add.
* config/avr/t-avr: Add make information for avr-c.
* config.gcc (avr-*-*): Include avr-c.o as c and cpp object.
From-SVN: r155460
2009-12-24 20:32:38 +00:00
Andy Hutchinson
846428f11f
PR target/35013, 27192
...
2009-12-24 Andy Hutchinson <hutchinsonandy@gcc.gnu.org>
PR target/35013, 27192
* config/avr/avr.c (print_operand_address): Print correct program
memory address.
Add warning for large device offset addresses.
(avr_assemble_integer): Ditto.
(print_operand): Add warnings for incorrect addressing.
(out_movqi_r_mr): Tag assembler with new address codes.
(out_movhi_r_mr): Ditto.
(out_movsi_r_mr): Ditto.
(out_movqi_mr_r): Ditto.
(out_movhi_mr_r): Ditto.
(out_movsi_mr_r): Ditto.
* config/avr/predicates.md (text_segment_operand): New predicate.
* config/avr/avr.md (jump): Tag assembler with new address codes.
(call_insn): Ditto.
(call_value_insn): Ditto.
(*tablejump_lib): Ditto.
(*cbi): Ditto.
(*sbi): Ditto.
(indirect_jump): New define_expand.
(jcindirect_jump): New pattern for constant expression jump.
(njcindirect_jump): Renamed old indirect_jump.
From-SVN: r155459
2009-12-24 19:53:57 +00:00
Paolo Carlini
a1b418cb9f
[multiple changes]
...
2009-12-24 Edward Smith-Rowland <3dw4rd@verizon.net>
Paolo Carlini <paolo.carlini@oracle.com>
* include/std/bitset (bitset<>::bitset(const char*)): Add.
2009-12-24 Jonathan Wakely <jwakely.gcc@gmail.com>
Edward Smith-Rowland <3dw4rd@verizon.net>
* testsuite/23_containers/bitset/cons/2.cc: New.
From-SVN: r155458
2009-12-24 18:12:02 +00:00
Jonathan Wakely
c5a2375241
functional (bind): Avoid invalid instantiations for bind<void>.
...
2009-12-24 Jonathan Wakely <jwakely.gcc@gmail.com>
* include/std/functional (bind): Avoid invalid instantiations
for bind<void>.
* testsuite/20_util/bind/conv_result.cc: New.
From-SVN: r155457
2009-12-24 14:54:33 +00:00
Paolo Carlini
0800b8ea79
stl_deque.h (copy_backward(_Deque_iterator, _Deque_iterator, _Deque_iterator), [...]): Declare.
...
2009-12-24 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/stl_deque.h (copy_backward(_Deque_iterator,
_Deque_iterator, _Deque_iterator), move_backward(_Deque_iterator,
_Deque_iterator, _Deque_iterator)): Declare.
* include/bits/deque.tcc: Implement the latter.
* testsuite/performance/25_algorithms/
copy_backward_deque_iterators.cc: New.
* testsuite/25_algorithms/move_backward/deque_iterators/1.cc: Likewise.
* testsuite/25_algorithms/copy_backward/deque_iterators/1.cc: Likewise.
* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
Adjust dg-error line number.
* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
Likewise.
* testsuite/23_containers/deque/requirements/dr438/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/deque/requirements/dr438/
constructor_2_neg.cc: Likewise.
From-SVN: r155455
2009-12-24 12:47:37 +00:00
Steven Bosscher
b114d73a7b
store-motion.c (build_store_vectors): Clear regs_set_in_block at the start of a loop over basic blocks.
...
* store-motion.c (build_store_vectors): Clear regs_set_in_block at
the start of a loop over basic blocks.
From-SVN: r155454
2009-12-24 12:28:52 +00:00
Julian Brown
0986ef456e
re PR target/40887 (GCC generates suboptimal code for indirect function calls on ARM)
...
Fix PR target/40887
2009-12-24 Julian Brown <julian@codesourcery.com>
Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
PR target/40887
* config/arm/arm.c (output_call_mem): Remove armv5 support.
* config/arm/arm.md (*call_mem): Disable for armv5. Add note.
(*call_value_mem): Likewise.
PR target/40887
* gcc.target/gcc.arm/pr40887.c: New test.
Co-Authored-By: Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
From-SVN: r155453
2009-12-24 10:46:00 +00:00
GCC Administrator
0b8a1859cf
Daily bump.
...
From-SVN: r155447
2009-12-24 00:16:52 +00:00
Cary Coutant
b67d99f8af
Fixed ChangeLog entry.
...
From-SVN: r155434
2009-12-23 11:02:07 -08:00
Paolo Carlini
a1ebe9ac3e
5.cc: Move...
...
2009-12-23 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/25_algorithms/copy/5.cc: Move...
* testsuite/25_algorithms/copy/deque_iterators/1.cc: ... here.
* testsuite/25_algorithms/move/2.cc: Move...
* testsuite/25_algorithms/move/deque_iterators/1.cc: ... here.
From-SVN: r155433
2009-12-23 18:45:41 +00:00
Paolo Carlini
e2bf200700
stl_deque.h (copy(_Deque_iterator, _Deque_iterator, _Deque_iterator), [...]): Declare.
...
2009-12-23 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/stl_deque.h (copy(_Deque_iterator, _Deque_iterator,
_Deque_iterator), move(_Deque_iterator, _Deque_iterator,
_Deque_iterator)): Declare.
* include/bits/deque.tcc: Implement the latter.
* testsuite/performance/25_algorithms/copy_deque_iterators.cc: New.
* testsuite/25_algorithms/move/2.cc: Likewise.
* testsuite/25_algorithms/copy/5.cc: Likewise.
* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
Adjust dg-error line number.
* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
Likewise.
* testsuite/23_containers/deque/requirements/dr438/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/deque/requirements/dr438/
constructor_2_neg.cc: Likewise.
From-SVN: r155432
2009-12-23 17:14:15 +00:00
Jakub Jelinek
7f7211fb3f
re PR rtl-optimization/42475 (ICE at -O1 and above: internal compiler error: in simplify_subreg, at simplify-rtx.c:4954)
...
PR rtl-optimization/42475
* combine.c (make_compound_operation) <case SUBREG>: Use mode of
SUBREG_REG (x) instead of tem's mode.
* gcc.dg/pr42475.c: New test.
From-SVN: r155430
2009-12-23 18:04:07 +01:00
Jakub Jelinek
374b9cb810
re PR debug/42454 (debug_ranges table contains empty range for unused .text section with -ffunction-sections)
...
PR debug/42454
* dwarf2out.c (add_ranges_by_labels_to_AT_range_list): New function.
(dwarf2out_finish): Call add_ranges_by_labels_to_AT_range_list.
* gcc.dg/debug/dwarf2/aranges-fnsec-1.c: Add check for .debug_ranges.
Co-Authored-By: Cary Coutant <ccoutant@google.com>
From-SVN: r155429
2009-12-23 17:54:35 +01:00
Ramana Radhakrishnan
83c3a2d826
re PR target/42093 (Compressed switch tables for Thumb2 have signed offsets)
...
Fix PR target/42093
2009-12-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
PR target/42093
* config/arm/arm.h (CASE_VECTOR_PC_RELATIVE): Fix macro usage
to TARGET_THUMB1.
(CASE_VECTOR_SHORTEN_MODE): Allow signed offsets
only for TARGET_THUMB1.
2009-12-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
PR target/42093
* gcc.target/arm/pr42093.c: New test.
From-SVN: r155428
2009-12-23 16:36:40 +00:00