Commit Graph

91807 Commits

Author SHA1 Message Date
Jan Hubicka
61e043223d re PR tree-optimization/37709 (inlining causes explosion in debug info)
PR tree-optimization/37709                                              
	* tree.c (block_ultimate_origin): Move here from dwarf2out.             
	* tree.h (block_ultimate_origin): Declare.                              
	* dwarf2out.c (block_ultimate_origin): Move to tree.c                   
	* tree-ssa-live.c (remove_unused_scope_block_p):
	Eliminate blocks containig no instructions nor live variables nor
	nested blocks.
	(dump_scope_block): New function.
	(remove_unused_locals): Enable removal of dead blocks by default;
	enable dumping at TDF_DETAILS.

From-SVN: r144381
2009-02-23 13:10:53 +00:00
GCC Administrator
791c5e4821 Daily bump.
From-SVN: r144379
2009-02-23 00:16:38 +00:00
Mark Mitchell
8c9abf1f38 make-temp-file.c (<windows.h>): Include on Windows.
* make-temp-file.c (<windows.h>): Include on Windows.
	(choose_tmpdir): On Windows, use GetTempPath.

From-SVN: r144375
2009-02-22 18:43:30 +00:00
Joseph Myers
1f20025aa2 * zh_CN.po: Update.
From-SVN: r144374
2009-02-22 17:04:04 +00:00
H.J. Lu
5339d3ead9 i386.c (classify_argument): Don't allow COImode and OImode.
2008-02-21  H.J. Lu  <hongjiu.lu@intel.com>

	* config/i386/i386.c (classify_argument): Don't allow COImode
	and OImode.
	(function_arg_advance_32): Don't allow OImode.
	(function_arg_32): Likewise.
	(function_value_32): Likewise.
	(return_in_memory_32): Likewise.
	(function_arg_64): Remove OImode comment.

From-SVN: r144367
2009-02-21 17:10:29 -08:00
H.J. Lu
f161e1584d re PR target/39261 (_mm256_set_epi64x failed on 32bit)
2008-02-21  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/39261
	* config/i386/i386.c (ix86_expand_vector_init_one_nonzero): Use
	ix86_expand_vector_set for V4DImode in 64bit mode only.
	(ix86_expand_vector_init_one_var): Likewise.

From-SVN: r144366
2009-02-21 16:44:23 -08:00
GCC Administrator
f592b0b3f1 Daily bump.
From-SVN: r144365
2009-02-22 00:16:48 +00:00
Thomas Koenig
543af7abbe re PR fortran/38914 ([4.3 only] ICE with array inquiry functions above contains in parameter expression)
2008-02-21  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/38914
	* array.c (ref_dimen_size):  Rename to gfc_ref_dimen_size,
	make global.  Change function name in error messages.
	(ref_size):  Change ref_dimen_size to gfc_ref_dimen_size.
	(gfc_array_ref_shape):  Likewise.
	* gfortran.h:  Add prototype for gfc_ref_dimen_size.
	* simplify.c (simplify_bound_dim):  Add ref argument.
	If the reference isn't a full array, return one for
	the lower bound and the extent for the upper bound.
	(simplify_bound):  For array sections, take as from the
	argument.  Add reference to all to simplify_bound_dim.

2008-02-21  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/38914
	* bound_simplification_2.f90:  New test case.
	* bound_7.f90:  New test case.

From-SVN: r144362
2009-02-21 22:25:06 +00:00
Joseph Myers
4bb09c26bc lex.c (lex_string): Return a CPP_LESS token for missing '>' in a header name.
libcpp:
	* lex.c (lex_string): Return a CPP_LESS token for missing '>' in a
	header name.
	(_cpp_lex_direct): Handle this.

gcc/testsuite:
	* gcc.dg/cpp/include4.c: New test.

From-SVN: r144361
2009-02-21 21:25:39 +00:00
H.J. Lu
8e361f234b Mention PR bootstrap/39257.
From-SVN: r144360
2009-02-21 11:08:44 -08:00
Sebastian Pop
dcd739a603 graphite.c (graphite_trans_loop_block): Adjust tile size to 51.
2009-02-21  Sebastian Pop  <sebastian.pop@amd.com>

	* graphite.c (graphite_trans_loop_block): Adjust tile size to 51.

