Jason Merrill
d05f74f16e
re PR other/28145 (C++ (throw() and catch(...) {/* fall through */ } ) and pthread cancellation are incompatible (at least with NPTL))
...
PR c++/28145
* libsupc++/cxxabi.h (__forced_unwind, __foreign_exception):
New classes.
* libsupc++/eh_exception.cc: Define their destructors.
* config/abi/pre/gnu.ver: Export their type_infos.
* config/abi/pre/gnu-versioned-namespace.ver: Likewise.
* libsupc++/eh_personality.cc: A handler for abi::__forced_unwind
matches a forced unwind, and a handler for abi::__foreign_exception
matches a foreign exception.
* include/bits/istream.tcc: Rethrow forced unwind.
* include/bits/ostream.tcc: Likewise.
* include/bits/ostream_insert.h: Likewise.
* include/bits/basic_string.tcc (operator>>, getline): Likewise.
* include/bits/fstream.tcc (basic_filebuf::close): Likewise.
* include/ext/vstring.cc (operator>>, getline): Likewise.
* src/istream.cc: Likewise.
* src/compatibility.cc (basic_istream::ignore): Likewise.
* include/std/bitset (operator>>): Likewise.
* include/std/fstream (basic_filebuf::close): Remove throw() spec.
* libsupc++/cxxabi-internal.h: Split out from...
* libsupc++/cxxabi.h: ...here.
From-SVN: r124517
2007-05-07 17:27:54 -04:00
Keith Seitz
1e7c1ba87d
Jdwp.class: Regenerate.
...
* classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerate.
* classpath/lib/gnu/classpath/jdwp/Jdwp$1.class: Regenerate.
* classpath/lib/gnu/classpath/jdwp/event/Event.class:
Regenerate.
* classpath/lib/gnu/classpath/jdwp/transport/JdwpConnection.class:
Regenerate.
* gnu/classpath/jdwp/Jdwp.h: Regenerate.
* gnu/classpath/jdwp/event/Event.h: Regenerate.
* gnu/classpath/jdwp/transport/JdwpConnection.h: Regenerate.
From-SVN: r124515
2007-05-07 20:48:01 +00:00
Keith Seitz
da70c2d9ed
Jdwp.java (notify): Rewrite to call new array-based method.
...
* gnu/classpath/jdwp/Jdwp.java (notify): Rewrite to call
new array-based method.
(notify): New function.
(sendEvent): Rewrite to use sendEvents.
(sendEvents): New method.
* gnu/classpath/jdwp/event/Event.java (toPacket): Make static.
Change parameters to use arrays for events and requests.
Add suspendPolicy parameter.
Move per-event data transformation to...
(_toData): ... here.
* gnu/classpath/jdwp/transport/JdwpConnection.java
(sendEvent): Renamed to ...
(sendEvents): ... this.
Change parameters to use arrays for events and requests.
Add suspendPolicy parameter.
From-SVN: r124514
2007-05-07 20:45:21 +00:00
Paolo Carlini
f3cdfb88d7
2007-05-07 Paolo Carlini <pcarlini@suse.de>
...
* Remove spurious space in last ChangeLog entry.
From-SVN: r124513
2007-05-07 20:38:14 +00:00
Paolo Carlini
6ca20f85cf
stl_algobase.h: Do not include <cstring>.
...
2007-05-07 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_algobase.h: Do not include <cstring>.
(copy(const _Tp*, const _Tp*, _Tp*), __copy_b(const _Tp*, const _Tp*,
_Tp*)): Use __builtin_memmove.
(__fill_aux): Use __builtin_memset.
(equal(const _Tp*, const _Tp*, const _Tp*),
lexicographical_compare(const unsigned char*, const unsigned char*,
const unsigned char*, const unsigned char*)): Use __builtin_memcmp.
* include/bits/valarray_array.h: Do not include <cstring>.
(_Array_default_ctor<, true>::_S_do_it): Use __builtin_memset.
(_Array_copy_ctor<, true>::_S_do_it, _Array_copier<, true>::_S_do_it):
Use __builtin_memcpy.
* include/ext/algorithm
(__lexicographical_compare_3way(const unsigned char*,
const unsigned char*, const unsigned char*, const unsigned char*)):
Use __builtin_memcmp.
* testsuite/23_containers/vector/requirements/dr438/
constructor_1_neg.cc: Adjust dg-error line number.
* testsuite/23_containers/vector/requirements/dr438/
constructor_2_neg.cc: Likewise.
From-SVN: r124512
2007-05-07 20:37:15 +00:00
Paolo Carlini
360721e336
stl_algobase.h: Do not include <cstring>.
...
2007-05-07 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_algobase.h: Do not include <cstring>.
(copy(const _Tp*, const _Tp*, _Tp*), __copy_b(const _Tp*, const _Tp*,
_Tp*)): Use __builtin_memmove.
(__fill_aux): Use __builtin_memset.
(equal(const _Tp*, const _Tp*, const _Tp*),
lexicographical_compare(const unsigned char*, const unsigned char*,
const unsigned char*, const unsigned char*)): Use __builtin_memcmp.
* include/bits/valarray_array.h: Do not include <cstring>.
(_Array_default_ctor<, true>::_S_do_it): Use __builtin_memset.
(_Array_copy_ctor<, true>::_S_do_it, _Array_copier<, true>::_S_do_it):
Use __builtin_memcpy.
* include/ext/algorithm
(__lexicographical_compare_3way(const unsigned char*,
const unsigned char*, const unsigned char*, const unsigned char*)):
Use __builtin_memcmp.
* testsuite/23_containers/vector/requirements/dr438/
constructor_1_neg.cc: Adjust dg-error line number.
* testsuite/23_containers/vector/requirements/dr438/
constructor_2_neg.cc: Likewise.
From-SVN: r124511
2007-05-07 20:36:40 +00:00
Francois-Xavier Coudert
25a5e75613
re PR libfortran/31607 (CALL SYSTEM produces garbled output when writing to a buffered file)
...
PR libfortran/31607
* intrinsics/system.c (system_sub): Call flush_all_units.
* io/io.h (flush_all_units): Move prototype to libgfortran.h.
* libgfortran.h (flush_all_units): Add prototype.
From-SVN: r124510
2007-05-07 19:48:40 +00:00
Mark Mitchell
adcbdf5c45
14220.cc: XFAIL on Solaris 2.10.
...
* testsuite/22_locale/num_put/put/char/14220.cc: XFAIL on Solaris
2.10.
* testsuite/22_locale/num_put/put/wchar_t/14220.cc: Likewise.
From-SVN: r124508
2007-05-07 18:39:18 +00:00
Uros Bizjak
7db2207b2f
convert-bfp-fold.c: Remove extra assignment to sf variable.
...
* gcc.dg/dfp/convert-bfp-fold.c: Remove extra assignment to
sf variable. Rearrange conversions from binary float to decimal float.
From-SVN: r124507
2007-05-07 20:32:35 +02:00
Mark Mitchell
3d42c07025
gcsec-1.c: Don't link statically on Solaris 10 x86.
...
* gcc.dg/special/gcsec-1.c: Don't link statically on Solaris 10
x86.
From-SVN: r124506
2007-05-07 18:28:41 +00:00
Mark Mitchell
7504beb420
libstdc++.exp (v3_target_compile_as_c): In installed-tree testing, use "remote_exec host", not "remote_exec exec".
...
* testsuite/lib/libstdc++.exp (v3_target_compile_as_c): In
installed-tree testing, use "remote_exec host", not "remote_exec
exec". Trip trailing newlines from output of -dumpversion and
-dumpmachine.
From-SVN: r124505
2007-05-07 18:03:47 +00:00
Danny Smith
b187f5cd2f
re PR c/22133 (In MinGW trailing slash forward not allowed in include path)
...
PR 22133
* c-incpath.c (add_path): Strip trailing path separators.
From-SVN: r124504
2007-05-07 17:41:35 +00:00
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