1. 30 Jan, 2007 6 commits
  2. 29 Jan, 2007 29 commits
    • Belated typo fix from 2007-01-02. · 5b081108
      From-SVN: r121319
      Ben Elliston committed
    • decExcept.c: New. · d9a66f98
      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.
      
      From-SVN: r121317
      Janis Johnson committed
    • * crontab: No longer build snapshots for 4.0.x. · 5b18f337
      From-SVN: r121315
      Gerald Pfeifer committed
    • java-interp.h: Added _Jv_Frame class and its two subclasses _Jv_InterpFrame and _Jv_NativeFrame. · 39273131
      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.
      
      From-SVN: r121314
      Kyle Galloway committed
    • interpret.cc (run_debug): Remove comment. · d75bf843
      	* 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.
      
      From-SVN: r121313
      Tom Tromey committed
    • re PR java/30607 (gcj -I x -C doesn't include x as source dir search patch) · a1c06277
      	PR java/30607:
      	* jvspec.c (lang_specific_driver): Handle separate -I argument.
      	* lang.opt (-I): Add 'Separate'.
      
      From-SVN: r121311
      Tom Tromey committed
    • 007-01-29 Manuel Lopez-Ibanez <manu@gcc.gnu.org> · c616e51b
      	* 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.
      
      From-SVN: r121310
      Manuel López-Ibáñez committed
    • tree-optimize.c (update_inlined_to_pointers): Delete unused function. · 97100596
      2007-01-29  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
      
              * tree-optimize.c (update_inlined_to_pointers): Delete unused
              function.
      
      From-SVN: r121309
      Manuel López-Ibáñez committed
    • Makefile.in (USER_H): Remove decfloat.h. · b7f0fff2
      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.
      
      From-SVN: r121308
      Janis Johnson committed
    • gccint.texi (Top): Rename Loop Representation to Loop Analysis and… · 821f6218
      gccint.texi (Top): Rename Loop Representation to Loop Analysis and Representation to resolve case...
      
      	* 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.
      
      From-SVN: r121306
      Mike Stump committed
    • demangle.h: New cplus_demangle_print_callback... · 456cc5cf
      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.
      
      From-SVN: r121305
      Simon Baldwin committed
    • tree.h (struct tree_memory_tag): Add aliases member. · 306219a2
      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.
      
      From-SVN: r121302
      Daniel Berlin committed
    • configure, [...]: Rebuilt. · acd724f6
      	* 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.
      
      From-SVN: r121301
      Tom Tromey committed
    • stl_uninitialized.h (uninitialized_copy(const char*, const char*, char*),… · 263e3c33
      stl_uninitialized.h (uninitialized_copy(const char*, const char*, char*), [...]): Remove, just forward to std::copy.
      
      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.
      
      From-SVN: r121300
      Paolo Carlini committed
    • Makefile.in: Rebuilt. · acb966f2
      	* Makefile.in: Rebuilt.
      	* Makefile.am (interpret.lo): New target.  Add -fwrap to
      	AM_CXXFLAGS.
      
      From-SVN: r121299
      Tom Tromey committed
    • Checking in updated class file · e0e4be2e
      From-SVN: r121298
      Tom Tromey committed
    • enc_filebuf.h: Resurrect, update. · 4ffe6e87
      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.
      
      From-SVN: r121297
      Benjamin Kosnik committed
    • jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED): Define. · 68254f23
              * 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.
      
      From-SVN: r121296
      Keith Seitz committed
    • re PR tree-optimization/30630 (Trunk GCC hangs while compiling cpu2k6/perlbench at -O2) · 48e540b0
      2007-01-29  Daniel Berlin  <dberlin@dberlin.org>
      
      	PR tree-optimization/30630
      	* tree-ssa-structalias.c (do_complex_constraint): Mark correct
      	variable as changed.
      
      From-SVN: r121295
      Daniel Berlin committed
    • altivec-24.c: New test. · 99af1cca
      2007-01-29  Josh Conner  <jconner@apple.com>
      
      	* gcc.target/powerpc/altivec-24.c: New test.
      
      From-SVN: r121294
      Josh Conner committed
    • re PR c++/28266 (ICE on invalid default variable) · abc67de1
              PR c++/28266
              * gimplify.c (gimplify_target_expr): Make sure that the TARGET_EXPR is
              expanded only once even if an error occurs.
      
      From-SVN: r121288
      Simon Martin committed
    • SecurityManager.java: Load and initialize java.security.Security. · ff5157e5
      2007-01-26  Andrew Haley  <aph@redhat.com>
      
              * java/lang/SecurityManager.java: Load and initialize
              java.security.Security.
      
      From-SVN: r121287
      Andrew Haley committed
    • SecurityManager.java: Load and initialize java.security.Security. · b70b9fc3
      2007-01-26  Andrew Haley  <aph@redhat.com>
      
              * java/lang/SecurityManager.java: Load and initialize
              java.security.Security.
      
      From-SVN: r121286
      Andrew Haley committed
    • natClass.cc (initializeClass): Re-throw SecurityExceptions. · 6b05e791
      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.
      
      From-SVN: r121285
      Andrew Haley committed
    • class.c (add_method_1): Mark fndecl as external unless we are compiling it into this object file. · 2631dfdd
      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.
      
      From-SVN: r121284
      Andrew Haley committed
    • re PR fortran/30554 ([4.1 only] ICE in mio_pointer_ref at module.c:1945) · aec78e73
      2007-01-29  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/30554
      	* 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>
      
      	PR fortran/30554
      	* gfortran.dg/used_dummy_types_6.f90: New test.
      
      From-SVN: r121281
      Paul Thomas committed
    • gcov-io.h (__gcov_indirect_call_profiler): Declare. · 098b68ad
      	* gcov-io.h (__gcov_indirect_call_profiler): Declare.
      	(__gcov_average_profiler): Likewise.
      	(__gcov_ior_profiler): Likewise.
      	(__gcov_merge_ior): Likewise.
      
      From-SVN: r121280
      Ben Elliston committed
    • Daily bump. · a905bb8d
      From-SVN: r121277
      GCC Administrator committed
  3. 28 Jan, 2007 5 commits
    • builtins.c (expand_builtin_memset): Fix typo in my last patch. · 52ca6d35
      
      	* builtins.c (expand_builtin_memset): Fix typo in my last patch.
      	* value-prof.c (stringop_block_profile): Likewise.
      
      From-SVN: r121272
      Jan Hubicka committed
    • expr.c (emit_block_move_via_movmem, [...]): Add variant handling histograms; add wrapper. · 079a182e
      	* 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.
      
      From-SVN: r121270
      Jan Hubicka committed
    • * MAINTAINERS (spu port): Add myself. · 2472200d
      From-SVN: r121269
      David Edelsohn committed
    • large-size-array-3.c: Correct test case (portability). · 7217a9eb
      
      	* gcc.dg/large-size-array-3.c: Correct test case (portability).
      
      From-SVN: r121266
      Roger Sayle committed