- 24 Nov, 2004 22 commits
-
-
gcc/ * expr.c (expand_expr_real_1): Remove cases for EXIT_BLOCK_EXPR and LABELED_BLOCK_EXPR. * gimplify.c (gimplify_labeled_block_expr): Remove. (gimplify_exit_block_expr): Remove. (gimplify_expr): Don't call them. * tree-inline.c (copy_body_r): Don't handle EXIT_BLOCK_EXPR and LABELED_BLOCK_EXPR. (estimate_num_insns_1): Likewise. (walk_tree): Likewise. * tree-pretty-print.c (dump_generic_node): Don't handle EXIT_BLOCK_EXPR and LABELED_BLOCK_EXPR. * tree.def (EXIT_BLOCK_EXPR): Moved to java-tree.def. (LABELED_BLOCK_EXPR): Likewise. * tree.h (LABELED_BLOCK_LABEL): Moved to java-tree.h. (LABELED_BLOCK_BODY): Likewise. (EXIT_BLOCK_LABELED_BLOCK): Likewise. (EXIT_BLOCK_RETURN): Removed. java/ * java-gimplify.c (java_gimplify_labeled_block_expr): New function. (java_gimplify_exit_block_expr): New function. (java_gimplify_expr): Use them to gimplify EXIT_BLOCK_EXPR and LABELED_BLOCK_EXPR. * java-tree.def (LABELED_BLOCK_EXPR): Moved from tree.def. (EXIT_BLOCK_EXPR): Likewise. * java-tree.h (LABELED_BLOCK_LABEL): Moved from tree.h. (LABELED_BLOCK_BODY): Likewise. (EXIT_BLOCK_LABELED_BLOCK): Likewise. * jcf-write.c (generate_bytecode_insns): Don't handle the unused EXIT_BLOCK_RETURN operand. Use EXIT_BLOCK_LABELED_BLOCK instead of TREE_OPERAND. * lang.c (java_tree_inlining_walk_subtrees): Handle EXIT_BLOCK_EXPR. (java_dump_tree): Use LABELED_BLOCK_LABEL, LABELED_BLOCK_BODY, and EXIT_BLOCK_LABELED_BLOCK instead of TREE_OPERAND. Don't handle the second operand of EXIT_BLOCK_EXPR. * parse.y (find_expr_with_wfl): Use LABELED_BLOCK_BODY instead of TREE_OPERAND. (build_bc_statement): Use build1 to build EXIT_BLOCK_EXPR nodes. From-SVN: r91149
Steven Bosscher committed -
* cfgrtl.c (rtl_delete_block): Fix comment. * emit-rtl.c (remove_unnecessary_notes): Die if we see BLOCK_BEG or BLOCK_END insn notes. * jump.c (squeeze_notes): Likewise. * haifa-sched.c (reemit_notes): Don't "re-emit" EH_REGION_BEG and EH_REGION_END notes, we never have them to begin with. * sched-deps.c (sched_analyze_insn): When updating loop notes, verify that we have indeed only recorded loop notes. (sched_analyze): Die if we see EH_REGION_BEG or EH_REGION_END notes. Only record loop notes. * cfgexpand.c (tree_expand_cfg): Fix comment. * passes.c (rest_of_compilation): Don't do a second call to convert_from_eh_region_ranges from here, it's already called from cfgexpand.c. * except.c (resolve_fixup_regions): Remove. (remove_fixup_regions): Remove. (convert_from_eh_region_ranges_1): Remove. (convert_from_eh_region_ranges): Remove the case where EH is not already lowered at the tree level. We always lower there. From-SVN: r91148
Steven Bosscher committed -
* java/nio/DirectByteBufferImpl.java (ReadOnly): New inner subclass. (ReadWrite): New inner subclass. (owner): Made final and private. (address): Made final. (DirectByteBufferImpl(int)): New constructor. (DirectByteBufferImpl(Object,RawData,int,int,int)): New constructor. (DirectByteBufferImpl(Object,RawData,int,int,int,boolean)): Removed. (allocate): Modified to instantiate ReadWrite subclass. (finalize): Fixed to only free the buffer, if we own it. (put): Removed read-only check. (slice, duplicate): Modified to instantiate appropriate subclass. (isReadOnly): Removed. * java/nio/MappedByteBufferImpl.java (slice, duplicate): Modified to instantiate appropriate DirectByteBufferImpl subclass. From-SVN: r91147
Jeroen Frijters committed -
2004-11-24 Michael Koch <konqueror@gmx.de> * gnu/java/nio/NIOServerSocket.java: Added email to @author tag. * java/nio/DirectByteBufferImpl.java: Moved native methods to java.nio.VMDirectByteBuffer class. * java/nio/MappedByteBufferImpl.java: Use native methods from java.nio.VMDirectByteBuffer class. * java/nio/VMDirectByteBuffer.java: New file, * java/nio/natDirectByteBufferImpl.cc: Moved all methods into java.nio.VMDirectByteBuffer class. * java/nio/channels/spi/AbstractSelectableChannel.java (register): Only re-use valid keys. * Makefile.am: Added java/nio/VMDirectByteBuffer.java. * Makefile.in: Regenerated. From-SVN: r91146
Michael Koch committed -
re PR c++/8929 (G++ accepts invalid template headers in member definitions of explicitly specialized classes) PR c++/8929 * decl.c (start_decl): Check for invalid specialization headers. PR c++/8929 * g++.old-deja/g++.oliva/template10.C: Remove xfail. From-SVN: r91145
Giovanni Bajo committed -
* gcc.target/sparc/align.c: Do not include <stdint.h>. * gcc.target/sparc/pdist.c: Likewise. From-SVN: r91144
Eric Botcazou committed -
2004-11-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> * config.gcc: Use t-slibgcc-elf to build libgcc_s.so on m32r*linux. * config/m32r/t-linux (SHLIB_MAPFILES): Override to use m32r/libgcc-glibc.ver. * config/m32r/libgcc-glibc.ver: Add New file. From-SVN: r91143
Nick Clifton committed -
2004-11-24 Paolo Bonzini <bonzini@gnu.org> PR c++/16882 * tree.c (make_vector_type): Move qualifiers to the vector type, use the inner type's main variant and build a main variant for the vector type if necessary. (type_hash_eq): Check a vector type's TYPE_VECTOR_SUBPARTS. cp: 2004-11-24 Paolo Bonzini <bonzini@gnu.org> PR c++/16882 * call.c (standard_conversion): Move check for conversions between vector pointers... * typeck.c (ptr_reasonably_similar): ... here. testsuite: 2004-11-24 Paolo Bonzini <bonzini@gnu.org> PR c++/16882 * g++.dg/conversion/simd1.C: New test. From-SVN: r91142
Paolo Bonzini committed -
2004-11-24 Michael Koch <konqueror@gmx.de> * java/nio/DirectByteBufferImpl.java, java/nio/MappedByteBufferImpl.java: Reformatted. From-SVN: r91141
Michael Koch committed -
* target.h (late_rtl_prologue_epilogue): Remove. * target-def.h (TARGET_LATE_RTL_PROLOGUE_EPILOGUE): Remove. * system.h: Poison TARGET_LATE_RTL_PROLOGUE_EPILOGUE. * passes.c (rest_of_handle_prologue_epilogue): Remove and move remaining bits to... (rest_of_handle_flow2): ...here. (rest_of_compilation): Remove call to rest_of_handle_prologue_epilogue. * doc/tm.texi (TARGET_LATE_RTL_PROLOGUE_EPILOGUE): Remove. From-SVN: r91140
Eric Botcazou committed -
2004-11-23 Chris Jefferson <chris@bubblescope.net> * testsuite/testsuite_iterators.h: New. * testsuite/25_algorithms/search_n/iterator.cc: New. * testsuite/performance/25_algorithms/search_n.cc: New. From-SVN: r91139
Chris Jefferson committed -
From-SVN: r91138
John David Anglin committed -
target-libpath.exp: New file defining set_ld_library_path_env_vars and restore_ld_library_path_env_vars. * lib/target-libpath.exp: New file defining set_ld_library_path_env_vars and restore_ld_library_path_env_vars. * g++.dg/compat/compat.exp, lib/g++.exp, lib/gcc-dg.exp, lib/gfortran.exp, lib/objc.exp, lib/treelang.exp: Use new procs. * ada/acats/run_acats (LD_LIBRARY_PATH): Add previous LD_LIBRARY_PATH to LD_LIBRARY_PATH. Export LD_LIBRARY_PATH. * testsuite/lib/libffi-dg.exp: Use new procs in target-libpath.exp. * testsuite/lib/libjava.exp, testsuite/libjava.jacks/jacks.exp: Use new procs in target-libpath.exp. * testsuite/lib/libmudflap.exp: Use new procs in target-libpath.exp. * testsuite/lib/libstdc++.exp: Use new procs in target-libpath.exp. From-SVN: r91137
John David Anglin committed -
* hwint.h (HOST_LONG_LONG_FORMAT): New macro. Use it throughout. * config/i386/xm-mingw32.h (HOST_LONG_LONG_FORMAT): Define. * doc/hostconfig.texi (HOST_LONG_LONG_FORMAT): Document. From-SVN: r91136
Mark Mitchell committed -
2004-11-23 Benjamin Kosnik <bkoz@redhat.com> * docs/doxygen/doxygroups.cc: Add std::tr1 namespace. * docs/doxygen/run_doxygen: Renames for std::tr1. * docs/doxygen/user.cfg.in: Add cxxabi.h. * include/bits/*.tcc: Add file markup. * include/bits/allocator.h: Add link to allocator.html. * include/bits/atomicity.h: Add file markup. * include/bits/concurrence.h: Same. * include/bits/functexcept.h: Same. * include/ext*: Adjust file markup, remove GCC3 bits. * include/std/*: Adjust file markup, remove bits about renamed files. * libsupc++/cxxabi.h: Add file markup. * testsuite/20_util/memory/auto_ptr/assign_neg.cc: Adjust line numbers. From-SVN: r91135
Benjamin Kosnik committed -
* cp-tree.h (context_as_string): Remove extern. * error.c (context_as_string): Remove. * cp-tree.h (cp_type_qual_from_rid): Remove extern. * lex.c (cp_type_qual_from_rid): Remove. * cp-tree.h (do_poplevel): Remove extern. (check_multiple_declarators): Likewise. * semantics.c (do_poplevel): Make static. (check_multiple_declarators): Remove. * cp-tree.h (check_final_overrider): Remove extern. * search.c (check_final_overrider): Make static. * cp-tree.h (build_artificial_parm): Remove extern. * decl2.c (build_artificial_parm): Make static. From-SVN: r91134
Ben Elliston committed -
PR other/18623 * cp-demangle.c (d_call_offset): Remove useless local variables offset and virtual_offset. * cplus-dem.c (ada_demangle): Remove useless local variable at_start_name. (demangle_template): Remove useless local variable start. From-SVN: r91133
Ian Lance Taylor committed -
i386.c (override_options): Move SUBTARGET_OVERRIDE_OPTIONS before defaulting flag_omit_frame_pointer. 2004-11-24 Daniel Jacobowitz <dan@codesourcery.com> * config/i386/i386.c (override_options): Move SUBTARGET_OVERRIDE_OPTIONS before defaulting flag_omit_frame_pointer. From-SVN: r91132
Daniel Jacobowitz committed -
[[Split portion of a mixed commit.]] From-SVN: r91130.2
GCC Administrator committed -
[[Split portion of a mixed commit.]] From-SVN: r91128.2
GCC Administrator committed -
* rtl.h (validate_subreg): Declare. * emit-rtl.c (validate_subreg): New. (gen_rtx_SUBREG): Use it. * simplify-rtx.c (simplify_subreg): Likewise. (simplify_gen_subreg): Likewise. Remove duplicate asserts. * expr.c (emit_move_insn_1): Tidy complex move code. Use memory fallback whenever gen_realpart/gen_imagpart would not be able to create SUBREGs. From-SVN: r91126
Richard Henderson committed -
2004-11-23 Kelley Cook <kcook@gcc.gnu.org> * Makefile.in, configure, aclocal.m4: Regenerate with automake 1.9.3. * testsuite/Makefile.in: Likewise. From-SVN: r91125
Kelley Cook committed
-
- 23 Nov, 2004 18 commits
-
-
expmed.c (extract_bit_field): Use simplify_gen_subreg instead of hard-coding avoiding calls to gen_rtx_SUBREG. * expmed.c (extract_bit_field): Use simplify_gen_subreg instead of hard-coding avoiding calls to gen_rtx_SUBREG. Split complex return modes to CONCAT. From-SVN: r91124
Richard Henderson committed -
From-SVN: r91123
Diego Novillo committed -
* tree-into-ssa.c (DEF_VEC_MALLOC_P(basic_block)): Declare. (insert_phi_nodes_for): Change third argument to VEC(basic_block). * tree-ssa-dom.c (avail_exprs_stack): Change type to VEC(tree_on_heap). Update all users. (stmts_to_rescan): Likewise. (const_and_copies_stack): Likewise. (nonzero_vars_stack): Likewise. (vrp_variables_stack): Likewise. From-SVN: r91122
Diego Novillo committed -
* cse.c (record_jump_cond_subreg): New. (record_jump_cond): Use it instead of gen_lowpart. From-SVN: r91119
Richard Henderson committed -
combine.c (gen_lowpart_for_combine): Factor out mode of x as well as mode sizes into local temporaries. * combine.c (gen_lowpart_for_combine): Factor out mode of x as well as mode sizes into local temporaries. Unify failure path. From-SVN: r91118
Richard Henderson committed -
gcc: 2004-11-23 Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * config/sol2-c.c (solaris_register_pragmas): Use c_register_pragma_with_expansion. * config/sol2.h (HANDLE_PRAGMA_PACK_WITH_EXPANSION): Define. * c-pragma.c (c_register_pragma): Update call to cpp_register_pragma. (c_register_pragma_with_expansion): New function. (init_pragma): Honor HANDLE_PRAGMA_PACK_WITH_EXPANSION. * c-pragma.h (c_register_pragma_with_expansion): New prototype. * doc/extend.texi (Solaris Pragmas): Mention macro expansion for #pragma align. * doc/tm.texi (c_register_pragma_with_expansion, HANDLE_PRAGMA_PACK_WITH_EXPANSION): Document. gcc/testsuite: 2004-11-23 Daniel Jacobowitz <dan@codesourcery.com> * gcc.dg/pragma-align-2.c: Test macro expansion. * gcc.dg/pragma-pack-2.c: New test. libcpp: 2004-11-23 Daniel Jacobowitz <dan@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * internal.h (struct lexer_state): Add in_deferred_pragma. * directives.c (struct pragma_entry): Add allow_expansion. (insert_pragma_entry): Take allow_expansion flag. (register_pragma): Likewise. (cpp_register_pragma): Likewise. (_cpp_init_internal_pragmas): Update calls to cpp_register_pragma. (do_pragma): Honor allow_expansion. (cpp_handle_deferred_pragma): Set in_deferred_pragma. * include/cpplib.h (cpp_register_pragma): Update prototype. Co-Authored-By: Joseph Myers <joseph@codesourcery.com> From-SVN: r91117
Daniel Jacobowitz committed -
* src/mips/o32.S (ffi_call_O32, ffi_closure_O32): Use jalr instead of jal. Use an absolute encoding for the frame information. * configure.host: Enable the interpreter for mips*-*-linux*. From-SVN: r91116
Richard Sandiford committed -
* emit-rtl.c, rtl.h (subreg_hard_regno): Remove. * caller-save.c (mark_set_regs): Use subreg_regno instead. * final.c (alter_subreg): Likewise. * local-alloc.c (reg_is_born): Likewise. From-SVN: r91115
Richard Henderson committed -
simplify-rtx.c (simplify_subreg): Use subreg_regno_offset directly instead of using a SUBREG temporary. * simplify-rtx.c (simplify_subreg): Use subreg_regno_offset directly instead of using a SUBREG temporary. From-SVN: r91114
Richard Henderson committed -
* mkfixinc.sh: Check error code from 'cat'. Don't try running built fixincl program. * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking up csh from user. From-SVN: r91109
Geoffrey Keating committed -
* tree-cfg.c (tree_forwarder_block_p): Speed up by reordering two checks. From-SVN: r91108
Kazu Hirata committed -
* gcc.dg/vect/pr18425.c: Use effective target vect_long. * gcc.dg/vect/vect-13.c, gcc.dg/vect/vect-17.c, gcc.dg/vect/vect-18.c, gcc.dg/vect/vect-19.c, gcc.dg/vect/vect-20.c, gcc.dg/vect/vect-48a.c, gcc.dg/vect/vect-56a.c, gcc.dg/vect/vect-7.c, gcc.dg/vect/vect-77.c, gcc.dg/vect/vect-77a.c, gcc.dg/vect/vect-78.c, gcc.dg/vect/vect-86.c, gcc.dg/vect/vect-87.c, gcc.dg/vect/vect-88.c: XFAIL for alpha. * gcc.dg/vect/vect.exp: Add check for alpha. * lib/target-supports.exp (check_alpha_max_hw_available): New. (check_effective_target_vect_int): Enable for alpha. (check_effective_target_vect_long): New. (is-effective-target): Add it. From-SVN: r91105
Richard Henderson committed -
2004-11-23 Michael Koch <konqueror@gmx.de> * java/lang/String.java (rehash): Removed. * java/lang/natString.cc (rehash): Made static. (_Jv_NewStringUtf8Const): Use static rehash method. From-SVN: r91104
Michael Koch committed -
2004-11-23 Michael Koch <konqueror@gmx.de> * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, include/Makefile.in, testsuite/Makefile.in: Regenerated. From-SVN: r91103
Michael Koch committed -
* function.h (struct function): Remove calls_longjmp. (current_function_calls_longjmp): Delete. * tree.h (ECF_LONGJMP): Delete. (ECF_SIBCALL, ECF_PURE, ECF_SP_DEPRESSED, ECF_ALWAYS_RETURN) (ECF_LIBCALL_BLOCK): Everybody slide down one. (ECF_CONST, ECF_NORETURN, ECF_SIBCALL): Clarify comments. * builtins.c (expand_builtin_longjmp): Don't set current_function_calls_longjmp. * calls.c (special_function_p): Mark longjmp and siglongjmp with ECF_NORETURN, not ECF_LONGJMP. (emit_call_1, expand_call, emit_library_call_value_1): Don't check for ECF_LONGJMP. * tree-cfg.c (make_exit_edges, is_ctrl_altering_stmt) (need_fake_edge_p): Likewise. * config/avr/avr.h, config/ip2k/ip2k.h: Don't define NON_SAVING_SETJMP. * system.h: Poison NON_SAVING_SETJMP. * function.c (use_register_for_decl) * gcse.c (compute_hash_table_work, compute_store_table) * postreload-gcse.c (record_opr_changes) * reload.c (find_equiv_reg) * reload1.c (reload) * config/i386/i386.c (ix86_can_use_return_insn_p): Remove code conditional on NON_SAVING_SETJMP. * doc/tm.texi: Delete documentation of NON_SAVING_SETJMP. * config/i386/sysv3.h: Delete file. * config/i386/i386.c (ix86_svr3_asm_out_constructor): Delete. From-SVN: r91101
Zack Weinberg committed -
tree-vectorizer.c (vect_analyze_operations): Don't vectorize if the vectorization factor is greater than the iteration count. * tree-vectorizer.c (vect_analyze_operations): Don't vectorize if the vectorization factor is greater than the iteration count. (vect_gen_niters_for_prolog_loop): No need to calculate min if the iteration count is known. (vect_build_symbol_bound): Removed. Its functionality moved to vect_generate_tmps_on_preheader. (vect_generate_tmps_on_preheader): Moved content of vect_build_symbol_bound here instead of calling it. Changed some variables names. (vect_build_loop_niters): We don't expect a new_bb to be generated - use gcc_assert. (vect_gen_niters_for_prolog_loop): Likewise. (vect_gen_niters_for_prolog_loo): Likewise. (slpeel_make_loop_iterate_ntimes): Use buildN instead of build. (slpeel_add_loop_guard): Likewise. (slpeel_tree_peel_loop_to_edge): Likewise. (vect_do_peeling_for_alignment): Likewise. (vect_get_first_index): Missing space. From-SVN: r91100
Dorit Naishlos committed -
* config/s390/s390.md ("*iordi3"): Mark commutative. ("*iorsi3_zarch", "*iorsi3_esa"): Likewise. From-SVN: r91099
Ulrich Weigand committed -
tree-cfg.c (tree_try_redirect_by_replacing_jump): Speed up by restricting to the case with two outgoing edges. * tree-cfg.c (tree_try_redirect_by_replacing_jump): Speed up by restricting to the case with two outgoing edges. From-SVN: r91098
Kazu Hirata committed
-