Commit Graph

97817 Commits

Author SHA1 Message Date
Richard Guenther
e74003a1b8 re PR testsuite/42583 (FAIL: gfortran.dg/gomp/recursion1.f90: gfortran: libgomp.spec: No such file or directory)
2010-01-03  Richard Guenther  <rguenther@suse.de>

	PR testsuite/42583
	* gfortran.dg/gomp/recursion1.f90: Remove.

	libgomp/
	* testsuite/libgomp.fortran/recursion1.f90: New testcase.

From-SVN: r155597
2010-01-03 22:44:56 +00:00
Steven Bosscher
2ad1dda018 re PR rtl-optimization/41862 (-fgcse-sm causes bootstrap-debug comparison failures)
PR rtl-optimization/41862
	* store-motion.c (store_killed_in_insn, compute_store_table,
	remove_reachable_equiv_notes, replace_store_insn,
	build_store_vectors): Ignore all DEBUG_INSNs.

From-SVN: r155596
2010-01-03 22:41:22 +00:00
Richard Guenther
5e87f30e99 Warray-bounds.c: Remove XFAILs.
2010-01-03  Richard Guenther  <rguenther@suse.de>

	* gcc.dg/Warray-bounds.c: Remove XFAILs.
	* gcc.dg/uninit-6.c: Likewise.
	* gcc.dg/struct/wo_prof_array_through_pointer.c: Likewise.

From-SVN: r155595
2010-01-03 22:39:47 +00:00
Paolo Carlini
5ab06c6dfe set.h: Implement DR 130 here too.
2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/debug/set.h: Implement DR 130 here too.
	* include/debug/multiset.h: Likewise.
	* include/debug/map.h: Likewise.
	* include/debug/multimap.h: Likewise.
	* include/profile/set.h: Implement DR 130 fully.
	* include/profile/multiset.h: Likewise.
	* include/profile/map.h: Likewise.
	* include/profile/multimap.h: Likewise.
	* include/debug/list: Implement DR 1133 here too.
	* include/ext/pb_ds/detail/debug_map_base.hpp: Comment out for
	now uses of __gnu_cxx::throw_allocator.
	* testsuite/21_strings/basic_string/40160.cc: Don't pass
	explicitly -D_GLIBCXX_DEBUG, doesn't play well with profile-mode
	testing.

From-SVN: r155594
2010-01-03 20:30:28 +00:00
Janne Blomqvist
c9828e7878 PR libfortran/42420 Large file capable stat for MingW
From-SVN: r155593
2010-01-03 20:09:37 +02:00
Janne Blomqvist
f18c74a73d Rotate ChangeLogs for 2008 and 2009
From-SVN: r155592
2010-01-03 20:08:27 +02:00
H.J. Lu
d7fb0a6db1 Pass -dumpbase and -dumpdir to gcc for LTO
gcc/

2010-01-03  H.J. Lu  <hongjiu.lu@intel.com>

	PR lto/41564
	* common.opt: Add dumpdir.

	* gcc.c (cc1_options): Add "-dumpbase %B" only if -dumpbase
	isn't specified.
	(option_map): Add --dumpdir.

	* gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add dumpdir.

	* lto-wrapper.c (run_gcc): Add -dumpbase and -dumpdir for -o.

	* opts.c (decode_options): Try dump_dir_name first if
	dump_base_name isn't an absolute path.
	(common_handle_option): Handle OPT_dumpdir.

	* toplev.c (dump_dir_name): New.
	(print_switch_values): Also ignore -dumpdir.

	* toplev.h (dump_dir_name): New.

gcc/lto/

2010-01-03  H.J. Lu  <hongjiu.lu@intel.com>

	PR lto/41564
	* lto.c (DUMPBASE_SUFFIX): New.
	(lto_execute_ltrans): Append a sequence number to -dumpbase
	for LTRANS.

From-SVN: r155591
2010-01-03 09:03:38 -08:00
Paolo Carlini
eb07a8f567 bitset (bitset<>::bitset(unsigned long long)): Add in C++0x mode.
2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/profile/bitset (bitset<>::bitset(unsigned long long)): Add
	in C++0x mode.
	* include/debug/bitset (bitset<>::bitset(unsigned long long)): 
	Likewise.

From-SVN: r155589
2010-01-03 16:17:44 +00:00
Richard Guenther
ba1ee2281d 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
2010-01-03 15:23:29 +00:00
Paolo Carlini
5004040e8d 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
2010-01-03 14:50:09 +00:00
Steven Bosscher
b0de17ef39 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
2010-01-03 13:13:03 +00:00
Paolo Carlini
a8685e159e 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
2010-01-03 12:06:59 +00:00
Richard Guenther
a19eb9d236 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
2010-01-03 12:06:02 +00:00
Gerald Pfeifer
c41b7b1364 * doc/invoke.texi: Add 2010 to copyright years.
From-SVN: r155583
2010-01-03 10:06:56 +00:00
Eric Botcazou
4900aa6146 * config/sparc/sparc.c: Fix formatting nits.
From-SVN: r155582
2010-01-03 09:49:01 +00:00
GCC Administrator
f9de68b37d Daily bump.
From-SVN: r155581
2010-01-03 00:16:41 +00:00
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