Commit Graph

80730 Commits

Author SHA1 Message Date
Benjamin Kosnik
ce2e63495d type_traits: (make_signed, make_unsigned): Adjust for enum sizes.
2007-05-07  Benjamin Kosnik  <bkoz@redhat.com>
            Howard Hinnant  <hhinnant@apple.com>

	* include/std/type_traits: (make_signed, make_unsigned): Adjust
	for enum sizes.	
	* testsuite/20_util/make_unsigned/requirements/typedefs.cc: Move to...
	* testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: ...here.
	* testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Add,
	compile with -funsigned-char -fshort-enums.
	* testsuite/20_util/make_signed/requirements/typedefs.cc: Move to...
	* testsuite/20_util/make_signed/requirements/typedefs-1.cc: ...here.
	* testsuite/20_util/make_signed/requirements/typedefs-2.cc: Add,
	compile with -funsigned-char -fshort-enums.

	* testsuite/20_util/headers/type_traits/types_std_c++0x_neg.cc:
	Add a temporary xfail to this test for all platforms.


Co-Authored-By: Howard Hinnant <hhinnant@apple.com>

From-SVN: r124500
2007-05-07 15:29:57 +00:00
Eric Botcazou
4be1caf900 tree-ssa-dom.c (tree_ssa_dominator_optimize): Do not free dominance info after purging EH edges.
* tree-ssa-dom.c (tree_ssa_dominator_optimize): Do not free dominance
	info after purging EH edges.
	(eliminate_degenerate_phis): Likewise.

From-SVN: r124499
2007-05-07 12:48:46 +00:00
Eric Botcazou
8d9d65619c tree-ssa-dom.c (tree_ssa_dominator_optimize): Reset cfg_altered.
* tree-ssa-dom.c (tree_ssa_dominator_optimize): Reset cfg_altered.
	Free dominance info before purging EH edges as well as after.
	(eliminate_degenerate_phis): Likewise.
	(propagate_rhs_into_lhs): Set cfg_altered to true instead of 1.

From-SVN: r124498
2007-05-07 11:42:21 +00:00
Jan Hubicka
2cb7995f07 gimplify.c (gimplify_expr): Do not crash when folding (void *)(int)&a + 4.
* gimplify.c (gimplify_expr): Do not crash when folding
	(void *)(int)&a + 4.

From-SVN: r124497
2007-05-07 10:36:09 +00:00
Francois-Xavier Coudert
5d148c0881 re PR fortran/31399 (Wrong code for do loop with large interation count)
PR fortran/31399

	* trans-stmt.c (gfc_trans_do): Handle large loop counts.

	* gfortran.dg/do_3.F90: New test.

From-SVN: r124496
2007-05-07 05:53:07 +00:00
Francois-Xavier Coudert
2f8e3bd7bd re PR driver/31694 (__GFORTRAN__ preprocessor macro)
PR driver/31694
	* c-opts.c (lang_fortran): Make it non static.
	* c-common.h (lang_fortran): New prototype.
	* c-cppbuiltin.c (c_cpp_builtins): Create a __GFORTRAN__ if the
	-lang-fortran option was passed by the driver.

From-SVN: r124495
2007-05-07 05:48:24 +00:00
Ben Elliston
8fa013c3e0 Fix a typo in 2007-05-03 entry from Ian Lance Taylor.
From-SVN: r124489
2007-05-07 11:14:15 +10:00
GCC Administrator
271d74d448 Daily bump.
From-SVN: r124485
2007-05-06 23:17:39 +00:00
Francois-Xavier Coudert
22aef73f17 re PR fortran/31764 (NEW_LINE with array argument)
PR fortran/31764

	* simplify.c (gfc_simplify_new_line): NEW_LINE can be simplified
	even for non constant arguments.

	* gfortran.dg/new_line.f90: Add new checks.

From-SVN: r124482
2007-05-06 22:56:52 +00:00
Jerry DeLisle
28fe1c4032 re PR fortran/31201 (Too large unit number generates wrong code)
2007-05-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/31201
	* gfortran.dg/large_unit_1.f90: New.
	* gfortran.dg/large_unit_2.f90: New.
	* gfortran.dg/iostat_4.f90: New
	* gfortran.dg/bounds_check_fail_1.f90: Updated.