From-SVN: r144358
2009-02-21 17:09:35 +00:00
Richard Sandiford
6c3b938d31 Revert last change.
From-SVN: r144357
2009-02-21 16:48:05 +00:00
H.J. Lu
4c64d3ddec re PR target/39256 (__m256 isn't returned in ymm0 in 32bit)
gcc/

2008-02-21  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/39256
	* config/i386/i386.c (type_natural_mode): Remove an extra
	space in the warning message.
	(function_value_32): Handle 32-byte vector modes.
	(return_in_memory_32): Likewise.

gcc/testsuite/

2008-02-21  Uros Bizjak  <ubizjak@gmail.com>

	PR target/39256
	* gcc.target/i386/abi-2.c: New.

From-SVN: r144355
2009-02-21 07:55:53 -08:00
Kaz Kojima
b46513275f pr39228.x: New.
* gcc.c-torture/execute/pr39228.x: New.

From-SVN: r144353
2009-02-21 12:33:00 +00:00
Gerald Pfeifer
ef11e5cc16 update_version_svn (ADD_BRANCHES): Remove autovect-branch and document format.
* update_version_svn (ADD_BRANCHES): Remove autovect-branch
	and document format.

From-SVN: r144352
2009-02-21 11:12:28 +00:00
Uros Bizjak
f814e489fe abi-1.c: Use scan-assembler-times "..." 1 instead of scan-assembler to check for xmm0...
* gcc.target/i386/abi-1.c: Use scan-assembler-times "..." 1 instead of
	scan-assembler to check for xmm0 register.

From-SVN: r144349
2009-02-21 10:34:36 +01:00
Richard Sandiford
2ec62529e9 loop-iv.c (truncate_value): New function.
gcc/
	* loop-iv.c (truncate_value): New function.
	(iv_subreg, get_iv_value, iv_number_of_iterations): Use it instead
	of lowpart_subreg.
	(lowpart_subreg): Move to...
	* emit-rtl.c: ...here.

From-SVN: r144348
2009-02-21 09:15:13 +00:00
Benjamin Kosnik
4e0bdc5e22 this_thread: Move...
2009-02-20  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/30_threads/thread/this_thread: Move...
	* testsuite/30_threads/this_thread: ...here.
	* testsuite/20_util/unique_ptr/assign/assign.cc: Move...
	* testsuite/20_util/unique_ptr/assign/assign_neg.cc: ...here.
	* testsuite/20_util/ratio/cons/cons_overflow.cc: Move...
	* testsuite/20_util/ratio/cons/cons_overflow_neg.cc: ...here.
	* testsuite/20_util/ratio/operations/ops_overflow.cc: Move...
	* testsuite/20_util/ratio/operations/ops_overflow_neg.cc: ...here.

From-SVN: r144346
2009-02-21 03:56:21 +00:00
Danny Smith
ecb8c3cced winnt.c (i386_pe_asm_output_aligned_decl_common): Revert accidental And undocumented change at revision 140860.
* config/i386/winnt.c (i386_pe_asm_output_aligned_decl_common): Revert
	accidental And undocumented change at revision 140860.

From-SVN: r144345
2009-02-21 03:21:44 +00:00
Joseph Myers
ae46a823a7 arm.c (arm_gimplify_va_arg_expr): Update prototype to take gimple_seq * arguments.
* config/arm/arm.c (arm_gimplify_va_arg_expr): Update prototype to
	take gimple_seq * arguments.
	(arm_mangle_type): Use CONST_CAST_TREE on type argument passed to
	types_compatible_p langhook.

From-SVN: r144344
2009-02-21 02:18:01 +00:00
Benjamin Kosnik
5b9daa7e60 user.cfg.in: Tweaks.
2009-02-20  Benjamin Kosnik  <bkoz@redhat.com>

	* doc/doxygen/user.cfg.in: Tweaks.
	* doc/doxygen/doxygroups.cc: Prefer markup that can be elsewhere,
	be elsewhere.

	* include/tr1_impl/unordered_map: Just use most specialized
	container module.
	* include/tr1_impl/unordered_set: Same.
	* include/tr1_impl/array: Same.
	* include/bits/stl_list.h: Same.
	* include/bits/stl_map.h: Same.
	* include/bits/stl_queue.h: Same.
	* include/bits/stl_set.h: Same.
	* include/bits/stl_stack.h: Same.
	* include/bits/forward_list.h: Same.
	* include/bits/basic_string.h: Same.
	* include/bits/stl_multimap.h: Same.
	* include/bits/stl_vector.h: Same.
	* include/bits/stl_deque.h: Same.
	* include/bits/stl_multiset.h: Same.
	* include/bits/stl_bvector.h: Same.

	* include/backward/binders.h: Change binder module to binders.

	* include/std/complex: Add complex_numers module.
	* include/tr1_impl/complex: Same.

	* include/std/valarray: Add numeric_arrays module.
	* include/bits/gslice_array.h: Same.
	* include/bits/gslice.h: Same.
	* include/bits/mask_array.h: Same.
	* include/bits/slice_array.h: Same.
	* include/bits/indirect_array.h: Same.

	* include/bits/allocator.h: Add allocators module.
	* include/ext/throw_allocator.h
	* include/ext/pool_allocator.h
	* include/ext/bitmap_allocator.h
	* include/ext/new_allocator.h
	* include/ext/malloc_allocator.h
	* include/ext/array_allocator.h
	* include/ext/mt_allocator.h
	* include/ext/debug_allocator.h
	* include/ext/extptr_allocator.h

	* include/tr1_impl/functional: Move namespace markup here.
	* include/tr1_impl/regex: Same.

	* include/tr1_impl/type_traits: Add metaprogramming module.
	* include/std/type_traits: Same.

	* include/std/memory: Add memory module.

	* include/std/ratio: Add ratio module.

	* include/std/chrono: Move namespace markup here, add time module.

	* include/std/thread: Move namespace markup here, add concurrency
	module.
	* include/std/mutex: Use concurrency module.
	* include/std/condition_variable: Same.


	* include/bits/ios_base.h: Refine io module.
	* include/bits/basic_ios.h: Same.
	* include/std/fstream: Same.
	* include/std/istream: Same.
	* include/std/ostream: Same.
	* include/std/sstream: Same.

	* include/ext/vstring.h: Correct parameter markup.

	* include/bits/shared_ptr.h: Add pointer_abstractions module.
	* include/bits/unique_ptr.h: Same.

	* include/bits/algorithmfwd.h: Add mutating_algorithms,
        non_mutating_algorithms, sorting_algorithms. Adjust nesting.
	* include/bits/stl_heap.h: Add markup for new groupings.
	* include/bits/stl_algobase.h: Same.
	* include/bits/stl_algo.h: Same.

	* include/c_compatibility/stdatomic.h: Add atomics module.
	* include/c_global/cstdatomic: Same.

	* libsupc++/exception: Add exceptions module.
	* libsupc++/typeinfo: Same.
	* libsupc++/new: Same.
	* libsupc++/exception_ptr.h: Same.
	* include/std/system_error: Same.
	* include/std/stdexcept: Same.

	* libsupc++/cxxabi.h: Move doxygroups.cc markup here.
	* libsupc++/cxxabi-forced.h: Same.

	* testsuite/27_io/ios_base/cons/assign_neg.cc: Fix up line numbers.
	* testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
	* testsuite/30_threads/condition_variable_any/cons/assign_neg.cc: Same.
	* testsuite/30_threads/condition_variable_any/cons/copy_neg.cc: Same.
	* testsuite/30_threads/mutex/cons/assign_neg.cc: Same.
	* testsuite/30_threads/mutex/cons/copy_neg.cc: Same.
	* testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Same.
	* testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Same.
	* testsuite/30_threads/thread/cons/assign_neg.cc: Same.
	* testsuite/30_threads/thread/cons/copy_neg.cc: Same.
	* testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Same.
	* testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Same.
	* testsuite/30_threads/condition_variable/cons/assign_neg.cc: Same.
	* testsuite/30_threads/condition_variable/cons/copy_neg.cc: Same.
	* testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc: Same.
	* testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Same.
	* testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
	* testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
	* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
	* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
	* testsuite/23_containers/vector/requirements/dr438/
	constructor_1_neg.cc: Same.
	* testsuite/23_containers/vector/requirements/dr438/
	constructor_2_neg.cc: Same.
	* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
	* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
	* testsuite/23_containers/deque/requirements/dr438/
	constructor_1_neg.cc: Same.
	* testsuite/23_containers/deque/requirements/dr438/
	constructor_2_neg.cc: Same.
	* testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
	* testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
	* testsuite/23_containers/list/requirements/dr438/
	constructor_1_neg.cc: Same.
	* testsuite/23_containers/list/requirements/dr438/
	constructor_2_neg.cc: Same.
	* testsuite/20_util/duration/cons/1_neg.cc: Same.
	* testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
	* testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
	* testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
	* testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Same.
	* testsuite/20_util/unique_ptr/assign/assign.cc: Same.
	* testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
	* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
	* testsuite/20_util/ratio/cons/cons_overflow.cc: Same.
	* testsuite/20_util/ratio/operations/ops_overflow.cc: Same.

From-SVN: r144343
2009-02-21 00:45:21 +00:00
GCC Administrator
791838fa91 Daily bump.
From-SVN: r144341
2009-02-21 00:16:48 +00:00
Jakub Jelinek
66647d441f Update Copyright years for files modified in 2008 and/or 2009.
From-SVN: r144324
2009-02-20 16:20:38 +01:00
Mark Mitchell
07d8efe385 arm.c (arm_builtin_va_list): New function.
2009-02-20  Mark Mitchell  <mark@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

	* config/arm/arm.c (arm_builtin_va_list): New function.
	(arm_expand_builtin_va_start): Likewise.
	(arm_gimplify_va_arg_expr): Likewise.
	(TARGET_BUILD_BUILTIN_VA_LIST): Define.
	(TARGET_BUILD_BUILTIN_VA_START): Likewise.
	(TARGET_BUILD_BUILTIN_VA_ARG_EXPR): Likewise.
	(va_list_type): New variable.
	(arm_mangle_type): Mangle va_list_type appropriately.

testsuite:
	* gcc.target/arm/va_list.c: New test.
	* g++.dg/abi/arm_va_list.C: Likewise.
	* lib/target-supports.exp (check_effective_target_arm_eabi): New
	function.
	* g++.dg/cpp0x/temp-va-arg-bug.C, g++.dg/other/stdarg1.C,
	g++.dg/warn/miss-format-1.C, g++.dg/warn/miss-format-3.C,
	g++.dg/warn/miss-format-4.C, g++.dg/warn/miss-format-5.C,
	g++.dg/warn/miss-format-6.C, g++.old-deja/g++.other/vaarg2.C,
	g++.old-deja/g++.other/vaarg3.C, g++.old-deja/g++.other/vaarg4.C,
	g++.old-deja/g++.pt/builtin.C: Use -Wno-abi on ARM EABI targets.

Co-Authored-By: Joseph Myers <joseph@codesourcery.com>

From-SVN: r144323
2009-02-20 15:19:38 +00:00
Jakub Jelinek
b1fb9f5699 re PR middle-end/39157 (Code that compiles fine in 1GB of memory with 4.1.2 requires > 20GB in 4.2.* and higher)
PR middle-end/39157
	* Makefile.in (loop-invariant.o): Depend on $(PARAMS_H).
	* params.h (LOOP_INVARIANT_MAX_BBS_IN_LOOP): Define.
	* params.def (loop-invariant-max-bbs-in-loop): New parameter.
	* opts.c (decode_options): Set loop-invariant-max-bbs-in-loop
	parameter to 1000 for -O1 by default.
	* doc/invoke.texi (loop-invariant-max-bbs-in-loop): Document new
	parameter.
	* loop-invariant.c: Include params.h.
	(move_loop_invariants): Don't call move_single_loop_invariants on
	very large loops.

From-SVN: r144320
2009-02-20 13:56:01 +01:00
Jack Howarth
da9c199f2c re PR testsuite/38164 (gcc.target/i386/amd64-abi-3.c fails at -m64 on i686-apple-darwin9)
PR testsuite/38164
	* gcc.target/i386/amd64-abi-3.c: Add -fomit-frame-pointer
	to dg-options.

From-SVN: r144318
2009-02-20 12:25:42 +01:00
Jaka Mocnik
5bc0807c06 calls.c (emit_library_call_value_1): Use slot_offset instead of offset when calculating bounds for indexing...
* calls.c (emit_library_call_value_1): Use slot_offset instead of
	offset when calculating bounds for indexing stack_usage_map.  Fixes
	a buffer overflow with certain target setups.

From-SVN: r144317
2009-02-20 12:19:34 +01:00
Jakub Jelinek
c69cd1f5cd re PR target/39240 (Invalid sibcall optimization with promoted return types and differing signedness)
PR target/39240
	* calls.c (expand_call): Clear try_tail_call if caller and callee
	disagree in promotion of function return value.

	* gcc.c-torture/execute/pr39240.c: New test.

From-SVN: r144316
2009-02-20 11:13:17 +01:00
Jason Merrill
bd967b22bc re PR c++/39225 (ICE if destructor doen't match class name)
PR c++/39225
        * decl.c (grokdeclarator): Handle ~identifier.

From-SVN: r144314
2009-02-20 00:32:40 -05:00
GCC Administrator
97eb6215db Daily bump.
From-SVN: r144311
2009-02-20 00:16:49 +00:00
Kazu Hirata
f0de858e7a * gcc.c-torture/execute/20090219-1.c: New.
From-SVN: r144307
2009-02-19 21:33:38 +00:00
Adam Nemet
bde8c97ca7 mips.exp: Comment !CPU in the isa* pseudo-options.
* gcc.target/mips/mips.exp: Comment !CPU in the isa* pseudo-options.
	(mips-dg-options): When matching isa* pseudo-options make
	'value' optional and accept ! entries.  Use $spec instead of
	$isa_spec in the isa pseudo-option error message.  Only
	perform the ISA-range check when 'value' is set.  If arch is
	matching any CPU in the ! entries switch to its generic ISA.
	* gcc.target/mips/branch-1.c: Pass isa=!octeon.
	* gcc.target/mips/dmult-1.c: Pass isa=64!octeon rather than
	-mips64.

From-SVN: r144306
2009-02-19 21:26:34 +00:00
Jakub Jelinek
0981262229 re PR target/39175 (ICE while compiling qt-4.5.0-rc1)
PR target/39175
	* c-common.c (c_determine_visibility): If visibility changed and
	DECL_RTL has been already set, call make_decl_rtl to update symbol
	flags.

	* decl2.c (determine_visibility): If visibility changed and
	DECL_RTL has been already set, call make_decl_rtl to update symbol
	flags.

	* gcc.dg/visibility-20.c: New test.
	* g++.dg/ext/visibility/visibility-11.C: New test.

From-SVN: r144305
2009-02-19 22:15:12 +01:00
Daniel Franke
9c747b9747 scanner.c (load_line): At end of line, skip '\r' without setting the truncation flag.
2009-02-19  Daniel Franke  <franke.daniel@gmail.com>

        * scanner.c (load_line): At end of line, skip '\r' without setting
        the truncation flag.

From-SVN: r144303
2009-02-19 13:23:20 -05:00
H.J. Lu
68017cb410 re PR c++/39188 (G++ doesn't handle static anonymous union right)
gcc/

2009-02-19  H.J. Lu  <hongjiu.lu@intel.com>

	PR c++/39188
	* varasm.c (assemble_variable): Don't check DECL_NAME when
	globalizing a variable.

gcc/cp/

2009-02-19  H.J. Lu  <hongjiu.lu@intel.com>

	PR c++/39188
	* cp-tree.h (maybe_commonize_var): New.

	* decl.c (maybe_commonize_var): Make it extern.

	* decl2.c (finish_anon_union): Call maybe_commonize_var.

gcc/testsuite/

2009-02-19  H.J. Lu  <hongjiu.lu@intel.com>

	PR c++/39188
	* g++.dg/abi/pr39188-1a.C: New.
	* g++.dg/abi/pr39188-1b.C: Likewise.
	* g++.dg/abi/pr39188-1.h: Likewise.
	* g++.dg/abi/pr39188-2a.C: Likewise.
	* g++.dg/abi/pr39188-2b.C: Likewise.
	* g++.dg/abi/pr39188-2.h: Likewise.
	* g++.dg/abi/pr39188-3a.C: Likewise.
	* g++.dg/abi/pr39188-3b.C: Likewise.
	* g++.dg/abi/pr39188-3.h: Likewise.

From-SVN: r144297
2009-02-19 07:22:28 -08:00
Joseph Myers
ab4194daa8 re PR c/38483 (generated aborts lose previous side-effects)
PR c/38483
	* builtins.c (gimplify_va_arg_expr): Evaluate the va_list
	expression before any __builtin_trap call.
	* c-typeck.c (build_function_call): Convert and check function
	arguments before generating a call to a trap.  Evaluate the
	function arguments before the trap.

testsuite:
	* gcc.c-torture/execute/call-trap-1.c,
	gcc.c-torture/execute/va-arg-trap-1.c, gcc.dg/call-diag-1.c: New
	tests.

From-SVN: r144296
2009-02-19 13:56:00 +00:00
Uros Bizjak
6b67572ed1 re PR target/39228 (387 optimised __builtin_isinf() gives incorrect result)
PR target/39228
	* config/i386/i386.md (isinfxf2): Split from isinf<mode>2.
	(UNSPEC_FXAM_MEM): New unspec.
	(fxam<mode>2_i387_with_temp): New insn and split pattern.
	(isinf<mode>2): Use MODEF mode iterator.  Force operand[1] through
	memory using fxam<mode>2_i387_with_temp to remove excess precision.

testsuite/ChangeLog:

	PR target/39228
	* gcc.c-torture/execute/pr39228.c: New test.

From-SVN: r144293
2009-02-19 11:51:04 +01:00
Richard Guenther
9e39dba643 re PR tree-optimization/39207 (Strict aliasing warnings in libstdc++ headers)
2009-02-19  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/39207
	PR tree-optimization/39074
	* tree-ssa-structalias.c (storedanything_id, var_storedanything,
	storedanything_tree): New.
	(do_ds_constraint): Simplify ANYTHING shortcutting.  Update
	the STOREDANYTHING solution if the lhs solution contains
	ANYTHING.
	(build_succ_graph): Add edges from STOREDANYTHING to all
	non-direct nodes.
	(init_base_vars): Initialize STOREDANYTHING.
	(compute_points_to_sets): Free substitution info after
	building the succ graph.
	(ipa_pta_execute): Likewise.

	* gcc.dg/torture/pr39074.c: New testcase.
	* gcc.dg/torture/pr39074-2.c: Likewise.
	* gcc.dg/torture/pr39074-3.c: Likewise.

	* tree-ssa-structalias.c (struct variable_info): Add may_have_pointers
	field.
	(do_ds_constraint): Do not add to special var or non-pointer
	field solutions.
	(type_could_have_pointers): Split out from ...
	(could_have_pointers): ... here.  For arrays use the element type.
	(create_variable_info_for): Initialize may_have_pointers.
	(new_var_info): Likewise.
	(handle_lhs_call): Make the HEAP variable unknown-sized.
	(intra_create_variable_infos): Use a type with pointers for
	PARM_NOALIAS, make it unknown-sized.

From-SVN: r144292
2009-02-19 10:12:25 +00:00
Benjamin Kosnik
aac2878e16 doxygroups.cc: Move algorithm groups into algorithmfwd.h.
2009-02-18  Benjamin Kosnik  <bkoz@redhat.com>

	* doc/doxygen/doxygroups.cc: Move algorithm groups into algorithmfwd.h.
	* doc/doxygen/user.cfg.in: Update.
	* scripts/run_doxygen: Adjust for new group names.

	* include/tr1_impl/random: Update doxygen group markup.
	* include/tr1_impl/unordered_map: Same.
	* include/tr1_impl/unordered_set: Same.
	* include/tr1_impl/array: Same.
	* include/std/numeric: Same.
	* include/std/utility: Same.
	* include/std/bitset: Same.
	* include/std/iosfwd: Same.
	* include/bits/stl_list.h: Same.
	* include/bits/stl_map.h: Same.
	* include/bits/stl_algobase.h: Same.
	* include/bits/stl_queue.h: Same.
	* include/bits/stl_set.h: Same.
	* include/bits/stl_stack.h: Same.
	* include/bits/stl_iterator_base_types.h: Same.
	* include/bits/forward_list.h: Same.
	* include/bits/basic_string.h: Same.
	* include/bits/stl_multimap.h: Same.
	* include/bits/stl_vector.h: Same.
	* include/bits/stl_deque.h: Same.
	* include/bits/stl_multiset.h: Same.
	* include/bits/stl_algo.h: Same.
	* include/bits/stl_bvector.h: Same.
	* include/bits/algorithmfwd.h: Same.
	* include/bits/stl_function.h: Same.
	* include/tr1/cmath: Same.
	* include/backward/binders.h: Same.

From-SVN: r144290
2009-02-19 08:15:15 +00:00
H.J. Lu
57c2231b23 re PR c++/39219 (attribute doesn't work with enums properly)
gcc/cp

2009-02-18  H.J. Lu  <hongjiu.lu@intel.com>

	PR c++/39219
	* parser.c (cp_parser_enum_specifier): Apply all attributes.

gcc/testsuite/

2009-02-18  H.J. Lu  <hongjiu.lu@intel.com>

	PR c++/39219
	* g++.dg/parse/attr3.C: New.

From-SVN: r144284
2009-02-18 17:58:15 -08:00
GCC Administrator
525dbc9afb Daily bump.
From-SVN: r144282
2009-02-19 00:16:37 +00:00
Jack Howarth
5842753d9d re PR testsuite/38165 (g++.dg/pubtypes.C fails at -m32/-m64 on i686-apple-darwin9)
2009-02-18  Jack Howarth <howarth@bromo.med.uc.edu>

	PR testsuite/38165
	* g++.dg/pubtypes.C: Adopt Radar 4535968 fix to testcase.

From-SVN: r144277
2009-02-18 23:17:56 +00:00
Jack Howarth
4a877673b0 re PR testsuite/38166 (g++.dg/ext/visibility/class1.C fails at -m64 on i686-apple-darwin9)
2009-02-18  Jack Howarth <howarth@bromo.med.uc.edu>

	PR testsuite/38166
	* g++.dg/ext/visibility/class1.C: Revert revision 122348
	and skip on Darwin.

From-SVN: r144274
2009-02-18 22:19:26 +00:00
H.J. Lu
fd7b26033c re PR target/39224 (ABI attribute doesn't work with long double)
2009-02-18  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/39224
	* config/i386/i386.c (ix86_return_in_memory): Properly check
	ABI.

From-SVN: r144272
2009-02-18 13:40:08 -08:00
Jason Merrill
a669372a3a revert accidental commit
From-SVN: r144271
2009-02-18 16:03:05 -05:00
Jason Merrill
98b806924d re PR target/39179 (Wrong code in c++ for const members initialized in external file)
PR target/39179
        * tree-ssa-ccp.c (get_symbol_constant_value): Don't assume zero
        value if DECL_EXTERNAL.
        * tree-sra.c (sra_walk_gimple_assign): Likewise.
        * target.h (gcc_target::binds_local_p): Clarify module.
        * tree.h (TREE_PUBLIC): Clarify module.

From-SVN: r144270
2009-02-18 16:01:03 -05:00
Jason Merrill
1e80963d61 fix typo
From-SVN: r144269
2009-02-18 15:59:38 -05:00
Daniel Kraft
71810d0e7c gfortran.texi: New chapter about compiler characteristics.
2009-02-18  Daniel Kraft  <d@domob.eu>

	* gfortran.texi: New chapter about compiler characteristics.
	(Compiler Characteristics): Document KIND type parameters here.

From-SVN: r144268
2009-02-18 19:54:41 +01:00
H.J. Lu
e98c0739b3 misc.c (gnat_post_options): Turn off warn_psabi.
2009-02-18  H.J. Lu  <hongjiu.lu@intel.com>

	* gcc-interface/misc.c (gnat_post_options): Turn off warn_psabi.

From-SVN: r144267
2009-02-18 10:37:00 -08:00
Tobias Burnus
8c685e616f intrinsic.texi (MALLOC): Make example more portable.
2009-02-18  Tobias Burnus  <burnus@net-b.de>

       * intrinsic.texi (MALLOC): Make example more portable.

From-SVN: r144266
2009-02-18 19:09:38 +01:00