- 08 Feb, 2007 11 commits
-
-
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. From-SVN: r121717
Kyle Galloway committed -
simplify-rtx.c (simplify_unary_operation_1): We can strip zero_extend, bswap and rotates from POCOUNT's argument. * 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. From-SVN: r121716
Roger Sayle committed -
re PR tree-optimization/30562 (remove unused variable is removing a referenced variable (in STORED_SYMS or LOADED_SYMS)) PR 30562 * 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. From-SVN: r121715
Diego Novillo committed -
trans-stmt.c (gfc_trans_forall_1): Optimize the cases where the mask expression is a compile-time constant... * 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. From-SVN: r121714
Roger Sayle committed -
* javax/management/MBeanServerFactory.java (servers): Initialize. (createMBeanServer): Don't initialize servers. From-SVN: r121713
Gary Benson committed -
* value-prof.c (visit_hist, free_hist): Return 1 instead of 0. Co-Authored-By: Robert Kidd <rkidd@crhc.uiuc.edu> From-SVN: r121711
Jan Hubicka committed -
* gcc.dg/builtins-20.c: Add some -~ complex cases. From-SVN: r121710
Kaveh R. Ghazi committed -
* include/java-interp.h (_Jv_Frame::depth): New function. * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth. From-SVN: r121709
Keith Seitz committed -
From-SVN: r121707
Ian Lance Taylor committed -
* 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. From-SVN: r121706
Roger Sayle committed -
From-SVN: r121704
GCC Administrator committed
-
- 07 Feb, 2007 15 commits
-
-
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. From-SVN: r121700
Kyle Galloway committed -
2007-02-01 Marco Trudel <mtrudel@gmx.ch> * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects. From-SVN: r121699
Marco Trudel committed -
* 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. From-SVN: r121698
Tom Tromey committed -
global.c (compute_regsets): Move declatation of "i" inside of #ifdef ELIMINABLE_REGS to avoid unused... * global.c (compute_regsets): Move declatation of "i" inside of #ifdef ELIMINABLE_REGS to avoid unused variable bootstrap failure. From-SVN: r121697
Roger Sayle committed -
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. From-SVN: r121695
Andrew Haley committed -
2007-02-07 Chris Burdess <dog@gnu.org> Fixes PR 30718. * 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. Fixes PR 27710. * 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. From-SVN: r121694
Chris Burdess committed -
From-SVN: r121691
Roman Zippel committed -
2007-02-07 Bruno Haible <bruno@clisp.org> config/ PR libgomp/28468 * 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}/ PR libgomp/28468 * configure: Regenerate. From-SVN: r121689
Jakub Jelinek committed -
PR c++/30703 * 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. From-SVN: r121688
Jakub Jelinek committed -
From-SVN: r121687
Jakub Jelinek committed -
PR testsuite/28870 * 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. From-SVN: r121684
Hans-Peter Nilsson committed -
From-SVN: r121683
Hans-Peter Nilsson committed -
* 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. From-SVN: r121682
Hans-Peter Nilsson committed -
raise-gcc.c (get_region_description_for, [...]): Replaced _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t. 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. From-SVN: r121681
Andreas Krebbel committed -
From-SVN: r121676
GCC Administrator committed
-
- 06 Feb, 2007 14 commits
-
-
From-SVN: r121672
Tom Tromey committed -
PR target/29746 * config/sh/sh.c (expand_cbranchdi4): Use scratch register properly. (sh_initialize_trampoline): Add parentheses to avoid a warning. Co-Authored-By: Kaz Kojima <kkojima@gcc.gnu.org> From-SVN: r121671
J"orn Rennecke committed -
* 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. From-SVN: r121670
Zdenek Dvorak committed -
PR java/30714: * jvspec.c (lang_specific_driver): Check for the '-' in '-I'. From-SVN: r121666
Tom Tromey committed -
PR libgcj/30707: * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass): Always print a header. From-SVN: r121664
Tom Tromey committed -
2007-02-06 Seongbae Park <seongbae.park@gmail.com> PR inline-asm/28686 * 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. From-SVN: r121663
Seongbae Park committed -
* 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. From-SVN: r121660
Richard Henderson committed -
From-SVN: r121659
Richard Henderson committed -
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. From-SVN: r121656
Benjamin Kosnik committed -
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. Co-Authored-By: Marco Trudel <mtrudel@gmx.ch> From-SVN: r121655
Benjamin Kosnik committed -
* ChangeLog: Doh! Missed in the last commit. From-SVN: r121654
Roger Sayle committed -
* 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. From-SVN: r121653
Roger Sayle committed -
* lower-subreg.c (simple_move_operand): Reject CONST. (resolve_clobber): Call validate_change rather than directly assigning to XEXP (pat, 0). From-SVN: r121652
Ian Lance Taylor committed -
2007-02-06 Andrew Haley <aph@redhat.com> * scripts/makemake.tcl (emit_bc_rule): Set the source filename. * sources.am: Rebuild. From-SVN: r121651
Andrew Haley committed
-