From-SVN: r124481
2007-05-06 22:37:27 +00:00
Jerry DeLisle
f96d606f3a re PR fortran/31201 (Too large unit number generates wrong code)
2007-05-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
	    Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>

	PR fortran/31201
	* gfortran.h: Add runtime error codes from libgfortran.h. Define
	MAX_UNIT_NUMBER.
	* trans.c (gfc_trans_runtime_check): Update the format of runtime error
	messages to match library runtime errors.  Use call to new library
	function runtime_error_at().
	* trans.h: Add prototype for new function gfc_trans_io_runtime_check.
	Add declaration for library functions runtime_error_at and
	generate_error.
	* trans_io.c (gfc_trans_io_runtime_check): New function.
	(set_parameter_value): Add error checking for UNIT numbers.
	(set_parameter_ref): Initialize the users variable to zero. 
	(gfc_trans_open): Move setting of unit number to after setting of common
	flags so that runtime error trapping can be detected.
	(gfc_trans_close): Likewise. (build_filepos): Likewise.
	(gfc_trans_inquire): Likewise. (build_dt): Likewise.
	* trans-decl.c: Add declarations for runtime_error_at and
	generate_error. (gfc_build_builtin_function_decls): Build function
	declarations for runtime_error_at and generate_error.

Co-Authored-By: Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>

From-SVN: r124480
2007-05-06 22:32:33 +00:00
Jerry DeLisle
cb13c28858 re PR fortran/31201 (Too large unit number generates wrong code)
2007-05-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/31201
	* runtime/error.c (runtime_error_at): New function.
	(generate_error): Export this function.
	* gfortran.map: Add _gfortran_generate_error and
	_gfortran_runtime_error_at.
	* libgfortran.h: Add comment to reference error codes in front end.
	(library_start): Locate prototype with library_end macro and add
	a new comment.  Add prototype for runtime_error_at. Export prototype for
	generate_error.
	* io/lock.c (library_start): Fix check for error condition.
	* io/transfer.c (data_transfer_init): Add library check.

From-SVN: r124479
2007-05-06 22:28:31 +00:00
Eric Botcazou
982533a5b2 timevar.c (timevar_print): Test ENABLE_ASSERT_CHECKING instead of ASSERT_CHECKING.
* timevar.c (timevar_print): Test ENABLE_ASSERT_CHECKING instead
	of ASSERT_CHECKING.  Tweak message.

From-SVN: r124478
2007-05-06 21:21:17 +00:00
Paolo Carlini
74b332b8a0 complex: Add missing extern template declarations.
2007-05-06  Paolo Carlini  <pcarlini@suse.de>

	* include/std/complex: Add missing extern template declarations.
	* testsuite/26_numerics/complex/complex_inserters_extractors.cc:
	Move...
	* testsuite/26_numerics/complex/inserters_extractors/char/1.cc:
	... here.
	* testsuite/26_numerics/complex/inserters_extractors/wchar_t/1.cc:
	New.

From-SVN: r124477
2007-05-06 18:51:10 +00:00
Paul Thomas
3fc0889aa7 re PR fortran/31540 ([Regression 4.2 only] character((constant expression)) for external function)
2007-05-06  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/31540
	* resolve.c (resolve_fl_procedure): Resolve constant character
	lengths.

2007-05-06  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/31540
	* gfortran.dg/char_result_4.f90: New test.

From-SVN: r124476
2007-05-06 15:13:11 +00:00
Paul Thomas
8111a921e9 re PR fortran/31540 ([Regression 4.2 only] character((constant expression)) for external function)
2007-05-06  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/31540
	* resolve.c (resolve_fl_procedure): Resolve constant character
	lengths.

2007-05-06  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/31540
	* gfortran.dg/char_result_4.f90: New test.

From-SVN: r124475
2007-05-06 15:12:01 +00:00
Paolo Carlini
e7a5fbdc2b 2007-05-06 Paolo Carlini <pcarlini@suse.de>
* Fix PR number in last ChangeLog entry.

