Commit Graph

76815 Commits

Author SHA1 Message Date
Andrew Pinski
b538773352 Fix some whitespace issues in the changelog.
From-SVN: r117051
2006-09-18 22:08:41 -07:00
Benjamin Kosnik
a86151e10b res_mng: Remove.
2006-09-18  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/util/regression/res_mng: Remove.
	* testsuite/util/regression/res_mng/dbg_ex_allocator_base.cc: Merge..
	* testsuite/util/regression/res_mng/forced_exception.hpp: Merge...
	* testsuite/util/regression/res_mng/dbg_ex_allocator_base.hpp: Merge..
	* testsuite/util/regression/res_mng/dbg_ex_allocator.hpp: Merge..
	* testsuite/util/testsuite_allocator.h (throw_allocator): Merge...
	* include/ext/throw_allocator.h (throw_allocator): ... into this.
	* src/throw_allocator.cc: ...and this.
	* include/Makefile.am (ext_headers): Add.
	* include/Makefile.in: Regenerate.	
	* src/Makefile.am (sources): New.
	* src/Makefile.in: Regenerate.
	* testsuite/lib/libstdc++.exp: Subtract dbg_ex_allocator_base.cc.

	* include/ext/pb_ds/detail/map_debug_base.hpp: Adjust
	includes, names, and namespaces.
	* testsuite/23_containers/list/modifiers/insert/25288.cc: Same.
	* testsuite/util/regression/rand/priority_queue/detail/
	erase_fn_imps.hpp: Same.
	* testsuite/util/regression/rand/priority_queue/detail/
	constructor_destructor_fn_imps.hpp: Same.
	* testsuite/util/regression/rand/priority_queue/detail/
	insert_fn_imps.hpp: Same.
	* testsuite/util/regression/rand/priority_queue/detail/
	modify_fn_imps.hpp: Same.
	* testsuite/util/regression/rand/priority_queue/detail/
	split_join_fn_imps.hpp: Same.
	* testsuite/util/regression/rand/priority_queue/detail/
	operator_fn_imps.hpp: Same.
	* testsuite/util/regression/rand/priority_queue/
	container_rand_regression_test.hpp: Same.
	* testsuite/util/regression/rand/assoc/detail/
	subscript_fn_imps.hpp: Same.
	* testsuite/util/regression/rand/assoc/detail/
	operator_fn_imps.hpp: Same.
	* testsuite/util/regression/rand/assoc/detail/erase_fn_imps.hpp: Same.
	* testsuite/util/regression/rand/assoc/detail/
	constructor_destructor_fn_imps.hpp
	* testsuite/util/regression/rand/assoc/detail/insert_fn_imps.hpp: Same.
	* testsuite/util/regression/rand/assoc/detail/
	split_join_fn_imps.hpp: Same.
	* testsuite/util/regression/rand/assoc/
	container_rand_regression_test.hpp: Same.
	* testsuite/util/regression/priority_queue/common_type.hpp: Same.
	* testsuite/util/regression/assoc/common_type.hpp: Same.
	* testsuite/util/regression/basic_type.hpp: Same.
	* testsuite/util/rng/twister_rand_gen.cc: Tweak.

From-SVN: r117050
2006-09-19 02:33:21 +00:00
Tom Tromey
2fb3145567 tls.m4 (GCC_CHECK_TLS): Pass empty argument as "help arg" to GCC_ENABLE.
config
	* tls.m4 (GCC_CHECK_TLS): Pass empty argument as "help arg" to
	GCC_ENABLE.
libgomp
	* configure: Rebuilt.
libstdc++-v3
	* configure: Rebuilt.
libmudflap
	* configure: Rebuilt.
libjava
	* configure: Rebuilt.

From-SVN: r117049
2006-09-19 01:48:06 +00:00
GCC Administrator
5e29ad9e74 Daily bump.
From-SVN: r117047
2006-09-19 00:17:26 +00:00
Petr Salinger
2395bcd4d2 configure.host: Handle kfreebsd.
2006-09-18  Petr Salinger  <Petr.Salinger@seznam.cz>

	* configure.host: Handle kfreebsd.

