aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-10-16UTF_16.java, [...]: Cleanup.Michael Koch9-19/+29
2004-10-16 Michael Koch <konqueror@gmx.de> * libjava/gnu/java/nio/charset/UTF_16.java, libjava/gnu/java/nio/charset/UTF_16BE.java, libjava/gnu/java/nio/charset/UTF_16LE.java, libjava/java/nio/ByteOrder.java, libjava/java/nio/MappedByteBuffer.java, libjava/java/nio/channels/Channels.java, libjava/java/nio/channels/spi/SelectorProvider.java, libjava/java/nio/charset/Charset.java: Cleanup. From-SVN: r89151
2004-10-162004-10-16 Michael Koch <konqueror@gmx.de>Michael Koch2-1/+6
* gnu/java/nio/charset/UTF_16Encoder.java (UTF_16Encoder): Fixed maxBytesPerChar handling. From-SVN: r89150
2004-10-16BigDecimal.java, [...]: Reorganized import statements, removed redundant and ↵Michael Koch3-38/+40
reorganized modifiers. 2004-10-16 Michael Koch <konqueror@gmx.de> * java/math/BigDecimal.java, java/math/BigInteger.java: Reorganized import statements, removed redundant and reorganized modifiers. From-SVN: r89149
2004-10-16ExplicitBeanInfo.java: Explicitely import java.awt.Image.Michael Koch2-6/+13
2004-10-16 Michael Koch <konqueror@gmx.de> * gnu/java/beans/ExplicitBeanInfo.java: Explicitely import java.awt.Image. (getIcon): Fixed off-by-one error. From-SVN: r89148
2004-10-16re PR tree-optimization/17766 (cc1 hangs in with -O3, works with -O2)Zdenek Dvorak7-18/+35
PR tree-optimization/17766 * basic-block.h (enum dom_state): DOM_CONS_OK removed. (dom_info_available_p): Declare. * cfghooks.c (split_block, make_forwarder_block): Use dom_info_available_p. * dominance.c (compute_dom_fast_query, calculate_dominance_info, free_dominance_info, verify_dominators): Ditto. (dom_info_available_p): New function. * tree-cfg.c (cleanup_control_expr_graph): Free dominance information. (thread_jumps): Use dom_info_available_p. * tree-complex.c (expand_complex_div_wide): Ditto. * tree-mudflap.c (mf_build_check_statement_for): Ditto. From-SVN: r89147
2004-10-16tree-ssa-loop-ivopts.c (struct ivopts_data): New field important_candidates.Zdenek Dvorak2-1/+22
* tree-ssa-loop-ivopts.c (struct ivopts_data): New field important_candidates. (find_best_candidate): Take also important candidates into account. (find_optimal_iv_set): Initialize important_candidates bitmap. From-SVN: r89146
2004-10-16re PR tree-optimization/17560 (Infinite recursion in tree-scalar-evolution ↵Zdenek Dvorak2-0/+7
with -Os) PR tree-optimization/17560 * predict.c (tree_estimate_probability): Mark irreducible loops. From-SVN: r89145
2004-10-16re PR rtl-optimization/17723 (gcc segfaults with -O2)Zdenek Dvorak2-4/+18
PR rtl-optimization/17723 * cfgcleanup.c (merge_memattrs): Handle case when MEM_SIZE == NULL_RTX. From-SVN: r89144
2004-10-16[multiple changes]Benjamin Kosnik2-3/+11
2004-10-16 Benjamin Kosnik <bkoz@redhat.com> * include/tr1/array: Don't use layout_type. 2004-10-16 Sashan Govender <sashang@gmail.com> * include/tr1/array (array::end const): Fix casting from iterator to const_iterator. From-SVN: r89139
2004-10-16* gcc.dg/bf-spl1.c: Use 'float' as the base type for FP types.Eric Botcazou2-2/+6
From-SVN: r89136
2004-10-16re PR c++/10479 (alignof and sizeof (and other expressions) in attributes ↵Giovanni Bajo4-0/+23
does not compile inside template classes) PR c++/10479 * parser.c (cp_parser_parenthesized_expression_list): Fold non-dependent expressions in attribute lists. PR c++/10479 * g++.dg/ext/attrib16.C: New test. From-SVN: r89135
2004-10-15toplev.c (dump_file_name): Change type to be const.Andrew Pinski2-1/+5
2004-10-15 Andrew Pinski <pinskia@physics.uc.edu> * toplev.c (dump_file_name): Change type to be const. From-SVN: r89131
2004-10-16Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r89127.2
2004-10-16Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r89126.2
2004-10-15c-typeck.c (build_compound_expr, [...]): Don't try to use non_lvalue to stop ↵Joseph Myers2-10/+5
something being a null pointer constant. * c-typeck.c (build_compound_expr, build_c_cast): Don't try to use non_lvalue to stop something being a null pointer constant. From-SVN: r89120
2004-10-15re PR c++/17042 (Duplicated symbol in assembly output)Mark Mitchell3-5/+5
PR c++/17042 * decl.c (declare_global_var): Use the return value from pushdecl. PR c++/14667 * parser.c (cp_parser_simple_declaration): Do not diagnose invalid type names if we have already found a valid type. (cp_parser_member_declaration): Likewise. PR c++/17852 * parser.c (cp_parser_member_specification_opt): Handle CPP_PRAGMA. PR c++/17042 * g++.dg/init/dso_handle1.C: New test. PR c++/17852 * g++.dg/parse/pragma1.C: New test. PR c++/14667 * g++.dg/parse/typedef6.C: New test. From-SVN: r89119
2004-10-15re PR c++/17042 (Duplicated symbol in assembly output)Mark Mitchell7-3/+65
PR c++/17042 * decl.c (declare_global_var): Use the return value from pushdecl. PR c++/14667 * parser.c (cp_parser_simple_declaration): Do not diagnose invalid type names if we have already found a valid type. (cp_parser_member_declaration): Likewise. PR c++/17852 * parser.c (cp_parser_member_specification_opt): Handle CPP_PRAGMA. PR c++/17042 * g++.dg/init/dso_handle1.C: New test. PR c++/17852 * g++.dg/parse/pragma1.C: New test. PR c++/14667 * g++.dg/parse/typedef6.C: New test. From-SVN: r89118
2004-10-15* gcc.c-torture/execute/ieee/ieee.exp: Disable on powerpc-*-*spe.Aldy Hernandez2-2/+6
From-SVN: r89113
2004-10-15rs6000.h (FUNCTION_ARG_REGNO_P): FPRs are only available for TARGET_FPRS.Aldy Hernandez2-2/+8
* config/rs6000/rs6000.h (FUNCTION_ARG_REGNO_P): FPRs are only available for TARGET_FPRS. (FUNCTION_VALUE_REGNO_P): Same. From-SVN: r89112
2004-10-15invoke.texi (RS/6000 and PowerPC Options): Document -maltivec in same style ↵Geoffrey Keating2-2/+8
as other ISA options. * doc/invoke.texi (RS/6000 and PowerPC Options): Document -maltivec in same style as other ISA options. From-SVN: r89111
2004-10-15parse.y (parse_warning_context): Remove ATTRIBUTE_PRINTF_2 and rename ↵Ranjit Mathew11-195/+219
parameter 'msg' to 'msgid' in function... * parse.y (parse_warning_context): Remove ATTRIBUTE_PRINTF_2 and rename parameter 'msg' to 'msgid' in function declaration. (issue_warning_error_from_context): Likewise. (yyerror): Rename parameter 'msg' to 'msgid'. (all over): Use new quoting style for diagnostics. * check-init.c: Use %<, %> and %q for quoting in diagnostics, if possible, else convert `foo' to 'foo'. * class.c: Likewise. * decl.c: Likewise. * expr.c: Likewise. * jcf-io.c: Likewise. * jcf-parse.c: Likewise. * lang.c: Likewise. * lex.c: Likewise. * parse.h: Likewise. From-SVN: r89110
2004-10-15struct-layout-1_generate.c (switchfiles): Use -fno-common when on HPPA HP-UX ↵Steve Ellcey2-4/+12
platforms. * gcc.dg/compat/struct-layout-1_generate.c (switchfiles): Use -fno-common when on HPPA HP-UX platforms. From-SVN: r89107
2004-10-15host-linux.c (TRY_EMPTY_VM_SPACE): Add __powerpc__ definition.Jon Grimm2-0/+7
2004-10-15 Jon Grimm <jgrimm2@us.ibm.com> * config/host-linux.c (TRY_EMPTY_VM_SPACE): Add __powerpc__ definition. From-SVN: r89106
2004-10-15struct-layout-1.h: Don't include complex.h nor stdint.h.Jakub Jelinek3-3/+9
other/16820 * gcc.dg/compat/struct-layout-1.h: Don't include complex.h nor stdint.h. * gcc.dg/compat/struct-layout-1_x1.h (TX): Cast to long instead of uintptr_t. From-SVN: r89105
2004-10-15Makefile.am (nat_files, [...]): New.Andrew Haley3-0/+11
2004-10-15 Andrew Haley <aph@redhat.com> * Makefile.am (nat_files, xlib_nat_files): New. * Makefile.in: Regenerate. From-SVN: r89104
2004-10-15boehm.c, [...]: Update copyright.Kazu Hirata12-11/+17
* boehm.c, builtins.c, java-except.h, jcf-io.c, jcf-path.c, jcf.h, lang-specs.h, lex.c, lex.h, resource.c, win32-host.c: Update copyright. From-SVN: r89100
2004-10-15* dump.c, g++spec.c, repo.c: Update copyright.Kazu Hirata4-3/+7
From-SVN: r89098
2004-10-15bitmap.c, [...]: Update copyright.Kazu Hirata50-49/+66
* bitmap.c, bitmap.h, builtin-attrs.def, cfglayout.h, collect2.h, conflict.c, coretypes.h, coverage.h, errors.h, gcc.h, gcov-dump.c, gen-protos.c, gencheck.c, gencodes.c, genconstants.c, gengenrtl.c, genmodes.c, genpeep.c, gensupport.h, graph.h, gthr-gnat.c, gthr-gnat.h, gthr-posix.c, gthr-posix.h, hard-reg-set.h, hwint.h, integrate.h, libgcc2.c, lists.c, machmode.def, mips-tdump.c, opts.h, params.c, predict.def, predict.h, protoize.c, reload.h, resource.h, rtl-error.c, sbitmap.c, sbitmap.h, sreal.c, tlink.c, tree-dump.h, tree-inline.h, unwind-dw2-fde.c, unwind-dw2.c, unwind-sjlj.c, value-prof.h: Update copyright. From-SVN: r89097
2004-10-15* decl.c: Fix a comment typo.Kazu Hirata2-1/+5
From-SVN: r89095
2004-10-15* pointer-set.c, tree-vectorizer.c: Fix comment typos.Kazu Hirata3-5/+9
From-SVN: r89094
2004-10-15[multiple changes]Andrew Pinski4-1/+21
2004-10-13 Andrew Pinski <pinskia@physics.uc.edu> PR c++/16301 * name-lookup.c (parse_using_directive): If we have a error_mark_node, do not set the decl namespace associations on it. 2004-10-14 Andrew Pinski <pinskia@physics.uc.edu> PR c++/16301 * g++.dg/lookup/strong-using-4.C: New test. From-SVN: r89093
2004-10-15re PR middle-end/16567 (Nested function and variable-sized structure ICE)Andrew Pinski2-0/+24
2004-10-14 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/16567 * gcc.c-torture/compile/nested-1.c: New test. From-SVN: r89092
2004-10-15bitmap_allocator.h: Qualify ::operator delete.Paolo Carlini6-17/+64
2004-10-15 Paolo Carlini <pcarlini@suse.de> * include/ext/bitmap_allocator.h: Qualify ::operator delete. * src/bitmap_allocator.cc: Likewise. * src/mt_allocator.cc: Use ::operator delete, not delete, consistently with ::operator new. * include/ext/bitmap_allocator.h (deallocate): Check for null pointer. * testsuite/ext/bitmap_allocator/check_deallocate_null.cc: New. * testsuite/testsuite_allocator.h (check_deallocate_null): Add test. From-SVN: r89089
2004-10-15vect-44.c: xfail on i?86-*-*...Dorit Naishlos8-27/+38
* testsuite/gcc.dg/vect/vect-44.c: xfail on i?86-*-*, x86_64-*-*, and mipsisa64*-*-* (until support for misaligned loads is added). * testsuite/gcc.dg/vect/vect-50.c: Likewise. * testsuite/gcc.dg/vect/vect-52.c: Likewise. * testsuite/gcc.dg/vect/vect-54.c: Likewise. * testsuite/gcc.dg/vect/vect-58.c: Likewise. * testsuite/gcc.dg/vect/vect-60.c: Likewise. * testsuite/gcc.dg/vect/vect-80.c: Likewise. From-SVN: r89088
2004-10-15re PR other/17991 (Two-process fixincludes broken: pz_mn_name_pat undefined)Paolo Bonzini10-72/+172
2004-08-14 Paolo Bonzini <bonzini@gnu.org> PR other/17991 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o. Update copyright year. * fixfixes.c (main): Call initialize_opts from fixopts.c. * fixincl.c (initialize): Call initialize_opts from fixopts.c, do not include code for parsing options (environment vars). (fix_with_system): Use a search path for applyfix, so that you can run the test suite with two-process fixincludes. * fixopts.c: New file. * configure.ac: Add --enable-twoprocess. Export ac_exeext to config.h. Default to --enable-twoprocess for MinGW32. * config.h.in: Regenerate. * configure: Regenerate. From-SVN: r89087
2004-10-15tree-optimize.c (execute_one_pass): Stop timer right after executing the pass.Diego Novillo2-3/+10
* tree-optimize.c (execute_one_pass): Stop timer right after executing the pass. From-SVN: r89086
2004-10-15re PR c++/17976 (Calls the dtor twice)Mark Mitchell4-4/+50
PR c++/17976 * decl.c (cp_finish_decl): Do not call expand_static_init more than once for a single variable. PR c++/17976 * g++.dg/init/dtor3.C: New test. From-SVN: r89081
2004-10-14revert: re PR middle-end/17967 (Expand is considered slower? ↵Andrew Pinski2-0/+17
(remove_useless_stmts is considered part of expand)) 2004-10-14 Andrew Pinski <pinskia@physics.uc.edu> Revert: 2004-10-14 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/17967 Revert: * tree-cfg.c (remove_usless_stmts_cond): Fold statement. (remove_useless_stmts_1): Fold trees we know how to fold. From-SVN: r89080
2004-10-14configure.ac: Add .machine power4 directive when testing for mfcr field.David Edelsohn3-2/+10
* configure.ac: Add .machine power4 directive when testing for mfcr field. * configure: Regenerate. From-SVN: r89076
2004-10-15* config/darwin.h (JUMP_TABLES_IN_TEXT_SECTION): Don't define.Geoffrey Keating2-7/+4
From-SVN: r89075
2004-10-14tree-vectorizer.c (vect_transform_loop): Declare vectorization_factor always.Andrew Pinski2-2/+5
2004-10-14 Andrew Pinski <pinskia@physics.uc.edu> * tree-vectorizer.c (vect_transform_loop): Declare vectorization_factor always. From-SVN: r89074
2004-10-15Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r89072.2
2004-10-15Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r89071.2
2004-10-15* gcc.dg/ppc-stackalign-1.c: Set dg-options to {}.Ben Elliston2-0/+5
From-SVN: r89068
2004-10-14rs6000.h (REG_CLASS_FROM_LETTER): Return NO_REGS for 'f' if !TARGET_FPRS.Daniel Jacobowitz2-1/+6
* config/rs6000/rs6000.h (REG_CLASS_FROM_LETTER): Return NO_REGS for 'f' if !TARGET_FPRS. From-SVN: r89067
2004-10-14re PR debug/14492 (loc_descriptor_from_tree, in dwarf2out.c:9031)Richard Henderson2-0/+11
PR debug/14492 * dwarf2out.c (loc_descriptor_from_tree): Handle FIX_*_EXPR. From-SVN: r89066
2004-10-14re PR c/17023 (ICE with nested functions in parameter declaration)Richard Henderson4-2/+21
PR c/17023 * c-decl.c (store_parm_decls_oldstyle): Care for parameter type as error_mark_node. * c-parse.in (compstmt_primary_start): Check cur_stmt_list non-null instaed of current_function_decl non-null. From-SVN: r89063
2004-10-14Speed up walk_tree by introducing a special-purpose hash table.Matt Austern18-57/+296
* pointer-set.c: New file, special-purpose hash table. * pointer-set.h: New file. * tree.h (struct pointer_set_t): Declare as opaque type. (tree_walk): Last argument is pointer_set_t* now. * tree-inline.c (WALK_SUBTREE): Convert from htab to pset. (walk_type_fields): (walk_tree): Convert from htab_t to pointer_set_t for keeping track of which nodes have already been visited. (walk_tree_without_duplicates): Convert from htab_t to pointer_set_t. * cgraphunit.c (cgraph_create_edges): Likewise. (cgraph_characterize_statics_local): Likewise. * tree-dfa.c (collect_dfa_stats): Likewise. * langhooks-def.h (lhd_tree_inlining_walk_subtrees): Last arg is pointer_set_t* now. * langhooks.c (lhd_tree_inlining_walk_subtrees): Likewise. * langhooks.h (struct lang_hooks_for_tree_inlining): Last arg type of walk_subtrees is pointer_set_t* now. * Makefile.in (OBJS-common): add pointer-set.o (tree-inline.o): Depends on pointer-set.h (tree-dfa.o): Likewise (cgraphunit.o): Likewise * cp/Make-lang.in (pt.o): depends on pointer-set.h * cp/cp-tree.h (cp_walk_subtrees): Last argument is pointer_set_t* now. * cp/pt.c (struct pair_fn_data): Use pointer_set_t, not htab_t (for_each_template_parm): Convert from htab_t to pointer_set_t. * cp/tree.c (cp_walk_subtrees): Last argument is pointer_set_t* now. * java/lang.c (java_tree_inlining_walk_subtrees): Last arg is struct pointer_set_t* now. From-SVN: r89062
2004-10-14mt_allocator.h (__mt_alloc::deallocate): Check for null pointer.Benjamin Kosnik14-32/+373
2004-10-14 Benjamin Kosnik <bkoz@redhat.com> * include/ext/mt_allocator.h (__mt_alloc::deallocate): Check for null pointer. * include/ext/pool_allocator.h (debug_allocator::deallocate): Check pointer value. * include/ext/debug_allocator.h (debug_allocator::deallocate): Throw exceptions, don't abort. * include/ext/array_allocator.h (array_allocator_base::deallocate): Remove unused parameters. * testsuite/testsuite_allocator.h (check_deallocate_null): New. * testsuite/ext/mt_allocator/check_deallocate_null.cc: New. * testsuite/ext/mt_allocator/check_deallocate_null_thread.cc: New. * testsuite/ext/array_allocator/check_deallocate_null.cc: New. * testsuite/ext/debug_allocator/check_deallocate_null.cc: New. * testsuite/ext/malloc_allocator/check_deallocate_null.cc: New. * testsuite/ext/new_allocator/check_deallocate_null.cc: New. * testsuite/ext/pool_allocator/check_deallocate_null.cc: New. * testsuite/testsuite_allocator.h (check_new): Add instance argument. * testsuite/ext/array_allocator/check_new.cc: New. From-SVN: r89060
2004-10-14darwin.h (ASM_SPEC): Delete.Geoffrey Keating10-43/+86
2004-10-14 Geoffrey Keating <geoffk@apple.com> * config/rs6000/darwin.h (ASM_SPEC): Delete. (TARGET_ASM_FILE_START): Define. * config/darwin.h (ASM_SPEC): Define. * config/rs6000/t-darwin (TARGET_LIBGCC2_CFLAGS): Don't supply -mlong-double-128, it's the default. Update comment about reason for force_cpusubtype_ALL. * config/rs6000/darwin-vecsave.asm: Supply .machine. * config/rs6000/darwin-world.asm: Likewise. * config/rs6000/rs6000.c (rs6000_darwin_file_start): New. (symbolic_operand): Delete #if 0ed code. Index: testsuite/ChangeLog 2004-10-14 Geoffrey Keating <geoffk@apple.com> * gcc.dg/darwin-misaligned.c: Don't supply -force_cpusubtype_ALL. * gcc.dg/macho-lo-sum.c: Likewise. From-SVN: r89059