From-SVN: r124473
2007-05-06 11:54:39 +00:00
Paolo Carlini
025375348e re PR libstdc++/31836 (FAIL: 27_io/basic_istream/extractors_arithmetic/char/12.cc execution test)
2007-05-06  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/31836
	* testsuite/17_intro/headers/c++200x/all.cc: Protect inclusion
	of C99 headers.
	* testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
	Likewise.

From-SVN: r124472
2007-05-06 11:51:23 +00:00
Revital Eres
290358f770 Fix PR30957
From-SVN: r124471
2007-05-06 10:35:42 +00:00
Paolo Carlini
19df3b836e c_locale.cc: Don't use __builtin_huge_val* when __*_HAS_INFINITY__ is false.
2007-05-06  Paolo Carlini  <pcarlini@suse.de>

	* config/locale/generic/c_locale.cc: Don't use __builtin_huge_val*
	when __*_HAS_INFINITY__ is false.

From-SVN: r124470
2007-05-06 09:51:26 +00:00
Jerry DeLisle
16f8ffc831 re PR fortran/31251 (Non-integer character length leads to segfault)
2007-05-05  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/31251
	* decl.c (match_char_spec): Add check for invalid character lengths.

2007-05-05  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/31251
	* gfortran.dg/char_type_len_2.f90: New test.

From-SVN: r124469
2007-05-06 04:10:53 +00:00
Aurelien Jarno
a758fa89b5 pa.md: Split tgd_load, tld_load and tie_load into pic and non-pic versions.
* config/pa/pa.md: Split tgd_load, tld_load and tie_load
	into pic and non-pic versions. Mark r19 as used for 
	tgd_load_pic, tld_load_pic and tie_load_pic. Mark r27 as used 
	for tgd_load, tld_load and tie_load .
	* config/pa/pa.c (legitimize_tls_address): Emit pic or non-pic
	version of tgd_load, tld_load and tie_load depending on the 
	value of flag_pic.

From-SVN: r124468
2007-05-06 02:42:36 +00:00
Geoffrey Keating
a2aa65f063 Index: libiberty/ChangeLog
2007-05-04  Geoffrey Keating  <geoffk@apple.com>

	* cp-demangle.c (d_name): Detect local-source-name.
	(d_prefix): Likewise.
	(d_unqualified_name): Implement local-source-name.

Index: gcc/cp/ChangeLog
2007-05-04  Geoffrey Keating  <geoffk@apple.com>

	PR 31775
	* mangle.c (write_mangled_name): Mangle static variable names.
	(write_unqualified_name): Use local-source-name for
	namespace-scope static variables.

Index: gcc/testsuite/ChangeLog
2007-05-04  Geoffrey Keating  <geoffk@apple.com>

	PR 31775
	* g++.dg/other/nested-extern.cc: New.
	* g++.dg/other/nested-extern-1.C: New.
	* g++.dg/other/nested-extern-2.C: New.

From-SVN: r124467
2007-05-06 00:01:36 +00:00
GCC Administrator
fabfde2e51 Daily bump.
From-SVN: r124465
2007-05-05 23:17:10 +00:00
Paolo Carlini
558ef0f771 stl_raw_storage_iter.h (class raw_storage_iterator): Adjust template parameter name.
2007-05-04  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/stl_raw_storage_iter.h (class raw_storage_iterator):
	Adjust template parameter name.

From-SVN: r124459
2007-05-05 01:15:46 +00:00
Mark Mitchell
88e6c94714 cxxabi.h (__cxa_atexit): Conditionalize exception specification on #ifdef __cplusplus.
* libsupc++/cxxabi.h (__cxa_atexit): Conditionalize exception
	specification on #ifdef __cplusplus.

From-SVN: r124456
2007-05-05 00:39:45 +00:00
GCC Administrator
56507c795d Daily bump.
From-SVN: r124454
2007-05-04 23:17:15 +00:00
Brooks Moses
7e73a3cb5c intrinsic.texi (CMPLX): Document result kind.
* intrinsic.texi (CMPLX): Document result kind.
(COMPLEX): Add documentation.

From-SVN: r124448
2007-05-04 14:07:22 -07:00
Kyle Galloway
ddd3985ef5 natVMVirtualMachine.cc (getClassMethod): Change to use JVMTI.
2007-05-04  Kyle Galloway  <kgallowa@redhat.com>

	* gnu/classpath/jdwp/natVMVirtualMachine.cc (getClassMethod): Change
	to use JVMTI.

