1. 06 May, 2003 8 commits
    • typeck.c (build_unary_op): Deal with const qualifier in invalid pointer-to-member earlier. · d219f3ff
      	* typeck.c (build_unary_op): Deal with const qualifier in
      	invalid pointer-to-member earlier.
      
      From-SVN: r66522
      Kriang Lerdsuwanakij committed
    • mips-protos.h (mips_subword, [...]): Declare. · 5b0f0db6
      	* config/mips/mips-protos.h (mips_subword, mips_output_move): Declare.
      	(mips_move_1word, mips_move_2words): Remove declaration.
      	(mips_split_64bit_move_p, mips_split_64bit_move): Declare.
      	(mips_restore_gp): Remove insn argument.
      	* config/mips/mips.h (FP_REG_RTX_P): New macro.
      	* config/mips/mips.c (volatile_buffer): Remove.
      	(mips_subword, mips_split_64bit_move_p, mips_split_64bit_move): New.
      	(mips_move_1word, mips_move_2words): Remove, replacing with...
      	(mips_output_move): ...this new function.
      	(mips_restore_gp): Remove insn argument.  Adjust for above changes.
      	(print_operand): Make '%h' print %hi(op) for HIGH operands.  Remove
      	handling of floating-point constants.  Handle zero CONST_DOUBLE
      	arguments.
      	(mips_annotate_frame_insn): Replace with...
      	(mips_set_frame_expr): ...this, which just takes one argument.
      	(mips_frame_set): Change the register argument to an rtx.
      	(mips_emit_frame_related_store): Use mips_split_64bit_move_p to
      	check whether moves should be split.  Use mips_split_64bit_move
      	to split them.  Use mips_subword to generate the high and low
      	parts of a paired FPR.  Adjust calls to frame_set and
      	mips_set_frame_expr.
      	(mips_expand_prologue): Simplify due to above changes.
      	* config/mips/mips.md:	Add splitters for 64-bit moves on 32-bit
      	targets, replacing xisting register-only versions.
      	(UNSPEC_STORE_DF_HIGH): New unspec.
      	(UNSPEC_LOAD_DF_LOW, UNSPEC_LOAD_DF_HIGH): New unspecs.
      	(mulsi3_r4000, muldi3_internal2): Avoid use of mips_move_1word.
      	(*paradoxical_extendhidi2): Remove.
      	(movdi_internal, movdi_internal2): Use mips_output_move.
      	(*movdi_internal2_mips16, movsi_internal, movcc): Likewise.
      	(movsf_internal1, movsf_internal2): Likewise.
      	(movdf_internal1a): Likewise.  Fix length and type of f <- G case.
      	(movdf_internal1b): Use mips_output_move.  Fix type of f <- G case.
      	(movdf_internal2): Use mips_output_move.  Fix lengths of FPR moves.
      	Add m <- G alternative.
      	(load_df_low, load_df_high, store_df_low): New patterns.
      	(movhi_internal): Use @ template instead of calling a function.
      	Remove unnecessary 'z' alternatives.
      	(movqi_internal): Likewise.
      	(exception_receiver): Update call to mips_restore_gp.
      
      From-SVN: r66521
      Richard Sandiford committed
    • 2003-05-06 Michael Koch <konqueror@gmx.de> · 83f564f7
      	* java/io/DataOutputStream.java
      	(write): Renamed argument to "value", merged documentation from
      	classpath.
      	(writeBoolean): Likewise.
      	(writeByte): Likewise.
      	(writeShort): Likewise.
      	(writeChar): Likewise.
      	(writeInt): Likewise.
      	(writeLong): Likewise.
      	(writeFloat): Likewise.
      	(writeDouble): Likewise.
      	(writeBytes): Likewise.
      	(writeChars): Likewise.
      	(writeUTF): Likewise.
      	* java/io/File.java
      	(performDelete): Added documentation.
      	(performList): Likewise.
      	(performMkdir): Likewise.
      	(performSetReadOnly): Likewise.
      	(performRenameTo): Likewise.
      	(performSetLastModified): Likewise.
      	(delete): Made it sychronized.
      	(renameTo): Made it sychronized.
      	(equals): Reformatted.
      	(isHidden): Likewise.
      	(listFiles): Likewise.
      	(setReadOnly): Likewise.
      	(listRoots): Likewise.
      	(setLastModified): Likewise.
      	(checkRead): Likewise.
      	(checkWrite): Likewise.
      	* java/io/FileInputStream.java
      	(skip): Made it sychronized, merged from classpath.
      	* java/io/FileOutputStream.java
      	(write): Merged from classpath.
      	* java/io/InputStreamReader.java:
      	(InputStreamReader): Merged documentation from classpath.
      
      From-SVN: r66520
      Michael Koch committed
    • Make-lang.in (treelang/tree1.o): Depends on input.h · c2e39602
      treelang:
      	* Make-lang.in (treelang/tree1.o): Depends on input.h
      	(treelang/treetree.o, treelang/parse.o, treelang/lex.o): Likewise.
      	* treelang.h: #include input.h.
      	(in_fname): Remove.
      	(struct token_part): Remove lineno, add location.
      	* lex.l (next_tree_lineno): Remove.
      	(update_lineno_charno): Adjust.
      	(dump_lex_value): Adjust.
      	* parse.y (variable_def, function_prototype, function, statement,
      	if_statement, return, function_invocation, variable_ref): Adjust.
      	(print_token, yyerror, ensure_not_void): Adjust.
      	tree1.c (in_fname): Remove.
      	(treelang_init): Setup input_location.
      	(lookup_tree_name): Adjust.
      	(insert_tree_name): Adjust.
      	* treetree.c (tree_code_if_start): Replace filename and lineno
      	parms with loc. Adjust.
      	(tree_code_if_else, tree_code_if_end,
      	tree_code_create_function_prototype,
      	tree_code_create_function_initial,
      	tree_code_create_function_wrapup, tree_code_create_variable,
      	tree_code_output_expression_statement): Likewise.
      	* treetree.h (tree_code_if_start): Replace filename and lineno
      	parms with loc.
      	(tree_code_if_else, tree_code_if_end,
      	tree_code_create_function_prototype,
      	tree_code_create_function_initial,
      	tree_code_create_function_wrapup, tree_code_create_variable,
      	tree_code_output_expression_statement): Likewise.
      
      From-SVN: r66519
      Nathan Sidwell committed
    • mips-protos.h (mips_simplify_dwarf_addr): Remove. · e8b84d3d
      	* config/mips/mips-protos.h (mips_simplify_dwarf_addr): Remove.
      	(mips_delegitimize_address): Declare.
      	* config/mips/mips.h (ASM_SIMPLIFY_DWARF_ADDR): Undefine.
      	(FIND_BASE_TERM): Define.
      	* config/mips/mips.c (TARGET_DELEGITIMIZE_ADDRESS): Define.
      	(mips_delegitimize_address): Renamed from mips_simplify_dwarf_addr.
      	Handle small-data addresses.
      
      From-SVN: r66518
      Richard Sandiford committed
    • real.c (real_powi): New function to calculate the value of a real raised to an integer power, i.e. · e82a312b
      
      	* real.c (real_powi): New function to calculate the value of
      	a real raised to an integer power, i.e. pow(x,n) for int n.
      	(real_sqrt): Convert to using the faster do_add, do_multiply
      	and do_divide API for consistency with the rest of real.c.
      	* real.h (real_powi): Prototype here.
      	* builtins.c (fold_builtin):  Avoid local variable mode when
      	evaluating sqrt at compile time.  Attempt to evaluate pow at
      	compile-time, by checking for an integral exponent.
      
      	* gcc.dg/builtins-14.c: New test case.
      
      From-SVN: r66515
      Roger Sayle committed
    • Daily bump. · d7b4a590
      From-SVN: r66512
      GCC Administrator committed
  2. 05 May, 2003 29 commits
  3. 04 May, 2003 3 commits
    • update_version (textstring_FILES): Only version.c needs to be updated... · fe080a9e
      	* update_version (textstring_FILES): Only version.c needs to be
      	updated, now that we do not consider older branches any more.
      
      From-SVN: r66471
      Gerald Pfeifer committed
    • GtkButtonPeer.java: Fix misspelling of "version". · 51747541
      	* gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
      	"version".
      	* gnu/awt/gtk/GtkComponentPeer.java: Likewise.
      	* gnu/awt/gtk/GtkContainerPeer.java: Likewise.
      	* gnu/awt/gtk/GtkFramePeer.java: Likewise.
      	* gnu/awt/gtk/GtkLabelPeer.java: Likewise.
      	* gnu/awt/gtk/GtkMainThread.java: Likewise.
      	* gnu/awt/gtk/GtkToolkit.java: Likewise.
      	* gnu/awt/gtk/GtkWindowPeer.java: Likewise.
      	* java/security/Key.java: Likewise.
      	* java/security/PrivateKey.java: Likewise.
      	* java/security/Provider.java: Likewise.
      	* java/security/PublicKey.java: Likewise.
      
      From-SVN: r66469
      Matt Kraai committed
    • builtin-attrs.def (ATTR_NOTHROW_NONNULL_1, [...]): Renamed from ATTR_NONNULL_1,… · 00362064
      builtin-attrs.def (ATTR_NOTHROW_NONNULL_1, [...]): Renamed from ATTR_NONNULL_1, ATTR_NONNULL_2 and ATTR_NONNULL_3.
      
      gcc:
      	* builtin-attrs.def (ATTR_NOTHROW_NONNULL_1,
      	ATTR_NOTHROW_NONNULL_2, ATTR_NOTHROW_NONNULL_3): Renamed from
      	ATTR_NONNULL_1, ATTR_NONNULL_2 and ATTR_NONNULL_3.
      
      	(ATTR_NOTHROW_NONNULL_1_2, ATTR_NOTHROW_NONNULL_1_4,
      	ATTR_CONST_NOTHROW_NONNULL_1, ATTR_PURE_NOTHROW_NONNULL_1,
      	ATTR_PURE_NOTHROW_NONNULL_1_2, ATTR_MALLOC_NOTHROW_NONNULL_1):
      	New.
      
      	* builtins.def (DEF_EXT_FALLBACK_BUILTIN): Accept ATTRS argument.
      	(BUILT_IN_BZERO, BUILT_IN_BCOPY, BUILT_IN_BCMP): Update comment
      
      	(BUILT_IN_INDEX, BUILT_IN_RINDEX, BUILT_IN_MEMCPY,
      	BUILT_IN_MEMMOVE, BUILT_IN_MEMCMP, BUILT_IN_MEMSET,
      	BUILT_IN_MEMPCPY, BUILT_IN_STRCAT, BUILT_IN_STRNCAT,
      	BUILT_IN_STPCPY, BUILT_IN_STRCPY, BUILT_IN_STRNCPY,
      	BUILT_IN_STRCMP, BUILT_IN_STRNCMP, BUILT_IN_STRLEN,
      	BUILT_IN_STRSTR, BUILT_IN_STRPBRK, BUILT_IN_STRSPN,
      	BUILT_IN_STRCSPN, BUILT_IN_STRCHR, BUILT_IN_STRRCHR, BUILT_IN_NAN,
      	BUILT_IN_NANF, BUILT_IN_NANL, BUILT_IN_NANS, BUILT_IN_NANSF,
      	BUILT_IN_NANSL, BUILT_IN_PUTS, BUILT_IN_FPUTC, BUILT_IN_FPUTS,
      	BUILT_IN_FWRITE, BUILT_IN_PUTS_UNLOCKED, BUILT_IN_FPUTC_UNLOCKED,
      	BUILT_IN_FPUTS_UNLOCKED, BUILT_IN_FWRITE_UNLOCKED,
      	BUILT_IN_STRDUP): Add "nonnull" attribute.
      
      testsuite:
      	* gcc.dg/nonnull-3.c: New test.
      
      From-SVN: r66468
      Kaveh R. Ghazi committed