Age | Commit message (Collapse) | Author |
|
svn+ssh://chaoyingfu@sources.redhat.com/svn/gcc/trunk
........
r124431 | hubicka | 2007-05-04 08:32:42 -0700 (Fri, 04 May 2007) | 9 lines
* 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.
........
r124432 | bwilson | 2007-05-04 09:18:19 -0700 (Fri, 04 May 2007) | 3 lines
* config/xtensa/xtensa.md (adddi3, adddi_carry): Delete.
(subdi3, subdi_carry): Delete.
........
r124433 | krebbel | 2007-05-04 09:23:08 -0700 (Fri, 04 May 2007) | 7 lines
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.
........
r124434 | bwilson | 2007-05-04 09:26:28 -0700 (Fri, 04 May 2007) | 2 lines
* g++.old-deja/g++.pt/static11.C: Remove xtensa-*-elf* xfail.
........
r124436 | mmitchel | 2007-05-04 10:42:49 -0700 (Fri, 04 May 2007) | 6 lines
* 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.
........
r124437 | dfranke | 2007-05-04 11:02:18 -0700 (Fri, 04 May 2007) | 26 lines
gcc/fortran:
2007-05-04 Daniel Franke <franke.daniel@gmail.com>
* 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>
* gfortran.dg/fseek.f90: New test.
libgfortran:
2007-05-04 Daniel Franke <franke.daniel@gmail.com>
* 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.
........
r124438 | paolo | 2007-05-04 11:07:10 -0700 (Fri, 04 May 2007) | 17 lines
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>.
........
r124439 | jconner | 2007-05-04 11:08:06 -0700 (Fri, 04 May 2007) | 48 lines
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.
........
r124440 | dfranke | 2007-05-04 11:08:42 -0700 (Fri, 04 May 2007) | 5 lines
2007-05-04 Daniel Franke <franke.daniel@gmail.com>
* check.c (gfc_check_fseek_sub): Fixed typo.
........
r124441 | dfranke | 2007-05-04 11:21:48 -0700 (Fri, 04 May 2007) | 2 lines
Fix typo in PR numbers 22539 <> 22359.
........
r124442 | jakub | 2007-05-04 12:17:57 -0700 (Fri, 04 May 2007) | 4 lines
* varasm.c (align_variable): Don't increase alignment for
DECL_THREAD_LOCAL_P variables above BITS_PER_WORD through
DATA_ALIGNMENT or CONSTANT_ALIGNMENT.
........
r124443 | jakub | 2007-05-04 12:19:10 -0700 (Fri, 04 May 2007) | 2 lines
* config/linux/proc.c: New file.
........
r124444 | jakub | 2007-05-04 12:20:28 -0700 (Fri, 04 May 2007) | 5 lines
* 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.
........
r124445 | jakub | 2007-05-04 12:21:18 -0700 (Fri, 04 May 2007) | 3 lines
* configure.tgt: Don't link with -Wl,-z,nodlopen even on Linux.
........
r124446 | dfranke | 2007-05-04 12:24:43 -0700 (Fri, 04 May 2007) | 20 lines
gcc/fortran:
2007-05-04 Daniel Franke <franke.daniel@gmail.com>
* 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>
* gfortran.dg/erf.f90: New test.
* gfortran.dg/besxy.f90: New test.
[gcc/fortran/ChangeLog was already committed in r124441 by accident]
........
r124447 | kgallowa | 2007-05-04 12:48:33 -0700 (Fri, 04 May 2007) | 6 lines
2007-05-04 Kyle Galloway <kgallowa@redhat.com>
* gnu/classpath/jdwp/natVMVirtualMachine.cc (getClassMethod): Change
to use JVMTI.
........
r124448 | brooks | 2007-05-04 14:07:22 -0700 (Fri, 04 May 2007) | 3 lines
* intrinsic.texi (CMPLX): Document result kind.
(COMPLEX): Add documentation.
........
r124454 | gccadmin | 2007-05-04 16:17:15 -0700 (Fri, 04 May 2007) | 1 line
Daily bump.
........
r124456 | mmitchel | 2007-05-04 17:39:45 -0700 (Fri, 04 May 2007) | 3 lines
* libsupc++/cxxabi.h (__cxa_atexit): Conditionalize exception
specification on #ifdef __cplusplus.
........
r124459 | paolo | 2007-05-04 18:15:46 -0700 (Fri, 04 May 2007) | 5 lines
2007-05-04 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_raw_storage_iter.h (class raw_storage_iterator):
Adjust template parameter name.
........
r124465 | gccadmin | 2007-05-05 16:17:10 -0700 (Sat, 05 May 2007) | 1 line
Daily bump.
........
r124467 | geoffk | 2007-05-05 17:01:36 -0700 (Sat, 05 May 2007) | 23 lines
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>
* 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>
* g++.dg/other/nested-extern.cc: New.
* g++.dg/other/nested-extern-1.C: New.
* g++.dg/other/nested-extern-2.C: New.
........
r124468 | danglin | 2007-05-05 19:42:36 -0700 (Sat, 05 May 2007) | 9 lines
* 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.
........
r124469 | jvdelisle | 2007-05-05 21:10:53 -0700 (Sat, 05 May 2007) | 11 lines
2007-05-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* decl.c (match_char_spec): Add check for invalid character lengths.
2007-05-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* gfortran.dg/char_type_len_2.f90: New test.
........
r124470 | paolo | 2007-05-06 02:51:26 -0700 (Sun, 06 May 2007) | 5 lines
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.
........
r124471 | revitale | 2007-05-06 03:35:42 -0700 (Sun, 06 May 2007) | 1 line
........
r124472 | paolo | 2007-05-06 04:51:23 -0700 (Sun, 06 May 2007) | 8 lines
2007-05-06 Paolo Carlini <pcarlini@suse.de>
* testsuite/17_intro/headers/c++200x/all.cc: Protect inclusion
of C99 headers.
* testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc:
Likewise.
........
r124473 | paolo | 2007-05-06 04:54:39 -0700 (Sun, 06 May 2007) | 4 lines
2007-05-06 Paolo Carlini <pcarlini@suse.de>
* Fix PR number in last ChangeLog entry.
........
r124475 | pault | 2007-05-06 08:12:01 -0700 (Sun, 06 May 2007) | 11 lines
2007-05-06 Paul Thomas <pault@gcc.gnu.org>
* resolve.c (resolve_fl_procedure): Resolve constant character
lengths.
2007-05-06 Paul Thomas <pault@gcc.gnu.org>
* gfortran.dg/char_result_4.f90: New test.
........
r124476 | pault | 2007-05-06 08:13:11 -0700 (Sun, 06 May 2007) | 11 lines
2007-05-06 Paul Thomas <pault@gcc.gnu.org>
* resolve.c (resolve_fl_procedure): Resolve constant character
lengths.
2007-05-06 Paul Thomas <pault@gcc.gnu.org>
* gfortran.dg/char_result_4.f90: New test.
........
r124477 | paolo | 2007-05-06 11:51:10 -0700 (Sun, 06 May 2007) | 10 lines
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.
........
r124478 | ebotcazou | 2007-05-06 14:21:17 -0700 (Sun, 06 May 2007) | 4 lines
* timevar.c (timevar_print): Test ENABLE_ASSERT_CHECKING instead
of ASSERT_CHECKING. Tweak message.
........
r124479 | jvdelisle | 2007-05-06 15:28:31 -0700 (Sun, 06 May 2007) | 14 lines
2007-05-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* 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.
........
r124480 | jvdelisle | 2007-05-06 15:32:33 -0700 (Sun, 06 May 2007) | 23 lines
2007-05-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
* 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.
........
r124481 | jvdelisle | 2007-05-06 15:37:27 -0700 (Sun, 06 May 2007) | 8 lines
2007-05-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* 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.
........
r124482 | fxcoudert | 2007-05-06 15:56:52 -0700 (Sun, 06 May 2007) | 7 lines
* simplify.c (gfc_simplify_new_line): NEW_LINE can be simplified
even for non constant arguments.
* gfortran.dg/new_line.f90: Add new checks.
........
r124485 | gccadmin | 2007-05-06 16:17:39 -0700 (Sun, 06 May 2007) | 1 line
Daily bump.
........
r124489 | bje | 2007-05-06 18:14:15 -0700 (Sun, 06 May 2007) | 2 lines
Fix a typo in 2007-05-03 entry from Ian Lance Taylor.
........
r124495 | fxcoudert | 2007-05-06 22:48:24 -0700 (Sun, 06 May 2007) | 6 lines
* 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.
........
r124496 | fxcoudert | 2007-05-06 22:53:07 -0700 (Sun, 06 May 2007) | 6 lines
* trans-stmt.c (gfc_trans_do): Handle large loop counts.
* gfortran.dg/do_3.F90: New test.
........
r124497 | hubicka | 2007-05-07 03:36:09 -0700 (Mon, 07 May 2007) | 3 lines
* gimplify.c (gimplify_expr): Do not crash when folding
(void *)(int)&a + 4.
........
r124498 | ebotcazou | 2007-05-07 04:42:21 -0700 (Mon, 07 May 2007) | 6 lines
* 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.
........
r124499 | ebotcazou | 2007-05-07 05:48:46 -0700 (Mon, 07 May 2007) | 5 lines
* tree-ssa-dom.c (tree_ssa_dominator_optimize): Do not free dominance
info after purging EH edges.
(eliminate_degenerate_phis): Likewise.
........
r124500 | bkoz | 2007-05-07 08:29:57 -0700 (Mon, 07 May 2007) | 18 lines
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.
........
r124504 | froydnj | 2007-05-07 10:41:35 -0700 (Mon, 07 May 2007) | 3 lines
* c-incpath.c (add_path): Strip trailing path separators.
........
r124505 | mmitchel | 2007-05-07 11:03:47 -0700 (Mon, 07 May 2007) | 5 lines
* 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.
........
r124506 | mmitchel | 2007-05-07 11:28:41 -0700 (Mon, 07 May 2007) | 3 lines
* gcc.dg/special/gcsec-1.c: Don't link statically on Solaris 10
x86.
........
r124507 | uros | 2007-05-07 11:32:35 -0700 (Mon, 07 May 2007) | 4 lines
* gcc.dg/dfp/convert-bfp-fold.c: Remove extra assignment to
sf variable. Rearrange conversions from binary float to decimal float.
........
r124508 | mmitchel | 2007-05-07 11:39:18 -0700 (Mon, 07 May 2007) | 4 lines
* 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.
........
r124510 | fxcoudert | 2007-05-07 12:48:40 -0700 (Mon, 07 May 2007) | 5 lines
* 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.
........
r124511 | paolo | 2007-05-07 13:36:40 -0700 (Mon, 07 May 2007) | 22 lines
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.
........
r124512 | paolo | 2007-05-07 13:37:15 -0700 (Mon, 07 May 2007) | 22 lines
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.
........
r124513 | paolo | 2007-05-07 13:38:14 -0700 (Mon, 07 May 2007) | 4 lines
2007-05-07 Paolo Carlini <pcarlini@suse.de>
* Remove spurious space in last ChangeLog entry.
........
r124514 | kseitz | 2007-05-07 13:45:21 -0700 (Mon, 07 May 2007) | 16 lines
* 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.
........
r124515 | kseitz | 2007-05-07 13:48:01 -0700 (Mon, 07 May 2007) | 10 lines
* 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.
........
r124517 | jason | 2007-05-07 14:27:54 -0700 (Mon, 07 May 2007) | 23 lines
* 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.
........
r124519 | dannysmith | 2007-05-07 14:38:16 -0700 (Mon, 07 May 2007) | 2 lines
* config/os/mingw32/os_defines.h (NOMINMAX): Update comment.
........
r124520 | jason | 2007-05-07 14:49:50 -0700 (Mon, 07 May 2007) | 3 lines
* config/abi/pre/gnu.ver: Fix symbol versions.
* config/abi/pre/gnu-versioned-namespace.ver: Likewise.
........
r124521 | dj | 2007-05-07 15:14:05 -0700 (Mon, 07 May 2007) | 4 lines
* config/m32c/shift.md (ashlpsi3_i, ashrpsi3_i, ashlpsi3,
ashrpsi3, lshrpsi3): Update shift count constraint.
........
r124522 | jason | 2007-05-07 15:44:54 -0700 (Mon, 07 May 2007) | 2 lines
* include/bits/ostream.tcc (operator<<(char*)): Add __s.
........
r124523 | dj | 2007-05-07 16:13:15 -0700 (Mon, 07 May 2007) | 13 lines
* config/m32c/m32c.c (SYMBOL_FLAG_FUNCVEC_FUNCTION): Define.
(TARGET_ENCODE_SECTION_INFO): Re-define.
(m32c_encode_section_info): New
(function_vector_handler): New
(current_function_special_page_vector): New
(m32c_special_page_vector_p): New.
* config/m32c/m32c-protos.h (m32c_special_page_vector_p):
Prototype.
* config/m32c/jump.md: Added instruction JSRS for functions
with attribute "function_vector".
* doc/extend.texi (function_vector): Added description
for M16C, M32C targets.
........
r124524 | dj | 2007-05-07 16:46:02 -0700 (Mon, 07 May 2007) | 6 lines
* config/m32c/muldiv.md (mulhisi3_c): Limit the mode of the 2nd
operand to HI mode.
(mulsi3): New.
(divsi3): New.
(udivsi3): New.
........
r124527 | gccadmin | 2007-05-07 17:17:39 -0700 (Mon, 07 May 2007) | 1 line
Daily bump.
........
r124530 | ian | 2007-05-07 17:29:43 -0700 (Mon, 07 May 2007) | 4 lines
* java/lang/natString.cc (_Jv_FormatInt): Avoid undefined signed
overflow.
........
r124532 | froydnj | 2007-05-07 17:37:39 -0700 (Mon, 07 May 2007) | 29 lines
include/
2007-05-07 Nathan Froyd <froydnj@codesourcery.com>
* libiberty.h (writeargv): Declare.
libiberty/
2007-05-07 Nathan Froyd <froydnj@codesourcery.com>
* argv.c (writeargv): New function.
gcc/
2007-05-07 Nathan Froyd <froydnj@codesourcery.com>
* gcc.c (at_file_supplied): New variable.
(main): Set it if we expanded argv.
(do_spec_1): Pass an @-file to the linker if we were called with
an @-file argument and HAVE_GNU_LD.
* collect2.c (at_file_supplied): New variable.
(response_file): New variable.
(collect_exit): Unlink response_file if necessary.
(handler): Likewise.
(do_wait): Likewise.
(main): Set at_file_supplied if we expanded argv.
(collect_execute): Pass an @-file to subprocesses if we were called
with an @-file argument.
* configure.ac: Add define for HAVE_GNU_LD.
* configure: Regenerate.
* config.in: Regenerate.
........
r124533 | echristo | 2007-05-07 18:21:48 -0700 (Mon, 07 May 2007) | 4 lines
2007-05-07 Eric Christopher <echristo@apple.com>
* gcc.dg/invalid-call-1.c: Fix options for 32-bit x86.
........
r124534 | mrs | 2007-05-07 18:31:24 -0700 (Mon, 07 May 2007) | 10 lines
* doc/invoke.texi (Warning Options): Document that -Wempty-body
also checks for and while statements in C++.
cp:
* parser.c (check_empty_body): Add.
(cp_parser_iteration_statement): Add call to check_empty_body.
testsuite:
* g++.old-deja/g++.mike/empty.C: Add.
........
r124535 | mmitchel | 2007-05-07 20:16:25 -0700 (Mon, 07 May 2007) | 2 lines
* gcc.dg/pch/pch.exp: XFAIL largefile on Solaris 10 x86.
........
r124536 | jason | 2007-05-07 22:09:44 -0700 (Mon, 07 May 2007) | 1 line
include cstring as well
........
r124537 | bkoz | 2007-05-07 23:04:52 -0700 (Mon, 07 May 2007) | 8 lines
2007-05-08 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/util/testsuite_abi.cc: Add CXXABI_1.3.2.
* libsupc++/cxxabi-internal.h (__foreign_exception::__pure): To
__pure_virtual.
........
r124538 | uros | 2007-05-07 23:48:15 -0700 (Mon, 07 May 2007) | 5 lines
* config/i386/i386.c (ix86_function_regparm): Process local
functions only when TREE_CODE (decl) equals FUNCTION_DECL.
........
r124539 | jason | 2007-05-07 23:50:32 -0700 (Mon, 07 May 2007) | 13 lines
* libsupc++/cxxabi-internal.h: Remove, to be replaced by...
* libsupc++/cxxabi-forced.h: ...this new file.
* include/ext/vstring.tcc: Include cxxabi-forced.h instead.
* include/bits/istream.tcc: Likewise.
* include/bits/ostream.tcc: Likewise.
* include/bits/basic_string.tcc: Likewise.
* include/bits/ostream_insert.h: Likewise.
* include/bits/fstream.tcc: Likewise.
* include/std/bitset: Likewise.
* libsupc++/cxxabi.h: Restore previous contents.
* Makefile.am (headers): Add cxxabi-forced.h.
* Makefile.in: Regenerate.
........
r124540 | bkoz | 2007-05-08 03:44:37 -0700 (Tue, 08 May 2007) | 6 lines
2007-05-08 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/26_numerics/headers/cmath/types_std_c++0x_neg.cc: New.
........
r124541 | pault | 2007-05-08 04:58:25 -0700 (Tue, 08 May 2007) | 18 lines
2007-05-08 Paul Thomas <pault@gcc.gnu.org>
* decl.c (add_init_expr_to_sym): Expand a scalar initializer
for a parameter array into an array expression with the right
shape.
* array.c (spec_dimen_size): Remove static attribute.
* gfortran.h : Prototype for spec_dimen_size.
2007-05-08 Paul Thomas <pault@gcc.gnu.org>
* gfortran.dg/parameter_array_init_1.f90: New test.
* gfortran.dg/parameter_array_init_2.f90: New test.
........
r124542 | bernds | 2007-05-08 04:59:08 -0700 (Tue, 08 May 2007) | 16 lines
* config/bfin/bfin-protos.h (bfin_expand_epilogue): Add a third
argument of type bool.
* config/bfin/bfin.c (add_to_reg): Add epilogue_p as a fourth
argument. Safely select temporary P register according to it.
(do_link): Change call site of add_to_reg accordingly.
(do_unlink): Add epilogue_p as a fourth argument and pass it
to add_to_reg.
(expand_interrupt_handler_epilogue): Change call of do_unlink
accordingly.
(bfin_expand_prologue): Add a third argument sibcall_p.
* config/bfin/bfin.md (epilogue): Change call of
bfin_expand_epilogue accordingly.
(sibcall_epilogue): Likewise.
(eh_return_internal): Likewise.
........
r124543 | bkoz | 2007-05-08 05:10:48 -0700 (Tue, 08 May 2007) | 13 lines
2007-05-08 Benjamin Kosnik <bkoz@redhat.com>
* include/std/type_traits (make_signed): Remove specializations
for floating point types.
(make_unsigned): Same.
* testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Fix.
* testsuite/20_util/make_signed/requirements/typedefs-1.cc: Same.
* testsuite/20_util/make_signed/requirements/typedefs-2.cc: Same.
* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
* testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Same.
* testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Same.
........
r124544 | bernds | 2007-05-08 05:33:23 -0700 (Tue, 08 May 2007) | 9 lines
* config/bfin/bfin-protos.h (enum bfin_cpu): Add
BFIN_CPU_BF534, BFIN_CPU_BF536 and BFIN_CPU_BF561.
* config/bfin/bfin.c (bfin_handle_option): Handle
-mcpu=bf534, -mcpu=bf536 and -mcpu=bf561.
* config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS):
Support bf534, bf536 and bf561.
* doc/invoke.texi (Blackfin Options): Document -mcpu and -msim.
........
r124545 | sandra | 2007-05-08 05:44:21 -0700 (Tue, 08 May 2007) | 15 lines
2007-05-08 Sandra Loosemore <sandra@codesourcery.com>
Nigel Stephens <nigel@mips.com>
gcc/
* config/mips/mips.h (MAX_FPRS_PER_FMT): Renamed from FP_INC.
Update comments and all uses.
(MIN_FPRS_PER_FMT): Define.
* config/mips/mips.c (function_arg): Fix to correctly handle
the -mips32r2 -mfp64 -mabi=32 case.
(override_options): Enable use of odd-numbered registers for
SFmode values on MIPS32.
(mips_save_reg_p): Save whole floating-point register pair if
either half is used.
(compute_frame_size): Fix comment.
........
r124546 | pault | 2007-05-08 05:45:31 -0700 (Tue, 08 May 2007) | 11 lines
2007-05-08 Paul Thomas <pault@gcc.gnu.org>
* trans-array.c (gfc_conv_array_parameter): Convert full array
references to the result of the procedure enclusing the call.
2007-05-08 Paul Thomas <pault@gcc.gnu.org>
* gfortran.dg/actual_array_result_1.f90: New test.
........
r124550 | pault | 2007-05-08 07:40:58 -0700 (Tue, 08 May 2007) | 7 lines
2007-05-08 Paul Thomas <pault@gcc.gnu.org>
* resolve.c (resolve_symbol): Remove the flagging mechanism from the
formal namespace resolution and instead check that the formal
namespace is not the current namespace.
........
r124551 | simartin | 2007-05-08 08:33:56 -0700 (Tue, 08 May 2007) | 6 lines
2007-05-08 Simon Martin <simartin@users.sourceforge.net>
* tree-dump.c (dump_options): Don't use TDF_DIAGNOSTIC in "*-all" tree
dumps.
........
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/fixed-point@124555 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
svn+ssh://chaoyingfu@sources.redhat.com/svn/gcc/trunk
........
r124168 | gccadmin | 2007-04-25 16:17:21 -0700 (Wed, 25 Apr 2007) | 1 line
Daily bump.
........
r124170 | paolo | 2007-04-25 16:55:11 -0700 (Wed, 25 Apr 2007) | 17 lines
gcc/cp
2007-04-25 Paolo Carlini <pcarlini@suse.de>
* semantics.c (classtype_has_nothrow_copy_or_assign_p): Adjust
per N2255; rename as classtype_has_nothrow_assign_or_copy_p.
(trait_expr_value): Adjust.
gcc/testsuite/
2007-04-25 Paolo Carlini <pcarlini@suse.de>
* g++.dg/ext/has_nothrow_assign.C: Adjust per N2255.
gcc/
2007-04-25 Paolo Carlini <pcarlini@suse.de>
* doc/extend.texi ([Type Traits]): Adjust per N2255.
........
r124171 | kkojima | 2007-04-25 17:29:54 -0700 (Wed, 25 Apr 2007) | 5 lines
* config/sh/sh.md (movsi_ie): Fix length for TARGET_SH2A.
(movsf_ie): Likewise.
........
r124172 | mmitchel | 2007-04-25 19:29:43 -0700 (Wed, 25 Apr 2007) | 12 lines
* cp-tree.h (ARITHMETIC_TYPE): Include COMPLEX_TYPE.
* typeck.c (type_after_usual_arithmetic_conversions): Adjust, as
COMPLEX_TYPE is now an ARITHMETIC_TYPE.
* init.c (build_zero_init): Adjust, as
COMPLEX_TYPE is now a SCALAR_TYPE.
* typeck2.c (digest_init): Allow brace-enclosed initializers for
COMPLEX_TYPE, even though that is now a SCALAR_TYPE.
* g++.dg/ext/complex2.C: New test.
........
r124173 | mmitchel | 2007-04-25 19:37:20 -0700 (Wed, 25 Apr 2007) | 14 lines
Fix PR# in ChangeLog:
* cp-tree.h (ARITHMETIC_TYPE): Include COMPLEX_TYPE.
* typeck.c (type_after_usual_arithmetic_conversions): Adjust, as
COMPLEX_TYPE is now an ARITHMETIC_TYPE.
* init.c (build_zero_init): Adjust, as
COMPLEX_TYPE is now a SCALAR_TYPE.
* typeck2.c (digest_init): Allow brace-enclosed initializers for
COMPLEX_TYPE, even though that is now a SCALAR_TYPE.
* g++.dg/ext/complex2.C: New test.
........
r124174 | mmitchel | 2007-04-25 19:59:13 -0700 (Wed, 25 Apr 2007) | 2 lines
* demangle.h: Change license to LGPL + exception.
........
r124175 | rsandifo | 2007-04-26 00:15:41 -0700 (Thu, 26 Apr 2007) | 9 lines
gcc/
* doc/invoke.texi (%:print-asm-header): Document.
* gcc.c (asm_options): Use %:print-asm-header() for --target-help
and -ftarget-help.
(static_spec_functions): Add print-asm-header.
(main): Print a banner before the --target-help linker options.
(print_asm_header_spec_function): New function.
........
r124176 | rsandifo | 2007-04-26 00:22:14 -0700 (Thu, 26 Apr 2007) | 8 lines
gcc/
200x-xx-xx Richard Sandiford <richard@codesourcery.com>
Mark Mitchell <mark@codesourcery.com>
* config/i386/i386-protos.h (ix86_sol10_return_in_memory): Declare.
* config/i386/i386.c (ix86_sol10_return_in_memory): New function.
* config/i386/sol2-10.h (RETURN_IN_MEMORY): Use it.
........
r124177 | jakub | 2007-04-26 00:29:46 -0700 (Thu, 26 Apr 2007) | 6 lines
* tree-eh.c (lower_eh_filter): If EH_FILTER_MUST_NOT_THROW
clear this_state.prev_try.
* g++.dg/gomp/pr30558.C: New test.
........
r124178 | jakub | 2007-04-26 00:32:27 -0700 (Thu, 26 Apr 2007) | 8 lines
* tree-inline.c (copy_body_r): Don't touch TREE_TYPE of OMP_CLAUSE.
* semantics.c (finish_omp_clauses): Don't create CP_OMP_CLAUSE_INFO
for type dependent OMP_CLAUSE_DECLs.
* g++.dg/gomp/pr31598.C: New test.
........
r124182 | krebbel | 2007-04-26 00:44:09 -0700 (Thu, 26 Apr 2007) | 6 lines
2007-04-26 Wolfgang Gellerich <gellerich@de.ibm.com>
* gfortran.dg/open_errors.f90: Added if statements checking
the value of iostat.
........
r124183 | rsandifo | 2007-04-26 03:43:39 -0700 (Thu, 26 Apr 2007) | 4 lines
gcc/
* config/i386/i386.c (ix86_sol10_return_in_memory): Remove unused
variables.
........
r124185 | rsandifo | 2007-04-26 05:25:42 -0700 (Thu, 26 Apr 2007) | 4 lines
gcc/
* config/i386/vx-common.h (RETURN_IN_MEMORY): Use
ix86_sol10_return_in_memory.
........
r124187 | aph | 2007-04-26 07:31:29 -0700 (Thu, 26 Apr 2007) | 12 lines
2007-04-25 Andrew Haley <aph@redhat.com>
* java/io/ObjectStreamClass.java (ensureFieldsSet): New method.
(setFields): call ensureFieldsSet.
(fieldsSet): New field.
* java/io/ObjectOutputStream.java (writeFields): Call
osc.ensureFieldsSet().
* java/io/ObjectInputStream.java (parseContent): Assign the handle
for a PROXYCLASSDESC immediately after reading the marker.
........
r124188 | aph | 2007-04-26 07:40:29 -0700 (Thu, 26 Apr 2007) | 11 lines
2007-04-25 Andrew Haley <aph@redhat.com>
* java/io/ObjectStreamClass.java (ensureFieldsSet): New method.
(setFields): call ensureFieldsSet.
(fieldsSet): New field.
* java/io/ObjectOutputStream.java (writeFields): Call
osc.ensureFieldsSet().
* java/io/ObjectInputStream.java (parseContent): Assign the handle
for a PROXYCLASSDESC immediately after reading the marker.
........
r124190 | rguenth | 2007-04-26 08:28:14 -0700 (Thu, 26 Apr 2007) | 10 lines
2007-04-26 Richard Guenther <rguenther@suse.de>
* tree-ssa-loop-im.c (rewrite_bittest): Make sure to use
the right type for the target of the bittest.
* gcc.c-torture/compile/pr31703.c: New testcase.
* gcc.dg/tree-ssa/ssa-lim-1.c: Adjust pattern.
* gcc.dg/tree-ssa/ssa-lim-2.c: Likewise.
........
r124191 | rguenth | 2007-04-26 08:50:32 -0700 (Thu, 26 Apr 2007) | 6 lines
2007-04-26 Richard Guenther <rguenther@suse.de>
Daniel Berlin <dberlin@dberlin.org>
* g++.dg/other/pr30567.C: New testcase.
........
r124193 | kgallowa | 2007-04-26 11:30:25 -0700 (Thu, 26 Apr 2007) | 7 lines
* classpath/lib/gnu/classpath/jdwp/VMIdManager.class: Regenerated.
* classpath/lib/gnu/classpath/jdwp/VMIdManager$ReferenceKey.class:
Regenerated.
* classpath/lib/gnu/classpath/jdwp/VMIdManager$IdFactory.class:
Regenerated.
........
r124194 | sje | 2007-04-26 12:37:06 -0700 (Thu, 26 Apr 2007) | 2 lines
* config/ia64/ia64.md (ip_value): Fix itanium_class attribute.
........
r124197 | sje | 2007-04-26 14:02:05 -0700 (Thu, 26 Apr 2007) | 3 lines
* g++.dg/other/str_empty.C: Add expected warning.
........
r124198 | aesok | 2007-04-26 14:02:43 -0700 (Thu, 26 Apr 2007) | 4 lines
* config/avr/avr.c (avr_mcu_types): Add support for ATmega8HVA and
ATmega16HVA devices. Move AT90USB82 device to 'avr5' architecture.
* config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
* config/avr/t-avr (MULTILIB_MATCHES): (Ditto.).
........
r124200 | dfranke | 2007-04-26 14:16:01 -0700 (Thu, 26 Apr 2007) | 8 lines
2007-04-26 Daniel Franke <franke.daniel@gmail.com>
* intrinsic.texi (NULL, PACK, PRESENT, REPEAT, SCAN, SHAPE,
SIZE, TRANSPOSE, TRIM, VERIFY): New.
(ADJUSTL, ADJUSTR, INDEX): Added cross references.
(INT, INT2, INT8, LONG): Enabled section header.
........
r124201 | kazu | 2007-04-26 14:34:19 -0700 (Thu, 26 Apr 2007) | 2 lines
* gcc.c-torture/execute/ieee/20000320-1.x: New.
........
r124203 | rakdver | 2007-04-26 16:13:41 -0700 (Thu, 26 Apr 2007) | 25 lines
* tree-cfgcleanup.c (cfgcleanup_altered_bbs): New global variable.
(remove_fallthru_edge): Use remove_edge_and_dominated_blocks.
(cleanup_control_expr_graph): Do not invalidate dominance info.
Record altered blocks.
(cleanup_control_flow, cleanup_forwarder_blocks): Removed.
(cleanup_control_flow_bb, split_bbs_on_noreturn_calls,
cleanup_tree_cfg_bb): New functions.
(remove_forwarder_block): Do not maintain the worklist of blocks.
Record altered blocks.
(cleanup_tree_cfg_1): Iterate over cfgcleanup_altered_bbs,
not over whole cfg.
(cleanup_tree_cfg): Do not iterate cleanup_tree_cfg_1. Only call
delete_unreachable_blocks if dominators are not available.
* tree-inline.c (optimize_inline_calls): Free dominance information
earlier.
* tree-flow.h (remove_edge_and_dominated_blocks,
cfgcleanup_altered_bbs): Altered.
* tree-cfg.c (replace_uses_by, tree_merge_blocks): Record altered
blocks.
(get_all_dominated_blocks, remove_edge_and_dominated_blocks): New
functions.
(tree_purge_dead_eh_edges): Use remove_edge_and_dominated_blocks,
do not invalidate dominators.
........
r124206 | gccadmin | 2007-04-26 16:17:13 -0700 (Thu, 26 Apr 2007) | 1 line
Daily bump.
........
r124208 | pinskia | 2007-04-26 18:31:25 -0700 (Thu, 26 Apr 2007) | 12 lines
2007-04-26 Andrew Pinski <andrew_pinski@playstation.sony.com>
* typeck.c (build_reinterpret_cast_1): Only allow conversion to
integeral types from vectors types.
2007-04-26 Andrew Pinski <andrew_pinski@playstation.sony.com>
* g++.dg/ext/vector6.C: New test.
........
r124211 | ian | 2007-04-26 21:11:47 -0700 (Thu, 26 Apr 2007) | 9 lines
gcc/:
* reload.c (find_reloads_subreg_address): If the address was valid
in the original mode but not in the new mode, reload the whole
address.
testsuite/:
* gcc.c-torture/compile/pr28675.c: New test.
........
r124214 | rakdver | 2007-04-27 01:20:39 -0700 (Fri, 27 Apr 2007) | 39 lines
* tree-ssa-loop-im.c (determine_invariantness_stmt): Attempt to
transform only GIMPLE_MODIFY_STMTs.
* tree-complex.c (expand_complex_operations_1): Ditto.
(expand_complex_div_wide): Do not create gotos in COND_EXPR branches.
* tree-ssa-loop-manip.c (build_if_stmt): Removed.
(tree_transform_and_unroll_loop): Do not create gotos in COND_EXPR
branches.
* value-prof.c (tree_divmod_fixed_value, tree_mod_pow2,
tree_mod_subtract, tree_ic, tree_stringop_fixed_value): Ditto.
* omp-low.c (expand_parallel_call, expand_omp_for_generic,
expand_omp_for_static_chunk, expand_omp_for_static_nochunk): Ditto.
* tree-vectorizer.c (slpeel_make_loop_iterate_ntimes,
slpeel_add_loop_guard): Ditto.
* tree-mudflap.c (mf_build_check_statement_for): Ditto.
* lambda-code.c (perfect_nestify): Ditto.
* tree-iterator.c (tsi_split_statement_list_before): Fix splitting
before the first statement.
* tree-optimize.c (execute_free_datastructures): Fix comments.
(execute_free_cfg_annotations): Do not call disband_implicit_edges.
* tree-flow.h (disband_implicit_edges): Declaration removed.
* tree-cfg.c (make_cond_expr_edges): Remove gotos from COND_EXPR
branches.
(cleanup_dead_labels, tree_redirect_edge_and_branch): Handle COND_EXPRs
without gotos.
(disband_implicit_edges, has_label_p): Removed.
(tree_verify_flow_info): Verify that COND_EXPR branches are empty.
(tree_lv_add_condition_to_bb): Do not create gotos in COND_EXPR
branches.
* tree.c (build3_stat): Mark COND_EXPRs used as statements as having
side effects.
* tree-pretty-print.c (dump_implicit_edges): Dump implicit edges
also for COND_EXPRs.
* cfgexpand.c (label_rtx_for_bb): New function.
(expand_gimple_cond_expr): Do not expect gotos in COND_EXPR branches.
Use label_rtx_for_bb to find the labels.
(expand_gimple_basic_block): Remove RETURN_EXPR at the end of the
last block. Detect fallthru edges.
........
r124215 | rsandifo | 2007-04-27 04:39:47 -0700 (Fri, 27 Apr 2007) | 8 lines
gcc/
* reload.h (elimination_target_reg_p): Declare.
* reload.c (find_reloads): Don't apply the reg_rtx move
optimization if the SET_DEST satisfies elimination_target_reg_p.
* reload1.c (elimination_target_reg_p): New function.
(gen_reload): In the move/add2 fallback, make sure that op0
does not overlap the destination register.
........
r124216 | rguenth | 2007-04-27 04:42:43 -0700 (Fri, 27 Apr 2007) | 9 lines
2007-04-27 Richard Guenther <rguenther@suse.de>
* tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): Make
sure to do computation on the offset in an appropriate
signed type.
* gcc.dg/Warray-bounds-4.c: New testcase.
........
r124217 | rguenth | 2007-04-27 06:43:42 -0700 (Fri, 27 Apr 2007) | 24 lines
2007-04-27 Richard Guenther <rguenther@suse.de>
* Makefile.in (tree-ssa-forwprop.o): Depend on $(FLAGS_H).
* tree-ssa-forwprop.c (forward_propagate_into_cond_1): Remove.
(find_equivalent_equality_comparison): Likewise.
(simplify_cond): Likewise.
(get_prop_source_stmt): New helper.
(get_prop_dest_stmt): Likewise.
(can_propagate_from): Likewise.
(remove_prop_source_from_use): Likewise.
(combine_cond_expr_cond): Likewise.
(forward_propagate_comparison): New function.
(forward_propagate_into_cond): Rewrite to use fold for
tree combining.
(tree_ssa_forward_propagate_single_use_vars): Call
forward_propagate_comparison to propagate comparisons.
* gcc.dg/tree-ssa/pr30978.c: New testcase.
* gcc.dg/tree-ssa/bool-3.c: Remove XFAIL, explain why.
* gcc.dg/tree-ssa/ssa-fre-4.c: Use char instead of bool
* gcc.dg/strict-overflow-5.c: Adjust tree dump scanning.
........
r124218 | rguenth | 2007-04-27 06:45:54 -0700 (Fri, 27 Apr 2007) | 4 lines
2007-04-27 Richard Guenther <rguenther@suse.de>
* tree-ssa-forwprop.c (get_prop_dest_stmt): Fix comment typo.
........
r124220 | rth | 2007-04-27 07:47:57 -0700 (Fri, 27 Apr 2007) | 27 lines
* config/alpha/predicates.md (aligned_memory_operand): Mark
as define_special_predicate.
(unaligned_memory_operand, normal_memory_operand): Likewise.
(reg_or_unaligned_mem_operand): Remove.
(any_memory_operand): Match the documentation and check for
non-renumbered pseudos during reload.
* config/alpha/alpha.c (alpha_secondary_reload): Rename from
alpha_secondary_reload_class, update to new interface, make static.
Handle CQImode like HImode. Remove FP subreg check.
(alpha_expand_mov): Use replace_equiv_address.
(alpha_expand_mov_nobwx): Use any_memory_operand.
(TARGET_SECONDARY_RELOAD): New.
* config/alpha/alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Remove.
(SECONDARY_OUTPUT_RELOAD_CLASS): Remove.
* config/alpha/sync.md (I12MODE, I48MODE, modesuffix): Move ...
* config/alpha/alpha.md: ... here.
(RELOAD12, reloadmode): New.
(movcqi): New.
(reload_in<RELOAD12>): Macro-ize from reload_inqi, reload_inhi.
Don't handle the aligned case here.
(reload_out<RELOAD12>): Macro-ize from reload_outqi, reload_outhi.
(reload_in<I12MODE>_aligned): Macro-ize from reload_inqi_help,
reload_inhi_help. Don't expect a scratch register.
(reload_out<I12MODE>_aligned): Macro-ize from reload_outqi_help,
reload_outhi_help.
* config/alpha/alpha-protos.h (alpha_secondary_reload_class): Remove.
........
r124221 | dgregor | 2007-04-27 08:31:35 -0700 (Fri, 27 Apr 2007) | 6 lines
2007-04-27 Douglas Gregor <doug.gregor@gmail.com>
* error.c (maybe_warn_variadic_templates): Variadic templates are
now in C++0x, so only warn about them in C++98 mode.
........
r124222 | dfranke | 2007-04-27 09:20:12 -0700 (Fri, 27 Apr 2007) | 7 lines
2007-04-27 Daniel Franke <franke.daniel@gmail.com>
* intrinsic.texi (PRODUCT, RESHAPE, SPACING, SPREAD, SUM,
SYSTEM_CLOCK, TRANSFER, UNPACK): New.
(DATE_AND_TIME, CPU_TIME, RRSPACING): Added cross references.
........
r124223 | dfranke | 2007-04-27 09:32:42 -0700 (Fri, 27 Apr 2007) | 6 lines
2007-04-27 Daniel Franke <franke.daniel@gmail.com>
* intrinsic.texi (AND, FPUT, FPUTC, MODULO, OR, SET_EXPONENT,
XOR): Fixed examples.
........
r124224 | dfranke | 2007-04-27 09:52:10 -0700 (Fri, 27 Apr 2007) | 7 lines
2007-04-27 Daniel Franke <franke.daniel@gmail.com>
* gfortran.texi: Added node and menu entry for an option index.
* invoke.texi: Moved command line option related entries of the concept
index to the option index.
........
r124226 | fitzsim | 2007-04-27 11:08:03 -0700 (Fri, 27 Apr 2007) | 94 lines
2007-03-16 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(cairoArc): Make protected rather than private so it can be over-ridden.
(cairoClip): Likewise.
(cairoClosePath): Likewise.
(cairoCurveTo): Likewise.
(cairoDrawGlyphVector): Likewise.
(cairoFill): Likewise.
(cairoLineTo): Likewise.
(cairoMoveTo): Likewise.
(cairoNewPath): Likewise.
(cairoRectangle): Likewise.
(cairoResetClip): Likewise.
(cairoRestore): Likewise.
(cairoSave): Likewise.
(cairoScale): Likewise.
(cairoSetAntialias): Likewise.
(cairoSetDash): Likewise.
(cairoSetFillRule): Likewise.
(cairoSetFont): Likewise.
(cairoSetLine): Likewise.
(cairoSetMatrix): Likewise.
(cairoSetOperator): Likewise.
(cairoSetRGBAColor): Likewise.
(cairoStroke): Likewise.
(drawPixels): Likewise.
(init): Likewise.
(setGradient): Likewise.
(setPaintPixels): Likewise.
(cairoDrawLine): Removed.
(cairoDrawRect): Removed.
(cairoFillRect): Removed.
(cairoPreserveClip): Removed.
(cairoRelCurveTo): Removed.
(cairoRelLineTo): Removed.
(cairoRelMoveTo): Removed.
* gnu/java/awt/peer/gtk/ComponentGraphics.java
(cairoArc): New method wrapping superclass method in locks.
(cairoClip): Likewise.
(cairoClosePath): Likewise.
(cairoCurveTo): Likewise.
(cairoDrawGlyphVector): Likewise.
(cairoFill): Likewise.
(cairoLineTo): Likewise.
(cairoMoveTo): Likewise.
(cairoNewPath): Likewise.
(cairoRectangle): Likewise.
(cairoResetClip): Likewise.
(cairoRestore): Likewise.
(cairoSave): Likewise.
(cairoScale): Likewise.
(cairoSetAntialias): Likewise.
(cairoSetDash): Likewise.
(cairoSetFillRule): Likewise.
(cairoSetFont): Likewise.
(cairoSetLine): Likewise.
(cairoSetMatrix): Likewise.
(cairoSetOperator): Likewise.
(cairoSetRGBAColor): Likewise.
(cairoStroke): Likewise.
(disposeNative): Likewise.
(drawPixels): Likewise.
(init): Likewise.
(setGradient): Likewise.
(setPaintPixels): Likewise.
(draw): Do not lock, as locking is now done in the wrapped native methods.
(drawComposite): Likewise.
(drawGlyphVector): Likewise.
(drawImage): Likewise.
(drawRenderedImage): Likewise.
(fill): Likewise.
(setClip): Removed.
(lock): Added documentation.
(unlock): Added documentation.
* include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
* include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
* lib/gnu/java/awt/peer/gtk/ComponentGraphics.class: Regenerated.
* lib/gnu/java/awt/peer/gtk/CairoGraphics2D.class: Regenerated.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawLine): Removed.
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawRect): Removed.
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoFillRect): Removed.
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoPreserveClip): Removed.
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelCurveTo): Removed.
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelLineTo): Removed.
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelMoveTo): Removed.
2007-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/CairoGraphics2D.h: Regenerate.
* gnu/java/awt/peer/gtk/ComponentGraphics.h: Regenerate.
........
r124228 | simonb | 2007-04-27 12:04:06 -0700 (Fri, 27 Apr 2007) | 3 lines
* decl.c (grokparms): Changed message format from %qD to %qE.
........
r124232 | brooks | 2007-04-27 12:38:29 -0700 (Fri, 27 Apr 2007) | 2 lines
* gfortran.texi (Option Index): Add @samp as needed.
........
r124234 | brooks | 2007-04-27 13:15:11 -0700 (Fri, 27 Apr 2007) | 2 lines
* intrinsic.texi (Transfer): Improve documentation.
........
r124236 | rakdver | 2007-04-27 13:40:26 -0700 (Fri, 27 Apr 2007) | 7 lines
* tree-cfgcleanup.c (cleanup_tree_cfg): Verify dominance info
if it claims to be available.
* tree-ssa-dce.c (remove_dead_stmt): Mark cfg as altered when
edge is redirected.
(perform_tree_ssa_dce): Always free postdominators.
........
r124237 | ian | 2007-04-27 13:47:24 -0700 (Fri, 27 Apr 2007) | 8 lines
./:
* tree.c (build_distinct_type_copy): If TYPE_MIN_VALUE or
TYPE_MAX_VALUE exist, convert them to the new type.
testsuite/:
* gcc.c-torture/compile/pr31710.c: New test.
........
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/fixed-point@124241 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
svn+ssh://chaoyingfu@sources.redhat.com/svn/gcc/trunk
........
r123242 | zack | 2007-03-26 15:23:50 -0700 (Mon, 26 Mar 2007) | 1 line
Add file left out of prior commit, and regenerate the proper configure script
........
r123243 | dj | 2007-03-26 15:50:13 -0700 (Mon, 26 Mar 2007) | 2 lines
Revert accidental commit.
........
r123244 | brooks | 2007-03-26 15:59:33 -0700 (Mon, 26 Mar 2007) | 2 lines
* error.c (show_locus): Remove always-false test.
........
r123247 | gccadmin | 2007-03-26 16:16:59 -0700 (Mon, 26 Mar 2007) | 1 line
Daily bump.
........
r123249 | mueller | 2007-03-26 17:15:29 -0700 (Mon, 26 Mar 2007) | 6 lines
2007-03-26 Dirk Mueller <dmueller@suse.de>
* parser.c (cp_parser_member_declaration): Pedwarn
about stray semicolons after member declarations.
........
r123250 | rth | 2007-03-26 17:30:32 -0700 (Mon, 26 Mar 2007) | 17 lines
* config/i386/i386.c (IX86_BUILTIN_PSLLDQ128, IX86_BUILTIN_PSLLW128,
IX86_BUILTIN_PSLLD128, IX86_BUILTIN_PSLLQ128, IX86_BUILTIN_PSRAW128,
IX86_BUILTIN_PSRAD128, IX86_BUILTIN_PSRLW128, IX86_BUILTIN_PSRLD128,
IX86_BUILTIN_PSRLQ128): New.
(ix86_init_mmx_sse_builtins): Add them.
(ix86_expand_builtin): Expand them.
* config/i386/sse.md (ashr<mode>3, lshr<mode>3, ashl<mode>3): Make
operand 2 be TImode.
* config/i386/emmintrin.h (_mm_slli_epi64, _mm_srai_epi16,
_mm_srai_epi32, _mm_srli_epi16, _mm_srli_epi32,
_mm_srli_epi64): Mark __B const.
(_mm_srli_si128, _mm_srli_si128): Fix disabled inline versions.
(_mm_sll_epi16, _mm_sll_epi32, _mm_sll_epi64, _mm_sra_epi16,
_mm_sra_epi32, _mm_srl_epi16, _mm_srl_epi32, _mm_srl_epi64): Use
new two-vector shift builtins.
........
r123251 | brooks | 2007-03-26 17:41:27 -0700 (Mon, 26 Mar 2007) | 3 lines
* gfc-internals.texi: New file,
* Make-lang.in: Add rules to convert it to dvi, pdf, and info.
........
r123252 | mrs | 2007-03-26 18:04:30 -0700 (Mon, 26 Mar 2007) | 5 lines
* config/rs6000/darwin.h (DARWIN_MINVERSION_SPEC): Add
objective-c-header, objective-c++-header and objc++-cpp-output
support.
* config/i386/darwin.h (DARWIN_MINVERSION_SPEC): Likewise.
........
r123253 | tromey | 2007-03-26 18:37:34 -0700 (Mon, 26 Mar 2007) | 31 lines
Index: gcc/java/ChangeLog
from Tom Tromey <tromey@redhat.com>
* Make-lang.in (JAVA_MANFILES): Removed grmiregistry.1.
(java.maintainer-clean): Likewise.
(java.install-man): Likewise.
(.INTERMEDIATE): Removed grmiregistry.pod.
(grmiregistry.pod): Removed.
* gcj.texi (Invoking gcjh): Removed.
(Invoking gjnih): Likewise.
(Invoking grmiregistry): Likewise.
(direntry): Updated.
(Top): Likewise.
(which-gcj): Removed.
Index: libjava/classpath/ChangeLog
from Tom Tromey <tromey@redhat.com>
* doc/cp-tools.texinfo (gcjh Tool): Added more text.
(rmid Tool): Likewise.
2007-03-25 Dalibor Topic <robilad@kaffe.org>
* doc/cp-tools.texinfo: Fix node ordering.
2007-03-19 Matthias Klose <doko@ubuntu.com>
* doc/Makefile.am: Build a gcjh(1) man page.
* doc/cp-tools.texinfo: Add documentation for gcjh.
........
r123255 | uros | 2007-03-27 00:00:13 -0700 (Tue, 27 Mar 2007) | 6 lines
* lib/target-supports.exp (check_effective_target_fortran_large_real):
Delete created executable test file.
(check_effective_target_fortran_large_int): Ditto.
(check_effective_target_static_libgfortran): Ditto.
........
r123256 | drow | 2007-03-27 05:34:51 -0700 (Tue, 27 Mar 2007) | 2 lines
* gcc.target/powerpc/ppc-stackalign-1.c: Run for powerpc-eabi.
........
r123259 | rguenth | 2007-03-27 08:40:09 -0700 (Tue, 27 Mar 2007) | 5 lines
2007-03-27 Richard Guenther <rguenther@suse.de>
* tree-dfa.c (get_ref_base_and_extent): Replace bit_offset and
computations with it with a HOST_WIDE_INT variable.
........
r123260 | paolo | 2007-03-27 08:51:41 -0700 (Tue, 27 Mar 2007) | 6 lines
2007-03-27 Paolo Carlini <pcarlini@suse.de>
* include/bits/fstream.tcc (basic_filebuf<>::underflow):
Don't call codecvt::in at all if _M_ext_next >= _M_ext_end.
* testsuite/27_io/basic_filebuf/underflow/char/3.cc: New.
........
r123263 | aesok | 2007-03-27 10:53:51 -0700 (Tue, 27 Mar 2007) | 6 lines
* config/avr/avr.c (avr_hard_regno_mode_ok): Disallow QImode in stack
pointer regs.
* config/avr/avr.h (REGISTER_NAMES): Rename "__SPL__" and "__SPH__"
regs to "__SP_L__" and "__SP_H__".
........
r123264 | aesok | 2007-03-27 10:59:23 -0700 (Tue, 27 Mar 2007) | 3 lines
Fix year in CangeLog.
........
r123265 | kseitz | 2007-03-27 11:40:48 -0700 (Tue, 27 Mar 2007) | 2 lines
Classpath JDWP merge with upstream
........
r123266 | kseitz | 2007-03-27 11:42:49 -0700 (Tue, 27 Mar 2007) | 33 lines
* gnu/classpath/jdwp/VMFrame.java: Update from upstream
classpath.
* gnu/classpath/jdwp/natVMFrame.cc: Likewise.
* gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
* gnu/classpath/jdwp/natVMVirtualMachine.cc: Likewise.
(initialize): Fix compiler type-punning warning.
(getAllLoadedClasses): Return empty list instead of NULL.
(getLoadRequests): Likewise.
* gnu/classpath/jdwp/exception/InvalidTagException.h: New file.
* gnu/classpath/jdwp/exception/InvalidSlotException.h: New file.
* gnu/classpath/jdwp/exception/TypeMismatchException.h: New file.
* gnu/classpath/jdwp/VMVirtualMachine.h: Rebuilt.
* gnu/classpath/jdwp/value/CharValue.h: New file.
* gnu/classpath/jdwp/value/LongValue.h: New file.
* gnu/classpath/jdwp/value/ShortValue.h: New file.
* gnu/classpath/jdwp/value/Value.h: New file.
* gnu/classpath/jdwp/value/BooleanValue.h: New file.
* gnu/classpath/jdwp/value/VoidValue.h: New file.
* gnu/classpath/jdwp/value/ByteValue.h: New file.
* gnu/classpath/jdwp/value/FloatValue.h: New file.
* gnu/classpath/jdwp/value/ObjectValue.h: New file.
* gnu/classpath/jdwp/value/StringValue.h: New file.
* gnu/classpath/jdwp/value/ValueFactory.h: New file.
* gnu/classpath/jdwp/value/IntValue.h: New file.
* gnu/classpath/jdwp/value/DoubleValue.h: New file.
* gnu/classpath/jdwp/VMFrame.h: Rebuilt.
* gnu/classpath/jdwp/id/NullObjectId.h: New file.
* gnu/classpath/jdwp/util/MethodResult.h: Rebuilt.
* gnu/classpath/jdwp/util/NullObject.h: New file.
* gnu/classpath/jdwp/util/MonitorInfo.h: New file.
* Makefile.in: Rebuilt.
* sources.am: Rebuilt.
........
r123267 | tromey | 2007-03-27 12:29:54 -0700 (Tue, 27 Mar 2007) | 3 lines
* external/sax/org/xml/sax/helpers/XMLReaderFactory.java
(createXMLReader): Code in Classpath default.
........
r123269 | rth | 2007-03-27 14:37:34 -0700 (Tue, 27 Mar 2007) | 2 lines
Remove executable bit.
........
r123270 | janis | 2007-03-27 15:06:00 -0700 (Tue, 27 Mar 2007) | 2 lines
* lib/compat.exp (compat-execute): Fix processing of file names.
........
r123271 | janis | 2007-03-27 15:06:52 -0700 (Tue, 27 Mar 2007) | 2 lines
* configure: Regenerate using the correct version of autoconf.
........
r123272 | janis | 2007-03-27 15:14:02 -0700 (Tue, 27 Mar 2007) | 3 lines
* configure.ac: Fix assembler test for powerpc*-linux decimal float.
* configure: Regenerate.
........
r123273 | aesok | 2007-03-27 15:44:34 -0700 (Tue, 27 Mar 2007) | 4 lines
* config/avr/avr.c (avr_mcu_types): Move at90usb82 device to 'avr4'
architecture.
........
r123275 | janis | 2007-03-27 16:00:33 -0700 (Tue, 27 Mar 2007) | 2 lines
* gcc.dg/dfp/operandor-conf.c: Call init, fix typo.
........
r123276 | janis | 2007-03-27 16:05:42 -0700 (Tue, 27 Mar 2007) | 3 lines
* gcc.dg/dfp/func-vararg-mixed.c: Add optional debugging output.
* gcc.dg/dfp/func-vararg-dfp.c: Ditto.
........
r123277 | janis | 2007-03-27 16:07:45 -0700 (Tue, 27 Mar 2007) | 2 lines
Fix misspelled file name in ChangeLog entry.
........
r123280 | gccadmin | 2007-03-27 16:17:09 -0700 (Tue, 27 Mar 2007) | 1 line
Daily bump.
........
r123282 | janis | 2007-03-27 16:38:05 -0700 (Tue, 27 Mar 2007) | 5 lines
* gcc.dg/dfp/func-vararg-alternate.h: New file.
* gcc.dg/dfp/func-vararg-alternate-d32.c: New test.
* gcc.dg/dfp/func-vararg-alternate-d64.c: New test.
* gcc.dg/dfp/func-vararg-alternate-d128.c: New test.
........
r123284 | jvdelisle | 2007-03-27 17:19:39 -0700 (Tue, 27 Mar 2007) | 6 lines
2007-03-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* io/transfer.c (next_record_r): Do not call test_endfile if in namelist
mode.
........
r123285 | tromey | 2007-03-27 18:02:10 -0700 (Tue, 27 Mar 2007) | 15 lines
2007-03-27 Casey Marshall <csm@gnu.org>
* gnu/javax/net/ssl/provider/SSLSocketImpl.java (SSLSocketImpl):
Always make a new socket.
(bind, connect, getInetAddress, getLocalAddress, getPort,
getLocalPort, getRemoteSocketAddress, getLocalSocketAddress,
setTcpNoDelay, getTcpNoDelay, setSoLinger, getSoLinger,
setOOBInline, getOOBInline, setSoTimeout, getSoTimeout,
setSendBufferSize, getSendBufferSize, setReceiveBufferSize,
getReceiveBufferSize, setKeepAlive, getKeepAlive, setTrafficClass,
getTrafficClass, setReuseAddress, getReuseAddress, close,
shutdownInput, shutdownOutput, isConnected, isBound, isClosed,
isInputShutdown, isOutputShutdown): Always use
'underlyingSocket'.
........
r123287 | mrs | 2007-03-27 18:56:58 -0700 (Tue, 27 Mar 2007) | 8 lines
2007-03-27 Douglas Gregor <doug.gregor@gmail.com>
* tree.c (tree_contains_struct): Permit 512 tree codes.
* tree.h (tree_contains_struct): Ditto.
(MAX_TREE_CODES): Ditto.
(struct tree_base): Make CODE 16 bits, instead of 8 bits. Add
SPARE member to store remaining padding bits.
........
r123288 | tromey | 2007-03-27 19:01:01 -0700 (Tue, 27 Mar 2007) | 7 lines
* sources.am, Makefile.in: Rebuilt.
* scripts/mime.types: Removed.
* scripts/MakeDefaultMimeTypes.java: Removed.
* gnu/gcj/io/MimeTypes.java: Removed.
* gnu/gcj/io/MimeTypes.h: Removed.
* gnu/gcj/io/DefaultMimeTypes.java: Removed.
* gnu/gcj/io/DefaultMimeTypes.h: Removed.
........
r123289 | steven | 2007-03-27 21:13:10 -0700 (Tue, 27 Mar 2007) | 3 lines
* ifcvt.c (cond_exec_find_if_block): Return FALSE if no
transformations are applied successfully.
........
r123290 | kkojima | 2007-03-27 22:18:03 -0700 (Tue, 27 Mar 2007) | 6 lines
* config/sh/sh.h (CALL_COOKIE_RET_TRAMP_SHIFT): Move after
the definition of struct sh_args.
(CALL_COOKIE_RET_TRAMP, CALL_COOKIE_STACKSEQ_SHIFT,
CALL_COOKIE_INT_REG_GET): Likewise.
........
r123291 | krebbel | 2007-03-28 01:39:03 -0700 (Wed, 28 Mar 2007) | 11 lines
2007-03-28 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/s390.md ("fix_trunc<mode>di2"): New expander.
("fix_trunc<DFP:mode>di2_dfp"): New insn definition renamed from
fix_trunc<mode>di2.
("fixuns_truncdddi2", "fixuns_trunctddi2"): Use
fix_trunc<DFP:mode>di2_dfp instead of fix_trunc<mode>di2.
("fix_truncdfsi2", "fix_truncsfsi2", "fixuns_truncdddi2",
"fixuns_trunctddi2"): Whitespace fix.
........
r123292 | kkojima | 2007-03-28 05:18:51 -0700 (Wed, 28 Mar 2007) | 4 lines
* config.gcc: Add sh4-300 to multilib.
* config/sh/t-mlib-sh4-300: New file.
........
r123294 | dgregor | 2007-03-28 05:31:37 -0700 (Wed, 28 Mar 2007) | 13 lines
2007-03-28 Douglas Gregor <doug.gregor@gmail.com>
* decl.c (grokdeclarator): Deal with cv-qualified function type
typedefs in the same way for member and non-member functions.
2007-03-28 Douglas Gregor <doug.gregor@gmail.com>
* g++.dg/other/cv_func2.C: New.
........
r123295 | kkojima | 2007-03-28 05:37:12 -0700 (Wed, 28 Mar 2007) | 4 lines
* config/sh/sh.md (movsi_ie): Fix memory constraints attribute length.
(movsf_ie): Likewise.
........
r123296 | kkojima | 2007-03-28 05:52:07 -0700 (Wed, 28 Mar 2007) | 3 lines
* config/sh/sh.md (movsi_i): Fix type attribute.
........
r123297 | nickc | 2007-03-28 05:56:11 -0700 (Wed, 28 Mar 2007) | 3 lines
* config/fr30/fr30.md (movsi_internal): Change destination
constraint from m to V and add m to the end.
........
r123298 | nickc | 2007-03-28 05:58:02 -0700 (Wed, 28 Mar 2007) | 2 lines
Fix dates on recent entries
........
r123299 | hjl | 2007-03-28 06:38:24 -0700 (Wed, 28 Mar 2007) | 5 lines
2007-03-28 Grigory Zagorodnev <grigory_zagorodnev@linux.intel.com>
* config/i386/sse.md (uminv16qi3): Use UMIN instead of UMAX.
........
r123300 | dgregor | 2007-03-28 07:05:29 -0700 (Wed, 28 Mar 2007) | 23 lines
2007-03-28 Douglas Gregor <doug.gregor@gmail.com>
* decl.c (redeclaration_error_message): Complain when redeclaring
a friend function with default template arguments (C++0x mode only).
* cp-tree.h (check_default_tmpl_args): Declare.
* pt.c (check_default_tmpl_args): In C++0x mode, permit default
template arguments in function templates. Add support for checking
the default template arguments of friend templates.
(push_template_decl_real): Fix call to check_default_tmpl_args.
(type_unification_real): If a template parameter has not been
deduced but provides a default template argument, substitute into
that default template argument.
* parser.c (cp_parser_init_declarator): When declaring (but not
defining!) a function template in C++0x mode, check for default
template arguments.
2007-03-28 Douglas Gregor <doug.gregor@gmail.com>
* g++.dg/cpp0x/temp_default1.C: New.
* g++.dg/cpp0x/temp_default3.C: New.
* g++.dg/cpp0x/temp_default2.C: New.
* g++.dg/cpp0x/temp_default4.C: New.
........
r123301 | uros | 2007-03-28 07:05:48 -0700 (Wed, 28 Mar 2007) | 9 lines
* config/i386/i386.h (X86_TUNE_PROMOTE_HIMODE_IMUL): New tuning
option.
(TARGET_TUNE_PROMOTE_HIMODE_IMUL): New define. Use new tuning option.
* config/i386/i386.c (ix86_tune_features): Initialize new
tuning option.
* config/i386/predicates.md (promotable_binary_operator): Use
TARGET_TUNE_PROMOTE_HIMODE_IMUL.
........
r123302 | dgregor | 2007-03-28 07:14:33 -0700 (Wed, 28 Mar 2007) | 28 lines
2007-03-28 Douglas Gregor <doug.gregor@gmail.com>
* parser.c (struct cp_parser): Update comment for
greater_than_is_operator_p.
(cp_parser_primary_expression): In C++0x mode, a cast operator can
be terminated with a `>>' token when !GREATER_THAN_IS_OPERATOR_P.
(TOKEN_PRECEDENCE): In C++0x mode, `>>' is treated like `>' when
!GREATER_THAN_IS_OPERATOR_P.
(cp_parser_binary_expression): When -Wc++0x-compat, warn about
`>>' operators that will become two `>' tokens in C++0x.
(cp_parser_parameter_declaration): Treat `>>' like `>' in C++0x
mode, allowing it to terminate default arguments.
(cp_parser_enclosed_template_argument_list): In C++0x mode, treat
`>>' like two consecutive `>' tokens.
(cp_parser_skip_to_end_of_template_parameter_list): Ditto.
(cp_parser_next_token_ends_template_argument_p): In C++0x, `>>'
ends a template argument.
2007-03-28 Douglas Gregor <doug.gregor@gmail.com>
* g++.dg/cpp0x/bracket1.C: New.
* g++.dg/cpp0x/bracket2.C: New.
* g++.dg/cpp0x/bracket3.C: New.
* g++.dg/cpp0x/bracket4.C: New.
........
r123303 | rguenth | 2007-03-28 08:01:08 -0700 (Wed, 28 Mar 2007) | 6 lines
2007-03-28 Richard Guenther <rguenther@suse.de>
* tree.c (is_global_var): Move ...
* tree-flow-inline.h (is_global_var): ... here.
* tree.h (is_global_var): Remove declaration.
........
r123306 | dwarak | 2007-03-28 09:29:21 -0700 (Wed, 28 Mar 2007) | 1 line
Added <dwarak.rajagopal@amd.com> to MAINTAINERS file with Write After Approval access
........
r123307 | tromey | 2007-03-28 11:25:07 -0700 (Wed, 28 Mar 2007) | 5 lines
2007-03-28 Casey Marshall <csm@gnu.org>
* gnu/javax/net/ssl/provider/ClientHandshake.java (RSAGen.implRun):
check keyEncipherment bit of the certificate, and just pass the public
key to the cipher.
........
r123309 | tobi | 2007-03-28 11:57:14 -0700 (Wed, 28 Mar 2007) | 6 lines
2007-03-28 Tobias Schlter <tobi@gcc.gnu.org>
* gfc-internals.texi: Fix output filename. Merge type index into
concept index. Start documentation of gfc_code structure.
........
r123311 | ebotcazou | 2007-03-28 13:11:20 -0700 (Wed, 28 Mar 2007) | 4 lines
* tree-dfa.c (get_ref_base_and_extent): Do not expect positive
offsets for BIT_FIELD_REF and COMPONENT_REF.
........
r123312 | simartin | 2007-03-28 14:06:01 -0700 (Wed, 28 Mar 2007) | 6 lines
2007-03-28 Simon Martin <simartin@users.sourceforge.net>
* decl.c (grokfndecl): Properly setup decl if it is a constructor or a
destructor.
........
r123313 | dwarak | 2007-03-28 14:44:56 -0700 (Wed, 28 Mar 2007) | 1 line
Adding barcelona as a variant of amdfam10 architecture
........
r123314 | echristo | 2007-03-28 16:08:26 -0700 (Wed, 28 Mar 2007) | 7 lines
2007-03-28 Eric Christopher <echristo@apple.com>
* lib/target-supports.exp (check_effective_target_fstack_protector): New.
* gcc.dg/ssp-1.c: Use.
* gcc.dg/ssp-2.c: Ditto.
........
r123317 | gccadmin | 2007-03-28 16:17:23 -0700 (Wed, 28 Mar 2007) | 1 line
Daily bump.
........
r123321 | mrs | 2007-03-28 18:44:26 -0700 (Wed, 28 Mar 2007) | 6 lines
* config/darwin9.h (ASM_OUTPUT_ALIGNED_COMMON): Add.
* config/darwin.h (MAX_OFILE_ALIGNMENT): Fix.
testsuite:
* gcc.dg/darwin-comm.c: Add.
........
r123323 | krebbel | 2007-03-28 23:57:42 -0700 (Wed, 28 Mar 2007) | 6 lines
2007-03-29 Andreas Krebbel <krebbel1@de.ibm.com>
* regmove.c (optimize_reg_copy_1): Don't perform DEST->SRC repair action if
SRC->DEST replacement failed anyway.
........
r123324 | krebbel | 2007-03-28 23:58:42 -0700 (Wed, 28 Mar 2007) | 15 lines
2007-03-29 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/s390.c (s390_secondary_input_reload_class,
s390_secondary_output_reload_class): Functions removed.
(s390_secondary_reload): New function.
(TARGET_SECONDARY_RELOAD): Target macro defined.
* config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS,
SECONDARY_OUTPUT_RELOAD_CLASS): Macro definitions removed.
* config/s390/s390.md ("reload_outti", "reload_outdi",
"reload_indi", "reload_insi", "reload_out<mode>", "reload_in<mode>",
"reload_out<mode>"): Expanders removed.
("reload<mode>_plus", "reload<mode>_nonoffmem_in",
"reload<mode>_nonoffmem_out"): Expanders added.
........
r123326 | nickc | 2007-03-29 03:23:27 -0700 (Thu, 29 Mar 2007) | 5 lines
* config/fr30/fr30.md (movdi): Do not accept immediates as the destination of this insn.
* config/fr30/fr30.c (fr30_move_double): Use emit_move_insn rather than calling gen_rtx_SET directly.
Use r0 to hold the value of 'address + 4' rather than a stack based temporary which can be
mis-optimized away.
........
r123327 | steven | 2007-03-29 05:04:09 -0700 (Thu, 29 Mar 2007) | 6 lines
* ifcvt.c (struct noce_if_info): Add then_else_reversed field.
(noce_get_alt_condition): Look at it to determine whether to
reverse the condition or not.
(noce_get_condition): Substitute the truth for lies.
(noce_find_if_block): Set the then_else_reversed field.
........
r123329 | rguenth | 2007-03-29 05:55:14 -0700 (Thu, 29 Mar 2007) | 4 lines
2007-03-29 Richard Guenther <rguenther@suse.de>
* tree.c (cp_walk_subtrees): Do not set input_location.
........
r123330 | dgregor | 2007-03-29 07:11:28 -0700 (Thu, 29 Mar 2007) | 9 lines
2007-03-29 Douglas Gregor <doug.gregor@gmail.com>
* tree.c (build_complex_type): When creating type names for DWARF2
debug info, create TYPE_DECLs for TYPE_NAME instead of
IDENTIFIER_NODEs.
(build_common_tree_nodes_2): Use build_complex_type when building
predefined complex types, to preserve canonical types.
........
r123332 | zack | 2007-03-29 07:59:52 -0700 (Thu, 29 Mar 2007) | 2 lines
* gengtype.c (oprintf): Mostly revert changes from 2007-03-26;
add comment explaining why vsnprintf cannot be used.
........
r123337 | mrs | 2007-03-29 09:17:42 -0700 (Thu, 29 Mar 2007) | 2 lines
* config/rs6000/darwin.h (ASM_OUTPUT_ALIGNED_COMMON): Removed #undef.
........
r123339 | mrs | 2007-03-29 11:36:43 -0700 (Thu, 29 Mar 2007) | 2 lines
* config/darwin9.h (ASM_OUTPUT_ALIGNED_COMMON): Fix typo.
........
r123341 | fxcoudert | 2007-03-29 13:44:47 -0700 (Thu, 29 Mar 2007) | 27 lines
* size_dim.f90: Fix dg directive.
* pr16433.f: Likewise.
* use_6.f90: Likewise.
* use_7.f90: Likewise.
* entry_9.f90: Likewise.
* pointer_intent_2.f90: Likewise.
* protected_1.f90: Likewise.
* fmt_missing_period_2.f: Likewise.
* pointer_intent_3.f90: Likewise.
* protected_2.f90: Likewise.
* protected_3.f90: Likewise.
* pr15754.f90: Likewise.
* protected_4.f90: Likewise.
* protected_5.f90: Likewise.
* initialization_2.f90: Likewise.
* protected_6.f90: Likewise.
* continuation_7.f90: Likewise.
* derived_function_interface_1.f90: Likewise.
* der_pointer_4.f90: Likewise.
* fmt_zero_precision.f90: Likewise.
* blockdata_3.f90: Likewise.
* fmt_missing_period_1.f: Likewise.
* real_const_3.f90: Likewise.
* use_4.f90: Likewise.
* fmt_missing_period_3.f: Likewise.
* use_5.f90: Likewise.
........
r123342 | brobecke | 2007-03-29 13:55:09 -0700 (Thu, 29 Mar 2007) | 6 lines
* filename_cmp.c: New file.
* Makefile.in (CFILES): Add filename_cmp.c.
(REQUIRED_OFILES): Add filename_cmp.o
(filename_cmp.o): New rule.
* functions.texi: Regenerate.
........
r123343 | brobecke | 2007-03-29 13:55:57 -0700 (Thu, 29 Mar 2007) | 3 lines
* filenames.h (FILENAME_CMP): Adjust define to call filename_cmp
regardless of the type of file system.
........
r123344 | rth | 2007-03-29 14:54:35 -0700 (Thu, 29 Mar 2007) | 46 lines
* varasm.c (initializer_constant_valid_p): Don't deny
DECL_DLLIMPORT_P on functions.
* config/i386/cygming.h: Remove function declarations.
(SUBTARGET_ENCODE_SECTION_INFO): Don't undef first.
(ASM_OUTPUT_LABELREF): Remove.
(COMMON_ASM_OP): Remove.
(ASM_OUTPUT_COMMON): Remove.
(ASM_OUTPUT_ALIGNED_DECL_COMMON): New.
(ASM_DECLARE_OBJECT_NAME): Use i386_pe_maybe_record_exported_symbol.
(ASM_DECLARE_FUNCTION_NAME): Likewise.
* config/i386/i386-interix.h (SUBTARGET_ENCODE_SECTION_INFO):
Rename from TARGET_ENCODE_SECTION_INFO.
* config/i386/netware.h: Likewise.
* config/i386/i386-protos.h: Update.
* config/i386/i386.c (ix86_function_ok_for_sibcall): Turn ifdef
of TARGET_DLLIMPORT_DECL_ATTRIBUTES into straight if.
(legitimate_constant_p): Reject dllimports.
(dllimport_map, get_dllimport_decl): New.
(legitimize_dllimport_symbol): New.
(legitimize_address, ix86_expand_move): Use it.
(TARGET_BINDS_LOCAL_P): Redefine for TARGET_DLLIMPORT_DECL_ATTRIBUTES.
* config/i386/i386.h (DLL_IMPORT_EXPORT_PREFIX): Remove.
(SYMBOL_FLAG_DLLIMPORT, SYMBOL_REF_DLLIMPORT_P): New.
(SYMBOL_FLAG_DLLEXPORT, SYMBOL_REF_DLLEXPORT_P): New.
* config/i386/predicates.md (constant_call_address_operand): Only
accept symbols; reject dllimport_p symbols.
* config/i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Use
i386_pe_maybe_record_exported_symbol.
* config/i386/winnt.c (DLL_IMPORT_PREFIX, DLL_EXPORT_PREFIX): Remove.
(i386_pe_determine_dllexport_p): Rename from i386_pe_dllexport_p.
(i386_pe_determine_dllimport_p): Rename from i386_pe_dllimport_p;
trust the setting of DECL_DLLIMPORT_P.
(i386_pe_dllexport_name_p, i386_pe_dllimport_name_p): Remove.
(i386_pe_mark_dllexport, i386_pe_mark_dllimport): Remove.
(gen_stdcall_or_fastcall_suffix): Return NULL if no change required;
tidy the argument scanning loop.
(i386_pe_encode_section_info): Set SYMBOL_FLAG_DLLIMPORT and
SYMBOL_FLAG_DLLEXPORT in SYMBOL_REF_FLAGS.
(i386_pe_strip_name_encoding): Remove.
(i386_pe_binds_local_p): New.
(i386_pe_strip_name_encoding_full): Use default_strip_name_encoding.
(i386_pe_output_labelref): Remove.
(i386_pe_asm_output_aligned_decl_common): New.
(i386_pe_maybe_record_exported_symbol): Rename from
i386_pe_record_exported_symbol; check for dllexported symbols.
........
r123345 | mueller | 2007-03-29 15:38:13 -0700 (Thu, 29 Mar 2007) | 5 lines
2007-03-29 Dirk Mueller <dmueller@suse.de>
* g++.dg/warn/pedantic2.C: New testcase.
........
r123346 | tobi | 2007-03-29 15:57:23 -0700 (Thu, 29 Mar 2007) | 5 lines
* intrinsic.c (conv_name): Let gfc_get_string handle the format.
(find_conv): Compare pointers instead of calling strcmp.
(find_sym): Likewise, but ensure that the compared pointer is in
the global string table.
........
r123349 | gccadmin | 2007-03-29 16:17:23 -0700 (Thu, 29 Mar 2007) | 1 line
Daily bump.
........
r123351 | rth | 2007-03-29 16:34:10 -0700 (Thu, 29 Mar 2007) | 3 lines
* emutls.c (struct __emutls_array): New.
(emutls_destroy): Use it instead of casting element 0 from void*.
(__emutls_get_address): Likewise.
........
r123352 | rth | 2007-03-29 16:35:33 -0700 (Thu, 29 Mar 2007) | 2 lines
* unwind-generic.h (_sleb128_t, _uleb128_t): Don't use HAVE_LONG_LONG
to decide, but __SIZEOF_LONG_LONG__.
........
r123355 | tobi | 2007-03-29 16:54:22 -0700 (Thu, 29 Mar 2007) | 3 lines
* symbol.c (gfc_find_gsymbol): Simplify, don't unconditionally
descend into all branches.
........
r123356 | tromey | 2007-03-29 21:09:35 -0700 (Thu, 29 Mar 2007) | 10 lines
libjava
* java/util/logging/LogManager.java (readConfiguration): Handle
comma-separated 'handlers'. Don't try to add a non-existing
handler.
libgcj/classpath
* gnu/java/util/jar/JarUtils.java (log): Commented out.
(readSFManifest): Don't log.
........
r123358 | hubicka | 2007-03-30 01:03:55 -0700 (Fri, 30 Mar 2007) | 5 lines
* dwarf2out.c (reference_to_unused): Ask cgraph for functions
availablility; add more sanity checking; ask varpool only about
VAR_DECL.
........
r123359 | rakdver | 2007-03-30 02:36:19 -0700 (Fri, 30 Mar 2007) | 5 lines
* tree-data-ref.c (affine_function_equal_p): Do not require the vectors
to have the same length.
........
r123361 | paolo | 2007-03-30 10:10:50 -0700 (Fri, 30 Mar 2007) | 8 lines
2007-03-30 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.tcc (find(const _CharT*, size_type,
size_type)): Avoid unsigned overflow.
* testsuite/21_strings/basic_string/find/char/4.cc: New.
* testsuite/21_strings/basic_string/find/wchar_t/4.cc: Likewise.
........
r123363 | steven | 2007-03-30 11:17:31 -0700 (Fri, 30 Mar 2007) | 4 lines
* regmove.c: Move all of pass_stack_adjustments from here...
* combine-stack-adj.c: ...to this new file.
* Makefile.in: Add rules for combine-stack-adj.o.
........
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/fixed-point@123365 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
svn+ssh://chaoyingfu@sources.redhat.com/svn/gcc/trunk
........
r122604 | rsandifo | 2007-03-06 00:54:31 -0800 (Tue, 06 Mar 2007) | 29 lines
gcc/
* config/m68k/m68k-protos.h (m68k_legitimate_base_reg_p): Declare.
(m68k_legitimate_index_reg_p, m68k_legitimate_address_p): Likewise.
(m68k_matches_q_p, m68k_matches_u_p): Likewise.
* config/m68k/m68k.h (EXTRA_CONSTRAINT): Use m68k_matches_q_p
and m68k_matches_u_p.
(PCREL_GENERAL_OPERAND_OK, LEGITIMATE_BASE_REG_P): Delete.
(INDIRECTABLE_1_ADDRESS_P, GO_IF_NONINDEXED_ADDRESS): Delete.
(GO_IF_INDEXABLE_BASE, GO_IF_INDEXING, GO_IF_INDEXED_ADDRESS): Delete.
(LEGITIMATE_INDEX_REG_P, LEGITIMATE_INDEX_P): Delete.
(GO_IF_COLDFIRE_FPU_LEGITIMATE_ADDRESS): Delete.
(REG_STRICT_P): New macro.
(LEGITIMATE_PIC_OPERAND_P): Use REG_STRICT_P rather than
PCREL_GENERAL_OPERAND_OK.
(REG_OK_FOR_BASE_P): Merge definitions. Use REG_STRICT_P and
m68k_legitimate_base_reg_p.
(REG_MODE_OK_FOR_INDEX_P): Likewise m68k_legitimate_index_reg_p.
(GO_IF_LEGITIMATE_ADDRESS): Likewise m68k_legitimate_address_p.
(PIC_CASE_VECTOR_ADDRESS): Update comment.
* config/m68k/m68k.c (m68k_address): New structure.
(m68k_legitimate_base_reg_p, m68k_legitimate_index_reg_p)
(m68k_decompose_index, m68k_legitimate_constant_address_p)
(m68k_jump_table_ref_p, m68k_decompose_address)
(m68k_legitimate_address_p, m68k_legitimate_mem_p, m68k_matches_q_p)
(m68k_matches_u_p): New functions.
(print_operand_address): Rewrite to use m68k_decompose_index.
........
r122605 | rsandifo | 2007-03-06 00:58:40 -0800 (Tue, 06 Mar 2007) | 34 lines
gcc/
200x-xx-xx Kazu Hirata <kazu@codesourcery.com>
Richard Sandiford <richard@codesourcery.com>
* config/m68k/m68k-protos.h (m68k_interrupt_function_p): Declare.
(m68k_movem_pattern_p, m68k_output_movem): Likewise.
(m68k_expand_prologue, m68k_expand_epilogue): Likewise.
* config/m68k/m68k.h (EPILOGUE_USES): Define. Treat all registers
as being live on exit from an interrupt function.
(PRINT_OPERAND_PUNCT_VALID_P): Return true for '?'.
* config/m68k/m68k.c (MIN_MOVEM_REGS, MIN_FMOVEM_REGS): New macros.
(m68k_frame): Remove reg_rev_mask and fpu_rev_mask.
(TARGET_ASM_FUNCTION_PROLOGUE, TARGET_ASM_FUNCTION_EPILOGUE): Delete.
(m68k_interrupt_function_p): Globalize.
(m68k_compute_frame_layout): Remove reverse mask code.
(m68k_emit_movem, m68k_set_frame_related): New functions.
(m68k_output_function_prologue): Delete in favor of...
(m68k_expand_prologue): ...this new function.
(m68k_output_function_epilogue): Delete in favor of...
(m68k_expand_epilogue): ...this new function.
(m68k_split_offset, m68k_movem_pattern_p, m68k_output_movem): New
functions.
(print_operand): Handle %?.
* config/m68k/m68k.md (UNSPEC_SIN, UNSPEC_COS): Remove excess space.
(UNSPEC_GOT, A1_REG, PIC_REG, FP0_REG): New constants.
(prologue, epilogue): New patterns.
(return): Turn into a define_expand.
(*return): New pattern, derived from old "return" pattern. Use rte
rather than rts for interrupt functions. Only use rtd if the pop
count is nonzero.
(*m68k_store_multiple, *m68k_store_multiple_automod): New patterns.
(*m68k_load_multiple, *m68k_load_multiple_automod): Likewise.
(link, *link, unlink, *unlink, load_got): Likewise.
........
r122606 | rsandifo | 2007-03-06 00:59:20 -0800 (Tue, 06 Mar 2007) | 5 lines
gcc/
* config/m68k/m68k.md (movsf_cf_soft): Provide the same non-mov3q
alternatives as movsi_cf.
(movsf_cf_hard): Add commentary.
........
r122607 | rsandifo | 2007-03-06 01:00:00 -0800 (Tue, 06 Mar 2007) | 18 lines
gcc/
* config/m68k/m68k-protos.h (output_sibcall): Declare.
(mips_expand_epilogue): Add a bool parameter.
(m68k_legitimize_sibcall_address): Declare.
* config/m68k/m68k.c (TARGET_FUNCTION_OK_FOR_SIBCALL): Define.
(m68k_expand_epilogue): Add a parameter to select between sibling
and normal epilogues. Only generate a return for the latter.
(m68k_ok_for_sibcall_p): New function.
(m68k_legitimize_sibcall_address, output_sibcall): New functions.
* config/m68k/m68k.md (sibcall, *sibcall): New patterns.
(sibcall_value, *sibcall_value): Likewise.
(*call, *call_value): Require !SIBLING_CALL_P.
(epilogue): Update call to m68k_expand_epilogue.
(sibcall_epilogue): New pattern.
* config/m68k/predicates.md (const_call_operand): Say that this
predicate applies to sibling calls too.
(sibcall_operand): New predicate.
........
r122608 | rsandifo | 2007-03-06 01:00:21 -0800 (Tue, 06 Mar 2007) | 5 lines
gcc/
* config/m68k/m68k.c (m68k_save_reg): Remove special case for
leaf functions.
(m68k_expand_prologue): Likewise.
........
r122609 | rsandifo | 2007-03-06 01:01:07 -0800 (Tue, 06 Mar 2007) | 16 lines
gcc/
* config/m68k/m68k-protos.h (m68k_secondary_reload_class): Declare.
(m68k_preferred_reload_class): Likewise.
* config/m68k/m68k.h (HARD_REGNO_MODE_OK): Remove duplicated comment.
(SECONDARY_RELOAD_CLASS): Define.
(PREFERRED_RELOAD_CLASS): Use m68k_preferred_reload_class.
(LIMIT_RELOAD_CLASS): Delete.
* config/m68k/m68k.c (m68k_regno_mode_ok): Don't prevent address
registers from storing bytes.
(m68k_secondary_reload_class): New function.
(m68k_preferred_reload_class): Likewise.
gcc/testsuite/
* gcc.c-torture/compile/m68k-byte-addr.c: New test.
........
r122610 | rsandifo | 2007-03-06 01:04:09 -0800 (Tue, 06 Mar 2007) | 4 lines
gcc/
* config/m68k/m68k.c (m68k_save_reg): Save the PIC register in
functions that need a constant pool.
........
r122611 | rsandifo | 2007-03-06 01:04:27 -0800 (Tue, 06 Mar 2007) | 4 lines
gcc/
* config/m68k/m68k.c (m68k_save_reg): Save the PIC register in
functions that call eh_return.
........
r122612 | rsandifo | 2007-03-06 01:04:47 -0800 (Tue, 06 Mar 2007) | 10 lines
gcc/
* config/m68k/m68k.h (PIC_OFFSET_TABLE_REGNUM): Use the REGNO
of pic_offset_table_rtx if reload_completed.
(CONDITIONAL_REGISTER_USAGE): Use PIC_REG instead of
PIC_OFFSET_TABLE_REGNUM.
* config/m68k/m68k.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Always
return true.
(m68k_save_reg): Use PIC_REG instead of PIC_OFFSET_TABLE_REGNO.
(m68k_output_mi_thunk): Rewrite to use RTL. Honor vcall_offset.
........
r122613 | rsandifo | 2007-03-06 01:06:35 -0800 (Tue, 06 Mar 2007) | 7 lines
gcc/
* configure.ac: Allow tm_file to contain build-directory files.
* configure: Regenerate.
* config.gcc (m68k-*-uclinux*): Add ./sysroot-suffix.h to tm_file.
* config/m68k/t-uclinux (sysroot-suffix.h): New target.
* config/m68k/print-sysroot-suffix.sh: New file.
........
r122615 | brooks | 2007-03-06 01:26:08 -0800 (Tue, 06 Mar 2007) | 2 lines
* intrinsic.texi: Limit column widths to a total of .85.
........
r122619 | hubicka | 2007-03-06 06:02:00 -0800 (Tue, 06 Mar 2007) | 3 lines
* regstack.c (reg_to_stack): When in 64bit PIC mode, we still can load
NANs easilly.
........
r122620 | jsm28 | 2007-03-06 07:50:28 -0800 (Tue, 06 Mar 2007) | 38 lines
fixincludes:
* mkheaders.in: Fix headers for each multilib required.
gcc:
* configure.ac (CROSS_SYSTEM_HEADER_DIR, build_system_header_dir):
Define using $${sysroot_headers_suffix}.
* configure: Regenerate.
* cppdefault.c (cpp_include_defaults): Make FIXED_INCLUDE_DIR a
multilib-suffixed directory if SYSROOT_HEADERS_SUFFIX_SPEC
defined.
* doc/invoke.texi (-print-sysroot-headers-suffix): Document.
* gcc.c (print_sysroot_headers_suffix): New.
(option_map): Include --print-sysroot-headers-suffix.
(display_help): Mention -print-sysroot-headers-suffix.
(process_command): Handle -print-sysroot-headers-suffix.
(do_spec_1): Append multilib directory to include-fixed path if
sysroot suffixes in use.
(main): Handle -print-sysroot-headers-suffix.
* Makefile.in (start.encap): Don't depend on xlimits.h
(xlimits.h): Remove.
(stmp-int-hdrs): Don't depend on xlimits.h. Inline generation of
limits.h for each multilib in fixinc_list.
(fixinc_list, s-fixinc_list): New.
(stmp-fixinc): Depend on fixinc_list. If not copying headers,
generate them for each multilib in fixinc_list.
(stmp-fixproto): Use include-fixed. Run fixproto for each
multilib in fixinc_list.
(mostlyclean): Don't remove xlimits.h.
(clean): Remove include-fixed.
(real-install-headers-tar, real-install-headers-cpio,
real-install-headers-cp): Don't copy include, only include-fixed.
(install-mkheaders): Depend on fixinc_list. Don't depend on
xlimits.h. Save limits.h files for each multilib in fixinc_list.
Always save mkinstalldirs. Preserve ${sysroot_headers_suffix} in
SYSTEM_HEADER_DIR setting in mkheaders.conf.
........
r122621 | rth | 2007-03-06 07:59:38 -0800 (Tue, 06 Mar 2007) | 77 lines
* config/i386/i386.c (x86_use_leave, x86_push_memory,
x86_zero_extend_with_and, x86_movx, x86_double_with_add,
x86_use_bit_test, x86_unroll_strlen, x86_deep_branch,
x86_branch_hints, x86_use_sahf, x86_partial_reg_stall,
x86_partial_flag_reg_stall, x86_use_himode_fiop, x86_use_simode_fiop,
x86_use_mov0, x86_use_cltd, x86_read_modify_write, x86_read_modify,
x86_split_long_moves, x86_promote_QImode, x86_fast_prefix,
x86_single_stringop, x86_qimode_math, x86_promote_qi_regs,
x86_himode_math, x86_promote_hi_regs, x86_sub_esp_4, x86_sub_esp_8,
x86_add_esp_4, x86_add_esp_8, x86_integer_DFmode_moves,
x86_partial_reg_dependency, x86_memory_mismatch_stall,
x86_prologue_using_move, x86_epilogue_using_move, x86_shift1,
x86_sse_partial_reg_dependency, x86_sse_split_regs,
x86_sse_unaligned_move_optimal, x86_sse_typeless_stores,
x86_sse_load0_by_pxor, x86_use_ffreep, x86_use_incdec,
x86_inter_unit_moves, x86_ext_80387_constants, x86_four_jump_limit,
x86_schedule, x86_use_bt, x86_pad_returns): Merge into ...
(ix86_tune_features): ... here. New array.
(x86_cmove, x86_use_xchgb, x86_cmpxchg, x86_cmpxchg8b,
x86_xadd, x86_bswap): Merge into ...
(ix86_arch_features): ... here. New array.
(x86_3dnow_a): Remove.
(x86_accumulate_outgoing_args): Make static.
(x86_arch_always_fancy_math_387): Make static.
(ix86_tune_mask, ix86_arch_mask): Move ...
(override_options): ... to local variables here. Apply the
appropriate mask to each element of ix86_arch_features and
ix86_tune_features. Adjust TARGET_CMOVE and TARGET_USE_SAHF
as were done in the old macros.
(standard_80387_constant_p): Use TARGET_EXT_80387_CONSTANTS.
* config/i386/i386.h (x86_use_leave, x86_push_memory,
x86_zero_extend_with_and, x86_use_bit_test, x86_cmove, x86_deep_branch,
x86_branch_hints, x86_unroll_strlen, x86_double_with_add,
x86_partial_reg_stall, x86_movx, x86_use_himode_fiop,
x86_use_simode_fiop, x86_use_mov0, x86_use_cltd, x86_use_xchgb,
x86_read_modify_write, x86_read_modify, x86_split_long_moves,
x86_promote_QImode, x86_single_stringop, x86_fast_prefix,
x86_himode_math, x86_qimode_math, x86_promote_qi_regs,
x86_promote_hi_regs, x86_integer_DFmode_moves, x86_add_esp_4,
x86_add_esp_8, x86_sub_esp_4, x86_sub_esp_8,
x86_partial_reg_dependency, x86_memory_mismatch_stall,
x86_accumulate_outgoing_args, x86_prologue_using_move,
x86_epilogue_using_move, x86_decompose_lea,
x86_arch_always_fancy_math_387, x86_shift1,
x86_sse_partial_reg_dependency, x86_sse_split_regs,
x86_sse_unaligned_move_optimal, x86_sse_typeless_stores,
x86_sse_load0_by_pxor, x86_use_ffreep, x86_inter_unit_moves,
x86_schedule, x86_use_bt, x86_cmpxchg, x86_cmpxchg8b, x86_xadd,
x86_use_incdec, x86_pad_returns, x86_bswap,
x86_partial_flag_reg_stall): Remove.
(enum ix86_tune_indices): New.
(ix86_tune_features): New.
(TARGET_USE_LEAVE, TARGET_PUSH_MEMORY, TARGET_ZERO_EXTEND_WITH_AND,
TARGET_USE_BIT_TEST, TARGET_UNROLL_STRLEN,
TARGET_DEEP_BRANCH_PREDICTION, TARGET_BRANCH_PREDICTION_HINTS,
TARGET_DOUBLE_WITH_ADD, TARGET_USE_SAHF, TARGET_MOVX,
TARGET_PARTIAL_REG_STALL, TARGET_PARTIAL_FLAG_REG_STALL,
TARGET_USE_HIMODE_FIOP, TARGET_USE_SIMODE_FIOP, TARGET_USE_MOV0,
TARGET_USE_CLTD, TARGET_USE_XCHGB, TARGET_SPLIT_LONG_MOVES,
TARGET_READ_MODIFY_WRITE, TARGET_READ_MODIFY, TARGET_PROMOTE_QImode,
TARGET_FAST_PREFIX, TARGET_SINGLE_STRINGOP, TARGET_QIMODE_MATH,
TARGET_HIMODE_MATH, TARGET_PROMOTE_QI_REGS, TARGET_PROMOTE_HI_REGS,
TARGET_ADD_ESP_4, TARGET_ADD_ESP_8, TARGET_SUB_ESP_4,
TARGET_SUB_ESP_8, TARGET_INTEGER_DFMODE_MOVES,
TARGET_PARTIAL_REG_DEPENDENCY, TARGET_SSE_PARTIAL_REG_DEPENDENCY,
TARGET_SSE_UNALIGNED_MOVE_OPTIMAL, TARGET_SSE_SPLIT_REGS,
TARGET_SSE_TYPELESS_STORES, TARGET_SSE_LOAD0_BY_PXOR,
TARGET_MEMORY_MISMATCH_STALL, TARGET_PROLOGUE_USING_MOVE,
TARGET_EPILOGUE_USING_MOVE, TARGET_SHIFT1, TARGET_USE_FFREEP,
TARGET_INTER_UNIT_MOVES, TARGET_FOUR_JUMP_LIMIT, TARGET_SCHEDULE,
TARGET_USE_BT, TARGET_USE_INCDEC, TARGET_PAD_RETURNS,
TARGET_EXT_80387_CONSTANTS): Use it.
(enum ix86_arch_indices): New.
(ix86_arch_features): New.
(TARGET_CMOVE, TARGET_CMPXCHG, TARGET_CMPXCHG8B, TARGET_XADD,
TARGET_BSWAP): Use it.
(ix86_tune_mask, ix86_arch_mask): Remove.
........
r122623 | hubicka | 2007-03-06 08:38:43 -0800 (Tue, 06 Mar 2007) | 32 lines
* reg-stack.c (reg_to_stack): Large models don't allow NAN to be
loaded for constant large models. Non-large 64bit PIC can do.
* i386.h (CASE_VECTOR_MODE): Large PIC cases are 64bit.
* cmodel.h: Add LARGE PIC.
* i386.md (UNSPEC_PLTOFF): New.
(UNSPEC_SET_RIP, UNSPEC_SET_GOT_OFFSET): New; renumber other unspecs as
needed.
(*call_1_rex64): Disable for large models.
(*call_1_rex64_large): New.
(*call_value_1_rex64): Disable for large models.
(*call_value_1_rex64_large): New.
(set_rip_rex4): New.
(set_got_offset_rex64): New.
* predicates.md (constant_call_address_operand): For large model
constant calls are not possible.
* i386-protos.h (construct_plt_address): Declare.
* i386.c (override_options): Accept large models.
(ix86_expand_prologue): Expand large PIC GOT pointer load.
(legitimate_constant_p): Add new UNSPECs.
(legitimate_pic_operand_p): Likewise.
(legitimate_pic_address_disp_p): Disallow local symbols for large PICs.
(legitimize_pic_address): Do easy RIP relative way for TLS only for
non-large model.
(output_pic_addr_const): Add PLTOFF.
(ix86_output_addr_diff_elt): Output 64bit tables when needed.
(ix86_expand_move): Legitimize pic address when in PIC mode.
(construct_plt_address): New function.
(ix86_expand_call): Offload the address to register and use GOT pointer
for large model.
* invoke.texi (mcmodel=large): Update documentation.
........
r122625 | rsandifo | 2007-03-06 09:17:30 -0800 (Tue, 06 Mar 2007) | 4 lines
gcc/
* config/i386/att.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_SKIP): Undefine
before redefining.
........
r122626 | aph | 2007-03-06 09:21:37 -0800 (Tue, 06 Mar 2007) | 6 lines
2007-03-06 Andrew Haley <aph@redhat.com>
* function.c (expand_function_end): Move blockage to just after we
emit the label for the naked return from the function.
........
r122628 | paolo | 2007-03-06 09:43:27 -0800 (Tue, 06 Mar 2007) | 28 lines
2007-03-06 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_algobase.h: Do not include <cstdlib>.
* src/localename.cc: Do it here.
* src/ctype.cc: Likewise.
* include/ext/pb_ds/detail/map_debug_base.hpp: Likewise.
* include/ext/pb_ds/exception.hpp: Likewise.
* include/ext/pb_ds/list_update_policy.hpp: Likewise.
* include/bits/stl_algo.h: Likewise.
* include/tr1/random: Likewise.
* testsuite/util/testsuite_hooks.cc: Likewise.
* testsuite/util/testsuite_abi_check.cc: Likewise.
* testsuite/util/testsuite_abi.cc: Likewise.
* testsuite/util/performance/assoc/timing/
tree_order_statistics_test.hpp: Likewise.
* config/locale/darwin/ctype_members.cc: Likewise.
* config/locale/gnu/c++locale_internal.h: Likewise.
* config/locale/generic/ctype_members.cc: Likewise.
* config/locale/generic/time_members.cc: Likewise.
* include/ext/pb_ds/detail/resize_policy/
hash_load_check_resize_trigger_imp.hpp: Qualify abort.
* testsuite/util/performance/assoc/timing/
multimap_find_test.hpp: Likewise.
* include/std/valarray: Do include <cstdlib>.
* include/tr1/hashtable: Likewise.
........
r122630 | kgallowa | 2007-03-06 10:22:28 -0800 (Tue, 06 Mar 2007) | 6 lines
2007-03-06 Kyle Galloway <kgallowa@redhat.com>
* jvmti.cc(_Jv_JVMTI_GetLocalVariableTable): Fix _Jv_Malloc parameters.
* testsuite/libjava.jvmti/interp/natgetlocalvartable.cc
(do_getlocalvartable_tests): Add Deallocate calls to free strings.
........
r122631 | tromey | 2007-03-06 10:50:14 -0800 (Tue, 06 Mar 2007) | 16 lines
libjava
* Makefile.in: Rebuilt.
* Makefile.am (bin_PROGRAMS): Added gcjh.
(gcjh_SOURCES, gcjh_LDFLAGS, gcjh_LINK, gcjh_LDADD,
gcjh_DEPENDENCIES): New variables.
libjava/classpath
* tools/gnu/classpath/tools/javah/Main.java (getName): New
method.
(getParser): Now protected. Use getName. Add '-v' alias for
--verbose.
(postParse): New method.
(run): Now protected. Use postParse.
* tools/gnu/classpath/tools/javah/GcjhMain.java: New file.
* tools/Makefile.in: Rebuilt.
* tools/Makefile.am: Remove vm-tools.lst before creating it.
........
r122632 | hubicka | 2007-03-06 10:57:27 -0800 (Tue, 06 Mar 2007) | 17 lines
* errors.h (warning, error, fatal, internal_error): Mark as cold.
* predict.c (maybe_hot_bb): Cold functions are never hot; hot functions
are hot.
(probably_cold_bb_p): Cold functions are cold.
(probably_never_executed_bb_p): Cold functions are cold.
(tree_bb_level_predictions): Predict calls to cold functions as not
taken.
(compute_function_frequency): Check hot/cold attributes.
* function.h (function_frequency): Update comments.
* predict.def (PRED_COLD_FUNCTION): Predict cold function.
* c-common.c (handle_hot_attribute, handle_cold_attribute): New.
(c_common_att): Add cold and hot.
* doc/extend.texi (hot,cold attributes): Document.
* ansidecl.h (ATTRIBUTE_COLD, ATTRIBUTE_HOT): New.
........
r122634 | doko | 2007-03-06 11:12:22 -0800 (Tue, 06 Mar 2007) | 5 lines
2007-03-06 Matthias Klose <doko@ubuntu.com>
* doc/Makefile.am(gkeytool.pod): Don't use sed -i.
* doc/Makefile.in: Regenerate.
........
r122635 | aesok | 2007-03-06 12:06:58 -0800 (Tue, 06 Mar 2007) | 9 lines
2006-02-24 Anatoly Sokolov <aesok@post.ru>
* config/avr/avr.c (avr_mcu_types): Add support for ATmega325P,
ATmega3250P, ATmega329P, ATmega3290P, AT90USB82 and AT90USB162
devices.
* config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
* config/avr/t-avr (MULTILIB_MATCHES): (Ditto.).
........
r122639 | kgallowa | 2007-03-06 13:09:22 -0800 (Tue, 06 Mar 2007) | 10 lines
2007-03-06 Kyle Galloway <kgallowa@redhat.com>
* classpath/gnu/classpath/jdwp/exception/AbsentInformationException.java: New file.
* classpath/lib/gnu/classpath/jdwp/exception/AbsentInformationException.class: Ditto.
* gnu/classpath/jdwp/exception/AbsentInformationException.h: Ditto.
* gnu/classpath/jdwp/natVMMethod.cc: Add CHECK_INTERP_CLASS macro.
(VMMethod::getLineTable): Use new macro.
(VMMethod::getVariableTable): Implement.
* sources.am: Regenerated.
* Makefile.in: Ditto.
........
r122640 | dfranke | 2007-03-06 13:57:02 -0800 (Tue, 06 Mar 2007) | 7 lines
2007-03-06 Daniel Franke <franke.daniel@gmail.com>
* intrinsic.texi (AND, CPU_TIME): Fix dummy argument names.
(FREE): Fix call syntax.
........
r122644 | gccadmin | 2007-03-06 16:17:10 -0800 (Tue, 06 Mar 2007) | 1 line
Daily bump.
........
r122647 | hp | 2007-03-06 19:10:26 -0800 (Tue, 06 Mar 2007) | 2 lines
* g++.old-deja/g++.jason/template31.C: Include cstdlib.
........
r122648 | daney | 2007-03-06 20:40:28 -0800 (Tue, 06 Mar 2007) | 3 lines
* doc/install.texi (mips-*-*): Change recommended binutils
version.
........
r122650 | aoliva | 2007-03-06 23:18:41 -0800 (Tue, 06 Mar 2007) | 4 lines
* dwarf2out.c (is_inlined_entry_point): New
(add_high_low_attributes): Emit DW_AT_entry_pc along with
DW_AT_ranges if the first subblock is the entry point.
........
r122651 | aoliva | 2007-03-06 23:20:20 -0800 (Tue, 06 Mar 2007) | 3 lines
* src/dlmalloc.c: New file, imported version 2.8.3 of Doug
Lea's malloc.
........
r122652 | aoliva | 2007-03-06 23:27:25 -0800 (Tue, 06 Mar 2007) | 106 lines
libffi/ChangeLog:
* include/ffi.h.in (ffi_closure_alloc, ffi_closure_free): New.
(ffi_prep_closure_loc): New.
(ffi_prep_raw_closure_loc): New.
(ffi_prep_java_raw_closure_loc): New.
* src/closures.c: New file.
* src/dlmalloc.c [FFI_MMAP_EXEC_WRIT] (struct malloc_segment):
Replace sflags with exec_offset.
[FFI_MMAP_EXEC_WRIT] (mmap_exec_offset, add_segment_exec_offset,
sub_segment_exec_offset): New macros.
(get_segment_flags, set_segment_flags, check_segment_merge): New
macros.
(is_mmapped_segment, is_extern_segment): Use get_segment_flags.
(add_segment, sys_alloc, create_mspace, create_mspace_with_base,
destroy_mspace): Use new macros.
(sys_alloc): Silence warning.
* Makefile.am (libffi_la_SOURCES): Add src/closures.c.
* Makefile.in: Rebuilt.
* src/prep_cif [FFI_CLOSURES] (ffi_prep_closure): Implement in
terms of ffi_prep_closure_loc.
* src/raw_api.c (ffi_prep_raw_closure_loc): Renamed and adjusted
from...
(ffi_prep_raw_closure): ... this. Re-implement in terms of the
renamed version.
* src/java_raw_api (ffi_prep_java_raw_closure_loc): Renamed and
adjusted from...
(ffi_prep_java_raw_closure): ... this. Re-implement in terms of
the renamed version.
* src/alpha/ffi.c (ffi_prep_closure_loc): Renamed from
(ffi_prep_closure): ... this.
* src/pa/ffi.c: Likewise.
* src/cris/ffi.c: Likewise. Adjust.
* src/frv/ffi.c: Likewise.
* src/ia64/ffi.c: Likewise.
* src/mips/ffi.c: Likewise.
* src/powerpc/ffi_darwin.c: Likewise.
* src/s390/ffi.c: Likewise.
* src/sh/ffi.c: Likewise.
* src/sh64/ffi.c: Likewise.
* src/sparc/ffi.c: Likewise.
* src/x86/ffi64.c: Likewise.
* src/x86/ffi.c: Likewise.
(FFI_INIT_TRAMPOLINE): Adjust.
(ffi_prep_raw_closure_loc): Renamed and adjusted from...
(ffi_prep_raw_closure): ... this.
* src/powerpc/ffi.c (ffi_prep_closure_loc): Renamed from
(ffi_prep_closure): ... this.
(flush_icache): Adjust.
boehm-gc/ChangeLog:
* include/gc.h (GC_REGISTER_FINALIZER_UNREACHABLE): New.
(GC_register_finalizer_unreachable): Declare.
(GC_debug_register_finalizer_unreachable): Declare.
* finalize.c (GC_unreachable_finalize_mark_proc): New.
(GC_register_finalizer_unreachable): New.
(GC_finalize): Handle it.
* dbg_mlc.c (GC_debug_register_finalizer_unreachable): New.
(GC_debug_register_finalizer_no_order): Fix whitespace.
libjava/ChangeLog:
* include/jvm.h (_Jv_ClosureListFinalizer): New.
(_Jv_Linker::create_error_method): Adjust.
* boehm.cc (_Jv_ClosureListFinalizer): New.
* nogc.cc (_Jv_ClosureListFinalizer): New.
* java/lang/Class.h (class _Jv_ClosureList): New.
(class java::lang::Class): Declare it as friend.
* java/lang/natClass.cc (_Jv_ClosureList::releaseClosures): New.
(_Jv_ClosureList::registerClousure): New.
* include/execution.h (_Jv_ExecutionEngine): Add get_closure_list.
(_Jv_CompiledEngine::do_get_closure_list): New.
(_Jv_CompiledEngine::_Jv_CompiledEngine): Use it.
(_Jv_IndirectCompiledClass): Add closures.
(_Jv_IndirectCompiledEngine::get_aux_info): New.
(_Jv_IndirectCompiledEngine::do_allocate_field_initializers): Use
it.
(_Jv_IndirectCompiledEngine::do_get_closure_list): New.
(_Jv_IndirectCompiledEngine::_Jv_IndirectCompiledEngine): Use it.
(_Jv_InterpreterEngine::do_get_closure_list): Declare.
(_Jv_InterpreterEngine::_Jv_InterpreterEngine): Use it.
* interpret.cc (FFI_PREP_RAW_CLOSURE): Use _loc variants.
(node_closure): Add closure list.
(_Jv_InterpMethod::ncode): Add jclass argument. Use
ffi_closure_alloc and the separate code pointer. Register the
closure for finalization.
(_Jv_JNIMethod::ncode): Likewise.
(_Jv_InterpreterEngine::do_create_ncode): Pass klass to ncode.
(_Jv_InterpreterEngine::do_get_closure_list): New.
* include/java-interp.h (_Jv_InterpMethod::ncode): Adjust.
(_Jv_InterpClass): Add closures field.
(_Jv_JNIMethod::ncode): Adjust.
* defineclass.cc (_Jv_ClassReader::handleCodeAttribute): Adjust.
(_Jv_ClassReader::handleMethodsEnd): Likewise.
* link.cc (struct method_closure): Add closure list.
(_Jv_Linker::create_error_method): Add jclass argument. Use
ffi_closure_alloc and the separate code pointer. Register the
closure for finalization.
(_Jv_Linker::link_symbol_table): Remove outdated comment about
sharing of otable and atable. Adjust.
* java/lang/reflect/natVMProxy.cc (ncode_closure): Add closure
list.
(ncode): Add jclass argument. Use ffi_closure_alloc and the
separate code pointer. Register the closure for finalization.
(java::lang::reflect::VMProxy::generateProxyClass): Adjust.
* testsuite/libjava.jar/TestClosureGC.java: New.
* testsuite/libjava.jar/TestClosureGC.out: New.
* testsuite/libjava.jar/TestClosureGC.xfail: New.
* testsuite/libjava.jar/TestClosureGC.jar: New.
........
r122653 | rsandifo | 2007-03-06 23:37:16 -0800 (Tue, 06 Mar 2007) | 6 lines
gcc/
* config/vxworks.h (VXWORKS_GOTT_BASE, VXWORKS_GOTT_INDEX): Undefine
before defining.
* config/vxworks-dummy.h: New file.
* config/i386/i386.h: Include it.
........
r122654 | rsandifo | 2007-03-07 01:02:14 -0800 (Wed, 07 Mar 2007) | 17 lines
gcc/
* config/i386/i386.c (output_set_got): Add a GOT initialization
sequence for VxWorks PIC.
(legitimate_pic_address_disp_p): Allow UNSPEC_GOT wrappers
around labels as well as symbols. Use gotoff_operand instead
of local_symbolic_operand.
(legitimize_pic_address): Use gotoff_operand instead of
local_symbolic_operand. Use @GOT accesses for labels as
well as symbols.
(ix86_output_addr_diff_elt): Use PC-relative rather than
GP-relative offsets for VxWorks PIC.
(ix86_expand_move): Pass NULL_RTX to legitimize_pic_address unless
no_new_pseudos. Check whether the returned register is op0.
* config/i386/i386.md (tablejump): Use PC-relative rather than
GP-relative offsets for VxWorks PIC.
* config/i386/predicates.md (gotoff_operand): New predicate.
........
r122655 | krebbel | 2007-03-07 01:11:12 -0800 (Wed, 07 Mar 2007) | 9 lines
2007-03-07 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/s390.c (override_options): Don't emit an error when
-mstack-size is used without providing -mstack-guard.
(s390_emit_prologue): Choose stack_guard value automatically if not
provided via command line.
* doc/invoke.texi: Adjust description of -mstack-guard and -mstack-size.
........
r122656 | bonzini | 2007-03-07 03:45:28 -0800 (Wed, 07 Mar 2007) | 4 lines
2007-03-07 Paolo Bonzini <bonzini@gnu.org>
* gcc.dg/var-expand1.c: Add newline at end of file.
........
r122657 | rsandifo | 2007-03-07 03:52:52 -0800 (Wed, 07 Mar 2007) | 7 lines
gcc/
* config/vxworks.h (vxworks_override_options): Declare.
(VXWORKS_OVERRIDE_OPTIONS): Use it.
* config/vxworks.c: Include target.h and toplev.h.
(vxworks_override_options): New function.
* config/t-vxworks (vxworks.o): Depend on $(TARGET_H) and toplev.h.
........
r122658 | jsm28 | 2007-03-07 05:04:15 -0800 (Wed, 07 Mar 2007) | 26 lines
gcc:
2007-03-07 Paul Brook <paul@codesourcery.com>
* config/arm/libunwind.S: Add .arch/.object_arch for armv4 builds.
gcc:
2007-03-07 Joseph Myers <joseph@codesourcery.com>
* config/arm/unwind-arm.c (struct wmmxd_regs, struct wmmxc_regs):
New.
(phase1_vrs): Use them.
(DEMAND_SAVE_WMMXD, DEMAND_SAVE_WMMXC): New.
(__gnu_Unwind_Save_WMMXD, __gnu_Unwind_Restore_WMMXD,
__gnu_Unwind_Save_WMMXC, __gnu_Unwind_Restore_WMMXC): Declare.
(restore_non_core_regs): Call __gnu_Unwind_Restore_WMMXD and
__gnu_Unwind_Restore_WMMXC if required.
(_Unwind_VRS_Pop): Implement iWMMXt support.
* config/arm/libunwind.S (gnu_Unwind_Restore_WMMXD,
gnu_Unwind_Save_WMMXD, gnu_Unwind_Restore_WMMXC,
gnu_Unwind_Save_WMMXC): Define.
gcc/testsuite:
2007-03-07 Joseph Myers <joseph@codesourcery.com>
* g++.dg/eh/arm-iwmmxt-unwind.C: New test.
........
r122659 | schwab | 2007-03-07 06:01:40 -0800 (Wed, 07 Mar 2007) | 6 lines
* configure: Regenerate.
config/:
* acx.m4 (GCC_TARGET_TOOL): Expand backquotes outside
AC_MSG_RESULT.
........
r122660 | membar | 2007-03-07 06:54:00 -0800 (Wed, 07 Mar 2007) | 2 lines
* gcj/javaprims.h: Regenerated.
........
r122661 | gary | 2007-03-07 07:31:07 -0800 (Wed, 07 Mar 2007) | 10 lines
2007-03-07 Gary Benson <gbenson@redhat.com>
* resource/META-INF/services/org.w3c.dom.DOMImplementationSourceList:
New file.
2007-03-07 Gary Benson <gbenson@redhat.com>
* sources.am, Makefile.in: Rebuilt.
........
r122663 | aph | 2007-03-07 07:54:27 -0800 (Wed, 07 Mar 2007) | 5 lines
2007-03-07 Andrew Haley <aph@redhat.com>
* libgcj_bc.c (JvRunMainName): Declare.
........
r122666 | jsm28 | 2007-03-07 10:01:18 -0800 (Wed, 07 Mar 2007) | 2 lines
* cpplib.pot: Regenerate.
........
r122667 | jsm28 | 2007-03-07 10:02:40 -0800 (Wed, 07 Mar 2007) | 2 lines
* gcc.pot: Regenerate.
........
r122668 | membar | 2007-03-07 10:05:39 -0800 (Wed, 07 Mar 2007) | 9 lines
* java/lang/Win32Process.java: Added nested class EOFInputStream.
* java/lang/natWin32Process.cc (ChildProcessPipe): Added DUMMY
enum and implementation.
(startProcess): Use redirect flag.
* classpath/lib/java/lang/Win32Process.class: Regenerated.
* classpath/lib/java/lang/Win32Process$EOFInputStream.class: New.
* gcj/javaprims.h: Regenerated.
* java/lang/Win32Process$EOFInputStream.h: New.
........
r122669 | rth | 2007-03-07 10:13:29 -0800 (Wed, 07 Mar 2007) | 3 lines
* reg-stack.c (emit_swap_insn): If a malformed asm was seen,
silently fix up the stack in the case of a missing register.
........
r122670 | ebotcazou | 2007-03-07 10:40:09 -0800 (Wed, 07 Mar 2007) | 1 line
Fix date format.
........
r122674 | brooks | 2007-03-07 12:50:25 -0800 (Wed, 07 Mar 2007) | 2 lines
* iresolve.c (gfc_resolve_ishftc): Correct s_kind value.
........
r122677 | tromey | 2007-03-07 15:49:45 -0800 (Wed, 07 Mar 2007) | 2 lines
* configure: Rebuilt.
* configure.ac: Clear vm-tools-packages.
........
r122680 | gccadmin | 2007-03-07 16:17:26 -0800 (Wed, 07 Mar 2007) | 1 line
Daily bump.
........
r122684 | aoliva | 2007-03-07 22:48:21 -0800 (Wed, 07 Mar 2007) | 9 lines
gcc/ChangeLog:
* c-decl.c (grokdeclarator): Disable warnings for anonymous
bitfields.
* tree-sra.c (instantiate_element): Propagate disabled warnings
from the element itself to the created variable.
gcc/cp/ChangeLog:
* decl.c (grokdeclarator): Disable warnings for anonymous
bitfields.
........
r122685 | reichelt | 2007-03-07 23:26:43 -0800 (Wed, 07 Mar 2007) | 6 lines
* pt.c (any_template_arguments_need_structural_equality_p):
Robustify.
* g++.dg/template/arg5.C: New test.
........
r122686 | reichelt | 2007-03-07 23:31:47 -0800 (Wed, 07 Mar 2007) | 7 lines
* c-common.c (fold_offsetof_1): Handle COMPOUND_EXPR.
* semantics.c (finish_offsetof): Handle COMPOUND_EXPR.
* g++.dg/ext/offsetof1.C: Add cases with volatile.
........
r122689 | pault | 2007-03-08 01:09:38 -0800 (Thu, 08 Mar 2007) | 12 lines
2007-03-08 Paul Thomas <pault@gcc.gnu.org>
* expr.c (find_array_section): Correct arithmetic for section
size.
2007-03-08 Paul Thomas <pault@gcc.gnu.org>
* gfortran.dg/parameter_array_section_2.f90: New test.
........
r122690 | tbm | 2007-03-08 01:40:15 -0800 (Thu, 08 Mar 2007) | 3 lines
tree-ssa-coalesce.c (fail_abnormal_edge_coalesce): Remove
spurious whitespace from error message.
........
r122692 | aoliva | 2007-03-08 03:06:41 -0800 (Thu, 08 Mar 2007) | 4 lines
* src/powerpc/ffi.c (flush_icache): Fix left-over from previous
patch.
(ffi_prep_closure_loc): Remove unneeded casts. Add needed ones.
........
r122693 | jsm28 | 2007-03-08 03:48:03 -0800 (Thu, 08 Mar 2007) | 2 lines
* sr.po: New.
........
r122696 | burnus | 2007-03-08 04:30:58 -0800 (Thu, 08 Mar 2007) | 14 lines
2007-03-08 Tobias Burnus <burnus@net-b.de>
* module.c (read_module): Always import module name as symbol.
(gfc_match_use): Disallow module name in the only clause of
a use statement.
2007-03-08 Tobias Burnus <burnus@net-b.de>
* gfortran.dg/use_4.f90: New test.
* gfortran.dg/used_dummy_types_7.f90: Correct ambiguous symbol.
........
r122699 | burnus | 2007-03-08 05:11:54 -0800 (Thu, 08 Mar 2007) | 14 lines
2007-07-08 Tobias Burnus <burnus@net-b.de>
* module.c (gfc_match_use): Support renaming of operators
in USE statements.
* gfortran.texi (Fortran 2003 Status): Document support of
renaming of operators.
2007-03-08 Tobias Burnus <burnus@net-b.de>
* gfortran.dg/use_5.f90: New test.
* gfortran.dg/use_6.f90: Ditto.
* gfortran.dg/use_7.f90: Ditto.
........
r122700 | gary | 2007-03-08 08:33:40 -0800 (Thu, 08 Mar 2007) | 7 lines
2007-03-08 Gary Benson <gbenson@redhat.com>
* gnu/xml/dom/ls/DomLSParser.java (getInputSource):
Do not use the entity resolver to resolve the top-level document.
........
r122701 | rsandifo | 2007-03-08 08:34:43 -0800 (Thu, 08 Mar 2007) | 12 lines
gcc/testsuite/
* gcc.c-torture/execute/builtins/memmove-lib.c: Include lib/bzero.c
and lib/bfill.c on VxWorks targets.
* gcc.c-torture/execute/builtins/memmove-2-lib.c: Likewise.
* gcc.c-torture/execute/builtins/strchr-lib.c: Include lib/bzero.c,
lib/bfill.c and lib/memmove.c on VxWorks targets.
* gcc.c-torture/execute/builtins/strrchr-lib.c: Likewise.
* gcc.c-torture/execute/builtins/memops-asm-lib.c: Include lib/bfill.c
on VxWorks targets.
* gcc.c-torture/execute/builtins/lib/bzero.c: New file.
* gcc.c-torture/execute/builtins/lib/bfill.c: Likewise.
........
r122702 | rsandifo | 2007-03-08 08:36:25 -0800 (Thu, 08 Mar 2007) | 4 lines
gcc/testsuite/
* gcc.c-torture/execute/ieee/hugeval.x: XFAIL for VxWorks kernel
mode.
........
r122703 | rsandifo | 2007-03-08 08:38:54 -0800 (Thu, 08 Mar 2007) | 5 lines
gcc/testsuite/
* gcc.c-torture/execute/strcmp-1.x: New file. XFAIL execution
for VxWorks kernel mode.
* gcc.c-torture/execute/strncmp-1.x: Likewise.
........
r122705 | uros | 2007-03-08 09:21:40 -0800 (Thu, 08 Mar 2007) | 19 lines
* config/i386/i386.h (TARGET_SAHF): New define.
* config/i386/i386.c (ix86_tune_features) [X86_TUNE_USE_SAHF]:
Also enable for m_K8, m_AMDFAM10 and m_CORE2.
(x86_sahf): New global variable.
(override_options): Add PTA_NO_SAHF to pta_flags enum. Recode
pta_flags masks using shifts. Add PTA_NO_SAHF to x86_64 and
nocona processor flags. Set x86_sahf when PTA_NO_SAHF is not set
in processor flags. Do not unconditionally disable TARGET_USE_SAHF
for 64-bit.
(ix86_fp_comparison_sahf_cost): Return high value for !TARGET_SAHF.
(ix86_expand_fp_compare): Check for TARGET_CMOVE or TARGET_SAHF
when expanding fcomi/sahf based tests.
(ix86_emit_fp_unordered_jump): Check for TARGET_SAHF when
expanding sahf based alternative. Emit sahf based sequence when
optimizing for code size.
* config/i386/i386.md (x86_sahf_1): Do not disable for
TARGET_64BIT, enable for TARGET_SAHF.
........
r122706 | ian | 2007-03-08 09:36:05 -0800 (Thu, 08 Mar 2007) | 37 lines
./:
* tree-vrp.c: Include "intl.h".
(usable_range_p): New static function.
(compare_values_warnv): Don't test TYPE_OVERFLOW_UNDEFINED for
overflowed values, juts set *strict_overflow_p.
(compare_values): Only return -2 if one of the operands is not a
constant.
(compare_ranges): Call usable_range_p.
(compare_range_with_value): Likewise.
(vrp_evaluate_conditional_warnv): Rename from
vrp_evaluate_conditional. Make static. Change all callers.
(vrp_evaluate_conditional): New function.
(simplify_div_or_mod_using_ranges): Issue warning about reliance
on signed overflow.
(simplify_abs_using_ranges): Likewise.
(simplify_stmt_for_jump_threading): Add within_stmt parameter.
* tree-ssa-dom.c (simplify_stmt_for_jump_threading): Add
within_stmt parameter.
* tree-ssa-propagate.c (fold_predicate_in): Update call to
vrp_evaluate_conditional.
* tree-ssa-threadedge.c
(record_temporary_equivalences_from_stmts_at_dest): Change
simplify parameter to take a second tree parameter.
(simplify_control_stmt_condition): Likewise.
(thread_across_edge): Likewise.
* tree-flow.h (vrp_evaluate_conditional): Update declaration.
(thread_across_edge): Likewise.
* gcc/Makefile.in (tree-vrp.o): Depend upon intl.h.
testsuite/:
* gcc.dg/no-strict-overflow-5.c: New test.
* gcc.dg/no-strict-overflow-6.c: New test.
* gcc.dg/Wstrict-overflow-11.c: New test.
* gcc.dg/Wstrict-overflow-12.c: New test.
* gcc.dg/Wstrict-overflow-13.c: New test.
* gcc.dg/Wstrict-overflow-14.c: New test.
* gcc.dg/Wstrict-overflow-15.c: New test.
........
r122707 | sayle | 2007-03-08 11:02:51 -0800 (Thu, 08 Mar 2007) | 37 lines
* tree-eh.c (do_return_redirection): Call build_gimple_modify_stmt
instead of calling build2 with a GIMPLE_MODIFY_STMT.
(honor_protect_cleanup_actions, lower_try_finally_switch):
Likewise.
* tree-if-conv.c (replace_phi_with_cond_gimple_modify_stmt,
ifc_temp_var): Likewise.
* tree-inline.c (setup_one_parameter): Likewise.
* tree-mudflap.c (mf_decl_cache_locals,
mf_build_check_statement_for): Likewise.
* tree-nested.c (init_tmp_var, save_tmp_var,
finalize_nesting_tree_1): Likewise.
* tree-outof-ssa.c (insert_copy_on_edge,
insert_backedge_copies): Likewise.
* tree-profile.c (tree_gen_edge_profiler,
tree_gen_ic_profiler): Likewise.
* tree-scalar-evolution.c (scev_const_prop): Likewise.
* tree-sra.c (sra_build_assignment): Likewise.
* tree-ssa-loop-im.c (determine_invariantness_stmt): Likewise.
* tree-ssa-math-opts.c (insert_reciprocals,
execute_cse_sincos_1): Likewise.
* tree-tailcall.c (adjust_accumulator_values,
adjust_return_value): Likewise.
* tree-vect-patterns.c (vect_pattern_recog_1): Likewise.
* tree-vect-transform.c (vect_create_data_ref_ptr,
bump_vector_ptr, vect_init_vector, get_initial_def_for_induction,
vect_create_epilog_for_reduction, vectorizable_reduction,
vectorizable_call, vectorizable_conversion,
vectorizable_assignment, vectorizable_operation,
vectorizable_type_demotion, vect_gen_widened_results_half,
vect_permute_store_chain, vectorizable_store,
vect_setup_realignment, vect_permute_load_chain,
vectorizable_load, vectorizable_condition,
vect_create_cond_for_align_checks): Likewise.
* tree-vrp.c (build_assert_expr_for): Likewise.
........
r122709 | geoffk | 2007-03-08 11:56:37 -0800 (Thu, 08 Mar 2007) | 6 lines
* gccspec.c (lang_specific_driver): Do nothing when NEXT_OBJC_RUNTIME
is declared.
* config/darwin.h (REAL_LIBGCC_SPEC): When -fgnu-runtime is
passed, use shared libgcc.
........
r122710 | dnovillo | 2007-03-08 12:51:41 -0800 (Thu, 08 Mar 2007) | 4 lines
* doc/tree-ssa.texi: Remove documentation for V_MUST_DEF.
........
r122712 | dfranke | 2007-03-08 13:30:11 -0800 (Thu, 08 Mar 2007) | 8 lines
2007-03-08 Daniel Franke <franke.daniel@gmail.com>
* intrinsic.texi (GERROR, ISATTY, TTYNAM): New.
(ABORT, FLUSH, FNUM, IRAND, MALLOC, SIGNAL, SRAND): Fixed typo.
* intrinsic.c (add_subroutines): Adjusted dummy argument names
of GERROR and TTYNAM.
........
r122713 | ghazi | 2007-03-08 13:37:28 -0800 (Thu, 08 Mar 2007) | 20 lines
* builtins.def (lceil, lceilf, lceill, lfloor, lfloorf, lfloorl,
llceil, llceilf, llceill, llfloor, llfloorf, llfloorl): Mark with
ATTR_CONST_NOTHROW_LIST.
* fold-const.c (tree_expr_nonnegative_warnv_p): Handle
FIX_TRUNC_EXPR.
testsuite:
* gcc.dg/builtins-55.c: Test *lceil* and *lfloor*.
* gcc.dg/torture/builtin-attr-1.c: Likewise.
* gcc.dg/torture/builtin-convert-1.c: Likewise. Also test *lrint* and *lround*.
* gcc.dg/torture/builtin-convert-2.c: Test ceil->lceil and floor->lfloor.
* gcc.dg/torture/builtin-convert-3.c: Test *lceil* and *lfloor*.
* gcc.dg/torture/builtin-integral-1.c: Likewise.
* gcc.dg/torture/builtin-minmax-1.c: Likewise. Also test *lrint*
and *lround*. Correct macro names.
* gcc.dg/torture/builtin-nonneg-1.c: Test *lceil* and *lfloor*.
* gcc.dg/torture/builtin-rounding-1.c: Likewise.
........
r122715 | dfranke | 2007-03-08 13:45:22 -0800 (Thu, 08 Mar 2007) | 10 lines
2007-03-08 Daniel Franke <franke.daniel@gmail.com>
* check.c (gfc_check_alarm_sub): Added check for default integer
kind of status argument.
* iresolve.c (gfc_resolve_alarm_sub): Removed conversion of
status argument.
* intrinsic.texi (ALARM): Extended documentation.
........
r122716 | dfranke | 2007-03-08 13:46:16 -0800 (Thu, 08 Mar 2007) | 7 lines
2007-03-08 Daniel Franke <franke.daniel@gmail.com>
* intrinsics/signal.c (alarm_sub_int): Avoid SEGFAULT with
integer arguments.
........
r122722 | bje | 2007-03-08 14:23:15 -0800 (Thu, 08 Mar 2007) | 6 lines
* decContext.c, decContext.h, decDPD.h, decimal128.c,
decimal128.h, decimal32.c, decimal32.h, decimal64.c, decimal64.h,
decLibrary.c, decNumber.c, decNumber.h, decNumberLocal.h,
decRound.c, decRound.h, decUtility.c, decUtility.h: Add
libgcc-style license exception clause.
........
r122724 | rakdver | 2007-03-08 14:36:47 -0800 (Thu, 08 Mar 2007) | 4 lines
* tree-ssa-address.c (create_mem_ref): Fix test of type of base.
........
r122726 | brooks | 2007-03-08 14:49:28 -0800 (Thu, 08 Mar 2007) | 3 lines
* intrinsic.texi: minor typo fixes, removed prologue.
(FSEEK): moved to correct place in alphabetical order.
........
r122728 | brooks | 2007-03-08 14:58:50 -0800 (Thu, 08 Mar 2007) | 6 lines
* intrinsic.texi: (LINK) Document function form.
(RENAME): Likewise.
(SYMLNK): Likewise.
(SYSTEM): Likewise.
(UNLINK): Likewise.
........
r122729 | brooks | 2007-03-08 15:12:25 -0800 (Thu, 08 Mar 2007) | 5 lines
* intrinsic.texi: (ICHAR) Improve internal I/O note.
(ACHAR): Reference it.
(CHAR): Reference it.
(IACHAR): Reference it.
........
r122734 | gccadmin | 2007-03-08 16:17:21 -0800 (Thu, 08 Mar 2007) | 1 line
Daily bump.
........
r122736 | pinskia | 2007-03-08 16:32:34 -0800 (Thu, 08 Mar 2007) | 14 lines
2007-03-08 Andrew Pinski <andrew_pinski@playstation.sony.com>
* c-decl.c (merge_decls): Don't call make_var_volatile.
* varasm.c (make_var_volatile): Remove.
* output.h (make_var_volatile): Remove.
2007-03-08 Andrew Pinski <andrew_pinski@playstation.sony.com>
* gcc.c-torture/execute/pr31072.c: New test.
........
r122740 | uros | 2007-03-08 23:21:19 -0800 (Thu, 08 Mar 2007) | 4 lines
* config/i386/i386.h (override_options): Conditionally disable
x86_sahf for 64bit targets only.
........
r122741 | dberlin | 2007-03-08 23:27:44 -0800 (Thu, 08 Mar 2007) | 20 lines
2007-03-09 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-structalias.c (variable_info): Remove
finished_solution.
(new_var_info): Ditto.
(shared_bitmap_info_t): New structure.
(shared_bitmap_table): New variable.
(shared_bitmap_hash): New function.
(shared_bitmap_eq): Ditto
(shared_bitmap_lookup): Ditto.
(shared_bitmap_add): Ditto.
(merge_smts_into): Change to take bitmap directly.
(find_what_p_points_to): Rewrite to use shared bitmap hashtable.
(init_alias_vars): Init shared bitmap hashtable.
(delete_points_to_sets): Delete shared bitmap hashtable.
* tree-ssa-operands.c (add_virtual_operand): Partially revert the
is_aliased removal as a change that was still necessary was
deleted.
........
r122742 | aoliva | 2007-03-08 23:36:43 -0800 (Thu, 08 Mar 2007) | 15 lines
* rtl.def (ASM_INPUT): Add location.
* rtl.h (ASM_INPUT_SOURCE_LOCATION): New.
(ASM_INPUT_SOURCE_FILE, ASM_INPUT_SOURCE_LINE): New.
(decode_asm_operands): Add loc operand.
(gen_rtx_ASM_INPUT, gen_rtx_ASM_INPUT_loc): Define.
* stmt.c (expand_asm): Rename to...
(expand_asm_loc): ... this. Add locus argument. Pass it on to
gen_rtx_ASM_INPUT_loc.
(expand_asm_expr): Adjust.
* recog.c (decode_asm_operands): Add loc operand.
(check_asm_operands, extract_insn): Adjust.
* reload1.c (maybe_fix_stack_asms): Likewise.
* final.c (asm_insn_count): Likewise.
(final_scan_insn): Output # line before and after asm.
........
r122743 | gary | 2007-03-09 01:31:18 -0800 (Fri, 09 Mar 2007) | 8 lines
2007-03-09 Gary Benson <gbenson@redhat.com>
Chris Burdess <dog@gnu.org>
* gnu/xml/dom/ls/SAXEventSink.java: Only set extended document
properties when reader is available.
........
r122746 | aoliva | 2007-03-09 02:39:05 -0800 (Fri, 09 Mar 2007) | 2 lines
* recog.c (decode_asm_operands): No mixed declarations and code.
........
r122748 | rguenth | 2007-03-09 04:29:09 -0800 (Fri, 09 Mar 2007) | 9 lines
2007-03-09 Richard Guenther <rguenther@suse.de>
* tree-vrp.c (extract_range_from_binary_expr): Handle RSHIFT_EXPR
the same way as *_DIV_EXPR.
* gcc.dg/pr30904.c: Remove xfail.
........
r122749 | spop | 2007-03-09 04:39:49 -0800 (Fri, 09 Mar 2007) | 46 lines
* doc/loop.texi: Document the Omega linear constraints solver.
* doc/invoke.texi: Document -fcheck-data-deps, omega-max-vars,
omega-max-geqs, omega-max-eqs, omega-max-wild-cards,
omega-hash-table-size, omega-max-keys, and
omega-eliminate-redundant-constraints.
* tree-pass.h (pass_check_data_deps): Declared.
* omega.c: New.
* omega.h: New.
* timevar.def (TV_CHECK_DATA_DEPS): Declared.
* tree-ssa-loop.c (check_data_deps, gate_check_data_deps,
pass_check_data_deps): New.
* tree-data-ref.c (init_data_ref): Remove declaration.
(dump_data_dependence_relation): Dump DDR_INNER_LOOP.
(analyze_array): Renamed init_array_ref, move up initializations.
(init_data_ref): Renamed init_pointer_ref. Moved before its call.
Removed arguments that are set to NULL.
(analyze_indirect_ref): Correct indentation, correct call to
init_pointer_ref.
(object_analysis): Call init_array_ref instead of analyze_array.
(initialize_data_dependence_relation): Initialize DDR_INNER_LOOP.
(access_functions_are_affine_or_constant_p): Use DR_ACCESS_FNS instead
of DR_ACCESS_FNS_ADDR.
(init_omega_eq_with_af, omega_extract_distance_vectors,
omega_setup_subscript, init_omega_for_ddr_1, init_omega_for_ddr,
ddr_consistent_p): New.
(compute_affine_dependence): Check consistency of ddrs when
flag_check_data_deps is passed.
(analyze_all_data_dependences): Uncomment.
(tree_check_data_deps): New.
* tree-data-ref.h: Include omega.h.
(DR_ACCESS_FNS_ADDR): Removed.
(data_dependence_relation): Add inner_loop.
(DDR_INNER_LOOP): New.
* common.opt (fcheck-data-deps): New.
* tree-flow.h (tree_check_data_deps): Declare.
* Makefile.in (TREE_DATA_REF_H): Depend on omega.h.
(OBJS-common): Depend on omega.o.
(omega.o): Define.
* passes.c (pass_check_data_deps): Scheduled.
* params.def (PARAM_OMEGA_MAX_VARS, PARAM_OMEGA_MAX_GEQS,
PARAM_OMEGA_MAX_EQS, PARAM_OMEGA_MAX_WILD_CARDS,
PARAM_OMEGA_HASH_TABLE_SIZE, PARAM_OMEGA_MAX_KEYS,
PARAM_VECT_MAX_VERSION_CHECKS,
PARAM_OMEGA_ELIMINATE_REDUNDANT_CONSTRAINTS): New.
........
r122750 | aoliva | 2007-03-09 07:10:33 -0800 (Fri, 09 Mar 2007) | 3 lines
* rtl.h (gen_rtx_ASM_INPUT): Use "" instead of NULL file name.
* final.c (final_scan_insn): Test for non-"" file name.
........
r122751 | mueller | 2007-03-09 08:16:35 -0800 (Fri, 09 Mar 2007) | 15 lines
2007-03-09 Dirk Mueller <dmueller@suse.de>
* doc/invoke.texi (-Wlogical-op): Document.
* common.opt (-Wlogical-op): New.
* c-common.h (warn_logical_operator): Declare.
* c-common.c (warn_logical_operator): Define.
* c-typeck.c (parser_build_binary_op): Call
warn_logical_operator.
* cp/call.c (build_new_op): Call warn_logical_operator.
* testsuite/gcc.dg/Wlogical-op-1.c: New.
* testsuite/g++.dg/warn/Wlogical-op-1.C: New.
........
r122752 | sayle | 2007-03-09 09:09:54 -0800 (Fri, 09 Mar 2007) | 16 lines
* cuintp.c (UI_To_gnu): Use fold_buildN calls instead of calling
fold with the result of buildN.
* decl.c (gnat_to_gnu_entity): Likewise.
* trans.c (Attribute_to_gnu, gnat_to_gnu, emit_check): Likewise.
* utils.c (finish_record_type, merge_sizes, max_size, convert):
Likewise.
* utils2.c (gnat_truthvalue_conversion, compare_arrays,
nonbinary_modular_operation, build_binary_op, build_unary_op,
build_cond_expr): Likewise.
* utils.c (convert): Use fold_build1 when casting values to void.
* utils2.c (gnat_truthvalue_conversion): Use build_int_cst and
fold_convert instead of convert when appropriate.
........
r122753 | ian | 2007-03-09 09:59:47 -0800 (Fri, 09 Mar 2007) | 4 lines
* opts.c (common_handle_option): Treat -Wstrict-overflow (with no
argument) like -Wstrict-overflow=2.
* doc/invoke.texi (Warning Options): Update documentation.
........
r122755 | uweigand | 2007-03-09 10:17:08 -0800 (Fri, 09 Mar 2007) | 4 lines
2007-03-09 Sa Liu <saliu@de.ibm.com>
* config/rs6000/altivec.md: Fix vcond patterns using if_then_else.
........
r122756 | chaoyingfu | 2007-03-09 11:19:44 -0800 (Fri, 09 Mar 2007) | 27 lines
* doc/extend.texi (MIPS DSP Built-in Functions): Document the DSP
REV 2.
* doc/invoke.texi (-mdspr2): Document new option.
* config/mips/mips.md (UNSPEC_ABSQ_S_QB .. UNSPEC_DPSQX_SA_W_PH):
New unspec for DSP REV 2.
(<u>mulsidi3_32bit_internal): Check if !TARGET_DSPR2, because
these instructions are extended in DSP REV 2.
(mips-dspr2.md): Include.
* config/mips/mips.opt (mdspr2): New option.
* config/mips/mips.c (mips_function_type): Add MIPS_V4QI_FTYPE_V4QI,
MIPS_SI_FTYPE_SI_SI_SI, MIPS_DI_FTYPE_DI_USI_USI, MIPS_DI_FTYPE_SI_SI,
MIPS_DI_FTYPE_USI_USI, MIPS_V2HI_FTYPE_SI_SI_SI.
(override_options): Check TARGET_DSPR2 to enable MASK_DSP.
(CODE_FOR_mips_mul_ph): Define it to CODE_FOR_mulv2hi3.
(dsp_bdesc): Add DSP REV 2 builtins. Remove 32-bit only DSP builtins.
(dsp_32only_bdesc): New description table for 32-bit only DSP REV 1
and 2 builtins.
(bdesc_map): Add one field of unsupported_target_flags.
(bdesc_arrays): Update entries to have extra fields. Add
dsp_32only_bdesc.
(mips_init_builtins): Initialize new function types.
Check unsupported_target_fileds to filter out builtins.
* config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Define __mips_dspr2 if
TARGET_DSPR2.
(ASM_SPEC): Pass mdspr2 to the assembler.
* config/mips/mips-dspr2.md: New file.
........
r122757 | chaoyingfu | 2007-03-09 11:23:22 -0800 (Fri, 09 Mar 2007) | 8 lines
* gcc.target/mips/mips32-dspr2-type.c: New test.
* gcc.target/mips/mips32-dspr2.c: New test.
* gcc.target/mips/dspr2-MULT.c: New test.
* gcc.target/mips/dspr2-MULTU.c: New test.
* gcc.target/mips/mips32-dsp-run.c: New test to check execution.
* gcc.target/mips/mips32-dsp.c: Change v4i8 typedef to use signed char.
Adjust some formats.
........
r122758 | aldyh | 2007-03-09 12:05:08 -0800 (Fri, 09 Mar 2007) | 5 lines
* tree-ssa-dse.c (dse_possible_dead_store_p): Do not eliminate if
LHS of statements is not the same.
* testsuite/gcc.dg/tree-ssa/ssa-dse-10.c: New.
........
r122759 | dj | 2007-03-09 12:08:13 -0800 (Fri, 09 Mar 2007) | 2 lines
* config/m32c/t-m32c (m32c-pragma.o): Add TM_H dependency to m32c-pragma.o
........
r122760 | aoliva | 2007-03-09 12:13:10 -0800 (Fri, 09 Mar 2007) | 8 lines
gcc/ChangeLog:
* cse.c (cse_insn): Recompute dest_hash after insert_regs for
(fold_rtx): Recurse, like before 2006-11-03.
gcc/testsuite/ChangeLog:
* gcc.dg/pr30643.c: New.
........
r122761 | aoliva | 2007-03-09 12:16:25 -0800 (Fri, 09 Mar 2007) | 1 line
Add line that went missing in the last ChangeLog entry.
........
r122763 | jvdelisle | 2007-03-09 13:51:39 -0800 (Fri, 09 Mar 2007) | 9 lines
2007-03-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* io/open.c (new_unit): Initialize bytes_left and recl_subrecord.
* io/transfer.c (next_record_w): Set bytes left to record length for
sequential unformatted I/O.
(next_record_r): Ditto.
(read_block_direct): Fix test for exceeding bytes_left.
........
r122764 | tromey | 2007-03-09 14:10:49 -0800 (Fri, 09 Mar 2007) | 4 lines
* sources.am, Makefile.in: Rebuilt.
* scripts/makemake.tcl (scan_directory): Allow service files to be
omitted.
Omit all XML-related service files.
........
r122767 | sayle | 2007-03-09 15:09:10 -0800 (Fri, 09 Mar 2007) | 11 lines
* fold-const.c (fold_comparison): Remove compile-time evaluation of
complex constant equality/inequality comparisons for here.
(fold_binary) <EQ_EXPR>: Simplify complex comparisons that are
known at compile-time or can be simplified to a scalar comparison.
(fold_relational_const): Move compile-time evaluation of complex
constant equality/inequality comparisons to here.
* gcc.dg/fold-eqcmplx-1.c: New test case.
........
r122776 | jvdelisle | 2007-03-09 16:03:19 -0800 (Fri, 09 Mar 2007) | 5 lines
2007-03-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* gfortran.dg/unformatted_recl.f90: New test.
........
r122779 | gccadmin | 2007-03-09 16:17:59 -0800 (Fri, 09 Mar 2007) | 1 line
Daily bump.
........
r122781 | rth | 2007-03-09 16:53:09 -0800 (Fri, 09 Mar 2007) | 43 lines
* target.h (targetm.asm.out.reloc_rw_mask): New.
* target-def.h (TARGET_ASM_RELOC_RW_MASK): New.
(TARGET_ASM_OUT): Use it.
* targhooks.c, targhooks.h (default_reloc_rw_mask): New.
* varasm.c (categorize_decl_for_section): Remove shlib argument;
use the new reloc_rw_mask target hook instead.
(default_section_type_flags_1): Merge into...
(default_section_type_flags): ... here.
(decl_readonly_section_1): Merge into...
(decl_readonly_section): ... here.
(default_elf_select_section_1): Merge into...
(default_elf_select_section): ... here.
(default_unique_section_1): Merge into...
(default_unique_section): ... here.
(compute_reloc_for_rtx_1, compute_reloc_for_rtx): New.
(default_select_rtx_section): Use it.
(default_elf_select_rtx_section): Likewise.
* output.h: Update to match.
* doc/tm.texi (TARGET_ASM_RELOC_RW_MASK): New.
* config/alpha/alpha.c (alpha_elf_reloc_rw_mask): New.
(TARGET_ASM_RELOC_RW_MASK): New.
* config/i386/i386.c (x86_64_elf_select_section): Adjust call
to categorize_decl_for_section.
(x86_64_elf_unique_section): Likewise.
* config/ia64/hpux.h (TARGET_ASM_SELECT_SECTION,
TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_RTX_SECTION): Remove.
(TARGET_ASM_RELOC_RW_MASK): New.
* config/ia64/ia64.c (ia64_rwreloc_select_section,
ia64_rwreloc_unique_section, ia64_rwreloc_select_rtx_section): Remove.
(ia64_hpux_reloc_rw_mask, ia64_reloc_rw_mask): New.
(TARGET_RWRELOC): Remove.
(ia64_section_type_flags): Adjust call to default_section_type_flags.
* config/ia64/sysv4.h (TARGET_ASM_RELOC_RW_MASK): New.
* config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Remove.
(rs6000_elf_select_section, rs6000_elf_unique_section): Remove.
(rs6000_elf_reloc_rw_mask, rs6000_xcoff_reloc_rw_mask): New.
(rs6000_xcoff_select_section): Use decl_readonly_section.
(rs6000_xcoff_section_type_flags): Use default_section_type_flags.
* config/rs6000/sysv4.h (TARGET_ASM_RELOC_RW_MASK): New.
(TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION): Remove.
(TARGET_SECTION_TYPE_FLAGS): Remove.
* config/rs6000/xcoff.h (TARGET_ASM_RELOC_RW_MASK): New.
........
r122783 | geoffk | 2007-03-09 17:03:36 -0800 (Fri, 09 Mar 2007) | 17 lines
* gcc.c: Document %{, in big comment at top.
(input_suffix_matches): Remove special handling for .s and
.S.
(input_spec_matches): New.
(handle_braces): Handle %{,.
(validate_switches): ',' indicates a value which is not a switch.
* config/alpha/osf.h (ASM_FINAL_SPEC): Use %{, rather than %{.
to detect assembler input.
* config/i386/sol2.h (CPP_SPEC): Likewise.
* config/rs6000/sysv4.h (ASM_SPEC): Likewise.
* config/rs6000/vxworks.h (ASM_SPEC): Likewise.
* config/rs6000/lynx.h (ASM_SPEC): Likewise.
* config/rs6000/linux64.h (ASM_SPEC_COMMON): Likewise.
* config/i386/darwin.h (DARWIN_MINVERSION_SPEC): Objective-C plus
-m64 causes deployment target to default to 10.5.
* config/rs6000/darwin.h (DARWIN_MINVERSION_SPEC): Likewise.
........
r122784 | danglin | 2007-03-09 17:34:23 -0800 (Fri, 09 Mar 2007) | 6 lines
* pa.c (attr_length_call): Revise condition for long pc-relative branch.
(output_call): Use "LONG_PIC_SDIFF" instruction sequence for long local
calls on the SOM target. Don't use "LONG_PIC_PCREL" call sequence on
SOM target.
........
r122787 | dnovillo | 2007-03-09 17:54:13 -0800 (Fri, 09 Mar 2007) | 8 lines
* tree-pass.h (TODO_update_smt_usage): Remove.
Update all users.
* tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Remove
argument SOME.
Update all users.
........
r122788 | dgregor | 2007-03-09 17:58:58 -0800 (Fri, 09 Mar 2007) | 214 lines
2007-03-09 Douglas Gregor <doug.gregor@gmail.com>
* typeck.c (check_return_expr): Check for bare parameter packs.
(comptypes): Compare template parameter packs and
type pack expansions.
* decl.c (grokdeclarator): Deal with the declaration of function
parameter packs.
(grokparms): Verify that the (optional) function parameter pack is
at the end of the parameter list.
(xref_basetypes): Handle pack expansions in the base class.
(cp_tree_node_structure): Handle ARGUMENT_PACK_SELECT.
* cp-tree.def (TYPE_ARGUMENT_PACK): New.
(NONTYPE_ARGUMENT_PACK): New.
(TYPE_PACK_EXPANSION): New.
(EXPR_PACK_EXPANSION): New.
(ARGUMENT_PACK_SELECT): New.
* cp-objcp-common.c (cp_tree_size): Compute size of
(NON)TYPE_ARGUMENT_PACK, (TYPE|EXPR)_PACK_EXPANSION, and
ARGUMENT_PACK_SELECT.
* error.c (dump_template_argument): Print template argument packs.
(dump_template_argument_list): Ditto.
(dump_template_parameter): Dump `...' for template type parameter
packs.
(dump_type): Dump TYPE_PACK_EXPANSION nodes.
(dump_parameters): Print function parameter packs.
(dump_template_parms): Print template argument packs.
(dump_expr): Dump EXPR_PACK_EXPANSION nodes.
(maybe_warn_variadic_templates): New.
* operators.def: Add ellipsis operator for EXPR_PACK_EXPANSION.
* tree.c (cp_walk_subtrees): Walk BASELINK, TYPE_ARGUMENT_PACK,
NONTYPE_ARGUMENT_PACK, TYPE_PACK_EXPANSION, EXPR_PACK_EXPANSION,
CAST_EXPR.
* mangle.c (write_type): Mangle TYPE_PACK_EXPANSION.
(write_template_arg): Write argument packs as separate arguments.
* cp-tree.h (struct template_parm_index_s): Add flag that
indicates that the template parameter is actually a parameter
pack.
(struct tree_argument_pack_select): New.
(enum cp_tree_node_structure_enum): Add TS_CP_ARGUMENT_PACK_SELECT.
(union lang_tree_node): Add argument_pack_select.
(FUNCTION_PARAMETER_PACK_P): New.
(PACK_EXPANSION_P): New.
(PACK_EXPANSION_PATTERN): New.
(SET_PACK_EXPANSION_PATTERN): New.
(PACK_EXPANSION_PARAMETER_PACKS): New.
(ARGUMENT_PACK_P): New.
(ARGUMENT_PACK_ARGS): New.
(SET_ARGUMENT_PACK_ARGS): New.
(ARGUMENT_PACK_INCOMPLETE_P): New.
(ARGUMENT_PACK_EXPLICIT_ARGS): New.
(TEMPLATE_PARM_PARAMETER_PACK): New.
(TEMPLATE_TYPE_PARAMETER_PACK): New.
(ARGUMENT_PACK_SELECT_FROM_PACK): New.
(ARGUMENT_PACK_SELECT_INDEX): New.
(ARGUMENT_PACK_SELECT_ARG): New.
(struct cp_declarator): Add parameter_pack_p flag.
(maybe_warn_variadic_templates): Declare.
(process_template_parm): Add bool parameter IS_PARAMETER_PACK, to
indicate a template parameter pack.
(uses_parameter_packs): Declare.
(template_parameter_pack_p): Declare.
(template_parms_variadic_p): Declare.
(make_pack_expansion): Declare.
(check_for_bare_parameter_packs): Declare.
* cxx-pretty-print.c (pp_cxx_unary_expression): Print
sizeof... expressions.
(pp_cxx_expression): Print pack expansions and non-type argument
packs.
(pp_cxx_exception_specification): Print pack expansions.
(pp_cxx_direct_declarator): Print ellipsis for parameter packs.
(pp_cxx_ctor_initializer): Print pack expansions.
(pp_cxx_type_id): Print pack expansions.
(pp_cxx_template_argument_list): Print argument packs.
(pp_cxx_template_parameter): Print ellipsis for template parameter
packs.
* pt.c (comp_template_parms): Compare template parameter packs.
(template_parameter_pack_p): New.
(template_parms_variadic_p): New.
(template_args_variadic_p): New.
(make_ith_pack_parameter_name): New.
(struct find_parameter_pack_data): New.
(find_parameter_packs_r): New.
(uses_parameter_packs): New.
(make_pack_expansion): New.
(check_for_bare_parameter_packs): New.
(expand_template_argument_pack): New.
(reduce_template_parm_level): Propagate parameter pack flag.
(process_template_parm): Add is_parameter_pack parameter to state
when the parameter is actually a parameter pack. Create template
parameter packs when is_parameter_pack is true.
(current_template_args): The argument for a template parameter
pack is an argument pack containing a single pack expansion.
(process_partial_specialization): When checking that non-type
argument expressions do not involve template parameters, loop over
the arguments in argument packs separately.
(push_template_decl_real): Check that the type of the declaration
does not have any bare parameter packs. Check that primary
templates have no more than one parameter pack, and that it comes
at the end of the template parameter list.
(convert_template_argument): Handle coercions for pack expansion
expressions by coercing the pattern then rebuilding the expansion.
(coerce_template_parms): When coercing the arguments for a
variadic template, pack "extra" arguments into an argument pack.
(coerce_template_template_parms): Cannot coerce between parameter
packs and non-pack parameters.
(template_args_equal): Compare PACK_EXPANSION_P expressions.
(comp_template_args): Expand all template arguments packs before
comparing template argument lists.
(mangle_class_name_for_template): Make argument packs as separate
template arguments.
(for_each_template_parm_r): No need to handle BASELINK.
(instantiate_class_template): Handle pack expansions in the base
class list.
(tsubst_pack_expansion): New.
(tsubst_template_args): Handle substitutions of argument packs and
pack expansion into template argument lists.
(tsubst_decl): Expand function parameter packs into separate
function parameters.
(tsubst_arg_types): Expand a type pack expansion into separate
argument types.
(tsubst_exception_specification): Handle pack expansions in
exception specifiers.
(tsubst): See through ARGUMENT_PACK_SELECT arguments when
replacing a template parameter with its argument. If we encounter
a substitution for an argument pack, just return the parameter
itself.
(tsubst_copy): sizeof(X...) returns the number of elements in
parameter pack X. See through ARGUMENT_PACK_SELECT when the
PARM_DECL is a parameter pack.
(tsubst_expr): Expression pack expansions and argument packs
cannot show up here; they will all be handled through function
calls, sizeof, and template argument lists.
(tsubst_copy_and_build): sizeof(X...) returns the number of
elements in parameter pack X. Handle pack expansions in TREE_LIST
and CONSTRUCTOR nodes.
(fn_type_unification): Handle "incomplete" explicit template
argument lists that specify some of the arguments for a template
parameter pack.
(type_unification_real): Unify arguments against pack expansions.
(template_parm_level_and_index): New, helper function.
(unify_pack_expansion): New.
(unify): Unify argument packs on an argument-by-argument basis,
handling variadic argument packs as well.
(more_specialized_fn): Handle unification of function parameter
packs. All things being equal, prefer non-variadic function
templates to variadic function templates.
(more_specialized_class): Prefer the variadic class template
partial specialization that binds fewer arguments to a parameter
pack.
(regenerate_decl_from_template): Expand function parameter packs
into separate parameters.
(instantiate_decl): Ditto.
(tsubst_initializer_list): Handle pack expansions for base-class
initializers.
(dependent_type_p_r): Determine dependent types in argument packs
and pack expansions.
(value_dependent_expression_p): Determine value-dependence of
non-type argument packs.
(dependent_template_arg_p): Handle argument packs.
* semantics.c (finish_cond): Check for bare parameter packs.
(finish_expr_stmt): Ditto.
(finish_for_expr): Ditto.
(finish_switch_cond): Ditto.
(finish_mem_initializers): Ditto.
* name-lookup.c (arg_assoc_type): Handle pack expansions and
argument packs.
* decl2.c (cp_build_parm_decl): Mark function parameter packs.
* parser.c (make_declarator): Declarator is not an expansion.
(make_pointer_declarator): Transfer parameter pack flag to outer
declarator.
(make_reference_declarator): Ditto.
(make_ptrmem_declarator): Ditto.
(make_call_declarator): Ditto.
(make_array_declarator): Ditto.
(cp_parser_postfix_expression): Allow pack expansion expressions
in the argument list for a call expression.
(cp_parser_parenthesized_expression_list): Add new parameter
ALLOW_EXPANSION_P. When true, parse the ellipsis to mean "expand
into separate arguments."
(cp_parser_new_placement): Allow pack expansion expressions.
(cp_parser_new_initializer): Ditto.
(cp_parser_mem_initializer_list): Allow ellipsis to create a
base-class initializer expansion.
(cp_parser_mem_initializer): Ditto.
(cp_parser_template_parameter_list): Keep track of whether the
template parameter is a template parameter pack.
(cp_parser_template_parameter): Parse the ellipsis to indicate a
template parameter pack.
(cp_parser_type_parameter): Ditto.
(cp_parser_template_argument_list): Parse the ellipsis to indicate
a pack expansion.
(cp_parser_direct_declarator): Parse the ellipsis to indicate that
this declarator is a parameter pack.
(cp_parser_parameter_declaration): The ellipsis does not end the
parameter declaration, because it might be a parameter pack. Parse
the ellipsis to indicate a parameter pack.
(cp_parser_initializer): Allow pack expansions.
(cp_parser_initializer_list): Allow ellipsis to create an
initializer expansion.
(cp_parser_base_clause): Allow ellipsis to create a base specifier
expansion.
(cp_parser_type_id_list): Allow ellipsis to create an exception
specifier expansion.
(cp_parser_attribute_list): Don't allow pack expansions.
(cp_parser_functional_cast): Allow pack expansions.
(cp_parser_sizeof_operand): Allow ellipsis following "sizeof" to
compute the length of a parameter pack.
(cp_parser_next_token_ends_template_argument_p): An ellipsis can
end a template argument.
* tree.c (cp_walk_subtrees): Walk BASELINK, TYPE_ARGUMENT_PACK,
NONTYPE_ARGUMENT_PACK, TYPE_PACK_EXPANSION, EXPR_PACK_EXPANSION,
CAST_EXPR.
........
r122789 | dgregor | 2007-03-09 18:01:49 -0800 (Fri, 09 Mar 2007) | 97 lines
2007-03-09 Douglas Gregor <doug.gregor@gmail.com>
* g++.dg/cpp0x/variadic-bind.C: New.
* g++.dg/cpp0x/variadic-function.C: New.
* g++.dg/cpp0x/variadic-mem_fn.C: New.
* g++.dg/cpp0x/variadic-tuple.C: New.
* g++.dg/cpp0x/variadic1.C: New.
* g++.dg/cpp0x/variadic2.C: New.
* g++.dg/cpp0x/variadic3.C: New.
* g++.dg/cpp0x/variadic4.C: New.
* g++.dg/cpp0x/variadic5.C: New.
* g++.dg/cpp0x/variadic6.C: New.
* g++.dg/cpp0x/variadic7.C: New.
* g++.dg/cpp0x/variadic8.C: New.
* g++.dg/cpp0x/variadic9.C: New.
* g++.dg/cpp0x/variadic10.C: New.
* g++.dg/cpp0x/variadic11.C: New.
* g++.dg/cpp0x/variadic12.C: New.
* g++.dg/cpp0x/variadic13.C: New.
* g++.dg/cpp0x/variadic14.C: New.
* g++.dg/cpp0x/variadic15.C: New.
* g++.dg/cpp0x/variadic16.C: New.
* g++.dg/cpp0x/variadic17.C: New.
* g++.dg/cpp0x/variadic18.C: New.
* g++.dg/cpp0x/variadic19.C: New.
* g++.dg/cpp0x/variadic20.C: New.
* g++.dg/cpp0x/variadic21.C: New.
* g++.dg/cpp0x/variadic22.C: New.
* g++.dg/cpp0x/variadic23.C: New.
* g++.dg/cpp0x/variadic24.C: New.
* g++.dg/cpp0x/variadic25.C: New.
* g++.dg/cpp0x/variadic26.C: New.
* g++.dg/cpp0x/variadic27.C: New.
* g++.dg/cpp0x/variadic28.C: New.
* g++.dg/cpp0x/variadic29.C: New.
* g++.dg/cpp0x/variadic30.C: New.
* g++.dg/cpp0x/variadic31.C: New.
* g++.dg/cpp0x/variadic32.C: New.
* g++.dg/cpp0x/variadic33.C: New.
* g++.dg/cpp0x/variadic34.C: New.
* g++.dg/cpp0x/variadic35.C: New.
* g++.dg/cpp0x/variadic36.C: New.
* g++.dg/cpp0x/variadic37.C: New.
* g++.dg/cpp0x/variadic38.C: New.
* g++.dg/cpp0x/variadic39.C: New.
* g++.dg/cpp0x/variadic40.C: New.
* g++.dg/cpp0x/variadic41.C: New.
* g++.dg/cpp0x/variadic42.C: New.
* g++.dg/cpp0x/variadic43.C: New.
* g++.dg/cpp0x/variadic44.C: New.
* g++.dg/cpp0x/variadic45.C: New.
* g++.dg/cpp0x/variadic46.C: New.
* g++.dg/cpp0x/variadic47.C: New.
* g++.dg/cpp0x/variadic48.C: New.
* g++.dg/cpp0x/variadic49.C: New.
* g++.dg/cpp0x/variadic50.C: New.
* g++.dg/cpp0x/variadic51.C: New.
* g++.dg/cpp0x/variadic52.C: New.
* g++.dg/cpp0x/variadic53.C: New.
* g++.dg/cpp0x/variadic54.C: New.
* g++.dg/cpp0x/variadic55.C: New.
* g++.dg/cpp0x/variadic56.C: New.
* g++.dg/cpp0x/variadic57.C: New.
* g++.dg/cpp0x/variadic58.C: New.
* g++.dg/cpp0x/variadic59.C: New.
* g++.dg/cpp0x/variadic60.C : New.
* g++.dg/cpp0x/variadic61.C : New.
* g++.dg/cpp0x/variadic62.C : New.
* g++.dg/cpp0x/variadic63.C : New.
* g++.dg/cpp0x/variadic64.C : New.
* g++.dg/cpp0x/variadic65.C : New.
* g++.dg/cpp0x/variadic66.C : New.
* g++.dg/cpp0x/variadic67.C : New.
* g++.dg/cpp0x/variadic68.C : New.
* g++.dg/cpp0x/variadic69.C : New.
* g++.dg/cpp0x/variadic70.C : New.
* g++.dg/cpp0x/variadic71.C : New.
* g++.dg/cpp0x/variadic72.C : New.
* g++.dg/cpp0x/variadic73.C : New.
* g++.dg/cpp0x/variadic74.C : New.
* g++.dg/cpp0x/variadic75.C : New.
* g++.dg/cpp0x/variadic-ex1.C : New.
* g++.dg/cpp0x/variadic-ex2.C : New.
* g++.dg/cpp0x/variadic-ex3.C : New.
* g++.dg/cpp0x/variadic-ex4.C : New.
* g++.dg/cpp0x/variadic-ex5.C : New.
* g++.dg/cpp0x/variadic-ex6.C : New.
* g++.dg/cpp0x/variadic-ex7.C : New.
* g++.dg/cpp0x/variadic-ex8.C : New.
* g++.dg/cpp0x/variadic-ex9.C : New.
* g++.dg/cpp0x/variadic-ex10.C : New.
* g++.dg/cpp0x/variadic-ex11.C : New.
* g++.dg/cpp0x/variadic-ex12.C : New.
* g++.dg/cpp0x/variadic-ex13.C : New.
* g++.dg/cpp0x/variadic-ex14.C : New.
........
r122790 | dgregor | 2007-03-09 18:04:13 -0800 (Fri, 09 Mar 2007) | 50 lines
2007-03-09 Douglas Gregor <doug.gregor@gmail.com>
* include/Makefile.in: Regenerate.
* include/tr1/mu_iterate.h: Remove.
* include/tr1/tuple (_Tuple_impl): New.
(tuple): Make variadic, re-implement as shell over _Tuple_impl.
(0-element tuple): Basis case.
(2-element tuple): Handle pair methods.
(__get_helper): Remove.
(tuple_element): Reimplement with variadic templates.
(tuple_size): Ditto.
(get): Ditto.
(operator==): Use variadic templates in the signature.
(operator<): Ditto.
(operator!=): Ditto.
(operator>): Ditto.
(operator<=): Ditto.
(operator>=): Ditto.
(__stripped_tuple_type): Remove; we've inlined its behavior.
(make_tuple): Reimplement with variadic templates.
(tie): Ditto.
* include/tr1/tuple_iterate.h: Remove.
* include/tr1/bind_repeat.h: Remove.
* include/tr1/ref_wrap_iterate.h: Remove.
* include/tr1/bind_iterate.h: Remove.
* include/tr1/functional (_Weak_result_type): Add variadic
partial specializations.
(result_of): Ditto.
(__invoke): Reimplement using variadic templates.
(reference_wrapper): Reimplement operator() with variadic
templates.
(_Maybe_unary_or_binary_function): New.
(_Mem_fn): Implement for member function pointers using variadic
templates.
(placeholders): Define 30 placeholders.
(_Index_tuple): New.
(_Build_index_tuple): New.
(_No_tuple_element): New.
(_Safe_tuple_element_impl): New.
(_Safe_tuple_element): New.
(_Mu): Reimplement with variadic templates, use
_Safe_tuple_element instead of tuple_element.
(_Bind): Reimplement with variadic templates and tuples.
(_Bind_result): Ditto.
(bind): Reimplement with variadic templates.
(_Function_handler): Ditto.
(function): Ditto.
* include/tr1/functional_iterate.h: Remove.
* include/tr1/repeat.h: Remove.
* include/Makefile.am: Don't install removed headers.
........
r122791 | kkojima | 2007-03-09 21:04:10 -0800 (Fri, 09 Mar 2007) | 3 lines
* mode-switching.c (create_pre_exit): Skip blockage insn.
........
r122792 | kkojima | 2007-03-09 22:57:16 -0800 (Fri, 09 Mar 2007) | 4 lines
* config/sh/sh.c (sh_insn_length_adjustment): Adjust for
the change of decode_asm_operands.
........
r122793 | uros | 2007-03-10 04:52:52 -0800 (Sat, 10 Mar 2007) | 11 lines
* config/i386/i386.md (UNSPEC_C2_FLAG): New constant.
(fpremxf4_i387, fprem1xf4_i387): Use UNSPEC_C2_FLAG.
(fmodxf3, fmod<mode>3, remainderxf3, remainder<mode>3):
Add LABEL_NUSES to emmitted label.
* config/i386/i386.c (ix86_emit_fp_unordered_jump): Add
branch probability value to emmitted jump insn.
* reg-stack.c (subst_stack_regs_pat)[UNSPEC]: Handle UNSPEC_C2_FLAG.
Do not check life information and do not re-arrange input operands
for UNSPEC_FSCALE_EXP, UNSPEC_FPREM_U and UNSPEC_FPREM1_U.
........
r122795 | jsm28 | 2007-03-10 08:43:55 -0800 (Sat, 10 Mar 2007) | 4 lines
* configure.ac (glibc_header_dir): Set using with_build_sysroot if
defined.
* configure: Regenerate.
........
r122796 | tobi | 2007-03-10 09:06:19 -0800 (Sat, 10 Mar 2007) | 6 lines
* config/i386/darwin.h (DARWIN_MINVERSION_SPEC): Add missing
quotation mark.
* config/i386/darwin.c (machopic_select_section): Remove
superfluous argument in call to categorize_decl_for_section.
Remove unused variable shlib.
........
r122797 | tobi | 2007-03-10 09:07:41 -0800 (Sat, 10 Mar 2007) | 1 line
Fix typo in ChangeLog entry
........
r122798 | mueller | 2007-03-10 09:26:33 -0800 (Sat, 10 Mar 2007) | 6 lines
2007-03-10 Dirk Mueller <dmueller@suse.de>
* gcc.dg/Wlogical-op-1.c: Remove duplicated part.
* g++.dg/warn/Wlogical-op-1.C: Remove duplicated part.
........
r122799 | mueller | 2007-03-10 09:38:42 -0800 (Sat, 10 Mar 2007) | 6 lines
2007-03-10 Dirk Mueller <dmueller@suse.de>
* gcc.dg/Wlogical-op-1.c: Remove duplicated part.
* g++.dg/warn/Wlogical-op-1.C: Remove duplicated part.
........
r122800 | mueller | 2007-03-10 10:49:28 -0800 (Sat, 10 Mar 2007) | 5 lines
2007-03-10 Dirk Mueller <dmueller@suse.de>
* c-common.c (warn_logical_operator): Fix condition.
........
r122801 | mmitchel | 2007-03-10 11:35:03 -0800 (Sat, 10 Mar 2007) | 7 lines
* tree.c (walk_type_fields): Recurse into the element type of
ARRAY_TYPEs if there is a pointer set.
* g++.dg/template/array18.C: New test.
........
r122804 | mmitchel | 2007-03-10 11:48:44 -0800 (Sat, 10 Mar 2007) | 2 lines
Fix PR number.
........
r122805 | paolo | 2007-03-10 12:29:45 -0800 (Sat, 10 Mar 2007) | 15 lines
2007-03-10 Paolo Carlini <pcarlini@suse.de>
* include/std/memory: Move C++03 implementation...
* include/bits/stl_memory.h: ... here, new.
* include/Makefile.am: Add.
* include/bits/stl_tempbuf.h: Include the latter instead.
* include/tr1/hashtable: Include allocator.h instead of
the whole <memory>.
* include/tr1/hashtable_policy.h: Include stl_function.h
instead of <functional>.
* include/Makefile.in: Regenerate.
* testsuite/20_util/auto_ptr/assign_neg.cc: Adjust dg-error
line numbers.
........
r122807 | steven | 2007-03-10 15:33:40 -0800 (Sat, 10 Mar 2007) | 11 lines
* lower-subreg.c: Include except.h.
(decompose_multiword_subregs): Verify that the only control flow
insns we can split are loads to multi-words pseudos.
Handle breaking such blocks after splitting, instead of calling
find_many_sub_basic_blocks.
* loop-unroll.c (split_edge_and_insert): Don't set BB_SUPERBLOCK
on the new basic block. Add a lengthy comment explaining why we
thought this was necessary.
* cfglayout.c (cfg_layout_finalize): Don't break superblocks.
........
r122810 | gccadmin | 2007-03-10 16:17:01 -0800 (Sat, 10 Mar 2007) | 1 line
Daily bump.
........
r122813 | mmitchel | 2007-03-10 19:07:59 -0800 (Sat, 10 Mar 2007) | 14 lines
* cp-tree.h (unlowered_expr_type): New function.
* typeck.c (is_bitfield_expr_with_lowered_type): Handle
COMPOUND_EXPR, MODIFY_EXPR, and SAVE_EXPR.
(unlowered_expr_type): New function.
(build_unary_op): Disallow predecrements of bool bitfields.
* call.c (build_conditional_expr): Use unlowered_expr_type.
* pt.c (type_unification_real): Likewise.
* g++.dg/expr/bitfield3.C: New test.
* g++.dg/expr/bitfield4.C: Likewise.
* g++.dg/expr/bitfield5.C: Likewise.
* g++.dg/expr/bitfield6.C: Likewise.
........
r122815 | uros | 2007-03-11 03:27:30 -0700 (Sun, 11 Mar 2007) | 8 lines
* config/i386/i386.md (frndintxf2): Rename to ...
(rintxf2): ... this. Remove expander having same name.
(rintsf2, rintdf2): Implement using SSEMODEF macro.
(roundsf2, rounddf2): Ditto.
(lrint<mode>di2, lrint<mode>si2): Implement using SSEMODEI24 macro.
(lround<mode>di2, lround<mode>si2): Ditto.
........
r122816 | uros | 2007-03-11 03:36:36 -0700 (Sun, 11 Mar 2007) | 2 lines
* Fix a typo in my previous commit.
........
r122817 | irar | 2007-03-11 04:13:34 -0700 (Sun, 11 Mar 2007) | 6 lines
* tree-data-ref.c (analyze_offset): Add a return value (bool) to
indicate success/failure of the analysis. Add negation to subtrahend
in case of subtraction. Fail if both operands contain constants.
(create_data_ref): Fail if analyze_offset fails.
........
r122818 | paolo | 2007-03-11 05:03:34 -0700 (Sun, 11 Mar 2007) | 15 lines
2007-03-11 Paolo Carlini <pcarlini@suse.de>
* include/std/iosfwd: Do not include <bits/c++io.h>.
* config/io/basic_file_stdio.h: Do it here.
* include/ext/stdio_sync_filebuf.h: Likewise.
* include/ext/rope: Include <bits/gthr.h> unconditionally.
* include/std/fstream: Do not include <bits/gthr.h>.
* include/std/ios: Do not include <cstdio>.
* include/bits/ios_base.h: Do it here.
* testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust dg-error
line numbers.
* testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
........
r122820 | ian | 2007-03-11 08:53:30 -0700 (Sun, 11 Mar 2007) | 3 lines
* tree-vrp.c (vrp_int_const_binop): Handle PLUS_EXPR and
the *_DIV_EXPR codes correctly with overflow infinities.
........
r122821 | rguenth | 2007-03-11 09:08:35 -0700 (Sun, 11 Mar 2007) | 11 lines
2007-03-11 Richard Guenther <rguenther@suse.de>
* tree-vrp.c (extract_range_from_binary_expr): Make sure
the shift count is positive and non-anti-range for RSHIFT_EXPR.
A shift count of zero is not special as with *_DIV_EXPR.
(vrp_int_const_binop): Handle RSHIFT_EXPR for determining overflow
direction.
* gcc.dg/torture/pr31115.c: New testcase.
........
r122822 | pault | 2007-03-11 09:17:32 -0700 (Sun, 11 Mar 2007) | 12 lines
2007-03-11 Paul Thomas <pault@gcc.gnu.org>
* parse.c (parse_interface): Use the default types from the
formal namespace if a function or its result do not have a type
after parsing the specification statements.
2007-03-11 Paul Thomas <pault@gcc.gnu.org>
* gfortran.dg/interface_11.f90: New test.
........
r122827 | gccadmin | 2007-03-11 17:17:17 -0700 (Sun, 11 Mar 2007) | 1 line
Daily bump.
........
r122829 | mmitchel | 2007-03-11 17:26:39 -0700 (Sun, 11 Mar 2007) | 13 lines
* semantics.c (finish_typeof): Use unlowered_expr_type.
* g++.dg/ext/bitfield1.C: New test.
* parser.c (cp_parser_postfix_expression): Disallow compound
literals in constant expressions.
* g++.dg/template/complit2.C: New test.
........
r122832 | brooks | 2007-03-11 23:13:30 -0700 (Sun, 11 Mar 2007) | 2 lines
* Makefile.in (install-info): New dummy target.
........
r122835 | olga | 2007-03-12 01:44:48 -0700 (Mon, 12 Mar 2007) | 1 line
ipa-type-escape improvements
........
r122836 | rsandifo | 2007-03-12 01:59:07 -0700 (Mon, 12 Mar 2007) | 23 lines
gcc/testsuite/
* gcc.c-torture/compile/981006-1.c: Use the non-PIC options if
PIC is not supported.
* gcc.dg/20020103-1.c: Add dg-require-effective-target fpic.
* gcc.dg/20020426-2.c: Likewise.
* gcc.dg/pr28243.c: Likewise.
* gcc.dg/visibility-11.c: Likewise.
* gcc.dg/tls/opt-9.c: Likewise.
* gcc.dg/tls/opt-10.c: Likewise.
* gcc.dg/tls/pic-1.c: Likewise.
* gcc.dg/tls/struct-1.c: Likewise.
* gcc.target/i386/20000807-1.c: Likewise.
* gcc.target/i386/20000904-1.c: Likewise.
* gcc.target/i386/20011119-1.c: Likewise.
* gcc.target/i386/990213-2.c: Likewise.
* gcc.target/i386/990214-1.c: Likewise.
* gcc.target/i386/compress-float-387-pic.c: Likewise.
* gcc.target/i386/compress-float-sse-pic.c: Likewise.
* gcc.target/i386/pic-1.c: Likewise.
* gcc.target/i386/pr21518.c: Likewise.
* gcc.target/i386/pr23098.c: Likewise.
* gcc.target/i386/pr23943.c: Likewise.
........
r122837 | rsandifo | 2007-03-12 02:58:50 -0700 (Mon, 12 Mar 2007) | 4 lines
gcc/
* config.gcc (i[4567]86-wrs-vxworks, i[4567]86-wrs-vxworksae): Add
elfos.h to tm_file.
........
r122838 | rsandifo | 2007-03-12 03:44:52 -0700 (Mon, 12 Mar 2007) | 11 lines
gcc/testsuite/
* lib/target-supports.exp (check_profiling_available): Return false
for VxWorks.
(check_effective_target_vxworks_kernel): New procedure.
* gcc.dg/20040813-1.c: Extend list of stabless targets to include
VxWorks.
* gcc.dg/builtins-config.h: Do not define HAVE_C99_RUNTIME on VxWorks.
* gcc.dg/intmax_t-1.c: Extend the list of targets without inttypes.h
to include VxWorks.
* gcc.dg/vxworks/initpri2.c: Require vxworks_kernel.
........
r122839 | uros | 2007-03-12 04:32:13 -0700 (Mon, 12 Mar 2007) | 11 lines
* config/i386/i386.md (fixuns_trunc<mode>hi2): Implement from
fixuns_truncsfhi2 and fixuns_truncdfhi2 using SSEMODEF
mode macro.
(fix_trunc<mode>di_sse): Implement from fix_truncsfdi_sse and
fix_truncdfdi_sse using SSEMODEF mode macro.
(fix_trunc<mode>si_sse): Implement from fix_truncsfsi_sse and
fix_truncdfsi_sse using SSEMODEF mode macro.
(fix_trunc?f?i_sse peephole2): Implement using SSEMODEF mode macro.
(fix_trunc?f?i_sse K8 peephole2): Fix register constraint.
........
r122840 | paolo | 2007-03-12 06:59:50 -0700 (Mon, 12 Mar 2007) | 6 lines
2007-03-12 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_algo.h (swap_ranges): Move...
* include/bits/stl_algobase.h: ... here.
* include/tr1/array: Trim includes, stl_algobase.h is enough.
........
r122843 | mmitchel | 2007-03-12 08:59:06 -0700 (Mon, 12 Mar 2007) | 8 lines
* cppdefault.c (cpp_EXEC_PREFIX): New variable.
* cppdefault.h (cpp_PREFIX): Document.
(cpp_PREFIX_len): Likewise.
(cpp_EXEC_PREFIX): New variable.
* Makefile.in (PREPROCESSOR_DEFINES): Add STANDARD_EXEC_PREFIX.
* c-incpath.c (add_standard_paths): Correct logic for relocating
paths within prefix.
........
r122844 | mmitchel | 2007-03-12 09:24:18 -0700 (Mon, 12 Mar 2007) | 6 lines
* call.c (convert_default_arg): Copy non-constant arguments.
* g++.dg/other/default6.C: New test.
........
r122846 | rth | 2007-03-12 10:00:11 -0700 (Mon, 12 Mar 2007) | 3 lines
* config/darwin.c (machopic_reloc_rw_mask): New.
* config/darwin-protos.h (machopic_reloc_rw_mask): Declare.
* config/darwin.h (TARGET_ASM_RELOC_RW_MASK): New.
........
r122850 | rth | 2007-03-12 11:15:51 -0700 (Mon, 12 Mar 2007) | 2 lines
* config/alpha/alpha.c (alpha_elf_section_type_flags): New.
(TARGET_SECTION_TYPE_FLAGS): New.
........
r122851 | spark | 2007-03-12 11:31:39 -0700 (Mon, 12 Mar 2007) | 38 lines
ChangeLog:
2007-03-12 Seongbae Park <seongbae.park@gmail.com>
* gcc/doc/invoke.texi (Wvla): New warning.
gcc/ChangeLog:
2007-03-12 Seongbae Park <seongbae.park@gmail.com>
* c-decl.c (warn_variable_length_array): New function.
Refactored from grokdeclarator to handle warn_vla
and handle unnamed array case.
(grokdeclarator): Refactored VLA warning case.
* c.opt (Wvla): New flag.
gcc/cp/ChangeLog:
2007-03-12 Seongbae Park <seongbae.park@gmail.com>
* decl.c (compute_array_index_type): New warning flag warn_vla.
gcc/testsuite/ChangeLog:
2007-03-12 Seongbae Park <seongbae.park@gmail.com>
* gcc.dg/wvla-1.c: New test
* gcc.dg/wvla-2.c: New test
* gcc.dg/wvla-3.c: New test
* gcc.dg/wvla-4.c: New test
* gcc.dg/wvla-5.c: New test
* gcc.dg/wvla-6.c: New test
* gcc.dg/wvla-7.c: New test
* g++.dg/warn/Wvla-1.C: New test
* g++.dg/warn/Wvla-2.C: New test
* g++.dg/warn/Wvla-3.C: New test
........
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/fixed-point@122862 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
svn+ssh://chaoyingfu@sources.redhat.com/svn/gcc/trunk
........
r121636 | korbb | 2007-02-05 17:25:59 -0800 (Mon, 05 Feb 2007) | 1 line
check in required changes for base/sys/sysmacros.h
........
r121638 | aoliva | 2007-02-05 17:35:10 -0800 (Mon, 05 Feb 2007) | 8 lines
gcc/ChangeLog:
* dwarf2out.c (modified_type_die): Follow DECL_ORIGINAL_TYPE
even if cv-qualification is the same.
gcc/testsuite/ChangeLog:
* gcc.dg/pr30189.c: New test.
........
r121639 | ghazi | 2007-02-05 18:50:39 -0800 (Mon, 05 Feb 2007) | 7 lines
* fold-const.c (negate_expr_p): Handle CONJ_EXPR.
(fold_negate_expr): Likewise.
testsuite:
* gcc.dg/builtins-20.c: Add more cases.
........
r121640 | irar | 2007-02-06 00:41:01 -0800 (Tue, 06 Feb 2007) | 5 lines
* tree-vect-patterns.c (vect_recog_widen_mult_pattern): Check that
vectype is not NULL.
(vect_pattern_recog_1): Likewise.
........
r121641 | aph | 2007-02-06 01:44:53 -0800 (Tue, 06 Feb 2007) | 9 lines
2007-02-05 Andrew Haley <aph@redhat.com>
* tools/gnu/classpath/tools/javah/JniIncludePrinter.java:
(printClass): Replace '/' in filenames with '_'.
* tools/gnu/classpath/tools/javah/JniStubPrinter.java
(printClass): Likewise.
........
r121643 | dorit | 2007-02-06 02:08:51 -0800 (Tue, 06 Feb 2007) | 27 lines
2007-02-06 Dorit Nuzman <dorit@il.ibm.com>
Victor Kaplansky <victork@il.ibm.com>
* tree-vectorizer.c (vect_is_simple_use): Support induction.
(vect_is_simple_reduction): Support reduction with induction as
one of the operands.
(vect_is_simple_iv_evolution): Fix formatting.
* tree-vect-analyze.c (vect_mark_stmts_to_be_vectorized): Fix
formatting. Don't mark induction phis for vectorization.
(vect_analyze_scalar_cycles): Analyze all inductions, then reductions.
* tree-vect-transform.c (get_initial_def_for_induction): New function.
(vect_get_vec_def_for_operand): Support induction.
(vect_get_vec_def_for_stmt_copy): Fix formatting and add check for
induction case.
(vectorizable_reduction): Support reduction with induction as one of
the operands.
(vectorizable_type_demotion): Use def-type of stmt argument rather
than dummy def-type.
* tree-ssa-loop.c (gate_scev_const_prop): Return the value of
flag_tree_scev_cprop.
* common.opt (tree-scev-cprop): New flag.
* tree-vect-transform.c (vect_create_destination_var): Use 'kind' in
call to vect_get_new_vect_var.
........
r121644 | rguenth | 2007-02-06 04:38:32 -0800 (Tue, 06 Feb 2007) | 5 lines
2007-02-06 Richard Guenther <rguenther@suse.de>
* gcc.dg/torture/pr27302-2.c: New testcase.
........
r121646 | rsandifo | 2007-02-06 05:14:18 -0800 (Tue, 06 Feb 2007) | 3 lines
contrib/
* texi2pod.pl: Handle @multitable.
........
r121647 | bonzini | 2007-02-06 05:55:01 -0800 (Tue, 06 Feb 2007) | 23 lines
gcc:
2007-02-06 Paolo Bonzini <bonzini@gnu.org>
* tree.c (tree_int_map_hash, tree_int_map_eq, tree_int_map_marked_p):
Remove prototypes and make them non-static.
(struct tree_int_map): Remove.
* tree.h (struct tree_int_map): Move here, turning TO into an
unsigned int.
(tree_int_map_hash, tree_int_map_eq, tree_int_map_marked_p): Declare.
* tree.h (TREE_COMPLEXITY): Remove.
(struct tree_exp): Remove complexity field.
* tree.c (build1_stat): Don't set it.
gcc/ada:
2007-02-06 Paolo Bonzini <bonzini@gnu.org>
* Make-lang.in (ada/decl.o): Add gt-ada-decl.h dependency.
* decl.c: Include gt-ada-decl.h.
(annotate_value_cache): New.
(annotate_value): Use it instead of TREE_COMPLEXITY.
........
r121648 | bonzini | 2007-02-06 06:34:51 -0800 (Tue, 06 Feb 2007) | 51 lines
2006-02-06 Paolo Bonzini <bonzini@gnu.org>
* Makefile.in (tree-ssa-loop-ivopts.o): Add pointer-set.h dependency.
(tree-ssa-reassoc.o): Add pointer-set.h dependency.
(tree-cfg.o): Remove hashtab.h dependency.
* tree-ssa-loop-ivopts.c: Include pointer-set.h.
(struct ivopts_data): Change niters to pointer_map_t.
(struct nfe_cache_elt, nfe_hash, nfe_eq): Delete.
(niter_for_exit): Create pointer_map on demand. Change for
pointer_map API.
(tree_ssa_iv_optimize_init): Initialize data->niters to NULL.
(free_loop_data): Destroy data->niters if created and reset field.
(tree_ssa_iv_optimize_finalize): Don't delete data->niters here.
(tree_ssa_iv_optimize_loop): Check for presence of stale data.
* tree-ssa-reassoc.c: Include pointer-set.h.
(bb_rank): Change to long *.
(operand_rank): Change to pointer_map_t.
(find_operand_rank): Return long, -1 if not found. Declare as inline.
(insert_operand_rank): Accept long.
(operand_entry_hash, operand_entry_eq): Remove.
(get_rank): Return long. Adjust for changes above.
(init_reassoc): Change rank type to long. Adjust creation of bb_rank
and operand_rank.
(fini_reassoc): Delete operand_rank with pointer_map_destroy.
* tree-ssa-structalias.c (vi_for_tree): Change to pointer_map.
(struct tree_vi, tree_vi_t, tree_vi_hash, tree_vi_eq): Delete.
(insert_vi_for_tree): Rewrite for pointer_map API. Assert argument
is not NULL.
(lookup_vi_for_tree): Rewrite for pointer_map API. Return varinfo_t
directly since it cannot be NULL.
(get_vi_for_tree): Rewrite for pointer_map API.
(find_what_p_points_to): Adjust for change to lookup_vi_for_tree.
(init_alias_vars): Create vi_for_tree as pointer_map.
(delete_points_to_sets): Delete vi_for_tree using pointer_map_destroy.
* tree-cfg.c: Don't include hashtab.h.
(edge_to_cases): Declare as pointer_map.
(struct edge_to_cases_elt, edge_to_cases_hash, edge_to_cases_eq):
Delete.
(edge_to_cases_cleanup): Rewrite as pointer_map_traverse callback.
(start_recording_case_labels): Create edge_to_cases as pointer_map.
(end_recoding_case_labels): Cleanup edge_to_cases manually before
destroying it.
(record_switch_edge): Delete.
(get_cases_for_edge): Adjust for pointer_map API, inline
record_switch_edge (rewritten for new API), remove goto.
........
r121651 | aph | 2007-02-06 09:17:03 -0800 (Tue, 06 Feb 2007) | 6 lines
2007-02-06 Andrew Haley <aph@redhat.com>
* scripts/makemake.tcl (emit_bc_rule): Set the source filename.
* sources.am: Rebuild.
........
r121652 | ian | 2007-02-06 09:19:27 -0800 (Tue, 06 Feb 2007) | 4 lines
* lower-subreg.c (simple_move_operand): Reject CONST.
(resolve_clobber): Call validate_change rather than directly
assigning to XEXP (pat, 0).
........
r121653 | sayle | 2007-02-06 09:29:44 -0800 (Tue, 06 Feb 2007) | 12 lines
* config/rs6000/rs6000.md (popcount<mode>2): Rewrite.
(parity<mode>2): New define_expand using rs6000_emit_parity.
* config/rs6000/rs6000.c (rs6000_emit_popcount,
rs6000_emit_parity): New functions.
* config/rs6000/rs6000-protos.h (rs6000_emit_popcount,
rs6000_emit_parity): Prototype here.
* gcc.target/powerpc/popcount-1.c: New test case.
* gcc.target/powerpc/parity-1.c: Likewise.
........
r121654 | sayle | 2007-02-06 09:35:22 -0800 (Tue, 06 Feb 2007) | 4 lines
* ChangeLog: Doh! Missed in the last commit.
........
r121655 | bkoz | 2007-02-06 09:59:09 -0800 (Tue, 06 Feb 2007) | 8 lines
2007-02-06 Benjamin Kosnik <bkoz@redhat.com>
Marco Trudel <mtrudel@gmx.ch>
* include/precompiled/extc++.h: Guard include files that assume
iconv support is present from precompilation via
_GLIBCXX_HAVE_ICONV.
........
r121656 | bkoz | 2007-02-06 10:00:12 -0800 (Tue, 06 Feb 2007) | 8 lines
2007-02-06 Benjamin Kosnik <bkoz@redhat.com>
Marco Trudel <mtrudel@gmx.ch>
* include/precompiled/extc++.h: Guard include files that assume
iconv support is present from precompilation via
_GLIBCXX_HAVE_ICONV.
........
r121659 | rth | 2007-02-06 10:15:46 -0800 (Tue, 06 Feb 2007) | 1 line
* gcc.target/i386/cvt-1.c: Don't expect xmm registers.
........
r121660 | rth | 2007-02-06 10:25:47 -0800 (Tue, 06 Feb 2007) | 18 lines
* config/i386/constraints.md (Y2): Rename from Y.
(Yi): New constraint.
* config/i386/i386.md (movsi_1, movdi_2, pushdf_nointeger,
pushdf_integer, movdf_nointeger, movdf_integer, zero_extendsidi2_32,
zero_extendsidi2_rex64, truncxfdf2_mixed): Change Y constraints to Y2.
(extendsfdf2_mixed, extendsfdf2_sse, truncdfsf_fast_mixed,
truncdfsf_fast_sse, truncdfsf_mixed, fix_truncdfdi_sse,
fix_truncdfsi_sse, floatsidf2_mixed, floatsidf2_sse,
floatdidf2_mixed, floatdidf2_sse, absnegdf2_mixed,
absnegdf2_sse, sse_setccdf, fop_df_comm_mixed, fop_df_comm_sse,
fop_df_1_mixed, fop_df_1_sse): Change Y constraints to x.
* config/i386/mmx.md (mov<MMXMODEI>_internal_rex64,
mov<MMXMODEI>_internal, movv2sf_internal_rex64, movv2sf_internal,
vec_extractv2si_1): Change Y constraints to Y2.
* config/i386/sse.md (vec_setv4sf_0, vec_concatv2df, vec_dupv4si,
vec_dupv2di, sse2_concatv2si, vec_concatv4si_1, vec_concatv2di):
Change Y constraints to Y2.
(sse2_loadld): Change Y constraints to x.
........
r121663 | spark | 2007-02-06 11:43:41 -0800 (Tue, 06 Feb 2007) | 10 lines
2007-02-06 Seongbae Park <seongbae.park@gmail.com>
* global.c (compute_regsets): New function.
(global_alloc): Refactored ELIMINABLE_REGSET
and NO_GLOBAL_ALLOC_REGS computation out.
(rest_of_handle_global_alloc): Call compute_regsets()
for non-optimizing case.
........
r121664 | tromey | 2007-02-06 12:27:16 -0800 (Tue, 06 Feb 2007) | 3 lines
* tools/gnu/classpath/tools/javah/JniIncludePrinter.java
(printClass): Always print a header.
........
r121666 | tromey | 2007-02-06 12:43:55 -0800 (Tue, 06 Feb 2007) | 2 lines
* jvspec.c (lang_specific_driver): Check for the '-' in '-I'.
........
r121670 | rakdver | 2007-02-06 13:49:49 -0800 (Tue, 06 Feb 2007) | 39 lines
* doc/loop.texi: Document possibility not to perform disambiguation
of loops with multiple latches.
* cfgloopmanip.c (alp_enum_p): Removed.
(add_loop): Handle subloops. Use get_loop_body_with_size.
(create_preheader): Do not allow ENTRY_BLOCK_PTR to be preheader.
* cfghooks.c (redirect_edge_and_branch_force): Set dominator for
the new forwarder block.
(make_forwarder_block): Only call new_bb_cbk if it is not NULL.
Handle the case latch is NULL.
* tree-ssa-dom.c (tree_ssa_dominator_optimize): Avoid cfg modifications
when marking loop exits.
* ifcvt.c (if_convert): Ditto. Mark loop exits even if cfg cannot
be modified.
* loop-init.c (loop_optimizer_init): Do not modify cfg. Call
disambiguate_loops_with_multiple_latches.
* tree-cfgcleanup.c (cleanup_tree_cfg_loop): Calculate dominators
before fix_loop_structure.
* cfgloop.c: Include pointer-set.h and output.h.
(canonicalize_loop_headers, HEADER_BLOCK, LATCH_EDGE,
update_latch_info, mfb_keep_just, mfb_keep_nonlatch): Removed.
(get_loop_latch_edges, find_subloop_latch_edge_by_profile,
find_subloop_latch_edge_by_ivs, find_subloop_latch_edge,
mfb_redirect_edges_in_set, form_subloop, merge_latch_edges,
disambiguate_multiple_latches, get_loop_body_with_size,
disambiguate_loops_with_multiple_latches): New functions.
(flow_loop_dump): Dump multiple latch edges.
(flow_loop_nodes_find): Handle loops with multiple latches.
(flow_loops_find): Ditto. Do not call canonicalize_loop_headers.
(glb_enum_p): Modified.
(get_loop_body): Use get_loop_body_with_size.
* cfgloop.h (LOOPS_HAVE_RECORDED_EXITS): New flag.
(AVOID_CFG_MODIFICATIONS): New constant.
(disambiguate_loops_with_multiple_latches, add_loop,
get_loop_body_with_size): Declare.
* Makefile.in (cfgloop.o): Add pointer-set.h and output.h.
* gcc.dg/tree-ssa/loop-25.c: New test.
........
r121671 | kkojima | 2007-02-06 15:12:35 -0800 (Tue, 06 Feb 2007) | 6 lines
* config/sh/sh.c (expand_cbranchdi4): Use scratch register
properly.
(sh_initialize_trampoline): Add parentheses to avoid a warning.
........
r121672 | tromey | 2007-02-06 15:59:34 -0800 (Tue, 06 Feb 2007) | 1 line
Checking in header files missed by earlier commit
........
r121676 | gccadmin | 2007-02-06 16:18:06 -0800 (Tue, 06 Feb 2007) | 1 line
Daily bump.
........
r121681 | krebbel | 2007-02-07 01:54:47 -0800 (Wed, 07 Feb 2007) | 7 lines
2007-02-07 Andreas Krebbel <krebbel1@de.ibm.com>
* raise-gcc.c (get_region_description_for, get_call_site_action_for,
get_action_description_for): Replaced _Unwind_Word with _uleb128_t
and _Unwind_SWord with _sleb128_t.
........
r121682 | hp | 2007-02-07 02:08:04 -0800 (Wed, 07 Feb 2007) | 13 lines
* testsuite/27_io/basic_stringbuf/overflow/char/1.cc: Use only
10000 iterations for simulator targets.
* testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Use only 5
iterations for simulator targets.
* testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Ditto.
* testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Ditto.
* testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Ditto.
* testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Ditto.
* testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Ditto.
* testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Ditto.
* testsuite/23_containers/set/modifiers/16728.cc: Use only 10
iterations for simulator targets.
........
r121683 | hp | 2007-02-07 02:08:50 -0800 (Wed, 07 Feb 2007) | 2 lines
* lib/target-supports.exp (check_effective_target_simulator): New.
........
r121684 | hp | 2007-02-07 02:09:41 -0800 (Wed, 07 Feb 2007) | 14 lines
* testsuite/27_io/basic_stringbuf/overflow/char/1.cc: Use only
10000 iterations for simulator targets.
* testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Use only 5
iterations for simulator targets.
* testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Ditto.
* testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Ditto.
* testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Ditto.
* testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Ditto.
* testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Ditto.
* testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Ditto.
* testsuite/23_containers/set/modifiers/16728.cc: Use only 10
iterations for simulator targets.
........
r121687 | jakub | 2007-02-07 04:13:39 -0800 (Wed, 07 Feb 2007) | 2 lines
* config/i386/i386.c (override_options): Set PTA_SSSE3 for core2.
........
r121688 | jakub | 2007-02-07 04:16:22 -0800 (Wed, 07 Feb 2007) | 11 lines
* gimplify.c (gimplify_scan_omp_clauses): Remove special casing
of INDIRECT_REF <RESULT_DECL>.
* cp-gimplify.c (cp_genericize_r): Don't dereference invisiref
parameters and result decls in omp clauses.
(cxx_omp_privatize_by_reference): Pass also invisiref PARM_DECLs
by reference.
* testsuite/libgomp.c++/pr30703.C: New test.
........
r121689 | jakub | 2007-02-07 05:35:17 -0800 (Wed, 07 Feb 2007) | 13 lines
2007-02-07 Bruno Haible <bruno@clisp.org>
config/
* config/tls.m4 (GCC_CHECK_TLS): Also check whether the libc supports
TLS via __thread.
2007-02-07 Jakub Jelinek <jakub@redhat.com>
{libgomp,libstdc++-v3,libmudflap,libjava}/
* configure: Regenerate.
........
r121691 | zippel | 2007-02-07 07:56:15 -0800 (Wed, 07 Feb 2007) | 2 lines
* MAINTAINERS (Write After Approval): Add myself.
........
r121694 | tromey | 2007-02-07 10:22:26 -0800 (Wed, 07 Feb 2007) | 14 lines
2007-02-07 Chris Burdess <dog@gnu.org>
* gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators.
* gnu/xml/transform/XSLURIResolver.java: Add support for custom
SAXSources without a backing URL or stream.
* gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous
LSParser if implementation does not support asynchronous.
* gnu/xml/stream/XMLParser.java,
gnu/xml/stream/XIncludeFilter.java: Use custom code instead of
java.net.URL to resolve to an an absolute URI, to avoid nonexistent
protocol handler problems.
........
r121695 | aph | 2007-02-07 10:28:20 -0800 (Wed, 07 Feb 2007) | 8 lines
2007-02-07 Andrew Haley <aph@redhat.com>
* class.c (uncache_this_class_ref): New.
* expr.c (build_jni_stub): Initialize the class.
(expand_byte_code): Call uncache_this_class_ref after generating
code.
........
r121697 | sayle | 2007-02-07 13:29:17 -0800 (Wed, 07 Feb 2007) | 5 lines
* global.c (compute_regsets): Move declatation of "i" inside of
#ifdef ELIMINABLE_REGS to avoid unused variable bootstrap failure.
........
r121698 | tromey | 2007-02-07 14:02:40 -0800 (Wed, 07 Feb 2007) | 6 lines
* testsuite/libjava.jni/init.c: New file.
* testsuite/libjava.jni/init.java: New file.
* testsuite/libjava.jni/init.out: New file.
* testsuite/libjava.jni/init.jar: New file.
* testsuite/libjava.jni/init.h: New file.
* testsuite/libjava.jni/init$NativeClass.h: New file.
........
r121699 | tromey | 2007-02-07 14:45:11 -0800 (Wed, 07 Feb 2007) | 3 lines
2007-02-01 Marco Trudel <mtrudel@gmx.ch>
* jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
........
r121700 | kgallowa | 2007-02-07 15:28:04 -0800 (Wed, 07 Feb 2007) | 6 lines
2007-02-07 Kyle Galloway <kgallowa@redhat.com>
* jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
(_Jv_JVMTI_GetMaxLocals): New method.
* include/java-interp.h
(_Jv_InterpMethod::get_max_locals): New method.
........
r121704 | gccadmin | 2007-02-07 16:17:42 -0800 (Wed, 07 Feb 2007) | 1 line
Daily bump.
........
r121706 | sayle | 2007-02-07 16:25:06 -0800 (Wed, 07 Feb 2007) | 7 lines
* config/rs6000/rs6000.md (ctz<mode>2, ffs<mode>2, popcount<mode>2,
parity<mode>2, smulsi3_highpart, abstf2_internal, allocate_stack,
tablejumpdi, movsi_to_cr_one): Remove constraints from
define_expand's match_operands.
........
r121707 | ian | 2007-02-07 16:59:14 -0800 (Wed, 07 Feb 2007) | 2 lines
* lower-subreg.c (simple_move): Reject PARTIAL_INT modes.
........
r121709 | kseitz | 2007-02-07 17:55:29 -0800 (Wed, 07 Feb 2007) | 4 lines
* include/java-interp.h (_Jv_Frame::depth):
New function.
* jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
........
r121710 | ghazi | 2007-02-07 19:19:17 -0800 (Wed, 07 Feb 2007) | 3 lines
* gcc.dg/builtins-20.c: Add some -~ complex cases.
........
r121711 | hubicka | 2007-02-08 01:56:34 -0800 (Thu, 08 Feb 2007) | 2 lines
* value-prof.c (visit_hist, free_hist): Return 1 instead of 0.
........
r121713 | gary | 2007-02-08 08:05:13 -0800 (Thu, 08 Feb 2007) | 7 lines
2007-02-08 Gary Benson <gbenson@redhat.com>
* javax/management/MBeanServerFactory.java
(servers): Initialize.
(createMBeanServer): Don't initialize servers.
........
r121714 | sayle | 2007-02-08 08:41:18 -0800 (Thu, 08 Feb 2007) | 8 lines
* trans-stmt.c (gfc_trans_forall_1): Optimize the cases where the
mask expression is a compile-time constant (".true." or ".false.").
* gfortran.dg/forall_8.f90: New test case.
* gfortran.dg/forall_9.f90: Likewise.
........
r121715 | dnovillo | 2007-02-08 08:55:43 -0800 (Thu, 08 Feb 2007) | 16 lines
* tree-flow.h (struct var_ann_d): Remove field 'is_used'.
Update all users.
* tree-ssa-alias.c (compute_is_aliased): Remove. Update all
users.
(init_alias_info):
* tree-ssa-live.c (remove_unused_locals): Do not remove
TREE_ADDRESSABLE variables.
* tree-ssa-structalias.c (compute_points_to_sets): Tidy.
* tree-ssa-operands.c (add_virtual_operand): Remove argument
FOR_CLOBBER. Update all users.
If VAR has an associated alias set, add a virtual operand for
it if no alias is found to conflict with the memory reference.
........
r121716 | sayle | 2007-02-08 09:10:56 -0800 (Thu, 08 Feb 2007) | 12 lines
* simplify-rtx.c (simplify_unary_operation_1) <POPCOUNT>: We can
strip zero_extend, bswap and rotates from POCOUNT's argument.
<PARITY>: Likewise, we can strip not, bswap, sign_extend,
zero_extend and rotates from PARITY's argument.
<BSWAP>: A byte-swap followed by a byte-swap is an identity.
(simplify_const_unary_operation) <BSWAP>: Evaluate the byte-swap
of an integer constant at compile-time.
* gcc.target/i386/builtin-bswap-2.c: New test case.
........
r121717 | kgallowa | 2007-02-08 10:01:56 -0800 (Thu, 08 Feb 2007) | 6 lines
2007-02-06 Kyle Galloway <kgallowa@redhat.com>
* include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
to hold "this" pointer for frame.
(_Jv_InterpFrame::get_this_ptr): New method.
* interpret-run.cc: Copy the "this" pointer into obj_ptr.
........
r121718 | uros | 2007-02-08 10:12:06 -0800 (Thu, 08 Feb 2007) | 4 lines
* gcc.dg/vect/vect-strided-same-dr.c (main): Fix terminate condition
of the loop.
........
r121719 | kgallowa | 2007-02-08 10:21:00 -0800 (Thu, 08 Feb 2007) | 23 lines
2007-02-08 Kyle Galloway <kgallowa@redhat.com>
* classpath/gnu/classpath/jdwp/processor/
StackFrameCommandSet.java (executeGetValues): Pass jlong instead
of ByteBuffer.
(executeSetValues): Ditto.
(executeThisObject): Ditto.
* classpath/gnu/classpath/jdwp/processor/
StackFrameCommandSet.class: Rebuilt.
* classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
Rebuilt.
* classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
* classpath/lib/gnu/classpath/jdwp/exception/
InvalidFrameException.java: New file.
* gnu/classpath/jdwp/VMFrame.java: Added field for thread of
frame.
(Constructor): New method.
* gnu/classpath/jdwp/VMFrame.h: Regenerated.
* gnu/classpath/jdwp/VMVirtualMachine.java
(getFrame): Changed ByteBuffer to jlong.
* gnu/classpath/jdwp/natVMVirtualMachine.cc
(getFrame): Implement.
* gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
........
r121720 | kgallowa | 2007-02-08 10:44:37 -0800 (Thu, 08 Feb 2007) | 1 line
This file got left behind in my last commit, sorry.
........
r121723 | dnovillo | 2007-02-08 13:38:41 -0800 (Thu, 08 Feb 2007) | 4 lines
* passes.c (init_optimization_passes): Tidy comment.
........
r121724 | hubicka | 2007-02-08 14:04:22 -0800 (Thu, 08 Feb 2007) | 3 lines
* tree-cfg.c (bsi_replace): Shortcut when replacing the statement with
the same one; always update histograms.
........
r121725 | dj | 2007-02-08 14:22:52 -0800 (Thu, 08 Feb 2007) | 6 lines
* config/m32c/m32c-protos.h (m32c_illegal_subreg_p): New.
* config/m32c/m32c.c (legal_subregs): New.
(m32c_illegal_subreg_p): New.
* config/m32c/predicates.md (m32c_any_operand): Use it to reject
unsupported subregs of hard regs.
........
r121726 | hjagasia | 2007-02-08 14:37:01 -0800 (Thu, 08 Feb 2007) | 11 lines
* config/i386/xmmintrin.h: Make inclusion of emmintrin.h
conditional to __SSE2__.
(Entries below should have been added to first ChangeLog
entry for amdfam10 dated 2007-02-05)
* config/i386/emmintrin.h: Generate #error if __SSE2__ is not
defined.
* config/i386/pmmintrin.h: Generate #error if __SSE3__ is not
defined.
* config/i386/tmmintrin.h: Generate #error if __SSSE3__ is not
defined.
........
r121727 | pbrook | 2007-02-08 15:49:59 -0800 (Thu, 08 Feb 2007) | 6 lines
2007-02-08 Paul Brook <paul@codesourcery.com>
* config/arm/lib1funcs.asm (RETLDM): Pop directly into PC when no
special interworking needed.
........
r121731 | gccadmin | 2007-02-08 16:17:44 -0800 (Thu, 08 Feb 2007) | 1 line
Daily bump.
........
r121733 | dj | 2007-02-08 16:49:48 -0800 (Thu, 08 Feb 2007) | 5 lines
* config/m32c/m32c.c (m32c_unpend_compare): Add default to silence
warnings.
(legal_subregs): Use unsigned char, make const.
(m32c_illegal_subreg_p): Use ARRAY_SIZE. Delete unused variables.
........
r121734 | kseitz | 2007-02-08 16:59:29 -0800 (Thu, 08 Feb 2007) | 6 lines
* sources.am: Regenerate.
* Makefile.in: Regenerate.
* classpath/lib/javax/management/MBeanServerFactory.class:
Regenerate.
........
r121735 | paolo | 2007-02-08 17:00:25 -0800 (Thu, 08 Feb 2007) | 7 lines
2007-02-08 Howard Hinnant <hhinnant@apple.com>
* include/bits/list.tcc (list<>::remove): Take care of
&*__first == &__value.
* docs/html/ext/howto.html: Add an entry for DR 526.
........
r121736 | jsm28 | 2007-02-08 17:11:18 -0800 (Thu, 08 Feb 2007) | 5 lines
* calls.c (store_one_arg): Pass correct alignment to
emit_push_insn for non-BLKmode values.
* expr.c (emit_push_insn): If STRICT_ALIGNMENT, copy to an
unaligned stack slot via a suitably aligned slot.
........
r121737 | kseitz | 2007-02-08 17:16:13 -0800 (Thu, 08 Feb 2007) | 9 lines
* sources.am: Regenerate.
* Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.
* gcj/Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* classpath/lib/javax/management/MBeanServerFactory.class:
Regenerate.
........
r121739 | uros | 2007-02-09 01:32:30 -0800 (Fri, 09 Feb 2007) | 19 lines
* gcc.dg/pr26570.c: Clean up coverage files.
* gcc.dg/pr30172-1.c: Clean up gimple tree dump.
* gcc.dg/lower-subreg-1.c: Clean up subreg rtl dump file.
* gcc.dg/tree-ssa/tailrecursion-1.c: Clean up all tailr dump files.
* gcc.dg/tree-ssa/tailrecursion-2.c: Ditto.
* gcc.dg/tree-ssa/tailrecursion-3.c: Ditto.
* gcc.dg/tree-ssa/tailrecursion-4.c: Ditto.
* gcc.dg/tree-ssa/pr21658.c: Clean up all ccp dump files.
* gcc.dg/tree-ssa/pr21829.c: Clean up all phicprop dump files.
* gcc.dg/tree-ssa/pr15349.c: Clean up all mergephi dump files.
* gcc.dg/tree-ssa/pr25501.c: Ditto.
* gcc.dg/fold-compare-2.c: Clean up vrp dump files.
* gcc.dg/vect/vect-recip.c: Clean up vect dump file.
* gcc.dg/vect/pr28952.c: Ditto.
* gcc.dg/vect/pr27151.c: Ditto.
* gcc.dg/gomp/macro-3.c: Clean up omplower dump file.
* g++.dg/gomp/macro-3.C: Ditto.
........
r121740 | jakub | 2007-02-09 02:53:40 -0800 (Fri, 09 Feb 2007) | 7 lines
* scripts/timezones.pl: Parse each file in 2 passes, in one parse
just Rule lines, in the other everything else. Pass 0 instead of
$savings as second argument to parseRule when parsing the start
rule.
* java/util/TimeZone.java (timezones): Regenerate from tzdata2007a.
........
r121741 | paolo | 2007-02-09 04:47:41 -0800 (Fri, 09 Feb 2007) | 4 lines
2007-02-09 Paolo Carlini <pcarlini@suse.de>
* scripts/testsuite_flags.in: Add back @LIBICONV@ to SECTIONLDFLAGS.
........
r121742 | rguenth | 2007-02-09 05:29:11 -0800 (Fri, 09 Feb 2007) | 12 lines
2007-02-09 Zdenek Dvorak <dvorakz@suse.cz>
Richard Guenther <rguenther@suse.de>
* fold-const.c (fold_comparison): Handle obfuscated comparisons
against INT_MIN/INT_MAX.
* tree-ssa-loop-ivcanon.c (remove_empty_loop): Print to dump
file if a loop is removed.
* gcc.dg/fold-compare-3.c: New testcase.
* gcc.dg/tree-ssa/loop-24.c: Likewise.
........
r121743 | rsandifo | 2007-02-09 05:47:25 -0800 (Fri, 09 Feb 2007) | 34 lines
gcc/
200x-xx-xx Nathan Sidwell <nathan@codesourcery.com>
Richard Sandiford <richard@codesourcery.com>
* config.gcc (m68010-*-netbsdelf*, m68k*-*-netbsdelf*)
(m68k*-*-openbsd*, m68k-*-linux*): Set default_cf_cpu.
(m68k-*-aout*, m68k-*-coff*, m68k-*-uclinux*, m68k-*-rtems*): Add
m68k/t-mlib to tmake_file.
(m68020-*-elf*, m68k-*-elf*): Likewise. Add t-m68kbare as well.
(m68k*-*-*): Use --with-arch to pick a default for --with-cpu.
(m680[012]0-*-*, m68k*-*-*): Add support for --with-arch.
Allow it to be cf or m68k. Set m68k_arch_family. If that
variable is not empty, add t-$m68k_arch_family to tmake_file.
Add t-mlibs to tmake_file.
* doc/install.texi: Document --with-arch=m68k and --with-arch=cf.
* config/m68k/t-cf: New file.
* config/m68k/t-m68k: Likewise.
* config/m68k/t-mlibs: Likewise.
* config/m68k/t-m68kbare (MULTILIB_OPTIONS, MULTILIB_DIRNAMES)
(MULTILIB_MATCHES, MULTILIB_EXCEPTIONS): Delete.
(M68K_MLIB_DIRNAMES, M68K_MLIB_OPTIONS): Define.
* config/m68k/t-m68kelf (MULTILIB_OPTIONS, MULTILIB_DIRNAMES)
(MULTILIB_MATCHES, MULTILIB_EXCEPTIONS, LIBGCC, INSTALL_LIBGCC):
Delete.
* config/m68k/t-openbsd (MULTILIB_OPTIONS, LIBGCC): Delete.
(INSTALL_LIBGCC): Delete.
(M68K_MLIB_DIRNAMES, M68K_MLIB_OPTIONS): Define.
* config/m68k/t-rtems (MULTILIB_OPTIONS, MULTILIB_DIRNAMES)
(MULTILIB_MATCHES, MULTILIB_EXCEPTIONS): Delete.
(M68K_MLIB_CPU): Define.
* config/m68k/t-uclinux (MULTILIB_OPTIONS, MULTILIB_DIRNAMES)
(MULTILIB_MATCHES, MULTILIB_EXCEPTIONS): Delete.
(M68K_MLIB_CPU, M68K_MLIB_OPTIONS, M68K_MLIB_DIRNAMES): Define.
........
r121744 | rsandifo | 2007-02-09 05:49:14 -0800 (Fri, 09 Feb 2007) | 6 lines
gcc/testsuite/
* lib/target-supports.exp (check_effective_target_coldfire_fpu): New
procedure.
* gcc.c-torture/execute/ieee/mul-subnormal-single-1.x: XFAIL on
m68k targets if check_effective_target_coldfire_fpu returns true.
........
r121745 | rsandifo | 2007-02-09 05:50:15 -0800 (Fri, 09 Feb 2007) | 6 lines
gcc/testsuite/
* gcc.dg/compat/struct-layout-1.h (v16sf): Define to v4sf on
uClinux targets.
(u16sf): Likewise u4sf.
* g++.dg/compat/struct-layout-1.h: Likewise.
........
r121746 | rsandifo | 2007-02-09 05:50:42 -0800 (Fri, 09 Feb 2007) | 8 lines
200x-xx-xx Nathan Sidwell <nathan@codesourcery.com>
gcc/testsuite/
* gcc.c-torture/execute/builtins/memops-asm-lib.c: Do the copy or
set before checking whether it was allowed.
* gcc.c-torture/execute/builtins/lib/memset.c: Do the memset
before checking inside_main.
........
r121747 | rsandifo | 2007-02-09 05:50:56 -0800 (Fri, 09 Feb 2007) | 5 lines
gcc/testsuite/
* gcc.c-torture/execute/builtins/lib/chk.c: Include <sys/types.h>.
(vsnprintf): Don't define for uClibc targets.
........
r121748 | rsandifo | 2007-02-09 05:51:23 -0800 (Fri, 09 Feb 2007) | 5 lines
gcc/testsuite/
* gcc.c-torture/execute/20030125-1.x: Return 1 for uClibc targets.
* lib/target-supports.exp (check_effective_target_uclibc): New
function.
........
r121749 | rsandifo | 2007-02-09 05:56:16 -0800 (Fri, 09 Feb 2007) | 21 lines
gcc/testsuite/
* lib/target-supports.exp (check_effective_target_lax_strtofp)
(check_effective_target_dummy_wcsftime): New functions.
libstdc++-v3/testsuite/
* 22_locale/time_put/put/wchar_t/1.cc: XFAIL if dummy_wcsftime.
* 22_locale/time_put/put/wchar_t/5.cc: Likewise.
* 22_locale/time_put/put/wchar_t/9.cc: Likewise.
* 22_locale/time_put/put/wchar_t/10.cc: Likewise.
* 22_locale/num_get/get/wchar_t/2.cc: XFAIL if lax_strtofp.
* 22_locale/num_get/get/char/2.cc: Likewise.
* 27_io/basic_istream/extractors_arithmetic/wchar_t/12.cc: Likewise.
* 27_io/basic_istream/extractors_arithmetic/wchar_t/09.cc: Likewise.
* 27_io/basic_istream/extractors_arithmetic/char/12.cc: Likewise.
* 27_io/basic_istream/extractors_arithmetic/char/09.cc: Likewise.
* 27_io/basic_ostream/inserters_arithmetic/wchar_t/6.cc: Likewise.
* 27_io/basic_ostream/inserters_arithmetic/char/6.cc: Likewise.
* 26_numerics/cmath/c99_classification_macros_c++.cc: XFAIL
for uClibc.
* 26_numerics/cmath/c99_classification_macros_c.cc: Likewise.
........
r121751 | drow | 2007-02-09 07:14:37 -0800 (Fri, 09 Feb 2007) | 17 lines
* Makefile.tpl (build_alias, host_alias, target_alias): Use
noncanonical equivalents.
* configure.in: Rename to...
* configure.ac: ...this. Update AC_PREREQ. Prevent error for
AS_FOR_TARGET. Set build_noncanonical, host_noncanonical, and
target_noncanonical. Use them. Rewrite removal of configure
arguments for autoconf 2.59. Discard variable settings. Force
program_transform_name for native tools.
* Makefile.in: Regenerated.
* configure: Regenerated with autoconf 2.59.
* src-release (DEVO_SUPPORT, do-proto-toplev): Expect configure.ac.
* acx.m4 (ACX_CHECK_INSTALLED_TARGET_TOOL): Avoid AC_PATH_PROG
with an empty path.
........
r121755 | jsm28 | 2007-02-09 07:28:13 -0800 (Fri, 09 Feb 2007) | 2 lines
* libiberty.h (pex_write_input): Remove prototype.
........
r121758 | drow | 2007-02-09 07:36:20 -0800 (Fri, 09 Feb 2007) | 2 lines
* gcc_update: Update for configure.in -> configure.ac.
........
r121760 | bonzini | 2007-02-09 08:31:28 -0800 (Fri, 09 Feb 2007) | 4 lines
2007-02-09 Paolo Bonzini <bonzini@gnu.org>
* config.sub: Sync with src.
........
r121761 | bonzini | 2007-02-09 08:35:29 -0800 (Fri, 09 Feb 2007) | 4 lines
2007-02-09 Paolo Bonzini <bonzini@gnu.org>
* Makefile.in: Regenerate.
........
r121762 | bonzini | 2007-02-09 08:44:18 -0800 (Fri, 09 Feb 2007) | 5 lines
2007-02-09 Paolo Bonzini <bonzini@gnu.org>
* configure.ac: Sync with src.
* configure: Regenerate.
........
r121763 | hjagasia | 2007-02-09 08:56:45 -0800 (Fri, 09 Feb 2007) | 5 lines
2007-02-09 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
* config/i386/driver-i386.c: Turn on -mtune=native for AMDFAM10.
(bit_SSE4a): New.
........
r121765 | gary | 2007-02-09 09:15:20 -0800 (Fri, 09 Feb 2007) | 6 lines
2007-02-09 Gary Benson <gbenson@redhat.com>
* javax/management/ObjectName.java
(quote): Initialize StringBuilder correctly.
........
r121766 | aph | 2007-02-09 10:14:46 -0800 (Fri, 09 Feb 2007) | 6 lines
2007-02-09 Jakub Jelinek <jakub@redhat.com>
* java/util/TimeZone.java: Handle default (one hour) daylight
savings.
........
r121767 | rth | 2007-02-09 10:17:09 -0800 (Fri, 09 Feb 2007) | 16 lines
* config/i386/constraints.md (Ym): New constraint.
* config/i386/i386.md (movsi_1): Change Y2 to Yi constraints.
(movdi_1_rex64): Split sse and xmm general register moves from
memory move alternatives. Use conditional register constraints.
(movsf_1, movdf_integer): Likewise.
(zero_extendsidi2_32, zero_extendsidi2_rex64): Likewise.
(movdf_integer_rex64): New.
(pushsf_rex64): Fix output constraints.
* config/i386/sse.md (sse2_loadld): Split rm alternative, use Yi.
(sse2_stored): Likewise.
(sse2_storeq_rex64): New.
* config/i386/i386.c (x86_inter_unit_moves): Enable for not
amd and not generic.
(ix86_secondary_memory_needed): Don't bypass TARGET_INTER_UNIT_MOVES
for optimize_size. Remove SF/DFmode hack.
........
r121768 | rsandifo | 2007-02-09 10:35:22 -0800 (Fri, 09 Feb 2007) | 2 lines
Move misplaced changelog from last delta, and remove the file created.
........
r121769 | kseitz | 2007-02-09 10:43:21 -0800 (Fri, 09 Feb 2007) | 13 lines
* gnu/classpath/jdwp/VMVirtualMachine.java
(_stepping_threads): New member.
* classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
Regenerated.
* gnu/classpath/jdwp/VMVirtualMachine.h:
Regenerated.
* gnu/claspath/jdwp/natVMVirtualMachine.cc
(get_request_step_filter): New function.
(DISABLE_EVENT): New macro.
(initialize): Initialize _stepping_threads.
(registerEvent): Implement EVENT_SINGLE_STEP.
(unregisterEvent): Likewise.
........
r121770 | aph | 2007-02-09 12:08:49 -0800 (Fri, 09 Feb 2007) | 6 lines
2007-02-09 Jakub Jelinek <jakub@redhat.com>
* java/util/TimeZone.java: Handle default (one hour) daylight
savings.
........
r121771 | doko | 2007-02-09 12:21:20 -0800 (Fri, 09 Feb 2007) | 2 lines
- reindent ChangeLog entries
........
r121773 | fxcoudert | 2007-02-09 12:31:18 -0800 (Fri, 09 Feb 2007) | 13 lines
* trans-array.c (gfc_trans_create_temp_array): Remove use of the
function argument. Always generate code for negative extent.
Simplify said code.
* trans-array.h (gfc_trans_create_temp_array): Change prototype.
* trans-expr.c (gfc_conv_function_call): Remove use of last argument
of gfc_trans_create_temp_array.
* trans-intrinsic.c (gfc_conv_intrinsic_array_transfer): Likewise.
* trans-stmt.c (gfc_conv_elemental_dependencies): Likewise.
* gfortran.dg/array_function_1.f90: New test.
........
r121774 | rth | 2007-02-09 12:40:56 -0800 (Fri, 09 Feb 2007) | 1 line
* sysdep/alpha/locks.h (read_barrier): New.
........
r121775 | tromey | 2007-02-09 12:53:47 -0800 (Fri, 09 Feb 2007) | 3 lines
* configure: Rebuilt.
* configure.ac: Also check for jack/jack.h.
........
r121776 | sayle | 2007-02-09 13:33:36 -0800 (Fri, 09 Feb 2007) | 6 lines
* config/ia64/ia64.md (bswapdi2): New define_insn.
* gcc.target/ia64/builtin_bswap-1.c: New test case.
........
r121777 | burnus | 2007-02-09 13:56:06 -0800 (Fri, 09 Feb 2007) | 42 lines
fortran/
2007-02-09 Tobias Burnus <burnus@net-b.de>
* trans-intrinsic.c (gfc_conv_intrinsic_minmaxloc,
gfc_conv_intrinsic_minmaxval): Use HUGE-1 for most negative integer.
testsuite/
2007-02-09 Tobias Burnus <burnus@net-b.de>
* gfortran.dg/maxlocval_1.f90: New test.
libgfortran/
2007-02-09 Thomas Koenig <Thomas.Koenig@online.de>
Tobias Burnus <burnus@net-b.de>
* m4/iparm.m4: Use HUGE-1 for most negative integer.
* generated/maxloc1_8_i4.c: Regenerate.
* generated/maxloc0_8_i8.c: Regenerate.
* generated/maxloc1_16_i4.c: Regenerate.
* generated/maxloc0_16_i8.c: Regenerate.
* generated/maxval_i4.c: Regenerate.
* generated/maxloc1_4_i8.c: Regenerate.
* generated/maxloc0_16_i16.c: Regenerate.
* generated/maxloc1_4_i16.c: Regenerate.
* generated/maxloc0_8_i16.c: Regenerate.
* generated/maxloc0_4_i4.c: Regenerate.
* generated/maxloc1_8_i8.c: Regenerate.
* generated/maxloc0_8_i4.c: Regenerate.
* generated/maxloc0_16_i4.c: Regenerate.
* generated/maxloc1_16_i8.c: Regenerate.
* generated/maxloc1_4_i4.c: Regenerate.
* generated/maxval_i8.c: Regenerate.
* generated/maxloc0_4_i16.c: Regenerate.
* generated/maxloc1_8_i16.c: Regenerate.
* generated/maxloc0_4_i8.c: Regenerate.
* generated/maxloc1_16_i16.c: Regenerate.
* generated/maxval_i16.c: Regenerate.
........
r121778 | drow | 2007-02-09 14:33:51 -0800 (Fri, 09 Feb 2007) | 4 lines
* configure.ac: Correct syntax for Solaris ksh.
* configure: Regenerated.
........
r121779 | sayle | 2007-02-09 14:36:34 -0800 (Fri, 09 Feb 2007) | 5 lines
* config/alpha/alpha.c (emit_insxl): Force the first operand of
the insbl or inswl pattern into a register.
........
r121780 | hubicka | 2007-02-09 14:49:30 -0800 (Fri, 09 Feb 2007) | 28 lines
* Makefile.in (passes.o, ipa-inline.o): Add dependencies.
* cgraphbuild.c (build_cgraph_edges): Compute frequencies.
(rebuild_cgraph_edges): Likewise.
* cgraph.c (cgraph_set_call_stmt): Add new argument frequency.
(dump_cgraph_node): Dump frequencies.
(cgraph_clone_edge): Add frequency scales.
(cgraph_clone_node): Add freuqnecy.
* cgraph.h (cgraph_edge): Add freuqnecy argument.
(CGRAPH_FREQ_BASE, CGRAPH_FREQ_MAX): New constants.
(cgraph_create_edge, cgraph_clone_edge, cgraph_clone_node): Update.
* tree-pass.h (TODO_rebuild_frequencies): New constant.
* cgraphunit.c (verify_cgraph_node): Verify frequencies.
(cgraph_copy_node_for_versioning): Update call of cgraph_clone_edge.
(save_inline_function_body): Likewise.
* ipa-inline.c: inluce rtl.h
(cgraph_clone_inlined_nods): Update call of cgraph_clone_node.
(cgraph_edge_badness): Use frequencies.
(cgraph_decide_recursive_inlining): Update clonning.
(cgraph_decide_inlining_of_small_function): Dump frequency.
* predict.c (estimate_bb_frequencies): Export.
* predict.h (estimate_bb_frequencies): Declare.
* tree-inline.c (copy_bb): Watch overflows.
(expand_call_inline): Update call of cgraph_create_edge.
(optimize_inline_calls): Use TODO flags to update frequnecies.
* passes.h: Include predict.h
(init_optimization_passes): Move profile ahead.
(execute_function_todo): Handle TODO_rebuild_frequencies.
........
r121781 | hubicka | 2007-02-09 14:51:44 -0800 (Fri, 09 Feb 2007) | 3 lines
* params.def (PARAM_INLINE_UNIT_GROWTH): Set to 30.
* doc/invoke.texi (inline-unit-growth): Update default value.
........
r121785 | gccadmin | 2007-02-09 16:17:30 -0800 (Fri, 09 Feb 2007) | 1 line
Daily bump.
........
r121787 | hp | 2007-02-09 16:30:46 -0800 (Fri, 09 Feb 2007) | 3 lines
* test_summary (configflags): Adjust for changes in the
config.status format due to update to autoconf 2.59.
........
r121789 | manu | 2007-02-09 17:05:18 -0800 (Fri, 09 Feb 2007) | 7 lines
2007-02-10 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* genautomata.c (longest_path_length): Delete unused function.
(struct state): Delete unused longest_path_length.
(UNDEFINED_LONGEST_PATH_LENGTH): Delete unused macro.
(get_free_state): Delete unused.
........
r121790 | stuart | 2007-02-09 17:17:03 -0800 (Fri, 09 Feb 2007) | 19 lines
* gcc/config/i386/i386.h (TARGET_KEEPS_VECTOR_ALIGNED_STACK): New.
* gcc/config/i386/darwin.h: (TARGET_KEEPS_VECTOR_ALIGNED_STACK): New.
* gcc/config/i386/i386.md (fixuns_trunc<mode>si2, fixuns_truncsfhi2,
fixuns_truncdfhi2): New.
(fix_truncsfdi_sse): Call ix86_expand_convert_sign_didf_sse.
(floatunsdidf2): Call ix86_expand_convert_uns_didf_sse.
(floatunssisf2): Add call to ix86_expand_convert_uns_sisf_sse.
(floatunssidf2): Allow nonimmediate source.
* gcc/config/i386/sse.md (movdi_to_sse): New. (vec_concatv2di): Drop '*'.
* gcc/config/i386/i386-protos.h (ix86_expand_convert_uns_si_sse,
ix86_expand_convert_uns_didf_sse, ix86_expand_convert_uns_sidf_sse,
ix86_expand_convert_uns_sisf_sse, ix86_expand_convert_sign_didf_sse): New.
* gcc/config/i386/i386.c (ix86_expand_convert_uns_si_sse,
ix86_expand_convert_uns_didf_sse, ix86_expand_convert_uns_sidf_sse,
ix86_expand_convert_uns_sisf_sse, ix86_expand_convert_sign_didf_sse,
ix86_build_const_vector, ix86_expand_vector_init_one_nonzero): New.
(ix86_build_signbit_mask): Fix decl of v, refactor to call ix86_build_const_vector.
(x86_emit_floatuns): Rewrite.
........
r121791 | brooks | 2007-02-09 17:27:15 -0800 (Fri, 09 Feb 2007) | 5 lines
* gfortran.dg/secnds.f: Replace time tolerance with a
before-and-after bracket.
* gfortran.dg/secnds-1.f: Likewise.
........
r121792 | kkojima | 2007-02-09 22:47:49 -0800 (Fri, 09 Feb 2007) | 5 lines
* reload1.c (eliminate_regs_in_insn): Take the destination
mode into account when computing the offset.
........
r121793 | rakdver | 2007-02-10 02:57:44 -0800 (Sat, 10 Feb 2007) | 3 lines
* gcc.dg/tree-ssa/loop-25.c: Verify the result in the profile pass.
........
r121794 | bonzini | 2007-02-10 04:44:12 -0800 (Sat, 10 Feb 2007) | 2 lines
sync config directory with src
........
r121795 | tkoenig | 2007-02-10 05:47:14 -0800 (Sat, 10 Feb 2007) | 7 lines
2007-02-10 Thomas Koenig <Thomas.Koenig@online.de>
* Makefile.am: Remove $(srcdir) from assorted targets
in maintainer mode.
* Makefile.in: Regenerate.
........
r121796 | membar | 2007-02-10 06:17:58 -0800 (Sat, 10 Feb 2007) | 4 lines
* Makefile.in: Rebuilt.
* Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to
the host's ecj1 executable.
........
r121797 | membar | 2007-02-10 06:21:05 -0800 (Sat, 10 Feb 2007) | 3 lines
* configure: Rebuilt.
* configure.ac (GCJH): Reverted second part of patch of 2006-12-20.
........
r121798 | aph | 2007-02-10 06:22:54 -0800 (Sat, 10 Feb 2007) | 8 lines
2007-02-10 Andrew Haley <aph@redhat.com>
* gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New.
(getCallingClass): Call GET_CALLING_CLASS.
(getCallingClassLoader): Likewise.
........
r121800 | aoliva | 2007-02-10 11:19:10 -0800 (Sat, 10 Feb 2007) | 58 lines
gcc/ChangeLog:
* Makefile.in (libgcc-support, libgcc.mvars): Add emutls.c.
* builtin-types.def (BT_WORD): Make unsigned.
(BT_FN_VOID_PTR_WORD_WORD_PTR): New.
* builtins.def (BUILT_IN_EMUTLS_GET_ADDRESS): New.
(BUILT_IN_EMUTLS_REGISTER_COMMON): New.
* c-decl.c (grokdeclarator): Don't error if !have_tls.
* c-parser.c (c_parser_omp_threadprivate): Likewise.
* dwarf2out.c (loc_descriptor_from_tree_1): Don't do anything for
emulated tls.
* expr.c (emutls_var_address): New.
(expand_expr_real_1): Expand emulated tls.
(expand_expr_addr_expr_1): Likewise.
* libgcc-std.ver: Add __emutls_get_address, __emutls_register_common.
* output.h (emutls_finish): Declare.
* toplev.c (compile_file): Call it.
* tree-ssa-address.c (gen_addr_rtx): Check for const-ness of the
address before wrapping in CONST.
* varasm.c (emutls_htab, emutls_object_type): New.
(EMUTLS_VAR_PREFIX, EMUTLS_TMPL_PREFIX): New.
(get_emutls_object_name, get_emutls_object_type): New.
(get_emutls_init_templ_addr, emutls_decl): New.
(emutls_common_1, emutls_finish): New.
(assemble_variable): When emulating tls, swap decls; generate
constructor for the emutls objects.
(do_assemble_alias): When emulating tls, swap decl and target name.
(default_encode_section_info): Don't add SYMBOL_FLAG_TLS_SHIFT
for emulated tls.
* varpool.c (decide_is_variable_needed): Look at force_output.
Recurse for emulated tls.
(cgraph_varpool_remove_unreferenced_decls): Remove checks redundant
with decide_is_variable_needed.
* emutls.c: New file.
* config/sparc/sol2.h (ASM_DECLARE_OBJECT_NAME): Only emit
tls_object for real tls.
gcc/cp/ChangeLog:
* decl.c (grokvardecl): Don't error if !have_tls.
(grokdeclarator): Likewise.
* parser.c (cp_parser_omp_threadprivate): Likewise.
gcc/fortran/ChangeLog:
* f95-lang.c (gfc_init_builtin_functions): Add __emutls_get_address
and __emutls_register_common.
* openmp.c (gfc_match_omp_threadprivate): Don't error if !have_tls.
* trans-common.c (build_common_decl): Don't check have_tls.
* trans-decl.c (gfc_finish_var_decl): Likewise.
* types.def (BT_WORD, BT_FN_PTR_PTR): New.
(BT_FN_VOID_PTR_WORD_WORD_PTR): New.
gcc/testsuite/ChangeLog:
* lib/target-supports.exp (check_effective_target_tls): Redefine
to mean non-emulated tls.
* gcc.dg/tls/alias-1.c: Remove tls requirement.
* gcc.dg/tls/asm-1.c, gcc.dg/tls/debug-1.c, gcc.dg/tls/diag-1.c,
gcc.dg/tls/diag-2.c, gcc.dg/tls/diag-3.c, gcc.dg/tls/diag-4.c,
gcc.dg/tls/diag-5.c, gcc.dg/tls/init-1.c, gcc.dg/tls/nonpic-1.c,
gcc.dg/tls/opt-10.c, gcc.dg/tls/opt-5.c, gcc.dg/tls/opt-6.c,
gcc.dg/tls/opt-8.c, gcc.dg/tls/opt-9.c, gcc.dg/tls/pic-1.c,
gcc.dg/tls/struct-1.c, gcc.dg/tls/trivial.c: Likewise.
........
r121801 | tkoenig | 2007-02-10 11:44:15 -0800 (Sat, 10 Feb 2007) | 6 lines
2007-02-10 Thomas Koenig <Thomas.Koenig@online.de>
* Makefile.am: Use $(M4) instead of m4.
* Makefile.in: Regenerate.
........
r121802 | danglin | 2007-02-10 11:51:40 -0800 (Sat, 10 Feb 2007) | 8 lines
* pa.md (movdf): For 64-bit target, fail if operand 1 is a non-zero
CONST_DOUBLE and operand 0 is a hard register.
(movdi): For 64-bit target, remove code to force CONST_DOUBLE to
memory. Fail if operand 1 is a non-zero CONST_INT and operand 0
is a hard floating-point register.
........
r121805 | gdr | 2007-02-10 15:30:13 -0800 (Sat, 10 Feb 2007) | 2 lines
* parser.c (cp_parser_primary_expression): Reformat overly long lines.
........
r121810 | gccadmin | 2007-02-10 16:18:13 -0800 (Sat, 10 Feb 2007) | 1 line
Daily bump.
........
r121815 | uros | 2007-02-11 00:09:03 -0800 (Sun, 11 Feb 2007) | 5 lines
* ChangeLog: Whitespace fixes.
* gcc/ChangeLog: Ditto.
* gcc/testsuite/ChangeLog: Ditto.
........
r121816 | fxcoudert | 2007-02-11 03:06:15 -0800 (Sun, 11 Feb 2007) | 3 lines
* MAINTAINERS (Language Front End Maintainers): Update my mail
address.
........
r121817 | schwab | 2007-02-11 03:28:52 -0800 (Sun, 11 Feb 2007) | 4 lines
* configure.ac: Update TOOLS_TARGET_PAIRS configuration to match
gcc/ada/Makefile.in.
* configure: Regenerated.
........
r121818 | dorit | 2007-02-11 03:46:07 -0800 (Sun, 11 Feb 2007) | 20 lines
* doc/tm.texi (TARGET_VECTORIZE_BUILTIN_CONVERSION): New target hook.
* targhooks.c (default_builtin_vectorized_conversion): New.
* targhooks.h (default_builtin_vectorized_function): New declaration.
* target.h (struct vectorize): Add builtin_conversion field.
* tree-vectorizer.h (type_conversion_vec_info_type): New enum
stmt_vec_info_type value.
(vectorizable_conversion): New declaration.
* tree-vect-analyze.c (vect_analyze_operations): Add
vectorizable_conversion call.
* target-def.h (TARGET_VECTORIZE_BUILTIN_CONVERSION): New.
* tree-vect-transform.c (vectorizable_conversion): New function.
(vect_transform_stmt): Add case for type_conversion_vec_info_type.
* tree-vect-generic.c (expand_vector_operations_1): Consider correct
mode.
* config/rs6000/rs6000.c (rs6000_builtin_conversion): New.
(TARGET_VECTORIZE_BUILTIN_CONVERSION): Defined.
(rs6000_expand_builtin): Add handling a case of ALTIVEC_BUILTIN_VCFUX or
ALTIVEC_BUILTIN_VCFSX.
........
r121819 | mmitchel | 2007-02-11 10:58:05 -0800 (Sun, 11 Feb 2007) | 13 lines
* tree.h (DECL_REPLACEABLE_P): New macro.
* except.c (set_nothrow_function_flags): Likewise.
* decl.c (finish_function): Use DECL_REPLACEABLE.
* tree.c (cp_cannot_inline_tree_fn): Likewise.
* g++.dg/eh/weak1-C: New test.
* g++.dg/eh/weak1-a.cc: Likewise.
* g++.dg/eh/comdat1.C: Likewise.
........
r121820 | uros | 2007-02-11 11:48:07 -0800 (Sun, 11 Feb 2007) | 14 lines
* config/i386/i386.c (TARGET_VECTORIZE_BUILTIN_CONVERSION): Define.
(ix86_builtin_conversion): New function.
testsuite/ChangeLog:
* gcc.dg/vect/vect-intfloat-conversion-1.c: Loop gets vectorized
on i?86 and x86_64.
* gcc.dg/vect/vect-intfloat-conversion-2.c: Ditto.
* gcc.dg/vect/vect-floatint-conversion-1.c: New.
* gcc.dg/vect/vect-93.c: Another loop gets vectorized
on i?86 and x86_64.
* gcc.dg/vect/vect-113.c: Ditto.
........
r121821 | steven | 2007-02-11 11:53:11 -0800 (Sun, 11 Feb 2007) | 13 lines
* fwprop.c (try_fwprop_subst): Use set_unique_reg_note
to add the REG_EQ* note.
* see.c (see_merge_one_use_extension): Likewise.
* local-alloc.c (update_equiv_regs): Likewise. Also don't
turn REG_EQUAL notes into REG_EQUIV notes if the target
register may have more than one set.
* function.c (assign_parm_setup_reg): Use set_unique_reg_note.
* gcse.c (try_replace_reg): Likewise.
* alias.c (init_alias_analysis): Use find_reg_equal_equiv_note.
* calls.c (fixup_tail_calls): Likewise. Abort if there is
more than one REG_EQUIV note.
* reload1.c (gen_reload): Use set_unique_reg_note.
........
r121822 | mmitchel | 2007-02-11 12:15:13 -0800 (Sun, 11 Feb 2007) | 7 lines
* pt.c (determine_specialization): Use skip_artificial_parms_for.
(fn_type_unificiation): Likewise.
(get_bindings): Likewise.
* g++.dg/template/spec34.C: New test
........
r121824 | pault | 2007-02-11 12:58:48 -0800 (Sun, 11 Feb 2007) | 28 lines
2007-02-11 Paul Thomas <pault@gcc.gnu.org>
* module.c (find_symtree_for_symbol): New function to return
a symtree that is not a "unique symtree" given a symbol.
(read_module): Do not automatically set pointer_info to
referenced because this inhibits the generation of a unique
symtree. Recycle the existing symtree if possible by calling
find_symtree_for_symbol.
* decl.c (add_init_expr_to_sym): Make new charlen for an array
constructor initializer.
2007-02-11 Paul Thomas <pault@gcc.gnu.org>
* gfortran.dg/used_dummy_types_6.f90: Add the "privatized"
versions of the modules.
* gfortran.dg/intrinsic_actual_2.f90: Make this legal fortran
by getting rid of recursive I/O and providing functions with
results.
* gfortran.dg/char_array_constructor_2.f90
........
r121825 | hubicka | 2007-02-11 13:28:32 -0800 (Sun, 11 Feb 2007) | 3 lines
* ipa-inline.c (cgraph_edge_badness): Add "else" missing in the
previous patch.
........
r121827 | manu | 2007-02-11 14:10:43 -0800 (Sun, 11 Feb 2007) | 5 lines
2007-02-11 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* genattrtab.c (contained_in_p): Delete unused function.
(write_expr_attr_cache): Likewise.
........
r121828 | manu | 2007-02-11 14:19:49 -0800 (Sun, 11 Feb 2007) | 4 lines
2007-02-11 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* dwarf2out.c (root_type): Delete unused function.
........
r121829 | manu | 2007-02-11 14:29:27 -0800 (Sun, 11 Feb 2007) | 4 lines
2007-02-11 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* doc/invoke.texi (Wextra): Delete outdated paragraph.
........
r121830 | tobi | 2007-02-11 14:35:56 -0800 (Sun, 11 Feb 2007) | 14 lines
2007-02-11 Tobias Schlueter <tobi@gcc.gnu.org>
fortran/
* decl.c (add_init_expr_to_sym): Remove ENUM specific code.
(variable_decl): Likewise. Rewrap comment.
(match_attr_spec): Remove ENUM specific code.
(gfc_match_enum): Fix typo in error message.
(enumerator_decl): New function.
(gfc_match_enumerator_def): Use enumerator_decl instead of
variable_decl. Adapt code accordingly.
testsuite/
* gfortran.dg/enum_4.f90: Update error message checks.
........
r121831 | dfranke | 2007-02-11 15:08:01 -0800 (Sun, 11 Feb 2007) | 6 lines
2007-02-11 Daniel Franke <franke.daniel@gmail.com>
* intrinsic.texi (HOSTNM): Fix typographical error in syntax.
(SLEEP): Added section and documentation.
........
r121835 | gccadmin | 2007-02-11 16:17:22 -0800 (Sun, 11 Feb 2007) | 1 line
Daily bump.
........
r121838 | sayle | 2007-02-11 17:43:50 -0800 (Sun, 11 Feb 2007) | 9 lines
* simplify-rtx.c (simplify_relational_operation_1): Optimize
comparisons of POPCOUNT against zero.
(simplify_const_relational_operation): Likewise.
* gcc.target/ia64/builtin-popcount-1.c: New test case.
* gcc.target/ia64/builtin-popcount-2.c: Likewise.
........
r121839 | sayle | 2007-02-11 20:19:42 -0800 (Sun, 11 Feb 2007) | 4 lines
* simplify-rtx.c (simplify_relational_operation_1): Correct typo.
........
r121840 | hjl | 2007-02-11 21:12:24 -0800 (Sun, 11 Feb 2007) | 5 lines
2007-02-11 H.J. Lu <hongjiu.lu@intel.com>
* gcc.target/i386/sse4a-extract.c: Add "LL" to 64bit constants.
* gcc.target/i386/sse4a-insert.c: Likewise.
........
r121842 | ebotcazou | 2007-02-12 00:15:47 -0800 (Mon, 12 Feb 2007) | 1 line
Fix nits.
........
r121843 | manu | 2007-02-12 01:32:08 -0800 (Mon, 12 Feb 2007) | 15 lines
2007-02-12 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* doc/invoke.texi (Wunused-value): Update description.
(Wextra): Delete item.
* opts.c (set_Wextra): Don't use the value of Wextra to set the
value of Wunused-value.
* c-typeck.c (c_process_expr_stmt): Don't check extra_warnings.
(c_finish_stmt_expr): Don't check extra_warnings.
(emit_side_effect_warnings): The caller is responsible to check
warn_unused_value.
cp/
* cp-gimplify.c (gimplify_expr_stmt): Don't check extra_warnings.
Check warn_unused_value just once.
........
r121844 | dorit | 2007-02-12 05:14:52 -0800 (Mon, 12 Feb 2007) | 5 lines
* tree-data-ref.c (base_addr_differ_p): Make us more conservative
in our handling of restrict qualified pointers.
........
r121845 | aph | 2007-02-12 06:39:44 -0800 (Mon, 12 Feb 2007) | 6 lines
2007-02-09 Jakub Jelinek <jakub@redhat.com>
* java/util/VMTimeZone.java: Rewrite to handle both the old
'TZif\0' format and the new one.
........
r121847 | rth | 2007-02-12 08:10:15 -0800 (Mon, 12 Feb 2007) | 13 lines
* config/alpha/constraints.md: New file.
* config/alpha/alpha.c: Include tm-constrs.h.
(alpha_const_ok_for_letter_p, alpha_const_double_ok_for_letter_p,
alpha_extra_constraint): Remove.
(alpha_emit_conditional_branch): Use satisfies_constraint_*.
* config/alpha/alpha-protos.h: Update.
* config/alpha/alpha.h (REG_CLASS_FROM_LETTER): Remove.
(CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Remove.
(EXTRA_CONSTRAINT): Remove.
* config/alpha/alpha.md: Include constraints.md.
(adddi splitter): Use satisfies_constraint_*.
* config/alpha/predicates.md (add_operand): Likewise.
(sext_add_operand, addition_operation): Likewise.
........
r121849 | nickc | 2007-02-12 08:25:14 -0800 (Mon, 12 Feb 2007) | 33 lines
* doc/invoke.texi (Overall Options): Document --help=.
* gcc.c (target_help_flag): Rename to print_subprocess_flag.
(cc1_options): Pass --help= on to cc1.
(display_help): Add description of --help=.
(process_command): Add code to handle --help=. Allow translated
--help and --target-help switches to be passed on to compiler sub-process.
(main): Remove unused if statement.
* opts.c (columns): Remove.
(LEFT_COLUMN): Define.
(wrap_help): Add columns argument.
(print_filtered_help): Change parameters to be an include bitmask,
an exclude bitmask, an any bitmask and the column width. Move the
code to display the params list here. Add code to display the
status of options rather than their descriptions if the quiet flag
is not active.
(print_specific_help): Change parameters to be an include bitmask,
an exclude bitmask and an any bitmask. Move code to look up the
column width here. Decide upon the title for an options listing.
(common_handle_options): Add code to handle --help=. Adapt code
for --help and --target-help to use the revised form of the
print_specific_help function.
(print_help): Delete.
(print_param_help): Delete.
(print_switch): Delete.
* opts.h (cl_lang_count): Add prototype.
(CL_PARAMS, CL_WARNING, CL_OPTIMIZATION, CL_MIN_OPTION_CLASS, CL_MAX_OPTION_CLASS): New defines.
* optc-gen.awk: Add construction of cl_lang_count.
* c.opt: Add Warning attribute to warning options and Optimization attribute to optimization options.
* common.opt: Likewise.
Add --help=.
Add -fhelp and -ftarget-help as aliases for the transformed --help and --target-help options.
* opt-functions.awk: Add code to handle Warning and Optimization attributes.
........
r121851 | sayle | 2007-02-12 10:41:08 -0800 (Mon, 12 Feb 2007) | 7 lines
* config/i386/i386.md (*bswapdi2_rex): Renamed from bswapdi2.
(bswapdi2): New define_expand to implement 32-bit implementation.
* gcc.target/i386/builtin-bswap-3.c: New test case.
........
r121852 | rth | 2007-02-12 10:46:16 -0800 (Mon, 12 Feb 2007) | 3 lines
* calls.c (emit_library_call_value_1): If PROMOTE_MODE modifed the
result mode of the libcall, convert back to outmode.
........
r121853 | rth | 2007-02-12 10:53:22 -0800 (Mon, 12 Feb 2007) | 3 lines
* config/alpha/alpha.md (bswapsi2, bswapdi2): New.
(inswl_const): Export.
........
r121857 | jsm28 | 2007-02-12 12:49:48 -0800 (Mon, 12 Feb 2007) | 2 lines
* sv.po: Update.
........
r121859 | ebotcazou | 2007-02-12 12:52:37 -0800 (Mon, 12 Feb 2007) | 4 lines
* dwarf2out.c (round_up_to_align): New static function.
(field_byte_offset): Use it to round the offset.
........
r121860 | rth | 2007-02-12 12:58:58 -0800 (Mon, 12 Feb 2007) | 2 lines
Remove executable bits.
........
r121861 | ebotcazou | 2007-02-12 13:01:33 -0800 (Mon, 12 Feb 2007) | 5 lines
* tree.h (DECL_IGNORED_P): Document further effect for FUNCTION_DECL.
* cgraphunit.c (cgraph_expand_function): If DECL_IGNORED_P is set on
the function, temporarily point the debug interface to the null one.
........
r121863 | uros | 2007-02-12 13:08:25 -0800 (Mon, 12 Feb 2007) | 10 lines
* config/i386/i386.md (paritydi2, paritysi2): New expanders.
(paritydi2_cmp, paritydi2_cmp): New insn and split patterns.
(*parityhi2_cmp, *parityqi2_cmp): New insn patterns.
testsuite/ChangeLog:
* gcc.target/i386/parity-1.c: New test.
* gcc.target/i386/parity-2.c: New test.
........
r121864 | simartin | 2007-02-12 14:17:06 -0800 (Mon, 12 Feb 2007) | 4 lines
* pt.c (do_decl_instantiation): Detect type mismatches in explicit
instantiations for variables.
........
r121865 | pault | 2007-02-12 15:39:51 -0800 (Mon, 12 Feb 2007) | 11 lines
2007-02-13 Paul Thomas <pault@gcc.gnu.org>
* module.c (read_module): Set pointer_info to referenced if the
symbol has no namespace.
2007-02-12 Paul Thomas <pault@gcc.gnu.org>
* gfortran.dg/used_dummy_types_7.f90: New test.
........
r121866 | tromey | 2007-02-12 15:52:39 -0800 (Mon, 12 Feb 2007) | 16 lines
libjava/classpath
* java/util/Collections.java (UnmodifiableMap.toArray): Imported
changes from Classpath.
libjava
* sources.am, Makefile.in: Rebuilt.
* java/lang/Socket.java: Removed override.
* java/lang/DatagramSocket.java: Removed override.
* gnu/java/net/PlainSocketImpl.java (localSocketAddress): New
field.
(getLocalAddress): New method.
* gnu/java/net/PlainDatagramSocketImpl.java
(PlainDatagramSocketImpl): Throws IOException.
* gnu/java/net/natPlainSocketImplPosix.cc (write): Remove
'sizeof'.
(read): Likewise.
........
r121867 | mueller | 2007-02-12 15:55:17 -0800 (Mon, 12 Feb 2007) | 6 lines
2007-02-13 Dirk Mueller <dmueller@suse.de>
* friend.c (do_friend): Annotate warning about friend
declarations in templates with OPT_Wnon_template_friend.
Convert informal message from warning() to inform().
........
r121869 | manu | 2007-02-12 16:13:29 -0800 (Mon, 12 Feb 2007) | 4 lines
2007-02-12 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* alias.c (find_symbolic_term): Delete unused function.
........
r121873 | gccadmin | 2007-02-12 16:17:49 -0800 (Mon, 12 Feb 2007) | 1 line
Daily bump.
........
r121875 | paolo | 2007-02-12 16:25:30 -0800 (Mon, 12 Feb 2007) | 17 lines
2007-02-12 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_heap.h (__adjust_heap(_RandomAccessIterator,
_Distance, _Distance, _Tp), __adjust_heap(_RandomAccessIterator,
_Distance, _Distance, _Tp, _Compare)): Avoid potential integer
overflow.
* include/bits/stl_heap.h (__is_heap(_RandomAccessIterator,
_RandomAccessIterator), __is_heap(_RandomAccessIterator,
_RandomAccessIterator, _StrictWeakOrdering): Mark inline.
(make_heap(_RandomAccessIterator, _RandomAccessIterator,
_Compare)): Do not mark inline.
* include/bits/stl_heap.h (push_heap(_RandomAccessIterator,
_RandomAccessIterator), sort_heap(_RandomAccessIterator,
_RandomAccessIterator)): Uncomment __glibcxx_requires_heap.
........
r121876 | manu | 2007-02-12 16:29:17 -0800 (Mon, 12 Feb 2007) | 9 lines
2007-02-13 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* c-typeck.c (c_finish_return): Improve warning message.
testsuite/
* gcc.dg/c90-return-1.c: Update output.
* gcc.dg/c99-return-1.c: Likewise.
........
r121877 | rth | 2007-02-12 17:20:02 -0800 (Mon, 12 Feb 2007) | 8 lines
* config/i386/i386.md (fixuns_trunc<SSEMODEF>si_1): New insn.
(fixuns_trunc<SSEMODEF>si2): Use it.
* config/i386/sse.md (vec_setv4sf_0): Export.
* config/i386/i386.c (ix86_build_const_vector): Export.
(ix86_split_convert_uns_si_sse): Rename from
ix86_expand_convert_uns_si_sse and rewrite as a splitter.
* config/i386/i386-protos.h: Update.
........
r121878 | kseitz | 2007-02-12 18:44:51 -0800 (Mon, 12 Feb 2007) | 5 lines
* jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast
from jthread to Thread *; it is no longer needed.
(_Jv_JVMTI_GetFrameCount): Likewise.
Fix small formatting typo.
........
r121879 | krebbel | 2007-02-12 23:54:40 -0800 (Mon, 12 Feb 2007) | 6 lines
2007-02-13 Andreas Krebbel <krebbel1@de.ibm.com>
* src/s390/ffi.c (ffi_prep_args, ffi_prep_cif_machdep,
ffi_closure_helper_SYSV): Add long double handling.
........
r121881 | mueller | 2007-02-13 02:13:04 -0800 (Tue, 13 Feb 2007) | 5 lines
2007-02-13 Dirk Mueller <dmueller@suse.de>
* include/bits/locale_facets.tcc (num_get<>::do_get): Avoid
warning about ambiguous else.
........
r121882 | drow | 2007-02-13 05:39:19 -0800 (Tue, 13 Feb 2007) | 5 lines
* configure.ac: Remove obsolete build / host tests. Use AC_PROG_CC
unconditionally. Use AC_PROG_CXX. Use ACX_TOOL_DIRS to find $prefix.
* configure: Regenerated.
........
r121883 | uros | 2007-02-13 06:03:03 -0800 (Tue, 13 Feb 2007) | 10 lines
* config/i386/i386.md (cmpdi_ccno_1_rex64, *cmpsi_ccno_1,
*cmphi_ccno_1, *cmpqi_ccno_1, *movsi_xor, *movstricthi_xor,
*movstrictqi_xor, *movdi_xor_rex64, *ashldi3_1_rex64,
*ashldi3_cmp_rex64, *ashldi3_cconly_rex64, ashlsi3, *ashlsi3_1_zext,
*ashlsi3_cmp, *ashlsi3_cconly, *ashlsi3_cmp_zext, *ashlhi3_1_lea,
*ashlhi3_1, *ashlhi3_cmp, *ashlhi3_cconly, *ashlqi3_1_lea,
*ashlqi3_1, *ashlqi3_cmp, *ashlqi3_cconly): Remove equivalent
assembler dialect choice from asm templates.
........
r121884 | rth | 2007-02-13 08:42:12 -0800 (Tue, 13 Feb 2007) | 9 lines
* config/i386/i386.md (bswapsi_1): Rename from bswapsi2,
remove flags clobber.
(bswapsi2): New expander, emit code for !TARGET_BSWAP.
(bswaphi_lowpart): New.
(bswapdi2): Rename from bswapdi2_rex, remove flags clobber,
remove TARGET_BSWAP test. Delete expander of the same name.
* optabs.c (widen_bswap, expand_doubleword_bswap): New.
(expand_unop): Use them.
........
r121885 | rth | 2007-02-13 08:56:32 -0800 (Tue, 13 Feb 2007) | 2 lines
* gcc.c-torture/execute/ieee/pr29302-1.c: Moved from...
* gcc.c-torture/execute/pr29302-1.c: ... here.
........
r121886 | rth | 2007-02-13 09:29:35 -0800 (Tue, 13 Feb 2007) | 2 lines
* config/alpha/alpha.c (alpha_stdarg_optimize_hook): Strip
handled_component_p before looking for the indirect_ref.
........
r121887 | aph | 2007-02-13 10:25:47 -0800 (Tue, 13 Feb 2007) | 6 lines
2007-02-13 Andrew Haley <aph@redhat.com>
* testsuite/libjava.lang/Divide_2.out
* testsuite/libjava.lang/Divide_2.java: New test.
........
r121889 | kseitz | 2007-02-13 10:57:01 -0800 (Tue, 13 Feb 2007) | 5 lines
* gnu/classpath/jdwp/natVMVirtualMachine.cc
(jdwpBreakpointCB): New function.
(jdwpVMInitCB): Define and enable the breakpoint
callback.
........
r121891 | stuart | 2007-02-13 11:02:57 -0800 (Tue, 13 Feb 2007) | 2 lines
* gcc/config/i386/i386.md (fixuns_truncdfhi2): Require SSE2.
........
r121892 | sayle | 2007-02-13 12:42:42 -0800 (Tue, 13 Feb 2007) | 4 lines
* gcc.target/ia64/builtin-bswap-2.c: New test case.
........
r121893 | drow | 2007-02-13 13:27:11 -0800 (Tue, 13 Feb 2007) | 3 lines
* configure.ac (target_libraries): Move libgcc before libiberty.
* configure: Regenerated.
........
r121894 | ian | 2007-02-13 14:18:26 -0800 (Tue, 13 Feb 2007) | 4 lines
* lower-subreg.c (resolve_simple_move): Decompose subregs in
addresses.
........
r121895 | ian | 2007-02-13 14:34:45 -0800 (Tue, 13 Feb 2007) | 92 lines
./:
* common.opt: Add Wstrict-overflow and Wstrict-overflow=.
* flags.h (warn_strict_overflow): Declare.
(enum warn_strict_overflow_code): Define.
(issue_strict_overflow_warning): New static inline function.
* opts.c (warn_strict_overflow): New variable.
(common_handle_option): Handle OPT_Wstrict_overflow and
OPT_Wstrict_overflow_.
* c-opts.c (c_common_handle_option): Set warn_strict_overflow for
OPT_Wall.
* fold-const.c: Include intl.h.
(fold_deferring_overflow_warnings): New static variable.
(fold_deferred_overflow_warning): New static variable.
(fold_deferred_overflow_code): New static variable.
(fold_defer_overflow_warnings): New function.
(fold_undefer_overflow_warnings): New function.
(fold_undefer_and_ignore_overflow_warnings): New function.
(fold_deferring_overflow_warnings_p): New function.
(fold_overflow_warning): New static function.
(make_range): Add strict_overflow_p parameter. Change all
callers.
(extract_muldiv, extract_muldiv_1): Likewise.
(fold_unary) [ABS_EXPR]: Check ABS_EXPR before calling
tree_expr_nonnegative_p.
(fold_negate_expr): Call fold_overflow_warning.
(fold_range_test): Likewise.
(fold_comparison): Likewise.
(fold_binary): Likewise. Call tree_expr_nonnegative_warnv_p
instead of tree_expr_nonnegative_p.
(tree_expr_nonnegative_warnv_p): Rename from
tree_expr_nonnegative_p, add strict_overflow_p parameter.
(tree_expr_nonnegative_p): New function.
(tree_expr_nonzero_warnv_p): Rename from tree_expr_nonzero_p, add
strict_overflow_p parameter.
(tree_expr_nonzero_p): New function.
* passes.c (verify_interpass_invariants): New static function.
(execute_one_pass): Call it.
* tree-ssa-loop-niter.c (expand_simple_operations): Ignore fold
warnings.
(number_of_iterations_exit, loop_niter_by_eval): Likewise.
(estimate_numbers_of_iterations): Likewise.
(scev_probably_wraps_p): Likewise.
* tree-ssa-ccp.c: Include "toplev.h".
(evaluate_stmt): Defer fold overflow warnings until we know we are
going to optimize.
(struct fold_stmt_r_data): Add stmt field.
(fold_stmt_r): Defer fold overflow warnings until we know we
optimized.
(fold_stmt): Initialize stmt field of fold_stmt_r_data.
(fold_stmt_inplace): Likewise.
* tree-cfgcleanup.c: Include "toplev.h" rather than "errors.h".
(cleanup_control_expr_graph): Defer fold overflow warnings until
we know we are going to optimize.
* tree-cfg.c (fold_cond_expr_cond): Likewise.
* tree-ssa-threadedge.c (simplify_control_stmt_condition):
Likewise.
* tree-vrp.c (vrp_expr_computes_nonnegative): Call
tree_expr_nonnegative_warnv_p instead of tree_expr_nonnegative_p.
* tree-ssa-loop-manip.c (create_iv): Likewise.
* c-typeck.c (build_conditional_expr): Likewise.
(build_binary_op): Likewise.
* tree-vrp.c (vrp_expr_computes_nonzero): Call
tree_expr_nonzero_warnv_p instead of tree_expr_nonzero_p.
(extract_range_from_unary_expr): Likewise.
* simplify-rtx.c (simplify_const_relational_operation): Warn when
assuming that signed overflow does not occur.
* c-common.c (pointer_int_sum): Ignore fold overflow warnings.
* tree.h (tree_expr_nonnegative_warnv_p): Declare.
(fold_defer_overflow_warnings): Declare.
(fold_undefer_overflow_warnings): Declare.
(fold_undefer_and_ignore_overflow_warnings): Declare.
(fold_deferring_overflow_warnings_p): Declare.
(tree_expr_nonzero_warnv_p): Declare.
* doc/invoke.texi (Option Summary): Add -Wstrict-overflow to list
of warning options.
(Warning Options): Document -Wstrict-overflow.
* Makefile.in (tree-ssa-threadedge.o): Depend on toplev.h.
(tree-ssa-ccp.o): Likewise.
(tree-cfgcleanup.o): Change errors.h dependency to toplev.h.
(fold-const.o): Depend on intl.h.
testsuite/:
* gcc.dg/Wstrict-overflow-1.c: New test.
* gcc.dg/Wstrict-overflow-2.c: New test.
* gcc.dg/Wstrict-overflow-3.c: New test.
* gcc.dg/Wstrict-overflow-4.c: New test.
* gcc.dg/Wstrict-overflow-5.c: New test.
* gcc.dg/Wstrict-overflow-6.c: New test.
* gcc.dg/Wstrict-overflow-7.c: New test.
* gcc.dg/Wstrict-overflow-8.c: New test.
* gcc.dg/Wstrict-overflow-9.c: New test.
* gcc.dg/Wstrict-overflow-10.c: New test.
........
r121900 | gccadmin | 2007-02-13 16:17:48 -0800 (Tue, 13 Feb 2007) | 1 line
Daily bump.
........
r121902 | pbrook | 2007-02-13 16:29:52 -0800 (Tue, 13 Feb 2007) | 18 lines
2007-02-13 Paul Brook <paul@codesourcery.com>
gcc/
* config.gcc: Add arm*-*-uclinux-*eabi.
* config/arm/uclinux-elf.h (TARGET_OS_CPP_BUILTINS): Define.
(SUBTARGET_EXTRA_LINK_SPEC): Define.
(STARTFILE_SPEC, ENDFILE_SPEC): Remove broken -shared handling.
(LINK_GCC_C_SEQUENCE_SPEC): Undef.
(LINK_SPEC): Define.
(LIB_SPEC): Define.
* config/arm/arm.c (arm_override_options): Use r9 as EABI PIC
register.
* config/arm/uclinux-eabi.h: New file.
* config/arm/linux-eabi.h (WCHAR_TYPE): Remove.
* config/arm/linux-gas.h (WCHAR_TYPE): Use unsigned long on AAPCS
based targets.
........
r121903 | spark | 2007-02-13 21:01:14 -0800 (Tue, 13 Feb 2007) | 6 lines
2007-02-13 Seongbae Park <seongbae.park@gmail.com>
* bitmap.c (bitmap_and, bitmap_and_compl, bitmap_xor):
Ensure dst->current is valid.
........
r121946 | nickc | 2007-02-14 00:27:01 -0800 (Wed, 14 Feb 2007) | 3 lines
* builtin-types.def (DEF_FUNCTION_TYPE_x): Do not imply that at most 3 arguments are supported.
(DEF_FUNCTION_TYPE_VAR_5): Fix typo in its description.
........
r121947 | bkoz | 2007-02-14 03:07:17 -0800 (Wed, 14 Feb 2007) | 7 lines
2007-02-14 Benjamin Kosnik <bkoz@redhat.com>
* configure.ac: Move AM_ICONV to native-only, add HAVE_ICONV for
newlib.
* configure: Regenerate.
........
r121948 | gerald | 2007-02-14 05:19:26 -0800 (Wed, 14 Feb 2007) | 2 lines
* ltconfig (freebsd*): Default to elf.
........
r121950 | dorit | 2007-02-14 06:10:57 -0800 (Wed, 14 Feb 2007) | 9 lines
* tree-vect-analyze.c (vect_determine_vectorization_factor): Traverse
also phi nodes.
(vect_analyze_operations): Induction phis can now be marked as
used_in_loop.
(vect_mark_stmts_to_be_vectorized): No special treatment for phis.
Update documentation accordingly.
........
r121951 | rguenth | 2007-02-14 08:45:23 -0800 (Wed, 14 Feb 2007) | 4 lines
2007-02-14 Richard Guenther <rguenther@suse.de>
* flags.h (issue_strict_overflow_warning): Convert to a macro.
........
r121953 | rth | 2007-02-14 09:52:25 -0800 (Wed, 14 Feb 2007) | 5 lines
* tree-sra.c (early_sra): New.
(decl_can_be_decomposed_p): Deny va_list if early_sra.
(tree_sra_early, pass_sra_early): New.
* tree-pass.h (pass_sra_early): Declare.
* passes.c (init_optimization_passes): Use it.
........
r121955 | aph | 2007-02-14 11:31:58 -0800 (Wed, 14 Feb 2007) | 6 lines
2007-02-14 Jakub Jelinek <jakub@redhat.com>
Andrew Haley <aph@redhat.com>
* java/util/TimeZone.java (getDateParams): Negate dayOfWeek.
........
r121956 | brooks | 2007-02-14 11:51:43 -0800 (Wed, 14 Feb 2007) | 2 lines
* gfortran.dg/interface_10.f90: Fix comment typo.
........
r121957 | aph | 2007-02-14 11:53:22 -0800 (Wed, 14 Feb 2007) | 6 lines
2007-02-14 Jakub Jelinek <jakub@redhat.com>
Andrew Haley <aph@redhat.com>
* java/util/TimeZone.java (getDateParams): Negate dayOfWeek.
........
r121958 | kargl | 2007-02-14 12:02:39 -0800 (Wed, 14 Feb 2007) | 2 lines
Fix a potential buffer overflow.
........
r121959 | hp | 2007-02-14 12:15:29 -0800 (Wed, 14 Feb 2007) | 4 lines
* testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc:
Xfail ICE for cris-*-*.
........
r121966 | rakdver | 2007-02-14 13:54:44 -0800 (Wed, 14 Feb 2007) | 4 lines
* passes.c (next_pass_1): Clear the next field of the copied
pass structure.
........
r121967 | rakdver | 2007-02-14 14:06:11 -0800 (Wed, 14 Feb 2007) | 7 lines
* tree-dump.c (dump_switch_p_1): Require exact match of the option
name.
* gcc.dg/tree-prof/update-tailcall.c: Use -fdump-tree-tailc
instead of -fdump-tree-tailcall.
........
r121968 | jsm28 | 2007-02-14 15:38:01 -0800 (Wed, 14 Feb 2007) | 7 lines
* emit-rtl.c (set_mem_attributes_minus_bitpos): Treat complex
types as aggregates not scalars.
* function.c (assign_stack_temp_for_type): Likewise.
testsuite:
* gcc.dg/torture/complex-alias-1.c: New test.
........
r121972 | gccadmin | 2007-02-14 16:17:48 -0800 (Wed, 14 Feb 2007) | 1 line
Daily bump.
........
r121974 | kargl | 2007-02-14 16:58:01 -0800 (Wed, 14 Feb 2007) | 6 lines
2007-02-14 Steven G. Kargl <kargl@gcc.gnu.org>
* primary.c (match_logical_constant): Return MATCH_ERROR on invalid kind.
* gfortran.dg/logical_2.f90: New test.
........
r121976 | ghazi | 2007-02-14 19:14:39 -0800 (Wed, 14 Feb 2007) | 3 lines
* g++.dg/tree-ssa/nothrow-1.C: Skip test if -fpic/-fPIC is used.
........
r121979 | aoliva | 2007-02-14 20:19:33 -0800 (Wed, 14 Feb 2007) | 6 lines
gcc/ChangeLog:
* dwarf2out.c (dwarf2out_finish): Accept namespaces as context of
limbo die nodes.
gcc/testsuite/ChangeLog:
* g++.dg/ext/interface4.C, g++.dg/ext/interface4.h: New.
........
r121980 | aoliva | 2007-02-14 20:24:50 -0800 (Wed, 14 Feb 2007) | 9 lines
gcc/ChangeLog:
* tree-sra.c (instantiate_missing_elements): Canonicalize
bit-field types.
(sra_build_assignment): New.
(generate_copy_inout, generate_element_copy,
generate_element_zero, generate_one_element_init): Use it.
gcc/testsuite/ChangeLog:
* g++.dg/tree-ssa/sra-1.C: New.
........
r121981 | aoliva | 2007-02-14 20:47:23 -0800 (Wed, 14 Feb 2007) | 4 lines
* config/frv/frv.md (reload_incc, reload_outcc, reload_incc_uns,
reload_outcc_uns, reload_incc_nz, reload_outcc_nz): Remove
invalid patterns.
........
r121982 | jvdelisle | 2007-02-14 22:48:09 -0800 (Wed, 14 Feb 2007) | 6 lines
2007-02-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* scanner.c (gfc_next_char_literal): Add check for end of file after
call to advance_line.
........
r121983 | jvdelisle | 2007-02-14 22:51:42 -0800 (Wed, 14 Feb 2007) | 5 lines
2007-02-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* gfortran.dg/error_recovery_3.f90: New test.
........
r121984 | jvdelisle | 2007-02-14 22:55:48 -0800 (Wed, 14 Feb 2007) | 4 lines
2007-02-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* gfortran.fortran-torture/execute/math.f90: Fix typo.
........
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/fixed-point@122357 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
svn+ssh://chaoyingfu@sources.redhat.com/svn/gcc/trunk
........
r121339 | rsandifo | 2007-01-30 07:07:34 -0800 (Tue, 30 Jan 2007) | 3 lines
gcc/
* cfgrtl.c (try_redirect_by_replacing_jump): Check only_sets_cc0_p.
........
r121340 | tromey | 2007-01-30 07:46:01 -0800 (Tue, 30 Jan 2007) | 5 lines
* macro.c (lex_expansion_token): Save and restore cpp_reader's
cur_token.
(_cpp_create_definition): Don't restore cur_token here.
* lex.c (_cpp_lex_token): Added assertion.
........
r121341 | tromey | 2007-01-30 07:50:00 -0800 (Tue, 30 Jan 2007) | 3 lines
* mkdeps.c (apply_vpath): Strip successive '/'s if we stripped
'./'.
........
r121342 | mueller | 2007-01-30 08:20:06 -0800 (Tue, 30 Jan 2007) | 6 lines
2007-01-30 Dirk Mueller <dmueller@suse.de>
* doc/invoke.texi (-Wreturn-type): Update description to
match new behavior.
........
r121345 | sayle | 2007-01-30 09:13:12 -0800 (Tue, 30 Jan 2007) | 4 lines
* gcc.dg/large-size-array-3.c: Correct typo.
........
r121347 | sje | 2007-01-30 09:49:24 -0800 (Tue, 30 Jan 2007) | 5 lines
* trans-types.c (gfc_get_function_type): Do not add void_type_node
to empty arg list.
* trans-decl.c (create_function_arglist): Change assert.
........
r121349 | bkoz | 2007-01-30 10:04:59 -0800 (Tue, 30 Jan 2007) | 27 lines
2007-01-30 Benjamin Kosnik <bkoz@redhat.com>
* include/ext/pb_ds/detail/type_utils.hpp: Use C++0x
static_assert if available, if not, centralize PB_DS_STATIC_ASSERT
definition here.
* include/ext/pb_ds/detail/resize_policy/
cc_hash_max_collision_check_resize_trigger_imp.hpp: Remove
PB_DS_STATIC_ASSERT definition.
* include/ext/pb_ds/detail/resize_policy/
hash_load_check_resize_trigger_imp.hpp: Same.
* include/ext/pb_ds/detail/resize_policy/
hash_standard_resize_policy_imp.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/internal_node.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
* include/ext/pb_ds/detail/ov_tree_map_/node_iterators.hpp: Same.
* include/ext/pb_ds/trie_policy.hpp: Same.
* testsuite/util/performance/assoc/timing/
tree_order_statistics_test.hpp: Same.
* testsuite/ext/pb_ds/example/hash_resize_neg.cc: Adjust line numbers.
* testsuite/17_intro/headers_c++_c++0x_compat.cc: New.
* include/precompiled/extc++.h: Update to current list of ext files.
........
r121354 | tromey | 2007-01-30 11:42:02 -0800 (Tue, 30 Jan 2007) | 4 lines
2007-01-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* gcj.texi (Invoking gcjh, Invoking gjnih, Arrays): Fix some
typos.
........
r121356 | tromey | 2007-01-30 11:58:19 -0800 (Tue, 30 Jan 2007) | 1 line
* gcj.texi (Strings): Fix documentation for JvNewString.
........
r121358 | janis | 2007-01-30 12:23:25 -0800 (Tue, 30 Jan 2007) | 3 lines
* doc/extend.texi (Decimal Floating Types): Remove decfloat.h from
the list of discrepancies from the draft TR.
........
r121359 | brooks | 2007-01-30 12:26:52 -0800 (Tue, 30 Jan 2007) | 5 lines
2007-01-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* invoke.texi (Code Gen Options): Fix abbreviation typo.
* intrinsic.texi (ACCESS, LSHIFT, RSHIFT): Fix typos.
........
r121360 | dfranke | 2007-01-30 13:16:30 -0800 (Tue, 30 Jan 2007) | 6 lines
2007-01-29 Daniel Franke <franke.daniel@gmail.com>
* libgomp.texi: More about implementation-dependent settings.
........
r121361 | manu | 2007-01-30 14:29:11 -0800 (Tue, 30 Jan 2007) | 14 lines
2007-01-30 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* doc/invoke.texi (Wpointer-arith): Document warning.
cp/
* typeck.c (build_binary_op): Fix logic for warning. Move warning
to -Wpointer-arith.
* call.c (convert_like_real): Don't warn when converting to
boolean type.
testsuite/
* g++.dg/warn/null4.C: New.
........
r121362 | andreast | 2007-01-30 14:31:28 -0800 (Tue, 30 Jan 2007) | 5 lines
2007-01-30 Andreas Tobler <a.tobler@schweiz.org>
* testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
cast to print it right.
........
r121363 | tromey | 2007-01-30 14:53:40 -0800 (Tue, 30 Jan 2007) | 2 lines
* Makefile.in: Rebuilt.
* Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
........
r121364 | bje | 2007-01-30 15:12:29 -0800 (Tue, 30 Jan 2007) | 3 lines
* strsignal.c (psignal): Change type of signo to int.
* functions.texi: Regenerate.
........
r121369 | gccadmin | 2007-01-30 16:18:06 -0800 (Tue, 30 Jan 2007) | 1 line
Daily bump.
........
r121371 | sayle | 2007-01-30 18:15:45 -0800 (Tue, 30 Jan 2007) | 5 lines
* error.c (dump_type_suffix): Avoid use of cp_build_binary_op when
calculating the size of an array (to avoid recursive errors).
........
r121372 | kazu | 2007-01-30 19:33:15 -0800 (Tue, 30 Jan 2007) | 2 lines
* class.c, jcf-parse.c: Fix comment typos.
........
r121373 | kazu | 2007-01-30 19:35:59 -0800 (Tue, 30 Jan 2007) | 2 lines
* simplify.c, trans-array.c: Fix comment typos.
........
r121374 | kazu | 2007-01-30 19:45:38 -0800 (Tue, 30 Jan 2007) | 5 lines
* cgraphunit.c, config/arm/arm.c, config/m68k/m68k.c,
ipa-inline.c, tree-profile.c, tree-ssa-live.c,
tree-ssa-math-opts.c, tree-ssanames.c, tree-vect-analyze.c,
value-prof.c: Fix comment typos.
........
r121375 | kazu | 2007-01-30 21:06:08 -0800 (Tue, 30 Jan 2007) | 3 lines
* config/i386/i386.h (NON_QI_REG_P): Remove.
* config/i386/predicates.md (non_q_regs_operand): Remove.
........
r121376 | echristo | 2007-01-30 21:16:23 -0800 (Tue, 30 Jan 2007) | 4 lines
2007-01-30 Eric Christopher <echristo@apple.com>
* config.gcc: Add geode.
........
r121377 | kazu | 2007-01-30 21:23:09 -0800 (Tue, 30 Jan 2007) | 2 lines
* gcc/config/arm/unwind-arm.h (_sleb128_t, _uleb128_t): New.
........
r121379 | burnus | 2007-01-31 01:18:33 -0800 (Wed, 31 Jan 2007) | 18 lines
fortran/
2007-01-31 Tobias Burnus <burnus@net-b.de>
* interface.c (compare_actual_formal): Check conformance between
actual and VOLATILE dummy arguments.
* symbol.c (gfc_add_volatile): Allow setting of VOLATILE
multiple times in different scopes.
* decl.c (gfc_match_volatile): Search symbol in host association.
testsuite/
2007-01-31 Tobias Burnus <burnus@net-b.de>
* gfortran.dg/volatile8.f90: New argument conformance test.
* gfortran.dg/volatile9.f90: New scope test.
........
r121401 | burnus | 2007-01-31 02:23:53 -0800 (Wed, 31 Jan 2007) | 8 lines
(This part was missing in the r118852 / Wed Nov 15 10:13:16 2006 check in)
2007-01-31 Tobias Burnus <burnus@net-b.de>
* gfortran.dg/char_bounds_check_fail_1.f90: Add test.
........
r121419 | uros | 2007-01-31 04:30:20 -0800 (Wed, 31 Jan 2007) | 21 lines
* optabs.h (enum optab_index): Add new OTI_isinf.
(isinf_optab): Define corresponding macro.
* optabs.c (init_optabs): Initialize isinf_optab.
* genopinit.c (optabs): Implement isinf_optab using isinf?f2
patterns.
* builtins.c (mathfn_built_in): Handle BUILT_IN_ISINF{,F,L}.
(expand_builtin_interclass_mathfn): Expand BUILT_IN_ISINF{,F,L}
using isinf_optab.
(expand_builtin): Expand BUILT_IN_ISINF{,F,L} using
expand_builtin_interclass_mathfn.
* reg_stack.c (subst_stack_regs_pat): Handle UNSPEC_FXAM.
* config/i386/i386.md (UNSPEC_FXAM): New constant.
(fxam<mode>2_i387): New insn pattern.
(isinf<mode>2) New expander to implement isinf, isinff and isinfl
built-in functions as x87 inline asm.
testsuite/ChangeLog:
* gcc.dg/builtins-63.c: New test.
........
r121420 | irar | 2007-01-31 05:42:00 -0800 (Wed, 31 Jan 2007) | 4 lines
* gcc.dg/vect/vect-37.c: Restore the original behaivior - xfail to
vectorize.
........
r121421 | mueller | 2007-01-31 05:43:40 -0800 (Wed, 31 Jan 2007) | 9 lines
2007-01-31 Dirk Mueller <dmueller@suse.de>
* c-common.c (warn_about_parentheses): Separate warning about
un-parenthized sequence of comparison operators from the one
which is supposed to warn about x <= y <= z.
* testsuite/gcc.dg/Wparentheses-2.c: Update and add new tests.
........
r121422 | rakdver | 2007-01-31 05:50:06 -0800 (Wed, 31 Jan 2007) | 22 lines
* cfgloop.h: Include vec-prim.h.
(enum li_flags): Remove LI_ONLY_OLD.
(loop_iterator): Changed.
(fel_next, fel_init): Iterate over loop tree.
(FOR_EACH_LOOP_BREAK): New macro.
* loop-unswitch.c (unswitch_loops): Do not pass LI_ONLY_OLD to
FOR_EACH_LOOP.
* tree-ssa-loop-unswitch.c (tree_ssa_unswitch_loops): Ditto.
* modulo-sched.c (sms_schedule): Ditto.
* tree-vectorizer.c (vectorize_loops): Ditto.
* doc/loop.texi: Update information on loop numbering and behavior of
FOR_EACH_LOOP wrto new loops.
* tree-scalar-evolution.c (compute_overall_effect_of_inner_loop,
add_to_evolution_1): Test nestedness of loops instead of comparing
their numbers.
* tree-chrec.c (chrec_fold_plus_poly_poly,
chrec_fold_multiply_poly_poly, chrec_evaluate,
hide_evolution_in_other_loops_than_loop, chrec_component_in_loop_num,
reset_evolution_in_loop): Ditto.
* Makefile.in (CFGLOOP_H): Add vecprim.h dependency.
........
r121423 | ghazi | 2007-01-31 07:06:19 -0800 (Wed, 31 Jan 2007) | 8 lines
* builtins.c (fold_builtin_sqrt): Use MPFR for constant args.
testsuite:
* gcc.dg/torture/builtin-math-2.c: Add sqrt cases.
* gcc.dg/torture/builtin-math-3.c: Likewise.
........
r121424 | tromey | 2007-01-31 09:06:33 -0800 (Wed, 31 Jan 2007) | 6 lines
* resource/gnu/classpath/tools/jar/messages.properties
(Main.Stdin): New message.
* tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add
'-@' option.
(readNames): New method.
(run): Use it.
........
r121425 | tromey | 2007-01-31 09:11:11 -0800 (Wed, 31 Jan 2007) | 4 lines
* configure, include/config.h.in: Rebuilt.
* configure.ac: Check for magic_t in magic.h.
* java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
........
r121426 | aesok | 2007-01-31 09:23:49 -0800 (Wed, 31 Jan 2007) | 3 lines
* config/avr/avr.c (DWARF2_ADDR_SIZE): Define.
........
r121429 | tromey | 2007-01-31 09:38:55 -0800 (Wed, 31 Jan 2007) | 3 lines
* configure, Makefile.in: Rebuilt.
* configure.ac (JAR): Check for -@ feature.
* Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
........
r121430 | vprus | 2007-01-31 10:40:34 -0800 (Wed, 31 Jan 2007) | 11 lines
include/
* libiberty.h (PEX_STDERR_TO_PIPE): New define.
(PEX_BINARY_ERROR): New define.
(pex_read_err): New function.
libiberty/
* pex-common.h (struct pex_obj): New fields
stderr_pipe and read_err.
* pex-common.c (pex_init_common): Initialize
stderr_pipe.
........
r121433 | aph | 2007-01-31 11:04:35 -0800 (Wed, 31 Jan 2007) | 6 lines
2007-01-31 Andrew Haley <aph@redhat.com>
* prims.cc (_Jv_Abort): fflush (stderr).
* java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
........
r121435 | dj | 2007-01-31 12:05:50 -0800 (Wed, 31 Jan 2007) | 4 lines
* hex.c: Fix typo.
* choose-temp.c: Likewise.
* functions.texi: Regenerate.
........
r121436 | kseitz | 2007-01-31 12:51:54 -0800 (Wed, 31 Jan 2007) | 3 lines
* testsuite/libjava.jvmti/getmethodname.h: New file.
* testsuite/libjava.jvmti/getmethodname.jar: New file.
........
r121437 | tromey | 2007-01-31 13:23:44 -0800 (Wed, 31 Jan 2007) | 4 lines
* scripts.am, Makefile.in: Rebuilt.
* scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
as 'ordinary'.
(emit_ordinary_rule): New proc.
........
r121438 | andreast | 2007-01-31 13:28:28 -0800 (Wed, 31 Jan 2007) | 5 lines
2007-01-31 Andreas Tobler <a.tobler@schweiz.org>
* testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
-shared-libgcc to the cxxflaglist for Darwin.
........
r121439 | dfranke | 2007-01-31 13:29:19 -0800 (Wed, 31 Jan 2007) | 7 lines
2007-01-31 Daniel Franke <franke.daniel@gmail.com>
* acx.m4 (ACX_PROG_CHECK_VER): Locate a program and check that its
version is acceptable.
........
r121440 | dfranke | 2007-01-31 13:30:16 -0800 (Wed, 31 Jan 2007) | 12 lines
2007-01-31 Daniel Franke <franke.daniel@gmail.com>
* configure.ac: Add check for makeinfo
* Makefile.am: Redefined target libgomp.info, build libgomp.info only
if an appropiate version of makeinfo is found.
* aclocal.m4: Regenerated.
* configure: Regenerated.
* Makefile.in: Regenerated.
* testsuite/Makefile.in: Regenerated.
........
r121441 | schwab | 2007-01-31 14:22:50 -0800 (Wed, 31 Jan 2007) | 3 lines
* Makefile.tpl (LDFLAGS): Substitute it.
* Makefile.in: Regenerate.
........
r121442 | kseitz | 2007-01-31 15:25:39 -0800 (Wed, 31 Jan 2007) | 11 lines
* include/jvmti-int.h (JVMTI): Declare member "enabled".
* jvmti.cc (JVMTI): Add member "enabled".
(_Jv_GetJVMTIEnv): Mark JVMTI enabled.
* interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
instead of gnu::classpath::jdwp::Jdwp::isDebugging.
(_Jv_CompileMethod): If JVMTI is enabled, use run_debug
instead of run to compile the method.
* interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
notification.
........
r121443 | kazu | 2007-01-31 15:46:54 -0800 (Wed, 31 Jan 2007) | 2 lines
* config/sh/sh.h (HAVE_SECONDARY_RELOADS): Remove.
........
r121444 | geoffk | 2007-01-31 16:01:22 -0800 (Wed, 31 Jan 2007) | 2 lines
* g++.dg/eh/simd-4.C (main): Also catch SIGSEGV.
........
r121449 | gccadmin | 2007-01-31 16:17:40 -0800 (Wed, 31 Jan 2007) | 1 line
Daily bump.
........
r121451 | tromey | 2007-01-31 16:27:48 -0800 (Wed, 31 Jan 2007) | 3 lines
* tools/Makefile.in: Rebuilt.
* tools/Makefile.am (noinst_SCRIPTS): Renamed from bin_SCRIPTS.
(noinst_DATA): Renamed from TOOLS_DATA.
........
r121453 | ian | 2007-01-31 17:09:35 -0800 (Wed, 31 Jan 2007) | 32 lines
gcc/:
* lower-subreg.c: New file.
* rtl.def (CONCATN): Define.
* passes.c (init_optimization_passes): Add pass_lower_subreg and
pass_lower_subreg2.
* emit-rtl.c (update_reg_offset): New static function, broken out
of gen_rtx_REG_offset.
(gen_rtx_REG_offset): Call update_reg_offset.
(gen_reg_rtx_offset): New function.
* regclass.c: Revert patch of 2006-03-05, restoring
reg_scan_update.
(clear_reg_info_regno): New function.
* dwarf2out.c (concatn_loc_descriptor): New static function.
(loc_descriptor): Handle CONCATN.
* common.opt (fsplit_wide_types): New option.
* opts.c (decode_options): Set flag_split_wide_types when
optimizing.
* timevar.def (TV_LOWER_SUBREG): Define.
* rtl.h (gen_reg_rtx_offset): Declare.
(reg_scan_update): Declare.
* regs.h (clear_reg_info_regno): Declare.
* tree-pass.h (pass_lower_subreg): Declare.
(pass_lower_subreg2): Declare.
* doc/invoke.texi (Option Summary): List -fno-split-wide-types.
(Optimize Options): Add -fsplit-wide-types to -O1 list. Document
-fsplit-wide-types.
* doc/rtl.texi (Regs and Memory): Document concat and concatn.
* Makefile.in (OBJS-common): Add lower-subreg.o.
(lower-subreg.o): New target.
gcc/testsuite/:
* gcc.dg/lower-subreg-1.c (test): New test.
........
r121455 | bje | 2007-01-31 19:05:18 -0800 (Wed, 31 Jan 2007) | 4 lines
* doc/invoke.texi: Replace "bugfix" with "bug fix" throughout.
* doc/contrib.texi: Likewise.
* doc/install.texi: Likewise.
........
r121456 | bje | 2007-01-31 20:04:34 -0800 (Wed, 31 Jan 2007) | 3 lines
* libsupc++/eh_alloc.cc (__cxa_free_exception): Don't refer to the
emergency_buffer using `&array[0][0]' notation, use `array'.
........
r121457 | brooks | 2007-01-31 21:36:17 -0800 (Wed, 31 Jan 2007) | 7 lines
2007-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/c-tree.texi (Expression trees): Improve markup.
* doc/tm.texi (Register Classes, Addressing Modes)
(Floating Point): Fix spacing after abbreviations. Fix some
typos.
........
r121458 | brooks | 2007-01-31 21:37:21 -0800 (Wed, 31 Jan 2007) | 4 lines
2007-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* libgomp.texi: Fix spacing after abbreviations.
........
r121460 | rguenth | 2007-02-01 02:27:17 -0800 (Thu, 01 Feb 2007) | 6 lines
2007-02-01 Richard Guenther <rguenther@suse.de>
* fold-const.c (fold_negate_expr): Allow negating a
constant if overflow does not change.
........
r121461 | paolo | 2007-02-01 05:36:51 -0800 (Thu, 01 Feb 2007) | 17 lines
2007-02-01 Paolo Carlini <pcarlini@suse.de>
* libsupc++/typeinfo (bad_cast::what, bad_typeid::what): Declare.
* libsupc++/tinfo.cc: Define.
* libsupc++/exception (bad_exception::what): Declare.
* libsupc++/eh_exception.cc: Define.
(exception::what): Adjust, don't use typeid.
* libsupc++/new (bad_alloc::what): Declare.
* libsupc++/new_handler.cc: Define.
* config/abi/pre/gnu.ver: Export the new methods @3.4.9; adjust
existing 3.4.10 exports to 3.4.9.
* configure.ac: Adjust to 6.0.9.
* configure: Regenerate.
* testsuite/util/testsuite_abi.cc: Update.
* testsuite/18_support/14493.cc: New.
........
r121462 | aph | 2007-02-01 06:34:11 -0800 (Thu, 01 Feb 2007) | 6 lines
2007-02-01 Andrew Haley <aph@redhat.com>
* jcf-parse.c (jcf_parse): Clear the field_offsets bitmap.
........
r121464 | rakdver | 2007-02-01 06:57:08 -0800 (Thu, 01 Feb 2007) | 4 lines
* toplev.c (lang_dependent_init): Call init_set_costs.
* loop-init.c (loop_optimizer_init): Do not call init_set_costs.
........
r121466 | ian | 2007-02-01 08:43:20 -0800 (Thu, 01 Feb 2007) | 3 lines
* lower-subreg.c (simplify_gen_subreg_concatn): If we ask for the
high part of a paradoxical subreg, return a constant zero.
........
r121468 | kseitz | 2007-02-01 10:58:58 -0800 (Thu, 01 Feb 2007) | 11 lines
* include/jvmti-int.h (JVMTI): Declare member "enabled".
* jvmti.cc (JVMTI): Add member "enabled".
(_Jv_GetJVMTIEnv): Mark JVMTI enabled.
* interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
instead of gnu::classpath::jdwp::Jdwp::isDebugging.
(_Jv_CompileMethod): If JVMTI is enabled, use run_debug
instead of run to compile the method.
* interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
notification.
........
r121470 | sayle | 2007-02-01 12:32:20 -0800 (Thu, 01 Feb 2007) | 29 lines
* alias.c (init_alias_analysis): Correct whitespace.
* bb-reorder.c (fix_edges_for_rarely_executed_code,
partition_hot_cold_basic_blocks): Likewise.
* builtins.c (expand_builtin_printf, expand_builtin_fprintf,
expand_builtin_sprintf, fold_builtin_carg, fold_builtin_sprintf,
maybe_emit_sprintf_chk_warning, fold_builtin_sprintf_chk,
fold_builtin_snprintf_chk, fold_builtin_printf,
fold_builtin_fprintf, do_mpfr_ckconv, do_mpfr_arg1, do_mpfr_arg2,
do_mpfr_arg3, do_mpfr_sincos): Likewise.
* cfgcleanup.c (cleanup_cfg): Likewise.
* cfgexpand.c (tree_expand_cfg): Likewise.
* fold-const.c (fold_binary) <RDIV_EXPR>: Likewise.
* function.c (get_next_funcdef_no): Likewise.
* gengtype.c (main): Likewise.
* genmodes.c (main): Likewise.
* gcse.c (bypass_conditional_jumps, print_ldst_list): Likewise.
* haifa-sched.c (schedule_block, extend_h_i_d): Likewise.
* ifcvt.c (noce_emit_move_insn): Likewise.
* modulo-sched.c (generate_prolog_epilog, sms_schedule_by_order):
Likewise.
* stor-layout.c (get_best_mode): Likewise.
* tree-ssa-loop-niter.c (get_val_for): Likewise.
* tree-ssa-structalias.c (get_varinfo, get_varinfo_fc,
scc_visit, do_ds_constraint, do_complex_constraint, label_visit,
perform_var_substitution, solve_graph): Likewise.
* tree-vrp.c (vrp_finalize): Likewise.
........
r121471 | tromey | 2007-02-01 12:34:08 -0800 (Thu, 01 Feb 2007) | 21 lines
* java/util/Calendar.java: Implement Comparable<Calendar>. Update
comments.
(clear): Call complete.
(setTimeZone): Call computeTime, computeFields.
(compareTo): New method.
* java/nio/charset/Charset.java: Implement Comparable<Charset>.
(availableCharsets): Genericized.
(aliases): Likewise.
(compareTo): Changed argument type.
* java/lang/ClassLoader.java (loadClass): Genericized.
(findClass): Likewise.
(defineClass): Likewise.
(resolveClass): Likewise.
(findSystemClass): Likewise.
(setSigners): Likewise.
(findLoadedClass): Likewise.
(getResources): Likewise.
(findResources): Likewise.
(getSystemResources): Likewise.
(checkInitialized): New method.
* java/lang/Class.java (getCanonicalName): New method.
........
r121473 | tromey | 2007-02-01 13:36:01 -0800 (Thu, 01 Feb 2007) | 17 lines
* java/util/logging/LogManager.java (loggers): Genericized.
(addLogger): Merged.
(findAncestor): Likewise.
(getLogger): Likewise.
(getLoggerNames): Genericized.
(reset): Merged.
(getLevelProperty): Likewise.
* java/lang/reflect/Method.java (getDeclaringClass): Genericized.
* java/lang/reflect/Constructor.java (getParameterTypes):
Genericized.
(getExceptionTypes): Likewise.
(newInstance): Likewise.
* java/lang/reflect/Array.java (newInstance): Genericized.
* java/lang/Object.java (getClass): Genericized.
* java/nio/charset/spi/CharsetProvider.java (charsets):
Genericized.
* java/text/Collator.java: Implement Comparable<Object>.
........
r121475 | tromey | 2007-02-01 15:00:01 -0800 (Thu, 01 Feb 2007) | 1 line
* java/lang/ClassLoader.java (getResources): No longer final.
........
r121477 | spark | 2007-02-01 15:15:13 -0800 (Thu, 01 Feb 2007) | 10 lines
2007-2-01 Seongbae Park <seongbae.park@gmail.com>
* global.c (global_alloc): Add mising initialization of
ELIMINABLE_REGSET.
2007-02-01 Roger Sayle <roger@eyesopen.com>
........
r121481 | gccadmin | 2007-02-01 16:17:46 -0800 (Thu, 01 Feb 2007) | 1 line
Daily bump.
........
r121483 | daney | 2007-02-01 17:33:01 -0800 (Thu, 01 Feb 2007) | 5 lines
* scripts/makemake.tcl: Replace gnu/xml build with build of all
its subpackages.
* sources.am: Regenerate.
* Makefile.in: Regenerate.
........
r121484 | geoffk | 2007-02-01 17:37:53 -0800 (Thu, 01 Feb 2007) | 3 lines
* config/rs6000/darwin.h (MD_UNWIND_SUPPORT): Don't define for
64-bit.
........
r121485 | geoffk | 2007-02-01 17:47:02 -0800 (Thu, 01 Feb 2007) | 4 lines
* config/rs6000/rs6000.c (rs6000_stack_info): Correct
altivec_padding_size calculation on AIX. Improve comment, add
assert to verify that it's right.
........
r121487 | danglin | 2007-02-01 18:09:36 -0800 (Thu, 01 Feb 2007) | 3 lines
* pa.md (tp_load): Correct mfctl instruction syntax.
........
r121489 | sayle | 2007-02-01 19:49:36 -0800 (Thu, 01 Feb 2007) | 7 lines
* trans-stmt.c (compute_overall_iter_number): Document function
arguments. Generalize "unconditional forall nest with constant
bounds" optimization to eliminate unconditional inner loops with
constant bounds.
........
r121490 | sayle | 2007-02-01 19:58:58 -0800 (Thu, 01 Feb 2007) | 7 lines
* dependency.c (gfc_check_dependency) <EXPR_ARRAY>: Implement
dependency checking for array constructors.
* gfortran.dg/dependency_20.f90: New test case.
........
r121491 | sayle | 2007-02-01 20:06:23 -0800 (Thu, 01 Feb 2007) | 7 lines
* trans-array.c (gfc_conv_expr_descriptor): We don't need to use
a temporary array to pass a constant non-character array constructor.
Generalize the descriptor generation code to handle scalarizer
"info" without an array reference.
........
r121493 | ian | 2007-02-01 23:20:35 -0800 (Thu, 01 Feb 2007) | 2 lines
* lower-subreg.c (resolve_clobber): Handle a subreg of a concatn.
........
r121494 | mkuvyrkov | 2007-02-02 01:11:11 -0800 (Fri, 02 Feb 2007) | 182 lines
* sched-int.h (ds_to_dk, dk_to_ds): Declare functions.
(struct _dep): New type.
(dep_t): New typedef.
(DEP_PRO, DEP_CON, DEP_KIND): New access macros.
(DEP_STATUS): New access macro. The macro with the same name was
renamed to DEP_LINK_STATUS.
(dep_init): Declare function
(struct _dep_link): New type.
(dep_link_t): New typedef.
(DEP_LINK_NODE, DEP_LINK_NEXT, DEP_LINK_PREV_NEXTP): New access macros.
(DEP_LINK_DEP, DEP_LINK_PRO, DEP_LINK_CON, DEP_LINK_KIND): New macros.
(DEP_LINK_STATUS): New macro.
(debug_dep_links): New debug function.
(struct _deps_list): New type.
(deps_list_t): New typedef.
(DEPS_LIST_FIRST): New access macro.
(FOR_EACH_DEP_LINK): New cycle macro.
(create_deps_list, free_deps_list, delete_deps_list): Declare
functions.
(deps_list_empty_p, debug_deps_list, add_back_dep_to_deps_list): Ditto.
(find_link_by_pro_in_deps_list, find_link_by_con_in_deps_list): Ditto.
(copy_deps_list_change_con): Ditto.
(move_dep_link): Declare function.
(struct _dep_node): New type.
(dep_node_t): New typedef.
(DEP_NODE_BACK, DEP_NODE_DEP, DEP_NODE_FORW): New access macros.
(struct haifa_insn_data.back_deps): New field to hold backward
dependencies of the insn.
(struct haifa_insn_data.depend): Rename to forw_deps. Change its type
to deps_list_t.
(struct haifa_insn_data.resolved_deps): Rename to resolved_back_deps.
Change its type to deps_list_t.
(INSN_BACK_DEPS): New access macro to use instead of LOG_LINKS.
(INSN_DEPEND): Rename to INSN_FORW_DEPS.
(RESOLVED_DEPS): Rename to INSN_RESOLVED_BACK_DEPS.
(INSN_COST): Move to haifa-sched.c. Use insn_cost () instead.
(DEP_STATUS): Rename to DEP_LINK_STATUS. Fix typo in the comment.
(add_forw_dep, delete_back_forw_dep, insn_cost): Update declaration and
all callers.
(dep_cost): Declare.
* sched-deps.c (CHECK): New macro to (en/dis)able sanity checks.
(ds_to_dk, dk_to_ds): New functions.
(init_dep_1): New static function.
(init_dep): New function.
(copy_dep): New static function.
(dep_link_consistent_p, attach_dep_link, add_to_deps_list): New static
functions.
(detach_dep_link): New static function.
(move_dep_link): New function.
(dep_links_consistent_p, dump_dep_links): New static functions.
(debug_dep_links): New debugging function.
(deps_obstack, dl_obstack, dn_obstack): New static variables.
(alloc_deps_list, init_deps_list): New static functions.
(create_deps_list): New function.
(clear_deps_list): New static function.
(free_deps_list, delete_deps_list, deps_list_empty_p): New functions.
(deps_list_consistent_p, dump_deps_list): New static functions.
(debug_deps_list): New function.
(add_back_dep_to_deps_list, find_link_by_pro_in_deps_list): New
functions.
(find_link_by_con_in_deps_list, copy_deps_list_change_con): Ditto.
(maybe_add_or_update_back_dep_1, add_or_update_back_dep_1): Update to
use new scheduler dependencies lists.
(add_back_dep, delete_all_dependences, fixup_sched_groups): Ditto.
(sched_analyze): Ditto. Initialize dependencies lists.
(add_forw_dep, compute_forward_dependences): Update to use new
scheduler dependencies lists.
(init_dependency_caches): Init deps_obstack.
(free_dependency_caches): Free deps_obstack.
(adjust_add_sorted_back_dep, adjust_back_add_forw_dep): Update to use
new scheduler dependencies lists.
(delete_forw_dep, add_or_update_back_forw_dep): Ditto.
(add_back_forw_dep, delete_back_forw_dep): Ditto.
* sched-rgn.c (set_spec_fed, find_conditional_protection, is_pfree):
Update to use new scheduler dependencies lists.
(is_conditionally_protected, is_prisky, add_branch_dependences): Ditto.
(debug_dependencies): Ditto.
(schedule_region): Update comments.
* sched-ebb.c (earliest_block_with_similiar_load): Update to use new
scheduler dependencies lists.
(schedule_ebb): Update comments.
* rtl.def (DEPS_LIST): Remove.
* lists.c (unused_deps_list): Remove.
(free_list): Update assertions.
(alloc_DEPS_LIST, free_DEPS_LIST_list, free_DEPS_LIST_node): Remove.
(remove_free_DEPS_LIST_elem, copy_DEPS_LIST_list): Ditto.
* rtl.h (free_DEPS_LIST_list, alloc_DEPS_LIST): Remove declarations.
(remove_free_DEPS_LIST_elem, copy_DEPS_LIST_list): Ditto.
* haifa-sched.c (comments): Update.
(insn_cost1): Remove. Inline the code into insn_cost ().
(insn_cost): Update to use new scheduler dependencies lists. Move
processing of the dependency cost to dep_cost ().
(dep_cost): New function. Use it instead of insn_cost () when
evaluating cost of the dependency. Use compatible interface to
interact with the target.
(priority): Update to use new scheduler dependencies lists.
(rank_for_schedule): Ditto. Optimize heuristic that prefers the insn
with greater number of insns that depend on the insn.
(schedule_insn): Update to use new scheduler dependencies lists. Add
code to free backward dependencies lists. Inline and optimize code
from resolve_dep () - see PR28071.
(ok_for_early_queue_removal): Update to use new scheduler dependencies
lists. Update call to targetm.sched.is_costly_dependence hook.
(fix_inter_tick, try_ready, fix_tick_ready): Update to use new
scheduler dependencies lists.
(resolve_dep): Remove. Move the logic to schedule_insn ().
(init_h_i_d): Initialize dependencies lists.
(process_insn_depend_be_in_spec): Rename to
process_insn_forw_deps_be_in_spec. Update to use new scheduler
dependencies lists.
(add_to_speculative_block, create_check_block_twin, fix_recovery_deps):
Update to use new scheduler dependencies lists.
(clear_priorities, calc_priorities, add_jump_dependencies): Ditto.
* ddg.c (create_ddg_dependence, create_ddg_dep_no_link): Update to use
new scheduler dependencies lists.
(build_intra_loop_deps): Ditto.
* target.h (struct _dep): Declare to use in
gcc_target.sched.is_costly_dependence.
(struct gcc_target.sched.adjust_cost): Fix typo.
(struct gcc_target.sched.is_costly_dependence): Change signature to use
single dep_t parameter instead of an equivalent triad.
(struct gcc_target.sched.adjust_cost_2): Remove.
* target-def.h (TARGET_SCHED_ADJUST_COST_2): Remove.
* reg-notes.def (DEP_TRUE, DEP_OUTPUT, DEP_ANTI): Update comments.
* doc/tm.texi (TARGET_SCHED_IS_COSTLY_DEPENDENCE): Update
documentation.
(TARGET_SCHED_ADJUST_COST_2): Remove documentation.
* doc/rtl.texi (LOG_LINKS): Remove part about instruction scheduler.
(REG_DEP_TRUE): Document.
* config/ia64/ia64.c (ia64_adjust_cost_2): Rename to ia64_adjust_cost.
Change signature to correspond to the targetm.sched.adjust_cost hook.
Update use in TARGET_SCHED_ADJUST_COST_2.
(TARGET_SCHED_ADJUST_COST_2): Rename to TARGET_SCHED_ADJUST_COST.
(ia64_dependencies_evaluation_hook, ia64_dfa_new_cycle): Update to use
new scheduler dependencies lists.
(ia64_gen_check): Ditto.
* config/mips/mips.c (vr4130_swap_insns_p): Update to use new scheduler
dependencies lists.
* config/rs6000/rs6000.c (rs6000_is_costly_dependence): Change
signature to correspond to the targetm.sched.is_costly_dependence hook.
(is_costly_group): Update to use new scheduler dependencies lists.
* config/spu/spu.c (spu_sched_adjust_cost): Use insn_cost () function
instead of INSN_COST () macro.
........
r121495 | jakub | 2007-02-02 04:21:13 -0800 (Fri, 02 Feb 2007) | 7 lines
* builtins.c (fold_builtin_sprintf): Do not attempt to optimize
sprintf (str, "%s"). Do not optimize sprintf (str, "nopercent", p++).
* gcc.dg/pr30473.c: New test.
* gcc.c-torture/execute/20070201-1.c: New test.
........
r121496 | jakub | 2007-02-02 04:23:18 -0800 (Fri, 02 Feb 2007) | 8 lines
* decl.c (grokdeclarator): If __thread is used together with
a storage class other than extern and static, clear thread_p
after issuing diagnostics and fall through to checking the
storage class.
* g++.dg/tls/diag-5.C: New test.
........
r121497 | jakub | 2007-02-02 04:27:43 -0800 (Fri, 02 Feb 2007) | 5 lines
Revert:
2006-07-05 Eric Christopher <echristo@apple.com>
* configure.ac: Depend addition of -pthread on host OS.
* configure: Regenerate.
........
r121498 | jakub | 2007-02-02 04:28:27 -0800 (Fri, 02 Feb 2007) | 3 lines
* src/powerpc/linux64.S (ffi_call_LINUX64): Move restore of r2
immediately after bctrl instruction.
........
r121499 | jakub | 2007-02-02 04:29:31 -0800 (Fri, 02 Feb 2007) | 9 lines
* configure.ac (libjava_cv_anon_version_script): New test.
(ANONVERSCRIPT): New AM_CONDITIONAL.
* configure: Rebuilt.
* Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
if ANONVERSCRIPT.
* Makefile.in: Rebuilt.
(libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
* libgcj.ver: New file.
........
r121500 | pault | 2007-02-02 04:35:57 -0800 (Fri, 02 Feb 2007) | 31 lines
2007-02-02 Paul Thomas <pault@gcc.gnu.org>
* trans-expr.c (gfc_conv_aliased_arg): Remove static attribute
from function and make sure that substring lengths are
translated.
(is_aliased_array): Remove static attribute.
* trans.c : Add prototypes for gfc_conv_aliased_arg and
is_aliased_array.
* trans-io.c (set_internal_unit): Add the post block to the
arguments of the function. Use is_aliased_array to check if
temporary is needed; if so call gfc_conv_aliased_arg.
(build_dt): Pass the post block to set_internal_unit and
add to the block after all io activiy is done.
2007-02-02 Paul Thomas <pault@gcc.gnu.org>
* io/transfer.c (init_loop_spec, next_array_record): Change to
lbound rather than unity base.
2007-02-02 Paul Thomas <pault@gcc.gnu.org>
* gfortran.dg/arrayio_11.f90.f90: New test.
* gfortran.dg/arrayio_12.f90.f90: New test.
........
r121502 | bkoz | 2007-02-02 06:49:52 -0800 (Fri, 02 Feb 2007) | 16 lines
2007-02-02 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/c++config: Consistent macro guards for config includes.
* config/locale/gnu/c_locale.h: Same.
* config/locale/generic/c_locale.h: Same.
* config/allocator/mt_allocator_base.h: Same.
* config/allocator/malloc_allocator_base.h: Same.
* config/allocator/new_allocator_base.h: Same.
* config/allocator/pool_allocator_base.h: Same.
* config/allocator/bitmap_allocator_base.h: Same.
* config/os/vxworks/os_defines.h: Same.
* config/cpu/sh/atomicity.h: Same.
* config/io/c_io_stdio.h: Same.
* config/io/basic_file_stdio.h: Same.
........
r121504 | kgallowa | 2007-02-02 07:23:20 -0800 (Fri, 02 Feb 2007) | 3 lines
2007-02-02 Kyle Galloway <kgallowa@redhat.com>
* gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount): Implement.
........
r121506 | daney | 2007-02-02 07:46:44 -0800 (Fri, 02 Feb 2007) | 5 lines
* class.c (is_compiled_class): Move check to avoid reloading
current class.
(layout_class_method): Don't calculate DECL_EXTERNAL if it is
already set.
........
r121507 | bonzini | 2007-02-02 08:21:18 -0800 (Fri, 02 Feb 2007) | 11 lines
2007-02-02 Paolo Bonzini <bonzini@gnu.org>
* pointer-set.c (insert_aux): Only return insertion slot.
(pointer_set_insert): Adjust.
(pointer_set_traverse, struct pointer_map_t, pointer_map_create,
pointer_map_destroy, pointer_map_insert, pointer_map_contains,
pointer_map_traverse): New.
* pointer-set.h (pointer_set_traverse, struct pointer_map_t,
pointer_map_create, pointer_map_destroy, pointer_map_insert,
pointer_map_contains, pointer_map_traverse): Declare.
........
r121508 | aph | 2007-02-02 08:34:17 -0800 (Fri, 02 Feb 2007) | 16 lines
2007-02-02 Andrew Haley <aph@redhat.com>
* expr.c (expand_byte_code): Call cache_this_class_ref() and
cache_cpool_data_ref().
Set TYPE_CPOOL_DATA_REF.
(cache_cpool_data_ref): New function.
* constants.c (build_ref_from_constant_pool): Remove special-case
code for flag_indirect_classes.
(build_constant_data_ref): Move special-case code for
flag_indirect_classes here from build_ref_from_constant_pool.
* decl.c (finish_method): Move class initialization from here to
cache_this_class_ref.
* class.c (cache_this_class_ref): New function.
(build_class_ref): Use this_classdollar for the ouput class.
........
r121510 | mkuvyrkov | 2007-02-02 08:57:18 -0800 (Fri, 02 Feb 2007) | 8 lines
* config/ia64/ia64.c (ia64_speculate_insn): Restrict to memory loads to
general or fp registers. Add comments.
* config/ia64/ia64.md (reg_pred_prefix): Add comment.
* gcc-target/ia64/pr29682.c: New test.
........
r121511 | ghazi | 2007-02-02 09:09:55 -0800 (Fri, 02 Feb 2007) | 7 lines
* fold-const.c (negate_expr_p, fold_negate_expr): Handle
COMPLEX_EXPR.
testsuite:
* gcc.dg/builtins-20.c: Add more cases.
........
r121513 | aph | 2007-02-02 09:54:31 -0800 (Fri, 02 Feb 2007) | 8 lines
2007-01-26 Andrew Haley <aph@redhat.com>
* java/lang/natClass.cc (initializeClass): Re-throw
SecurityExceptions.
* java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
* java/lang/ClassLoader.java: (loadClass): Likewise.
........
r121515 | mrs | 2007-02-02 10:19:13 -0800 (Fri, 02 Feb 2007) | 9 lines
2007-02-02 Hui-May Chang <hm.chang@apple.com>
Revert for x86 darwin:
2005-06-19 Uros Bizjak <uros@kss-loka.si>
* config/i386/i386.c (ix86_function_arg_regno_p): Put back the
code before the following patch under TARGET_MACHO.
(ix86_function_value_regno_p): Likewise.
........
r121517 | kazu | 2007-02-02 11:02:18 -0800 (Fri, 02 Feb 2007) | 5 lines
* emit-rtl.c (renumber_insns): Remove.
* flags.h: Remove the extern for flag_renumber_insns.
* rtl.h: Remove the prototype for renumber_insns.
* toplev.c (flag_renumber_insns): Remove.
........
r121518 | ian | 2007-02-02 11:14:08 -0800 (Fri, 02 Feb 2007) | 3 lines
Move ChangeLog entry for testsuite/gcc.dg/20050922-1.c from
ChangeLog-2005 to testsuite/ChangeLog.
........
r121519 | ian | 2007-02-02 11:16:04 -0800 (Fri, 02 Feb 2007) | 2 lines
* expmed.c (expand_divmod): Add comment.
........
r121522 | sayle | 2007-02-02 13:16:23 -0800 (Fri, 02 Feb 2007) | 5 lines
* trans.c (gfc_build_array_ref): Use STRIP_TYPE_NOPS to eliminate
NON_LVALUE_EXPR nodes and useless type conversions.
........
r121528 | gccadmin | 2007-02-02 16:17:32 -0800 (Fri, 02 Feb 2007) | 1 line
Daily bump.
........
r121530 | sje | 2007-02-02 16:44:21 -0800 (Fri, 02 Feb 2007) | 2 lines
* config/ia64/ia64.c (ia64_print_operand): Fix compare strings.
........
r121531 | kargl | 2007-02-02 17:01:06 -0800 (Fri, 02 Feb 2007) | 8 lines
2007-02-02 Steven G. Kargl <kargl@gcc.gnu.org>
* resolve.c (resolve_generic_f): Check for non-NULL sym.
* gfortran.dg/interface_10.f90: New test.
........
r121533 | bwilson | 2007-02-02 17:23:05 -0800 (Fri, 02 Feb 2007) | 14 lines
* config/xtensa/xtensa.c (smalloffset_mem_p): Use BASE_REG_P.
(xtensa_legitimate_address_p): New.
(xtensa_legitimize_address): New.
(xtensa_output_addr_const_extra): New.
* config/xtensa/xtensa.h (REG_OK_STRICT_FLAG): Define.
(BASE_REG_P): New.
(REG_OK_FOR_BASE_P): Use BASE_REG_P.
(GO_IF_LEGITIMATE_ADDRESS): Move code to xtensa_legitimate_address_p.
(LEGITIMIZE_ADDRESS): Move code to xtensa_legitimize_address.
(OUTPUT_ADDR_CONST_EXTRA): Move code to xtensa_output_addr_const_extra.
* config/xtensa/xtensa-protos.h (xtensa_legitimate_address_p): New.
(xtensa_legitimize_address): New.
(xtensa_output_addr_const_extra): New.
........
r121534 | mrs | 2007-02-02 20:52:51 -0800 (Fri, 02 Feb 2007) | 6 lines
* config/darwin9.h (DARWIN_LINKER_GENERATES_ISLANDS): Add.
* config/rs6000/rs6000.c (DARWIN_GENERATE_ISLANDS): Add.
(output_call): Use DARWIN_GENERATE_ISLANDS to decide when to
generate a branch island.
Radar 4967371
........
r121541 | pault | 2007-02-03 05:38:42 -0800 (Sat, 03 Feb 2007) | 26 lines
2007-02-03 Paul Thomas <pault@gcc.gnu.org>
* array.c (match_array_element_spec): If the length of an array is
negative, adjust the upper limit to make it zero length.
* resolve.c (pure_function, resolve_function): Initialize name to
null to clear up build warnings.
(resolve_fl_variable): Look at components explicitly to check for
default initializer, rather than using gfc_default_initializer.
2007-02-03 Paul Thomas <pault@gcc.gnu.org>
* gfortran.dg/zero_sized_2.f90: New test.
* gfortran.dg/alloc_comp_basics_4.f90: New test.
* gfortran.dg/actual_array_interface_1.f90: Copy source to empty
file.
........
r121542 | ghazi | 2007-02-03 08:13:23 -0800 (Sat, 03 Feb 2007) | 9 lines
* builtins.c (fold_builtin_cabs): Fold cabs(x+xi) into
fabs(x)*sqrt(2).
* fold-const.c (fold_binary): Fix comment typos. Fold complex
(x,0)-(0,y) into (x,-y). Likewise (0,y)-(x,0) into (-x,y).
testsuite:
* gcc.dg/builtins-54.c: Add more cases.
........
r121543 | kazu | 2007-02-03 08:21:55 -0800 (Sat, 03 Feb 2007) | 2 lines
* java-tree.h, javaop.def, jcf-parse.c: Fix comment typos.
........
r121544 | sayle | 2007-02-03 08:22:09 -0800 (Sat, 03 Feb 2007) | 6 lines
* simplify-rtx.c (simplify_relational_operation_1): Implement some
canonicalization transformations that attempt to simplify integer
constant comparisons to become comparisons against zero.
........
r121545 | kazu | 2007-02-03 08:23:42 -0800 (Sat, 03 Feb 2007) | 2 lines
* trans-array.c: Fix a comment typo.
........
r121546 | kazu | 2007-02-03 08:47:06 -0800 (Sat, 03 Feb 2007) | 11 lines
* c-decl.c, config/avr/avr.c, config/avr/avr.h,
config/m68k/m68k.c, config/m68k/netbsd-elf.h,
config/mn10300/mn10300.c, config/pdp11/pdp11.h,
config/rs6000/cell.md, config/rs6000/darwin.h,
config/sh/sh.md, config/sh/sh4-300.md, config/spu/spu.c,
config/spu/spu.md, cselib.c, expr.c, haifa-sched.c, hwint.h,
jump.c, reload.c, sched-deps.c, sched-int.h, tree-inline.c,
tree-profile.c, tree-ssa-live.h, tree-vrp.c: Fix comment
typos. Follow spelling conventions.
* doc/invoke.texi: Follow spelling conventions.
........
r121547 | kazu | 2007-02-03 08:54:08 -0800 (Sat, 03 Feb 2007) | 2 lines
* misc.c, utils2.c: Fix comment typos.
........
r121549 | tromey | 2007-02-03 11:35:06 -0800 (Sat, 03 Feb 2007) | 3 lines
* gcc.c (cpp_unique_options): Any of -ggdb3, -gstabs3,
-gcoff3, -gxcoff3, -gvms3 implies -dD.
........
r121550 | ghazi | 2007-02-03 12:49:51 -0800 (Sat, 03 Feb 2007) | 9 lines
* emit-rtl.c (dconstpi): Delete.
(dconstsqrt2): New.
(init_emit_once): Delete dconstpi and init dconstsqrt2.
* real.h (dconstpi): Delete.
(dconstsqrt2): New.
* builtins.c (fold_builtin_cabs): Use dconstsqrt2.
(fold_builtin_hypot): Likewise.
........
r121551 | danglin | 2007-02-03 13:15:15 -0800 (Sat, 03 Feb 2007) | 5 lines
* varasm.c (notice_global_symbol): Treat global objects as weak when
flag_shlib is true.
........
r121552 | danglin | 2007-02-03 13:18:18 -0800 (Sat, 03 Feb 2007) | 9 lines
* pa.md (addvdi3, addvsi3, subvdi3, subvsi3, negvdi2, negvsi2): New
ftrapv insns and expanders.
(subdi3): Change define_expand operand 1 to arith11_operand, and
operand 2 to reg_or_0_operand. Change constraints of 64-bit insn
pattern to handle reg_or_0 operands. Revise 32-bit insn pattern to
handle 11-bit constants and reg_or_0 operands in operands 1 and 2,
respectively.
........
r121553 | ian | 2007-02-03 15:24:05 -0800 (Sat, 03 Feb 2007) | 9 lines
* lower-subreg.c (simple_move_operand): New static function,
broken out of simple_move. Reject LABEL_REF, SYMBOL_REF, and HIGH
operands.
(simple_move): Call simple_move_operand.
(find_decomposable_subregs): Add special handling of MEMs.
(can_decompose_p): Rename from cannot_decompose_p. Reverse
meaning of return value. If we see a hard register, test whether
it can store a word_mode value. Change all callers.
........
r121554 | hubicka | 2007-02-03 15:35:42 -0800 (Sat, 03 Feb 2007) | 7 lines
* value-prof.c (stringop_block_profile): Fix handling of size counter;
do not divide by zero for never executed counters.
(tree_find_values_to_profile): Fix counters.
* gcov-ui.h (GCOV_COUNTER_AVERAGE, GCOV_COUNTER_IOR): Fix comments.
........
r121555 | uros | 2007-02-03 15:39:31 -0800 (Sat, 03 Feb 2007) | 10 lines
* combine.c (try_combine): Do not substitute source operand
with constants wider than 2 * HOST_BITS_PER_WIDE_INT.
testsuite/ChangeLog:
* gfortran.dg/pr30667.f: New test.
........
r121559 | gccadmin | 2007-02-03 16:17:42 -0800 (Sat, 03 Feb 2007) | 1 line
Daily bump.
........
r121561 | gdr | 2007-02-03 16:37:32 -0800 (Sat, 03 Feb 2007) | 2 lines
* decl.c (grokdeclarator): Update documentation.
........
r121562 | kazu | 2007-02-03 16:51:14 -0800 (Sat, 03 Feb 2007) | 3 lines
* config/h8300/h8300.c, config/h8300/h8300.h,
config/h8300/h8300.md: Follow spelling conventions.
........
r121563 | dgregor | 2007-02-03 19:59:02 -0800 (Sat, 03 Feb 2007) | 6 lines
2007-02-03 Douglas Gregor <doug.gregor@gmail.com>
* parser.c (cp_lexer_get_preprocessor_token): Attach the C++0x
keyword warning to -Wc++0x-compat.
........
r121564 | dgregor | 2007-02-03 20:00:38 -0800 (Sat, 03 Feb 2007) | 6 lines
2007-02-03 Douglas Gregor <doug.gregor@gmail.com>
* c-opts.c (c_common_post_options): If C++0x mode is enabled, don't
warn about C++0x compatibility.
........
r121565 | kazu | 2007-02-03 20:11:52 -0800 (Sat, 03 Feb 2007) | 12 lines
* config/m32c/bitops.md, config/m32c/jump.md,
config/m32c/m32c.c, config/m32c/m32c.h, config/m32r/m32r.c,
config/m32r/m32r.h, config/m32r/m32r.md,
config/m32r/predicates.md, config/m68hc11/larith.asm,
config/m68hc11/m68hc11.c, config/m68hc11/m68hc11.h,
config/m68k/m68k.h, config/mcore/mcore.md, config/mips/4k.md,
config/mips/mips-protos.h, config/mips/mips.c,
config/mips/mips.h, config/mips/mips.md, config/mips/mips16.S,
config/mn10300/mn10300.h, config/mn10300/predicates.md,
config/mt/mt.c, config/mt/mt.h, config/mt/mt.md: Follow
spelling conventions.
........
r121566 | kazu | 2007-02-03 20:24:53 -0800 (Sat, 03 Feb 2007) | 3 lines
* class.c, cp-tree.h, decl.c, decl2.c, g++spec.c, init.c,
parser.c, pt.c, tree.c, typeck.c: Follow spelling conventions.
........
r121567 | kazu | 2007-02-03 20:33:45 -0800 (Sat, 03 Feb 2007) | 3 lines
* config/v850/v850.c, config/v850/v850.h, config/v850/v850.md:
Follow spelling conventions.
........
r121568 | gdr | 2007-02-03 21:05:06 -0800 (Sat, 03 Feb 2007) | 1 line
* decl.c (grokdeclarator): Use OPT_Wreturn_type instead of 0.
........
r121569 | fxcoudert | 2007-02-04 02:30:17 -0800 (Sun, 04 Feb 2007) | 4 lines
* libgfortran.h: Do not prefix symbol name with
__USER_LABEL_PREFIX__ when used in __attribute__((__alias__(...))).
........
r121570 | hubicka | 2007-02-04 05:01:13 -0800 (Sun, 04 Feb 2007) | 7 lines
* ipa-inline.c (try_inline): Improve debug output; work on already
inline edges too.
(cgraph_decide_inlining_incrementally): Indent; improve debug output;
call try_inline for already inlined edges too when flattening;
inline also functions that make callee growth but overall unit size
reduce.
........
r121571 | hubicka | 2007-02-04 05:02:45 -0800 (Sun, 04 Feb 2007) | 7 lines
* tree-ssa-copyrename.c (copy_rename_partition_coalesce): Return
true when something was changed.
(rename_ssa_copies): When something was changed, do
TODO_remove_unused_locals.
* tree-ssa-forwprop.c (tree_ssa_forward_propagate_single_use_value):
add TODO_remove_unused_locals when instruction was removed.
........
r121572 | hubicka | 2007-02-04 05:27:23 -0800 (Sun, 04 Feb 2007) | 7 lines
* tree-optimize.c (has_abnormal_outgoing_edge_p): Move to tree-inline.
(execute_fixup_cfg): Break out the abnormal goto code.
* tree-inline.c (has_abnormal_outgoing_edge_p): Move here from
tree-optimize.c.
(make_nonlocal_label_edges): Move here from execute_fixup_cfg.
(optimize_inline_calls): Call make_nonlocal_label_edges.
........
r121573 | hubicka | 2007-02-04 06:28:00 -0800 (Sun, 04 Feb 2007) | 2 lines
* passes.c (init_optimization_passes): Reindent.
........
r121574 | korbb | 2007-02-04 07:10:08 -0800 (Sun, 04 Feb 2007) | 1 line
replace "extern" only if surrounded by space characters.
........
r121575 | rguenth | 2007-02-04 07:15:38 -0800 (Sun, 04 Feb 2007) | 9 lines
2007-02-04 Richard Guenther <rguenther@suse.de>
* fold-const.c (try_move_mult_to_index): Make sure to not
overflow one dimension of a multi-dimensional array access.
* g++.dg/warn/pr30636.C: New testcase.
* g++.dg/tree-ssa/tmmti-2.C: XFAIL parts.
........
r121577 | kazu | 2007-02-04 08:40:30 -0800 (Sun, 04 Feb 2007) | 4 lines
* config/bfin/bfin-modes.def, config/bfin/bfin.c,
config/bfin/bfin.md, config/bfin/predicates.md: Follow
spelling conventions.
........
r121578 | hubicka | 2007-02-04 09:58:26 -0800 (Sun, 04 Feb 2007) | 4 lines
* tree-sra.c (sra_walk_expr): Add linebreaks. BITFIELD_REFs into
vectors might cause maybe_lookup_element_for_expr to be called
on non-sra-candidate.
........
r121579 | ebotcazou | 2007-02-04 11:42:37 -0800 (Sun, 04 Feb 2007) | 1 line
Small tweaks.
........
r121580 | kargl | 2007-02-04 13:19:49 -0800 (Sun, 04 Feb 2007) | 16 lines
2007-02-03 Steven G. Kargl <kargl@gcc.gnu.org>
* fortran/invoke.texi: Update documentation.
* fortran/options.c (gfc_post_options): Deal with tabs with -std=f2003
and -pedantic.
2007-02-03 Steven G. Kargl <kargl@gcc.gnu.org>
* gfortran.dg/spread_shape_1.f90: Remove tabs.
* gfortran.dg/derived_init_2.f90: Ditto.
* gfortran.dg/elemental_subroutine_3.f90: Ditto.
* gfortran.dg/array_initializer_1.f90: Ditto.
* gfortran.dg/do_2.f90: Ditto.
* gfortran.dg/proc_assign_1.f90: Ditto.
........
r121581 | fxcoudert | 2007-02-04 13:33:10 -0800 (Sun, 04 Feb 2007) | 11 lines
* trans-intrinsic.c (gfc_conv_intrinsic_repeat): Evaluate
arguments only once. Generate check that NCOPIES argument is not
negative.
* intrinsics/string_intrinsics.c (string_repeat): Don't check
if ncopies is negative.
* gcc/testsuite/gfortran.dg/repeat_1.f90: New test.
........
r121582 | hubicka | 2007-02-04 15:40:58 -0800 (Sun, 04 Feb 2007) | 4 lines
* ipa-inline.c (cgraph_clone_inlined_nodes): When there are unanalyzed
nodes in cgraph, don't remove offline copy of the function.
........
r121583 | rakdver | 2007-02-04 15:47:09 -0800 (Sun, 04 Feb 2007) | 15 lines
* cfgloopmanip.c (loop_delete_branch_edge): Removed.
(remove_path): Use can_remove_branch_p and remove_branch instead
of loop_delete_branch_edge.
* tree-ssa-loop-manip.c (scale_dominated_blocks_in_loop): New function.
(tree_transform_and_unroll_loop): Remove dead branches immediately.
Update profile using scale_dominated_blocks_in_loop.
* cfghooks.c (can_remove_branch_p, remove_branch): New functions.
* cfghooks.h (struct cfg_hooks): Add can_remove_branch_p.
(can_remove_branch_p, remove_branch): Declare.
* tree-cfg.c (tree_can_remove_branch_p): New function.
(tree_cfg_hooks): Add tree_can_remove_branch_p.
* cfgrtl.c (rtl_can_remove_branch_p): New function.
(rtl_cfg_hooks, cfg_layout_rtl_cfg_hook): Add rtl_can_remove_branch_p.
........
r121584 | rakdver | 2007-02-04 15:51:28 -0800 (Sun, 04 Feb 2007) | 3 lines
* cfgcleanup.c (try_optimize_cfg): Avoid removing ENTRY_BLOCK_PTR.
........
r121588 | gccadmin | 2007-02-04 16:17:37 -0800 (Sun, 04 Feb 2007) | 1 line
Daily bump.
........
r121590 | mrs | 2007-02-04 16:52:27 -0800 (Sun, 04 Feb 2007) | 2 lines
* mkheaders.in: Allow optional isysroot parameter.
........
r121592 | bonzini | 2007-02-04 23:57:49 -0800 (Sun, 04 Feb 2007) | 11 lines
2007-02-05 Paolo Bonzini <bonzini@gnu.org>
* cp-tree.h (OMP_ATOMIC_CODE): Delete.
(OMP_ATOMIC_DEPENDENT_P): Rewrite.
* pt.c (tsubst_expr): Adjust for new format of dependent OMP_ATOMIC
expressions.
* semantics.c (finish_omp_atomic): Store a whole expression node
in operand 1, and integer_zero_node in operand 0, for dependent
OMP_ATOMIC. Rewrite to make flow easier to understand.
........
r121593 | rsandifo | 2007-02-05 02:38:46 -0800 (Mon, 05 Feb 2007) | 12 lines
gcc/
* doc/tm.texi (DWARF_ALT_FRAME_RETURN_COLUMN): Do not require
DWARF_FRAME_RETURN_COLUMN to be a general register.
* dwarf2out.c (init_return_column_size): New function, split from...
(expand_builtin_init_dwarf_reg_sizes): ...here. Allow both
DWARF_FRAME_RETURN_COLUMN and DWARF_ALT_FRAME_RETURN_COLUMN
to be nongeneral registers.
* config/m68k/m68k.h (DWARF_FRAME_REGNUM): Only map FP and
integer registers.
(DWARF_FRAME_REGISTERS, DWARF_FRAME_RETURN_COLUMN): Define.
(DWARF_ALT_FRAME_RETURN_COLUMN): Define.
........
r121594 | rsandifo | 2007-02-05 02:41:26 -0800 (Mon, 05 Feb 2007) | 4 lines
gcc/
* dwarf2out.c (dwarf2out_frame_debug_expr): Record the register
saves in a PARALLEL before the register assignments.
........
r121596 | mueller | 2007-02-05 04:43:17 -0800 (Mon, 05 Feb 2007) | 5 lines
2007-02-05 Dirk Mueller <dmueller@suse.de>
* parser.c (cp_parser_class_specifier): Always initialize bases.
........
r121597 | paolo | 2007-02-05 04:58:12 -0800 (Mon, 05 Feb 2007) | 4 lines
2007-02-05 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_deque.h (operator<): Qualify call.
........
r121600 | kazu | 2007-02-05 06:05:24 -0800 (Mon, 05 Feb 2007) | 3 lines
* config/m68k/m68k.md (pushdi-1, pushdi, movsi+1): Don't use
the 'y' constraint.
........
r121601 | sayle | 2007-02-05 08:04:14 -0800 (Mon, 05 Feb 2007) | 6 lines
* Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
(libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
(libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
........
r121602 | sayle | 2007-02-05 08:37:05 -0800 (Mon, 05 Feb 2007) | 4 lines
* mips-tfile.c (initialize_init_file): Correct endianness test.
........
r121603 | sayle | 2007-02-05 08:39:58 -0800 (Mon, 05 Feb 2007) | 6 lines
* config/alpha/alpha.c (alpha_add_builtins): New Helper function.
Set TREE_READONLY and TREE_NOTHROW directly, not via attributes.
(alpha_init_builtins): Use alpha_add_builtins to process tables.
........
r121605 | doko | 2007-02-05 10:13:44 -0800 (Mon, 05 Feb 2007) | 5 lines
2007-02-05 Matthias Klose <doko@debian.org>
testsuite/Makefile.am (compile-tests): Fix typo.
testsuite/Makefile.in: Regenerate.
........
r121606 | tromey | 2007-02-05 10:18:11 -0800 (Mon, 05 Feb 2007) | 6 lines
2007-02-05 Roman Zippel <zippel@linux-m68k.org>
* boehm-gc/include/private/gcconfig.h: use LINUX_STACKBOTTOM so
it works with Linux 2.6, reactivate MPROTECT_VDB
* boehm-gc/pthread_stop_world.c: save all register
on signal entry
........
r121607 | sayle | 2007-02-05 11:10:44 -0800 (Mon, 05 Feb 2007) | 9 lines
* fold-const.c (fold_unary) <REAL_PART>: Test for availability of
BUILT_IN_COS before simplifying REAL_PART(CEXPI)) to COS.
<IMAG_PART>: Likewise, check for availability of BUILT_IN_SIN.
* builtins.c (fold_builtin_sincos): Check for TARGET_C99_FUNCTIONS
before canonicalizing sincos to cexpi.
(fold_builtin_cexp): Likewise, for canonicalizing cexp to cexpi.
........
r121608 | kseitz | 2007-02-05 12:56:47 -0800 (Mon, 05 Feb 2007) | 5 lines
* gnu/classpath/jdwp/natVMVirtualMachine.cc
(registerEvent): Implement EVENT_BREAKPOINT.
(unregisterEvent): Likewise.
(get_request_location): New function.
........
r121609 | tromey | 2007-02-05 13:05:10 -0800 (Mon, 05 Feb 2007) | 3 lines
* java/net/Proxy.java (equals): Handle case where address==null.
(hashCode): Likewise.
(toString): Likewise.
........
r121611 | hp | 2007-02-05 13:20:36 -0800 (Mon, 05 Feb 2007) | 3 lines
* gcc.dg/torture/pr30665-1.c, gcc.dg/torture/pr30665-2.c: New tests.
........
r121612 | hp | 2007-02-05 13:21:50 -0800 (Mon, 05 Feb 2007) | 4 lines
* config/cris/cris.md ("*andsi_movu", "*andsi_clear", "*andhi_movu")
("*andhi_clear", andu (casesi+45)): For size-changed operand where
memory is allowed, require !side_effects_p, not just !MEM_VOLATILE_P.
........
r121613 | hp | 2007-02-05 13:22:24 -0800 (Mon, 05 Feb 2007) | 5 lines
* config/cris/cris.md ("*andsi_movu", "*andsi_clear", "*andhi_movu")
("*andhi_clear", andu (casesi+45)): For size-changed operand where
memory is allowed, require !side_effects_p, not just !MEM_VOLATILE_P.
........
r121614 | rguenth | 2007-02-05 13:22:48 -0800 (Mon, 05 Feb 2007) | 6 lines
2007-02-05 Richard Guenther <rguenther@suse.de>
* inclhack.def (glibc_c99_inline_4): Adjust selector to cope
with older glibc. Adjust version number for C99.
* fixincl.x: Regenerated.
........
r121616 | kseitz | 2007-02-05 13:28:55 -0800 (Mon, 05 Feb 2007) | 9 lines
* jvmti.cc (_envListLock): Change type to
ReentrantReadWriteLock.
(_Jv_JVMTI_DisposeEnvironment): Switch to read/write
lock.
(check_enabled_event): Likewise.
(_Jv_GetJVMTIEnv): Likewise.
(_Jv_JVMTI_Init): Likewise.
(_Jv_JVMTI_PostEvent): Likewise.
........
r121617 | rguenth | 2007-02-05 13:38:53 -0800 (Mon, 05 Feb 2007) | 22 lines
2007-02-05 Richard Guenther <rguenther@suse.de>
* tree-vectorizer.h (vectorizable_function): Add argument type
argument, change return type.
* tree-vect-patterns.c (vect_recog_pow_pattern): Adjust caller.
* tree-vect-transform.c (vectorizable_function): Handle extra
argument, return vectorized function decl.
(build_vectorized_function_call): Remove.
(vectorizable_call): Handle calls with result and argument types
differing. Handle loop vectorization factor correctly.
* targhooks.c (default_builtin_vectorized_function): Adjust for
extra argument.
* targhooks.h (default_builtin_vectorized_function): Likewise.
* target.h (builtin_vectorized_function): Add argument type
argument.
* config/i386/i386.c (ix86_builtin_vectorized_function): Handle
extra argument, allow vectorizing of lrintf.
* doc/tm.texi (TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION): Adjust
documentation of target hook.
* gcc.target/i386/vectorize3.c: New testcase.
........
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/fixed-point@121624 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
svn+ssh://chaoyingfu@sources.redhat.com/svn/gcc/trunk
........
r121073 | tromey | 2007-01-22 16:22:13 -0800 (Mon, 22 Jan 2007) | 2 lines
* configure: Rebuilt.
* configure.ac (GCJ): Reverted patch of 2006-12-20.
........
r121074 | kseitz | 2007-01-22 17:06:10 -0800 (Mon, 22 Jan 2007) | 5 lines
* java/lang/Class.h (_Jv_GetClassStatus): Declare.
* java/lang/natClass.cc (_Jv_GetClassStatus): New function.
* jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
(_Jv_JVMTI_Interface): Define GetClassStatus.
........
r121078 | kseitz | 2007-01-22 22:40:49 -0800 (Mon, 22 Jan 2007) | 3 lines
* gnu/classpath/jdwp/natVMVirtualMachine.cc
(getClassMethod): Implement.
........
r121079 | uros | 2007-01-22 23:14:26 -0800 (Mon, 22 Jan 2007) | 8 lines
* config/i386/i386.md: Use REG_P, MEM_P, CONST_INT_P, LABEL_P,
JUMP_P and CALL_P predicates where applicable.
* config/i386/i386.c: Ditto.
* config/i386/i386.md: Ditto.
* config/i386/mmx.md: Ditto.
* config/i386/predicates.md: Ditto.
........
r121081 | ian | 2007-01-23 07:12:44 -0800 (Tue, 23 Jan 2007) | 5 lines
* Makefile.in (OBJS-common): Reformat, alphabetize, but put
insn-*.o first.
(OBJS-archive): Reformat, alphabetize.
(OBJS): Change out_object_file to OBJS-md.
........
r121082 | rguenth | 2007-01-23 08:37:09 -0800 (Tue, 23 Jan 2007) | 28 lines
2007-01-23 Richard Guenther <rguenther@suse.de>
* Makefile.def (flags_to_pass): Add GNATBIND and GNATMAKE.
* Makefile.tpl (GNATBIND): Substitute it.
(GNATMAKE): Likewise.
(POSTSTAGE1_FLAGS_TO_PASS): Pass staged GNATBIND instead
of STAGE_PREFIX.
* Makefile.in: Regenerate.
* configure: Regenerate.
config/
* acx.m4 (ACX_PROG_GNAT): Check for gnatmake.
libada/
* Makefile.in (STAGE_PREFIX): Do not define.
(FLAGS_TO_PASS): Do not pass STAGE_PREFIX.
gnattools/
* Makefile.in (STAGE_PREFIX): Do not define.
ada/
* Make-lang.in: Replace invocations of gnatmake with $(GNATMAKE).
(gnatboot2): Pass staged GNATMAKE instead of STAGE_PREFIX.
(gnatboot3): Likewise.
(GNATBIND): Do not define.
* Makefile.in (GNATBIND): Do not define.
........
r121083 | rguenth | 2007-01-23 09:27:22 -0800 (Tue, 23 Jan 2007) | 6 lines
2007-01-23 Richard Guenther <rguenther@suse.de>
* ada/acats/run_acats: Do not call gnatmake or gnatchop
with full path.
........
r121084 | sayle | 2007-01-23 10:17:40 -0800 (Tue, 23 Jan 2007) | 7 lines
* call.c (null_ptr_cst_p): Replace use of TREE_CONSTANT_OVERFLOW with
TREE_OVERFLOW.
* typeck.c (ignore_overflows): Remove the remaining uses of
TREE_CONSTANT_OVERFLOW.
........
r121085 | jsm28 | 2007-01-23 11:38:33 -0800 (Tue, 23 Jan 2007) | 91 lines
gcc:
* config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
_SOFT_DOUBLE if doubles use software floating-point.
* config/rs6000/libgcc-ppc-glibc.ver: Export additional long
double functions if _SOFT_DOUBLE, not _SOFT_FLOAT.
* config/rs6000/darwin-ldouble.c: Also compile functions for
hard-float without FPRs. Use fmsub function for all __NO_FPRS__
cases. Compile extra functions if _SOFT_DOUBLE, not _SOFT_FLOAT.
* config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Remove
commented-out long double override.
(CPP_LONGDOUBLE_DEFAULT_SPEC): Likewise.
* config/rs6000/eabispe.h: Likewise.
* config/rs6000/rs6000.c (rs6000_override_options): Don't override
long double for non-SPE.
(rs6000_handle_option): Likewise.
(invalid_e500_subreg): Disallow more subregs involding DImode,
DFmode, TImode or TFmode.
(rs6000_legitimate_offset_address_p): Check TFmode offsets for
E500 double.
(legitimate_lo_sum_address_p): Also check for TFmode for E500
double.
(rs6000_legitimize_address): Also handle TFmode for E500 double.
(rs6000_legitimize_reload_address): Also handle TFmode for E500
double.
(rs6000_legitimate_address): Also check for TFmode for E500
double.
(rs6000_emit_move): Use DFmode subregs of TFmode for E500 double.
(spe_build_register_parallel): Handle TFmode and TCmode.
(rs6000_spe_function_arg): Handle TFmode and TCmode for E500
double.
(function_arg): Handle TFmode and TCmode for E500 double.
(rs6000_init_libfuncs): Initialize extra libfuncs for soft double
in general.
(print_operand): Handle TFmode and TImode for %y.
(rs6000_generate_compare): Handle TFmode comparisons for E500
double.
(spe_func_has_64bit_regs_p): Check for TFmode for E500 double.
(rs6000_function_value): Handle TFmode and TCmode for E500 double.
(rs6000_libcall_value): Handle TFmode and TCmode for E500 double.
* config/rs6000/rs6000.h (CANNOT_CHANGE_MODE_CLASS): Check for
TFmode for E500 double.
* config/rs6000/rs6000.md (FP): Allow TF for E500 double.
(floatsidf2): Enable for E500 double.
(movtf_softfloat): Use rs6000_nonimmediate_operand.
(extenddftf2): Change to extenddftf2_fprs.
(extenddftf2): Call gen_spe_extenddftf2 or gen_extenddftf2_fprs
depending on TARGET_E500_DOUBLE.
(extendsftf2): Enable for E500 double.
(trunctfdf2): Enable for E500 double.
(trunctfsf2): Change to trunctfsf2_fprs.
(trunctfsf2): Call gen_spe_trunctfsf2 or gen_trunctfsf2_fprs
depending on TARGET_E500_DOUBLE.
(floatsitf2): Enable for E500 double.
(fix_trunctfsi2): Change to fix_trunctfsi2_fprs.
(fix_trunctfsi2): Call gen_spe_fix_trunctfsi2 or
gen_fix_trunctfsi2_fprs depending on TARGET_E500_DOUBLE.
(negtf2): Change to negtf2_internal.
(negtf2): New expander.
(abstf2): Enable for E500 double. Call gen_spe_abstf2_tst,
gen_spe_abstf2_cmp or gen_abstf2_internal depending on
TARGET_E500_DOUBLE and flag_unsafe_math_optimizations.
(movdi_internal32): Use rs6000_nonimmediate_operand.
(unnamed splitter): Likewise.
* config/rs6000/spe.md (CMPTFEQ_GPR, TSTTFEQ_GPR, CMPTFGT_GPR,
TSTTFGT_GPR, CMPTFLT_GPR, TSTTFLT_GPR): New unspecs.
(SPE64TF, DITI): New mode macros.
(frob_df_di): Change to frob_<SPE64:mode>_<DITI:mode>; allow more
modes.
(frob_tf_ti): New.
(frob_<mode>_di_2): New.
(frob_tf_di_8_2): New.
(frob_di_df): Change to frob_di_<mode>; allow more modes.
(frob_ti_tf): New.
(frob_di_df_2): Change to frob_<DITI:mode>_<SPE64:mode>_2; allow
more modes.
(frob_ti_<mode>_8_2): New.
(frob_ti_tf_2): New.
(mov_si<mode>_e500_subreg0, mov_si<mode>_e500_subreg0_2,
mov_si<mode>_e500_subreg4, mov_si<mode>_e500_subreg4_2): Allow
TFmode.
(mov_sitf_e500_subreg8, mov_sitf_e500_subreg8_2,
mov_sitf_e500_subreg12, mov_sitf_e500_subreg12_2): New.
(spe_trunctfdf2_internal1, spe_trunctfsf2, spe_extenddftf2,
spe_fix_trunctfsi2, spe_fix_trunctfsi2_internal,
spe_negtf2_internal, spe_abstf2_cmp, spe_abstf2_tst): New.
(cmptfeq_gpr, tsttfeq_gpr, cmptfgt_gpr, tsttfgt_gpr, cmptflt_gpr,
tsttflt_gp): New.
libgcc:
* config/rs6000/t-ldbl128: Always use -mlong-double-128.
........
r121086 | hjl | 2007-01-23 12:01:40 -0800 (Tue, 23 Jan 2007) | 6 lines
2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
* Makefile.in: Regenerated.
........
r121087 | ian | 2007-01-23 13:46:51 -0800 (Tue, 23 Jan 2007) | 6 lines
cp/:
* typeck.c (convert_for_assignment): Only warn about a = b = c
when converting to bool.
testsuite/:
* g++.dg/warn/Wparentheses-24.C: New test.
........
r121089 | simartin | 2007-01-23 14:33:51 -0800 (Tue, 23 Jan 2007) | 6 lines
2007-01-23 Simon Martin <simartin@users.sourceforge.net>
* decl.c (duplicate_decls): Don't reset DECL_INVALID_OVERRIDER_P for
function decls.
........
r121091 | tromey | 2007-01-23 15:30:54 -0800 (Tue, 23 Jan 2007) | 3 lines
2007-01-23 Marco Trudel <mtrudel@gmx.ch>
* java/util/Arrays.java (binarySearch): Change comparison order.
........
r121097 | gccadmin | 2007-01-23 16:18:05 -0800 (Tue, 23 Jan 2007) | 1 line
Daily bump.
........
r121099 | jvdelisle | 2007-01-23 17:56:55 -0800 (Tue, 23 Jan 2007) | 12 lines
2007-01-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* scanner.c (load_line): Remove check fot ctrl-z and don't gobble.
2007-01-23 Paul Thomas <pault@gcc.gnu.org>
* match.c (gfc_match_namelist): Add check for assumed size character
in namelist and provide error if found.
........
r121100 | jvdelisle | 2007-01-23 18:02:52 -0800 (Tue, 23 Jan 2007) | 10 lines
2007-01-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* gfortran.dg/ctrl-z.f90: New test.
2007-01-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* gfortran.dg/namelist_assumed_char.f90: New test.
........
r121101 | pinskia | 2007-01-23 21:46:09 -0800 (Tue, 23 Jan 2007) | 7 lines
2007-01-23 Andrew Pinski <pinskia@gmail.com>
* jcf-io.c (opendir_in_zip): Close the file
and free zipf before returning after an error.
........
r121102 | pinskia | 2007-01-23 22:01:09 -0800 (Tue, 23 Jan 2007) | 12 lines
2007-01-23 Andrew Pinski <pinskia@gmail.com>
* objc-act.c (objc_add_static_instance): Mark the decl as
TREE_USED.
2007-01-23 Andrew Pinski <pinskia@gmail.com>
* objc.dg/const-str-12.m: New test.
........
r121105 | rsandifo | 2007-01-24 00:16:14 -0800 (Wed, 24 Jan 2007) | 4 lines
gcc/
* reload1.c (emit_reload_insns): Pass the reload register
for a non-spill output reload through forget_old_reloads_1.
........
r121106 | uros | 2007-01-24 03:17:09 -0800 (Wed, 24 Jan 2007) | 5 lines
* config/i386/i386.md (tanxf2, tan<mode>2, atan<mode>2, log<mode>2,
log10<mode>2, log2<mode>2, expxf2, exp10xf2, exp2xf2): Use op2
instead of operands[2] to avoid access past the end of array.
........
r121107 | krebbel | 2007-01-24 04:03:38 -0800 (Wed, 24 Jan 2007) | 16 lines
2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
* c-cppbuiltin.c (builtin_define_type_sizeof): New function.
(c_cpp_builtins): New builtin macros: __SIZEOF_INT__, __SIZEOF_LONG__,
__SIZEOF_LONG_LONG__, __SIZEOF_SHORT__, __SIZEOF_POINTER__,
__SIZEOF_FLOAT__, __SIZEOF_DOUBLE__, __SIZEOF_LONG_DOUBLE__,
__SIZEOF_SIZE_T__, __SIZEOF_WCHAR_T__, __SIZEOF_WINT_T__ and
__SIZEOF_PTRDIFF_T__.
* doc/cpp.texi: Documentation for the new builtin macros added.
2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
* gcc.c-torture/compile/sizeof-macros-1.c: New testcase.
........
r121108 | hubicka | 2007-01-24 04:13:45 -0800 (Wed, 24 Jan 2007) | 3 lines
* gcc.dg/tree-ssa/pr23382.c: Avoid DCE from eliminating dead variable.
* tree-ssa-dce.c (eliminate_unnecesary_stmts): Remove dead LHS of calls.
........
r121114 | rguenth | 2007-01-24 05:49:18 -0800 (Wed, 24 Jan 2007) | 5 lines
2007-01-24 Richard Guenther <rguenther@suse.de>
* builtins.c (expand_builtin_cexpi): Get the fndecl
for cexp in the correct way.
........
r121115 | rguenth | 2007-01-24 06:13:28 -0800 (Wed, 24 Jan 2007) | 6 lines
2007-01-24 Richard Guenther <rguenther@suse.de>
* gcc.dg/builtins-57.c: Change to a link-time testcase
to support non-C99 targets.
........
r121116 | krebbel | 2007-01-24 06:46:47 -0800 (Wed, 24 Jan 2007) | 24 lines
2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
* unwind-dw2-fde.c (get_cie_encoding): Replaced _Unwind_Word with
_uleb128_t and _Unwind_SWord with _sleb128_t.
* unwind-dw2.c (extract_cie_info, execute_stack_op, execute_cfa_program,
uw_frame_state_for, uw_update_context_1): Likewise.
* unwind-c.c (parse_lsda_header, PERSONALITY_FUNCTION): Likewise.
* unwind-pe.h (read_uleb128, read_sleb128,
read_encoded_value_with_base): Likewise.
* unwind-generic.h: Define _sleb128_t and _uleb128_t types.
2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
* libsupc++/eh_personality.cc (parse_lsda_header, check_exception_spec,
get_ttype_entry, empty_exception_spec, PERSONALITY_FUNCTION): Replaced
_Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
* exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
_Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
........
r121117 | bkoz | 2007-01-24 07:03:40 -0800 (Wed, 24 Jan 2007) | 9 lines
2007-01-24 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Add
libsupc++ library directory.
* testsuite/abi/cxx_runtime_only_linkage.cc: Remove hard-coded
path specification.
........
r121118 | aph | 2007-01-24 09:11:04 -0800 (Wed, 24 Jan 2007) | 10 lines
2007-01-24 Andrew Haley <aph@redhat.com>
* jcf-parse.c (HANDLE_SYNTHETIC_ATTRIBUTE): current_class is a
type node, not a decl, so use TYPE_SYNTHETIC not CLASS_SYNTHETIC.
2007-01-22 Andrew Haley <aph@redhat.com>
* builtins.c (VMSupportsCS8_builtin): New function.
........
r121119 | aph | 2007-01-24 09:13:50 -0800 (Wed, 24 Jan 2007) | 12 lines
2007-01-24 Andrew Haley <aph@redhat.com>
* gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
(getClassContext) Add a barrier to prevent GetStackWalkerStack()
from being sibcalled.
2007-01-24 Andrew Haley <aph@redhat.com>
* scripts/makemake.tcl (emit_bc_rule): Set the source filename.
* sources.am: Rebuild.
........
r121127 | andreast | 2007-01-24 11:36:42 -0800 (Wed, 24 Jan 2007) | 4 lines
2007-01-24 Andreas Tobler <a.tobler@schweiz.org>
ChangeLog: Fix Typo.
........
r121128 | sje | 2007-01-24 11:40:12 -0800 (Wed, 24 Jan 2007) | 15 lines
* target.h (globalize_decl_name): New.
* target-def.h (TARGET_ASM_GLOBALIZE_DECL_NAME): New.
* output.h (default_globalize_decl_name): New.
* varasm.c (asm_output_bss): Use globalize_decl_name instead of
globalize_label.
(globalize_decl): Ditto.
(default_globalize_decl_name): New.
* config/ia64/ia64.c (ia64_globalize_decl_name): New.
(ia64_handle_version_id_attribute): New.
(TARGET_ASM_GLOBALIZE_DECL_NAME): New.
(ia64_asm_output_external): Use globalize_decl_name instead
of globalize_label.
* doc/extend.texi (version_id): New pragma.
* doc/tm.texi (ARGET_ASM_GLOBALIZE_DECL_NAME): New target hook.
........
r121129 | sje | 2007-01-24 11:40:57 -0800 (Wed, 24 Jan 2007) | 2 lines
Forgot ChangeLog in previous commit.
........
r121130 | sje | 2007-01-24 11:47:31 -0800 (Wed, 24 Jan 2007) | 3 lines
* gcc.target/ia64/versionid-1.c: New test.
* gcc.target/ia64/versionid-2.c: New test.
........
r121131 | jakub | 2007-01-24 12:53:08 -0800 (Wed, 24 Jan 2007) | 8 lines
* omp-low.c (lower_omp_for_lastprivate): Add dlist argument.
If lower_lastprivate_clauses emits some statements, append them
to dlist rather than body_p and to body_p append an initializer.
(lower_omp_for): Adjust caller.
* gcc.dg/gomp/pr30421.c: New test.
........
r121132 | jakub | 2007-01-24 12:56:45 -0800 (Wed, 24 Jan 2007) | 9 lines
* gimplify.c (omp_add_variable): Don't call omp_notice_variable
on TYPE_SIZE_UNIT for GOVD_LOCAL VLAs.
* gcc.dg/gomp/pr30494.c: New test.
* g++.dg/gomp/pr30494.C: New test.
* testsuite/libgomp.c/pr30494.c: New test.
........
r121133 | jakub | 2007-01-24 12:58:21 -0800 (Wed, 24 Jan 2007) | 7 lines
* gimplify.c (omp_check_private): New function.
(gimplify_scan_omp_clauses): Use it for
firstprivate/lastprivate/reduction.
* gcc.dg/gomp/pr27416.c: New test.
........
r121140 | jakub | 2007-01-24 14:00:03 -0800 (Wed, 24 Jan 2007) | 6 lines
* config/i386/i386.h (x86_cmpxchg16b): Remove const.
(TARGET_CMPXCHG16B): Define to x86_cmpxchg16b.
* config/i386/i386.c (x86_cmpxchg16b): Remove const.
(override_options): Add PTA_CX16 flag. Set x86_cmpxchg16b
for CPUs that have PTA_CX16 set.
........
r121141 | jakub | 2007-01-24 14:23:58 -0800 (Wed, 24 Jan 2007) | 2 lines
Add myself as libgomp maintainer.
........
r121142 | kseitz | 2007-01-24 14:35:43 -0800 (Wed, 24 Jan 2007) | 3 lines
* gnu/classpath/jdwp/natVMVirtualMachine.cc
(getAllClassMethods): Implement.
........
r121143 | kseitz | 2007-01-24 14:44:08 -0800 (Wed, 24 Jan 2007) | 3 lines
* prims.cc (_Jv_RunMain): Send JVMTI event notifications
for VM_INIT and VM_DEATH instead of the JDWP notifications.
........
r121144 | hubicka | 2007-01-24 14:45:00 -0800 (Wed, 24 Jan 2007) | 9 lines
* ipa-inline.c (initial_insns, max_insns): Delete.
(compute_max_insns): New function.
(cgraph_decide_inlining_of_small_function): Use it; take minimal amount
of insns as base for code growth.
(cgraph_decide_inlining): Make initial_insns local; do not compute
max_insns.
* params.def (PARAM_INLINE_UNIT_GROWTH): Set to 60.
* doc/invoke.texi (inline-unit-growth): Update docs.
........
r121145 | pinskia | 2007-01-24 14:45:20 -0800 (Wed, 24 Jan 2007) | 7 lines
2007-01-24 Andrew Pinski <andrew_pinski@playstation.sony.com>
* libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Replace
_Unwind_Word with _uleb128_t in the SJLJ context.
........
r121146 | hubicka | 2007-01-24 14:45:34 -0800 (Wed, 24 Jan 2007) | 2 lines
oops, wrong variant of patch.
........
r121147 | paolo | 2007-01-24 15:52:37 -0800 (Wed, 24 Jan 2007) | 7 lines
2007-01-24 Steve LoBasso <slobasso@yahoo.com>
Paolo Carlini <pcarlini@suse.de>
* include/bits/deque.tcc (deque<>::erase(iterator, iterator)):
Fix condition.
* testsuite/23_containers/deque/modifiers/erase/3.cc: New.
........
r121152 | gccadmin | 2007-01-24 16:18:18 -0800 (Wed, 24 Jan 2007) | 1 line
Daily bump.
........
r121155 | kseitz | 2007-01-24 16:40:45 -0800 (Wed, 24 Jan 2007) | 4 lines
* interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
* interpret-run.cc: Implement insn_breakpoint.
........
r121156 | hubicka | 2007-01-24 17:13:02 -0800 (Wed, 24 Jan 2007) | 2 lines
* ipa-inline.c (cgraph_decide_inlining): Initialize initial_insns.
........
r121157 | kseitz | 2007-01-24 17:21:27 -0800 (Wed, 24 Jan 2007) | 3 lines
* link.cc (_Jv_Linker::wait_for_state): Add JVMTI
CLASS_PREPARE notification.
........
r121159 | ghazi | 2007-01-24 19:57:30 -0800 (Wed, 24 Jan 2007) | 7 lines
* builtins.c (fold_builtin_carg): New.
(fold_builtin_1): Use it.
testsuite:
* gcc.dg/builtins-20.c: Test builtin carg.
........
r121160 | dgregor | 2007-01-24 20:02:15 -0800 (Wed, 24 Jan 2007) | 5 lines
2007-01-24 Douglas Gregor <dgregor@osl.iu.edu>
* g++.dg/cpp0x/warn_cxx0x.C: New.
........
r121161 | dgregor | 2007-01-24 20:02:36 -0800 (Wed, 24 Jan 2007) | 10 lines
2007-01-24 Douglas Gregor <dgregor@osl.iu.edu>
* lex.c (D_CPP0X): Rename.
(D_CXX0X): To this.
(reswords): D_CPP0X -> D_CXX0X.
(init_reswords): Ditto.
* parser.c (cp_lexer_get_preprocessor_token): Warn about the use
of C++0x keywords as identifiers.
........
r121162 | dgregor | 2007-01-24 20:04:18 -0800 (Wed, 24 Jan 2007) | 10 lines
2007-01-24 Douglas Gregor <dgregor@osl.iu.edu>
* c-common.h (RID_FIRST_CXX0X): New.
(RID_LAST_CXX0X): New.
* c-opts.c (c_common_handle_option): -Wc++0x-compat is triggered
by -Wall.
* c.opt (Wc++0x-compat): New.
* doc/invoke.texi (-Wc++0x-compat): Document.
........
r121163 | ghazi | 2007-01-24 20:15:26 -0800 (Wed, 24 Jan 2007) | 6 lines
* builtins.c (fold_builtin_cabs): Use MPFR to evaluate a
constant argument to cabs and do it without checking for
-funsafe-math-optimizations.
........
r121165 | geoffk | 2007-01-24 23:08:33 -0800 (Wed, 24 Jan 2007) | 2 lines
* unwind-dw2.c (execute_stack_op): Handle DW_OP_swap.
........
r121167 | razya | 2007-01-25 02:54:47 -0800 (Thu, 25 Jan 2007) | 17 lines
2007-01-25 Razya Ladelsky <razya@il.ibm.com>
* ipa-cp.c (ipcp_insert_stage, ipcp_driver): Support for SSA.
(ipcp_driver): Change to static definition.
Add dumping of the ifunctions.
(constant_val_insert): Remove unused parameter. Support for SSA.
(ipcp_propagate_const): Support for SSA.
(ipcp_profile_bb_print): Print only analyzed nodes.
(ipcp_replace_map_create): Remove support for Fortran constant
for now.
* ipa-prop.c (ipa_method_modify_stmt,
ipa_callsite_compute_param): Support for SSA.
* ipa-prop.h (ipcp_driver): Remove declaration.
(IS_VALID_TREE_MAP_INDEX): Add define.
........
r121168 | razya | 2007-01-25 03:01:40 -0800 (Thu, 25 Jan 2007) | 12 lines
2007-01-25 Razya Ladelsky <razya@il.ibm.com>
* gcc.dg/ipa/ipa-1.c: Update scan tree dump.
* gcc.dg/ipa/ipa-2.c: Update scan tree dump.
* gcc.dg/ipa/ipa-3.c: Update scan tree dump.
* gcc.dg/ipa/ipa-4.c: Update scan tree dump.
* gcc.dg/ipa/ipa-5.c: Update scan tree dump.
* gcc.dg/ipa/ipa-6.c: Update scan tree dump.
* gcc.dg/ipa/ipa-7.c: New testcase.
........
r121169 | rguenth | 2007-01-25 04:35:13 -0800 (Thu, 25 Jan 2007) | 11 lines
2007-01-25 Richard Guenther <rguenther@suse.de>
* doc/invoke.texi (-Wcoverage-mismatch): Document.
* common.opt (-Wcoverage-mismatch): New warning option.
* coverage.c (get_coverage_counts): Ignore coverage mismatch
if -Wcoverage-mismatch is given.
* gcc.dg/tree-prof/tree-prof.exp: Define _PROFILE_GENERATE
and _PROFILE_USE.
* gcc.dg/tree-prof/wcoverage-mismatch.c: New testcase.
........
r121170 | paolo | 2007-01-25 05:08:51 -0800 (Thu, 25 Jan 2007) | 5 lines
2007-01-25 Nathan Myers <ncm@cantrip.org>
* include/bits/streambuf_iterator.h (istreambuf_iterator<>::equal):
Simplify.
........
r121172 | kgallowa | 2007-01-25 06:19:05 -0800 (Thu, 25 Jan 2007) | 7 lines
2007-01-25 Kyle Galloway <kgallowa@redhat.com>
* libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
* libjava/testsuite/libjava.jvmti/interp: New folder.
* libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
........
r121173 | kgallowa | 2007-01-25 06:25:26 -0800 (Thu, 25 Jan 2007) | 5 lines
Kyle Galloway 2007-01-25 <kgallowa@redhat.com>
* ChangeLog: Add ChangeLog entry that didn't apply.
........
r121174 | kgallowa | 2007-01-25 06:42:45 -0800 (Thu, 25 Jan 2007) | 6 lines
2007-01-25 Kyle Galloway <kgallowa@redhat.com>
* testsuite/libjava.jvmti/lib/libjava.exp (exec_gij): Change [ to { in
if statement.
........
r121176 | drow | 2007-01-25 08:00:32 -0800 (Thu, 25 Jan 2007) | 4 lines
* configure.ac: Add --enable-version-specific-runtime-libs.
Correct $slibdir default.
* configure: Regenerated.
........
r121177 | sayle | 2007-01-25 08:58:26 -0800 (Thu, 25 Jan 2007) | 9 lines
* decl.c (gnat_to_gnu_entity): Use TREE_OVERFLOW instead of
TREE_CONSTANT_OVERFLOW.
(allocatable_size_p, annotate_value): Likewise.
* trans.c (gnat_to_gnu): Likewise.
* utils.c (unchecked_convert): Likewise.
* utils2.c (build_simple_component_ref): Likewise.
........
r121178 | sje | 2007-01-25 09:06:55 -0800 (Thu, 25 Jan 2007) | 4 lines
* config/pa/pa.c (pa_init_builtins): Set asm names for finite routines.
* config/ia64/ia64.c (ia64_init_builtins): Ditto.
........
r121179 | kseitz | 2007-01-25 10:04:01 -0800 (Thu, 25 Jan 2007) | 6 lines
* jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
(_Jv_JVMTI_Interface): Define GetMethodName.
* testsuite/libjava.jvmti/getmethodname.java: New file.
* testsuite/libjava.jvmti/natgetmethodname.cc: New file.
* testsuite/libjava.jvmti/getmethodname.out: New file.
........
r121180 | sje | 2007-01-25 10:08:16 -0800 (Thu, 25 Jan 2007) | 2 lines
* config.gcc (ia64*-*-hpux*): Make posix threads the default.
........
r121182 | dfranke | 2007-01-25 11:25:01 -0800 (Thu, 25 Jan 2007) | 8 lines
2007-01-25 Daniel Franke <franke.daniel@gmail.com>
* inclhack.def(broken_cabs): Also remove definition of cabsl.
* fixincl.x: Regenerate.
* tests/base/math.h: Update.
........
r121183 | tromey | 2007-01-25 11:51:33 -0800 (Thu, 25 Jan 2007) | 9 lines
2007-01-25 Andrew Haley <aph@redhat.com>
* configure, Makefile.in, include/config.h.in: Rebuilt.
* Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
* configure.ac: Don't check for libmagic.
* java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
p_magic_close, p_magic_buffer): New globals.
(init): Look up 'magic' functions.
(guessContentTypeFromBuffer): Updated.
........
r121184 | geoffk | 2007-01-25 12:32:06 -0800 (Thu, 25 Jan 2007) | 28 lines
2007-01-24 Geoffrey Keating <geoffk@apple.com>
* config/rs6000/rs6000.c (first_altivec_reg_to_save): On Darwin,
save Altivec registers in an eh_return function.
(compute_vrsave_mask): Likewise.
(rs6000_stack_info): Correct AIX/Darwin stack alignment computation
for saving Altivec registers.
(rs6000_emit_prologue): Don't allocate stack twice in
eh_return function. Correct expected value of altivec_save_offset
when using save_world. Describe save of R0 to stack when using
save_world. Describe stack pointer adjustment when using
save_world. Remove duplicated eh_return parameter register saving.
Update sp_offset variable after save_world.
* config/rs6000/t-darwin (LIB2FUNCS_STATIC_EXTRA): Remove
darwin-world.asm.
(LIB2FUNCS_EXTRA): Add darwin-world.asm.
* config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): -m64
implies Altivec.
Index: gcc/testsuite/ChangeLog
2007-01-24 Geoffrey Keating <geoffk@apple.com>
* gcc.target/powerpc/darwin-ehreturn-1.c: New.
* g++.dg/eh/simd-2.C: Also run on Darwin.
* g++.dg/eh/simd-3.C: New.
* g++.dg/eh/simd-4.C: New.
........
r121185 | kseitz | 2007-01-25 13:05:18 -0800 (Thu, 25 Jan 2007) | 7 lines
* include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
* gnu/classpath/jdwp/natVMVirtualMachine.cc
(_Jv_GetJDWP_JVMTIEnv): New function.
* gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
(getSignature): Implement.
(getModifiers): Implement.
........
r121186 | manu | 2007-01-25 13:15:34 -0800 (Thu, 25 Jan 2007) | 13 lines
2007-01-25 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
fortran/
* lang.opt (Wall): Remove RejectNegative.
* options.c (gfc_handle_option): Wall can be disabled.
(set_Wall): Add a parameter for disabling Wall.
testsuite/
* gcc.dg/Wall.c: New.
* gcc.dg/Wno-all.c: New.
* gfortran.dg/Wall.f90: New.
* gfortran.dg/Wno-all.f90: New.
........
r121195 | gccadmin | 2007-01-25 16:17:43 -0800 (Thu, 25 Jan 2007) | 1 line
Daily bump.
........
r121197 | tromey | 2007-01-25 17:05:13 -0800 (Thu, 25 Jan 2007) | 3 lines
* gnu/gcj/convert/Convert.java (main): Correctly handle missing
input or output encodings. Removed unused local variables.
........
r121198 | dj | 2007-01-25 17:15:05 -0800 (Thu, 25 Jan 2007) | 3 lines
* reload1.c (choose_reload_regs): Check for invalid subregs before
computing their locations, not after.
........
r121199 | dj | 2007-01-25 17:16:57 -0800 (Thu, 25 Jan 2007) | 3 lines
* config/m32c/m32c.c (m32c_cannot_change_mode_class): We don't
allow changes to modes which don't fit in those registers.
........
r121200 | ghazi | 2007-01-25 18:40:31 -0800 (Thu, 25 Jan 2007) | 11 lines
* builtins.c (fold_builtin_1): Treat ccos and ccosh as 'even'
functions.
* fold-const.c (negate_mathfn_p): Treat casin, casinh, catan,
catanh, cproj, csin, csinh, ctan and ctanh as 'odd' functions.
testsuite:
* gcc.dg/builtins-20.c: Add more cases.
* gcc.dg/torture/builtin-symmetric-1.c: Likewise.
........
r121201 | burnus | 2007-01-26 00:35:19 -0800 (Fri, 26 Jan 2007) | 22 lines
fortran/
2007-01-26 Tobias Burnus <burnus@net-b.de>
* lang-specs.h: Add support for .f03 and .F03 extensions.
* gfortran.texi: Document .f03 extension.
* options.c (form_from_filename): Recognize .f03.
testsuite/
2007-01-26 Tobias Burnus <burnus@net-b.de>
* gfortran.dg/gomp/gomp.exp: Support .f03 extension.
* gfortran.dg/vect/vect.exp: Ditto.
* gfortran.dg/dg.exp: Ditto.
* gfortran.fortran-torture/execute/execute.exp: Ditto.
* gfortran.fortran-torture/compile/compile.exp: Ditto.
libgomp/
2007-01-26 Tobias Burnus <burnus@net-b.de>
* testsuite/libgomp.fortran/fortran.exp: Support .f03 extension.
........
r121202 | rguenth | 2007-01-26 04:36:01 -0800 (Fri, 26 Jan 2007) | 6 lines
2007-01-26 Daniel Berlin <dberlin@dberlin.org>
Richard Guenther <rguenther@suse.de>
* tree-ssa-structalias.c (solve_graph): Handle case
we merged the variable to another.
........
r121205 | rguenth | 2007-01-26 07:36:03 -0800 (Fri, 26 Jan 2007) | 4 lines
2007-01-26 Richard Guenther <rguenther@suse.de>
* gcc.dg/tree-ssa/pr23382.c: Fix typo.
........
r121209 | paolo | 2007-01-26 10:00:42 -0800 (Fri, 26 Jan 2007) | 6 lines
2007-01-26 Paolo Carlini <pcarlini@suse.de>
* config/cpu/ia64/atomic_word.h: Just include <bits/cxxabi_tweaks.h>.
* testsuite/abi/30586.cc: New.
........
r121211 | sje | 2007-01-26 10:16:29 -0800 (Fri, 26 Jan 2007) | 5 lines
* config/pa/pa.h (TARGET_HPUX_11): New.
* config/pa/pa-hpux11.h (TARGET_HPUX_11): New.
* config/pa/pa.c (pa_init_builtins): Use TARGET_HPUX_11.
........
r121212 | rakdver | 2007-01-26 11:33:04 -0800 (Fri, 26 Jan 2007) | 22 lines
* tree-data-ref.c (dump_subscript): Use dump_conflict_function.
(compute_subscript_distance, initialize_data_dependence_relation,
finalize_ddr_dependent, analyze_ziv_subscript,
analyze_siv_subscript_cst_affine,
compute_overlap_steps_for_affine_univar,
compute_overlap_steps_for_affine_1_2, analyze_subscript_affine_affine,
analyze_siv_subscript, analyze_miv_subscript,
analyze_overlapping_iterations, subscript_dependence_tester_1,
compute_self_dependence, free_dependence_relation): Work
with affine_fn instead of chrecs.
(dump_affine_function, dump_conflict_function, affine_function_equal_p,
common_affine_function, affine_function_base,
affine_function_constant_p, affine_fn_op, affine_fn_plus,
affine_fn_minus, affine_fn_free, conflict_fn_not_known,
conflict_fn_no_dependence, free_conflict_function, free_subscripts,
conflict_fn, affine_fn_cst, affine_fn_univar): New functions.
(all_chrecs_equal_p): Removed.
* tree-data-ref.h (affine_fn, conflict_function): New types.
(struct subscript): Change type of conflicting_iterations_in_a
and conflicting_iterations_in_b.
........
r121213 | rakdver | 2007-01-26 11:47:20 -0800 (Fri, 26 Jan 2007) | 4 lines
* tree-ssa-address.c (create_mem_ref): Remove ", bsi" from
a parts.base assignment.
........
r121215 | tromey | 2007-01-26 15:07:08 -0800 (Fri, 26 Jan 2007) | 6 lines
libjava
* Updated headers.
libjava/classpath
* tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
'volatile' after field type.
........
r121216 | jakub | 2007-01-26 15:15:08 -0800 (Fri, 26 Jan 2007) | 6 lines
* genattrtab.c (struct attr_value_list, insn_code_values): Move to
file scope from optimize_attrs.
(simplify_test_exp): If insn_code_values is not NULL, use it to speed
up search.
(optimize_attrs): Clear insn_code_values after freeing it.
........
r121217 | jakub | 2007-01-26 15:22:35 -0800 (Fri, 26 Jan 2007) | 7 lines
* Makefile.am (generic_header_files): Add $(inner_nat_headers).
* testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
(MYGCJH): New variable.
(compile-tests): New goal.
* Makefile.in: Rebuilt.
* testsuite/Makefile.in: Rebuilt.
........
r121218 | kargl | 2007-01-26 15:36:11 -0800 (Fri, 26 Jan 2007) | 9 lines
2007-01-26 Steven Bosscher <stevenb.gcc@gmail.com>
Steven G. Kargl <kargl@gcc.gnu,org>
* testsuite/gfortran.dg/backslash_3.f: New test.
* fortran/io.c (next_char): Deal with backslash escaped characters.
Issue warnings in non -std=gnu cases.
* fortran/primary.c (next_string_char): Issue warnings in non
........
r121219 | jsm28 | 2007-01-26 15:53:28 -0800 (Fri, 26 Jan 2007) | 4 lines
* lib/target-supports.exp
(check_effective_target_powerpc_altivec): New.
(check_effective_target_vect_cmdline_needed): Use it.
........
r121225 | gccadmin | 2007-01-26 16:17:45 -0800 (Fri, 26 Jan 2007) | 1 line
Daily bump.
........
r121227 | sayle | 2007-01-26 18:52:37 -0800 (Fri, 26 Jan 2007) | 7 lines
* config/i386/i386.c (ix86_swap_binary_operands_p): New helper
function to simplify/factorize operand order canonicalization.
(ix86_fixup_binary_operands): Reorganize using the above function.
(ix86_binary_operator_ok): Likewise.
........
r121229 | kargl | 2007-01-26 21:29:38 -0800 (Fri, 26 Jan 2007) | 2 lines
........
r121231 | steven | 2007-01-27 06:48:02 -0800 (Sat, 27 Jan 2007) | 13 lines
* tracer.c (rest_of_handle_tracer): We already cleaned
up the CFG in tracer() so don't do it here again.
* cfgcleanup.c (rest_of_handle_jump2): Don't repeat
cleanup_cfg here, either. And don't call renumber_insns.
* cfgrtl.c (rtl_verify_flow_info_1): Don't verify that BB_END
and BB_HEAD are in the insn stream here. Instead make sure
that BB_INSN is valid on all insns. Also, do check here that
there are no pending branch predictions...
(rtl_verify_flow_info): ...instead of doing it here. Checks
for BB_END and BB_HEAD moved from rtl_verify_flow_info_1 to
here.
........
r121233 | kseitz | 2007-01-27 08:34:32 -0800 (Sat, 27 Jan 2007) | 10 lines
* gnu/classpath/jdwp/natVMVirtualMachine.cc
(getAllClassMethods): Move error handling to ...
(throw_jvmti_error): ... here.
(jdwpClassPrepareCB): New function.
(jdwpThreadEndCB): New function.
(jdwpThreadStartCB): New function.
(jdwpVMDeathCB): New function.
(jdwpVMInitCB): Define and enable callbacks for
ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
........
r121235 | pault | 2007-01-27 10:23:14 -0800 (Sat, 27 Jan 2007) | 22 lines
2007-01-27 Paul Thomas <pault@gcc.gnu.org>
* trans-expr.c (gfc_conv_operator_assign): New function.
* trans.h : Add prototype for gfc_conv_operator_assign.
* trans-stmt.c (gfc_trans_where_assign): Add a gfc_symbol for
a potential operator assignment subroutine. If it is non-NULL
call gfc_conv_operator_assign instead of the first assignment.
( gfc_trans_where_2): In the case of an operator assignment,
extract the argument expressions from the code for the
subroutine call and pass the symbol to gfc_trans_where_assign.
resolve.c (resolve_where, gfc_resolve_where_code_in_forall,
gfc_resolve_forall_body): Resolve the subroutine call for
operator assignments.
2007-01-27 Paul Thomas <pault@gcc.gnu.org>
* gfortran.dg/where_operator_assign_1.f90: New test.
* gfortran.dg/where_operator_assign_2.f90: New test.
* gfortran.dg/where_operator_assign_3.f90: New test.
........
r121236 | sayle | 2007-01-27 11:02:25 -0800 (Sat, 27 Jan 2007) | 13 lines
* trans-stmt.c (forall_info): Replace the next_nest and outer
fields that previously implemented a doubly-linked list with a
single prev_nest field (singly-linked list).
(gfc_trans_nested_forall_loop): The nested_forall_info argument
now denotes the innermost FORALL in the loop nest.
(compute_overall_iter_number): Use prev_nest instead of next_nest.
(gfc_trans_forall_1): Link/cons the new "info" to the head of the
nested_forall_info linked list. Free the current "info" when done.
* gfortran.dg/forall_7.f90: New test case.
........
r121237 | tromey | 2007-01-27 11:50:38 -0800 (Sat, 27 Jan 2007) | 8 lines
config
2007-01-27 Paolo Bonzini <bonzini@gnu.org>
* depstand.m4 (ZW_CREATE_DEPDIR): Use mkinstalldirs to make
directory.
libcpp
* configure: Rebuilt.
........
r121239 | andreast | 2007-01-27 13:46:15 -0800 (Sat, 27 Jan 2007) | 9 lines
2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
* configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
libgcj_flags to undefine 'sun' at compile time.
* sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
Sparc.
(write_barrier): Likewise.
........
r121240 | hubicka | 2007-01-27 14:31:19 -0800 (Sat, 27 Jan 2007) | 4 lines
* tree-sra.c (sra_walk_function): Don't rely on aliases being build.
(pass_sra): Do not require alias information.
* passes.c (init_optimization_passes): Add SRA
........
r121241 | gerald | 2007-01-27 15:51:49 -0800 (Sat, 27 Jan 2007) | 7 lines
* doc/sourcebuild.texi: Add comma for clarity.
* doc/extend.texi: Fix some typos.
* doc/passes.texi: Likewise.
* doc/cppinternals.texi: Likewise.
* doc/c-tree.texi: Likewise.
* doc/tree-ssa.texi: Likewise.
........
r121242 | gerald | 2007-01-27 15:55:27 -0800 (Sat, 27 Jan 2007) | 7 lines
* doc/sourcebuild.texi: Add comma for clarity.
* doc/extend.texi: Fix some typos.
* doc/passes.texi: Likewise.
* doc/cppinternals.texi: Likewise.
* doc/c-tree.texi: Likewise.
* doc/tree-ssa.texi: Likewise.
........
r121245 | gerald | 2007-01-27 16:12:11 -0800 (Sat, 27 Jan 2007) | 2 lines
Add missing doc/install.texi to ChangeLog entry of the previous commit.
........
r121250 | gccadmin | 2007-01-27 16:17:40 -0800 (Sat, 27 Jan 2007) | 1 line
Daily bump.
........
r121252 | sayle | 2007-01-27 19:48:41 -0800 (Sat, 27 Jan 2007) | 10 lines
* fold-const.c (size_binop): In the fast-paths for X+0, 0+X, X-0 and
1*X check that the constant hasn't overflowed, to preserve the
TREE_OVERFLOW bit.
(round_up): Provide an efficient implementation when rouding-up an
INTEGER_CST to a power-of-two.
* gcc-dg/large-size-array-3.c: New test case.
........
r121253 | sayle | 2007-01-27 21:04:48 -0800 (Sat, 27 Jan 2007) | 11 lines
* tree.c (tree_fold_gcd): Delete.
* tree.h (tree_fold_gcd): Remove prototype.
* tree-data-ref.c (tree_fold_divides_p): Don't use tree_fold_gcd to
test whether one constant integer is a multiple of another. Instead
call int_const_binop with TRUNC_MOD_EXPR and test for a zero result.
* fold-const.c (multiple_of_p): We've determined both TOP and
BOTTOM are integer constants so we can call int_const_binop directly
instead of the more generic const_binop.
........
r121254 | ian | 2007-01-27 21:15:06 -0800 (Sat, 27 Jan 2007) | 69 lines
./:
* common.opt: Add fstrict-overflow.
* opts.c (decode_options): Set flag_strict_overflow if -O2.
* flags.h (TYPE_OVERFLOW_WRAPS): Define.
(TYPE_OVERFLOW_UNDEFINED): Define.
(TYPE_OVERFLOW_TRAPS): Define. This replaces TYPE_TRAP_SIGNED.
Replace all uses.
* tree.h (TYPE_TRAP_SIGNED): Don't define.
* fold-const.c (negate_expr_p): Use TYPE_OVERFLOW_UNDEFINED.
(fold_negate_expr): Likewise.
(make_range): Likewise.
(extract_muldiv_1): Likewise.
(maybe_canonicalize_comparison): Likewise.
(fold_comparison): Likewise.
(fold_binary): Likewise.
(tree_expr_nonnegative_p): Likewise.
(tree_expr_nonzero_p): Likewise.
* tree-vrp.c (compare_values): Likewise.
(extract_range_from_binary_expr): Likewise.
(extract_range_from_unary_expr): Likewise.
* tree-ssa-loop-niter.c (infer_loop_bounds_from_signedness):
Likewise.
(nowrap_type_p): Likewise.
* tree-scalar-evolution.c (simple_iv): Likewise.
* fold-const.c (negate_expr_p): Use TYPE_OVERFLOW_WRAPS.
(build_range_check): Likewise.
(extract_muldiv_1): Likewise.
(fold_comparison): Likewise.
* tree-vrp.c (vrp_int_const_binop): Likewise.
(extract_range_from_unary_expr): Likewise.
* convert.c (convert_to_integer): Likewise.
* fold-const.c (fold_negate_expr): Use TYPE_OVERFLOW_TRAPS.
(fold_comparison): Likewise.
(fold_binary): Likewise.
* optabs.c (optab_for_tree_code): Likewise.
* tree-vectorizer.c (vect_is_simple_reduction): Likewise.
* simplify-rtx.c (simplify_const_relational_operation): Check
flag_strict_overflow and flag_trapv.
(simplify_const_relational_operation): Likewise.
* doc/invoke.texi (Option Summary): Mention -fstrict-overflow.
(Optimize Options): Add -fstrict-overflow to -O2 list. Document
-fstrict-overflow.
testsuite/:
* gcc.dg/strict-overflow-1.c: New test.
* gcc.dg/no-strict-overflow-1.c: New test.
* gcc.dg/strict-overflow-2.c: New test.
* gcc.dg/no-strict-overflow-2.c: New test.
* gcc.dg/strict-overflow-3.c: New test.
* gcc.dg/no-strict-overflow-3.c: New test.
* gcc.dg/strict-overflow-4.c: New test.
* gcc.dg/no-strict-overflow-4.c: New test.
* gcc.dg/fold-mod-1.c: Add -fstrict-overflow option.
* gcc.dg/pr15784-1.c: Likewise.
* gcc.dg/pr20922-1.c: Likewise.
* gcc.dg/pr20922-3.c: Likewise.
* gcc.dg/pr20922-4.c: Likewise.
* gcc.dg/pr20922-6.c: Likewise.
* gcc.dg/compare-4.c: Likewise.
* gcc.dg/torture/pr26898-1.c: Likewise.
* gcc.dg/tree-ssa/divide-1.c: Likewise.
* gcc.dg/tree-ssa/divide-2.c: Likewise.
* gcc.dg/tree-ssa/divide-3.c: Likewise.
* gcc.dg/tree-ssa/divide-4.c: Likewise.
* gcc.dg/tree-ssa/pr14490-1.c: Likewise.
* gcc.dg/tree-ssa/pr14490-3.c: Likewise.
* gcc.dg/tree-ssa/pr21082.c: Likewise.
* gcc.dg/tree-ssa/pr26899.c: Likewise.
* g++.dg/tree-ssa/pr21082.C: Likewise.
........
r121255 | tkoenig | 2007-01-28 02:44:47 -0800 (Sun, 28 Jan 2007) | 32 lines
2007-01-28 Thomas Koenig <Thomas.Koenig@online.de>
* gfortran.h: Remove gfc_simplify_init_1.
* arith.h: Remove third argument from gfc_compare_string.
* arith.c(gfc_compare_expression): Remove third argument
from call to gfc_compare_string.
(gfc_compare_string): Remove third argument xcoll_table.
Remove use of xcoll_table.
* misc.c(gfc_init_1): Remove call to gfc_simplify_init_1.
* simplify.c(ascii_table): Remove.
(xascii_table): Likewise.
(gfc_simplify_achar): ICE if extract_int fails. Remove use of
ascii_table. Warn if -Wsurprising and value < 0 or > 127.
(gfc_simplify_char): ICE if extract_int fails. Error if
value < 0 or value > 255.
(gfc_simplify_iachar): Remove use of xascii_table.
Char values outside of 0..255 are an ICE.
(gfc_simplify_lge): Remove use of xascii_table.
(gfc_simplify_lgt): Likewise.
(gfc_simplify_lle): Likewise.
(gfc_simplify_llt): Likewise.
(invert_table): Remove.
(gfc_simplify_init_1): Remove.
2007-01-28 Thomas Koenig <Thomas.Koenig@online.de>
* gfortran.dg/achar_2.f90: New test.
* gfortran.dg/achar_3.f90: New test.
........
r121256 | razya | 2007-01-28 05:01:53 -0800 (Sun, 28 Jan 2007) | 16 lines
2007-01-25 Razya Ladelsky <razya@il.ibm.com>
* ipa-cp.c (ipcp_insert_stage, ipcp_driver): Support for SSA.
(ipcp_driver): Change to static definition.
Add dumping of the ifunctions.
(constant_val_insert): Remove unused parameter. Support for SSA.
(ipcp_propagate_const): Support for SSA.
(ipcp_profile_bb_print): Print only analyzed nodes.
(ipcp_replace_map_create): Remove support for Fortran constant
for now.
* ipa-prop.c (ipa_method_modify_stmt,
ipa_callsite_compute_param): Support for SSA.
* ipa-prop.h (ipcp_driver): Remove declaration.
(IS_VALID_TREE_MAP_INDEX): Add define.
........
r121257 | drow | 2007-01-28 06:08:13 -0800 (Sun, 28 Jan 2007) | 4 lines
* Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
-fprofile-use.
........
r121259 | rakdver | 2007-01-28 09:29:30 -0800 (Sun, 28 Jan 2007) | 4 lines
* tree-data-ref.c (conflict_fn): Assert that the number of affine
relations in the conflict function is valid.
........
r121260 | rakdver | 2007-01-28 09:40:38 -0800 (Sun, 28 Jan 2007) | 37 lines
* tree-ssa-loop-unswitch.c: Include tree-inline.h.
(tree_unswitch_single_loop): Pass eni_size_weights to
tree_num_loop_insns.
* tree-ssa-loop-manip.c: Include tree-inline.h.
(can_unroll_loop_p): Pass eni_size_weights to
tree_num_loop_insns.
* tree-ssa-loop-ch.c (should_duplicate_loop_header_p):
Pass eni_size_weights to estimate_num_insns.
* tree.h (init_inline_once): Export.
* toplev.c (backend_init): Call init_inline_once.
* cgraphunit.c (cgraph_process_new_functions,
cgraph_analyze_function): Pass eni_inlining_weights to
estimate_num_insns.
* ipa-inline.c (compute_inline_parameters): Ditto.
* tree-ssa-loop-ivcanon.c (tree_num_loop_insns): Pass weights
to estimate_num_insns.
(try_unroll_loop_completely): Pass eni_size_weights to
tree_num_loop_insns.
* tree-eh.c (decide_copy_try_finally): Pass eni_size_weights
ot estimate_num_insns.
* tree-ssa-loop-prefetch.c: Include tree-inline.h.
(loop_prefetch_arrays): Pass eni_time_weights to tree_num_loop_insns.
* tree-inline.c (eni_inlining_weights, eni_size_weights,
eni_time_weights): New variables.
(init_inline_once): Initialize them.
(struct eni_data): Mew.
(estimate_num_insns_1, estimate_num_insns): Use weights.
* tree-inline.h (struct eni_weights_d): New.
(eni_inlining_weights, eni_size_weights, eni_time_weights): Declare.
(estimate_num_insns): Declaration changed.
* cfgloop.h (tree_num_loop_insns): Declaration changed.
* Makefile.in (tree-ssa-loop-unswitch.o, tree-ssa-loop-prefetch.o,
tree-ssa-loop-manip.o): Add TREE_INLINE_H dependency.
* gcc.dg/tree-ssa/loop-23.c: New test.
........
r121261 | pinskia | 2007-01-28 10:09:25 -0800 (Sun, 28 Jan 2007) | 14 lines
2007-01-28 Andrew Pinski <pinskia@gmail.com>
* semantics.c (finish_pseudo_destructor_expr): Check the
destrutor name by calling check_dtor_name.
2007-01-28 Andrew Pinski <pinskia@gmail.com>
* g++.dg/expr/dtor4.C: New test.
........
r121264 | paolo | 2007-01-28 10:40:42 -0800 (Sun, 28 Jan 2007) | 10 lines
2007-01-28 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
iter_type, ios_base&, ios_base::iostate&, bool&),
num_put<>::_M_insert_int(_OutIter, ios_base&, _CharT, _ValueT)):
-Wconversion and -Woverflow fixes.
* include/bits/istream.tcc (operator>>(int&), operator>>(short&)):
Likewise.
* include/std/valarray (valarray<>::shift, cshift): Likewise.
........
r121265 | membar | 2007-01-28 10:55:36 -0800 (Sun, 28 Jan 2007) | 6 lines
2007-01-28 Michele Sandri <gpointorama@gmail.com>
* gnu/java/nio/channels/natFileChannelWin32.cc
(lock): Implemented.
(unlock): Implemented.
........
r121266 | sayle | 2007-01-28 11:06:31 -0800 (Sun, 28 Jan 2007) | 4 lines
* gcc.dg/large-size-array-3.c: Correct test case (portability).
........
r121268 | dje | 2007-01-28 11:26:43 -0800 (Sun, 28 Jan 2007) | 2 lines
* doc/md.texi (Standard Pattern Names): Document blockage pattern.
........
r121269 | dje | 2007-01-28 11:30:47 -0800 (Sun, 28 Jan 2007) | 2 lines
* MAINTAINERS (spu port): Add myself.
........
r121270 | hubicka | 2007-01-28 11:38:39 -0800 (Sun, 28 Jan 2007) | 39 lines
* expr.c (emit_block_move_via_movmem, emit_block_move_via_libcall): Add
variant handling histograms; add wrapper.
(clear_storage_via_libcall): Export.
(emit_block_move_hints): Break out from ...; add histograms.
(emit_block_move): ... this one.
(clear_storage_hints): Break out from ...; add histograms.
(clear_storage): ... this one.
(set_storage_via_memset): Handle histogram.
* expr.h (emit_block_move_via_libcall, emit_block_move_hints): Declare.
(clear_storage_hints, clear_storage_via_libcall): Declare.
(set_storage_via_setmem): Update prototype.
* doc/md.texi (movmem, setmem): Document new arguments.
* value-prof.c (dump_histogram_value, tree_find_values_to_profile): Add
new histograms.
(stringop_block_profile): New global function.
(tree_stringops_values_to_profile): Profile block size and alignment.
* value-prof.h (enum hist_type): add HIST_TYPE_AVERAGE and
HIST_TYPE_IOR.
(struct profile_hooks): Add gen_average_profiler and gen_ior_profiler.
(stringop_block_profile): Declare.
* builtins.c: Include value-prof.h.
(expand_builtin_memcpy, expand_builtin_memset): Pass block profile.
* gcov-ui.h (GCOV_COUNTER_NAMES): Add new counter.
(GCOV_COUNTER_AVERAGE, GCOV_COUNTER_IOR): New constants.
(GCOV_COUNTERS, GCOV_LAST_VALUE_COUNTER): Update.
* profile.c (instrument_values): Add new counters.
* cfgexpand.c (expand_gimple_basic_block): Propagate histograms to
calls.
* tree-profile.c (tree_average_profiler_fn, tree_ior_profiler_fn): New.
(tree_init_edge_profiler): Build new profilers.
(tree_gen_average_profiler, tree_gen_ior_profiler): New.
(pass_tree_profile): Add dump.
(tree_profile_hooks): Update.
* Makefile.in (LIBGCOV): Add new constants.
* libgcov.c (__gcov_merge_ior, __gcov_average_profiler,
__gcov_ior_profiler): New.
* i386.md (movmem/setmem expanders): Add new optional arguments.
........
r121272 | hubicka | 2007-01-28 14:27:37 -0800 (Sun, 28 Jan 2007) | 4 lines
* builtins.c (expand_builtin_memset): Fix typo in my last patch.
* value-prof.c (stringop_block_profile): Likewise.
........
r121277 | gccadmin | 2007-01-28 16:17:52 -0800 (Sun, 28 Jan 2007) | 1 line
Daily bump.
........
r121280 | bje | 2007-01-28 21:53:40 -0800 (Sun, 28 Jan 2007) | 5 lines
* gcov-io.h (__gcov_indirect_call_profiler): Declare.
(__gcov_average_profiler): Likewise.
(__gcov_ior_profiler): Likewise.
(__gcov_merge_ior): Likewise.
........
r121281 | pault | 2007-01-29 02:27:50 -0800 (Mon, 29 Jan 2007) | 12 lines
2007-01-29 Paul Thomas <pault@gcc.gnu.org>
* module.c (read_module): If a symbol is excluded by an ONLY
clause, check to see if there is a symtree already loaded. If
so, attach the symtree to the pointer_info.
2007-01-29 Paul Thomas <pault@gcc.gnu.org>
* gfortran.dg/used_dummy_types_6.f90: New test.
........
r121284 | aph | 2007-01-29 05:02:48 -0800 (Mon, 29 Jan 2007) | 6 lines
2007-01-29 Andrew Haley <aph@redhat.com>
* class.c (add_method_1): Mark fndecl as external unless we are
compiling it into this object file.
........
r121285 | aph | 2007-01-29 05:14:38 -0800 (Mon, 29 Jan 2007) | 8 lines
2007-01-26 Andrew Haley <aph@redhat.com>
* java/lang/natClass.cc (initializeClass): Re-throw
SecurityExceptions.
* java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
* java/lang/ClassLoader.java: (loadClass): Likewise.
........
r121286 | aph | 2007-01-29 05:41:43 -0800 (Mon, 29 Jan 2007) | 6 lines
2007-01-26 Andrew Haley <aph@redhat.com>
* java/lang/SecurityManager.java: Load and initialize
java.security.Security.
........
r121287 | aph | 2007-01-29 05:43:22 -0800 (Mon, 29 Jan 2007) | 6 lines
2007-01-26 Andrew Haley <aph@redhat.com>
* java/lang/SecurityManager.java: Load and initialize
java.security.Security.
........
r121288 | jason | 2007-01-29 08:27:21 -0800 (Mon, 29 Jan 2007) | 4 lines
* gimplify.c (gimplify_target_expr): Make sure that the TARGET_EXPR is
expanded only once even if an error occurs.
........
r121294 | jconner | 2007-01-29 09:18:56 -0800 (Mon, 29 Jan 2007) | 4 lines
2007-01-29 Josh Conner <jconner@apple.com>
* gcc.target/powerpc/altivec-24.c: New test.
........
r121295 | dberlin | 2007-01-29 09:25:04 -0800 (Mon, 29 Jan 2007) | 7 lines
2007-01-29 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-structalias.c (do_complex_constraint): Mark correct
variable as changed.
........
r121296 | kseitz | 2007-01-29 09:43:34 -0800 (Mon, 29 Jan 2007) | 16 lines
* include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
Define.
[__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
gcj. All jvmti object types now are defined to be their
corresponding java classes.
* jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
jthread to Thread*.
(_Jv_JVMTI_ResumeThread): Likewise.
(_Jv_JVMTI_InterruptThread): Likewise.
(_Jv_JVMTI_SetEventNotificationMode): Likewise.
* gnu/classpath/jdwp/natVMVirtualMachine.cc
(jdwpClassPrepareCB): Likewise.
(jdwpThreadEndCB): Likewise.
(jdwpThreadStartCB): Likewise.
(jdwpVMInitCB): Likewise.
........
r121297 | bkoz | 2007-01-29 10:22:37 -0800 (Mon, 29 Jan 2007) | 44 lines
2007-01-29 Benjamin Kosnik <bkoz@redhat.com>
* include/ext/enc_filebuf.h: Resurrect, update.
* include/ext/codecvt_specializations.h: Remove
_GLIBCXX_USE_ICONV, _GLIBCXX_USE_ENCODING_STATE.
* include/bits/localefwd.h: Remove declaration for __enc_traits.
* docs/html/22_locale/codecvt.html: Change __enc_traits to
encoding_state.
* scripts/testsuite_flags.in: Remove ICONV.
* configure.ac: Remove GLIBCXX_CHECK_ICONV_SUPPORT.
* acinclude.m4 (GLIBCXX_CHECK_ICONV_SUPPORT): Remove.
* crossconfig.m4: Remove use of GLIBCXX_CHECK_ICONV_SUPPORT.
* config.h.in: Remove HAVE_ICONV_CLOSE, HAVE_ICONV_OPEN,
HAVE_NL_LANGINFO, _GLIBCXX_USE_ICONV.
* include/Makefile.am: Uglify ICONV_CONST.
* configure: Regenerate.
* aclocal.m4: Regenerate.
* Makefile.in: Regenerate.
* src/Makefile.in: Regenerate.
* po/Makefile.in: Regenerate.
* libmath/Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* libsupc++/Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.
* testsuite/ext/enc_filebuf/wchar_t/13189.cc: Use
dg-require-iconv, fix up for encoding_state changes.
* testsuite/ext/enc_filebuf/char/13189.cc: Same.
* testsuite/ext/enc_filebuf/char/13598.cc: Same.
* testsuite/22_locale/codecvt/unicode: Move...
* testsuite/22_locale/codecvt/unicode/char.cc: Move...
* testsuite/22_locale/codecvt/unicode/1.cc: Move...
* testsuite/22_locale/codecvt/unicode/wchar_t.cc: Move...
* testsuite/ext/codecvt: New.
* testsuite/ext/codecvt/char-1.cc: ...here. Also, use dg-require-iconv.
* testsuite/ext/codecvt/char-2.cc: ...here. Same.
* testsuite/ext/codecvt/1.cc: ...here. Same.
* testsuite/ext/codecvt/wchar_t.cc: ...here. Same.
* testsuite/22_locale/locale/cons/unicode: Delete directory.
* testsuite/22_locale/locale/cons/unicode/1.cc: Move...
* testsuite/22_locale/locale/cons/unicode.cc: ...here.
........
r121298 | tromey | 2007-01-29 10:31:27 -0800 (Mon, 29 Jan 2007) | 1 line
Checking in updated class file
........
r121299 | tromey | 2007-01-29 10:31:45 -0800 (Mon, 29 Jan 2007) | 3 lines
* Makefile.in: Rebuilt.
* Makefile.am (interpret.lo): New target. Add -fwrap to
AM_CXXFLAGS.
........
r121300 | paolo | 2007-01-29 10:34:46 -0800 (Mon, 29 Jan 2007) | 6 lines
2007-01-29 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_uninitialized.h (uninitialized_copy(const char*,
const char*, char*), uninitialized_copy(const wchar_t*, const wchar_t*,
wchar_t*)): Remove, just forward to std::copy.
........
r121301 | tromey | 2007-01-29 10:46:34 -0800 (Mon, 29 Jan 2007) | 4 lines
* configure, Makefile.in: Rebuilt.
* Makefile.am (bin_SCRIPTS): Never install scripts/jar.
* configure.ac (BASH_JAR): Removed conditional.
(JAR): Prefer the jar found by AC_CHECK_PROGS.
........
r121302 | dberlin | 2007-01-29 11:38:00 -0800 (Mon, 29 Jan 2007) | 39 lines
2007-01-28 Daniel Berlin <dberlin@dberlin.org>
* tree.h (struct tree_memory_tag): Add aliases member.
(MTAG_ALIASES): New macro.
* tree-ssa-alias.c (alias_bitmap_obstack): New variable.
(add_may_alias): Remove pointer-set. Update for may_aliases being
a bitmap.
(mark_aliases_call_clobbered): Update for may_aliases being a
bitmap.
(compute_tag_properties): Ditto.
(create_partition_for): Ditto.
(compute_memory_partitions): Ditto.
(dump_may_aliases_for): Ditto.
(is_aliased_with): Ditto.
(add_may_alias_for_new_tag): Ditto.
(rewrite_alias_set_for): Rewrite for may_aliases being a bitmap.
(compute_is_aliased): New function.
(compute_may_aliases): Call compute_is_aliased).
(init_alias_info): Initialize alias_bitmap_obstack.
(union_alias_set_into): New function.
(compute_flow_sensitive_aliasing): Use union_aliases_into.
(have_common_aliases_p): Rewrite to take two bitmaps and use
intersection.
(compute_flow_insensitive_aliasing): Stop using pointer-sets.
Update for bitmaps.
(finalize_ref_all_pointers): Update for add_may_alias changes.
(new_type_alias): Ditto.
* tree-flow-inline.h (may_aliases): Return a bitmap.
* tree-dfa.c (dump_variable): Check for MTAG_P'ness.
* tree-ssa.c (verify_flow_insensitive_alias_info): Update for
may_aliases being a bitmap.
* tree-flow.h (struct var_ann_d): Remove may_aliases member.
may_aliases now returns a bitmap.
* tree-ssa-structalias.c (merge_smts_into): Update for may_aliases
being a bitmap.
* tree-ssa-operands.c (add_virtual_operand): Update for
may_aliases being a bitmap.
........
r121305 | ian | 2007-01-29 12:07:49 -0800 (Mon, 29 Jan 2007) | 41 lines
include/:
* demangle.h: New cplus_demangle_print_callback,
cplus_demangle_v3_callback, and java_demangle_v3_callback function
prototypes, and demangle_callbackref type definition.
libiberty/:
* cp-demangle.h (cplus_demangle_operators): External definition
suppressed if not building for libstdc++.
* cp-demangle.c (__gcclibcxx_demangle_callback): Augmented interface
to demangling, provides a malloc-less version of __cxa_demangle.
(cplus_demangle_print_callback): Public callback version of
cplus_demangle_print.
(struct d_growable_string): New growable string structure.
(d_growable_string_init): New function, provides support for
growable strings separate from print info.
(d_growable_string_resize): Likewise.
(d_growable_string_append_buffer): Likewise.
(d_growable_string_callback_adapter):): Likewise.
(d_print_init): New print info initialization function.
(d_print_error): Macro replace by inline function.
(d_print_saw_error): Likewise.
(d_append_char): Likewise.
(d_append_buffer): Likewise.
(d_append_string): New inline function, replaces the
d_append_string_constant macro.
(d_flush_buffer): New function, flushes buffer to callback.
(d_demangle_callback, is_ctor_or_dtor): Malloc-based fallback
for unsupported dynamic arrays replaced by alloca().
(d_demangle): Return string length estimating removed.
(d_dump): Moved error case handling from call site into function.
(d_print_resize): Function removed.
(d_print_append_char): Likewise.
(d_print_append_buffer): Likewise.
(d_print_error): Likewise.
(d_print_comp): Added special case handling for Java arrays.
(java_demangle_v3): Removed string post-processing for Java arrays,
now replaced by special case handling in d_print_comp.
(cplus_demangle_v3_callback): Augmented interface to demangling,
provides a malloc-less version of cplus_demangle_v3.
(java_demangle_v3_callback): Augmented interface to demangling,
provides a malloc-less version of java_demangle_v3.
........
r121306 | mrs | 2007-01-29 12:10:33 -0800 (Mon, 29 Jan 2007) | 4 lines
* doc/gccint.texi (Top): Rename Loop Representation to Loop
Analysis and Representation to resolve case insensitive conflict.
* doc/loop.texi (Loop Analysis and Representation): Likewise.
........
r121308 | janis | 2007-01-29 12:27:41 -0800 (Mon, 29 Jan 2007) | 12 lines
gcc/
* Makefile.in (USER_H): Remove decfloat.h.
* ginclude/decfloat.h: Delete, moving contents to ...
* ginclude/float.h: Add support for decimal floating point,
guarded by __STDC_WANT_DEC_FP__.
gcc/testsuite/
* gcc.dg/dfp/dec-eval-method.c: Replace decfloat.h with float.h.
* gcc.dg/dfp/decfloat-constants.c: Ditto.
* gcc.dg/dfp/convert-dfp.c: Ditto.
* gcc.dg/dfp/convert-int-saturate.c: Ditto.
........
r121309 | manu | 2007-01-29 12:54:59 -0800 (Mon, 29 Jan 2007) | 5 lines
2007-01-29 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* tree-optimize.c (update_inlined_to_pointers): Delete unused
function.
........
r121310 | manu | 2007-01-29 13:05:58 -0800 (Mon, 29 Jan 2007) | 10 lines
007-01-29 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* c-decl.c (pop_scope): Replace warnings with call to
warn_for_unused_label.
* c-common.h (warn_for_unused_label): Declare.
* c-common.c (warn_for_unused_label): Define.
cp/
* decl.c (pop_label): Replace warning with call to
warn_for_unused_label.
........
r121311 | tromey | 2007-01-29 13:30:10 -0800 (Mon, 29 Jan 2007) | 3 lines
* jvspec.c (lang_specific_driver): Handle separate -I argument.
* lang.opt (-I): Add 'Separate'.
........
r121313 | tromey | 2007-01-29 14:00:30 -0800 (Mon, 29 Jan 2007) | 18 lines
* interpret.cc (run_debug): Remove comment.
(STOREA): Reformat.
(STOREI): Likewise.
(STOREF): Likewise.
(STOREL): Likewise.
(STORED): Likewise.
(POKEI): Likewise.
(run_normal_debug): Likewise.
(run_synch_object_debug): Likewise.
(run_class_debug): Likewise.
(run_synch_class_debug): Likewise.
(get1s): Likewise.
(get1u): Likewise.
(get2u): Likewise.
(get4): Likewise.
(NULLARRAYCHECK): Likewise.
(ARRAYBOUNDSCHECK): Likewise.
* interpret-run.cc (insn_target) <breakpoint>: Tidy.
........
r121314 | kgallowa | 2007-01-29 14:05:56 -0800 (Mon, 29 Jan 2007) | 22 lines
2007-01-29 Kyle Galloway <kgallowa@redhat.com>
* include/java-interp.h: Added _Jv_Frame class and its two
subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved
_Jv_FrameType from java-stack.h.
* include/java-stack.h: Removed _Jv_FrameType.
* java/lang/Thread.java: Added frame member to hold new
composite frame stack.
* java/lang/Thread.h: Regenerated.
* java/lang/Thread.class: Rebuilt.
* jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
calling a JNI method.
* jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
(_Jv_JVMTI_GetFrameCount): New method.
* stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
classes.
* testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
* testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
* testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
* testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
* testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
for test.
........
r121315 | gerald | 2007-01-29 14:27:12 -0800 (Mon, 29 Jan 2007) | 2 lines
* crontab: No longer build snapshots for 4.0.x.
........
r121317 | janis | 2007-01-29 15:01:35 -0800 (Mon, 29 Jan 2007) | 16 lines
libdecnumber/
* decExcept.c: New.
* decExcept.h: New.
libgcc/
* Makefile.in (dec-filenames): Add decExcept.
gcc/
* config/dfp-bit.c: Add parameterized support for fp exceptions.
* config/dfp-bit.h: Ditto.
gcc/testsuite/
* gcc.dg/dfp/dfp-except.h: New file.
* gcc.dg/dfp/fe-check.h: New file.
* gcc.dg/dfp/fe-binop.c: New test.
* gcc.dg/dfp/fe-convert-1.c: New test.
* gcc.dg/dfp/fe-convert-2.c: New test.
* gcc.dg/dfp/fe-convert-3.c: New test.
........
r121318 | bje | 2007-01-29 15:01:42 -0800 (Mon, 29 Jan 2007) | 2 lines
* jvspec.c (lang_specific_driver): Remove unused classpath_args.
........
r121319 | bje | 2007-01-29 15:06:44 -0800 (Mon, 29 Jan 2007) | 2 lines
Belated typo fix from 2007-01-02.
........
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/fixed-point@121327 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
svn+ssh://chaoyingfu@sources.redhat.com/svn/gcc/trunk
........
r119587 | nickc | 2006-12-06 10:08:51 -0800 (Wed, 06 Dec 2006) | 2 lines
* ansidecl.h (ATTRIBUTE_PACKED): Define.
........
r119592 | tkoenig | 2006-12-06 11:25:44 -0800 (Wed, 06 Dec 2006) | 27 lines
2006-12-06 Thomas Koenig <Thomas.Koenig@online.de>
* gfortran.dg/read_eof_4.f90: Add tests.
* gfortran.dg/readwrite_unf_direct_eor_1.f90: New test.
* gfortran.dg/unf_read_corrupted_1.f90: New test.
2006-12-06 Thomas Koenig <Thomas.Koenig@online.de>
* libgfortran.h: Add ERROR_CORRUPT_FILE to error_codes.
* runtime/error.c (translate_error): Add handling for
ERROR_CORRUPT_FILE.
* io/transfer.c (read_block_direct): Add comment about
EOR for stream files.
Remove test for no bytes left for direct access files.
Generate an ERROR_SHORT_RECORD if the read was short.
For unformatted sequential files: Check endfile condition.
Remove test for no bytes left. End of file here means
that the file structure has been corrupted. Pre-position
the file for the next record in case of error.
(write_buf): Whitespace fix. Subtract the number of bytes
written from bytes_left.
........
r119599 | fxcoudert | 2006-12-06 13:49:55 -0800 (Wed, 06 Dec 2006) | 7 lines
* intrinsics/c99_functions.c (fmodf, fmodl, floorl): New functions.
* c99_protos.h (fmodf, fmodl, floorl): New prototypes.
* configure.ac: Check for fmodf, fmod and fmodl.
* configure: Regenerate.
* config.h.in: Regenerate.
........
r119600 | aldyh | 2006-12-06 14:08:49 -0800 (Wed, 06 Dec 2006) | 4 lines
* config/pa/pa.c (hppa_gimplify_va_arg_expr): Build MODIFY_EXPR
not GIMPLE_MODIFY_STMT.
........
r119601 | mmitchel | 2006-12-06 14:54:51 -0800 (Wed, 06 Dec 2006) | 7 lines
* parser.c (cp_parser_init_declarator): Reject initialization of
functions.
* g++.dg/template/crash64.C: New test.
* g++.dg/parse/crash27.C: Adjust error markers.
........
r119606 | gccadmin | 2006-12-06 16:17:56 -0800 (Wed, 06 Dec 2006) | 1 line
Daily bump.
........
r119609 | burnus | 2006-12-07 01:15:41 -0800 (Thu, 07 Dec 2006) | 7 lines
2006-12-06 Tobias Burnus <burnus@net-b.de>
* error.c (error_print): Fix handling of printf-style position specifiers
of the form "%3$d"
........
r119611 | bkoz | 2006-12-07 01:35:57 -0800 (Thu, 07 Dec 2006) | 144 lines
2006-12-06 Benjamin Kosnik <bkoz@redhat.com>
* include/Makefile.am (std_headers_rename): Remove.
(c_base_headers_rename): Remove.
(std_headers): Adjust to true names.
(c_base_headers): Adjust to true names.
(stamp-c_base, stamp_std, stamp_c_base_extra): Adjust.
* configure: Regenerate.
* include/Makefile.in: Regenerate.
* include/std/std_algorithm.h: To...
* include/std/std_bitset.h: To...
* include/std/std_complex.h: To...
* include/std/std_deque.h: To...
* include/std/std_fstream.h: To...
* include/std/std_functional.h: To...
* include/std/std_iomanip.h: To...
* include/std/std_iosfwd.h: To...
* include/std/std_ios.h: To...
* include/std/std_iostream.h: To...
* include/std/std_istream.h: To...
* include/std/std_iterator.h: To...
* include/std/std_limits.h: To...
* include/std/std_list.h: To...
* include/std/std_locale.h: To...
* include/std/std_map.h: To...
* include/std/std_memory.h: To...
* include/std/std_numeric.h: To...
* include/std/std_ostream.h: To...
* include/std/std_queue.h: To...
* include/std/std_set.h: To...
* include/std/std_sstream.h: To...
* include/std/std_stack.h: To...
* include/std/std_stdexcept.h: To...
* include/std/std_streambuf.h: To...
* include/std/std_string.h: To...
* include/std/std_utility.h: To...
* include/std/std_valarray.h: To...
* include/std/std_vector.h: To...
* include/std/algorithm: ...this.
* include/std/bitset: ...this.
* include/std/complex: ...this.
* include/std/deque: ...this.
* include/std/fstream: ...this.
* include/std/functional: ...this.
* include/std/iomanip: ...this.
* include/std/iosfwd: ...this.
* include/std/ios: ...this.
* include/std/iostream: ...this.
* include/std/istream: ...this.
* include/std/iterator: ...this.
* include/std/limits: ...this.
* include/std/list: ...this.
* include/std/locale: ...this.
* include/std/map: ...this.
* include/std/memory: ...this.
* include/std/numeric: ...this.
* include/std/ostream: ...this.
* include/std/queue: ...this.
* include/std/set: ...this.
* include/std/sstream: ...this.
* include/std/stack: ...this.
* include/std/stdexcept: ...this.
* include/std/streambuf: ...this.
* include/std/string: ...this.
* include/std/utility: ...this.
* include/std/valarray: ...this.
* include/std/vector: ...this.
* include/c_std/std_cassert.h: To...
* include/c_std/std_cctype.h: To...
* include/c_std/std_cerrno.h: To...
* include/c_std/std_cfloat.h: To...
* include/c_std/std_ciso646.h: To...
* include/c_std/std_climits.h: To...
* include/c_std/std_clocale.h: To...
* include/c_std/std_cmath.h: To...
* include/c_std/std_csetjmp.h: To...
* include/c_std/std_csignal.h: To...
* include/c_std/std_cstdarg.h: To...
* include/c_std/std_cstddef.h: To...
* include/c_std/std_cstdio.h: To...
* include/c_std/std_cstdlib.h: To...
* include/c_std/std_cstring.h: To...
* include/c_std/std_ctime.h: To...
* include/c_std/std_cwchar.h: To...
* include/c_std/std_cwctype.h: To...
* include/c_std/cassert: ...this.
* include/c_std/cctype: ...this.
* include/c_std/cerrno: ...this.
* include/c_std/cfloat: ...this.
* include/c_std/ciso646: ...this.
* include/c_std/climits: ...this.
* include/c_std/clocale: ...this.
* include/c_std/cmath: ...this.
* include/c_std/csetjmp: ...this.
* include/c_std/csignal: ...this.
* include/c_std/cstdarg: ...this.
* include/c_std/cstddef: ...this.
* include/c_std/cstdio: ...this.
* include/c_std/cstdlib: ...this.
* include/c_std/cstring: ...this.
* include/c_std/ctime: ...this.
* include/c_std/cwchar: ...this.
* include/c_std/cwctype: ...this.
* include/c/std_cassert.h: To...
* include/c/std_cctype.h: To...
* include/c/std_cerrno.h: To...
* include/c/std_cfloat.h: To...
* include/c/std_ciso646.h: To...
* include/c/std_climits.h: To...
* include/c/std_clocale.h: To...
* include/c/std_cmath.h: To...
* include/c/std_csetjmp.h: To...
* include/c/std_csignal.h: To...
* include/c/std_cstdarg.h: To...
* include/c/std_cstddef.h: To...
* include/c/std_cstdio.h: To...
* include/c/std_cstdlib.h: To...
* include/c/std_cstring.h: To...
* include/c/std_ctime.h: To...
* include/c/std_cwchar.h: To...
* include/c/std_cwctype.h: To...
* include/c/cassert: ...this.
* include/c/cctype: ...this.
* include/c/cerrno: ...this.
* include/c/cfloat: ...this.
* include/c/ciso646: ...this.
* include/c/climits: ...this.
* include/c/clocale: ...this.
* include/c/cmath: ...this.
* include/c/csetjmp: ...this.
* include/c/csignal: ...this.
* include/c/cstdarg: ...this.
* include/c/cstddef: ...this.
* include/c/cstdio: ...this.
* include/c/cstdlib: ...this.
* include/c/cstring: ...this.
* include/c/ctime: ...this.
* include/c/cwchar: ...this.
* include/c/cwctype: ...this.
........
r119612 | rguenth | 2006-12-07 01:38:37 -0800 (Thu, 07 Dec 2006) | 5 lines
2006-12-07 Richard Guenther <rguenther@suse.de>
* tree-vect-transform.c (vectorizable_call): Fix leftover of
TREE_OPERAND to GIMPLE_STMT_OPERAND conversion.
........
r119613 | mkuvyrkov | 2006-12-07 02:02:35 -0800 (Thu, 07 Dec 2006) | 5 lines
2006-12-07 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
* sched-rgn.c (add_block1): Use correct initializer.
........
r119615 | nickc | 2006-12-07 02:54:13 -0800 (Thu, 07 Dec 2006) | 16 lines
* common.opt (record-gcc-switches): New command line switch.
* target.h (print_switch_type): New enum.
(print_switch_fn_type): New typedef for a function pointer.
(struct gcc_target): Add record_gcc_switches and record_gcc_switches_section fields.
* target-def.h (TARGET_ASM_RECORD_GCC_SWITCHES): Provide a default definition.
(TARGET_ASM_RECORD_GCC_SWITCHES_SECTION): Provide a default definition.
* toplev.c (print_single_switch): Simplify by providing a pointer to function that will format and output the switch appropriately.
(print_switch_values): Likewise.
(print_to_asm_out_file): New function.
(print_to_stderr): New function.
(init_asm_output): If flag_record_gcc_switches is set then if the target supports recording the switches then emit them into the assembler output file, otherwise tell the user that the switch is not supported.
* varasm.c (eld_record_gcc_switches): New function. Example handler for the record_gcc_switches target hook.
* doc/tm.texi (TARGET_ASM_RECORD_GCC_SWITCHES): Document the new target hook.
(TARGET_ASM_RECORD_GCC_SWITCHES_SECTION): Likewise.
* doc/invoke.texi (-frecord-gcc-switches): Document.
........
r119616 | bernds | 2006-12-07 03:06:08 -0800 (Thu, 07 Dec 2006) | 5 lines
* config/bfin/bfin.c (print_operand): New modifier 'N' for constants.
* config/bfin/bfin.md (ssashiftv2hi3, ssashifthi3, lshiftv2hi3,
lshifthi3): Use it, and fix the order of alternatives.
........
r119619 | hubicka | 2006-12-07 04:54:09 -0800 (Thu, 07 Dec 2006) | 4 lines
* tree-vrp.c (compare_values): Short circuit INTEGER_CST;
use fold_constant_to_binary; tolerate wrong type constants.
(value_intersect_p): Do just two tests.
........
r119620 | hubicka | 2006-12-07 04:56:02 -0800 (Thu, 07 Dec 2006) | 4 lines
* i386.c (nocona_cost, pentium4_cost): Update preffered memcpy/memset
codegen.
........
r119622 | rguenth | 2006-12-07 06:24:11 -0800 (Thu, 07 Dec 2006) | 6 lines
2006-12-07 Richard Guenther <rguenther@suse.de>
* builtins.c (expand_builtin_pow): Adjust predicates for
pow to cbrt expansion to unsafe math and !HONOR_NANS for
negative base.
........
r119623 | amacleod | 2006-12-07 06:39:37 -0800 (Thu, 07 Dec 2006) | 6 lines
2006-12-07 Andrew Macleod <amacleod@redhat.com>
* expr.c (string_constant): Account for non-zero lower bound arrays.
........
r119625 | jsm28 | 2006-12-07 08:45:47 -0800 (Thu, 07 Dec 2006) | 2 lines
* ru.po: New.
........
r119628 | mrs | 2006-12-07 08:48:11 -0800 (Thu, 07 Dec 2006) | 2 lines
* treelang/compile/var_defs.tree: Adjust.
........
r119630 | nickc | 2006-12-07 09:44:10 -0800 (Thu, 07 Dec 2006) | 2 lines
* config/elfos.h (TARGET_ASM_RECORD_GCC_SWITCHES): Set to elf_record_gcc_switches.
........
r119633 | lmillward | 2006-12-07 11:16:38 -0800 (Thu, 07 Dec 2006) | 9 lines
* cp_parser_elaborated_type_specifier: Check
the return value of check_elaborated_type_specifier.
* g++.dg/ext/attrib27.C: New test.
* g++.dg/parse/struct-as-enum1.C: Adjust error markers.
* g++.dg/parse/typedef5.C: Likewise.
........
r119635 | tsmigiel | 2006-12-07 14:11:51 -0800 (Thu, 07 Dec 2006) | 4 lines
* config/spu/spu.c (array_to_constant): Correct the order of arguments
to the calls of hwint_to_const_double.
........
r119637 | pinskia | 2006-12-07 15:40:46 -0800 (Thu, 07 Dec 2006) | 13 lines
2006-12-07 Andrew Pinski <andrew_pinski@playstation.sony.com>
* config/spu/spu-c.c (spu_build_overload_builtin): Delete.
(spu_resolve_overloaded_builtin): Check for non scalar instead
of vector type and check the function call argument type also for non scalar.
Call build_function_call instead of spu_build_overload_builtin.
2006-12-07 Andrew Pinski <andrew_pinski@playstation.sony.com>
* gcc.target/spu: New directory.
* gcc.target/spu/spu.exp: New file.
* gcc.target/spu/intrinsics-1.c: New test.
........
r119642 | gccadmin | 2006-12-07 16:18:05 -0800 (Thu, 07 Dec 2006) | 1 line
Daily bump.
........
r119645 | mrs | 2006-12-07 18:03:42 -0800 (Thu, 07 Dec 2006) | 5 lines
* Makefile.def (dependencies): Add dependency for
install-target-libssp and install-target-libgomp on
install-gcc.
* Makefile.in: Regenerate.
........
r119648 | pinskia | 2006-12-07 20:50:02 -0800 (Thu, 07 Dec 2006) | 10 lines
2006-04-20 Jakub Jelinek <jakub@redhat.com>
* c-pretty-print.c (pp_c_direct_abstract_declarator): Print
TYPE_MAX_VALUE (TYPE_DOMAIN (t)) + 1 for ARRAY_TYPE rather
than plain TYPE_MAX_VALUE (TYPE_DOMAIN (t)).
........
r119649 | mmitchel | 2006-12-07 22:27:22 -0800 (Thu, 07 Dec 2006) | 12 lines
* cp-tree.h (DECL_USE_TEMPLATE): Mention partial specializations.
(explicit_class_specialization_p): Declare.
* pt.c (explicit_class_specialization_p): New function.
* parser.c (cp_parser_init_declarator): Check correct number of
template parameters for in-class function definitions.
(cp_parser_check_declrator_template_parameters): Stop looking for
template classes when we find an explicit specialization.
* g++.dg/template/crash65.C: New test.
* g++.dg/template/spec16.C: Tweak error markers.
........
r119650 | pinskia | 2006-12-08 00:11:44 -0800 (Fri, 08 Dec 2006) | 2 lines
Correctly wrap my changelog entry.
........
r119651 | burnus | 2006-12-08 01:45:44 -0800 (Fri, 08 Dec 2006) | 14 lines
fortran/
2006-12-08 Tobias Burnus <burnus@net-b.de>
* trans-decl.f90 (gfc_create_module_variable): Allow imported symbols
in interface bodys in modules.
testsuite/
2006-12-08 Tobias Burnus <burnus@net-b.de>
* gfortran.dg/import4.f90: New test for IMPORT in modules.
........
r119652 | jakub | 2006-12-08 02:06:51 -0800 (Fri, 08 Dec 2006) | 3 lines
* testsuite/util/testsuite_hooks.cc (set_memory_limits): Don't set
RLIMIT_AS below 16MB on x86_64-linux.
........
r119655 | bernds | 2006-12-08 04:42:44 -0800 (Fri, 08 Dec 2006) | 10 lines
* config/bfin/bfin.c (effective_address_32bit_p): Return true for
anything involving the GOT.
(bfin_adjust_cost): Don't take the REGNO of a MEM.
(trapping_loads_p): Look inside the pattern of an insn to find the
SET.
* config/bfin/bfin.md (attr "type"): Add movcc.
(insn_reservation "alu"): Likewise.
(movsicc_insn1, movsicc_insn2): Change type to movcc.
........
r119656 | ebotcazou | 2006-12-08 05:34:03 -0800 (Fri, 08 Dec 2006) | 1 line
Fix ChangeLog.
........
r119657 | amacleod | 2006-12-08 06:07:53 -0800 (Fri, 08 Dec 2006) | 47 lines
New TER code.
2006-12-08 Andrew MacLeod <amacleod@redhat.com>
* Makefile.in: Add new file tree-ssa-ter.c.
* tree-outof-ssa.c (struct temp_expr_table_d, new_temp_expr_table,
free_temp_expr_table, add_value_to_version_list,
add_value_to_partition_list, remove_value_from_partition_list,
add_dependence, check_replaceable, finish_expr, mark_replaceable,
kill_expr, kill_virtual_exprs, find_replaceable_in_bb,
find_replaceable_exprs, dump_replaceable_exprs): Move to tree-ssa-ter.c.
* tree-ssa-live.h (find_replaceable_exprs, dump_replaceable_exprs): Add
prototypes.
* tree-ssa-ter.c: New file using code moved from tree-outof-ssa.c.
(struct value_expr_d): Remove.
(struct temp_expr_table_d): Rename fields, add explicit vector of
replaceable expressions instead of sharing. Change value_expr_p's to
bitmap. Delete free_list.
(new_temp_expr_table): Rename fields, count number of ssa_names in
each partition.
(free_temp_expr_table): Rename field, free new fields.
(new_value_expr, free_value_expr, find_value_in_list, add_value_to_list,
add_info_to_list, remove_value_from_list): Delete.
(version_to_be_replaced_p): New. Is an ssa-name replaceable?
(make_dependent_on_partition): New. Set bit in version list, allocating
a bitmap if need be.
(add_to_partition_kill_list): New. Set bit in the partition list,
allocating a bitmap if need be.
(remove_from_partition_kill_list): New. Remove a bit from the
partition list, free the bitmap if it is empty.
(add_dependence): Use renamed field, cleanup. Don't add a dependence
on partitions with only one member.
(is_replaceable_p): New. Split out replaceability check from
check_replaceable.
(process_replaceable): New. Replacement code split from
check_replaceable.
(check_replaceable): Removed.
(finished_with_expr): Renamed from finish_expr.
(kill_expr): Use renamed fields. Less parameters.
(kill_virtual_exprs): Less parameters.
(mark_replaceable): Use renamed fields.
(find_replaceable_in_bb): Use renamed fields, cleanup.
(find_replaceable_exprs): Use renamed routines, cleanup.
(dump_replaceable_exprs): don;t go past end of ssa_names list.
(debug_ter): New. Debug routine to dump state.
........
r119660 | shinwell | 2006-12-08 08:37:42 -0800 (Fri, 08 Dec 2006) | 40 lines
gcc/
* recog.c (mode_dependent_address_p): Identify pre-increment,
pre-decrement, post-increment and post-decrement addressing as always
being mode-dependent.
* config/m32c/m32c.c (m32c_mode_dependent_address): Delete.
* config/m32c/m32c.h (GO_IF_MODE_DEPENDENT_ADDRESS): Change to no-op.
* config/m32c/m32c-protos.h (m32c_mode_dependent_address): Delete.
* config/m32r/m32r.h (GO_IF_MODE_DEPENDENT_ADDRESS): Delete PRE_DEC,
PRE_INC and POST_INC checks.
* config/i386/i386.h (GO_IF_MODE_DEPENDENT_ADDRESS): Change to no-op.
* config/sh/sh.h (GO_IF_MODE_DEPENDENT_ADDRESS): Change to no-op.
* config/pdp11/pdp11.h (GO_IF_MODE_DEPENDENT_ADDRESS): Change to no-op.
* config/avr/avr.h (GO_IF_MODE_DEPENDENT_ADDRESS): Change to no-op.
* config/c4x/c4x.h (GO_IF_MODE_DEPENDENT_ADDRESS): Delete PRE_DEC,
PRE_INC, POST_DEC and POST_INC cases.
* config/stormy16/stormy16.c (xstormy16_mode_dependent_address_p):
Delete POST_INC and PRE_DEC cases.
* config/m68hc11/m68hc11.h (GO_IF_MODE_DEPENDENT_ADDRESS): Change to
no-op.
* config/cris/cris.h (GO_IF_MODE_DEPENDENT_ADDRESS): Change to no-op.
* config/mn10300/mn10300.h (GO_IF_MODE_DEPENDENT_ADDRESS): Change to
no-op.
* config/ia64/ia64.h (GO_IF_MODE_DEPENDENT_ADDRESS): Change to no-op.
* config/m68k/m68k.h (GO_IF_MODE_DEPENDENT_ADDRESS): Change to no-op.
* config/rs6000/rs6000.c (rs6000_mode_dependent_address): Delete
PRE_INC and PRE_DEC cases.
* config/arc/arc.h (GO_IF_MODE_DEPENDENT_ADDRESS): Change to no-op.
* config/mcore/mcore.h (GO_IF_MODE_DEPENDENT_ADDRESS): Change to no-op.
* config/arm/arm.h (ARM_GO_IF_MODE_DEPENDENT_ADDRESS): Delete.
(GO_IF_MODE_DEPENDENT_ADDRESS): Change to no-op.
* config/pa/pa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Change to no-op.
* config/vax/vax.c (vax_mode_dependent_address_p): Delete
auto-increment cases.
* config/h8300/h8300.h (GO_IF_MODE_DEPENDENT_ADDRESS): Delete
auto-increment cases.
* config/bfin/bfin.h (GO_IF_MODE_DEPENDENT_ADDRESS): Change to no-op.
gcc/testsuite/
* gcc.c-torture/execute/mode-dependent-address.c: New test.
........
r119661 | danglin | 2006-12-08 09:28:59 -0800 (Fri, 08 Dec 2006) | 3 lines
* pa.h (LEGITIMATE_CONSTANT_P): Simplify.
........
r119662 | manu | 2006-12-08 10:14:21 -0800 (Fri, 08 Dec 2006) | 8 lines
2006-12-08 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* lib/target-supports.exp
(check_effective_target_large_long_double): New.
* gcc.dg/Wconversion-real.c : Use it.
* gcc.dg/Wconversion-integer.c : Fix for targets where char is
unsigned.
........
r119663 | uros | 2006-12-08 10:20:25 -0800 (Fri, 08 Dec 2006) | 15 lines
* reg-stack.c (convert_regs_entry): Mark current argument passing
registers as live.
* config/i386/i386.h (X87_REGPARM_MAX): Set to 0 to disable passing
of float arguments in x87 registers.
testsuite/ChangeLog:
* gcc.target/i386/x87regparm-1.c: XFAIL.
* gcc.target/i386/x87regparm-2.c: XFAIL.
* gcc.target/i386/x87regparm-3.c: XFAIL.
* gcc.target/i386/x87regparm-4.c: XFAIL.
........
r119666 | mrs | 2006-12-08 14:22:51 -0800 (Fri, 08 Dec 2006) | 5 lines
* config/rs6000/t-darwin (TARGET_LIBGCC2_CFLAGS): Build
libgcc with -mmacosx-version-min=10.4.
* config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Default to
G4 for 10.5+ unless doing kernel builds.
........
r119669 | danglin | 2006-12-08 15:41:03 -0800 (Fri, 08 Dec 2006) | 5 lines
* pa.md (high:DI and lo_sum:DI): Handle 64-bit CONST_INTs in 32-bit
patterns. Correct length of high:DI instruction sequence.
........
r119670 | mrs | 2006-12-08 15:54:21 -0800 (Fri, 08 Dec 2006) | 5 lines
* configure.ac: Fix x86 darwin builds.
* darwin_stop_world.c: Likewise.
* include/private/gcconfig.h: Likewise.
* connfigure: Regenerate.
........
r119676 | gccadmin | 2006-12-08 16:18:33 -0800 (Fri, 08 Dec 2006) | 1 line
Daily bump.
........
r119678 | mrs | 2006-12-08 16:21:52 -0800 (Fri, 08 Dec 2006) | 3 lines
* configure.in: Add x86 darwin support for libjava.
* configure: Regenerate.
........
r119682 | tsmigiel | 2006-12-08 17:22:39 -0800 (Fri, 08 Dec 2006) | 26 lines
* config/spu/spu-protos.h (spu_split_immediate): Renamed from
spu_split_address.
(cpat_const_p, gen_cpat_const): Add.
* config/spu/spu.c (immediate_class): New enum.
(cpat_info, classify_immediate): New.
(print_operand): Use S, D, T instead of F, G, H. Use
classify_immediate. Handle cpat cases.
(spu_split_immediate): Renamed from spu_split_address. Split all
immediates that can be split.
(immediate_load_p): Use classify_immediate.
(spu_legitimate_constant_p): Accept everything except some cases of
CONST_VECTOR.
(spu_expand_move): Use spu_split_immedate.
(fsmbi_const_p): Use classify_immediate.
(cpat_const_p): New.
(gen_cpat_const: New.
* config/spu/constraints.md (j,k,l): New constraints for cpat
instructions.
* config/spu/spu.md (unnamed splitter): Change address splitter to
handle all immediates.
(_mov<mode>, _movdi, _movti): Handle i, j, k constraints for cpat
instructions.
(cpat, _cpat, splitter): Generate a TImode constant for cpat patterns
when possible.
........
r119687 | burnus | 2006-12-09 01:39:30 -0800 (Sat, 09 Dec 2006) | 5 lines
2006-12-09 Tobias Burnus <burnus@net-b.de>
* gfortran.dg/array_2.f90: Added sqrt test.
........
r119688 | mkuvyrkov | 2006-12-09 05:05:44 -0800 (Sat, 09 Dec 2006) | 4 lines
2006-12-09 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
* haifa-sched.c (schedule_block): Remove excessive sanity check.
........
r119691 | hubicka | 2006-12-09 07:36:55 -0800 (Sat, 09 Dec 2006) | 7 lines
* cgraph.c: Update copyright.
* cgraph.h: Likewise
(cgraph_update_pending_function): Remove prototype.
* cgraphunit.c: Update copyright; update overall comment.
(cgraph_assemble_pending_functions): Make local.
........
r119693 | rguenth | 2006-12-09 09:40:13 -0800 (Sat, 09 Dec 2006) | 6 lines
2006-12-09 Richard Guenther <rguenther@suse.de>
* g++.dg/warn/implicit-typename1.C: Qualify types.
* g++.dg/parse/crash12.C: Likewise.
* g++.dg/tree-ssa/pr22444.C: Likewise.
........
r119695 | pault | 2006-12-09 12:41:51 -0800 (Sat, 09 Dec 2006) | 12 lines
2006-12-09 Paul Thomas <pault@gcc.gnu.org>
* resolve.c (resolve_function): Add LEN to the functions not
checked for assumed size actual args.
2006-12-09 Paul Thomas <pault@gcc.gnu.org>
* gfortran.dg/assumed_len.f90: New test.
........
r119696 | pault | 2006-12-09 12:52:27 -0800 (Sat, 09 Dec 2006) | 15 lines
2006-11-25 Paul Thomas <pault@gcc.gnu.org>
* module.c (load_generic_interfaces): Add symbols for all the
local names of an interface. Share the interface amongst the
symbols.
* gfortran.h : Add generic_copy to symbol_attribute.
* symbol.c (free_symbol): Only free interface if generic_copy
is not set.
2006-11-25 Paul Thomas <pault@gcc.gnu.org>
* gfortran.dg/module_interface_2.f90: New test.
........
r119697 | pault | 2006-12-09 13:13:29 -0800 (Sat, 09 Dec 2006) | 45 lines
2006-12-09 Paul Thomas <pault@gcc.gnu.org>
* interface.c (compare_type_rank_if): Reject invalid generic
interfaces.
(check_interface1): Give a warning for nonreferred to ambiguous
interfaces.
(check_sym_interfaces): Check whether an ambiguous interface is
referred to. Do not check host associated interfaces since these
cannot be ambiguous with the local versions.
(check_uop_interface, gfc_check_interfaces): Update call to
check_interface1.
* symbol.c (gfc_get_sym_tree, gfc_get_sym_tree): Allow adding
unambiguous procedures to generic interfaces.
* gfortran.h (symbol_attribute): Added use_only and
ambiguous_interfaces.
* module.c (load_need): Set the use_only flag, if needed.
* resolve.c (resolve_fl_procedure): Warn for nonreferred
interfaces.
* expr.c (find_array_section): Fix initializer array contructor.
2006-12-09 Paul Thomas <pault@gcc.gnu.org>
Tobias Burnus <burnus@gcc.gnu.org>
* gfortran.dg/interface_4.f90: Test adding procedure to generic
interface.
* gfortran.dg/interface_5.f90: Test warning for not-referenced-to
ambiguous interfaces.
* gfortran.dg/interface_6.f90: Test invalid, ambiguous interface.
* gfortran.dg/interface_7.f90: Test invalid, ambiguous interface.
* gfortran.dg/interface_8.f90: Test warning for not-referenced-to
ambiguous interfaces.
* gfortran.dg/interface_1.f90: Change dg-error into a dg-warning.
* gfortran.dg/array_initializer_2.f90: Add initializer array
constructor test.
* gfortran.dg/interface_9.f90: Test that host interfaces are
not checked for ambiguity with the local version.
........
r119702 | gccadmin | 2006-12-09 16:18:39 -0800 (Sat, 09 Dec 2006) | 1 line
Daily bump.
........
r119704 | zack | 2006-12-09 21:09:29 -0800 (Sat, 09 Dec 2006) | 6 lines
* c-opts.c (c_common_parse_file): Unconditionally give a warning,
suitable for the language, if set_yydebug is true.
* c-pragma.h: Define enum pragma_omp_clause here. Don't define
YYDEBUG or declare yydebug.
* c-parser.c (yydebug, enum pragma_omp_clause): Delete.
* cp/parser.c: Likewise.
........
r119705 | rsandifo | 2006-12-10 02:37:48 -0800 (Sun, 10 Dec 2006) | 6 lines
2006-12-04 Rask Ingemann Lambertsen <rask@sygehus.dk>
* reload1.c (choose_reload_regs): Don't set byte offset when
resolving subregs of hard regs.
........
r119706 | steven | 2006-12-10 02:59:19 -0800 (Sun, 10 Dec 2006) | 20 lines
* cse.c: (struct cse_basic_block_data): Remove LAST field.
(struct branch_path): Remove BRANCH and TAKEN fields. Add new
BB field.
(cse_visited_basic_blocks): New static bitmap.
(cse_end_of_basic_block, cse_basic_block): Remove.
(cse_find_path, cse_dump_path, cse_prescan_path,
cse_extended_basic_block): New static functions.
(cse_insn): Don't CSE over setjmp calls. Use the CFG to find
basic block boundaries. Don't record jump equivalences here.
Update the CFG after doing in-place replacement of the SET_SRC.
(cse_main): Rewrite. Look for extended basic block headers
and call cse_extended_basic_block on them until all paths that
start at this header are exhausted.
(rest_of_handle_cse): Verify that the CFG is incrementally updated
and correct after cse_main.
Don't call delete_trivially_dead_insns, let cfgcleanup do that.
(rest_of_handle_cse2): Verify the CFG here, too, after cse_main.
(pass_cse): Add TODO_verify_flow.
(pass_cse2): Likewise.
........
r119707 | paolo | 2006-12-10 08:47:27 -0800 (Sun, 10 Dec 2006) | 5 lines
2006-12-10 Paolo Carlini <pcarlini@suse.de>
* src/valarray-inst.cc (__gslice_to_index): Optimize performance.
* testsuite/performance/26_numerics/valarray_gslice_to_index.cc: New.
........
r119708 | andreast | 2006-12-10 11:32:30 -0800 (Sun, 10 Dec 2006) | 7 lines
2006-12-10 Andreas Tobler <a.tobler@schweiz.org>
* configure.in: Correct x86 darwin support for libjava to powerpc
and i?86 only.
* configure: Regenerate.
........
r119709 | burnus | 2006-12-10 11:53:07 -0800 (Sun, 10 Dec 2006) | 37 lines
fortran/
2006-12-10 Tobias Burnus <burnus@net-b.de>
* interface.c (compare_actual_formal): PROTECTED is incompatible
with intent(out).
* symbol.c (check_conflict): Check for PROTECTED conflicts.
(gfc_add_protected): New function.
(gfc_copy_attr): Copy PROTECTED attribute.
* decl.c (match_attr_spec): Add PROTECTED support.
(gfc_match_protected): New function.
* dump-parse-tree.c (gfc_show_attr): Add PROTECTED support.
* gfortran.h (gfc_symbol): Add protected flag.
Add gfc_add_protected prototype.
* expr.c (gfc_check_pointer_assign): Add PROTECTED support.
* module.c (ab_attribute, attr_bits, mio_symbol_attribute,
mio_symbol_attribute):
Add PROTECTED support.
* resolve.c (resolve_equivalence): Add PROTECTED support.
* match.c (gfc_match_assignment,)gfc_match_pointer_assignment:
Check PROTECTED attribute.
* match.h: Add gfc_match_protected prototype.
* parse.c (decode_statement): Match PROTECTED statement.
* primary.c (match_variable): Add PROTECTED support.
testsuite/
2006-12-10 Tobias Burnus <burnus@net-b.de>
* gfortran.dg/protected_1.f90: New test.
* gfortran.dg/protected_2.f90: New test.
* gfortran.dg/protected_3.f90: New test.
* gfortran.dg/protected_4.f90: New test.
* gfortran.dg/protected_5.f90: New test.
* gfortran.dg/protected_6.f90: New test.
........
r119710 | burnus | 2006-12-10 13:22:49 -0800 (Sun, 10 Dec 2006) | 5 lines
2006-12-10 Tobias Burnus <burnus@net-b.de>
* gfortran.texi: Update Fortran 2003 section.
........
r119711 | amacleod | 2006-12-10 13:25:40 -0800 (Sun, 10 Dec 2006) | 103 lines
New out of ssa Coalescer.
2006-12-10 Andrew MacLeod <amacleod@redhat.com>
* common.opt (-ftree-lrs): Remove live range splitting option.
* makefile.in: Add tree-ssa-coalesce.o and reduce header dependancies.
* opts.c (decode_options): Remove flag_tree_live_range_split.
* tree-flow.h (struct var_ann_d): Rename fields from root_ to base_.
* tree-flow-inline.h (single_imm_use_p): New. Check for single use.
* tree-outof-ssa.c: Remove header files which aren't needed.
(SSANORM_*): Remove flags.
(print_exprs_edge, coalesce_abnormal_edges, coalesce_phi_operands,
coalesce_result_decls_and_copies, coalesce_asm_operands): Remove.
(coalesce_ssa_name): Move to tree-ssa-coalesce.c.
(assign_vars): Use Basevar instead of root_var structure.
(replace_def_variable): Dont do anything if def is replaceable.
(remove_ssa_form): Integrate functional changes.
(rewrite_out_of_ssa): Remove live-range_split option.
* tree-ssa-coalesce.c: New File for ssa-name coalescing.
(coalesce_cost): Calculate the cost of a coalesce.
(coalesce_cost_bb): Calculate the coalesce cost within a BB.
(coalesce_cost_edge): Calculate the coalesce cost on an edge.
(pop_cost_one_pair): Remove the best coalesce with cost 1 from the list.
(pop_best_coalesce): Remove the best coalesce from the list.
(coalesce_pair_map_hash): Calculate coalesce pair hash.
(coalesce_pair_map_eq): Compare 2 coalesce pairs for hash function.
(create_coalesce_list): Create a coalesce list object.
(delete_coalesce_list): Free a coalesce list object.
(find_coalesce_pair): Find matching pair in the coalesce list.
(add_cost_one_coalesce): Add a coalesce to the "cost one" list.
(add_coalesce): Add a coalesce to the coalesce list.
(compare_pairs): Comparision function to determine pair sorted order.
(num_coalesce_pairs): Number of coalesced pairs.
(first_coalesce_pair, end_coalesce_pair_p, next_coalesce_pair):
Coalesce pair iterator functions.
(sort_coalesce_list): Sort coalesce pairs in order of expense.
(dump_coalesce_list): Show coalesce list.
(ssa_conflicts_new): Create an SSA conflict graph.
(ssa_conflicts_delete): Delete an SSA conflict graph.
(ssa_conflicts_test_p): Test for conflicts.
(ssa_conflicts_add_one): Add a single conflict.
(ssa_conflicts_add): Add a conflict pair.
(ssa_conflicts_merge): Merge conflicts.
(struct live_track_d): Struct for tracking live partitions.
(new_live_track): Create new live_track object.
(delete_live_track): Delete a live_track object.
(live_track_remove_partition): Remove a partition from the live list.
(live_track_add_partition): Add a partition from the live list.
(live_track_clear_var): Take VAR from the live list.
(live_track_live_p): Is var live?
(live_track_process_use): Make var come alive.
(live_track_process_def): Make var go dead, add conflicts.
(live_track_init): Initialize to a live on exit set.
(live_track_clear_base_vars): Clear live partitions.
(build_ssa_conflict_graph): Build a conflict graph.
(print_exprs): Common debug output routine.
(abnormal_corrupt): Output info about a failed coalesce across an
abnormal edge.
(fail_abnormal_edge_coalesce): Output info about a failed MUST_COALESCE.
(create_outofssa_var_map): Create a var map and coalesce list.
(attempt_coalesce): Coalesce a pair.
(coalesce_partitions): Coalesce all pairs in a coalesce list.
(coalesce_ssa_name): Entry point. Determine what ssa_names to coalesce.
* tree-ssa-live.c: Remove header files which aren't needed.
(var_map_base_init): New. Initialize a basevar list.
(var_map_base_fini): New. Finish a basevar list.
(init_var_map): Initialize new fields.
(delete_var_map): Free new fields.
(var_union): Use renamed fields.
(compact_var_map): Remove.
(partition_to_view_init): Use renamed fields, change order of an if.
(partition_view_fini): Use renamed fields.
(partition_view_normal): Create basevar list if requested.
(partition_view_bitmap): Create a view based on a bitmap of partitions.
(change_partition_var): Use renamed fields.
(create_ssa_var_map): Remove.
(tpa_init, tpa_remove_partition, tpa_delete, tpa_compact,
root_var_init): Remove.
(partition_pair_map_hash, partition_pair_map_eq, create_coalesce_list,
delete_coalesce_list, find_partition_pair, coalesce_cost, add_coalesce,
compare_pairs, num_coalesce_pairs, first_partition_pair,
end_partition_pair_p, next_partition_pair, sort_coalesce_list,
pop_best_coalesce, add_conflicts_if_valid, set_if_valid,
build_tree_conflict_graph, coalesce_tpa_members, dump_coalesce_list,
tpa_dump): Moved to tree-ssa-coalesce.c and/or renamed there.
(dump_var_map): Use renamed fields.
* tree-ssa-live.h (struct _var_map): Modify fields.
(partition_to_var, version_to_var, var_to_partition): Use renamed
fields.
(basevar_index): New. Index of the base variable of a partition.
(num_basevars): New. Number of unique base variables in partition map.
(register_ssa_partition): Use renamed fields.
(struct tree_partition_associator_d): Remove.
(tpa_num_trees, tpa_tree, tpa_first_partition, tpa_next_partition,
tpa_find_tree, tpa_decompact, root_var_init, root_var_num,
root_var, root_var_first_partition, root_var_next_partition,
root_var_dump, root_var_delete, root_var_remove_partition,
root_var_find, root_var_compact, root_var_decompact): Remove.
(struct partition_pair, struct coalesce_list_d): Moved to
tree-ssa-coalesce.c
* tree-ssa-ter.c: Remove header files which aren't needed.
........
r119713 | rakdver | 2006-12-10 14:17:15 -0800 (Sun, 10 Dec 2006) | 64 lines
* tree-vrp.c (adjust_range_with_scev): Use get_chrec_loop.
* loop-unswitch.c (unswitch_loops): Use FOR_EACH_LOOP.
* tree-loop-linear.c (linear_transform_loops): Ditto.
* tree-ssa-loop-im.c (determine_lsm): Ditto.
* tree-ssa-loop-niter.c (estimate_numbers_of_iterations,
free_numbers_of_iterations_estimates): Ditto.
* tree_ssa_unswitch_loops (tree_ssa_unswitch_loops): Ditto.
* tree-ssa-loop-ch.c (copy_loop_headers): Ditto.
* tree-ssa-loop-ivopts.c (tree_ssa_iv_optimize): Ditto.
* modulo-sched.c (sms_schedule): Ditto.
* tree-ssa-loop-ivcanon.c (canonicalize_induction_variables,
tree_unroll_loops_completely): Ditto.
* predict.c (predict_loops): Ditto.
* tree-if-conv.c (main_tree_if_conversion): Ditto.
* loop-unroll.c (unroll_and_peel_loops, peel_loops_completely,
decide_unrolling_and_peeling): Ditto.
* cfgloopmanip.c (unloop): Use delete_loop.
(place_new_loop): Access larray vector instead of parray.
(create_preheaders, force_single_succ_latches,
fix_loop_structure): Use FOR_EACH_LOOP and delete_loop..
* loop-doloop.c (doloop_optimize_loops): Ditto.
* loop-invariant.c (move_loop_invariants): Ditto.
* tree-cfg.c (replace_uses_by): Ditto.
* tree-ssa-loop-prefetch.c (tree_ssa_prefetch_arrays): Ditto.
* tree-chrec.h (CHREC_VAR, CHREC_LEFT, CHREC_RIGHT, CHREC_VARIABLE):
Moved to ...
* tree.h (CHREC_VAR, CHREC_LEFT, CHREC_RIGHT, CHREC_VARIABLE):
... here.
* tree-scalar-evolution.c (chrec_contains_symbols_defined_in_loop,
compute_overall_effect_of_inner_loop, chrec_is_positive): Use
get_loop and get_chrec_loop.
(number_of_iterations_for_all_loops): Use number_of_loops.
(scev_initialize, scev_reset, scev_const_prop): Use FOR_EACH_LOOP.
* tree-scalar-evolution.h (get_chrec_loop): New inline function.
* cfgloopanal.c (mark_irreducible_loops): Use number_of_loops,
and FOR_EACH_LOOP.
* tree-chrec.c (evolution_function_is_invariant_rec_p,
chrec_convert_1): Use get_loop and get_chrec_loop.
* loop-init.c (loop_optimizer_init): Use number_of_loops.
(loop_optimizer_init): Use FOR_EACH_LOOP.
* tree-vectorizer.c (vect_loops_num): Removed.
(vectorize_loops): Store number of loops locally. Use
FOR_EACH_LOOP and get_loop.
* tree-vectorizer.h (vect_loops_num): Removed.
* tree-data-ref.c (get_number_of_iters_for_loop): Use get_loop.
(find_data_references_in_loop): Do not set parallel_p.
* tree-data-ref.h: Do not declare VEC(loop_p).
* cfgloop.c (flow_loops_dump, mark_single_exit_loops,
verify_loop_structure): Use FOR_EACH_LOOP.
(flow_loops_free): Use FOR_EACH_LOOP, free larray vector.
(initialize_loops_parallel_p): Removed.
(flow_loops_find): Push the loops into a vector.
(delete_loop): New function.
(cancel_loop): Use delete_loop.
* cfgloop.h: Declare VEC(loop_p).
(struct loop): Remove parallel_p field.
(struct loops): Replace num and parray field by larray vector.
Remove shared_headers field.
(delete_loop): Declare.
(get_loop, get_loops, number_of_loops, fel_next, fel_init,
FOR_EACH_LOOP): New.
* doc/loop.tex: Document new accessor functions.
........
r119714 | dberlin | 2006-12-10 14:39:41 -0800 (Sun, 10 Dec 2006) | 5 lines
2006-12-10 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-alias.c (compact_name_tags): Use sort_tags_by_id.
(tree_pointer_compare): Remove.
........
r119718 | rakdver | 2006-12-10 15:34:20 -0800 (Sun, 10 Dec 2006) | 24 lines
* doc/loop.texi: Document number_of_latch_executions and
number_of_cond_exit_executions.
* tree-scalar-evolution.c (compute_overall_effect_of_inner_loop,
chrec_is_positive, number_of_iterations_for_all_loops,
scev_const_prop): Use number_of_latch_executions.
(set_nb_iterations_in_loop): Do not increase the value of the
number of iterations.
(number_of_iterations_in_loop): Renamed to ...
(number_of_latch_executions): ... this.
(number_of_exit_cond_executions): New function.
* tree-scalar-evolution.h (number_of_iterations_in_loop): Declaration
removed.
(number_of_latch_executions, number_of_exit_cond_executions): Declare.
* tree-ssa-loop-ivcanon.c (canonicalize_loop_induction_variables): Use
number_of_latch_executions.
* tree-data-ref.c (get_number_of_iters_for_loop): Use
number_of_exit_cond_executions.
* tree-vect-analyze.c (vect_get_loop_niters): Ditto.
* cfgloop.h (struct loop): Improve description of the nb_iterations
field.
* gcc.dg/tree-ssa/loop-17.c: Update outcome.
........
r119724 | gccadmin | 2006-12-10 16:18:20 -0800 (Sun, 10 Dec 2006) | 1 line
Daily bump.
........
r119726 | bje | 2006-12-10 16:22:24 -0800 (Sun, 10 Dec 2006) | 3 lines
* configure.in (spu-*-*): Don't skip target-libiberty.
* configure: Regenerate.
........
r119727 | bje | 2006-12-10 16:53:42 -0800 (Sun, 10 Dec 2006) | 12 lines
* config/spu/spu-elf.h (STARTFILE_SPEC): Update.
(ENDFILE_SPEC): Likewise.
* config/spu/spu.opt (mstdmain): New option.
* config/spu/crti.asm: Remove.
* config/spu/crtn.asm: Likewise.
* config/spu/crt0.c: Likewise.
* config/spu/crtend.c: Likewise.
* config/spu/t-spu-elf (EXTRA_MULTILIB_PARTS): Remove crt0 files
listed above.
($(T)crti.o, $(T)crtn.o, $(T)crt1.o, $(T)crtend1.o): Remove.
* doc/invoke.texi (SPU Options): Document -mstdmain.
........
r119728 | bje | 2006-12-10 20:11:34 -0800 (Sun, 10 Dec 2006) | 3 lines
* config.guess: Import latest version.
* config.sub: Likewise.
........
r119729 | amodra | 2006-12-10 22:43:16 -0800 (Sun, 10 Dec 2006) | 8 lines
* configure.in: Handle spu makefile frag.
* config/mt-spu: New file.
* Makefile.tpl (MAINT): Define
(MAINTAINER_MODE_FALSE, MAINTAINER_MODE_TRUE): Define.
* configure: Regenerate.
* Makefile.in: Regenerate.
........
r119730 | irar | 2006-12-10 23:54:35 -0800 (Sun, 10 Dec 2006) | 6 lines
* tree-vect-patterns.c (vect_recog_dot_prod_pattern): Use
GIMPLE_STMT_OPERAND.
* tree-vect-transform.c (vect_permute_store_chain): Likewise.
(vect_setup_realignment): Likewise.
........
r119731 | hubicka | 2006-12-11 00:07:52 -0800 (Mon, 11 Dec 2006) | 70 lines
Move all varpool routines out of cgraph/cgraphunit to varpool.c
* cgraph.c: Update comments.
(cgraph_varpool_hash,
cgraph_varpool_nodes, cgraph_varpool_last_needed_node
cgraph_varpool_node_name, cgraph_varpool_node,
cgraph_varpol_mode_for_asm, cgraph_varpool_mark_needed_node,
cgraph_variable_initializer_availability): Move to
varpool.c and drop cgraph_ prefixes.
(cgraph_varpool_enqueue_needed_node, cgraph_varpool_reset_queue,
cgraph_varpool_first_unanalyzed_node, cgraph_varpool_finalize_decl):
move to varpool.c; drop cgraph_ prefix; make static.
(dump_cgraph_varpool_node): Move to varpool.c under name
dump_varpool_node.
(dump_varpool, hash_varpool_node, eq_varpool_node,
decide_is_variable_needed): Move to varpool.c
(decl_assembler_name_equal): Move to tree.c.
(availability_names): Rename to ...
(cgraph_availability_names): ... this one.
(dump_cgraph_node): Update.
* cgraph.h: Reorder declarations now in varpool.c
(cgraph_vailablity_names): Declare.
(struct cgraph_varpool_node): Rename to ...
(struct varpool_node): ... this one.
(cgraph_varpool_first_unanalyzed_node, cgraph_varpool_nodes_queue,
cgraph_varpool_first_unanalyzed_node, cgraph_varpool_node,
cgraph_varpool_node_for_asm, cgraph_varpool_mark_needed_node,
cgraph_varpool_finalize_decl, cgraph_varpool_enqueue_needed_node,
cgraph_varpool_reset_queue, cgraph_varpool_assemble_pending_decls,
cgraph_variable_initializer_availability): Rename to ...
(varpool_first_unanalyzed_node, varpool_nodes_queue,
varpool_first_unanalyzed_node, varpool_node,
varpool_node_for_asm, varpool_mark_needed_node,
varpool_finalize_decl, varpool_enqueue_needed_node,
varpool_assemble_pending_decls, variable_initializer_availability):
Rename to ...
* tree.c (decl_assembler_name_equal): Move here from cgraph.c.
* tree.h (decl_assembler_name_equal): Declare.
* omp-low.c (lower_omp_critical): Update.
* ipa-reference (analyze_variable, static_execute): Likewise.
* toplev.c (wrapup_global_declaration_2, compile_file): Update.
* cgraphunit.c: Update comments.
(cgraph_varpool_assembled_nodes_queue): Move to varpool.c under name
varpool_assembled_nodes_queue.
(cgraph_varpool_analyze_pending_decls): Move to varpool.c under name
varpool_analyze_pending_decls.
(cgraph_varpool_remove_unreferenced_decls): Move to varpool.c under name
varpool_remove_unreferenced_decls.
(record_reference): Update.
(cgraph_create_edges): Update.
(record_referneces_in_initializer): New function.
(cgraph_varpool_assemble_decl): Move to varpool.c under name
varpool_assemble_decl; make global.
(cgraph_varpool_assemble_pending_decls): Move to varpool.c under name
varpool_assemble_pending_decls.
(process_function_and_variable_attributes, cgraph_finalize_compilation_unit,
struct cgraph_order_sort, cgraph_output_in_order,
cgraph_function_and_variable_invisibility, cgraph_optimize,
cgraph_increase_alignment): Update.
* dwarf2out.c (decls_for_scope): Likewise.
* ipa-type-escape.c (analyze_variable, type_escape_execute): Likewise.
* except.c (output_ttype): Likewise.
* varasm.c (mark_decl_referenced): Likewise.
(find_decl_and_mark_referenced, assemble_alias): update.
* Makefile.in: Add varpool.c, gt-varpool.c and remove gt-cgraphunit.c
* passes.c (rest_of_decl_compilation): Update.
* cp/decl2.c (var_finalized_p): Update for renamed varpool functions.
* fortran/f59-lang.c (gfc_expand_function): Update for renamed varpool functions.
........
r119732 | paolo | 2006-12-11 02:48:56 -0800 (Mon, 11 Dec 2006) | 10 lines
2006-12-11 Richard Guenther <rguenther@suse.de>
Paolo Carlini <pcarlini@suse.de>
* include/ext/pb_ds/detail/pat_trie_/traits.hpp: Qualify types.
* include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Likewise.
* include/ext/rope: Likewise.
* include/bits/stl_tree.h (struct _Rb_tree): Change the _Link_type
typedefs to use _Rb_tree_node<_Val> directly.
(_M_get_node, _M_put_node): Use _Link_type.
........
r119734 | uros | 2006-12-11 06:06:07 -0800 (Mon, 11 Dec 2006) | 46 lines
Revert:
2006-11-15 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.opt: New target option -mx87regparm.
* config/i386/i386.h (struct ix86_args): Add x87_nregs, x87_regno,
float_in_x87: Add new variables. mmx_words, sse_words: Remove.
(X87_REGPARM_MAX): Define.
* config/i386/i386.c (override_options): Error out for
-mx87regparm but no 80387 support.
(ix86_attribute_table): Add x87regparm.
(ix86_handle_cconv_attribute): Update comments for x87regparm.
(ix86_comp_type_attributes): Check for mismatched x87regparm types.
(ix86_function_x87regparm): New function.
(ix86_function_arg_regno_p): Add X87_REGPARM_MAX 80387 floating
point registers.
(init_cumulative_args): Initialize x87_nregs and float_in_x87
variables.
(function_arg_advance): Process x87_nregs and x87_regno when
floating point argument is to be passed in 80387 register.
(function_arg): Pass XFmode arguments in 80387 registers for local
functions. Pass SFmode and DFmode arguments to local functions
in 80387 registers when flag_unsafe_math_optimizations is set.
* reg-stack.c (convert_regs_entry): Disable NaN load for
stack registers that are used for argument passing.
* doc/extend.texi: Document x87regparm function attribute.
* doc/invoke.texi: Document -mx87regparm.
testsuite/ChangeLog:
* gcc.target/i386/pr30120.c: New test.
Revert:
2006-11-15 Uros Bizjak <ubizjak@gmail.com>
* gcc.target/i386/x87regparm-1.c: New test.
* gcc.target/i386/x87regparm-2.c: New test.
* gcc.target/i386/x87regparm-3.c: New test.
* gcc.target/i386/x87regparm-4.c: New test.
........
r119735 | hubicka | 2006-12-11 06:19:11 -0800 (Mon, 11 Dec 2006) | 14 lines
* value-prof.c (tree_stringops_transform): New.
(tree_value_profile_transformations): Require count to be non-zero;
call stringop transform; reset stmt BSI after BB changed.
(tree_divmod_fixed_value, tree_mod_pow2): Don't emit unnecesary label.
(interesting_stringop_to_profile_p, tree_stringop_fixed_value): New.
(tree_stringops_values_to_profile): New.
(tree_values_to_profile): Call tree_stringops_values_to_profile.
* tree.h (build_string_literal): Tidy prototype.
(validate_arglist, builtin_memset_read_str, get_pointer_alignment):
Declare.
* builtins.c (validate_arglist, builtin_memset_read_str,
get_pointer_alignment): Export.
........
r119739 | carlos | 2006-12-11 09:31:48 -0800 (Mon, 11 Dec 2006) | 6 lines
2006-12-11 Carlos O'Donell <carlos@codesourcery.com>
* config/arm/elf.h (MAX_OFILE_ALIGNMENT): Remove definition.
........
r119740 | dnovillo | 2006-12-11 09:50:53 -0800 (Mon, 11 Dec 2006) | 12 lines
* tree-scalar-evolution.c (scev_const_prop):
* tree-phinodes.c (remove_phi_node): Add argument
RELEASE_LHS_P. If given, release the SSA name on the LHS of
the PHI node.
Update all users.
* tree-ssa-dce.c: Remove forward declarations for static
functions. Re-arrange functions bodies as needed.
(find_obviously_necessary_stmts): Never mark PHI nodes as
obviously necessary.
........
r119742 | amylaar | 2006-12-11 10:49:23 -0800 (Mon, 11 Dec 2006) | 2 lines
MAINTAINERS: Update my entry.
........
r119744 | schwab | 2006-12-11 11:09:05 -0800 (Mon, 11 Dec 2006) | 3 lines
* varasm.c (elf_record_gcc_switches): Cast second argument of
ASM_OUTPUT_SKIP to unsigned HOST_WIDE_INT.
........
r119745 | schwab | 2006-12-11 11:11:38 -0800 (Mon, 11 Dec 2006) | 2 lines
Fix changelog entry.
........
r119746 | dnovillo | 2006-12-11 12:15:53 -0800 (Mon, 11 Dec 2006) | 25 lines
* tree-ssa-operands.h (create_ssa_artificial_load_stmt):
Rename from create_ssa_artficial_load_stmt. Update all users.
* tree-into-ssa.c (register_new_def): Make static.
* tree.c (is_global_var): Handle SSA_NAMEs.
* tree.h (SSA_NAME_IS_DEFAULT_DEF): Define. Update all users
that used to call gimple_default_def.
* tree-ssa-operands.c (push_stmt_changes): New.
(pop_stmt_changes): New. Update every pass that modifies
statements to bracket modifications with
push_stmt_changes/pop_stmt_changes.
(discard_stmt_changes): New.
* tree-ssa-dom.c (stmts_to_rescan): Change to stack of
'tree *' instead of 'tree'. Update all users.
* tree-flow-inline.h (zero_imm_uses_p): New.
(symbol_mem_tag): New. Update every function that used
to access the annotation directly.
(set_symbol_mem_tag): Likewise.
* tree-dfa.c (dump_variable): Always show the escape mask.
(mark_symbols_for_renaming): Rename from
mark_new_vars_to_rename. Update all users.
Only mark to rename naked symbols in real and virtual
operands.
........
r119748 | rakdver | 2006-12-11 13:29:44 -0800 (Mon, 11 Dec 2006) | 5 lines
* loop-iv.c (implies_p): Require the mode of the operands to be
scalar.
........
r119749 | bkoz | 2006-12-11 14:17:09 -0800 (Mon, 11 Dec 2006) | 9 lines
2006-12-11 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCXX_CHECK_ICONV_SUPPORT): Remove link test, ie
AC_CHECK_LIB for libiconv. Instead, use bits of AM_ICONV.
* configure: Regenerate.
* scripts/testsuite_flags.in (cxxldflags): Add LIBICONV bits.
........
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/fixed-point@119752 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
svn+ssh://chaoyingfu@sources.redhat.com/svn/gcc/trunk
........
r119203 | fxcoudert | 2006-11-25 08:57:25 -0800 (Sat, 25 Nov 2006) | 4 lines
* error.c (error_print): Handle printf-style position specifiers,
of the form "%3$d".
........
r119204 | fxcoudert | 2006-11-25 09:22:53 -0800 (Sat, 25 Nov 2006) | 8 lines
* Makefile.am: Remove intrinsics/erf.c and intrinsics/bessel.c.
* Makefile.in: Regenerate.
* intrinsics/erf.c: Remove.
* intrinsics/bessel.c: Remove.
* c99_protos.h: Add prototypes for bessel and error functions.
* intrinsics/c99_functions.c: Move content for intrinsics/erf.c
and intrinsics/bessel.c here.
........
r119205 | brooks | 2006-11-25 11:08:22 -0800 (Sat, 25 Nov 2006) | 3 lines
* MAINTAINERS (Write After Approval): Change my email address.
........
r119206 | brooks | 2006-11-25 11:15:29 -0800 (Sat, 25 Nov 2006) | 4 lines
* c.opt: Remove -ffixed-form, -ffixed-line-length-none, and
-ffixed-line-length-* options.
........
r119209 | steven | 2006-11-25 13:23:27 -0800 (Sat, 25 Nov 2006) | 12 lines
* cse.c (cse_altered): Remove.
(record_jump_equiv): Make true/false argument a bool instead
of an int.
(cse_insn): Don't set cse_altered. Use delete_insn_and_edges
where appropriate. Emit a new jump before the existing one
instead of after so that delete_insn_and_edges removes the
dead edges properly. Check any_condjump_p before calling
record_jump_equiv.
(cse_basic_block): Check any_condjump_p before calling
record_jump_equiv.
(cse_main): Don't set/check cse_altered. Remove USE_C_ALLOCA.
........
r119210 | uros | 2006-11-25 13:40:53 -0800 (Sat, 25 Nov 2006) | 3 lines
* reg-stack.c (get_true_reg): Fix UNSPEC_TRUNC_NOOP handling.
........
r119211 | pinskia | 2006-11-25 13:43:48 -0800 (Sat, 25 Nov 2006) | 12 lines
2006-11-25 Andrew Pinski <pinskia@gmail.com>
* trans-intrinsic.c (gfc_conv_intrinsic_transfer): Change to
call memcpy instead of creating a VIEW_CONVERT_EXRP.
2006-11-25 Andrew Pinski <pinskia@gmail.com>
* gfortran.fortran-torture/execute/transfer2.f90: New test
........
r119216 | gccadmin | 2006-11-25 16:17:37 -0800 (Sat, 25 Nov 2006) | 1 line
Daily bump.
........
r119218 | pinskia | 2006-11-25 20:42:00 -0800 (Sat, 25 Nov 2006) | 13 lines
2006-11-25 Andrew Pinski <pinskia@gmail.com>
* trans-expr.c (gfc_conv_expr_reference): Strip off NOP_EXPRs.
2006-11-25 Andrew Pinski <pinskia@gmail.com>
* gfortran.fortran-torture/compile/parameter_3.f90: New
testcase.
........
r119219 | pinskia | 2006-11-26 00:09:05 -0800 (Sun, 26 Nov 2006) | 7 lines
2006-11-26 Andrew Pinski <pinskia@gmail.com>
* trans-decl.c (gfc_build_intrinsic_function_decls): Mark the
pow functions as constant functions.
........
r119220 | razya | 2006-11-26 02:00:18 -0800 (Sun, 26 Nov 2006) | 7 lines
2006-11-26 Razya Ladklesky <razya@il.ibm.com>
* tree-inline.c (tree_function_versioning): Update DECL_ASSEMBLER_NAME
for the new version. Assign NULL to DECL_RTL of the new version.
........
r119221 | paolo | 2006-11-26 02:04:25 -0800 (Sun, 26 Nov 2006) | 13 lines
2006-11-26 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_tree.h (_Rb_tree<>::_M_equal_range): Add.
(equal_range(const key_type&)): Use it.
2006-11-26 Paolo Carlini <pcarlini@suse.de>
* testsuite/23_containers/multiset/operations/1.cc: New.
* testsuite/23_containers/set/operations/1.cc: Likewise.
* testsuite/23_containers/multimap/operations/1.cc: Likewise.
* testsuite/23_containers/map/operations/1.cc: Likewise.
........
r119222 | razya | 2006-11-26 02:29:28 -0800 (Sun, 26 Nov 2006) | 5 lines
2006-11-26 Razya Ladklesky <razya@il.ibm.com>
* testsuite/gcc.dg/ipa/ipa-6.c: New.
........
r119223 | fxcoudert | 2006-11-26 04:25:50 -0800 (Sun, 26 Nov 2006) | 8 lines
* trans-intrinsic.c (gfc_conv_intrinsic_bound): Use a locus in
the call to gfc_trans_runtime_check.
* trans-array.c (gfc_trans_array_bound_check): Try harder to find
the variable or function name for the runtime error message.
(gfc_trans_dummy_array_bias): Use a locus in the call to
gfc_trans_runtime_check
........
r119224 | ghazi | 2006-11-26 06:35:54 -0800 (Sun, 26 Nov 2006) | 7 lines
* builtins.c (fold_builtin_fmin_fmax): Handle NaN arguments.
testsuite:
* gcc.dg/torture/builtin-minmax-1.c: Test NaN in fmin/fmax.
Don't ever inline the testcase.
........
r119228 | ebotcazou | 2006-11-26 10:27:19 -0800 (Sun, 26 Nov 2006) | 1 line
Fix oversight.
........
r119232 | ghazi | 2006-11-26 14:37:33 -0800 (Sun, 26 Nov 2006) | 14 lines
* configure.in (--with-mpfr-dir, --with-gmp-dir): Remove flags.
(--with-mpfr-include, --with-mpfr-lib, --with-gmp-include,
--with-gmp-lib): New flags.
* configure: Regenerate.
gcc:
* doc/install.texi: Move GMP/MPFR configure options from Fortran
section to general section. Remove documentation for
--with-mpfr-dir and --with-gmp-dir, add documentation for
--with-mpfr-include, --with-mpfr-lib, --with-gmp-include and
--with-gmp-lib.
........
r119238 | gccadmin | 2006-11-26 16:18:23 -0800 (Sun, 26 Nov 2006) | 1 line
Daily bump.
........
r119240 | ghazi | 2006-11-26 16:23:24 -0800 (Sun, 26 Nov 2006) | 16 lines
Checkin ChangeLogs from previous checkin.
* configure.in (--with-mpfr-dir, --with-gmp-dir): Remove flags.
(--with-mpfr-include, --with-mpfr-lib, --with-gmp-include,
--with-gmp-lib): New flags.
* configure: Regenerate.
gcc:
* doc/install.texi: Move GMP/MPFR configure options from Fortran
section to general section. Remove documentation for
--with-mpfr-dir and --with-gmp-dir, add documentation for
--with-mpfr-include, --with-mpfr-lib, --with-gmp-include and
--with-gmp-lib.
........
r119242 | mmitchel | 2006-11-26 19:38:57 -0800 (Sun, 26 Nov 2006) | 15 lines
* parser.c (cp_parser): Add in_function_body.
(cp_parser_new): Initialize it.
(cp_parser_primary_expression): Use parser->in_function_body
instead of at_function_scope_p.
(cp_parser_asm_definition): Likewise.
(cp_parser_direct_declarator): Likewise.
(cp_parser_class_specifier): Clear parser->in_function_body.
(cp_parser_constructor_declarator_p): Use parser->in_function_body
instead of at_function_scope_p.
(cp_parser_function_body_after_declarator): Set
parser->in_function_body.
* g++.dg/expr/cast8.C: New test.
........
r119246 | uros | 2006-11-27 00:03:45 -0800 (Mon, 27 Nov 2006) | 11 lines
Revert:
2006-05-08 Uros Bizjak <uros@kss-loka.si>
* config/i386/i386.c (ix86_rtx_costs) [FLOAT_EXTEND]: For
standard 80387 constants, raise the cost to prevent
compress_float_constant() to generate load from memory.
* config/i386/i386.md: Add new splitter pattern to split
float_extended load of constant from constant pool into
pure constant load.
........
r119247 | irar | 2006-11-27 00:10:23 -0800 (Mon, 27 Nov 2006) | 25 lines
* tree-vect-transform.c (vect_create_addr_base_for_vector_ref): Convert
the type of the base address.
(vect_create_data_ref_ptr): Add an argument, type of the data-ref. Use
it in the data-ref pointer creation.
(vect_init_vector): Add an argument, type of the init vector. Use it in
the stmt creation.
(vect_get_vec_def_for_operand): Fix calls to vect_init_vector.
(get_initial_def_for_reduction): Likewise.
(vect_create_epilog_for_reduction): Change type of MODIFY_EXPR to
void_type_node.
(vectorizable_assignment, vect_permute_store_chain): Likewise.
(vectorizable_store): Fix call to vect_create_data_ref_ptr. Use the
correct type in stmt creation.
(vect_setup_realignment): Use the correct type in stmt creation.
(vect_permute_load_chain): Change type of MODIFY_EXPR to
void_type_node.
(vectorizable_load): Fix calls to vect_create_data_ref_ptr. Change type
of MODIFY_EXPR to void_type_node.
(vectorizable_condition): Change type of MODIFY_EXPR to
void_type_node.
(vect_update_ivs_after_vectorizer): Use the correct type in stmt
creation.
........
r119248 | rguenth | 2006-11-27 03:38:42 -0800 (Mon, 27 Nov 2006) | 10 lines
2006-11-27 Richard Guenther <rguenther@suse.de>
* builtins.c (expand_builtin_pow): Optimize non integer valued
constant exponents using sqrt or cbrt if possible. Always fall back
to expanding via optabs.
* gcc.target/i386/pow-1.c: New testcase.
* gcc.dg/builtins-58.c: Likewise.
........
r119249 | rguenth | 2006-11-27 04:41:51 -0800 (Mon, 27 Nov 2006) | 19 lines
2006-11-27 Richard Guenther <rguenther@suse.de>
Zdenek Dvorak <dvorakz@suse.cz>
* target.h (struct gcc_target): Add builtin_vectorized_function
target hook.
* target-def.h (TARGET_VECTORIZE): Likewise.
* doc/tm.texi (TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION):
Document new target hook.
* targhooks.h (default_builtin_vectorized_function): Declare.
* targhooks.c (default_builtin_vectorized_function): Define.
* tree-vectorizer.h (stmt_vec_info_type): Add call_vec_info_type.
(vectorizable_call): Declare.
* tree-vect-analyze.c (vect_analyze_operations): Call
vectorizable_call.
* tree-vect-transform.c (vectorizable_function): New static function.
(build_vectorized_function_call): Likewise.
(vectorizable_call): New function.
(vect_transform_stmt): Handle vectorizable calls.
........
r119250 | hubicka | 2006-11-27 07:07:10 -0800 (Mon, 27 Nov 2006) | 13 lines
* cfgexpand.c (construct_exit_block): Don't disturb end of last BB.
* rtl.texi (NOTE_INSN_FUNCTION_END): Remove.
* final.c (final_scan_insn): Don't scan NOTE_INSN_FUNCTION_END.
* insn-notes.def (FUNCTION_END): Remove.
* jump.c (delete_related_insns): Don't worry about FUNCTION_END.
(redicect_jump_2): Don't accept -1 parameter to remove FUNCTION_END
note.
* ifcvt.c (dead_or_predictable): Update call of redirect_jump_2.
* function.c (expand_function_end): Don't emit NOTE_INSN_FUNCTION_END
* cfglayout.c (duplicate_insn_chain): Don't worry about
NOTE_FUNCTION_END.
........
r119251 | hubicka | 2006-11-27 07:21:36 -0800 (Mon, 27 Nov 2006) | 13 lines
* cfgexpand.c (construct_exit_block): Don't disturb end of last BB.
* rtl.texi (NOTE_INSN_FUNCTION_END): Remove.
* final.c (final_scan_insn): Don't scan NOTE_INSN_FUNCTION_END.
* insn-notes.def (FUNCTION_END): Remove.
* jump.c (delete_related_insns): Don't worry about FUNCTION_END.
(redicect_jump_2): Don't accept -1 parameter to remove FUNCTION_END
note.
* ifcvt.c (dead_or_predictable): Update call of redirect_jump_2.
* function.c (expand_function_end): Don't emit NOTE_INSN_FUNCTION_END
* cfglayout.c (duplicate_insn_chain): Don't worry about
NOTE_FUNCTION_END.
........
r119252 | hubicka | 2006-11-27 08:00:26 -0800 (Mon, 27 Nov 2006) | 50 lines
* expr.c (emit_block_move_via_libcall): Export.
(clear_storage_via_libcall): Rename to ...
(set_storage_via_libcall): ... this one; handle arbitrary value to set.
(clear_storage): Update to set_storage_via_libcall.
* expr.h (emit_block_move_via_libcall): Declare
* config/i386/i386.h (stringop_alg): New enum.
(MAX_STRINGOP_ALGS): New constant.
(stringop_algs): New struct.
(processor_costs): Add memcpy/memset descriptors.
(TARGET_REP_MOVEL_OPTIMAL): Remove.
* config/i386/i386.md (movsi_insv_1_rex64): New pattern.
(strmovsi, strmovdi, strsetsi, strsetdi): Update; accept all operands
for memset.
* config/i386/i386.opt (minline-stringops-dynamically,
mstringop-strategy): New
parameters.
* config/i386/i386-prostos.h (ix86_expand_movmem): Update prototype.
(ix86_expand-clrmem): Rename to ...
(ix86_expand_setmem): ... this one; update prototype.
* config/i386/i386.c (DUMMY_STRINGOP_ALGS): New constant.
(size_cost, i386_cost, i486_cost, pentium_cost, pentiumpro_cost,
geode_cost, k6_cost, athlon_cost, k8_cost, pentium4_cost,
nocona_cost, core2_cost, generic_cost, generic64_cost,
generic32_cost): Add memcpy/memset descriptors.
(x86_rep_movl_optimal): Remove.
(stringop_alg): New static variable.
(ix86_expand_aligntest): Handle predictions.
(override_options): Add strgop_alg handling.
(predict_jump): New function.
(scale_counter): New function.
(expand_set_or_movmem_via_loop): New function.
(expand_movmem_via_rep_mov): New function.
(expand_setmem_via_rep_stots): New function.
(emit_strmov): New function.
(expand_movmem_epilogue): New function.
(expand_setmem_epilogue_via_loop): New function.
(expand_setmem_epilogue): New function.
(expand_movmem_prologue): New function.
(expand_setmem_prologue): New function.
(decide_alg): New function.
(decide_alignment): New function.
(ix86_exand_movmem): Rewrite.
(promote_duplicated_reg): New function.
(ix86_expand_clrmem): Rename to ...
(ix86_expand_setmem): ... this one. Rewrite.
* invoke.texi (minline-stringops-dynamically): New command line option.
(mstringop-strategy): Likewise.
........
r119253 | uros | 2006-11-27 08:10:36 -0800 (Mon, 27 Nov 2006) | 3 lines
* gcc.dg/20061124-1.c: Add exit() function prototype.
........
r119256 | krebbel | 2006-11-27 08:34:19 -0800 (Mon, 27 Nov 2006) | 16 lines
2006-11-27 Michael Matz <matz@suse.de>
Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/predicates.md (larl_operand): Check addend of larl
operand to be in range of -/+2GB.
* config/s390/s390.c (legitimize_pic_address): Likewise.
Changed type of variable even to HOST_WIDE_INT.
2006-11-27 Michael Matz <matz@suse.de>
Andreas Krebbel <krebbel1@de.ibm.com>
* gcc.dg/20061127-1.c: New testcase.
........
r119257 | burnus | 2006-11-27 08:43:12 -0800 (Mon, 27 Nov 2006) | 5 lines
2006-11-27 Tobias Burnus <burnus@net-b.de>
* doc/invoke.texi: Fixed typo.
........
r119258 | manu | 2006-11-27 10:47:41 -0800 (Mon, 27 Nov 2006) | 12 lines
2006-11-27 Roger Sayle <roger@eyesopen.com>
Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* c-common.c (constant_fits_type_p): Delete.
(unsigned_conversion_warning): Delete.
(conversion_warning): Integrate Wconversion warning from
unsigned_conversion_warning.
(convert_and_check): Integrate Woverflow warning from
unsigned_conversion_warning. Reorganize and simplify to avoid
dependence upon the middle-end setting TREE_OVERFLOW on integral
conversions, by using int_fits_type_p directly.
........
r119259 | bwilson | 2006-11-27 10:48:57 -0800 (Mon, 27 Nov 2006) | 2 lines
* config/xtensa/xtensa.h (XCHAL_HAVE_MUL32_HIGH): Provide default.
........
r119260 | uros | 2006-11-27 11:50:40 -0800 (Mon, 27 Nov 2006) | 4 lines
* config/i386/i386.c (x86_ext_80387_constants): Add m_K8, m_CORE2
and m_GENERIC64.
........
r119261 | bwilson | 2006-11-27 12:15:58 -0800 (Mon, 27 Nov 2006) | 3 lines
* xtensa-config.h (XSHAL_ABI): New.
(XTHAL_ABI_WINDOWED, XTHAL_ABI_CALL0): New.
........
r119262 | steven | 2006-11-27 15:15:38 -0800 (Mon, 27 Nov 2006) | 3 lines
* alias.c (init_alias_analysis): Remove simplification loop
after propagating pointers.
........
r119267 | gccadmin | 2006-11-27 16:18:00 -0800 (Mon, 27 Nov 2006) | 1 line
Daily bump.
........
r119270 | bje | 2006-11-27 18:14:26 -0800 (Mon, 27 Nov 2006) | 3 lines
* lib/gcc-defs.exp (${tool}_check_compile): xfail test cases that
fail to link due to relocation overflows on spu-*-*.
........
r119271 | mmitchel | 2006-11-27 18:19:02 -0800 (Mon, 27 Nov 2006) | 3 lines
* class.c (build_vcall_offset_vtbl_entries): Do not add vcall
entries for a primary construction virtual table.
........
r119272 | pault | 2006-11-27 21:36:07 -0800 (Mon, 27 Nov 2006) | 11 lines
2006-11-28 Paul Thomas <pault@gcc.gnu.org>
* resolve.c (resolve_fl_procedure): Error if procedure is
ambiguous modified to require attr.referenced.
2006-11-28 Paul Thomas <pault@gcc.gnu.org>
* gfortran.dg/interface_3.f90: Modify errors.
........
r119273 | pault | 2006-11-27 21:39:42 -0800 (Mon, 27 Nov 2006) | 11 lines
2006-11-28 Paul Thomas <pault@gcc.gnu.org>
* trans-expr.c (gfc_conv_missing_dummy): Remove build_int_const
and replace with cast to type of se->expr of integer_zero_node.
2006-11-28 Paul Thomas <pault@gcc.gnu.org>
* gfortran.dg/missing_optional_dummy_3.f90
........
r119276 | mrs | 2006-11-27 22:05:25 -0800 (Mon, 27 Nov 2006) | 4 lines
* sysdep/x86-64/locks.h: Enable use of either file on either
target to support multilibs from one to the other.
* sysdep/i386/locks.h: Likewise.
........
r119277 | nathan | 2006-11-27 23:44:11 -0800 (Mon, 27 Nov 2006) | 3 lines
* gcc.dg/pack-test-1.c: Use __alignof__ to determine natural
alignments.
........
r119280 | rguenth | 2006-11-28 02:03:49 -0800 (Tue, 28 Nov 2006) | 5 lines
2006-11-28 Richard Guenther <rguenther@suse.de>
* ggc-page.c (ggc_print_statistics): Use %ul and a cast to
unsigned long for printing OBJECT_SIZE.
........
r119281 | hubicka | 2006-11-28 02:53:16 -0800 (Tue, 28 Nov 2006) | 19 lines
* invoke.texi (large-stack-frame, large-stack-frame-growth): New params.
* cgraph.c (dump_cgraph_node): Dump stack usage.
* cgraph.h (cgraph_local_info): Add estimated_self_stack_size.
(cgraph_global_info): Add estimated_stack_size and stack_frame_offset.
* cgraphunit.c (cgraph_analyze_function): Analyze stack sizes.
* ipa-inline.c (cgraph_clone_inlined_nodes): Propagate stack usage.
(cgraph_check_inline_limits): Limit stack growth.
* cfgexpand.c: Include tree-inline.h.
(account_stack_vars): New function.
(expand_one_var): New param to just account the stack; return estimated
size.
(expand_used_vars_for_block): Update call of expand_one_var.
(account_used_vars_for_block): New function.
(estimated_stack_frame_size): Likewise.
(init_vars_expansion, fini_vars_expansion): Break out from..
(expand_used_vars): ... here.
* tree-inline.h (estimated_stack_frame_size): Declare.
* params.def (PARAM_LARGE_STACK_FRAME, PARAM_STACK_FRAME_GROWTH): New.
........
r119284 | jsm28 | 2006-11-28 04:04:32 -0800 (Tue, 28 Nov 2006) | 2 lines
* sv.po, tr.po: Update.
........
r119287 | jakub | 2006-11-28 04:56:53 -0800 (Tue, 28 Nov 2006) | 6 lines
* decl.c (grokfndecl): Check main's type after applying
attributes, not before.
* g++.dg/warn/main-3.C: New test.
........
r119292 | hubicka | 2006-11-28 06:20:04 -0800 (Tue, 28 Nov 2006) | 5 lines
* builtins.c: Include tree-flow.h.
(fold_builtin_memory_op): Be more aggressive on converting memcpy to
assignment; convert memmove to memcpy for sizes greater than 1 where
alignment of operands prohibit the partial overlap.
........
r119293 | hubicka | 2006-11-28 06:30:49 -0800 (Tue, 28 Nov 2006) | 2 lines
Oops, wrong file committed.
........
r119294 | hubicka | 2006-11-28 06:42:37 -0800 (Tue, 28 Nov 2006) | 97 lines
Privatize SSA variables into gimple_df.
* tree-flow-inline.h
(gimple_in_ssa_p, gimple_aliases_computed_p, gimple_addressable_vars,
gimple_call_clobbered_vars, gimple_referenced_vars, gimple_global_var,
gimple_nonlocal_all): New accessors.
(first_referenced_var): Update.
(mark_stmt_modified): Update.
(is_call_clobbered): Update.
(mark_call_clobbered): Update.
(clear_call_clobbered): Update.
(mark_non_addressable): Update.
* tree-vrp.c (get_value_range): Update.
* tree-into-ssa.c (in_ssa_p): Kill.
(get_default_def_for): Update.
(rewrite_into_ssa): Update.
* tree-complex.c (init_parameter_lattice_values): Update.
(update_complex_assignment): Update.
(update_parameter_components): Update.
(expand_complex_libcall): Update.
(expand_complex_operations_1): Update.
* tree-tailcall.c (arg_needs_copy_p): Update.
(add_virtual_phis): Update.
(tree_optimize_tail_calls_1): Update.
* tree-ssa-dse.c (memory_ssa_name_same): Update.
* tree-ssa-copyrename.c
(copy_rename_partition_coalesce): Update.
* tree-ssa-math-opts.c (execute_cse_reciprocals): Update.
* tree-ssa-propagate.c (set_rhs): Update.
* tree-ssa-alias.c (aliases_computed_p, call_clobbered_vars,
addressable_vars, global_var):Kill.
(set_initial_properties): Update.
(init_alias_info): Update.
(finalize_ref_all_pointers): Update.
(setup_pointers_and_addressables): Update.
(maybe_create_global_var): Update.
(create_global_var): Update.
(dump_points_to_info): Update.
* function.h (struct gimple_df): Forward declare.
(struct function): Add GIMPLE_DF field.
* gimplify.c (force_gimple_operand): Update.
* tree-dfa.c (referenced_vars, default_defs): KIll.
(make_rename_temp): Update.
(dump_variable): Update.
(referenced_var_lookup): Update.
(referenced_var_check_and_insert): Update.
(default_def): Rename to ...
(gimple_default_def): ... this one; accept cfun argument.
(set_default_def): Update.
* tree-cfgcleanup.c (modified_noreturn_calls): Kill.
(cleanup_control_flow): Update.
* tree-ssa-pre.c (compute_avail): Update
* tree-ssa-live.c (calculate_live_on_entry): Update.
* tree-ssa.c (verify_use): Update.
(verify_call_clobbering): Update.
(verify_call_clobbering): Update.
(init_tree_ssa): Update.
(delete_tree_ssa): Update.
* tree-outof-ssa.c (coalesce_ssa_name): Update.
(rewrite_out_of_ssa): Update.
* tree-flow.h (gimple_df): New structure collecting dataflow variables.
(FREE_SSANAMES, SSANAMES, MODIFIED_NORETURN_CALLS, DEFAULT_DEFS): New
private accessors.
(in_ssa_p, modified_noreturn_calls, referenced_vars, default_defs,
ssa_names, global_var, nonlocal_all, call_clobbered_vars,
addressable_vars, aliases_computed_p): Kill.
(default_def): Rename to...
(gimple_default_def): ... this one.
(defaule_def_fn): Kill.
(num_referenced_vars, ssa_names, num_ssa_names): Update.
* tree-ssa-structalias.c (nonlocal_all): Kill.
(get_constraint_exp_from_ssa_var): Update.
(create_nonlocal_var): Update.
(get_constraint_for): Update.
(update_alias_info): Update.
(find_global_initializers): Update.
(intra_create_variable_infos): Update.
(intra_create_variable_infos):
(find_what_p_points_to): Update.
(init_alias_heapvars): Update.
* tree-cfg.c (remove_bb): Update.
(gimplify_val): Update.
* tree-ssa-reassoc.c (get_rank): Update.
(init_reassoc): Update.
* tree-ssanames.c: Do not include gt-tree-ssanames.h
(ssa_names, free_ssanames): Kill.
(init_ssanames): Update.
(make_ssa_name): Update.
(release_ssa_name): Update.
(release_defs): Update.
(replace_ssa_name_symbol): Update.
* tree-ssa-operands.c (access_can_touch_variable): Update.
(add_virtual_operand): Update.
(add_call_clobber_ops): Update.
(add_call_read_ops): Update.
(get_call_expr_operands): Update.
(get_asm_expr_operands): Update.
........
r119296 | bwilson | 2006-11-28 13:22:14 -0800 (Tue, 28 Nov 2006) | 2 lines
* config/xtensa/lib1funcs.asm (__umulsidi3): Restore a12-a15 on exit.
........
r119301 | gccadmin | 2006-11-28 16:17:52 -0800 (Tue, 28 Nov 2006) | 1 line
Daily bump.
........
r119303 | pinskia | 2006-11-28 23:23:11 -0800 (Tue, 28 Nov 2006) | 13 lines
2006-11-28 Andrew Pinski <pinskia@gmail.com>
* gcc.dg/tree-ssa/reassoc-12.c: New test.
2006-11-28 Andrew Pinski <pinskia@gmail.com>
* tree-ssa-reassoc.c (eliminate_duplicate_pair): Handle MAX_EXPR
and MIN_EXRP.
........
r119307 | jsm28 | 2006-11-29 04:49:06 -0800 (Wed, 29 Nov 2006) | 4 lines
* config/rs6000/rs6000.c (rs6000_gimplify_va_arg): If
STRICT_ALIGNMENT and the type is more aligned than the saved
registers, copy via a temporary.
........
r119311 | uweigand | 2006-11-29 05:00:12 -0800 (Wed, 29 Nov 2006) | 6 lines
2006-11-29 Jim Tison <jtison@us.ibm.com>
* gthr-tpf.h (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION,
__gthread_recursive_mutex_init): Define.
........
r119314 | amylaar | 2006-11-29 06:35:38 -0800 (Wed, 29 Nov 2006) | 11 lines
* sh.opt (minline-ic_invalidate): New option.
(musermode): Adjust comment.
* sh.c (sh_initialize_trampoline): Emit library call unless
is set; if it is set, don't emit library call if we can use icbi
instead.
* sh.md (ic_invalidate_line, ic_invalidate_line_sh4a): Also use
icbi for TARGET_SH4_300.
* t-sh (LIB1ASMFUNCS_CACHE): Set.
* doc/invoke.texi: Document -minline-ic_invalidate; Update
-musermode documentation.
........
r119315 | jiez | 2006-11-29 06:52:31 -0800 (Wed, 29 Nov 2006) | 2 lines
* doc/tm.texi (NO_PROFILE_COUNTERS): Document more accurately.
........
r119318 | lmillward | 2006-11-29 07:19:39 -0800 (Wed, 29 Nov 2006) | 14 lines
* parser.c (cp_parser_class_head): Move processing
of any base classes to...
(cp_parser_class_specifier) ...here. Take an extra
tree* parameter for any base classes. Only process
them if the opening brace was found.
* g++.dg/inherit/virtual2.C: New test.
* g++.dg/inherit/virtual3.C: Likewise.
* g++.old-deja/g++.bugs/900121_05.C: Adjust error markers.
* g++.dg/inherit/error2.C: Likewise.
* g++.dg/template/instantiate1.C: Likewise.
........
r119320 | baldrick | 2006-11-29 08:00:07 -0800 (Wed, 29 Nov 2006) | 5 lines
* tree-vrp.c (vrp_meet): do not require ranges to intersect.
* testsuite/gcc.dg/tree-ssa/pr23744.c: new test.
* testsuite/gcc.dg/tree-ssa/update-threading.c: xfail.
........
r119323 | dberlin | 2006-11-29 09:17:56 -0800 (Wed, 29 Nov 2006) | 7 lines
2006-11-29 Daniel Berlin <dberlin@dberlin.org>
Steven Bosscher <stevenb.gcc@gmail.com>
* Makefile.in (tree-ssanames.o): Remove gt-tree-ssanames.h,
since it no longer exists.
........
r119324 | jsm28 | 2006-11-29 09:33:59 -0800 (Wed, 29 Nov 2006) | 8 lines
* config/rs6000/predicates.md (gpc_reg_operand): Check
invalid_e500_subreg.
* config/rs6000/rs6000.c (invalid_e500_subreg): Don't allow any
SImode subregs of SPE vectors.
* config/rs6000/rs6000.md (insv): Fail for invalid E500 subregs.
* jump.c (true_regnum): Require subregs to satisfy
subreg_offset_representable_p.
........
r119328 | dorit | 2006-11-29 10:24:14 -0800 (Wed, 29 Nov 2006) | 30 lines
2006-11-29 Tehila Meyzels <tehila@il.ibm.com>
* haifa-sched.c: Remove define LINE_NOTE(INSN).
Remove line_note_head.
Update documentation.
(associate_line_notes_with_blocks): Kill.
(extend_bb): Remove basic block argument, put void instead.
Remove line number handling for each bb.
(save_line_notes): Kill.
(restore_line_notes): Kill.
(sched_init): Remove line_note_head initialization.
Change extend_bb call.
(sched_finish): Remove free of line_note_head.
(add_block): Change extend_bb call.
* sched-ebb.c (schedule_ebb): Remove save_line_notes,
rm_line_notes and restore_line_notes calls.
(schedule_ebbs): Remove rm_redundant_line_notes.
* sched-int.h (struct haifa_insn_data): Remove line_note.
(save_line_notes): Remove declaration.
(restore_line_notes): Remove declaration.
* modulo-sched.c (loop_canon_p): Update debug info printing
by using insn locators instead of line note.
(sms_schedule): Update debug info printing, by using insn
locators instead of line note.
* sched-rgn.c (debug_dependencies): Remove handling of case
n>0 (line number), since it's a dead code.
(schedule_region): Remove save_line_notes and
restore_line_notes calls.
........
r119329 | janis | 2006-11-29 10:34:56 -0800 (Wed, 29 Nov 2006) | 9 lines
libdecnumber/
* decRound.c: Move declarations to new file, update comments.
* decRound.h: New file.
gcc/
* mklibgcc.in: Fix dependencies for dfp-bit.c.
* config/dfp-bit.h (CONTEXT_ROUND): Delete.
(DFP_INIT_ROUNDMODE): Define.
* config/dfp-bit.c: Replace CONTEXT_ROUND with DFP_INIT_ROUNDMODE.
........
r119330 | janis | 2006-11-29 10:36:55 -0800 (Wed, 29 Nov 2006) | 2 lines
* gcc.dg/dfp/convert-bfp.c: Skip long double conversions.
........
r119331 | janis | 2006-11-29 10:37:48 -0800 (Wed, 29 Nov 2006) | 2 lines
* gcc.dg/dfp/convert-int.c: Remove dg-do compile, fix comment.
........
r119333 | echristo | 2006-11-29 11:31:24 -0800 (Wed, 29 Nov 2006) | 4 lines
2006-11-29 Eric Christopher <echristo@apple.com>
* gcc.dg/tree-ssa/prefetch-3.c: Allow x86_64, but require ilp32.
........
r119334 | bkoz | 2006-11-29 12:59:22 -0800 (Wed, 29 Nov 2006) | 109 lines
2006-11-29 Benjamin Kosnik <bkoz@redhat.com>
* include/ext/throw_allocator.h: Consistent @file markup.
* include/ext/type_traits.h: Same.
* include/debug/hash_map: Same.
* include/debug/hash_multimap.h: Same.
* include/debug/set.h: Same.
* include/debug/hash_set.h: Same.
* include/debug/formatter.h: Same.
* include/debug/bitset: Same.
* include/debug/set: Same.
* include/debug/multiset.h: Same.
* include/debug/safe_sequence.h: Same.
* include/debug/hash_set: Same.
* include/debug/functions.h: Same.
* include/debug/safe_base.h: Same.
* include/debug/hash_multiset.h: Same.
* include/debug/safe_iterator.tcc: Same.
* include/debug/vector: Same.
* include/debug/map.h: Same.
* include/debug/deque: Same.
* include/debug/hash_map.h: Same.
* include/debug/string: Same.
* include/debug/macros.h: Same.
* include/debug/list: Same.
* include/debug/debug.h: Same.
* include/debug/map: Same.
* include/debug/safe_iterator.h: Same.
* include/debug/multimap.h: Same.
* config/cpu/generic/atomicity_mutex/atomicity.h: Same.
* config/cpu/generic/atomicity_builtins/atomicity.h: Same.
* config/cpu/generic/atomic_word.h: Same.
* include/tr1/memory: Same.
* include/tr1/random: Same.
* include/std/std_queue.h: Same.
* include/std/std_iterator.h: Same.
* include/std/std_bitset.h: Same.
* include/std/std_set.h: Same.
* include/std/std_vector.h: Same.
* include/std/std_deque.h: Same.
* include/std/std_utility.h: Same.
* include/std/std_stack.h: Same.
* include/std/std_string.h: Same.
* include/std/std_list.h: Same.
* include/std/std_map.h: Same.
* libsupc++/typeinfo: Same.
* libsupc++/exception: Same.
* libsupc++/exception_defines.h: Same.
* libsupc++/new: Same.
* include/ext/bitmap_allocator.h: Change namespace __balloc to
__detail.
* src/bitmap_allocator.cc: Same.
* include/bits/cpp_type_traits.h: Change __true_type and
__false_type from global to namespace std scope.
* include/ext/slist: Same.
* include/ext/vstring.h: Same.
* include/ext/vstring.tcc: Same.
* include/ext/rc_string_base.h: Same.
* include/ext/sso_string_base.h: Same.
* include/bits/codecvt.h: Adjust markup so that correct namespace
scope information is in all files.
* include/bits/locale_facets.h: Same. Include ctype_base directly.
* config/os/windiss/ctype_base.h: Add in namespace markup.
* config/os/newlib/ctype_base.h: Same.
* config/os/aix/ctype_base.h: Same.
* config/os/vxworks/ctype_base.h: Same.
* config/os/hpux/ctype_base.h: Same.
* config/os/mingw32/ctype_base.h: Same.
* config/os/gnu-linux/ctype_base.h: Same.
* config/os/tpf/ctype_base.h: Same.
* config/os/uclibc/ctype_base.h: Same.
* config/os/djgpp/ctype_base.h: Same.
* config/os/qnx/qnx6.1/ctype_base.h: Same.
* config/os/bsd/netbsd/ctype_base.h: Same.
* config/os/bsd/darwin/ctype_base.h: Same.
* config/os/bsd/freebsd/ctype_base.h: Same.
* config/os/irix/irix5.2/ctype_base.h: Same.
* config/os/irix/irix6.5/ctype_base.h: Same.
* config/os/solaris/solaris2.5/ctype_base.h: Same.
* config/os/solaris/solaris2.6/ctype_base.h: Same.
* config/os/solaris/solaris2.7/ctype_base.h: Same.
* config/os/generic/ctype_base.h: Same.
* include/tr1/mu_iterate.h: Same.
* include/tr1/tuple: Same.
* include/tr1/tuple_iterate.h: Same.
* include/tr1/tuple_defs.h: Same.
* include/tr1/random.tcc: Same.
* include/tr1/functional: Same.
* include/tr1/functional_iterate.h: Same.
* testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Line
number changes.
* testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
* testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
* testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
* docs/doxygen/user.cfg.in: Update to doxygen 1.5.1.
* docs/html/17_intro/license.html: Updated info for generated docs.
* docs/doxygen/guide.html: Adjust.
* docs/doxygen/run_doxygen: Adjust.
* docs/doxygen/mainpage.html: Same.
* docs/doxygen/doxygroups.cc: Same.
* docs/doxygen/Intro.3: Same.
* docs/doxygen/tables.html: Same.
........
r119335 | janis | 2006-11-29 15:11:01 -0800 (Wed, 29 Nov 2006) | 2 lines
* dfp-bit.c (DFP_TO_INT): Fix rounding mode.
........
r119338 | jsm28 | 2006-11-29 16:12:49 -0800 (Wed, 29 Nov 2006) | 3 lines
* gcc.dg/vect/vect.exp: Skip PowerPC targets not supporting
-maltivec.
........
r119345 | gccadmin | 2006-11-29 16:17:59 -0800 (Wed, 29 Nov 2006) | 1 line
Daily bump.
........
r119348 | pinskia | 2006-11-29 17:05:58 -0800 (Wed, 29 Nov 2006) | 13 lines
2006-11-29 Andrew Pinski <andrew_pinski@playstation.sony.com>
* config/spu/spu.md (extend_compare<mode>): New pattern.
(extend_compare): Change to expand and use the above pattern.
2006-11-29 Andrew Pinski <andrew_pinski@playstation.sony.com>
* gcc.c-torture/compile/pr29945.c: New testcase.
........
r119350 | pinskia | 2006-11-29 17:19:00 -0800 (Wed, 29 Nov 2006) | 6 lines
2006-11-29 Andrew Pinski <andrew_pinski@playstation.sony.com>
* config/spu/spu.md (extend_compare): Fix whitespace formatting.
........
r119353 | kkojima | 2006-11-29 19:13:29 -0800 (Wed, 29 Nov 2006) | 4 lines
* emit-rtl.c (verify_rtl_sharing): Handle SEQUENCE specially
when clearing the used flags.
........
r119354 | pinskia | 2006-11-29 19:37:34 -0800 (Wed, 29 Nov 2006) | 6 lines
2006-11-29 Andrew Pinski <andrew_pinski@playstation.sony.com>
* config/spu/crt0.c (__dso_handle): Define.
........
r119355 | uros | 2006-11-29 22:47:24 -0800 (Wed, 29 Nov 2006) | 10 lines
* config/i386/i386.md (movsf_1): Enable pattern for standard
80387 constants before reload when optimizing for size.
(*movdf_nointeger, *movdf_integer): Ditto.
(*movxf_nointeger, *movxf_integer): Disable patterns for standard
80387 constants before reload when not optimizing for size.
(*fop_xf_4_i387, *fop_xf_5_i387, *fop_xf_6_i387): Avoid float
extension of XFmode input operands.
........
r119356 | uros | 2006-11-29 22:54:47 -0800 (Wed, 29 Nov 2006) | 10 lines
* config/i386/i386.md (*truncxfsf2_mixed, *truncxfdf2_mixed): Enable
insn patterns for TARGET_80387.
(*truncxfsf2_i387, *truncxfdf2_i387): Remove.
(*truncxfsf2_i387_1): Rename to *truncxfsf2_i387.
(*truncxfdf2_i387_1): Rename to *truncxfdf2_i387.
(fmod<mode>3, remainder<mode>3): Enable expaders for SSE math.
Generate truncxf<mode>2 insn patterns for strict SSE math.
........
r119357 | steven | 2006-11-29 23:22:04 -0800 (Wed, 29 Nov 2006) | 10 lines
* cgraphunit.c (cgraph_finalize_compilation_unit): Add a newline
at the end of a diagnostics message.
* alloc-pool.c (pool_free): Postpone clearing the pool entry
until after asserting that it was allocated in the right pool.
* cfgrtl.c (print_rtl_with_bb): Print predecessor and
successor edge information as well. Make output of live regs
on exit consistent with live regs on entry.
........
r119358 | steven | 2006-11-29 23:24:03 -0800 (Wed, 29 Nov 2006) | 3 lines
* cselib.c (cselib_init): Use special MEM rtx form for callmem.
* alias.c (canon_true_dependence): Update comment.
........
r119360 | uros | 2006-11-30 02:57:34 -0800 (Thu, 30 Nov 2006) | 7 lines
* config/i386/i386.md (R10_REG): New constant.
* config/i386/i386.c (pro_epilogue_adjust_stack): Use R11_REG.
(ix86_emit_restore_regs_using_mov): Ditto.
(ix86_expand_call): Ditto.
(x86_output_mi_thunk): Ditto. Also use R10_REG.
........
r119362 | rguenth | 2006-11-30 06:30:00 -0800 (Thu, 30 Nov 2006) | 13 lines
2006-11-30 Richard Guenther <rguenther@suse.de>
* tree-vectorizer.h (vectorizable_function): Export.
* tree-vect-transform.c (vectorizable_function): Likewise.
* tree-vect-patterns.c (vect_recog_pow_pattern): Set
type_in to scalar type in recognition of squaring.
Make sure the target can vectorize sqrt in recognition
of sqrt, set type_in to vector type in this case.
* gcc.dg/vect/vect-pow-1.c: Rename ...
* gcc.dg/vect/fast-math-vect-pow-1.c: ... to this. Use
floats instead of doubles, check successful vectorization.
........
r119363 | hubicka | 2006-11-30 07:30:01 -0800 (Thu, 30 Nov 2006) | 19 lines
* tree-ssa-operands.h (struct ssa_operands): New.
* tree-flow-inline.h (gimple_ssa_operands): New function.
* tree-flow.h: (struct gimple_df): Add ssa_operands.
* Makefile.in: Remove gt-tree-ssa-operands.h
* tree-ssa-operands.c: Do not include gt-tree-ssa-operands.h
(free_defs, free_uses, free_vuses, free_maydefs, free_mustdefs,
operand_memory, operand_memory_index, ops_active): Remove statics.
(ALLOC_OPTYPE): Update.
(operand_build_sort_virtual): Update.
(ssa_operands_active): Update.
(init_ssa_operands): Update.
(fini_ssa_operands): Update.
(ssa_operand_alloc): Update.
(INITIALIZE_USE): Update.
(finalize_ssa_use_ops): Update.
(finalize_ssa_v_may_def_ops): Update.
(finalize_ssa_vuse_ops): Update.
(finalize_ssa_v_must_def_ops): Update.
........
r119366 | amylaar | 2006-11-30 09:05:45 -0800 (Thu, 30 Nov 2006) | 18 lines
include:
2006-05-03 Andrew Stubbs <andrew.stubbs@st.com>
J"orn Rennecke <joern.rennecke@st.com>
* libiberty.h (make_relative_prefix_ignore_links): Declare.
libiberty:
2006-05-03 Andrew Stubbs <andrew.stubbs@st.com>
J"orn Rennecke <joern.rennecke@st.com>
* make-relative-prefix.c (make_relative_prefix_1): New function,
broken out of make_relative_prefix. Make link resolution dependent
on new parameter.
(make_relative_prefix): Use make_relative_prefix_1.
(make_relative_prefix_ignore_links): New function.
........
r119368 | janis | 2006-11-30 09:58:03 -0800 (Thu, 30 Nov 2006) | 6 lines
gcc/
* config/dfp-bit.c (DFP_TO_INT): Use wider precision.
testsuite/
* gcc.dg/dfp/convert-int-max.c: New test.
* gcc.dg/dfp/convert-int-max-fold.c: New test.
........
r119374 | carlos | 2006-11-30 11:25:08 -0800 (Thu, 30 Nov 2006) | 10 lines
gcc/
2006-11-30 Carlos O'Donell <carlos@codesourcery.com>
* doc/tm.texi (MAX_OFILE_ALIGNMENT): Document default.
* config/elfos.h [!MAX_OFILE_ALIGNMENT] (MAX_OFILE_ALIGNMENT):
Default is the largest alignment supported for 32-bit ELF and
representable on a 32-bit host.
........
r119375 | hubicka | 2006-11-30 11:36:02 -0800 (Thu, 30 Nov 2006) | 4 lines
* builtins.c (fold_builtin_memory_op): Fix typo in the check for
memmove/bcopy->memcpy conversion.
........
r119378 | amacleod | 2006-11-30 13:36:32 -0800 (Thu, 30 Nov 2006) | 25 lines
Implement coalesce list with hash table instead of linked list.
* tree-ssa-live.c (create_coalesce_list): Create a hash table.
(COALESCE_HASH_FN): New. Define hash function.
(partition_pair_map_hash): New. Hash value for a partition pair.
(partition_pair_map_eq): New. Equality for hash pairs.
(create_coalesce_list): Create hash table.
(delete_coalesce_list): Free hash table.
(find_partition_pair): Find/create pairs in hash table.
(compare_pairs): Sort pairs in ascending order now.
(num_coalesce_pairs): New. Number of pairs in hash table.
(struct partition_pair_iterator): Iterator struct for pair table.
(first_partition_pair): Iterator function for first pair.
(end_partition_pair_p): Iterator function for end of iteration.
(next_partition_pair): Iterator function for next pair.
(FOR_EACH_PARTITION_PAIR): Macro for iterating over pairs.
(sort_coalesce_list): Sort pairs from hash table into an array.
(pop_best_coalesce): Take pairs from the array.
(dump_coalesce_list): Update to use hash table or sorted array.
* tree-ssa-live.h (struct partition_pair_d): Remove next field.
(struct coalesce_list_d): Add hash table related fields.
........
r119379 | geoffk | 2006-11-30 13:53:57 -0800 (Thu, 30 Nov 2006) | 3 lines
* rtti.c (get_tinfo_decl): Handle return value from
pushdecl_top_level_and_finish.
........
r119380 | rsandifo | 2006-11-30 13:54:20 -0800 (Thu, 30 Nov 2006) | 4 lines
gcc/
* simplify-rtx.c (simplify_rtx): Use simplify_subreg rather than
simplify_gen_subreg.
........
r119382 | mueller | 2006-11-30 15:08:27 -0800 (Thu, 30 Nov 2006) | 11 lines
2006-12-01 Dirk Mueller <dmueller@suse.de>
* decl.c (grokdeclarator): Warn for type qualifiers on return
type for non-dependent types.
* pt.c (tsubst_function_type): Warn for type qualifiers on
return type for dependent types.
* g++.dg/warn/Wreturn-type-4.C: New testcase.
........
r119388 | gccadmin | 2006-11-30 16:17:52 -0800 (Thu, 30 Nov 2006) | 1 line
Daily bump.
........
r119390 | hjl | 2006-11-30 16:29:08 -0800 (Thu, 30 Nov 2006) | 19 lines
2006-11-30 H.J. Lu <hongjiu.lu@intel.com>
* gcc.dg/i386-cpuid.h (bit_SSE3): New.
(i386_get_cpuid): New function.
(i386_cpuid_ecx): Likewise.
(i386_cpuid_edx): Likewise.
(i386_cpuid): Updated to call i386_cpuid_edx.
* gcc.target/i386/sse3-addsubpd.c: New file.
* gcc.target/i386/sse3-addsubps.c: Likewise.
* gcc.target/i386/sse3-haddpd.c: Likewise.
* gcc.target/i386/sse3-haddps.c: Likewise.
* gcc.target/i386/sse3-hsubpd.c: Likewise.
* gcc.target/i386/sse3-hsubps.c: Likewise.
* gcc.target/i386/sse3-lddqu.c: Likewise.
* gcc.target/i386/sse3-movddup.c: Likewise.
* gcc.target/i386/sse3-movshdup.c: Likewise.
* gcc.target/i386/sse3-movsldup.c: Likewise.
........
r119395 | jsm28 | 2006-11-30 18:25:22 -0800 (Thu, 30 Nov 2006) | 24 lines
2006-12-01 Joseph Myers <joseph@codesourcery.com>
David Edelsohn <edelsohn@gnu.org>
* doc/tm.texi (HARD_REGNO_NREGS_HAS_PADDING,
HARD_REGNO_NREGS_WITH_PADDING): Document new target macros.
* defaults.h (HARD_REGNO_NREGS_HAS_PADDING,
HARD_REGNO_NREGS_WITH_PADDING): Define.
* config/i386/i386.h (HARD_REGNO_NREGS_HAS_PADDING,
HARD_REGNO_NREGS_WITH_PADDING): Define.
* rtlanal.c (subreg_regno_offset, subreg_offset_representable_p):
Use new macros to detect modes with holes; do not look at integer
units.
(subreg_offset_representable_p): Check for and disallow cases
where the modes use different numbers of bits from registers.
* config/rs6000/rs6000.c (rs6000_emit_move): Handle TFmode
constant for soft-float.
(rs6000_hard_regno_nregs): Use UNITS_PER_FP_WORD for e500 GPRs
containing doubles.
(rs6000_split_multireg_move): Use DFmode reg_mode for TFmode moves
in E500 double case.
* config/rs6000/rs6000.md (movtf): Allow soft-float.
(movtf_softfloat): New.
........
r119397 | pinskia | 2006-11-30 18:38:47 -0800 (Thu, 30 Nov 2006) | 23 lines
2006-11-30 Andrew Pinski <andrew_pinski@playstation.sony.com>
* config/spu/spu.c (spu_builtin_range): Move from spu-c.c
(TARGET_RESOLVE_OVERLOADED_BUILTIN): Delete.
(spu_cpu_cpp_builtins): Remove.
(spu_override_options): Don't set warn_main.
(spu_force_reg): Move from spu-c.c.
(spu_check_builtin_parm): Likewise.
(expand_builtin_args): Likewise.
(spu_expand_builtin_1): Likewise.
(spu_expand_builtin): Likewise.
* config/spu/spu.h (REGISTER_TARGET_PRAGMAS): Define, set
warn_main and targetm.resolve_overloaded_builtin.
* config/spu/spu-c.c (spu_builtin_range): Remove.
(spu_check_builtin_parm): Remove.
(expand_builtin_args): Remove.
(spu_expand_builtin_1): Remove.
(spu_expand_builtin): Remove.
(spu_cpu_cpp_builtins): Moved from spu.c
(spu_force_reg): Remove.
........
r119401 | hjl | 2006-12-01 06:49:15 -0800 (Fri, 01 Dec 2006) | 12 lines
2006-12-01 Zdenek Dvorak <dvorakz@suse.cz>
* tree-ssa-ccp.c (canonicalize_float_value): New function.
(set_lattice_value): Use canonicalize_float_value.
2006-12-01 H.J. Lu <hongjiu.lu@intel.com>
Zdenek Dvorak <dvorakz@suse.cz>
* gcc.dg/pr29921-2.c: New test.
........
r119402 | bernds | 2006-12-01 07:49:55 -0800 (Fri, 01 Dec 2006) | 4 lines
* config/bfin/bfin.c (bfin_valid_add): Fix the logic that ensures
multiword accesses are in range.
........
r119403 | paolo | 2006-12-01 07:55:11 -0800 (Fri, 01 Dec 2006) | 11 lines
2006-12-01 Ryan Mansfield <rmansfield@qnx.com>
* typeck.c (build_binary_op): Fix pointer to member function
comparison for ptrmemfunc_vbit_in_delta targets.
2006-12-01 Ryan Mansfield <rmansfield@qnx.com>
* g++.dg/expr/pr29066.c: New.
........
r119404 | rguenth | 2006-12-01 08:37:38 -0800 (Fri, 01 Dec 2006) | 6 lines
2006-12-01 Richard Guenther <rguenther@suse.de>
* dwarf2out.c (struct pubname_struct): Make name const.
(add_pubtype): Do not xstrdup identifiers.
........
r119408 | bernds | 2006-12-01 09:53:42 -0800 (Fri, 01 Dec 2006) | 4 lines
* config/bfin/bfin.md (pushsi_insn, popsi_insn): Set correct addrtype
attribute.
........
r119409 | amacleod | 2006-12-01 11:53:29 -0800 (Fri, 01 Dec 2006) | 28 lines
* common.opt (ftree-combine-temps): Remove.
* tree-outof-ssa.c (SSANORM_COMBINE_TEMPS): Remove.
(coalesce_ssa_name): Don't check for combine-temps.
(coalesce_vars): Remove.
(check_replaceable): Use num_imm_uses.
(remove_ssa_form, insert_backedge_copies, rewrite_out_of_ssa): Don't
check for combine-temps.
(rewrite_out_of_ssa): Never create a ref_count in the var_map.
* tree-ssa-copyrename.c (copy_rename_partition_coalesce): Change parms
to register_ssa_partition calls.
* tree-ssa-live.c (register_ssa_partition): Remove prototype.
(init_var_map, delete_var_map): remove refernces to ref_count.
(create_ssa_var_map): Never calculate a ref count.
(type_var_init): Remove.
* tree-ssa-live.h (typedef struct _var_map): Remove ref_count.
(SSA_VAR_MAP_REF_COUNT): Delete.
(create_ssa_var_map): Change Prototype to have no parameters.
(version_ref_count): Delete.
(register_ssa_partition): Remove 'is_use' paramater and don't set the
ref_count vector.
(type_var_num, type_var, type_var_first_partition,
type_var_next_partition, type_var_dump, type_var_delete,
type_var_remove_partition, type_var_find, type_var_compact,
type_var_decompact): Remove.
* gcc.dg/max-1.c: Remove reference to -fno-tree-lrs option.
........
r119412 | tkoenig | 2006-12-01 13:04:38 -0800 (Fri, 01 Dec 2006) | 70 lines
2006-12-01 Thomas Koenig <Thomas.Koenig@online.de>
* gfortran.dg/convert_implied_open.f90: Change to
new default record length.
* gfortran.dg/unf_short_record_1.f90: Adapt to
new error message.
* gfortran.dg/unformatted_subrecords_1.f90: New test.
2006-12-01 Thomas Koenig <Thomas.Koenig@online.de>
* gfortran.h (gfc_option_t): Add max_subrecord_length.
(top level): Define MAX_SUBRECORD_LENGTH.
* lang.opt: Add option -fmax-subrecord-length=.
* trans-decl.c: Add new function set_max_subrecord_length.
(gfc_generate_function_code): If we are within the main
program and max_subrecord_length has been set, call
set_max_subrecord_length.
* options.c (gfc_init_options): Add defaults for
max_subrecord_lenght, convert and record_marker.
(gfc_handle_option): Add handling for
-fmax_subrecord_length.
* invoke.texi: Document the new default for
-frecord-marker=<n>.
2006-12-01 Thomas Koenig <Thomas.Koenig@online.de>
* libgfortran/libgfortran.h (compile_options_t): Add
record_marker. (top level): Define GFC_MAX_SUBRECORD_LENGTH.
* runtime/compile_options.c (set_record_marker): Change
default to four-byte record marker.
(set_max_subrecord_length): New function.
* runtime/error.c (translate_error): Change error message
for short record on unformatted read.
* io/io.h (gfc_unit): Add recl_subrecord, bytes_left_subrecord
and continued.
* io/file_pos.c (unformatted_backspace): Change default of record
marker size to four bytes. Loop over subrecords.
* io/open.c: Default recl is max_offset. If
compile_options.max_subrecord_length has been set, set set
u->recl_subrecord to its value, to the maximum value otherwise.
* io/transfer.c (top level): Add prototypes for us_read, us_write,
next_record_r_unf and next_record_w_unf.
(read_block_direct): Separate codepaths for unformatted direct
and unformatted sequential. If a recl has been set by the
user, use the number of bytes left for the record if it is smaller
than the read request. Loop over subrecords. Set an error if the
user has set a recl and the read was short.
(write_buf): Separate codepaths for unformatted direct and
unformatted sequential. If a recl has been set by the
user, use the number of bytes left for the record if it is smaller
than the read request. Loop over subrecords. Set an error if the
user has set a recl and the read was short.
(us_read): Add parameter continued (to indicate that bytes_left
should not be intialized). Change default of record marker size
to four bytes. Use subrecord. If the subrecord length is smaller than
zero, this indicates a continuation.
(us_write): Add parameter continued (to indicate that the continued
flag should be set). Use subrecord.
(pre_position): Use 0 for continued on us_write and us_read calls.
(skip_record): New function.
(next_record_r_unf): New function.
(next_record_r): Use next_record_r_unf.
(write_us_marker): Default size for record markers is four bytes.
(next_record_w_unf): New function.
(next_record_w): Use next_record_w_unf.
........
r119415 | reichelt | 2006-12-01 13:28:35 -0800 (Fri, 01 Dec 2006) | 5 lines
* c-common.c (check_main_parameter_types): Check for error_mark_node.
* g++.dg/other/main1.C: New test.
........
r119416 | reichelt | 2006-12-01 13:35:25 -0800 (Fri, 01 Dec 2006) | 7 lines
* typeck.c (type_after_usual_arithmetic_conversions):
Fix assertion for vector types.
(build_binary_op): Use temporary for inner type of vector types.
* g++.dg/ext/vector5.C: New test.
........
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/fixed-point@119428 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* include/libiberty.h: Declare pex_run_in_environment.
libiberty:
* pex-common.c: New function pex_run_in_environment.
* pex-common.h: Add environment parameter to exec_child.
* pex-msdos.c: Add environment parameter to pex_msdos_exec_child.
* pex-djgpp.c: Add environment parameter to pex_djgpp_exec_child.
(pex_djgpp_exec_child): Pass environment to child process.
* pex-unix.c: Add environment parameter to pex_unix_exec_child.
(pex_unix_exec_child): Pass environment to child process.
* pex-win32.c: Add environment parameter to pex_win32_exec_child.
New function env_compare for comparing VAR=VALUE pairs.
(win32_spawn): Assemble environment block and pass to CreateProcess.
(spawn_script): Pass environment through to win32_spawn.
(pex_win32_exec_child): Pass environment through to spawn_script and
win32_spawn.
* functions.texi: Regenerate.
* pexecute.txh: Document pex_run_in_environment.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@114302 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2006-03-29 Jim Blandy <jimb@codesourcery.com>
* pex-common.c (pex_input_file, pex_input_pipe): New functions.
(pex_init_common): Initialize obj->input_file.
(pex_run): Close any file opened by pex_input_file.
* pexecute.txh (pex_input_file, pex_input_pipe): New docs.
* pex-common.h (struct pex_obj): New field input_file.
(struct pex_funcs): New function ptr fdopenw.
* pex-unix.c (pex_unix_fdopenw): New function.
(funcs): List it as our fdopenw function.
* pex-win32.c (pex_win32_fdopenw): New function.
(funcs): List it as our fdopenw function.
* pex-djgpp.c (funcs): Leave fdopenw null.
* pex-msdos (funcs): Same.
* functions.texi: Regenerated.
src/include/ChangeLog:
2006-04-10 Jim Blandy <jimb@codesourcery.com>
* libiberty.h (pex_input_file, pex_input_pipe): New declarations.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@112883 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@109910 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* xtensa-config.h (XCHAL_HAVE_MUL32_HIGH): Define.
gcc:
* config/xtensa/ieee754-df.S: New file.
* config/xtensa/ieee754-sf.S: New file.
* config/xtensa/t-xtensa (LIB2FUNCS_EXTRA): Remove fp-bit.c & dp-bit.c.
(LIB1ASMFUNCS): Add SFmode and DFmode floating-point functions.
* config/xtensa/lib1funcs.asm: Include ieee754-df.S and ieee754-sf.S.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@109518 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* xtensa-config.h (XCHAL_HAVE_WIDE_BRANCHES): New.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@109191 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@108374 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* floatformat.c (floatformat_vax_aingle, floatformat_vax_double):
New variables.
* floatformat.h (enum floatformat_byteorders): Add
floatformat_vax.
(floatformat_vax_aingle, floatformat_vax_double): Declare.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@106281 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* argv.c (safe-ctype.h): Include it.
(ISBLANK): Remove.
(stdio.h): Include.
(buildargv): Use ISSPACE instead of ISBLANK.
(expandargv): New function.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@104664 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* floatformat.c (floatformat_always_valid): Change type of last
argument to `void *'.
(floatformat_i387_ext_is_valid): Likewise.
(floatformat_to_double): Change type of second argument to `const
void *'.
(floatformat_from_double): Change type of last argument to `void
*'.
(floatformat_is_valid): Change type of last argument to `const
void *'.
(ieee_test): Remove redundant casts.
[include]
* floatformat.h (struct floatformat): Change type of large
argument for is_valid member to `const void *'.
(floatformat_to_double): Change type of second argument to `const
void *'.
(floatformat_from_double): Change type of last argument to `void
*'.
(floatformat_is_valid): Change type of last argument to `const
void *'.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@103218 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
when compiling with GNU C.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@101910 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* ansidecl.h (ATTRIBUTE_ALIGNED_ALIGNOF): New.
* md5.h (md5_uintptr): New.
(md5_ctx): Align buffer field.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@101556 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* tree-complex.c (complex_variable_components): Now a hashtable.
(cvc_lookup): Ditto.
(cvc_insert): Ditto.
(create_components): Use referenced var iterator.
Initialize hashtable. Use cvc_insert/lookup.
(extract_components): Use cvc_insert/lookup.
(update_complex_components): Ditto.
(update_complex_components_on_edge): Ditto.
* tree-dfa.c (referenced_vars): Now a hashtable.
(dump_referenced_vars): Use iterator.
(referenced_var_lookup): New function.
(referenced_var_insert): Ditto.
(add_referenced_var): Use referenced_var_insert.
(mark_new_vars_to_rename): Use DECL_UID.
* tree-flow-inline.h (first_htab_element): New function.
(end_htab_p): Ditto.
(next_htab_element): Ditto.
(first_referenced_var): Ditto.
(end_referenced_vars_p): Ditto.
(next_referenced_var): Ditto.
(is_call_clobbered): Use DECL_UID.
(mark_call_clobbered): Ditto.
(clear_call_clobbered): Ditto.
(mark_non_addressable): Ditto.
* tree-flow.h (htab_iterator): New struct.
(FOR_EACH_HTAB_ELEMENT): New macro.
(struct int_tree_map): New struct.
(int_tree_map_hash): Prototype.
(int_tree_map_eq): Ditto.
(referenced_var_iterator): Ditto.
(FOR_EACH_REFERENCED_VAR): New macro.
(referenced_vars): Now a hashtable.
* tree-into-ssa.c (symbol_marked_for_renaming): Use DECL_UID.
(add_new_name_mapping): Ditto.
(mark_def_sites): Ditto.
(insert_phi_nodes): Use referenced_var iterator.
(mark_def_site_blocks): Ditto.
(mark_sym_for_renaming): Use DECL_UID.
* tree-sra.c (is_sra_candidate_decl): Use DECL_UID.
(lookup_element): Ditto.
(find_candidates_for_sra): Use referenced_vars iterator.
Use DECL_UID.
* tree-ssa-alias.c (NUM_REFERENCES): New macro.
(NUM_REFERENCES_CLEAR): Ditto.
(NUM_REFERENCES_INC): Ditto.
(NUM_REFERENCES_SET): Ditto.
(alias_obstack): New bitmap obstack.
(struct alias_map_d): Use bitmap, not sbitmap.
(struct alias_info): Remove num_references.
(init_alias_info): Use referenced_var iterator.
Initialize bitmap obstack.
(delete_alias_info): Use referenced_var iterator.
Free bitmap obstack.
(compute_points_to_and_addr_escape): Use DECL_UID.
Use new NUM_REFERENCES macros.
(compute_flow_sensitive_aliasing): may_aliases is now a bitmap.
Use new NUM_REFERENCES macros.
(group_aliases_into): Update prototype to use bitmap.
(setup_pointers_and_addressables): Use referenced_vars iterator.
Use DECL_UID. Use new NUM_REFERENCES macros.
(add_pointed_to_var): Use DECL_UID.
(dump_alias_info): Use referenced_var iterator.
(add_type_alias): Ditto.
(used_portions): Now a hashtable.
(used_part_map_eq): New function.
(used_part_map_hash): Ditto.
(free_used_part_map): Ditto.
(up_lookup): Ditto.
(up_insert): Ditto.
(get_or_create_used_part_for): Use up_lookup.
(create_overlap_variables_for): Ditto.
(find_used_portions): Use up_insert.
Use DECL_UID.
(create_structure_vars): Init used_portions hashtable, use
referenced_vars iterator.
* tree-ssa-live.c (create_ssa_var_map): sbitmaps became bitmaps.
Use DECL_UID.
* tree-ssa-loop-im.c (gather_mem_refs_stmt): Use DECL_UID.
* tree-ssa-operands.c (get_asm_expr_operands): Ditto.
(note_addressable): Ditto.
* tree-ssa-structalias.c (set_uids_in_ptset): Ditto.
* tree-ssa.c (verify_flow_insensitive_alias_info): Use
referenced_var iterator.
Use DECL_UID.
(delete_tree_ssa): Ditto.
(int_tree_map_eq): New function.
(int_tree_map_hash): Ditto.
* tree-stdarg.c (find_va_list_reference): Use DECL_UID.
(va_list_ptr_read): Ditto.
(va_list_counter_struct_op): Ditto.
(va_list_ptr_write): Ditto.
(check_va_list_escapes): Ditto.
(check_all_va_list_escapes): Ditto.
(execute_optimize_stdarg): Ditto.
* tree-tailcall.c (suitable_for_tail_opt_p): Used referenced_var
iterator.
2005-06-30 Daniel Berlin <dberlin@dberlin.org>
* hashtab.h (HTAB_DELETED_ENTRY): New macro.
(HTAB_EMPTY_ENTRY): New macro.
2005-06-30 Daniel Berlin <dberlin@dberlin.org>
* hashtab.c (EMPTY_ENTRY): Moved and renamed.
(DELETED_ENTRY): Ditto.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@101480 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2005-06-20 Geoffrey Keating <geoffk@apple.com>
* libiberty.h (strverscmp): Prototype.
Index: libiberty/ChangeLog
2005-06-20 Geoffrey Keating <geoffk@apple.com>
* strverscmp.c: New.
* Makefile.in (CFILES): Add strverscmp.c.
(CONFIGURED_OFILES): Add strverscmp.o.
(strverscmp.o): New rule.
(stamp-functions): Add $(srcdir) to files in source directory.
* configure.ac (funcs): Add strverscmp.
(AC_CHECK_FUNCS): Add strverscmp.
* configure: Regenerate.
* functions.texi: Regenerate.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@101226 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2005-06-06 Gabriel Dos Reis <gdr@integrable-solutions.net>
* libiberty.h (XOBFINISH): New.
gcc/
2005-06-06 Gabriel Dos Reis <gdr@integrable-solutions.net>
* c-lex.c (lex_string): Use XOBFINISH.
* collect2.c (extract_string, dump_file): Likewise.
* dbxout.c (dbxout_finish_complex_stabs): Likewise.
* gcc.c (init_spec, build_search_list, convert_filename,
set_collect_gcc_options, do_spec_2, do_spec_1, main):
* Likewise.
* genpreds.c (write_predicate_subfunction): Likewise.
* genflags.c (main): Likewise.
* read-rtl.c (mode_attr_index, apply_macro_to_string,
join_c_conditions, read_quoted_string, read_braced_string,
read_rtx_1): Likewise.
* stringpool.c (ggc_alloc_string): Likewise.
* tlink.c (obstack_fgets, recompile_files): Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@100678 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@100476 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@100334 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2005-05-28 Eli Zaretskii <eliz@gnu.org>
* libiberty.h: (snprintf) [!HAVE_DECL_SNPRINTF]: Declare if
needed.
(vsnprintf) [!HAVE_DECL_VSNPRINTF]: Declare if needed.
libiberty:
2005-05-28 Eli Zaretskii <eliz@gnu.org>
* configure.ac: Add snprintf and vsnprintf to AC_CHEK_DECLS.
* config.in, configure: Regenerate.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@100292 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* demangle.h (DEMANGLE_COMPONENT_HIDDEN_ALIAS): New.
libiberty/
* cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_HIDDEN_ALIAS.
(d_make_comp, d_print_comp): Likewise.
(d_special_name): Generate one.
* testsuite/demangle-expected: Add a hidden alias test.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@100174 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2005-05-24 Gabriel Dos Reis <gdr@integrable-solutions.net>
* libiberty.h (ACONCAT): Properly cast value of alloca().
* ansidecl.h (ATTRIBUTE_UNUSED_LABEL): Don't define if
__cplusplus.
libiberty/
2005-05-24 Gabriel Dos Reis <gdr@integrable-solutions.net>
* configure.ac: Check declarations for calloc(), getenv(),
malloc(), realloc() and sbrk().
* config.in: Regenerate.
* configure: Likewise.
* alloca.c (C_alloca): Change "new" to "new_storage". Use XNEWVEC
instead of xmalloc.
* choose-temp.c (choose_temp_base): Use XNEWVEC instea od xmalloc.
* concat.c (liiberty_concat_ptr): Surround definition with an
extern "C" block, if __cplusplus.
(concat): Use XNEWVEC instead of xmalloc.
(reconcat): Likewise.
* cp-demangle.c (struct d_print_template): Rename member
"template" to "template_decl". Adjust use throughout the file.
(d_print_resize): Properly cast return value of realloc().
(cplus_demangle_print): Same for malloc().
(d_demangle): Likewise.
* cp-demint.c (cplus_demangle_fill_builtin_type): Rename parameter
"typename" to "type_name".
* cplus-dem.c (grow_vect): Use XRESIZEVEC instead of xrealloc().
(work_stuff_copy_to_from): Use XNEWVEC insteand of xmalloc().
(demangle_template_value_parm): Likewise.
(demangle_template): Likewise.
(recursively_demangle): Likewise.
(do_hpacc_template_literal): Likewise.
(do_arg): Likewise.
(remember_type): Likewise.
(remember_Ktype): Likewise.
(register_Btype): Likewise.
(string_need): Use XRESIZEVEC instead of xrealloc().
* dyn-string.c (dyn_string_init): Use XNEWVEC.
(dyn_string_new): Use XNEW.
(dyn_string_resize): Use XRESIZEVEC.
* fnmatch.c (fnmatch): Rename local variable "not" to "negate".
* getopt.c (getenv): Declare only if !__cplusplus and !getenv.
Otherwise include <stdlib.h>.
(exchange): Cast return value of malloc().
* hashtab.c (htab_size): Define as both macro and non-inline
function.
(htab_elements): Likewise.
* getpwd.c (getpwd): Use XNEWVEC.
(htab_create_alloc_ex): Use C90 prototype-style.
* lrealpath.c (lrealpath): Appropriately cast return value of
malloc().
* make-relative-prefix.c (save_string): Likewise.
* make-temp-file.c (try_dir): Rename from "try". Adjust use in
the file.
(choose_tmpdir): Use XNEWVEC.
* mkstemps.c (mkstemps): Rename parameter "template" to "pattern".
* pex-common.c (pex_init_common): Use XNEW.
(pex_add_remove): Use XRESIZEVEC.
(pex_run): Likewise.
(pex_get_status_and_time): Likewise.
* pex-djgpp.c (pex_djgpp_exec_child): Likewise.
* pex-msdos.c (pex_init): Use XNEW.
(pex_msdos_exec_child): Likewise.
(pex_msdos_exec_child): Use XRESIZEVEC.
* pex-unix.c (pex_wait): Use XNEW.
* pex-win32.c (fix_argv): Use XNEWVEC.
* pexecute.c (pwait): Likewise.
* setenv.c (setenv): Properly cast return value of malloc().
* sigsetmask.c (sigsetmask): Rename local variables "old" and
"new" to "old_sig" and "new_sig".
* sort.c (main): Use XNEWVEC.
* spaces.c (spaces): Cast return value of malloc().
* strndup.c (strndup): Likewise.
* ternary.c (ternary_insert): Use XNEW.
* xmalloc.c (malloc, realloc, calloc, sbrk): Surround declaration
with an extern "C" block if __cplusplus.
* xstrdup.c (xstrdup): Cast return value of memcpy().
* xstrerror.c (strerror): Enclose declaration in an extern "C"
block if __cplusplus.
* xstrndup.c (xstrndup): Use XNEW. Cast return value of memcpy().
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@100115 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@99626 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@99518 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* libiberty.h (unlock_std_streams): New.
libiberty:
* fopen_unlocked.c (unlock_std_streams): New.
* functions.texi: Regenerate.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@98746 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Don't use the PTR macro.
* sort.h: Don't use the PARAMS macro.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@98416 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* libiberty.h (unlock_stream): New.
libiberty:
* fopen_unlocked.c (unlock_stream): New.
Consolidate unlocking code into a helper function.
* functions.texi: Regenerate.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@98234 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Remove parameter names.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@98121 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* libiberty.h (fopen_unlocked, fdopen_unlocked, freopen_unlocked):
Provide prototypes for new functions.
libiberty:
* Makefile.in (CFILES): Add fopen_unlocked.c.
(REQUIRED_OFILES): Add ./fopen_unlocked.o.
Regenerate dependencies.
* configure.ac: Check for stdio_ext.h and __fsetlocking.
* fopen_unlocked.c: New file.
* functions.texi, configure, config.in: Regenerate.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@97977 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@97196 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* pex-common.c: New file.
* pex-one.c: New file.
* pexecute.c: New file.
* pex-common.h: Include <stdio.h>.
(struct pex_obj): Define.
(struct pex_funcs): Define.
(pex_init_common): Declare.
* pex-unix.c: Rewrite.
* pex-win32.c: Rewrite.
* pex-djgpp.c: Rewrite.
* pex-msdos.c: Rewrite.
* testsuite/text-pexecute.c: New file.
* pexecute.txh: Rewrite.
* configure.ac: Check for wait3 and wait4. Set CHECK to
really-check rather than check-cplus-dem.
* functions.texi: Rebuild.
* Makefile.in: Rebuild dependencies.
(CFILES): Add pexecute.c, pex-common.c, pex-one.c.
(REQUIRED_OFILES): Add pexecute.o, pex-common.o, pex-one.o.
* testsuite/Makefile.in (really-check): New target.
(check-pexecute, test-pexecute): New targets.
* configure: Rebuild.
include:
* libiberty.h: Include <stdio.h>.
(PEX_RECORD_TIMES, PEX_USE_PIPES, PEX_SAVE_TEMPS): Define.
(PEX_LAST, PEX_SEARCH, PEX_SUFFIX, PEX_STDERR_TO_STDOUT): Define.
(PEX_BINARY_INPUT, PEX_BINARY_OUTPUT): Define.
(pex_init, pex_run, pex_read_output): Declare.
(pex_get_status, pex_get_times, pex_free, pex_one): Declare.
(struct pex_time): Define.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@97148 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@97147 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
* xregex2.h (_RE_ARGS): Remove definition and uses.
libiberty/
2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
Convert libiberty to use ISO C prototype style 7/n.
* regex.c (PARAMS): Remove definition.
(PREFIX): Unconditionaly define using ISO C ## operator.
(init_syntax_once, extract_number, extract_number_and_incr,
print_fastmap, print_partial_compiled_pattern,
print_compiled_pattern, print_double_string, printchar,
convert_mbs_to_wcs, re_set_syntax, regex_grow_registers,
regex_compile, store_op1, store_op2, insert_op1, insert_op2,
at_begline_loc_p, at_endline_p, group_in_compile_stack,
insert_space, wcs_compile_range, byte_compile_range,
truncate_wchar, re_compile_fastmap, re_compile_fastmap,
re_set_registers, re_search, re_search_2, re_search_3,
re_match,
re_match_2, count_mbs_length, wcs_re_match_2_internal,
byte_re_match_2_internal, group_match_null_string_p,
alt_match_null_string_p, common_op_match_null_string_p,
bcmp_translate, re_compile_pattern, re_comp, re_exec, regcomp,
regexec, regerror, regfree): Use ISO C prototype style.
* partition.c: (elem_compare): Likewise.
* cp-demangle.c (print_usage): Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@97129 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
* partition.h: Remove use of PARAMS.
* obstack.h: Remove conditional prototypes __STDC__.
* objalloc.h: Remove use of PARAMS.
* splay-tree.h: Likewise.
libiberty/
2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
Convert libiberty to use ISO C prototype style 5/n.
* random.c (srandom, initstate, setstate, random): Use ISO C
prototypes.
* putenv.c (putenv): Likewise.
* physmem.c (physmem_available, physmem_total, main):
Likewise.
* pex-win32.c (fix_argv, pexecute, pwait): Likewise.
* pex-unix.c (pexecute, pwait): Likewise.
* pex-msdos.c (pexecute, pwait): Likewise.
* pex-djgpp.c (pexecute, pwait): Likewise.
* partition.c (partition_new, partition_delete,
partition_union)
(elem_compare, partition_print): Likewise.
* obstack.c (_obstack_begin, _obstack_begin_1,
_obstack_newchunk,
_obstack_allocated_p, _obstack_free, obstack_free,
_obstack_memory_used, print_and_abort, obstack_next_free,
obstack_object_size, obstack_base): Likewise. Remove codes
predicated on !defined(__STDC__).
* objalloc.c (objalloc_create, _objalloc_alloc, objalloc_free,
objalloc_free_block): Use ISO C prototypes.
* mkstemps.c (mkstemps): Likewise.
* memset.c (memset): Likewise.
* mempcpy.c (mempcpy): Likewise.
* rename.c (rename): Likewise.
* rindex.c (rindex): Likewise.
* setenv.c (setenv, unsetenv): Likewise.
* sigsetmask.c (sigsetmask): Likewise.
* snprintf.c (snprintf): Likewise.
* sort.c (sort_pointers, xmalloc): Likewise.
* spaces.c (spaces): Likewise.
* splay-tree.c (splay_tree_delete_helper,
splay_tree_splay_helper, splay_tree_splay,
splay_tree_foreach_helper, splay_tree_xmalloc_allocate,
splay_tree_new, splay_tree_xmalloc_allocate,
splay_tree_new_with_allocator, splay_tree_delete,
splay_tree_insert, splay_tree_remove, splay_tree_lookup,
splay_tree_max, splay_tree_min, splay_tree_predecessor,
splay_tree_successor, splay_tree_foreach,
splay_tree_compare_ints, splay_tree_compare_pointers):
Likewise.
* stpcpy.c (stpcpy): Likewise.
* stpncpy.c (stpncpy): Likewise.
* strcasecmp.c (strcasecmp): Likewise.
* strchr.c (strchr): Likewise.
* strdup.c (strdup): Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@97125 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2005-03-27 Gabriel Dos Reis <gdr@integreable-solutions.net>
* ternary.h: Don't use PARAMS anymore.
libiberty/
2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
Convert libiberty to use ISO C prototype style 6/n.
* strerror.c (init_error_tables, errno_max, strerror,
strerrno,
strtoerrno, main): Use ISO C prototype style.
* strncasecmp.c (strncasecmp): Likewise.
* strncmp.c (strncmp): Likewise.
* strndup.c (strndup): Likewise.
* strrchr.c (strrchr): Likewise.
* strsignal.c (init_signal_tables, signo_max, strsignal,
strsigno, strtosigno, psignal, main): Likewise.
* strstr.c (strstr): Likewise.
* strtod.c (strtod, atof): Likewise.
* strtol.c (strtol): Likewise.
* strtoul.c (strtoul): Likewise.
* ternary.c (ternary_insert, ternary_cleanup, ternary_search,
ternary_recursivesearch): Likewise.
* tmpnam.c (tmpnam): Likewise.
* unlink-if-ordinary.c (unlink_if_ordinary): Likewise.
* vasprintf.c (int_vasprintf, vasprintf, checkit, main):
Likewise.
* vfork.c (vfork): Likewise.
* vfprintf.c (vfprintf): Likewise.
* vprintf.c (vprintf): Likewise.
* vsnprintf.c (vsnprintf, checkit, main): Likewise.
* vsprintf.c (vsprintf): Likewise.
* waitpid.c (waitpid): Likewise.
* xatexit.c (xatexit, xatexit_cleanup): Likewise.
* xexit.c (xexit): Likewise.
* xmalloc.c (xmalloc_set_program_name, xmalloc_failed,
xmalloc,
xcalloc, xrealloc): Likewise.
* xmemdup.c (xmemdup): Likewise.
* xstrdup.c (xstrdup): Likewise.
* xstrerror.c (xstrerror): Likewise.
* xstrndup.c (xstrndup): Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@97122 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
* md5.h: Remove definition and uses of __P.
* dyn-string.h: Remove uses of PARAMS.
* fibheap.h: Likewise.
* floatformat.h: Likewise.
* hashtab.h: Likewise.
libiberty/
2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
Convert libiberty to use ISO C prototype style 4/n.
* hashtab.c (higher_prime_index, hash_pointer, eq_pointer,
htab_size, htab_elements, htab_mod_1, htab_mod, htab_mod_m2,
htab_create_alloc, htab_set_functions_ex, htab_create,
htab_try_create, htab_delete, htab_empty,
find_empty_slot_for_expand, htab_expand, htab_find_with_hash,
htab_find, htab_find_slot_with_hash, htab_find_slot,
htab_remove_elt, htab_remove_elt_with_hash, htab_clear_slot,
htab_traverse_noresize, htab_traverse, htab_collisions,
htab_hash_string, iterative_hash): Use ISO C prototype.
* hex.c (hex_init): Likewise.
* index.c (index): Likewise.
* insque.c (insque, remque): Likewise.
* lbasename.c (lbasename): Likewise.
* lrealpath.c (lrealpath): Likewise.
* make-relative-prefix.c (save_string, split_directories,
free_split_directories, make_relative_prefix): Likewise.
* make-temp-file.c (try, choose_tmpdir, make_temp_file): Likewise.
* md5.c (md5_init_ctx, md5_read_ctx, md5_finish_ctx, md5_stream,
md5_buffer, md5_process_bytes, md5_process_block): Likewise.
* memchr.c (memchr): Likewise.
* memcpy.c (memcpy): Likewise.
* memmove.c (memmove): Likewise.
* gettimeofday.c (gettimeofday): Likewise.
* getruntime.c (get_run_time): Likewise.
* getpwd.c (getpwd, getpwd): Likewise.
* getpagesize.c (getpagesize): Likewise.
* getopt1.c (getopt_long, getopt_long_only, main): Likewise.
* getopt.c (my_index, exchange, _getopt_initialize,
_getopt_internal, getopt, main): Likewise.
* getcwd.c (getcwd): Likewise.
* fnmatch.c (fnmatch): Likewise.
* floatformat.c (floatformat_always_valid,
floatformat_i387_ext_is_valid, get_field, floatformat_to_double,
put_field, floatformat_from_double, floatformat_is_valid,
ieee_test, main): Likewise.
* fibheap.c (fibheap_new, fibnode_new, fibheap_compare,
fibheap_comp_data, fibheap_insert, fibheap_min, fibheap_min_key,
fibheap_union, fibheap_extract_min, fibheap_replace_key_data,
fibheap_replace_key, fibheap_replace_data, fibheap_delete_node,
fibheap_delete, fibheap_empty, fibheap_extr_min_node,
fibheap_ins_root, fibheap_rem_root, fibheap_consolidate,
fibheap_link, fibheap_cut, fibheap_cascading_cut,
fibnode_insert_after, fibnode_remove): Likewise.
* ffs.c (ffs): Likewise.
* fdmatch.c (fdmatch): Likewise.
* dyn-string.c (dyn_string_init, dyn_string_new,
dyn_string_delete, dyn_string_release, dyn_string_resize,
dyn_string_clear, dyn_string_copy, dyn_string_copy_cstr,
dyn_string_prepend, dyn_string_prepend_cstr, dyn_string_insert,
dyn_string_insert_cstr, dyn_string_insert_char,
dyn_string_append, dyn_string_append_cstr,
dyn_string_append_char, dyn_string_substring, dyn_string_eq):
Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@97113 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2005-03-26 Gabriel Dos Reis <gdr@integrable-solutions.net>
* demangle.h: Remove uses of PARAMS.
* libiberty.h (ANSI_PROTOTYPES): Remove guard since
ANSI_PROTOTYPES is always assumed.
Remove uses of PARAMS throughout.
libiberty/
2005-03-26 Gabriel Dos Reis <gdr@integrable-solutions.net>
Convert libiberty to use ISO C prototype style 2/n.
* cp-demangle.h: Remove uses of PARAMS.
* cp-demangle.c: Likewise.
(d_dump, cplus_demangle_fill_name,
cplus_demangle_fill_extended_operator,
cplus_demangle_fill_ctor,
cplus_demangle_fill_dtor, d_make_empty, d_make_comp,
d_make_name,
d_make_builtin_type, d_make_operator,
d_make_extended_operator,
d_make_ctor, d_make_dtor, d_make_template_param, d_make_sub,
cplus_demangle_mangled_name, has_return_type,
is_ctor_dtor_or_conversion, d_encoding, d_name, d_nested_name,
d_prefix, d_unqualified_name, d_source_name, d_number,
d_identifier, d_operator_name, d_special_name, d_call_offset,
d_ctor_dtor_name, cplus_demangle_type, d_cv_qualifiers,
d_function_type, d_bare_function_type, d_class_enum_type,
d_array_type, d_pointer_to_member_type, d_template_param,
d_template_args, d_template_arg, d_expression, d_expr_primary,
d_local_name, d_discriminator, d_add_substitution,
d_substitution, d_print_resize, d_print_append_char,
d_print_append_buffer, d_print_error, cplus_demangle_print,
d_print_comp, d_print_java_identifier, d_print_mod_list,
d_print_mod, d_print_function_type, d_print_array_type,
d_print_expr_op, d_print_cast, cplus_demangle_init_info,
d_demangle, __cxa_demangle, cplus_demangle_v3,
java_demangle_v3,
is_ctor_or_dtor, is_gnu_v3_mangled_ctor,
is_gnu_v3_mangled_dtor,
print_usage, main):
2005-03-26 Gabriel Dos Reis <gdr@integrable-solutions.net>
Convert libiberty to ISO C prototype style 1/n.
* _doprnt.c: Remove conditional #include <varargs.h> on
ANSI_PROTOTYPES as the latter is always assumed.
(_doprnt, checkit, main): Use ISO C prototype.
* alloca.c (find_stack_direction, C_alloca): Use ISO C
prototype.
* argv.c: Remove conditional #includes on ANSI_PROTOTYPES.
(dupargv, freeargv, buildargv, main): Use ISO C prototype.
* atexit.c (atexit): Likewise
* asprintf.c: Remove conditional include on ANSI_PROTOTYPES.
(asprintf): Use ISO C prototype.
* basename.c (basename): Likewise
* bcmp.c (bcmp): Likewise.
* bcopy.c (bcopy): Likewise.
* bzero.c (bzero): Likewise.
* bsearch.c (bsearch): Likewise. Improve const-correctness.
* choose-temp.c (choose_temp_base): Likewise.
* calloc.c: Remove conditional #include on ANSI_PROTOTYPES.
(calloc): Use ISO C prototype.
* clock.c (clock): Likewise.
* concat.c: Remove conditional #include on ANSI_PROTOTYPES.
(vconcat_length, vconcat_copy, concat_length, concat_copy,
concat_copy2, concat, reconcat, main): Use ISO C prototype.
* copysign.c (copysign): Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@97085 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* libiberty.h (xstrndup): Declare.
libiberty:
* Makefile.in (CFILES): Add strndup.c and xstrndup.c.
(REQUIRED_OFILES): Add xstrndup.o.
(CONFIGURED_OFILES): Add strndup.o.
Regenerate dependencies.
* configure.ac (funcs, AC_CHECK_FUNCS): Add strndup.
* strndup.c, xstrndup.c: New.
* config.in, configure, functions.texi: Regenerate.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@97034 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@96904 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* configure.ac (funcs): Add gettimeofday.
* configure: Regenerated.
* gettimeofday.c: New file.
* Makefile.in (CFILES): Add gettimeofday.
(CONFIGURED_OFILES): Add gettimeofday.o.
(./gettimeofday.o): New rule.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@96230 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2005-03-01 Jan Beulich <jbeulich@novell.com>
* libiberty.h: Declare unlink_if_ordinary.
libiberty/
2005-03-01 Jan Beulich <jbeulich@novell.com>
* Makefile.in (CFILES): Add unlink-if-ordinary.c
(REQUIRED_OFILES): Add unlink-if-ordinary.o.
Add dependencies and rule for unlink-if-ordinary.o.
* unlink-if-ordinary.c: New.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@95732 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2005-02-08 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/19818
* ansidecl.h (PARAMS): Guard from redefinition.
libcpp:
2005-02-08 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/19818
* configure.ac: Check for declaration of basename and getopt.
* config.in: Regenerate.
* configure: Regenerate.
* internal.h (ustrcspn): New.
* macro.c (create_iso_definition): Fix allocation of memory.
(padding_token): Add cast to remove const-ness.
* pch.c (cpp_read_state): Use ustrcspn.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@95003 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* fibheap.h (struct fibnode): Only use unsigned long bitfields
when __GNUC__ is defined and ints are less than 32-bits wide.
[libiberty]
* configure.ac: Invoke AC_CHECK_SIZEOF for sizeof (int).
* configure: Regenerate.
* config.in: Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@92009 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* xtensa-config.h (XSHAL_USE_ABSOLUTE_LITERALS,
XCHAL_HAVE_PREDICTED_BRANCHES, XCHAL_INST_FETCH_WIDTH): New.
(XCHAL_EXTRA_SA_SIZE, XCHAL_EXTRA_SA_ALIGN): Delete.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@88727 138bc75d-0d04-0410-961f-82ee72b054a4
|