From-SVN: r124447
2007-05-04 19:48:33 +00:00
Daniel Franke
640afd95c0 re PR libfortran/31760 (missing elemental applicability)
gcc/fortran:
2007-05-04  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/31760
        * intrinsic.c (add_functions): Replaced calls to gfc_check_g77_math1
        by gfc_check_fn_r to avoid checks for scalarity.
        * check.c (gfc_check_besn): Removed check for scalarity.
        (gfc_check_g77_math1): Removed.
        * intrinsic.h (gfc_check_g77_math1): Removed.

gcc/testsuite:
2007-05-04  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/31760
        * gfortran.dg/erf.f90: New test.
        * gfortran.dg/besxy.f90: New test.


[gcc/fortran/ChangeLog was already committed in r124441 by accident]

From-SVN: r124446
2007-05-04 15:24:43 -04:00
Jakub Jelinek
f1028b0230 re PR libgomp/28482 (Cannot use libgomp in shared library)
PR libgomp/28482
	* configure.tgt: Don't link with -Wl,-z,nodlopen even on Linux.

From-SVN: r124445
2007-05-04 21:21:18 +02:00
Ulrich Drepper
3fc95619f6 crtstuff.c (HIDDEN_DTOR_LIST_END): New macro.
* crtstuff.c (HIDDEN_DTOR_LIST_END): New macro.
	(__do_global_dtors_aux): Use more paranoid loop to run
	destructors if HIDDEN_DTOR_LIST_END.
	(__DTOR_END__): Export as a hidden symbol when HIDDEN_DTOR_LIST_END.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>

From-SVN: r124444
2007-05-04 21:20:28 +02:00
Jakub Jelinek
12aac30b21 * config/linux/proc.c: New file.
From-SVN: r124443
2007-05-04 21:19:10 +02:00
Jakub Jelinek
52d53754d1 varasm.c (align_variable): Don't increase alignment for DECL_THREAD_LOCAL_P variables above BITS_PER_WORD...
* varasm.c (align_variable): Don't increase alignment for
	DECL_THREAD_LOCAL_P variables above BITS_PER_WORD through
	DATA_ALIGNMENT or CONSTANT_ALIGNMENT.

From-SVN: r124442
2007-05-04 21:17:57 +02:00
Daniel Franke
134b401077 Fix typo in PR numbers 22539 <> 22359.
From-SVN: r124441
2007-05-04 14:21:48 -04:00
Daniel Franke
ec3785669d check.c (gfc_check_fseek_sub): Fixed typo.
2007-05-04  Daniel Franke  <franke.daniel@gmail.com>

	* check.c (gfc_check_fseek_sub): Fixed typo.

From-SVN: r124440
2007-05-04 14:08:42 -04:00
Josh Conner
2b28c07aa7 basic-block.h (cdi_direction): Assign values to all enumeration constants.
2007-05-04  Josh Conner  <jconner@apple.com>

	* basic-block.h (cdi_direction): Assign values to all enumeration
	constants.
	(dom_computed): Remove.
	(dom_info_state): New.
	(set_dom_info_availability): New.
	* tree-ssa-loop-im.c (determine_invariantness): Initialize
	walk_data.dom_direction.
	* cfghooks.c (delete_basic_block): Use dom_info_available_p()
	instead of dom_computed[].
	(split_edge): Likewise.
	(create_basic_block): Likewise.
	(merge_blocks): Likewise.
	* ifcvt.c (find_if_header): Likewise.
	* tree-cfgcleanup.c (cleanup_tree_cfg): Likewise.
	* tree-ssa-dce.c (remove_dead_stmt): Likewise.
	* tree-ssa.c (verify_ssa): Likewise.
	* tree-cfg.c (tree_verify_flow_info): Likewise.
	(remove_edge_and_dominated_blocks): Likewise.
	* dominance.c (dom_computed): Make static.
	(calc_dfs_tree_nonrec): Change third param to a bool.
	(calc_dfs_tree): Change second param to a bool.
	(calc_idioms): Change second param to a bool.  Use
	dom_convert_dir_to_idx.
	(init_dom_info): Validate dir before using.
	(dom_convert_dir_to_idx): New.
	(calculate_dominance_info): Use dom_convert_dir_to_idx.  New
	variable 'reverse' used for calling calc_dfs_tree and calc_idoms.
	(free_dominance_info): Use dom_convert_dir_to_idx.
	(get_immediate_dominator): Likewise.
	(set_immediate_dominator): Likewise.
	(get_dominated_by): Likewise.
	(redirect_immediate_dominators): Likewise.
	(nearest_common_denominator): Likewise.
	(dominated_by_p): Likewise.
	(bb_dom_dfs_in): Likewise.
	(bb_dom_dfs_out): Likewise.
	(recount_dominator): Likewise.
	(iterate_fix_dominators): Likewise.
	(add_to_dominance_info): Likewise.
	(delete_from_dominance_info): Likewise.
	(first_dom_son): Likewise.
	(next_dom_son): Likewise.
	(dom_info_available_p): Likewise.
	(dom_info_state): New.
	(set_dom_info_availability): New.

