Gerald Pfeifer
711a778cfa
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
2010-01-02 19:23:00 +00:00
Richard Guenther
1d86f5e9ec
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
2010-01-02 19:14:52 +00:00
H.J. Lu
78ce4053fa
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
2010-01-02 09:30:12 -08:00
John David Anglin
b86799bae5
t-slibgcc-dwarf-ver (SHLIB_SOVERSION): Bump by two.
...
* config/pa/t-slibgcc-dwarf-ver (SHLIB_SOVERSION): Bump by two.
From-SVN: r155574
2010-01-02 17:27:47 +00:00
John David Anglin
91e1a80a68
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
2010-01-02 16:47:40 +00:00
Richard Guenther
8163bdfb68
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
2010-01-02 14:38:57 +00:00
Uros Bizjak
02143d0b69
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
2010-01-02 15:18:41 +01:00
Richard Guenther
7413962d04
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
2010-01-02 14:13:37 +00:00
Anatoly Sokolov
04176b913c
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
2010-01-02 14:24:02 +03:00
Richard Guenther
5a013dc42c
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
2010-01-02 11:11:37 +00:00
GCC Administrator
3bbf8fa4a2
Daily bump.
...
From-SVN: r155562
2010-01-02 00:16:50 +00:00
Richard Guenther
aecd4d8180
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
2010-01-01 20:22:17 +00:00
Joseph Myers
dadab4fd22
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
2010-01-01 18:08:17 +00:00
Richard Guenther
e4a95933a6
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
2010-01-01 17:19:02 +00:00
H.J. Lu
0bdf1263df
Move 2009 ChangeLog to ChangeLog-2009.
...
From-SVN: r155556
2010-01-01 09:08:32 -08:00
H.J. Lu
915394757f
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
2010-01-01 08:49:15 -08:00
Richard Guenther
a28ff68b14
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
2010-01-01 13:56:50 +00:00
Anthony Green
78542dee33
Update README for libffi 3.0.9.
...
From-SVN: r155553
2010-01-01 12:50:08 +00:00
Matthias Klose
50117ecbdb
Define HAVE_LONG_DOUBLE appropriately for MIPS.
...
From-SVN: r155552
2010-01-01 12:46:02 +00:00
Anthony Green
bc472c0054
xfail tests for AVR32
...
From-SVN: r155551
2010-01-01 12:40:18 +00:00
Andreas Tobler
d7e9538ee5
Fixes for HPUX.
...
From-SVN: r155550
2010-01-01 12:36:07 +00:00
Andreas Tobler
cb14fcb878
Add openbsd support.
...
From-SVN: r155549
2010-01-01 12:32:24 +00:00
Anthony Green
1098bcf812
Update xfails.
...
From-SVN: r155548
2010-01-01 12:26:49 +00:00
Paolo Carlini
6ab94513d5
2010-01-01 Paolo Carlini <paolo.carlini@oracle.com>
...
Revert last change, reinstantiate basic_string and vstring tests.
From-SVN: r155547
2010-01-01 11:27:50 +00:00
Paolo Carlini
c2744d090c
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
2010-01-01 10:20:53 +00:00
Benjamin Kosnik
3c0f2830ac
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
2010-01-01 03:38:58 +00:00
Benjamin Kosnik
c448a85e09
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
2010-01-01 00:30:45 +00:00
GCC Administrator
3452ba212b
Daily bump.
...
From-SVN: r155543
2010-01-01 00:16:56 +00:00
Anthony Green
a761df3da4
Windows patch
...
From-SVN: r155540
2009-12-31 17:44:32 +00:00
Paolo Carlini
0d6f2a8037
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
2009-12-31 17:31:28 +00:00
Anthony Green
493278bea5
New test case.
...
From-SVN: r155538
2009-12-31 16:58:55 +00:00
Paolo Carlini
4b3d7a7e92
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
2009-12-31 14:38:01 +00:00
Paolo Carlini
b0302c68d8
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
2009-12-31 14:04:23 +00:00
Jakub Jelinek
8c7dc6ebc2
* tree-dump.c (dump_options): Don't set TDF_NOUID for all.
...
From-SVN: r155535
2009-12-31 11:52:56 +01:00
Dave Korn
546831fe57
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
2009-12-31 01:35:24 +00:00
GCC Administrator
be69568c8b
Daily bump.
...
From-SVN: r155533
2009-12-31 00:17:00 +00:00
Paolo Carlini
56a01d53bb
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
2009-12-30 23:37:28 +00:00
Paolo Carlini
75995f3782
[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
2009-12-30 23:22:58 +00:00
Dave Korn
8589115b9c
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
2009-12-30 23:20:55 +00:00
Andreas Schwab
331fc6d84d
re PR target/42516 ([m68k] Suboptimal halfword swap on coldfire)
...
PR target/42516
* config/m68k/m68k.md (rotlsi_16): New insn.
From-SVN: r155527
2009-12-30 23:03:46 +00:00
Joseph Myers
d3ae6c2aa2
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
2009-12-30 21:28:45 +00:00
Ira Rosen
7417f6c0bd
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
2009-12-30 12:53:18 +00:00
Uros Bizjak
b8699cfb5c
* testsuite/gcc.target/i386/pr42549.c (mmx_3dnow_test): Add static.
...
From-SVN: r155520
2009-12-30 12:23:10 +01:00
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