aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-06-01[multiple changes]Michael Koch3-7/+33
2004-06-01 Tom Tromey <tromey@redhat.com> * java/io/ObjectStreamField.java: Cleaned up imports. 2004-06-01 Michael Koch <konqueror@gmx.de> * java/io/ObjectStreamField.java: Style and javadoc cleanup. 2004-06-01 Mark Wielaard <mark@klomp.org> * java/io/Writer.java (Writer(Object)): Fixed API doc. From-SVN: r82545
2004-06-01re PR fortran/15477 (gfortran should not have own version number)Tobias Schlüter3-4/+9
PR fortran/15477 * gfortran.h (GFC_VERSION): Remove. * gfortran.texi (version-gfortran): Remove, replace by version-GCC where used. From-SVN: r82544
2004-06-012004-06-01 Michael Koch <konqueror@gmx.de>Michael Koch3-19/+19
* java/security/Security.java (insertProviderAt): Use equals() instead of ==. (removeProvicer): Likewise. (getProvider): Likewise. * java/security/Signature.java (sign): Don't set state to UNINITIALIZED. (verify): Likewise. From-SVN: r82543
2004-06-01re PR target/15626 (GCC 3.4 emits "ld: warning: relocation error: R_SPARC_UA32")Paul Eggert2-2/+20
PR target/15626 * doc/install.texi (sparc-sun-solaris2*): Document messages issued by the Sun linker in conjunction with the Sun assembler. (sparc-sun-solaris2.7): Update revision info for Sun patch 106950. From-SVN: r82541
2004-06-01re PR c++/14932 (cannot use offsetof to get offsets of array elements in g++ ↵Giovanni Bajo4-3/+29
3.4.0 prerelease) PR c++/14932 * parser.c (cp_parser_postfix_expression): Allow subscript operator in offsetof. PR c++/14932 * g++.dg/parse/offsetof4.C: New test. From-SVN: r82538
2004-06-01Makefile.tpl: Fix typo.Paolo Bonzini4-7/+12
2004-06-01 Paolo Bonzini <bonzini@gnu.org> * Makefile.tpl: Fix typo. * Makefile.in: Regenerate. From-SVN: r82536
2004-06-01configure.in: Remove new- prefix from toplevel bootstrap targets.Paolo Bonzini3-2/+8
2004-06-01 Paolo Bonzini <bonzini@gnu.org> * configure.in: Remove new- prefix from toplevel bootstrap targets. * configure: Regenerate. From-SVN: r82535
2004-06-01Makefile.tpl (all.normal): Rename to all.Paolo Bonzini6-162/+387
2004-06-01 Paolo Bonzini <bonzini@gnu.org> * Makefile.tpl (all.normal): Rename to all. (all): Replace with a rule to pick the default target from configure. (all-gcc, configure-gcc): Use conditionals to do nothing when toplevel bootstrap is going on. (GCC directory bootstrap) [gcc-bootstrap]: Disable. (Toplevel bootstrap) [gcc-no-bootstrap]: Disable. * configure.in: Support --enable-bootstrap. * Makefile.def: Remove new- prefix from toplevel bootstrap targets. * Makefile.tpl: Likewise. * Makefile.def: Add bootstrap_stage 4. Add bootstrap2 target. * Makefile.tpl (Toplevel bootstrap): Pass $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) to recursive invocation of make. * Makefile.in: Regenerate. * configure: Regenerate. From-SVN: r82534
2004-06-01stmt.c (expand_decl): Be more selective about calling mark_reg_pointer.Jeff Law2-5/+19
* stmt.c (expand_decl): Be more selective about calling mark_reg_pointer. From-SVN: r82533
2004-06-01re PR objc/7993 (private variables cannot be shadowed in subclasses)Nicola Pero5-18/+146
2004-06-01 Nicola Pero <nicola@brainstorm.co.uk> Fix PR objc/7993: * objc-act.c (is_private): Do not emit the 'instance variable %s is declared private' error. (is_public): Emit the error after calling is_private. (lookup_objc_ivar): If the instance variable is private, return 0 - the instance variable is invisible here. testsuite: * objc.dg/private-1.m, objc-dg/private-2.m: New testcases. From-SVN: r82532
2004-06-01invoke.texi (-static-libgcc): Explicitly mention non-GNU linkers.Eric Botcazou2-8/+13
* doc/invoke.texi (-static-libgcc): Explicitly mention non-GNU linkers. From-SVN: r82529
2004-06-01config.h.in: Regenerated.Andreas Jaeger3-174/+336
* config.h.in: Regenerated. * testsuite/Makefile.in: Regenerated. From-SVN: r82528
2004-06-01configure.in: Handle multilibs, support --enable-version-specific-runtime-libs.Andreas Jaeger7-3034/+7365
* configure.in: Handle multilibs, support --enable-version-specific-runtime-libs. * Makefile.am (lib_LTLIBRARIES): Rename to ... (toolexeclib_LTLIBRARIES): this for multilib support. * Makefile.in: Regenerated. * configure: Regenerated. * aclocal.m4: Regenerated. * testsuite/lib/libmudflap.exp (libmudflap-init): Handle multilibs, using multilib directory instead of hardcoded path. Set LD_RUN_PATH. From-SVN: r82527
2004-06-01Daily bump.GCC Administrator2-2/+2
From-SVN: r82525
2004-05-31GtkComponentPeer.java (requestFocus): Implement by calling gtkRequestFocus.Mark Wielaard4-8/+26
2004-06-01 Mark Wielaard <mark@klomp.org> * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus): Implement by calling gtkRequestFocus. (gtkRequestFocus): New native method. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__): Renamed to ... (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus): New function name. (filter_expose_event_handler): Mark static. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c (menu_pos): Mark static. From-SVN: r82517
2004-05-31re PR c++/15701 (ICE with friends and template template parameter)Mark Mitchell4-1/+27
PR c++/15701 * friend.c (add_friend): Do not try to perform access checks for functions from dependent classes. PR c++/15701 * g++.dg/template/friend29.C: New test. From-SVN: r82516
2004-06-01re PR target/12968 (doc m68k -mshort)Bernardo Innocenti2-0/+7
PR target/12968 * doc/invoke.texi: Document stack alignment side-effect of -mshort. From-SVN: r82511
2004-05-31CollationElementIterator.java, [...]: New versions from GNU classpath.Michael Koch5-387/+943
2004-06-01 Michael Koch <konqueror@gmx.de> * java/text/CollationElementIterator.java, java/text/CollationKey.java, java/text/RuleBasedCollator.java: New versions from GNU classpath. * testsuite/libjava.mauve/xfails: Removed all java.text.CollationElementIterator tests. From-SVN: r82510
2004-05-31InflaterInputStream.java: Merged more with Classpath version.Michael Koch3-27/+72
2004-06-01 Michael Koch <konqueror@gmx.de> * java/util/zip/InflaterInputStream.java: Merged more with Classpath version. * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed Java 1.5 keyword usage. From-SVN: r82509
2004-05-31re PR c/15749 (--pedantic-errors behaves differently from --pedantic with ↵Joseph Myers5-2/+50
C-compiler on Linux) PR c/15749 * c-decl.c (grokdeclarator, finish_struct): Don't pedwarn for misuses of structures with flexible array members if in_system_header. testsuite: * gcc.dg/pr15749-1.c, gcc.dg/pr15749-1.h: New test. From-SVN: r82506
2004-05-31re PR target/15693 (ICE - unrecognizable insn)Eric Botcazou6-2/+69
PR target/15693 * config/sparc/sparc.c (compare_operand): New predicate. * config/sparc/sparc.h (PREDICATE_CODES): Add it. * config/sparc/sparc.md (cmpsi expander): Use it. If the first operand is a ZERO_EXTRACT and the second operand is not zero, force the former to a register. (cmpdi expander): Likewise. From-SVN: r82500
2004-05-31re PR c++/15742 ('noreturn' attribute ignored in method of template functions.)Mark Mitchell15-18/+200
PR c++/15742 * call.c (build_over_call): Set current_function_returns_abnormally even in template functions. PR c++/15696 * cp-tree.h (invalid_nonstatic_memfn_p): New function. * cvt.c (convert_to_void): Use it. * typeck.c (invalid_nonstatic_memfn_p): New function. (decay_conversion): Use it. PR c++/15625 * pt.c (tsubst_decl): Set DECL_FRIEND_CONTEXT for instantiated templates. PR c++/15629 * name-lookup.c (arg_assoc_class): Do not find template specializations. PR c++/15209 * tree.c (lvalue_p_1): Only consider the right-hand side of "." expressions when determining whether or not an express is packed. PR c++/15742 * g++.dg/warn/Wreturn-1.C: New test. PR c++/15696 * g++.dg/expr/ptrmem5.C: New test. PR c++/15625 * g++.dg/template/friend27.C: New test. PR c++/15629 * g++.dg/template/friend28.C: New test. * g++.dg/template/friend.C: Do not depend on <iostream>. Add error message. PR c++/15209 * g++.dg/ext/packed3.C: Remove bogus error. * g++.dg/ext/packed4.C: Remove bogus check. * g++.dg/ext/packed6.C: New test. From-SVN: r82499
2004-05-31linker-map.gnu (GLIBCXX_3.4.1): Add.Benjamin Kosnik6-9/+47
2004-05-31 Benjamin Kosnik <bkoz@redhat.com> * config/linker-map.gnu (GLIBCXX_3.4.1): Add. * testsuite/testsuite_abi.cc: Same. * configure.ac (libtool_VERSION): Bump to 6:1:0. * configure: Regenerate. * aclocal.m4: Regenerate. From-SVN: r82498
2004-05-31* javax/swing/plaf/basic/BasicMenuUI.java:Olga Rodimina2-3/+9
(MouseEntered): Do not call getPath() from MenuSelectionManager. Call getPath() from super class instead. From-SVN: r82496
2004-05-31gengtype-lex.l: Catch stray GTY markers in the files gengtype looks at.Geoffrey Keating3-1/+13
* gengtype-lex.l: Catch stray GTY markers in the files gengtype looks at. * alias.c (alias_invariant_size): Make alias_invariant_size static, fix GTY marker. From-SVN: r82493
2004-05-31* trans-types.c: Fix spelling & layout in comments.Tobias Schlüter2-10/+28
From-SVN: r82492
2004-05-31re PR tree-optimization/15743 (Fold index() at tree level.)Kazu Hirata2-0/+7
PR tree-optimization/15743. * builtins.c (fold_builtin_1): Fold index() and rindex(). From-SVN: r82491
2004-05-31re PR c++/15069 (a bit test on a variable of enum type is miscompiled)Roger Sayle4-5/+37
PR middle-end/15069 * fold-const.c (fold_single_bit_test): Only perform "(X & C) != 0" into "X < 0" (where C is the signbit) if X's type is a full mode. * g++.dg/opt/fold3.C: New test case. From-SVN: r82490
2004-05-31pa.md: Disable the peephole2 patterns that generate indexed floating-point ↵John David Anglin2-0/+33
stores when... * pa.md: Disable the peephole2 patterns that generate indexed floating-point stores when indexing is disabled. From-SVN: r82489
2004-05-31c-pretty-print.c (pp_c_left_bracket): Make a function.Gabriel Dos Reis6-51/+153
* c-pretty-print.c (pp_c_left_bracket): Make a function. (pp_c_right_bracket): Likewise. (pp_c_star): Likewise. (pp_c_ampersand): Define. * c-pretty-print.h (pp_c_left_bracket): Declare. (pp_c_right_bracket): Likewise. (pp_c_star): Likewise. (pp_c_ampersand): Likewise. cp/ * cxx-pretty-print.c (pp_cxx_colon_colon): Expor. (pp_cxx_begin_template_argument_list): Turn into a function. (pp_cxx_end_template_argument_list): Likewise. (pp_cxx_separate_with): Define. (pp_cxx_unqualified_id): Tidy. (pp_cxx_primary_expression): Likewise. (pp_cxx_postfix_expression): Likewise. (pp_cxx_expression): Likewise. (pp_cxx_simple_type_specifier): Likewise. (pp_cxx_type_specifier_seq): Likewise. (pp_cxx_parameter_declaration_clause): Likewise. (pp_cxx_exception_specification): Likewise. (pp_cxx_direct_declarator): Likewise. (pp_cxx_type_id): Likewise. * cxx-pretty-print.h (pp_cxx_whitespace): Export from cxx-pretty-print.c. (pp_cxx_left_paren): Likewise. (pp_cxx_right_paren): Likewise. (pp_cxx_left_brace): Likewise. (pp_cxx_right_brace): Likewise. (pp_cxx_left_bracket): Likewise. (pp_cxx_right_bracket): Likewise. (pp_cxx_dot): Likewise. (pp_cxx_identifier): Likewise. (pp_cxx_tree_identifier): Likewise. (pp_cxx_ampersand): New macro. (pp_cxx_star): Likewise. (pp_cxx_arrow): Likewise. (pp_cxx_semicolon): Likewise. (pp_cxx_complement): Likewise. (pp_cxx_begin_template_argument_list): Declaree. (pp_cxx_end_template_argument_list): Likewise. (pp_cxx_colon_colon): likewise. From-SVN: r82488
2004-05-31sol2.h (__enable_execute_stack): ANSIfy function definition.Eric Botcazou2-2/+6
* config/sol2.h (__enable_execute_stack): ANSIfy function definition. From-SVN: r82487
2004-05-31parser.c (cp_parser_simple_type_specifier): Explicitly test against NULL_TREE.Eric Botcazou2-1/+7
* parser.c (cp_parser_simple_type_specifier): Explicitly test against NULL_TREE. From-SVN: r82486
2004-05-31jcf-write.c (generate_bytecode_conditional): Correct handling of unordered ↵Bryce McKinlay2-4/+12
conditionals. * jcf-write.c (generate_bytecode_conditional): Correct handling of unordered conditionals. Add comment. From-SVN: r82485
2004-05-31* pex-win32.c (fix_argv): Expand comment.Danny Smith2-1/+10
From-SVN: r82482
2004-05-31c-incpath.c (add_path): Canonicalize paths to use '/' if ↵Danny Smith2-0/+15
HAVE_DOS_BASED_FILESYSTEM. * c-incpath.c (add_path): Canonicalize paths to use '/' if HAVE_DOS_BASED_FILESYSTEM. From-SVN: r82481
2004-05-31tree-ssa-dom.c (record_equivalences_from_incoming_edge): Only look at case ↵Steven Bosscher2-2/+13
labels if the immediate dominator is also the only predecessor. * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Only look at case labels if the immediate dominator is also the only predecessor. Don't look for more case labels if the first seen is a case range. From-SVN: r82480
2004-05-31SequenceInputStream.java: Rename enum to e because enum is a keyword in Java ↵Michael Koch2-7/+12
1.5. 2004-05-31 Michael Koch <konqueror@gmx.de> * java/io/SequenceInputStream.java: Rename enum to e because enum is a keyword in Java 1.5. From-SVN: r82479
2004-05-31CompilerProcess.java: Fixed javadoc to by XHTML compliant.Michael Koch2-1/+6
2004-05-31 Michael Koch <konqueror@gmx.de> * gnu/java/rmi/rmic/CompilerProcess.java: Fixed javadoc to by XHTML compliant. From-SVN: r82478
2004-05-31* builtins.c: Add a prototype for fold_builtin_strchr().Kazu Hirata2-0/+5
From-SVN: r82477
2004-05-31call.c, [...]: Fix comment formatting.Kazu Hirata8-13/+18
* call.c, class.c, cp-tree.def, decl2.c, name-lookup.c, pt.c, typeck.c: Fix comment formatting. From-SVN: r82476
2004-05-31revert: combine.c (gen_binary): Remove.Paolo Bonzini2-320/+315
2004-05-31 Paolo Bonzini <bonzini@gnu.org> Revert this patch: 2004-05-27 Paolo Bonzini <bonzini@gnu.org> * combine.c (gen_binary): Remove. (known_cond, simplify_shift_const find_split_point, combine_simplify_rtx, simplify_if_then_else, simplify_set, simplify_logical, expand_field_assignment, extract_left_shift, force_to_mode, if_then_else_cond, apply_distributive_law, simplify_and_const_int, simplify_shift_const, gen_lowpart_for_combine, simplify_comparison, reversed_comparison): Replace with simplify_gen_binary, simplify_gen_relational or distribute_and_simplify_rtx. (distribute_and_simplify_rtx): New function. From-SVN: r82475
2004-05-31pa.c (emit_move_sequence): Fix loading of non 14-bit CONST operands when ↵John David Anglin2-0/+6
generating PIC code. * pa.c (emit_move_sequence): Fix loading of non 14-bit CONST operands when generating PIC code. From-SVN: r82474
2004-05-31Daily bump.GCC Administrator2-2/+2
From-SVN: r82472
2004-05-30c-decl.c (c_expand_body_1): Remove and fold back into ...Andrew Pinski7-84/+50
ChangeLog: * c-decl.c (c_expand_body_1): Remove and fold back into ... (c_expand_body): here. (c_expand_decl): Move to ... * c-common.c (c_expand_decl): Here and remove check for nested functions. * c-common.h (c_expand_decl): Add prototype. * c-tree.h (c_expand_decl): Remove. cp/ChangeLog: * cp-lang.c (cp_expand_decl): Remove. (LANG_HOOKS_EXPAND_DECL): Use c_expand_decl. From-SVN: r82469
2004-05-30fold-const.c (combine_comparisons, [...]): Use constant_boolean_node where ↵Roger Sayle2-98/+53
appropriate. * fold-const.c (combine_comparisons, optimize_bit_field_compare, range_binop, fold_truthop, fold_binary_op_with_conditional_arg, fold_mathfn_compare, fold_inf_compare, fold, fold_relational_hi_lo, nondestructive_fold_binary_to_constant): Use constant_boolean_node where appropriate. Don't bother using fold_convert on the second argument to omit_one_operand. From-SVN: r82468
2004-05-30c-tree.texi (Expressions): Document FLOOR_DIV_EXPR...Roger Sayle2-46/+97
* doc/c-tree.texi (Expressions): Document FLOOR_DIV_EXPR, CEIL_DIV_EXPR, ROUND_DIV_EXPR, FLOOR_MOD_EXPR, CEIL_MOD_EXPR, ROUND_MOD_EXPR, EXACT_DIV_EXPR. Improve documentation of TRUNC_DIV_EXPR, TRUNC_MOD_EXPR and comparison operations. Add missing (but documented) tree nodes to the index. From-SVN: r82467
2004-05-30re PR libfortran/11800 ([gfortan] libgfortran should be multi-libed)Andreas Jaeger7-5307/+2557
PR gfortran/11800 * Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES. (lib_LTLIBRARIES): Rename to ... (toolexeclib_LTLIBRARIES): this for multilib support. * configure.in: Rename to ... * configure.ac: this. Update to modern autoconf style, enable multilibs, support --enable-version-specific-runtime-libs. * Makefile.in: Regenerated. * configure: Regenerated. * aclocal.m4: Regenerated. From-SVN: r82466
2004-05-30config-ml.in: Pass FFLAGS and ADAFLAGS for multilibs, handle F77 like CC.Andreas Jaeger2-2/+23
* config-ml.in: Pass FFLAGS and ADAFLAGS for multilibs, handle F77 like CC. Co-Authored-By: James E Wilson <wilson@specifixinc.com> From-SVN: r82465
2004-05-30re PR tree-optimization/14819 ([tree-ssa] strchr is not folded at tree-level)Steven Bosscher2-0/+54
PR tree-optimization/14819 * builtins.c (fold_builtin_strchr): New. (fold_builtin_1): Handle BUILT_IN_STRCHR and BUILT_IN_STRRCHR with fold_builtin_strchr(). From-SVN: r82464
2004-05-30bb-reorder.c, [...]: Fix comment formatting.Kazu Hirata39-151/+164
* bb-reorder.c, builtins.c, c-common.c, c-gimplify.c, c-incpath.c, cgraphunit.c, ddg.c, defaults.h, dwarf2out.c, expmed.c, flags.h, gcc.c, gensupport.c, gimplify.c, global.c, passes.c, reg-stack.c, target.h, toplev.c, tree-alias-ander.c, tree-alias-common.c, tree-cfg.c, tree-complex.c, tree-dfa.c, tree-eh.c, tree-mudflap.c, tree-mudflap.h, tree-outof-ssa.c, tree-phinodes.c, tree-pretty-print.c, tree-ssa-alias.c, tree-ssa-ccp.c, tree-ssa-live.c, tree-ssa-live.h, tree-ssa-pre.c, tree.h, value-prof.h, varasm.c: Fix comment formatting. From-SVN: r82463