From-SVN: r124439
2007-05-04 18:08:06 +00:00
Paolo Carlini
acb8a4ef2d stl_memory.h: Rename to stl_auto_ptr.h.
2007-05-04  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/stl_memory.h: Rename to stl_auto_ptr.h.
	(__get_temporary_buffer, get_temporary_buffer,
	return_temporary_buffer): Move...
	* include/bits/stl_tempbuf.h: ... here.
	* include/std/memory: Adjust includes.
	* testsuite/20_util/auto_ptr/assign_neg.cc: Adjust dg-error line
	numbers.
	* include/Makefile.am: Adjust.
	* include/Makefile.in: Regenerate.

	* testsuite/util/testsuite_iterators.h: Do not include the entire
	<iterator>.
	* include/bits/stl_iterator_base_types.h: Adjust includes.
	* testsuite/25_algorithms/unique_copy/2.cc: Include <functional>.

From-SVN: r124438
2007-05-04 18:07:10 +00:00
Daniel Franke
dcdc26dfd5 re PR target/22539 (Internal compiler error with maximum sized array)
gcc/fortran:
2007-05-04  Daniel Franke  <franke.daniel@gmail.com>

	PR fortran/22539
	* intrinsic.c (add_subroutines): Added FSEEK.
	* intrinsic.h (gfc_resolve_fseek_sub, gfc_check_fseek_sub): New.
	* iresolve.c (gfc_resolve_fseek_sub): New.
	* check.c (gfc_check_fseek_sub): New.
	* intrinsic.texi (FSEEK): Updated.

gcc/testsuite:
2007-05-01  Daniel Franke  <franke.daniel@gmail.com>

	PR fortran/22539
	* gfortran.dg/fseek.f90: New test.

libgfortran:
2007-05-04  Daniel Franke  <franke.daniel@gmail.com>

	PR fortran/22539
	* io/intrinsics.c (fseek_sub): New.
	* io/unix.c (fd_fseek): Change logical and physical offsets only
	if seek succeeds.
	* gfortran.map (fseek_sub): New.

From-SVN: r124437
2007-05-04 14:02:18 -04:00
Mark Mitchell
aa2bd2db03 atexit_arm.cc: New file.
* libsupc++/atexit_arm.cc: New file.
	* libsupc++/vec.cc (__aeabi_atexit): Remove.
	* libsupc++/cxxabi.h (__cxa_atexit): Add exception specification.
	* libsupc++/Makefile.am: Add atexit_arm.cc.
	* libsupc++/Makefile.in: Regenerated.

From-SVN: r124436
2007-05-04 17:42:49 +00:00
Bob Wilson
2420cc4d11 * g++.old-deja/g++.pt/static11.C: Remove xtensa-*-elf* xfail.
From-SVN: r124434
2007-05-04 16:26:28 +00:00
Andreas Krebbel
b60cb710ba s390.md ("fix_trunc<mode>di2", [...]): Expander removed.
2007-05-04  Andreas Krebbel  <krebbel1@de.ibm.com>

	* config/s390/s390.md ("fix_trunc<mode>di2", "fix_trunc<mode>si2"):
	Expander removed.
	("fix_trunc<DSF:mode><GPR:mode>2"): Expander added.

