- 08 Mar, 2007 7 commits
-
-
* src/powerpc/ffi.c (flush_icache): Fix left-over from previous patch. (ffi_prep_closure_loc): Remove unneeded casts. Add needed ones. From-SVN: r122692
Alexandre Oliva committed -
spurious whitespace from error message. From-SVN: r122690
Martin Michlmayr committed -
2007-03-08 Paul Thomas <pault@gcc.gnu.org> PR fortran/31011 * expr.c (find_array_section): Correct arithmetic for section size. 2007-03-08 Paul Thomas <pault@gcc.gnu.org> PR fortran/31011 * gfortran.dg/parameter_array_section_2.f90: New test. From-SVN: r122689
Paul Thomas committed -
PR c++/30852 * 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. From-SVN: r122686
Volker Reichelt committed -
PR c++/30534 * pt.c (any_template_arguments_need_structural_equality_p): Robustify. * g++.dg/template/arg5.C: New test. From-SVN: r122685
Volker Reichelt committed -
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. From-SVN: r122684
Alexandre Oliva committed -
From-SVN: r122680
GCC Administrator committed
-
- 07 Mar, 2007 23 commits
-
-
* configure: Rebuilt. * configure.ac: Clear vm-tools-packages. From-SVN: r122677
Tom Tromey committed -
From-SVN: r122674
Brooks Moses committed -
From-SVN: r122670
Eric Botcazou committed -
PR target/30848 * reg-stack.c (emit_swap_insn): If a malformed asm was seen, silently fix up the stack in the case of a missing register. From-SVN: r122669
Richard Henderson committed -
* 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. From-SVN: r122668
Mohan Embar committed -
From-SVN: r122667
Joseph Myers committed -
From-SVN: r122666
Joseph Myers committed -
2007-03-07 Andrew Haley <aph@redhat.com> * libgcj_bc.c (JvRunMainName): Declare. From-SVN: r122663
Andrew Haley committed -
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. From-SVN: r122661
Gary Benson committed -
From-SVN: r122660
Mohan Embar committed -
* configure: Regenerate. config/: * acx.m4 (GCC_TARGET_TOOL): Expand backquotes outside AC_MSG_RESULT. From-SVN: r122659
Andreas Schwab committed -
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. From-SVN: r122658
Joseph Myers committed -
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. From-SVN: r122657
Richard Sandiford committed -
2007-03-07 Paolo Bonzini <bonzini@gnu.org> * gcc.dg/var-expand1.c: Add newline at end of file. From-SVN: r122656
Paolo Bonzini committed -
s390.c (override_options): Don't emit an error when -mstack-size is used without providing -mstack-guard. 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. From-SVN: r122655
Andreas Krebbel committed -
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. From-SVN: r122654
Richard Sandiford committed -
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. From-SVN: r122653
Richard Sandiford committed -
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. From-SVN: r122652
Alexandre Oliva committed -
* src/dlmalloc.c: New file, imported version 2.8.3 of Doug Lea's malloc. From-SVN: r122651
Alexandre Oliva committed -
* 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. From-SVN: r122650
Alexandre Oliva committed -
* doc/install.texi (mips-*-*): Change recommended binutils version. From-SVN: r122648
David Daney committed -
From-SVN: r122647
Hans-Peter Nilsson committed -
From-SVN: r122644
GCC Administrator committed
-
- 06 Mar, 2007 10 commits
-
-
2007-03-06 Daniel Franke <franke.daniel@gmail.com> PR documentation/30950 * intrinsic.texi (AND, CPU_TIME): Fix dummy argument names. (FREE): Fix call syntax. From-SVN: r122640
Daniel Franke committed -
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. From-SVN: r122639
Kyle Galloway committed -
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.). From-SVN: r122635
Anatoly Sokolov committed -
2007-03-06 Matthias Klose <doko@ubuntu.com> * doc/Makefile.am(gkeytool.pod): Don't use sed -i. * doc/Makefile.in: Regenerate. From-SVN: r122634
Matthias Klose committed -
* 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. From-SVN: r122632
Jan Hubicka committed -
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. From-SVN: r122631
Tom Tromey committed -
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. From-SVN: r122630
Kyle Galloway committed -
2007-03-06 Paolo Carlini <pcarlini@suse.de> PR libstdc++/28080 (partial) * 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. From-SVN: r122628
Paolo Carlini committed -
function.c (expand_function_end): Move blockage to just after we emit the label for the naked return from the... 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. From-SVN: r122626
Andrew Haley committed -
gcc/ * config/i386/att.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_SKIP): Undefine before redefining. From-SVN: r122625
Richard Sandiford committed
-