From-SVN: r117043
2006-09-18 23:30:15 +00:00
Ben Elliston
9b1f6e91a1 target-supports.exp (check_effective_target_tls): Compile test stubs using ${tool}_target_compile, not just target_compile.
* lib/target-supports.exp (check_effective_target_tls): Compile
	test stubs using ${tool}_target_compile, not just target_compile.
	(check_effective_target_tls_runtime): Likewise.

From-SVN: r117041
2006-09-19 08:40:59 +10:00
Ben Elliston
71e9f91522 * gcc.c-torture/compile/20030405-1.x: Remove.
From-SVN: r117040
2006-09-19 08:25:46 +10:00
Ben Elliston
6af7ed0853 const2.C (main): Examine p to prevent an optimising linker from discarding it.
* g++.old-deja/g++.pt/const2.C (main): Examine p to prevent an
	optimising linker from discarding it.

From-SVN: r117039
2006-09-19 08:24:13 +10:00
Tom Tromey
838d497079 SSLSocket.java (isBound, [...]): Removed old comment.
* gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
	isConnected): Removed old comment.
	(getRemoteSocketAddress): Uncommented.
	(setOOBInline, getOOBInline, setKeepAlive, getKeepAlive,
	setTrafficClass, getTrafficClass, setReuseAddress,
	getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown,
	isOutputShutdown): Uncommented.

From-SVN: r117035
2006-09-18 21:05:26 +00:00
Paul Thomas
fd2aa7ad9f re PR fortran/28526 ('end' is recognized as a variable incorrectly)
2006-09-18 Paul Thomas <pault@gcc.gnu.org>

	PR fortran/28526
	* primary.c (match_variable): If the compiler is in a module
	specification block, an interface block or a contains section,
	reset host_flag to force the changed symbols mechanism.

	PR fortran/29101
	* trans-stmt.c (gfc_trans_character_select): Add the post block
	for the expression to the main block, after the call to
	select_string and the last label.


2006-09-18 Paul Thomas <pault@gcc.gnu.org>

	PR fortran/28526
	* gfortran.dg/keyword_symbol_1.f90: New test.

	* gfortran.dg/spread_shape_1.f90: Add missing warning with
	pedantic compilation option.

From-SVN: r117034
2006-09-18 20:19:50 +00:00
Petr Salinger
eb496303d7 configure.ac: add support for GNU/kFreeBSD, accepted by upstream for gc 6.8.
2006-06-07  Petr Salinger  <Petr.Salinger@seznam.cz>

	* configure.ac: add support for GNU/kFreeBSD, accepted by upstream
	for gc 6.8.
	* dyn_load.c: Likewise.
	* include/gc.h: Likewise.
	* private/gcconfig.h: Likewise.
	* configure: Regenerate.
	* include/gc_config.h.in: Regenerate.

From-SVN: r117033
2006-09-18 18:45:08 +00:00
Petr Salinger
94ba45dfe2 configure: Rebuilt.
2006-09-18  Petr Salinger  <Petr.Salinger@seznam.cz>

	* configure: Rebuilt.
	* shlibpath.m4: Handle GNU/kFreeBSD.

From-SVN: r117032
2006-09-18 18:34:56 +00:00
Tom Tromey
9721107704 removed old conflict marker
From-SVN: r117030
2006-09-18 17:10:36 +00:00
Gerald Pfeifer
fad257c316 * gcc_release (LC_ALL): Default to C.
From-SVN: r117029
2006-09-18 17:07:14 +00:00
Paolo Carlini
17cdf08234 locale_facets.tcc (_M_group_int): Remove redundant using-declaration.
2006-09-18  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/locale_facets.tcc (_M_group_int): Remove
	redundant using-declaration.