From-SVN: r124433
2007-05-04 16:23:08 +00:00
Bob Wilson
b86dee194c xtensa.md (adddi3, [...]): Delete.
* config/xtensa/xtensa.md (adddi3, adddi_carry): Delete.
	(subdi3, subdi_carry): Delete.

From-SVN: r124432
2007-05-04 16:18:19 +00:00
Jan Hubicka
06ea1b8486 opts.c (decode_options): Do not fiddle with inlining parameters in case of optimizing for size.
* opts.c (decode_options): Do not fiddle with inlining
	parameters in case of optimizing for size.
	* ipa-inline.c (cgraph_decide_recursive_inlining): When optimizing
	for size do nothing.
	(cgraph_decide_inlining_of_small_function): When optimizing for
	size never inline functions increasing caller size.
	(cgraph_early_inlining): Inline for size when optimizing for size.

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

From-SVN: r124431
2007-05-04 15:32:42 +00:00
Francois-Xavier Coudert
70aa27669b re PR libfortran/31210 (I/O of string with (non-constant) zero length)
PR libfortran/31210
	* gfortran.dg/zero_length_1.f90: New test.

From-SVN: r124429
2007-05-04 15:20:17 +00:00
Francois-Xavier Coudert
e50443368c re PR libfortran/31210 (I/O of string with (non-constant) zero length)
PR libfortran/31210
	* io/transfer.c (transfer_character): Avoid passing a NULL
	pointer as source to the transfer routines, if the string length
	is zero.

From-SVN: r124428
2007-05-04 15:14:07 +00:00
Paolo Carlini
c531371e87 stl_construct.h (_Destroy(_ForwardIterator, _ForwardIterator __last, _Allocator)): Change the last parameter to _Allocator&.
2007-05-04  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/stl_construct.h (_Destroy(_ForwardIterator,
	_ForwardIterator __last, _Allocator)): Change the last parameter
	to _Allocator&.
	* include/bits/stl_uninitialized.h (__uninitialized_copy_a,
	__uninitialized_fill_a, __uninitialized_fill_n_a,
	__uninitialized_fill_copy, __uninitialized_copy_fill,
	__uninitialized_copy_copy): Likewise.
	* include/ext/rope: Adjust everywhere.
	* include/ext/ropeimpl.h: Likewise.

From-SVN: r124427
2007-05-04 15:06:46 +00:00
Tobias Burnus
b2890f04bd re PR fortran/31803 (ICE for character pointer => target(range))
2007-05-04  Tobias Burnus  <burnus@net-b.de>

        PR fortran/31803
        * expr.c (gfc_check_pointer_assign): Check for NULL pointer.

2007-05-04  Tobias Burnus  <burnus@net-b.de>

        PR fortran/31803
        * gfortran.dg/char_pointer_assign_3.f90: New test.
        * gfortran.dg/char_result_2.f90: Re-enable test.

From-SVN: r124419
2007-05-04 15:40:32 +02:00
Jerry DeLisle
26fbc975c8 re PR fortran/31251 (Non-integer character length leads to segfault)
PR fortran/31251
	* simplify.c (gfc_simplify_len): Only simplify integer lengths.

From-SVN: r124415
2007-05-04 11:10:06 +00:00
Bernd Schmidt
e4fae5f757 bfin.md (<optab>di3): Now a define_expand which expands logical operations piecewise.
* config/bfin/bfin.md (<optab>di3): Now a define_expand which expands
	logical operations piecewise.
	(<optab>di_zesidi_di, <optab>di_sesidi_di, negdi2, one_cmpldi2,
	zero_extendsidi2, subdi_di_zesidi, subdi_zesidi_di, subdi_di_sesidi,
	subdi_sesidi_di): Delete.
	(add_with_carry): Produce carry in CC instead of a DREG to shorten
	the generated sequence.  Allow three-reg add in constraints.  Rewrite
	the rtl expression for carry to avoid zero_extend of a constant.
	(sub_with_carry): New pattern.
	(adddi3, subdi3): Change into define_expand.  For subtract, generate a
	different sequence not involving jumps.
	(notbi): Now a named pattern.

From-SVN: r124414
2007-05-04 11:00:00 +00:00