- 24 Nov, 2004 40 commits
-
-
PR c++/18586 * parser.c (cp_parser_init_declarator): Do not pop scope twice. PR c++/18586 * g++.dg/template/crash27.C: New test. From-SVN: r91182
Mark Mitchell committed -
2004-11-24 Jonathan Wakely <redi@kayari.org> * docs/html/ext/howto.html: Fix incorrect link. * docs/html/documentation.html: Regenerate. From-SVN: r91181
Jonathan Wakely committed -
PR c++/18530 * cp-tree.h (CTOR_NAME): Remove. (DTOR_NAME): Remove. * decl.c (initialize_predefined_identifiers): Add spaces to the end of constructor and destructor names. PR c++/18530 * g++.dg/warn/Wshadow-3.C: New test. From-SVN: r91179
Mark Mitchell committed -
PR/18555 * gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add isysroot. * config/darwin-c.c (darwin_register_frameworks): Use sysroot. testsuite * gcc.dg/cpp/isysroot-1.c: New test. * gcc.dg/cpp/usr/include/stdio.h: New file. * gcc.dg/cpp/isysroot-2.c: New test. * gcc.dg/cpp/System/Library/Framework/Carbon.framework/Headers/Carbon.h: New file. From-SVN: r91178
Devang Patel committed -
From-SVN: r91177
Devang Patel committed -
* include/bits/streambuf_iterator.h (istreambuf_iterator<>::operator++(), operator++(int)): Don't check unnecessarily the return value of _M_sbuf->sbumpc(). From-SVN: r91176
Nathan Myers committed -
* 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
David Edelsohn committed -
tree.c (recompute_tree_invarant_for_addr_expr): The address of a 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
Aldy Hernandez committed -
* 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
Richard Kenner committed -
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
Benjamin Kosnik committed -
* 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
Richard Kenner committed -
* tree-ssa-dom.c (cprop_into_successor_phis): Replace index with indx. From-SVN: r91169
Kazu Hirata committed -
* 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
Nathan Sidwell committed -
From-SVN: r91167
Kazu Hirata committed -
* 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
Kazu Hirata committed -
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
Michael Koch committed -
* tree-ssa-alias.c (merge_pointed_to_info): Fix comment regarding PT_MALLOC. From-SVN: r91164
Diego Novillo committed -
* 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
Joseph Myers committed -
* config/i386/sol2.h (X86_FILE_START_VERSION_DIRECTIVE): Define to false. From-SVN: r91162
Mark Mitchell committed -
* config/i386/t-sol2-10 (MULTILIB_DIRNAMES, MULTILIB_OSDIRNAMES): Use amd64 instead of 64. From-SVN: r91161
Joseph Myers committed -
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
Mark Mitchell committed -
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
Roger Sayle committed -
* config/locale/ieee_1003.1-2001/codecvt_specializations.h (do_out, do_unshift, do_in): Remove redundant typedef. From-SVN: r91156
Volker Reichelt committed -
tree-ssa-loop-manip.c (lv_adjust_loop_header_phi): Use find_edge to find the 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
Kazu Hirata committed -
* tree-ssa-pre.c (phi_translate): Use find_edge to find the index of a PHI argument. From-SVN: r91154
Kazu Hirata committed -
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
Michael Koch committed -
2004-11-24 Michael Koch <konqueror@gmx.de> * java/util/ResourceBundle.java: Reformatted. (tryBundle): Fixed javadoc. From-SVN: r91152
Michael Koch committed -
* java/text/MessageFormat.java (formatInternal): Made private. From-SVN: r91151
Jeroen Frijters committed -
* 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
Michael Koch committed -
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
-