From-SVN: r117028
2006-09-18 16:05:25 +00:00
Steven Bosscher
ddd039d56c re PR c++/29087 (More than 35000 switch cases crash cc1plus)
PR c++/29087
        * parser.c (cp_parser_labeled_statement): Return nothing.  Do
        not take in_statement_expr and in_compound as arguments.  Rename
        to cp_parser_label_for_labeled_statement.  Parse only the label,
        not the statement.
        (cp_parser_statement): Parse the statement of a labeled-statement
        from here, using tail recursion.

From-SVN: r117026
2006-09-18 15:32:43 +00:00
Benjamin Kosnik
cbe5ba46e0 typelist.h (cond_type): Remove, use __conditional_type.
2006-09-18  Benjamin Kosnik  <bkoz@redhat.com>

	* include/ext/typelist.h (cond_type): Remove, use __conditional_type.

From-SVN: r117025
2006-09-18 13:57:19 +00:00
Benjamin Kosnik
105c6331b2 type_traits.h: New.
2006-09-18  Benjamin Kosnik  <bkoz@redhat.com>
	    Peter Doerfler  <gcc@pdoerfler.com>
	    Paolo Carlini  <pcarlini@suse.de>
	
	* include/ext/type_traits.h: New. 
	(__conditional_type): New.
	(__numeric_traits): New.
	(__add_unsigned): New.
	(__remove_unsigned): New.
	(__enable_if): New.
	* include/Makefile.am: Add.
	* include/Makefile.in: Regenerate.
	* include/ext/pb_ds/detail/type_utils.hpp: Use ext include,
	remove duplicates.
	* include/tr1/hashtable_policy.h (IF): Use __conditional_type.
	(_Max_digits10): Same.
	(identity): Use _Identity.
	(extract1st): Use _Select1st.
	* include/tr1/random (_Select): Use __conditional_type.
	(_To_Unsigned_Type): Use __add_unsigned. Linebreak fixups.
	* include/bits/locale_facets.tcc (__to_unsigned_type): Remove, use
	__add_unsigned.
	* include/tr1/random.tcc: Fixups as above.
	* include/tr1/unordered_map: Same.
	* include/tr1/hashtable: Same.
	* include/tr1/unordered_set: Same.
	* include/ext/pb_ds/detail/gp_hash_table_map_/
	standard_policies.hpp: Same.
	* include/ext/pb_ds/detail/standard_policies.hpp: Same.
	* include/ext/pb_ds/detail/typelist/typelist_filter.hpp: Same.
	* include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
	* include/ext/pb_ds/detail/type_utils.hpp: Same.
	* include/ext/pb_ds/trie_policy.hpp: Same.
	* docs/html/ext/pb_ds/string_trie_e_access_traits.html: Same.
	
	* include/bits/cpp_type_traits.h (__enable_if): Move to ext, make
	boolean argument first.	
	* include/bits/locale_facets.h: Fixups for __enable_if argument
	and namespace switch.
	* include/bits/stl_algobase.h: Same.
	* include/bits/stl_algo.h: Same.
	* include/bits/stl_iterator.h: Same.
	* include/bits/streambuf_iterator.h: Same.
	* include/debug/safe_iterator.h: Same.
	* include/tr1/hashtable_policy.h: Same.
	* include/tr1/cmath: Same.
	* include/tr1/functional: Same.
	* include/tr1/functional_iterate.h: Same.
	* include/std/std_streambuf.h: Same.
	* include/c_std/std_cmath.h: Same.
	* testsuite/util/testsuite_tr1.h: Same.
	* testsuite/util/performance/assoc/multimap_common_type.hpp: Same.


Co-Authored-By: Paolo Carlini <pcarlini@suse.de>
Co-Authored-By: Peter Doerfler <gcc@pdoerfler.com>

From-SVN: r117024
2006-09-18 13:30:56 +00:00
Paolo Carlini
bcc4a44f6b re PR libstdc++/29063 (valarray does not undefine all temp macros)
2006-09-18  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/29063
	* include/bits/valarray_array.h: Fix typo, undefine
	_DEFINE_ARRAY_FUNCTION.
	* include/std/std_valarray.h: Undefine _DEFINE_BINARY_OPERATOR.

