- 03 May, 2003 27 commits
-
-
* simplify-rtx.c (simplify_relational_operation): Add case for ! (fabs(x) < 0.0). From-SVN: r66440
Geoffrey Keating committed -
From-SVN: r66439
Bruce Korb committed -
2003-05-03 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/spe.h: Remove unecessary casts. Misc cleanups. From-SVN: r66437
Aldy Hernandez committed -
PR c/10604 * c-common.c (warn_sign_compare): Initialize to -1. * c-opts.c (c_common_init_options): Don't set warn_sign_compare here. (c_common_decode_option <OPT_Wall>): Set warn_sign_compare for C++ only. (c_common_post_options): Set warn_sign_compare from extra_warnings if it's still -1 at this point. * toplev.c (maybe_warn_unused_parameter): New static variable. (set_Wextra): New static function. (W_options): Remove "extra". (decode_W_option): Call set_Wextra. (independent_decode_option): Likewise. (set_Wunused): Cooperate with set_Wextra in setting warn_unused_parameter. (rest_of_compilation): No need to check extra_warnings as well as warn_uninitialized. * c-typeck.c (build_binary_op, build_conditional_expr): No need to check extra_warnings as well as warn_sign_compare. (internal_build_compound_expr): No need to check extra_warnings as well as warn_unused_value. * function.c (expand_function_end): No need to check extra_warnings as well as warn_unused_parameter. * stmt.c (expand_expr_stmt_value): No need to check extra_warnings as well as warn_unused_value. * cp/typeck.c (build_x_compound_expr): No need to check extra_warnings as well as warn_unused_value. * doc/invoke.texi: Clarify documentation of -Wsign-compare. * gcc.dg/compare7.c, g++.dg/warn/compare1.C: New testcases. * Makefile.in: Disable -Werror for gengtype-lex.o. From-SVN: r66436
Zack Weinberg committed -
* trans.c (tree_transform): Use location_t and input_location directly. (build_unit_elab): Likewise. * utils.c (create_label_decl): Likewise. From-SVN: r66433
Nathan Sidwell committed -
* com.c (ffecom_do_entry_): Use location_t and input_location directly. (ffecom_gen_sfuncdef_): Likewise. (ffecom_start_progunit_): Likewise. (ffecom_sym_transform_): Likewise. (ffecom_sym_transform_assign_): Likewise. * lex.c (ffelex_hash_): Likewise. (ffelex_include_): Likewise. * std.c (ffestd_exec_begin): Likewise. (ffestd_exec_end): Likewise. * ste.c (struct gbe_block): Likewise. (ffeste_start_block_): Likewise. (ffeste_start_stmt_): Likewise. From-SVN: r66432
Nathan Sidwell committed -
* libjava/gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of "version". * libjava/gnu/awt/gtk/GtkComponentPeer.java: Likewise. * libjava/gnu/awt/gtk/GtkContainerPeer.java: Likewise. * libjava/gnu/awt/gtk/GtkFramePeer.java: Likewise. * libjava/gnu/awt/gtk/GtkLabelPeer.java: Likewise. * libjava/gnu/awt/gtk/GtkMainThread.java: Likewise. * libjava/gnu/awt/gtk/GtkToolkit.java: Likewise. * libjava/gnu/awt/gtk/GtkWindowPeer.java: Likewise. * libjava/java/security/Key.java: Likewise. * libjava/java/security/PrivateKey.java: Likewise. * libjava/java/security/Provider.java: Likewise. * libjava/java/security/PublicKey.java: Likewise. From-SVN: r66431
Matt Kraai committed -
* expr.c (expand_expr, case VIEW_CONVERT_EXPR): Don't use gen_lowpart on non-integer modes. From-SVN: r66430
Richard Kenner committed -
* emit-rtl.c (last_call_insn, add_function_usage_to): New functions. * rtl.h (last_call_insn, add_function_usage_to): New prototypes. * builtins.c (expand_builtin_apply): Use the new emit-rtl functions. * calls.c (emit_call_1): Likewise. (expand_call): For calls initializing constant memory, replace emission of standalone mem /u clobber with function usage entry. * expr.c (emit_block_move_via_libcall): Likewise. * cse.c (count_reg_usage, case EXPR_LIST): New case. * flow.c (propagate_one_insn): Pass entire operand of CALL_INSN_FUNCTION_USAGE to mark_used_regs. * integrate.c (try_constants): For CALL_INSNs, substitute constants within the FUNCTION_USAGE also. * loop.c (prescan_loop): Note clobbers of const mem mentioned in FUNCTION_USAGE lists. * reload1.c (replace_pseudos_in): Renamed. (reload): Use it for clobbers surviving until the end of the reload. From-SVN: r66429
Olivier Hainque committed -
* stor-layout.c (place_field): When adjusting offset_align, use desired_align, not DECL_ALIGN. From-SVN: r66428
Richard Kenner committed -
2003-05-03 Carlo Wood <carlo@alinoe.com> * cp-demangle.c: Fix typo in "char_traints" string-literal. From-SVN: r66427
Carlo Wood committed -
From-SVN: r66426
Kazu Hirata committed -
* c-decl.c (pending_invalid_xref_file): Remove. (pending_invalid_xref_line): Remove. (pending_invalid_xref_location): New. (lookup_label): Use location_t and input_location directly. (lookup_tag): Likewise. (pending_xref_error): Likewise. (c_expand_body_1): Likewise. * c-common.c (x_expand_start_cond): Likewise. * c-semantics.c (genrtl_for_stmt): Likewise. (find_reachable_label): Likewise. * expr.c (expand_expr): Likewise. * integrate.c (output_inline_function): Likewise. * tree-inline.c (find_alloca_call): Likewise. (find_builtin_longjmp_call): Likewise. * gcc.c (input_filename): Make static. From-SVN: r66425
Nathan Sidwell committed -
PR c++/9364, c++/10553, c++/10586 * decl.c (make_typename_type): Don't crash on illegal code. * g++.dg/parse/typename4.C: New test. * g++.dg/parse/typename5.C: Likewise. From-SVN: r66424
Kriang Lerdsuwanakij committed -
* class.c (finish_struct): Use location_t and input_location directly. * decl.c (make_label_decl): Likewise. (use_label): Likewise. * decl2.c (warn_if_unknown_interface): Likewise. (start_static_initialization_or_destruction): Likewise. (generate_ctor_or_dtor_function): Likewise. (finish_file): Likewise. * error.c (print_instantiation_full_context): Likewise. * init.c (create_temporary_var): Likewise. * method.c (synthesize_method): Likewise. * parser.c (cp_token): Likewise. (cp_lexer_set_source_position_from_token): Likewise. (cp_lexer_get_preprocessor_token): Likewise. (cp_parser_statement): Likewise. * pt.c (tsubst_friend_function): Likewise. (instantiate_class_template): Likewise. (tsubst_decl): Likewise. (tsubst): Likewise. (instantiate_decl): Likewise. * semantics.c (begin_class_definition): Likewise. (expand_body): Likewise. From-SVN: r66423
Nathan Sidwell committed -
From-SVN: r66422
Nathan Sidwell committed -
From-SVN: r66421
Richard Sandiford committed -
From-SVN: r66420
Richard Sandiford committed -
* config/mips/mips.c (mips_integer_op): New structure. (MIPS_MAX_INTEGER_OPS): Define. (mips_const_insns): Use mips_build_integer to determine the number of instructions needed to load a CONST_INT. (move_operand): Reject compound CONST_INTs. (mips_build_shift, mips_build_lower, mips_build_integer): New fns. (mips_move_integer): New fn. (mips_legitimize_const_move): Pass CONST_INTs to mips_move_integer. (mips_legitimize_move): Only legitimize constants when moving word or subword values. From-SVN: r66419
Richard Sandiford committed -
From-SVN: r66418
Loren J. Rittle committed -
From-SVN: r66417
Matt Kraai committed -
PR java/10491: * gjavah.c (HANDLE_INNERCLASSES_ATTRIBUTE): New macro. (handle_inner_classes): New function. From-SVN: r66416
Tom Tromey committed -
2003-05-02 Chris Demetriou <cgd@broadcom.com> * Makefile.tpl: Require "makeinfo" from texinfo 4.2 or later. * Makefile.in: Regenerate. From-SVN: r66415
Chris Demetriou committed -
PR java/10459: * parse.y (finish_for_loop): Do nothing if update expression is a EXPR_WFL_NODE wrapping nothing. (java_complete_lhs) <COMPOUND_EXPR>: Likewise. From-SVN: r66411
Tom Tromey committed -
PR java/10459: * libjava.compile/pr10459_2.java: New file. * libjava.compile/pr10459.java: New file. From-SVN: r66410
Tom Tromey committed -
* builtins.c (expand_builtin_stpcpy): Copy `arglist' before modifying it. From-SVN: r66409
Kaveh R. Ghazi committed -
From-SVN: r66407
GCC Administrator committed
-
- 02 May, 2003 13 commits
-
-
* doc/contrib.texi (Contributors): Add Zdenek Dvorak, Aldy Hernandez, and Kazu Hirata. Update Richard Henderson. Co-Authored-By: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> From-SVN: r66405
Falk Hueffner committed -
2003-05-02 Benjamin Kosnik <bkoz@redhat.com> * include/Makefile.am (CLEANFILES): Remove PCH files in target directory. * include/Makefile.in: Regenerate. From-SVN: r66403
Benjamin Kosnik committed -
2003-05-02 Paolo Carlini <pcarlini@unitus.it> * include/std/std_sstream.h (str()): Tidy. From-SVN: r66402
Paolo Carlini committed -
From-SVN: r66397
Richard Kenner committed -
* config/rs6000/rs6000.c (rs6000_attribute_table): Add 'extern' to tentative declaration. From-SVN: r66396
Geoffrey Keating committed -
2003-05-02 Nathan Myers <ncm@cantrip.org> Paolo Carlini <pcarlini@unitus.it> * include/bits/streambuf.tcc (__copy_streambufs): Rewrote. Co-Authored-By: Paolo Carlini <pcarlini@unitus.it> From-SVN: r66395
Nathan Myers committed -
* config/rs6000/sysv4.h (SYMBOL_FLAG_SMALL_V4): Delete. (SYMBOL_FLAG_SMALL_V4): Delete. * config/rs6000/rs6000.c (small_data_operand): Use SYMBOL_REF_SMALL_P. (rs6000_elf_encode_section_info): Don't set SYMBOL_FLAG_SMALL_V4. (rs6000_elf_in_small_data_p): Add extra section names. Add comment about TREE_PUBLIC test. From-SVN: r66393
Geoffrey Keating committed -
* c-semantics.c (genrtl_switch_stmt, genrtl_if_stmt): Call expand_stmt on result of expand_unreachable_stmt. From-SVN: r66392
Geoffrey Keating committed -
2003-05-02 Wolfgang Bangerth <bangerth@dealii.org> * MAINTAINERS (GNATS only): Add Falk Hueffner. From-SVN: r66390
Wolfgang Bangerth committed -
basic_string.h (swap): Remove redundant template parameters from declaration of non-template member... 2003-05-02 Jonathan Wakely <redi@gcc.gnu.org> * include/bits/basic_string.h (swap): Remove redundant template parameters from declaration of non-template member function. From-SVN: r66389
Jonathan Wakely committed -
From-SVN: r66388
Gerald Pfeifer committed -
* config/rs6000/{603.md,6xx.md,7450.md,7xx.md,rs64.md}: Decrease number of automata. * config/rs6000/rs6000.c (symbol_ref_operand): Check SYMBOL_REF_FUNCTION_P on AIX. (current_file_function_operand): Same. * config/rs6000/rs6000.md (call,call_value): Force non-function symbol_ref into register on AIX. From-SVN: r66385
David Edelsohn committed -
* java/net/URI.java (create): Doesnt throws any exceptions. * java/net/URLConnection.java (URLConnection): Commend added. (getExpiration): The header field is called "expires" not "expiration". (getHeaderField): Merged documentation with classpath. (getHeaderFieldInt): Likewise. (getHeaderFieldDate): Likewise. (getHeaderFieldKey): Likewise. (getPermission): Likewise. (setDefaultUseCaches): Likewise. (setRequestProperty): Likewise. (addRequestProperty): Likewise. (getRequestProperty): Likewise. (getRequestProperties): Likewise. (setDefaultRequestProperty): Likewise. (getDefaultRequestProperty): Likewise. (guessContentTypeFromStream): Likewise. (getFileNameMap): Likewise. (setFileNameMap): Likewise. (setDoInput): Merged implementation and documentation with classpath. (setDoOutput): Likewise. (setAllowUserInteraction): Likewise. (setDefaultAllowUserInteraction): Likewise. (setContentHandlerFactory): Made it synchronized, merged documentation with classpath. (guessContentTypeFromName): Renamed argument fname to filename to match classpath, merged documentation with classpath. From-SVN: r66384
Michael Koch committed
-