aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-11-242004-11-24 Nathan Myers <ncm@cantrip.org>Nathan Myers2-12/+16
* include/bits/streambuf_iterator.h (istreambuf_iterator<>::operator++(), operator++(int)): Don't check unnecessarily the return value of _M_sbuf->sbumpc(). From-SVN: r91176
2004-11-24rs6000.c (rs6000_return_in_memory): Allow Altivec vector modes without ↵David Edelsohn2-11/+47
ALTIVEC_ABI. * config/rs6000/rs6000.c (rs6000_return_in_memory): Allow Altivec vector modes without ALTIVEC_ABI. Use GCC vector instead of synthetic vector. (rs6000_pass_by_reference): Split conditional into pieces. Use GCC vector instead of synthetic vector. Co-Authored-By: Paolo Bonzini <bonzini@gnu.org> From-SVN: r91175
2004-11-24tree.c (recompute_tree_invarant_for_addr_expr): The address of a ↵Aldy Hernandez2-1/+8
thread-local variable is invariant. * tree.c (recompute_tree_invarant_for_addr_expr): The address of a thread-local variable is invariant. From-SVN: r91174
2004-11-24tree-pretty-print.c (dump_generic_node, [...]): Handle TYPE_REF_CAN_ALIAS_ALL.Richard Kenner2-7/+19
* tree-pretty-print.c (dump_generic_node, case POINTER_TYPE): Handle TYPE_REF_CAN_ALIAS_ALL. (print_declaration): Print array dimensions like dump_generic_node. From-SVN: r91173
2004-11-24[multiple changes]Benjamin Kosnik7-150/+284
2004-11-24 Benjamin Kosnik <bkoz@redhat.com> * include/Makefile.am (tr1_headers): Add utility, functional. * include/Makefile.in: Regenerate. 2004-11-24 Chris Jefferson <chris@bubblescope.net> * include/tr1/tuple(operator!=): Change operator definition to match (draft) technical report. (operator>): Same. (operator<=): Same. (operator>=): Same. (ref): Move to include/tr1/functional. (cref): Same. (tuple_size<pair>): Move to include/tr1/utility. (tuple_element<,pair>): Same. * include/tr1/functional: New. * include/tr1/utility: New. * testsuite/tr1/6_container/utility/pair.cc: New. From-SVN: r91171
2004-11-24fold-const.c (operand_equal_p): Remove kludge allowing ARG0 and ARG1 to be ↵Richard Kenner2-54/+42
null... * fold-const.c (operand_equal_p): Remove kludge allowing ARG0 and ARG1 to be null; instead define OP_SAME and OP_SAME_NULL and use them. From-SVN: r91170
2004-11-24tree-ssa-dom.c (cprop_into_successor_phis): Replace index with indx.Kazu Hirata2-4/+7
* tree-ssa-dom.c (cprop_into_successor_phis): Replace index with indx. From-SVN: r91169
2004-11-24bitmap.c (INLINE): Do not define.Nathan Sidwell2-17/+14
* bitmap.c (INLINE): Do not define. (bitmap_elem_to_freelist, bitmap_element_free, bitmap_element_allocate, bitmap_clear, bitmap_element_zerop, bitmap_element_link, bitmap_find_bit): Use inline keyword/macro. From-SVN: r91168
2004-11-24Fix a date.Kazu Hirata1-1/+1
From-SVN: r91167
2004-11-24tree-ssa-dom.c (cprop_into_successor_phis): Remove code to find the index of ↵Kazu Hirata2-35/+10
a PHI argument. * tree-ssa-dom.c (cprop_into_successor_phis): Remove code to find the index of a PHI argument. Use e->dest_idx instead. Replace hint with index. From-SVN: r91166
2004-11-24PolicyFile.java: New file.Michael Koch4-1/+680
2004-11-24 Michael Koch <konqueror@gmx.de> * gnu/java/security/PolicyFile.java: New file. * Makefile.am: Added gnu/java/security/PolicyFile.java. * Makefile.in: Regenerated. From-SVN: r91165
2004-11-24tree-ssa-alias.c (merge_pointed_to_info): Fix comment regarding PT_MALLOC.Diego Novillo2-14/+16
* tree-ssa-alias.c (merge_pointed_to_info): Fix comment regarding PT_MALLOC. From-SVN: r91164
2004-11-24i386.c (optimization_options): Use SUBTARGET_OPTIMIZATION_OPTIONS.Joseph Myers3-2/+20
* config/i386/i386.c (optimization_options): Use SUBTARGET_OPTIMIZATION_OPTIONS. * config/i386/sol2-10.h (SUBTARGET_OPTIMIZATION_OPTIONS): Define. (TARGET_SUBTARGET_DEFAULT): Don't include MASK_OMIT_LEAF_FRAME_POINTER. From-SVN: r91163
2004-11-24sol2.h (X86_FILE_START_VERSION_DIRECTIVE): Define to false.Mark Mitchell2-0/+9
* config/i386/sol2.h (X86_FILE_START_VERSION_DIRECTIVE): Define to false. From-SVN: r91162
2004-11-24t-sol2-10 (MULTILIB_DIRNAMES, [...]): Use amd64 instead of 64.Joseph Myers2-2/+7
* config/i386/t-sol2-10 (MULTILIB_DIRNAMES, MULTILIB_OSDIRNAMES): Use amd64 instead of 64. From-SVN: r91161
2004-11-24crtstuff.c (IN_LIBGCC2): Define it.Mark Mitchell7-25/+83
2004-11-24 Mark Mitchell <mark@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * crtstuff.c (IN_LIBGCC2): Define it. (EH_FRAME_SECTION_CONST): Check EH_TABLES_CAN_BE_READ_ONLY instead of HAVE_LD_RO_RW_SECTION_MIXING. * defaults.h (EH_TABLES_CAN_BE_READ_ONLY): New macro. * dwarf2out.c (named_section_eh_frame_section): Check EH_TABLES_CAN_BE_READ_ONLY. * except.c (default_exception_section): Likewise. * config/i386/sol2.h (EH_TABLES_CAN_BE_READ_ONLY): Define. * doc/tm.texi (EH_TABLES_CAN_BE_READ_ONLY): Document. Co-Authored-By: Joseph Myers <joseph@codesourcery.com> From-SVN: r91160
2004-11-24re PR preprocessor/15824 (uchar redefinition warnings in libcpp)Roger Sayle3-4/+9
PR preprocessor/15824 * configure.ac: Correct HAVE_UCHAR test to #include <sys/types.h> directly, instead of the non-existant "system.h" and "ansidecl.h". * configure: Regenerate. From-SVN: r91157
2004-11-242004-11-24 Volker Reichelt <reichelt@igpm.rwth-aachen.de>Volker Reichelt2-5/+9
* config/locale/ieee_1003.1-2001/codecvt_specializations.h (do_out, do_unshift, do_in): Remove redundant typedef. From-SVN: r91156
2004-11-24tree-ssa-loop-manip.c (lv_adjust_loop_header_phi): Use find_edge to find the ↵Kazu Hirata2-7/+8
index of a PHI argument. * tree-ssa-loop-manip.c (lv_adjust_loop_header_phi): Use find_edge to find the index of a PHI argument. From-SVN: r91155
2004-11-24tree-ssa-pre.c (phi_translate): Use find_edge to find the index of a PHI ↵Kazu Hirata2-10/+14
argument. * tree-ssa-pre.c (phi_translate): Use find_edge to find the index of a PHI argument. From-SVN: r91154
2004-11-24Character.java, [...]: Reorder "final static" to "static final".Michael Koch3-90/+95
2004-11-24 Michael Koch <konqueror@gmx.de> * java/lang/Character.java, scripts/unicode-blocks.pl: Reorder "final static" to "static final". From-SVN: r91153
2004-11-24ResourceBundle.java: Reformatted.Michael Koch2-3/+10
2004-11-24 Michael Koch <konqueror@gmx.de> * java/util/ResourceBundle.java: Reformatted. (tryBundle): Fixed javadoc. From-SVN: r91152
2004-11-242004-11-24 Jeroen Frijters <jeroen@frijters.net>Jeroen Frijters2-3/+9
* java/text/MessageFormat.java (formatInternal): Made private. From-SVN: r91151
2004-11-242004-11-24 Michael Koch <konqueror@gmx.de>Michael Koch5-2/+38
* java/nio/DirectByteBufferImpl.java (ReadWrite.ReadWrite): New constructor. (DirectByteBufferImpl): Likewise. * jni.cc (_Jv_JNI_NewDirectByteBuffer): Use DirectByteBufferImpl.ReadWrite. * Makefile.am: Generate java/nio/DirectByteBufferImpl$ReadWrite.h. * Makefile.in: Rgenerated. From-SVN: r91150
2004-11-24expr.c (expand_expr_real_1): Remove cases for EXIT_BLOCK_EXPR and ↵Steven Bosscher14-149/+115
LABELED_BLOCK_EXPR. 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
2004-11-24cfgrtl.c (rtl_delete_block): Fix comment.Steven Bosscher9-318/+60
* 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
2004-11-242004-11-24 Jeroen Frijters <address@bogus.example.com>Jeroen Frijters3-37/+124
* 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
2004-11-24NIOServerSocket.java: Added email to @author tag.Michael Koch9-61/+115
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
2004-11-24re PR c++/8929 (G++ accepts invalid template headers in member definitions ↵Giovanni Bajo4-1/+16
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
2004-11-24align.c: Do not include <stdint.h>.Eric Botcazou3-4/+9
* gcc.target/sparc/align.c: Do not include <stdint.h>. * gcc.target/sparc/pdist.c: Likewise. From-SVN: r91144
2004-11-24Oops - forgot to commit the change to config.gcc when checking in this patch:Nick Clifton2-2/+7
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
2004-11-24re PR c++/16882 (overloading confused by const vector arguments)Paolo Bonzini7-7/+66
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
2004-11-24DirectByteBufferImpl.java, [...]: Reformatted.Michael Koch3-134/+140
2004-11-24 Michael Koch <konqueror@gmx.de> * java/nio/DirectByteBufferImpl.java, java/nio/MappedByteBufferImpl.java: Reformatted. From-SVN: r91141
2004-11-24target.h (late_rtl_prologue_epilogue): Remove.Eric Botcazou6-41/+21
* 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
2004-11-24testsuite_iterators.h: New.Chris Jefferson4-0/+720
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
2004-11-24* gcc/testsuite/ada/acats/run_acats: Missed in last commit.John David Anglin1-1/+2
From-SVN: r91138
2004-11-24target-libpath.exp: New file defining set_ld_library_path_env_vars and ↵John David Anglin17-282/+2367
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
2004-11-24hwint.h (HOST_LONG_LONG_FORMAT): New macro.Mark Mitchell4-6/+29
* 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
2004-11-24doxygroups.cc: Add std::tr1 namespace.Benjamin Kosnik67-100/+179
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
2004-11-24cp-tree.h (context_as_string): Remove extern.Ben Elliston7-59/+22
* 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
2004-11-24re PR other/18623 (4 * libiberty local variables set but never used)Ian Lance Taylor3-13/+13
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
2004-11-24i386.c (override_options): Move SUBTARGET_OVERRIDE_OPTIONS before defaulting ↵Daniel Jacobowitz2-4/+10
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
2004-11-24Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r91130.2
2004-11-24Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r91128.2
2004-11-23rtl.h (validate_subreg): Declare.Richard Henderson5-74/+147
* 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
2004-11-24Makefile.in, [...]: Regenerate with automake 1.9.3.Kelley Cook5-101/+236
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
2004-11-23expmed.c (extract_bit_field): Use simplify_gen_subreg instead of hard-coding ↵Richard Henderson2-20/+42
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
2004-11-23Add missing PR number.Diego Novillo1-0/+1
From-SVN: r91123
2004-11-23tree-into-ssa.c (DEF_VEC_MALLOC_P(basic_block)): Declare.Diego Novillo3-73/+78
* 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
2004-11-23cse.c (record_jump_cond_subreg): New.Richard Henderson2-20/+33
* cse.c (record_jump_cond_subreg): New. (record_jump_cond): Use it instead of gen_lowpart. From-SVN: r91119