From-SVN: r117019
2006-09-18 09:19:36 +00:00
Paul Thomas
80f2bb6e3a re PR fortran/29060 (spread causes ICE in gfc_trans_array_constructor)
2006-09-18  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/29060
	* iresolve.c (resolve_spread): Build shape for result if the
	source shape is available and dim and ncopies are constants.

	PR fortran/28817
	PR fortran/21918
	* trans-decl.c (generate_local_decl): Change from 'warning' to
	'gfc_warning' to have line numbers correctly reported.

2006-09-18  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/29060
	* gfortran.dg/spread_shape_1.f90: New test.

From-SVN: r117014
2006-09-18 06:24:54 +00:00
Feng Wang
9adc3dc789 Fix ChangeLog format: Add * before filename.
From-SVN: r117013
2006-09-18 03:44:45 +00:00
Roger Sayle
aac8b8ed8a re PR tree-optimization/28887 (rejects valid code (bitfields and loops) with -O1 -fprefetch-loop-arrays)
2006-09-17  Zdenek Dvorak <dvorakz@suse.cz>

	PR tree-optimization/28887
	* tree-ssa-loop-prefetch.c (analyze_ref): Strip nonaddressable
	component parts from the reference.
	(gather_memory_references_ref): Record the reference without the
	nonaddressable component parts.

	* gcc.dg/prefetch-loop-arrays-1.c: New test case.

From-SVN: r117012
2006-09-18 01:54:33 +00:00
GCC Administrator
8e77de24de Daily bump.
From-SVN: r117010
2006-09-18 00:17:33 +00:00
Bernhard Fischer
c3382fba04 dg-cmp-results.sh (compare-$$.awk): Print name[old] and not non-existing nm[old].
2006-09-18  Bernhard Fischer  <aldot@gcc.gnu.org>

	* dg-cmp-results.sh (compare-$$.awk): Print name[old]
	and not non-existing nm[old].

From-SVN: r117006
2006-09-18 00:13:26 +02:00
Steven Bosscher
69723be2b3 re PR c/25993 (-std= produces incorrect preprocessor output for .S)
gcc/
	PR c/25993
	* c-opts.c (c_common_handle_option): Ignore the -std options
	if the input language is assembly.

testsuite/
	PR c/25993
	* gcc.dg/pr25993.c: New test.

From-SVN: r117005
2006-09-17 13:14:53 +00:00
Ira Rosen
7a7d38044d re PR tree-optimization/21591 (not vectorizing a loop with access to structs)
PR tree-opt/21591
        * tree-data-ref.c (ptr_decl_may_alias_p): Look for the name memory
        tag first.
        (ptr_ptr_may_alias_p): Likewise.
        (record_record_differ_p): New function.
        (base_object_differ_p): Call record_record_differ_p.

From-SVN: r117003
2006-09-17 09:17:51 +00:00
GCC Administrator
76c1a415eb Daily bump.
From-SVN: r117001
2006-09-17 00:17:14 +00:00
Andrew Pinski
a9fdb86b72 re PR tree-optimization/29059 (ICE: verify_stmts failed (invalid operand to unary operator ""[0];))
2006-09-16  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/29059
        * gcc.c-torture/compile/strcpy-1.c: New test.
        * gcc.c-torture/compile/strcpy-2.c: New test.
        * gcc.c-torture/compile/memcpy-1.c: New test.
        * gcc.c-torture/compile/memcpy-2.c: New test.

2006-09-16  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/29059
        * tree-ssa-propagate.c (set_rhs): Reject MODIFY_EXPR right
        away for the expr argument.

From-SVN: r116997
2006-09-16 15:52:11 -07:00
Steven Bosscher
0c5e4273d3 tree-vectorizer.c (vectorize_loops): Clear vect_loop_location before using it for dumping after vectorizing loops.
* tree-vectorizer.c (vectorize_loops): Clear vect_loop_location
	before using it for dumping after vectorizing loops.

