Richard Guenther [Sun, 3 Jan 2010 15:23:29 +0000 (15:23 +0000)]
re PR rtl-optimization/42589 (bswap optimization does not work for 32bit (but for 64bit) on 64bit registers)
2010-01-03 Richard Guenther <rguenther@suse.de>
PR tree-optimization/42589
* tree-ssa-math-opts.c (execute_optimize_bswap): Allow
double-word expansion of bswap32.
* gcc.target/i386/pr42589.c: New testcase.
From-SVN: r155588
Paolo Carlini [Sun, 3 Jan 2010 14:50:09 +0000 (14:50 +0000)]
hashtable (_Hashtable<>): Remove insert_return_type typedef.
2010-01-03 Paolo Carlini <paolo.carlini@oracle.com>
* include/tr1_impl/hashtable (_Hashtable<>): Remove insert_return_type
typedef.
* include/profile/unordered_map (unordered_map<>::insert(const
value_type&), unordered_multimap<>::insert(const value_type&)): Adjust.
* include/profile/unordered_set (unordered_set<>::insert(const
value_type&), unordered_multimap<>::insert(const value_type&)):
Likewise.
From-SVN: r155587
Steven Bosscher [Sun, 3 Jan 2010 13:13:03 +0000 (13:13 +0000)]
postreload-gcse.c (insert_expr_in_table): Replace BLOCK_NUM with BLOCK_FOR_INSN.
* postreload-gcse.c (insert_expr_in_table): Replace BLOCK_NUM
with BLOCK_FOR_INSN.
* auto-inc-dec.c (attempt_change, get_next_ref, find_inc): Likewise.
* ifcvt.c (noce_get_alt_condition, noce_try_abs,
noce_process_if_block): Likewise.
* gcse.c (compute_local_properties, insert_expr_in_table,
insert_set_in_table, canon_list_insert, find_avail_set,
pre_insert_copy_insn): Likewise.
* basic-block.h (BLOCK_NUM): Move from here...
* sched-int.h (BLOCK_NUM): ... to here to localize it in the scheduler.
From-SVN: r155586
Paolo Carlini [Sun, 3 Jan 2010 12:06:59 +0000 (12:06 +0000)]
stl_pair.h (pair<>::pair(_U1&&, const _T2&), [...]): Use std::is_constructible instead of std::is_convertible.
2010-01-03 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/stl_pair.h (pair<>::pair(_U1&&, const _T2&),
pair<>::pair(const _T1&, _U2&&), pair<>::pair(_U1&&, _U2&&)):
Use std::is_constructible instead of std::is_convertible.
From-SVN: r155585
Richard Guenther [Sun, 3 Jan 2010 12:06:02 +0000 (12:06 +0000)]
re PR tree-optimization/42438 (Fix for PR38819 is too conservative)
2010-01-03 Richard Guenther <rguenther@suse.de>
PR tree-optimization/42438
* tree-ssa-pre.c (struct bb_bitmap_sets): Add
contains_may_not_return_call flag.
(BB_MAY_NOTRETURN): New.
(valid_in_sets): Trapping nary operations are not valid
in blocks that may not return.
(insert_into_preds_of_block): Remove check for trapping
expressions.
(compute_avail): Compute also BB_MAY_NOTRETURN.
* gcc.dg/tree-ssa/ssa-pre-27.c: New testcase.
From-SVN: r155584
Gerald Pfeifer [Sun, 3 Jan 2010 10:06:56 +0000 (10:06 +0000)]
* doc/invoke.texi: Add 2010 to copyright years.
From-SVN: r155583
Eric Botcazou [Sun, 3 Jan 2010 09:49:01 +0000 (09:49 +0000)]
* config/sparc/sparc.c: Fix formatting nits.
From-SVN: r155582
GCC Administrator [Sun, 3 Jan 2010 00:16:41 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r155581
Gerald Pfeifer [Sat, 2 Jan 2010 19:23:00 +0000 (19:23 +0000)]
invoke.texi (Optimize Options): Reword introduction a bit.
* doc/invoke.texi (Optimize Options): Reword introduction a bit.
Co-Authored-By: Alexander Monakov <amonakov@ispras.ru>
From-SVN: r155578
Richard Guenther [Sat, 2 Jan 2010 19:14:52 +0000 (19:14 +0000)]
re PR middle-end/42577 (array bounds false positive with -O3, goes away with -O2)
2010-01-02 Richard Guenther <rguenther@suse.de>
PR middle-end/42577
* tree-vrp.c (check_all_array_refs): Skip non-excutable blocks.
(simplify_switch_using_ranges): Mark to be removed edges
as non-executable.
From-SVN: r155577
H.J. Lu [Sat, 2 Jan 2010 17:30:12 +0000 (17:30 +0000)]
Stop if the command line option file is missing
2010-01-02 H.J. Lu <hongjiu.lu@intel.com>
PR lto/42580
* lto-elf.c (lto_elf_file_open): Stop if the command line
option file is missing.
From-SVN: r155575
John David Anglin [Sat, 2 Jan 2010 17:27:47 +0000 (17:27 +0000)]
t-slibgcc-dwarf-ver (SHLIB_SOVERSION): Bump by two.
* config/pa/t-slibgcc-dwarf-ver (SHLIB_SOVERSION): Bump by two.
From-SVN: r155574
John David Anglin [Sat, 2 Jan 2010 16:47:40 +0000 (16:47 +0000)]
collect2.c (scan_libraries): Add missing argument to call to scan_prog_file.
* collect2.c (scan_libraries): Add missing argument to call to
scan_prog_file.
From-SVN: r155572
Richard Guenther [Sat, 2 Jan 2010 14:38:57 +0000 (14:38 +0000)]
re PR testsuite/41651 (g++.dg/lto/
20080908-3.C is broken)
2010-01-02 Richard Guenther <rguenther@suse.de>
PR testsuite/41651
* g++.dg/lto/
20080908-3_0.C: Avoid uninitialized vars.
From-SVN: r155569
Uros Bizjak [Sat, 2 Jan 2010 14:18:41 +0000 (15:18 +0100)]
re PR target/42448 (Wrong code with _Complex char in structure)
PR target/42448
* config/alpha/predicates.md (aligned_memory_operand): Return false
for CQImode.
(unaligned_memory_operand): Return true for CQImode.
* config/alpha/alpha.c (get_aligned_mem): Assert that location
doesn not cross aligned SImode word boundary.
testsuite/ChangeLog:
PR target/42448
* gcc.target/alpha/pr42448-1.c: New test.
* gcc.target/alpha/pr42448-2.c: Ditto.
From-SVN: r155566
Richard Guenther [Sat, 2 Jan 2010 14:13:37 +0000 (14:13 +0000)]
re PR bootstrap/41529 (LTO configuration should detect if the target is ELF)
2010-01-02 Richard Guenther <rguenther@suse.de>
PR lto/41529
* configure.ac: Include config/elf.m4. Disable LTO if not
builting for an elf target.
* configure: Regenerate.
config/
* elf.m4: New file.
From-SVN: r155565
Anatoly Sokolov [Sat, 2 Jan 2010 11:24:02 +0000 (14:24 +0300)]
avr.h (REG_OK_FOR_BASE_P, [...]): Remove.
* config/avr/avr.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P,
XEXP_) : Remove.
* config/avr/avr-protos.h (avr_init_once, avr_optimization_options,
avr_change_section, avr_reg_class_from_letter) : Remove declaration.
From-SVN: r155564
Richard Guenther [Sat, 2 Jan 2010 11:11:37 +0000 (11:11 +0000)]
re PR lto/41597 (Bad .comm directive)
2010-01-02 Richard Guenther <rguenther@suse.de>
PR lto/41597
* toplev.c (compile_file): Emit LTO marker properly. Change
it to __gnu_lto_v1.
* collect2.c (scan_prog_file): Adjust for changed LTO marker.
From-SVN: r155563
GCC Administrator [Sat, 2 Jan 2010 00:16:50 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r155562
Richard Guenther [Fri, 1 Jan 2010 20:22:17 +0000 (20:22 +0000)]
re PR debug/42455 ("-fcompare-debug failure" at -O2 in 'recent' builds)
2010-01-01 Richard Guenther <rguenther@suse.de>
PR debug/42455
* tree-sra.c (analyze_all_variable_accesses): Work in DECL_UID
order.
From-SVN: r155559
Joseph Myers [Fri, 1 Jan 2010 18:08:17 +0000 (18:08 +0000)]
re PR preprocessor/41947 (GCC Hexadecimal Floating point constant handling)
libcpp:
PR preprocessor/41947
* expr.c (cpp_classify_number): Give error for hexadecimal
floating-point constant with no digits before or after point.
gcc/testsuite:
* gcc.dg/c99-hexfloat-3.c: New test.
From-SVN: r155558
Richard Guenther [Fri, 1 Jan 2010 17:19:02 +0000 (17:19 +0000)]
re PR c/42570 (ICE in get_alias_set, at alias.c:710)
2010-01-01 Richard Guenther <rguenther@suse.de>
PR c/42570
* c-decl.c (grokdeclarator): For zero-size arrays force
structural equality checks as layout_type does.
* gcc.c-torture/execute/pr42570.c: New testcase.
From-SVN: r155557
H.J. Lu [Fri, 1 Jan 2010 17:08:32 +0000 (17:08 +0000)]
Move 2009 ChangeLog to ChangeLog-2009.
From-SVN: r155556
H.J. Lu [Fri, 1 Jan 2010 16:49:15 +0000 (16:49 +0000)]
Remove asterisk in LTO section name.
2010-01-01 H.J. Lu <hongjiu.lu@intel.com>
PR lto/42531
* lto-streamer-out.c (produce_asm): Revert the last change.
(copy_function): Likewise.
* lto-streamer.c (lto_get_section_name): Skip any leading
asterisk in name.
From-SVN: r155555
Richard Guenther [Fri, 1 Jan 2010 13:56:50 +0000 (13:56 +0000)]
re PR middle-end/42559 (ice in emit_block_move_hints with -O2)
2010-01-01 Richard Guenther <rguenther@suse.de>
PR middle-end/42559
* builtins.c (get_object_alignment): Do not use DECL_ALIGN
for LABEL_DECLs.
* gcc.c-torture/compile/pr42559.c: New testcase.
From-SVN: r155554
Anthony Green [Fri, 1 Jan 2010 12:50:08 +0000 (12:50 +0000)]
Update README for libffi 3.0.9.
From-SVN: r155553
Matthias Klose [Fri, 1 Jan 2010 12:46:02 +0000 (12:46 +0000)]
Define HAVE_LONG_DOUBLE appropriately for MIPS.
From-SVN: r155552
Anthony Green [Fri, 1 Jan 2010 12:40:18 +0000 (12:40 +0000)]
xfail tests for AVR32
From-SVN: r155551
Andreas Tobler [Fri, 1 Jan 2010 12:36:07 +0000 (12:36 +0000)]
Fixes for HPUX.
From-SVN: r155550
Andreas Tobler [Fri, 1 Jan 2010 12:32:24 +0000 (12:32 +0000)]
Add openbsd support.
From-SVN: r155549
Anthony Green [Fri, 1 Jan 2010 12:26:49 +0000 (12:26 +0000)]
Update xfails.
From-SVN: r155548
Paolo Carlini [Fri, 1 Jan 2010 11:27:50 +0000 (11:27 +0000)]
2010-01-01 Paolo Carlini <paolo.carlini@oracle.com>
Revert last change, reinstantiate basic_string and vstring tests.
From-SVN: r155547
Paolo Carlini [Fri, 1 Jan 2010 10:20:53 +0000 (10:20 +0000)]
propagation_consistent.cc: Remove, cannot instantiate basic_string for non-PODs (21/1).
2010-01-01 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/21_strings/basic_string/requirements/exception/
propagation_consistent.cc: Remove, cannot instantiate basic_string
for non-PODs (21/1).
* testsuite/21_strings/basic_string/requirements/exception/
basic.cc: Likewise.
* testsuite/21_strings/basic_string/requirements/exception/
generation_prohibited.cc: Likewise.
* testsuite/ext/vstring/requirements/exception/
propagation_consistent.cc: Likewise.
* testsuite/ext/vstring/requirements/exception/basic.cc:
Likewise.
* testsuite/ext/vstring/requirements/exception/
generation_prohibited.cc: Likewise.
From-SVN: r155546
Benjamin Kosnik [Fri, 1 Jan 2010 03:38:58 +0000 (03:38 +0000)]
PR libstdc++/21772 part 3
2009-12-31 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/21772 part 3
* include/ext/throw_allocator.h: Add _GLIBCXX_IS_AGGREGATE.
* testsuite/util/testsuite_container_traits.h (traits<std::map>):
Add has_insert.
(traits<std::multimap>): Add has_insert.
(traits<std::multiset>): Add has_size_type_constructor.
* testsuite/23_containers/array/requirements/exception/
generation_prohibited.cc: New.
* testsuite/21_strings/basic_string/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/ext/vstring/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/23_containers/unordered_map/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/23_containers/multimap/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/23_containers/set/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/23_containers/unordered_multimap/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/23_containers/forward_list/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/23_containers/unordered_set/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/23_containers/vector/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/23_containers/deque/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/23_containers/multiset/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/23_containers/unordered_multiset/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/23_containers/map/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
From-SVN: r155545
Benjamin Kosnik [Fri, 1 Jan 2010 00:30:45 +0000 (00:30 +0000)]
intro.xml: Order TR's at the end of status.
2009-12-31 Benjamin Kosnik <bkoz@redhat.com>
* doc/xml/manual/intro.xml: Order TR's at the end of status.
* doc/xml/manual/abi.xml: Update.
* doc/xml/manual/evolution.xml: Put in stubs.
From-SVN: r155544
GCC Administrator [Fri, 1 Jan 2010 00:16:56 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r155543
Anthony Green [Thu, 31 Dec 2009 17:44:32 +0000 (17:44 +0000)]
Windows patch
From-SVN: r155540
Paolo Carlini [Thu, 31 Dec 2009 17:31:28 +0000 (17:31 +0000)]
bitset (bitset<>::bitset(unsigned long long), [...]): Add in C++0x mode.
2009-12-31 Paolo Carlini <paolo.carlini@oracle.com>
* include/std/bitset (bitset<>::bitset(unsigned long long),
_Base_bitset<>::_Base_bitset(unsigned long long)): Add
in C++0x mode.
* testsuite/23_containers/bitset/cons/3.cc: New.
From-SVN: r155539
Anthony Green [Thu, 31 Dec 2009 16:58:55 +0000 (16:58 +0000)]
New test case.
From-SVN: r155538
Paolo Carlini [Thu, 31 Dec 2009 14:38:01 +0000 (14:38 +0000)]
type_traits: Fix minor stylistic nit.
2009-12-31 Paolo Carlini <paolo.carlini@oracle.com>
* include/std/type_traits: Fix minor stylistic nit.
From-SVN: r155537
Paolo Carlini [Thu, 31 Dec 2009 14:04:23 +0000 (14:04 +0000)]
type_traits (__is_constructible_helper1): Rename to __is_constructible_helper1...
2009-12-31 Paolo Carlini <paolo.carlini@oracle.com>
* include/std/type_traits (__is_constructible_helper1): Rename
to __is_constructible_helper1, tweaked to a specialization of
__is_constructible_helper.
(is_constructible): Adjust; minor formatting and stylistic
changes throughout.
* testsuite/util/testsuite_tr1.h (test_relationship): Change
variadic version to an overload of test_property.
* testsuite/20_util/is_constructible/value.cc: Adjust.
* testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
Adjust dg-error line numbers.
* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
Likewise.
* testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
From-SVN: r155536
Jakub Jelinek [Thu, 31 Dec 2009 10:52:56 +0000 (11:52 +0100)]
* tree-dump.c (dump_options): Don't set TDF_NOUID for all.
From-SVN: r155535
Dave Korn [Thu, 31 Dec 2009 01:35:24 +0000 (01:35 +0000)]
re PR target/41605 (Static linking of libgcc/libgfortran/libstdc++ can cause inconsistent symbol resolution.)
2009-12-31 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
PR target/41605
* config/darwin.h (LINK_COMMAND_SPEC): Resolve fopenmp specifically
for target.
(LINK_SPEC): Replace dynamic libraries by static equivalents where
necessary.
* config/darwin9.h (LINK_COMMAND_SPEC): Resolve fopenmp specifically
for target.
Co-Authored-By: Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
From-SVN: r155534
GCC Administrator [Thu, 31 Dec 2009 00:17:00 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r155533
Paolo Carlini [Wed, 30 Dec 2009 23:37:28 +0000 (23:37 +0000)]
type_traits: Fix minor formatting nit.
2009-12-30 Paolo Carlini <paolo.carlini@oracle.com>
* include/std/type_traits: Fix minor formatting nit.
From-SVN: r155530
Paolo Carlini [Wed, 30 Dec 2009 23:22:58 +0000 (23:22 +0000)]
[multiple changes]
2009-12-30 Daniel Frey <d.frey@gmx.de>
Paolo Carlini <paolo.carlini@oracle.com>
* include/std/type_traits (is_explicitly_convertible,
is_constructible): Add.
* testsuite/util/testsuite_tr1.h (ExplicitClass): Add.
* testsuite/20_util/is_explicitly_convertible/value.cc: New.
* testsuite/20_util/is_constructible/value.cc: Likewise.
2009-12-30 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/util/testsuite_tr1.h (test_relationship): Add
variadic version.
* testsuite/20_util/is_explicitly_convertible/requirements/
typedefs.cc: New.
* testsuite/20_util/is_explicitly_convertible/requirements/
explicit_instantiation.cc: Likewise.
* testsuite/20_util/is_constructible/requirements/typedefs.cc:
Likewise.
* testsuite/20_util/is_constructible/requirements/
explicit_instantiation.cc: Likewise.
* testsuite/20_util/is_convertible/value.cc: Extend.
* testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
Adjust dg-error line numbers.
* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
Likewise.
* testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
From-SVN: r155529
Dave Korn [Wed, 30 Dec 2009 23:20:55 +0000 (23:20 +0000)]
re PR lto/42531 (FAIL: gcc.c-torture/compile/
20011119-1.c)
PR lto/42531
* lto-streamer-out.c (produce_asm): Skip any leading asterisk when
using DECL_ASSEMBLER_NAME to generate a section name.
(copy_function): Likewise.
From-SVN: r155528
Andreas Schwab [Wed, 30 Dec 2009 23:03:46 +0000 (23:03 +0000)]
re PR target/42516 ([m68k] Suboptimal halfword swap on coldfire)
PR target/42516
* config/m68k/m68k.md (rotlsi_16): New insn.
From-SVN: r155527
Joseph Myers [Wed, 30 Dec 2009 21:28:45 +0000 (21:28 +0000)]
re PR c/42439 (Linux kernel BUILD_BUG_ON() broke)
PR c/42439
* c-decl.c (check_bitfield_type_and_width): Only pedwarn if
pedantic for bit-field width not an integer constant expression
but folding to one.
testsuite:
* gcc.dg/bitfld-19.c, gcc.dg/bitfld-20.c, gcc.dg/bitfld-21.c: New
tests.
From-SVN: r155526
Ira Rosen [Wed, 30 Dec 2009 12:53:18 +0000 (12:53 +0000)]
re PR tree-optimization/41956 (Segfault in vectorizer)
PR tree-optimization/41956
* tree-vect-slp.c (vect_supported_load_permutation_p): Add check that
the load indices differ.
From-SVN: r155523
Uros Bizjak [Wed, 30 Dec 2009 11:23:10 +0000 (12:23 +0100)]
* testsuite/gcc.target/i386/pr42549.c (mmx_3dnow_test): Add static.
From-SVN: r155520
Uros Bizjak [Wed, 30 Dec 2009 11:07:12 +0000 (12:07 +0100)]
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
Robert Millan [Wed, 30 Dec 2009 10:53:31 +0000 (10:53 +0000)]
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
Paolo Carlini [Wed, 30 Dec 2009 10:34:41 +0000 (10:34 +0000)]
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
Ian Lance Taylor [Wed, 30 Dec 2009 04:27:55 +0000 (04:27 +0000)]
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
Edward Smith-Rowland [Wed, 30 Dec 2009 02:08:23 +0000 (02:08 +0000)]
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
GCC Administrator [Wed, 30 Dec 2009 00:16:52 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r155514
H.J. Lu [Tue, 29 Dec 2009 21:05:13 +0000 (13:05 -0800)]
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
Janus Weil [Tue, 29 Dec 2009 19:29:54 +0000 (20:29 +0100)]
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
Eric Botcazou [Tue, 29 Dec 2009 16:12:03 +0000 (16:12 +0000)]
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
Paolo Carlini [Tue, 29 Dec 2009 12:24:36 +0000 (12:24 +0000)]
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
Joseph Myers [Tue, 29 Dec 2009 11:48:31 +0000 (11:48 +0000)]
* zh_CN.po: Update.
From-SVN: r155503
Joel Brobecker [Tue, 29 Dec 2009 04:14:21 +0000 (04:14 +0000)]
* dwarf2.h (enum dwarf_attribute): Add DW_AT_GNAT_descriptive_type.
From-SVN: r155501
Dave Korn [Tue, 29 Dec 2009 04:13:09 +0000 (04:13 +0000)]
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
Jason Merrill [Tue, 29 Dec 2009 03:33:24 +0000 (22:33 -0500)]
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
Paolo Carlini [Tue, 29 Dec 2009 00:29:12 +0000 (00:29 +0000)]
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
GCC Administrator [Tue, 29 Dec 2009 00:17:09 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r155497
Janus Weil [Mon, 28 Dec 2009 23:13:03 +0000 (00:13 +0100)]
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
David Edelsohn [Mon, 28 Dec 2009 18:19:18 +0000 (18:19 +0000)]
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
H.J. Lu [Mon, 28 Dec 2009 16:57:01 +0000 (08:57 -0800)]
Correct pathname.
From-SVN: r155490
H.J. Lu [Mon, 28 Dec 2009 16:44:34 +0000 (08:44 -0800)]
Mention PR middle-end/41344.
From-SVN: r155488
H.J. Lu [Mon, 28 Dec 2009 16:41:33 +0000 (08:41 -0800)]
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
Christopher Faylor [Mon, 28 Dec 2009 04:50:44 +0000 (11:50 +0700)]
MAINTAINERS: Change my email address.
* MAINTAINERS: Change my email address.
From-SVN: r155486
Martin Jambor [Mon, 28 Dec 2009 01:41:07 +0000 (02:41 +0100)]
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
GCC Administrator [Mon, 28 Dec 2009 00:16:38 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r155484
Joseph Myers [Sun, 27 Dec 2009 18:40:21 +0000 (18:40 +0000)]
* sv.po: Update.
From-SVN: r155480
Francois-Xavier Coudert [Sun, 27 Dec 2009 09:30:57 +0000 (09:30 +0000)]
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
GCC Administrator [Sun, 27 Dec 2009 00:17:00 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r155478
Andreas Tobler [Sat, 26 Dec 2009 18:49:55 +0000 (18:49 +0000)]
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
Andreas Schwab [Sat, 26 Dec 2009 12:40:27 +0000 (12:40 +0000)]
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
Anthony Green [Sat, 26 Dec 2009 05:04:08 +0000 (05:04 +0000)]
Fix ChangeLog entry date
From-SVN: r155472
Matthias Klose [Sat, 26 Dec 2009 05:01:43 +0000 (05:01 +0000)]
Fix libffi docs
From-SVN: r155471
Frank Everdij [Sat, 26 Dec 2009 04:59:25 +0000 (05:59 +0100)]
IRIX support
From-SVN: r155470
Bradley Smith [Sat, 26 Dec 2009 04:21:07 +0000 (04:21 +0000)]
avr32 libffi port
From-SVN: r155469
GCC Administrator [Sat, 26 Dec 2009 00:17:04 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r155468
GCC Administrator [Fri, 25 Dec 2009 00:16:44 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r155464
Jason Merrill [Thu, 24 Dec 2009 21:46:14 +0000 (16:46 -0500)]
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
Andy Hutchinson [Thu, 24 Dec 2009 20:32:38 +0000 (20:32 +0000)]
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
Andy Hutchinson [Thu, 24 Dec 2009 19:53:57 +0000 (19:53 +0000)]
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
Paolo Carlini [Thu, 24 Dec 2009 18:12:02 +0000 (18:12 +0000)]
[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
Jonathan Wakely [Thu, 24 Dec 2009 14:54:33 +0000 (14:54 +0000)]
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
Paolo Carlini [Thu, 24 Dec 2009 12:47:37 +0000 (12:47 +0000)]
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
Steven Bosscher [Thu, 24 Dec 2009 12:28:52 +0000 (12:28 +0000)]
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
Julian Brown [Thu, 24 Dec 2009 10:46:00 +0000 (10:46 +0000)]
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
GCC Administrator [Thu, 24 Dec 2009 00:16:52 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r155447
Cary Coutant [Wed, 23 Dec 2009 19:02:07 +0000 (11:02 -0800)]
Fixed ChangeLog entry.
From-SVN: r155434
Paolo Carlini [Wed, 23 Dec 2009 18:45:41 +0000 (18:45 +0000)]
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
Paolo Carlini [Wed, 23 Dec 2009 17:14:15 +0000 (17:14 +0000)]
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
Jakub Jelinek [Wed, 23 Dec 2009 17:04:07 +0000 (18:04 +0100)]
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
Jakub Jelinek [Wed, 23 Dec 2009 16:54:35 +0000 (17:54 +0100)]
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