Commit Graph

75462 Commits

Author SHA1 Message Date
Andreas Krebbel 7e665d1808 s390.md ("doloop_si64", [...]): Add a new alternative to the constraint strings.
2006-06-19  Andreas Krebbel  <krebbel1@de.ibm.com>

	* config/s390/s390.md ("doloop_si64", "doloop_si31", "doloop_di"): 
	Add a new alternative to the constraint strings. Add move of
	operand 1 to 3 to the splitter definition.
	("doloop_si_long"): Second contraint alternative removed.

From-SVN: r114767
2006-06-19 08:01:56 +00:00
John David Anglin 9b7e4f4ff8 re PR libgomp/27254 (FAIL: libgomp.fortran/reduction6.f90)
PR libgomp/27254
	* io/unit.c (get_internal_unit): Initialize and lock thread mutex
	for internal units.

From-SVN: r114765
2006-06-19 03:07:54 +00:00
GCC Administrator 75354be7aa Daily bump.
From-SVN: r114763
2006-06-19 00:17:07 +00:00
Anatoly Sokolov 4301ec4f6f avr.h (avr_have_movw_lpmx_p): Declare.
* config/avr/avr.h (avr_have_movw_lpmx_p): Declare.
	(TARGET_CPU_CPP_BUILTINS): Add __AVR_HAVE_MOVW__ and 
	__AVR_HAVE_LPMX__.
	(AVR_HAVE_MOVW) Define.
	(ASSEMBLER_DIALECT): Use AVR_HAVE_MOVW.
	(ASM_SPEC): Add avr25.
	(LINK_SPEC): Add avr25.
	* config/avr/avr.c (avr_have_movw_lpmx_p): Add.
	(base_arch_s): Add new member 'have_movw_lpmx'.
	(avr_arch_types): Init 'have_movw_lpmx'.
	(avr_mcu_types): Add 'avr25'. Move attiny13, attiny2313, attiny24,
	attiny44, attiny84, attiny25, attiny45, attiny85, attiny261,
	attiny461, attiny861 and at86rf401 in 'avr25' arhitecture.
	(avr_override_options): Init 'avr_have_movw_lpmx_p'.
	(output_movhi, output_movsisf, ashlsi3_out, avr_rtx_costs): Use 
	AVR_HAVE_MOVW.
	(avr_file_start): Do not output '.arh' derective.
	* config/avr/libgcc.S (mov_l): Use __AVR_HAVE_MOVW__.
	(__do_copy_data): Use __AVR_HAVE_LPMX__.
	* config/avr/avr.md (mcu_enhanced): Delete.
	(mcu_have_movw): Define.
	(negsi2, extendhisi2, zero_extendhisi2): Use 'mcu_have_movw'.
	(call_insn, call_value_insn): Use 'call_insn' and __AVR_HAVE_MOVW__.
	* config/avr/t-avr(MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Add avr25.
	(MULTILIB_MATCHES): Add attiny13, attiny2313, attiny24, attiny44,
	attiny84, attiny25, attiny45, attiny85, attiny261, attiny461, 
	attiny861 and at86rf401 devices.

From-SVN: r114758
2006-06-18 22:14:06 +04:00
Francois-Xavier Coudert 98efaf34b2 re PR fortran/26801 (-fbounds-check generates segfault)
PR fortran/26801

	* trans-intrinsic.c (gfc_conv_associated): Use pre and post blocks
	of the scalarization expression.

	* gfortran.dg/associated_4.f90: New test.

From-SVN: r114757
2006-06-18 17:36:47 +00:00
Jie Zhang a9c4699889 bfin.h (REG_CLASS_FROM_LETTER): Rename constraint 'B' to 'v', 'l' to 'u'.
* config/bfin/bfin.h (REG_CLASS_FROM_LETTER): Rename constraint 'B'
	to 'v', 'l' to 'u'.
	* config/bfin/bfin.md: Change comment accordingly.
	(define_insn loop_end): Replace 'h' with 'v'.
	(lsetup_with_autoinit): Replace 'l' with 'u'. 
	(lsetup_without_autoinit): Ditto.
	* md.texi: Record this change.

From-SVN: r114756
2006-06-18 10:30:23 +00:00
Jie Zhang 40327e038e bfin.c (MAX_LOOP_LENGTH): Define to be 2042 instead of 4096.
* config/bfin/bfin.c (MAX_LOOP_LENGTH): Define to be 2042 instead
	of 4096.

From-SVN: r114755
2006-06-18 10:09:59 +00:00
Jerry DeLisle d5b7950a7f Add PR reference to last ChangeLog entry.
From-SVN: r114754
2006-06-18 06:44:29 +00:00
Jerry DeLisle 604f802b44 re PR fortran/19310 ([4.1 Only] unnecessary error for overflowing results)
2006-06-18  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/19310
	PR fortran/19904
	* gfortran.dg/real_const_3.f90: New test.

From-SVN: r114753
2006-06-18 06:42:26 +00:00
Jerry DeLisle 545548257d re PR fortran/19310 ([4.1 Only] unnecessary error for overflowing results)
2006-06-18  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/19310
	* arith.c (gfc_range_check): Return ARITH_OK if -fno-range-check. Add
	return of ARITH_NAN, ARITH_UNDERFLOW, and ARITH_OVERFLOW.
	(gfc_arith_divide): If -fno-range-check allow mpfr to divide by zero.
	* gfortran.h (gfc_option_t): Add new flag.
	* invoke.texi: Document new flag.
	* lang.opt: Add option -frange-check.
	* options.c (gfc_init_options): Initialize new flag.
	(gfc_handle_options): Set flag if invoked.
	* simplify.c (range_check): Add error messages for
	overflow, underflow, and other errors.
	* trans-const.c (gfc_conv_mpfr_to_tree): Build NaN and Inf from mpfr
	result.

From-SVN: r114752
2006-06-18 06:36:45 +00:00
GCC Administrator 37b4da102f Daily bump.
From-SVN: r114750
2006-06-18 00:17:21 +00:00
Karl Berry c3cb54c634 cpp.texi, [...] (@dircategory): Use "Software development" instead of "Programming"...
* doc/cpp.texi, doc/cppinternals.texi, doc/gcc.texi,
	doc/gccint.texi, doc/install.texi (@dircategory): Use
	"Software development" instead of "Programming", following
	the Free Software Directory.

From-SVN: r114746
2006-06-17 23:25:16 +00:00
Karl Berry 7348b1fd66 gcj.texi (@dircategory): Use "Software development" instead of "Programming"...
* gcj.texi (@dircategory): Use "Software development" instead
	of "Programming", following the Free Software Directory.

From-SVN: r114745
2006-06-17 23:23:27 +00:00
Karl Berry 2cec61bdd2 gfortran.texi (@dircategory): Use "Software development" instead of "Programming"...
* gfortran.texi (@dircategory): Use "Software development"
	instead of "Programming", following the Free Software Directory.

From-SVN: r114744
2006-06-17 23:22:05 +00:00
Karl Berry 0b21df172f treelang.texi (@dircategory): Use "Software development" instead of "Programming"...
* treelang.texi (@dircategory): Use "Software development"
	instead of "Programming", following the Free Software Directory.

From-SVN: r114743
2006-06-17 23:21:37 +00:00
Karl Berry 5f516f5998 gnat-style.texi (@dircategory): Use "Software development" instead of "Programming"...
* gnat-style.texi (@dircategory): Use "Software development"
	instead of "Programming", following the Free Software Directory.

From-SVN: r114742
2006-06-17 23:20:52 +00:00
Alexandre Oliva 31ebc801bc i386.c (legitimate_tls_address): Add tp after DTPOFF.
* config/i386/i386.c (legitimate_tls_address)
<TARGET_GNU2_TLS>: Add tp after DTPOFF.
* config/i386/i386.md (*tls_dynamic_gnu2_combine_32): Adjust.
(*tls_dynamic_gnu2_combine_64): Likewise.

From-SVN: r114741
2006-06-17 17:07:42 +00:00
Ami Tavory 4dc3fbb0eb twister_rand_gen.cc: Adapt to simply use tr1::mt19937.
2006-06-17  Ami Tavory  <atavory@gmail.com>
	    Paolo Carlini  <pcarlini@suse.de>

	* testsuite/util/rng/twister_rand_gen.cc: Adapt to simply use
	tr1::mt19937.
	* testsuite/util/rng/twister_rand_gen.hpp: Likewise.

Co-Authored-By: Paolo Carlini <pcarlini@suse.de>

From-SVN: r114740
2006-06-17 10:06:41 +00:00
Mark Mitchell da71e18cae re PR c++/28016 (emitting template constant)
PR c++/28016
	* decl.c (cp_finsh_decl): Do not emit uninstantiated static data
	members.
	PR c++/28016
	* g++.dg/template/static26.C: New test.

From-SVN: r114739
2006-06-17 01:11:34 +00:00
GCC Administrator 18defd42d7 Daily bump.
From-SVN: r114737
2006-06-17 00:17:19 +00:00
Mark Mitchell 80eb9ddd1c re PR c++/27979 (conversion check confused by enum bitfields)
PR c++/27979
	* call.c (standard_conversion): Strip cv-qualifiers from bitfield
	types.
	PR c++/27979
	* g++.dg/expr/bitfield2.C: New test.

From-SVN: r114733
2006-06-16 23:12:08 +00:00
Paolo Carlini 43765c8a70 hash_data_map_rand.cc: Revert accidental commit.
2006-06-16  Paolo Carlini  <pcarlini@suse.de>

	* testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Revert
	accidental commit.
	* testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
	* testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Same.
	* testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Same.
	* testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Same.
	* testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
	* testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
	* testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
	* testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.

From-SVN: r114732
2006-06-16 23:09:38 +00:00
Paolo Carlini 0934c5effc random (uniform_real<>::uniform_real(_RealType, _RealType)): Implement.
2006-06-16  Paolo Carlini  <pcarlini@suse.de>

	* include/tr1/random (uniform_real<>::uniform_real(_RealType,
	_RealType)): Implement.
	(uniform_real<>::min()): Likewise.
	(uniform_real<>::max()): Likewise.
	(uniform_real<>::reset()): Likewise.

	* include/tr1/random (class uniform_real<>): Minor cosmetic tweaks.

From-SVN: r114730
2006-06-16 23:04:51 +00:00
Paolo Carlini e4d154a179 2006-06-16 Paolo Carlini <pcarlini@suse.de>
* Fix ChangeLog typo.

From-SVN: r114729
2006-06-16 22:14:33 +00:00
Paolo Carlini e11b210a9c locale_facets.tcc (time_get<>::_M_extract_via_format): Ignore the value of the __err argument.
2006-06-17  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/locale_facets.tcc (time_get<>::_M_extract_via_format):
	Ignore the value of the __err argument.
	(time_get<>::do_get_weekday): Likewise.
	(time_get<>::do_get_monthname): Likewise.
	* testsuite/22_locale/time_get/get_year/wchar_t/5.cc: New.
	* testsuite/22_locale/time_get/get_year/char/5.cc: Likewise.
	* testsuite/22_locale/time_get/get_monthname/wchar_t/5.cc: Likewise.
	* testsuite/22_locale/time_get/get_monthname/char/5.cc: Likewise.
	* testsuite/22_locale/time_get/get_weekday/wchar_t/5.cc: Likewise.
	* testsuite/22_locale/time_get/get_weekday/char/5.cc: Likewise.
	* testsuite/22_locale/time_get/get_date/wchar_t/5.cc: Likewise.
	* testsuite/22_locale/time_get/get_date/char/5.cc: Likewise.
	* testsuite/22_locale/time_get/get_time/wchar_t/5.cc: Likewise.
	* testsuite/22_locale/time_get/get_time/char/5.cc: Likewise.

From-SVN: r114728
2006-06-16 22:13:13 +00:00
Mark Mitchell 75a829785f re PR c++/27884 (bogus error: invalid use of 'register' in linkage specification)
PR c++/27884
	* decl.c (have_extern_spec): Remove.
	(start_decl): Do not check have_extern_spec.
	(start_function): Likewise.
	* cp-tree.h (have_extern_spec): Remove.
	* parser.c (cp_parser_linkage_specification): Don't set
	have_extern_spec.
	(cp_parser_init_declarator): Likewise.
	(cp_parser_parameter_declaration): Do not treat parameters as
	within the scope of an unbraced linkage specification.
	PR c++/27884
	* g++.dg/parse/linkage2.C: New test

From-SVN: r114727
2006-06-16 18:45:50 +00:00
Rainer Orth 04879af33d re PR target/27540 (libgomp fails to configure on IRIX 5.3)
PR target/27540
	* configure.in: Only enable libgomp on IRIX 6.
	* configure: Regenerate.

From-SVN: r114726
2006-06-16 17:53:03 +00:00
Francois-Xavier Coudert ef31fe6257 re PR fortran/27965 (invalid "Array bound mismatch" runtime error)
PR fortran/27965
	* trans-array.c (gfc_conv_ss_startstride): Correct the runtime
	conditions for bounds-checking. Check for nonzero stride.
	Don't check the last dimension of assumed-size arrays. Fix the
	dimension displayed in the error message.

From-SVN: r114724
2006-06-16 17:03:43 +00:00
Richard Guenther 1af8dcbf0b re PR middle-end/27116 (Incorrect integer division (wrong sign).)
2006-06-16  Richard Guenther  <rguenther@suse.de>

	PR middle-end/27116
	* fold-const.c (negate_expr_p): Do not introduce undefined
	overflow in negating INTEGER_CSTs.
	(fold_negate_expr): Rename from negate_expr.  Revert last
	change for folding BIT_NOT_EXPR.  Change semantics to
	return NULL_TREE for non-simplified negations.  Do not
	strip type conversions and unify type handling.
	(negate_expr): New function, wrap around fold_negate_expr
	but ensure building a tree always.  Strip type conversions
	here, fold to result type.
	(fold_unary): Use fold_negate_expr for folding NEGATE_EXPR.

	* gcc.dg/pr15785-1.c: Revert last change.
	* gcc.dg/torture/pr27116-2.c: New testcase.

From-SVN: r114723
2006-06-16 14:56:34 +00:00
Roger Sayle 2d0df1f9a8 re PR middle-end/27802 (ICE with longjmp)
PR middle-end/27802
	* reg-stack.c (subst_stack_regs): Handle noreturn function calls
	that (would) return their results in stack registers.

	* gcc.dg/pr27802-1.c: New test case.

From-SVN: r114721
2006-06-16 13:21:45 +00:00
Andrew Haley e046c56eee class.c (make_class_data): When using flag_indirect_classes, don't initialize the vtable of Class instances.
2006-06-16  Andrew Haley  <aph@redhat.com>

        * class.c (make_class_data): When using flag_indirect_classes,
        don't initialize the vtable of Class instances.

2006-06-16  Andrew Haley  <aph@redhat.com>

        * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Don't
        copy the whole Class instance from the initializer: instead, copy
        everything but the first word (the vtable pointer).
        Change prototype to (const char* class_initializer).
        (_Jv_RegisterNewClasses): Change prototype to (const char**).
        * java/lang/Class.h (_Jv_RegisterNewClasses): Change prototype to
        (const char**).

From-SVN: r114714
2006-06-16 08:56:29 +00:00
Michael Matz 47392a21de fold-const.c (fold_truthop): Only return new tree node if we canonicalized something.
2006-06-16  Michael Matz  <matz@suse.de>
	Richard Guenther  <rguenther@suse.de>

	* fold-const.c (fold_truthop): Only return new tree node if
	we canonicalized something.

Co-Authored-By: Richard Guenther <rguenther@suse.de>

From-SVN: r114713
2006-06-16 08:34:39 +00:00
Richard Guenther 55dea919b6 function.h (enum function_frequency): Move declaration out of struct function.
2006-06-16  Richard Guenther  <rguenther@suse.de>

	* function.h (enum function_frequency): Move declaration
	out of struct function.
	(struct function): Move bool fields and the enum to the bitfield
	section.  Reorder elements to avoid padding.  Remove unused
	fields left over from the RTL inliner removal.
	* function.c (free_after_compilation): Do not zero removed fields.
	* Makefile.in (ipa-reference.o): Add $(FUNCTION_H) dependency.
	(ipa-type-escape.o): Likewise.

From-SVN: r114712
2006-06-16 08:33:09 +00:00
Richard Guenther b4e19405bc cgraph.h (struct cgraph_local_info): Turn bool elements into a bitfield.
2006-06-16  Richard Guenther  <rguenther@suse.de>

	* cgraph.h (struct cgraph_local_info): Turn bool elements
	into a bitfield.
	(struct cgraph_node): Likewise.
	(struct cgraph_varpool_node): Likewise.

From-SVN: r114711
2006-06-16 08:30:34 +00:00
Benjamin Kosnik 81ee09de66 type_utils.hpp (numeric_traits): Add, const expression interface to std::numeric_limits::min and max functions.
2006-06-15  Benjamin Kosnik  <bkoz@redhat.com>

	* include/ext/pb_ds/detail/type_utils.hpp (numeric_traits): Add,
	const expression interface to std::numeric_limits::min and max
	functions.
	* include/ext/pb_ds/trie_policy.hpp (string_trie_e_access_traits):
	Use it.

	* include/ext/pb_ds/detail/resize_policy/
	hash_load_check_resize_trigger_imp.hpp: Format.
	* include/ext/pb_ds/detail/pat_trie_/internal_node.hpp: Same.

From-SVN: r114706
2006-06-16 06:32:22 +00:00
Mark Mitchell 4e95268d59 re PR c++/27689 (function template incorrectly selected as candidate)
PR c++/27689
	* cp-tree.h (CLASSTYPE_SPECIALIZATION_OF_PRIMARY_TEMPLATE_P): New
	macro.
	* pt.c (unify): Use it.
	PR c++/27689
	* g++.dg/template/ttp18.C: New test.
	* g++.dg/template/ttp19.C: Likewise.

From-SVN: r114703
2006-06-16 06:08:49 +00:00
Mark Mitchell 2954333afc re PR c++/27666 (ICE with volatile in conditional expression)
PR c++/27666
	* call.c (build_conditional_expr): Robustify.
	PR c++/27666
	* g++.dg/expr/cond9.C: New test.

From-SVN: r114702
2006-06-16 02:33:35 +00:00
Mark Mitchell a95799ec5f re PR c++/27640 (segfault, related to constructor instantiation and virtual base case and templates and new operator)
PR c++/27640
	* pt.c (instantiate_template): Set processing_template_decl to
	zero while performing substitutions.
	PR c++/27640
	* g++.dg/template/ctor7.C: New test.

From-SVN: r114701
2006-06-16 02:09:10 +00:00
GCC Administrator 9f84b5ae28 Daily bump.
From-SVN: r114699
2006-06-16 00:17:23 +00:00
Paolo Carlini f28e0f4526 random.tcc (mersenne_twister<>::operator()()): Reload the last position of the _M_x vector too.
2006-06-15  Paolo Carlini  <pcarlini@suse.de>

	* include/tr1/random.tcc (mersenne_twister<>::operator()()):
	Reload the last position of the _M_x vector too.

From-SVN: r114695
2006-06-16 00:04:43 +00:00
Janis Johnson 92a36a4a45 * gcc.dg/vmx/pr27842.c: Remove dg-do directive; use default.
From-SVN: r114690
2006-06-15 21:32:20 +00:00
Richard Guenther d817ed3b10 fold-const.c (fold_truth_not_expr): Rename from invert_truthvalue.
2006-06-15  Richard Guenther  <rguenther@suse.de>

	* fold-const.c (fold_truth_not_expr): Rename from
	invert_truthvalue.  Give it fold_* semantics to avoid
	generating garbage.
	(invert_truthvalue): New function.  Wrapper around
	fold_truth_not_expr.
	(optimize_minmax_comparison): Avoid creating garbage.
	(fold_unary): Use fold_truth_not_expr for folding
	TRUTH_NOT_EXPR.
	(fold_ternary): Replace uses of invert_truthvalue with
	fold_truth_not_expr where applicable.
	* tree.h (fold_truth_not_expr): Prototype.

From-SVN: r114683
2006-06-15 18:55:18 +00:00
Thomas Fitzsimmons 5cf0aa0a31 Makefile.am: Do not recurse into tools directory.
2006-06-15  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* classpath/Makefile.am: Do not recurse into tools directory.
	* classpath/Makefile.in: Regenerate.

From-SVN: r114682
2006-06-15 18:42:46 +00:00
Richard Guenther 5d35c1715c re PR middle-end/27781 (weak-attribute over-optimisation)
2006-06-16  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/27781
	* Makefile.in (ipa-pure-const.o): Add $(TARGET_H) dependency.
	* ipa-pure-const.c (target.h): Include.
	(analyze_function): Do not analyze functions that do not
        bind locally.

	* gcc.dg/tree-ssa/pr27781.c: New testcase.

From-SVN: r114681
2006-06-15 17:23:41 +00:00
Joern Rennecke 11f7dd15f1 _Pragma6.c: Fix comment.
* gcc.dg/cpp/_Pragma6.c: Fix comment.
	Test is not supported on sh*-unknown-elf nor sh*-superh-elf.
	* g++.dg/cpp/_Pragma1.C: Likewise.

From-SVN: r114680
2006-06-15 17:36:21 +01:00
Andrew MacLeod 82460c7576 re PR middle-end/27793 (num_ssa_names inconsistent or immediate use iterator wrong)
2006-06-15  Andrew MacLeod  <amacleod@redhat.com>
	
	PR middle-end/27793
	* tree-dfa.c (referenced_vars_dup_list): Remove.
	(find_referenced_vars): Remove assert.
	(referenced_var_check_and_insert): Replace dup list with assert.
	* tree-ssa.c (delete_tree_ssa): Remove dup list processing.
	* tree-flow.h (referenced_vars_dup_list): Remove extern decl.

From-SVN: r114678
2006-06-15 13:30:17 +00:00
Thomas Koenig da4340a1ac trans-array.h (gfc_trans_create_temp_array): Add bool argument.
2006-06-15  Thomas Koenig <Thomas.Koenig@online.de>

	* trans-array.h (gfc_trans_create_temp_array):  Add bool
	argument.
	* trans-arrray.c (gfc_trans_create_temp_array): Add extra
	argument "function" to show if we are translating a function.
	If we are translating a function, perform checks whether
	the size along any argument is negative.  In that case,
	allocate size 0.
	(gfc_trans_allocate_storage):  Add function argument (as
	false) to gfc_trans_create_temp_array call.
	* trans-expr.c (gfc_conv_function_call):  Add function
	argument (as true) to gfc_trans_create_temp_array call.
	* trans-stmt.c (gfc_conv_elemental_dependencies): Add
	function argument (as false) to gfc_trans_create_temp_array
	call.
	* trans-intrinsic.c:  Likewise.

2006-06-15  Thomas Koenig <Thomas.Koenig@online.de>

	* gfortran.dg/allocate_zerosize_2.f90:  New test case.

From-SVN: r114677
2006-06-15 10:30:09 +00:00
Paolo Carlini e4ec6e1983 random (class xor_combine): Fix result_type typedef.
2006-06-15  Paolo Carlini  <pcarlini@suse.de>

	* include/tr1/random (class xor_combine): Fix result_type typedef.
	* testsuite/tr1/5_numerical_facilities/random/xor_combine/
	cons/default.cc: New.
	* testsuite/tr1/5_numerical_facilities/random/xor_combine/
	requirements/typedefs.cc: Tweak.

	* include/tr1/random: Minor cosmetic changes.

From-SVN: r114676
2006-06-15 10:19:06 +00:00
Richard Guenther 4f6c911075 tree-ssa-structalias.c (alias_get_name): Avoid creating extra unused identifiers if not dumping.
2006-06-15  Richard Guenther  <rguenther@suse.de>

	* tree-ssa-structalias.c (alias_get_name): Avoid creating
	extra unused identifiers if not dumping.
	(create_variable_info_for): Likewise.

From-SVN: r114675
2006-06-15 10:00:49 +00:00
Zdenek Dvorak 0ad1d5a1d2 tree-ssa-loop-niter.c (implies_nonnegative_p): New function.
* tree-ssa-loop-niter.c (implies_nonnegative_p): New function.
	(derive_constant_upper_bound): Derive more precise upper bound in
	common cases.  Return type changed to double_int.
	(record_estimate): Reflect the changed return type of
	derive_constant_upper_bound.
	* double-int.c (double_int_zext, double_int_sext): Fix.

	* gcc.dg/tree-ssa/loop-18.c: New test.

From-SVN: r114674
2006-06-15 09:42:03 +00:00