From-SVN: r116996
2006-09-16 20:06:23 +00:00
Andrew Pinski
70fb00df82 re PR target/29030 (gcc.dg/array-9.c produces internal compiler error on Darwin at -m64)
2006-09-16   Andrew Pinski  <pinskia@physics.uc.edu>
             Jack Howarth  <howarth@bromo.med.uc.edu>

        PR target/29030
        * config/rs6000/rs6000.c (rs6000_darwin64_record_arg_advance_recurse)
        skip on error_mark_node.                                                                   (rs6000_darwin64_record_arg_recurse): Likewise.

Co-Authored-By: Jack Howarth <howarth@bromo.med.uc.edu>

From-SVN: r116994
2006-09-16 09:01:16 +00:00
Jack Howarth
3c40b0525e re PR testsuite/29055 (gcc.target/powerpc/darwin-bool-1.c fails on powerpc-apple-darwin8 at -m64)
2006-09-16  Jack Howarth  <howarth@bromo.med.uc.edu>

        PR testsuite/29055
        * gcc.target/powerpc/darwin-bool-1.c: Skip -m64

From-SVN: r116993
2006-09-16 08:55:54 +00:00
Steven Bosscher
1049f47570 rtl.h (LABEL_OUTSIDE_LOOP_P): Remove.
* rtl.h (LABEL_OUTSIDE_LOOP_P): Remove.
        * doc/rtl.texi: Remove related documentation.

From-SVN: r116992
2006-09-16 08:46:22 +00:00
Paul Thomas
9769e9e0b3 select_6.f90: Change message.
2006-09-16  Paul Thomas  <pault@gcc.gnu.org>

	* gfortran.dg/select_6.f90: Change message.

From-SVN: r116991
2006-09-16 04:28:44 +00:00
Kaveh R. Ghazi
e757d6b231 decNumber.c (decNumberPower): Constify.
* decNumber.c (decNumberPower): Constify.
	* decNumber.h (decNumberPower): Likewise.

From-SVN: r116990
2006-09-16 02:54:29 +00:00
GCC Administrator
a22719c100 Daily bump.
From-SVN: r116988
2006-09-16 00:17:17 +00:00
Bernd Schmidt
405f05879e loop-doloop.c (doloop_optimize): Remove bogus arg from debugging printf.
* loop-doloop.c (doloop_optimize): Remove bogus arg from debugging
	printf.

From-SVN: r116984
2006-09-15 23:32:58 +00:00
James E Wilson
d0970db2ad Short term fix for PR 28490.
* config/ia64/ia64.c (ia64_legitimate_constant_p, cast CONST):
Handle symbol offsets same as they are handled in ia64_expand_move
and move_operand.

From-SVN: r116983
2006-09-15 16:05:40 -07:00
Andreas Tobler
7607bddac9 loop-doloop.c (doloop_optimize): Change type of max_cost to int.
2006-09-16  Andreas Tobler  <a.tobler@schweiz.org>

	* loop-doloop.c (doloop_optimize): Change type of max_cost to int.
	Add forgotten parameter to the fprintf call.

From-SVN: r116982
2006-09-16 00:47:26 +02:00
Eric Botcazou
41d9adc7fa re PR ada/15802 (ICE at expr.c:6764 (placeholder mechanism))
PR ada/15802
	* decl.c (same_discriminant_p): New static function.
	(gnat_to_gnu_entity) <E_Record_Type>: When there is a parent
	subtype and we have discriminants, fix up the COMPONENT_REFs
	for the discriminants to make them reference the corresponding
	fields of the parent subtype after it has been built.

From-SVN: r116981
2006-09-15 18:32:24 +00:00
Steve Ellcey
7ee51a34b8 * config/ia64/hpux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Add define.
From-SVN: r116980
2006-09-15 18:14:10 +00:00
Paul Thomas
8c5c0b80a4 re PR fortran/29051 (segfault when too few values are in data statement of character array)
2006-09-15  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/29051
	* decl.c (match_old_style_init): Set the 'where' field of the
	gfc_data structure 'newdata'.

	* match.c (match_case_eos): Add a comprehensible error message.

2006-09-15  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/29051
	* gfortran.dg/oldstyle_3.f90: New test.

From-SVN: r116977
2006-09-15 16:30:52 +00:00
Jerry DeLisle
906d8c784a re PR libfortran/29099 (secnds intrinsic gives wrong result)
2006-09-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/29099
	* gfortran.dg/secnds-1.f: New test.

From-SVN: r116976
2006-09-15 16:07:53 +00:00
Jerry DeLisle
f49d5a7eca re PR libfortran/29099 (secnds intrinsic gives wrong result)
2006-09-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/29099
	* intrinsics/date_and_time.c (secnds): Fix case of zero time.

From-SVN: r116975
2006-09-15 16:03:52 +00:00
Uros Bizjak
615d37d2bb contrib.texi: Add my entry.
* doc/contrib.texi: Add my entry.

From-SVN: r116974
2006-09-15 17:59:33 +02:00
Nick Clifton
a71b1c58dc md.texi (Processor pipeline description): Fix typo in example of how to use the absence_set directive and reword the...
* doc/md.texi (Processor pipeline description): Fix typo in
  example of how to use the absence_set directive and reword the
  description to make it slightly easier to read.

From-SVN: r116973
2006-09-15 15:27:43 +00:00
Bernd Schmidt
e54273ebec bfin.c (struct loop_info): New members block_bitmap and bad.
* config/bfin/bfin.c (struct loop_info): New members block_bitmap and
	bad.
	(struct loop_work and related VEC declarations): Delete.
	(bfin_dump_loops): Print out new member bad.
	(bfin_bb_in_loop): Use plain bitmap test.  Don't recurse.
	(bfin_scan_loop): Don't recurse.
	(bfin_optimize_loop): Don't use a loop depth of -1 to indicate bad
	loops.  No longer need to update outer loops if the current one is
	found bad.  Move some validitiy checks to bfin_discover_loop.
	(bfin_discover_loop): New function, mostly split from bfin_reorg_loops,
	but changed not to check for nesting.  Also changed to use the new bad
	flag.
	(bfin_reorg_loops): Use bfin_discover_loop to find single loops one at a
	time.  Use bitmap based test to discover loop nesting.

From-SVN: r116972
2006-09-15 14:41:43 +00:00
Jerry DeLisle
61943a2165 re PR fortran/29053 (Consecutive STREAM I/O file positions mixed up)
2006-09-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/29053
	* gfortran.dg/streamio_9.f90: New test.
	* gfortran.dg/streamio_10.f90: New test.

From-SVN: r116971
2006-09-15 13:32:12 +00:00
Jerry DeLisle
701306112e re PR fortran/29053 (Consecutive STREAM I/O file positions mixed up)
2006-09-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/29053
	* io.h (gfc_unit): Add variable, strm_pos, to track
	STREAM I/O file position.
	* file_pos.c (st_rewind): Set strm_pos to beginning.
	* open.c (new_unit): Initialize strm_pos.
	* read.c (read_x): Bump strm_pos.
	* inquire.c (inquire_via_unit): Return strm_pos value.
	* transfer.c (read_block),(read_block_direct),(write_block)
	(write_buf): Seek to strm_pos - 1.  Update strm_pos when done.
	(pre_position): Initialize strm_pos.
	(data_transfer_init): Set strm_pos if DT_HAS_REC.
	(finalize_transfer): Flush file, no need to update strm_pos.

From-SVN: r116970
2006-09-15 13:16:15 +00:00
Bernd Schmidt
5419bc7f3d cfgrtl.c (emit_insn_at_entry): Use gcc_assert, not abort.
* cfgrtl.c (emit_insn_at_entry): Use gcc_assert, not abort.

From-SVN: r116969
2006-09-15 12:41:08 +00:00
Bernd Schmidt
11b904a1fc cfgrtl.c (emit_insn_at_entry): New function.
* cfgrtl.c (emit_insn_at_entry): New function.
	* rtl.h (emit_insn_at_entry): Declare it.
	* integrate.c (emit_initial_value_sets): Use it.

From-SVN: r116968
2006-09-15 12:35:43 +00:00