OSDN Git Service

pf3gnuchains/gcc-fork.git
20 years ago * doc/invoke.texi (Warning Options): Mark -Wmissing-declarations
gerald [Wed, 7 May 2003 12:28:18 +0000 (12:28 +0000)]
* doc/invoke.texi (Warning Options): Mark -Wmissing-declarations
as a C only option.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66556 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcov-io.h (GCOV_LOCKED): New #define.
nathan [Wed, 7 May 2003 10:40:09 +0000 (10:40 +0000)]
* gcov-io.h (GCOV_LOCKED): New #define.
(GCOV_LINKAGE): Make sure it is #defined.
(gcov_write_string, gcov_write_tag, gcov_write_length,
gcov_read_string, gcov_time): Poison in libgcov.
(gcov_seek_end): Remove.
(gcov_write_tag_length, gcov_sync, gcov_rewrite): New.
(GCOV_TAG_FUNCTION_LENGTH, GCOV_TAG_BLOCKS_LENGTH,
GCOV_TAG_ARCS_LENGTH, GCOV_TAG_COUNTER_LENGTH,
GCOV_TAG_SUMMARY_LENGTH): New #defines.
(gcov_write_tag, gcov_write_length): Not in libgcov.
* gcov-io.c (gcov_open): Use GCOV_LOCKED.
(gcov_write_tag, gcov_write_length): Not in libgcov.
(gcov_write_tag_length): New.
(gcov_write_summary): Use gcov_write_tag_length.
* libgcov.c: Always #include gcov-io.h.
(IN_LIBGCOV): -1 for inhibit_libc, +1 otherwise.
(GCOV_LINKAGE): Define to nothing for L_gcov.
(gcov_exit): Replace gcov_write_tag, gcov_write_length with
gcov_write_tag_length. Use gcov_rewrite & gcov_seek.
* gcov.c (read_graph_file): Replace gcov_seek by gcov_sync.
(read_count_file): Likewise.
* gcov-dump.c (dump_file): Likewise.
* coverag.c (read_counts_file): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66555 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR other/10658
mmitchel [Wed, 7 May 2003 06:10:49 +0000 (06:10 +0000)]
PR other/10658
* gcc.c (process_command): Update copyright date.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66554 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-05-06 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 7 May 2003 05:01:59 +0000 (05:01 +0000)]
2003-05-06  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/stl_algo.h: Enums as _S_.
* include/bits/stl_tree.h: Same.
* include/bits/stl_bvector.h: Same.
* include/bits/ios_base.h: Same.
* include/bits/stl_alloc.h: Same.
* include/ext/stl_hashtable.h: Same.
* src/ios.cc: And here.

* include/std/std_sstream.h: Replace _M_really_sync to _M_sync.
* include/bits/sstream.tcc: Same.

        * include/bits/basic_ios.h: Correct spacing for '< ctype'.

* include/bits/locale_facets.tcc: Replace __temp to __tmp.

* include/bits/locale_facets.h (__num_base): Remove protected.
Use _S_[io]* names for enumerations.
(_S_format_int): Remove.
* include/bits/locale_facets.tcc: Same.
* src/locale.cc: Same.

* include/std/std_sstream.h (stringbuf::str): Tweak formatting.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66552 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoCorrect spurious whitespace differences
korbb [Wed, 7 May 2003 01:29:58 +0000 (01:29 +0000)]
Correct spurious whitespace differences

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66549 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * verify.cc: Reverted previous patch.
tromey [Wed, 7 May 2003 01:25:20 +0000 (01:25 +0000)]
* verify.cc: Reverted previous patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66548 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * libjava.lang/verify.java: New file.
tromey [Wed, 7 May 2003 01:23:16 +0000 (01:23 +0000)]
* libjava.lang/verify.java: New file.
* libjava.lang/verify.out: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66547 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Wed, 7 May 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66544 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoFix typo in previous commit (3.3 not 3.3.0).
pme [Tue, 6 May 2003 23:20:14 +0000 (23:20 +0000)]
Fix typo in previous commit (3.3 not 3.3.0).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66542 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-05-06 Phil Edwards <pme@gcc.gnu.org>
pme [Tue, 6 May 2003 23:17:59 +0000 (23:17 +0000)]
2003-05-06  Phil Edwards  <pme@gcc.gnu.org>

* doc/install.texi (mips-*-*):  Add note about libstdc++.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66541 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* config/stormy16/stormy16.c (xstormy16_function_profiler): New.
dj [Tue, 6 May 2003 22:47:45 +0000 (22:47 +0000)]
* config/stormy16/stormy16.c (xstormy16_function_profiler): New.
* config/stormy16/stormy16.h (FUNCTION_PROFILER): Call it.
* config/stormy16/stormy16-protos.h (xstormy16_function_profiler): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66538 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* gcc.dg/20021014-1.c: XFAIL for xstormy16 also.
dj [Tue, 6 May 2003 22:47:03 +0000 (22:47 +0000)]
* gcc.dg/20021014-1.c: XFAIL for xstormy16 also.
* gcc.dg/nest.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66537 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-05-06 Phil Edwards <pme@gcc.gnu.org>
pme [Tue, 6 May 2003 22:23:25 +0000 (22:23 +0000)]
2003-05-06  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/faq/index.html (3.10):  Add note about mips atomicity.h.
* docs/html/faq/index.txt:  Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66536 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-05-06 Eric Botcazou <ebotcazou@libertysurf.fr>
bkoz [Tue, 6 May 2003 20:58:44 +0000 (20:58 +0000)]
2003-05-06  Eric Botcazou  <ebotcazou@libertysurf.fr>

* config-ml.in: Propagate INSTALL variables.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66534 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * c-opts.c (COMMAND_LINE_OPTIONS): Reject -Wmissing-prototypes
neil [Tue, 6 May 2003 20:42:32 +0000 (20:42 +0000)]
* c-opts.c (COMMAND_LINE_OPTIONS): Reject -Wmissing-prototypes
and -Wstrict-prototypes if C++.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66533 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-05-06 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 6 May 2003 19:49:21 +0000 (19:49 +0000)]
2003-05-06  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/linuxspe.h: New file.

        * config.gcc: Add powerpc-*-linux-gnuspe* target.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66531 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoAnd retweak.
ljrittle [Tue, 6 May 2003 19:31:39 +0000 (19:31 +0000)]
And retweak.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66530 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * unwind-dw2.c (uw_update_context_1): Only set cfa as sp if
rth [Tue, 6 May 2003 17:28:37 +0000 (17:28 +0000)]
    * unwind-dw2.c (uw_update_context_1): Only set cfa as sp if
        previous frame didn't save sp.  Clear sp for next frame.
        (uw_install_context_1): Honor saved sp from frame.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66526 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.
ljrittle [Tue, 6 May 2003 14:32:52 +0000 (14:32 +0000)]
* include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66523 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * typeck.c (build_unary_op): Deal with const qualifier in
lerdsuwa [Tue, 6 May 2003 14:02:09 +0000 (14:02 +0000)]
* typeck.c (build_unary_op): Deal with const qualifier in
invalid pointer-to-member earlier.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66522 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/mips/mips-protos.h (mips_subword, mips_output_move): Declare.
rsandifo [Tue, 6 May 2003 11:23:42 +0000 (11:23 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66521 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-05-06 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 6 May 2003 10:07:28 +0000 (10:07 +0000)]
2003-05-06  Michael Koch  <konqueror@gmx.de>

* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66520 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agotreelang:
nathan [Tue, 6 May 2003 09:18:46 +0000 (09:18 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66519 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/mips/mips-protos.h (mips_simplify_dwarf_addr): Remove.
rsandifo [Tue, 6 May 2003 07:06:11 +0000 (07:06 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66518 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * configure.target (mips*): Use the generic atomicity.h by default.
rsandifo [Tue, 6 May 2003 07:01:25 +0000 (07:01 +0000)]
* configure.target (mips*): Use the generic atomicity.h by default.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66517 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * real.c (real_powi): New function to calculate the value of
sayle [Tue, 6 May 2003 03:14:10 +0000 (03:14 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66515 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Tue, 6 May 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66512 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * doc/extend.texi (Variable Attributes): Re-sort table and tidy.
rth [Mon, 5 May 2003 23:12:37 +0000 (23:12 +0000)]
    * doc/extend.texi (Variable Attributes): Re-sort table and tidy.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66510 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-05-05 Janis Johnson <janis187@us.ibm.com>
janis [Mon, 5 May 2003 23:09:47 +0000 (23:09 +0000)]
2003-05-05  Janis Johnson  <janis187@us.ibm.com>

* gcc.dg/compat/struct-by-value-1_main.c: New test file.
* gcc.dg/compat/struct-by-value-1_x.c: New test file.
* gcc.dg/compat/struct-by-value-1_y.c: New test file.
* gcc.dg/compat/struct-by-value-2_main.c: New test file.
* gcc.dg/compat/struct-by-value-2_x.c: New test file.
* gcc.dg/compat/struct-by-value-2_y.c: New test file.
* gcc.dg/compat/struct-by-value-3_main.c: New test file.
* gcc.dg/compat/struct-by-value-3_x.c: New test file.
* gcc.dg/compat/struct-by-value-3_y.c: New test file.
* gcc.dg/compat/struct-by-value-4_main.c: New test file.
* gcc.dg/compat/struct-by-value-4_x.c: New test file.
* gcc.dg/compat/struct-by-value-4_y.c: New test file.
* gcc.dg/compat/struct-by-value-5_main.c: New test file.
* gcc.dg/compat/struct-by-value-5_x.c: New test file.
* gcc.dg/compat/struct-by-value-5_y.c: New test file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66509 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-05-05 David O'Brien <obrien@FreeBSD.org>
obrien [Mon, 5 May 2003 22:57:58 +0000 (22:57 +0000)]
2003-05-05  David O'Brien  <obrien@FreeBSD.org>
* config/rs6000/sysv4.h (CPP_OS_FREEBSD_SPEC): Add __ELF__ to mirror
other FreeBSD ports.
(LINK_OS_FREEBSD_SPEC): Mirror conventions on other FreeBSD ports.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66508 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * include/bits/stl_threads.h (_Atomic_swap): Kill it...
ljrittle [Mon, 5 May 2003 22:28:16 +0000 (22:28 +0000)]
* include/bits/stl_threads.h (_Atomic_swap): Kill it...
(_Swap_lock_struct<>): ...and the horse it rode in on.
* src/globals.cc (_Swap_lock_struct<>): Likewise.
* include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): New
member to support...
* include/ext/ropeimpl.h (rope<>::c_str): Follow *all* memory
visibility rules related to POSIX threads.
* testsuite/thread/pthread7-rope.cc: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66507 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-05-05 Janis Johnson <janis187@us.ibm.com>
janis [Mon, 5 May 2003 21:59:35 +0000 (21:59 +0000)]
2003-05-05  Janis Johnson  <janis187@us.ibm.com>

* Makefile.in: (site.exp): Add ALT_CC_UNDER_TEST, add quotes around
expanded variables.
* doc/sourcebuild.texi (C tests): Describe gcc.dg/compat tests.
testsuite:
* lib/compat.exp (compat-execute): New argument.
* g++.dg/compat/compat.exp: Pass new argument to compat-execute.
* gcc.dg/compat: New test directory.
* gcc.dg/compat/compat.exp: New expect script.
* gcc.dg/compat/scalar-by-value-1_main.c: New test file.
* gcc.dg/compat/scalar-by-value-1_x.c: New test file.
* gcc.dg/compat/scalar-by-value-1_y.c: New test file.
* gcc.dg/compat/scalar-by-value-2_main.c: New test file.
* gcc.dg/compat/scalar-by-value-2_x.c: New test file.
* gcc.dg/compat/scalar-by-value-2_y.c: New test file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66506 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * rtl.h (STRING_POOL_ADDRESS_P): Rename to DEFERRED_CONSTANT_P.
zack [Mon, 5 May 2003 21:57:54 +0000 (21:57 +0000)]
* rtl.h (STRING_POOL_ADDRESS_P): Rename to DEFERRED_CONSTANT_P.
* varasm.c (struct varasm_status): Add deferred_constants field.
(n_deferred_strings): Delete variable.
(n_deferred_constants): New #define.
(struct constant_descriptor_tree): Kill next and label fields.
(const_hash_table, MAX_HASH_TABLE): Delete.
(const_desc_htab): New static variable.
(const_hash): Rename const_desc_hash, and make it fit the
hashtab.h interface.
(const_desc_eq): New.
(const_hash_1, compare_constant): Const-ify arguments.
(build_constant_desc): Set DEFERRED_CONSTANT_P on all new
SYMBOL_REFs.  Clarify comments.  Don't set desc->label.
(output_constant_def): Do the lookup/insert using the
hashtab.h interface.  Don't muck with n_deferred_constants or
DEFERRED_CONSTANT_P here.
Always call maybe_output_constant_def_contents.
(maybe_output_constant_def_contents): Take a pointer to the
descriptor, not the EXP and RTL separately.  Return
immediately if this constant is not deferred.  Defer output of
everything, except writable string constants.  Update
n_deferred_constants here.
(output_constant_def_contents): Now takes just one argument,
an rtx.  Clear DEFERRED_CONSTANT_P here.
(mark_constant_pool): Update for rename of n_deferred_strings.
(mark_constant): Don't clear DEFERRED_CONSTANT_P here.

(init_varasm_status): Clear p->deferred_constants.
(init_varasm_once): Call htab_create_ggc for const_desc_htab.

* gcc.dg/const-elim-1.c, gcc.dg/const-elim-2.c: New testcases.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66505 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * builtins.c (expand_builtin_stpcpy): Only expand when the length
ghazi [Mon, 5 May 2003 21:14:46 +0000 (21:14 +0000)]
* builtins.c (expand_builtin_stpcpy): Only expand when the length
of the source string can be evaluated at compile-time.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66503 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/9537
jason [Mon, 5 May 2003 21:11:13 +0000 (21:11 +0000)]
    PR c++/9537
        * call.c (conditional_conversion): Build an RVALUE_CONV if
        we're just changing the cv-quals.
        (build_conditional_expr): Don't call convert to change
        cv-quals.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66502 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-05-05 Aldy Hernandez <aldyh@redhat.com>
aldyh [Mon, 5 May 2003 20:31:45 +0000 (20:31 +0000)]
2003-05-05  Aldy Hernandez  <aldyh@redhat.com>

        * testsuite/gcc.c-torture/compile/simd-6.c: New.

        * c-typeck.c (digest_init): Handle arrays of vector constants.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66501 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-05-05 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 5 May 2003 20:18:31 +0000 (20:18 +0000)]
2003-05-05  Michael Koch  <konqueror@gmx.de>

* java/net/NetworkInterface.java
(networkInterfaces): Removed.
(getByName): Use getRealNetworkInterfaces() instead of
networkInterfaces.
(getByInetAddress): Likewise.
(getNetworkInterfaces): Likewise.
(toString): Fix output of addresses of an interface.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66500 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-05-05 Geoffrey Keating <geoffk@apple.com>
geoffk [Mon, 5 May 2003 19:33:52 +0000 (19:33 +0000)]
2003-05-05  Geoffrey Keating  <geoffk@apple.com>

* config/rs6000/rs6000.c (validate_condition_mode): Use
flag_finite_math_only.
(rs6000_reverse_condition): Never return UNKNOWN; use
flag_finite_math_only.
(rs6000_generate_compare): Use flag_finite_math_only.
(rs6000_emit_cmove): Handle UNLE.  Support UNEQ under -ffast-math.
Use HONOR_* rather than flag_unsafe_math_optimizations.  Correct
UNGE and GT cases.  Handle UNEQ and LTGT when ! HONOR_NANS.

Index: testsuite/ChangeLog
2003-05-05  Geoffrey Keating  <geoffk@apple.com>

* gcc.c-torture/execute/ieee/fp-cmp-8.c: New test.
* gcc.dg/ppc-fsel-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66499 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * builtins.c (expand_builtin_mempcpy): New function.
jakub [Mon, 5 May 2003 19:31:35 +0000 (19:31 +0000)]
* builtins.c (expand_builtin_mempcpy): New function.
(expand_builtin_stpcpy): Optimize stpcpy whose return value is
ignored into strcpy no matter what arguments it has.
(expand_builtin) <case BUILT_IN_MEMPCPY>: Call
expand_builtin_mempcpy.

* gcc.c-torture/execute/string-opt-18.c (main): Add 3 new tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66498 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-05-05 Aldy Hernandez <aldyh@redhat.com>
aldyh [Mon, 5 May 2003 19:21:10 +0000 (19:21 +0000)]
2003-05-05  Aldy Hernandez  <aldyh@redhat.com>

        * testsuite/gcc.dg/20030505.c: New.

        * c-typeck.c (convert_for_assignment): Opaque pointers can
        interconvert.

        * config/rs6000/rs6000.c: New global opaque_p_V2SI_type_node.
        (rs6000_init_builtins): Initialize opaque_p_V2SI_type_node.
        (spe_init_builtins): Rename all pv2si_type_node to
        opaque_p_V2SI_type_node.
        Remove declaration of pv2si_type_node.
        (is_ev64_opaque_type): Accept opaque pointers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66495 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agotweak comment
jason [Mon, 5 May 2003 19:16:07 +0000 (19:16 +0000)]
tweak comment

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66494 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-05-05 Geoffrey Keating <geoffk@apple.com>
geoffk [Mon, 5 May 2003 18:29:29 +0000 (18:29 +0000)]
2003-05-05  Geoffrey Keating  <geoffk@apple.com>

* toplev.c (check_global_declarations): Suppress not-used warning
for volatile variables.

Index: testsuite/ChangeLog
2003-05-05  Geoffrey Keating  <geoffk@apple.com>

* gcc.dg/unused-5.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66493 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * expr.c (expand_expr, case BIT_FIELD_REF): Refine the test forcing
kenner [Mon, 5 May 2003 17:56:35 +0000 (17:56 +0000)]
    * expr.c (expand_expr, case BIT_FIELD_REF): Refine the test forcing
        usage of bitfield instructions for mode1 != BLKmode, only ignoring
        SLOW_UNALIGNED_ACCESS if the field is not byte aligned.
        (store_field): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66492 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-05-05 Aldy Hernandez <aldyh@redhat.com>
aldyh [Mon, 5 May 2003 17:40:03 +0000 (17:40 +0000)]
2003-05-05  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (rs6000_expand_binop_builtin): Add
        evsubifw to builtins accepting 5-bit unsigned constants.
        (easy_vector_constant): Return if V1DImode.  Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66490 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-05-05 Aldy Hernandez <aldyh@redhat.com>
aldyh [Mon, 5 May 2003 15:50:31 +0000 (15:50 +0000)]
2003-05-05  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/spe.h: Revert licensing change from last patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66486 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* config/stormy16/stormy16.md (negsi2): Allocate the pseudos
dj [Mon, 5 May 2003 15:25:01 +0000 (15:25 +0000)]
* config/stormy16/stormy16.md (negsi2): Allocate the pseudos
before reload, but defer the split until after.
* config/stormy16/stormy16.c (xstormy16_expand_arith): Modify
to match.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66485 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoFix a typo overlooked in the previous commit.
lerdsuwa [Mon, 5 May 2003 14:46:00 +0000 (14:46 +0000)]
Fix a typo overlooked in the previous commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66484 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/10496
lerdsuwa [Mon, 5 May 2003 14:35:58 +0000 (14:35 +0000)]
PR c++/10496
* typeck.c (build_unary_op): Don't output const qualifier when
output invalid pointer-to-member diagnostics.

* g++.dg/warn/pmf1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66481 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add 440 support.
dje [Mon, 5 May 2003 14:33:01 +0000 (14:33 +0000)]
    * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add 440 support.
        * config/rs6000/vxworks.h (CC1_SPEC): Use -mcpu=440 for t440.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66480 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoFixed wrong changelog entry
mkoch [Mon, 5 May 2003 13:37:14 +0000 (13:37 +0000)]
Fixed wrong changelog entry

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66479 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-05-04 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 5 May 2003 13:35:15 +0000 (13:35 +0000)]
2003-05-04  Michael Koch  <konqueror@gmx.de>

* java/io/DataInputStream.java:
Reordered methods to match libgcj.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66478 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * decl.c: Fix typos.
lerdsuwa [Mon, 5 May 2003 13:26:50 +0000 (13:26 +0000)]
* decl.c: Fix typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66477 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/4494
lerdsuwa [Mon, 5 May 2003 12:19:12 +0000 (12:19 +0000)]
PR c++/4494
* decl.c (start_function): Use same_type_p to check return type
of main.

* g++.dg/warn/main.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66476 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * libgcov.c (__gcov_merge_add): Do not use gcov_type when inhibit_libc
rakdver [Mon, 5 May 2003 05:22:07 +0000 (05:22 +0000)]
* libgcov.c (__gcov_merge_add): Do not use gcov_type when inhibit_libc
is defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66475 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoForgot to add this to commit line on 2003/05/02. Its in Changelog already.
mkoch [Mon, 5 May 2003 05:10:47 +0000 (05:10 +0000)]
Forgot to add this to commit line on 2003/05/02. Its in Changelog already.

>2003-05-02  Michael Koch  <konqueror@gmx.de>
>
> * java/net/URI.java
> (create): Doesnt throws any exceptions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66474 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Mon, 5 May 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66473 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * update_version (textstring_FILES): Only version.c needs to be
gerald [Sun, 4 May 2003 22:51:26 +0000 (22:51 +0000)]
* update_version (textstring_FILES): Only version.c needs to be
updated, now that we do not consider older branches any more.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66471 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
kraai [Sun, 4 May 2003 22:26:43 +0000 (22:26 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66469 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agogcc:
ghazi [Sun, 4 May 2003 22:18:17 +0000 (22:18 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66468 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
ghazi [Sun, 4 May 2003 22:14:18 +0000 (22:14 +0000)]
* configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66467 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-05-04 Paolo Carlini <pcarlini@unitus.it>
paolo [Sun, 4 May 2003 22:12:18 +0000 (22:12 +0000)]
2003-05-04  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/21_strings/basic_string/find/char/3.cc: New
file, testing basic_string<char>::find_first_not_of.
* testsuite/21_strings/basic_string/find/wchar_t/3.cc:
Likewise for basic_string<wchar_t>.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66466 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * expr.c (store_field): Don't clobber TEMP in shift: it might be
kenner [Sun, 4 May 2003 22:09:48 +0000 (22:09 +0000)]
* expr.c (store_field): Don't clobber TEMP in shift: it might be
a variable.
(get_inner_reference): Don't go through a VIEW_CONVERT_EXPR
whose purpose is to step up the alignment.
(expand_expr, case ADDR_EXPR): Force LO_SUM into memory, just like REG.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66465 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * doc/cppopts.texi: Remove documentation of -gcc.
neil [Sun, 4 May 2003 22:06:57 +0000 (22:06 +0000)]
* doc/cppopts.texi: Remove documentation of -gcc.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66464 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * stor-layout.c (compute_record_mode): Relax restriction
kenner [Sun, 4 May 2003 22:04:51 +0000 (22:04 +0000)]
* stor-layout.c (compute_record_mode): Relax restriction
on fields crossing word boundaries forcing BLKmode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66463 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * doc/cppopts.texi: Enhance -Wtrigraphs documentation
neil [Sun, 4 May 2003 21:45:08 +0000 (21:45 +0000)]
* doc/cppopts.texi: Enhance -Wtrigraphs documentation

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66462 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * cppinit.c (cpp_create_reader, post_options): Warn about
neil [Sun, 4 May 2003 20:03:55 +0000 (20:03 +0000)]
* cppinit.c (cpp_create_reader, post_options): Warn about
trigraphs unless explicity set or -trigraphs.
* cpplex.c (warn_in_comment): New.
(_cpp_process_line_notes): Better handling of -Wtrigraphs.
(_cpp_skip_block_comment): Add call to _cpp_process_line_notes.
* doc/cppopts.texi, doc/cpp.texi: Update.
testsuite:
* gcc.dg/cpp/Wtrigraphs.c: Update.
* gcc.dg/cpp/Wtrigraphs-2.c: New tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66459 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * Makefile.in (LIBGCOV): Add _gcov_merge_add.
rakdver [Sun, 4 May 2003 15:20:26 +0000 (15:20 +0000)]
* Makefile.in (LIBGCOV): Add _gcov_merge_add.
* gcov-io.h: Make GCOV_LINKAGE extern in libgcov and prevent resulting
namespace clash.
(GCOV_MERGE_FUNCTIONS): New.
(gcov_merge_fn): Declare.
(struct gcov_ctr_info): New field "merge".
(__gcov_merge_add): Declare.
* coverage.c (ctr_merge_functions): New.
(build_ctr_info_type, build_ctr_info_value): Initialize merge field
of gcov_ctr_info type.
* libgcov.c (__gcov_merge_add): New.
(gcov_exit): Call a hook to merge values of counters.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66457 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * toplev.h (pedwarn_with_file_and_line): Don't declare.
gdr [Sun, 4 May 2003 15:18:21 +0000 (15:18 +0000)]
* toplev.h (pedwarn_with_file_and_line): Don't declare.
* diagnostic.c (pedwarn_with_file_and_line): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66456 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * varasm.c (assemble_variable): Don't use error_with_file_and_line.
gdr [Sun, 4 May 2003 14:27:17 +0000 (14:27 +0000)]
* varasm.c (assemble_variable): Don't use error_with_file_and_line.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66454 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * Make-lang.in (java/parse.o, java/parse-scan.o): Depend on input.h.
nathan [Sun, 4 May 2003 14:05:15 +0000 (14:05 +0000)]
* Make-lang.in (java/parse.o, java/parse-scan.o): Depend on input.h.
* lex.h: #include input.h.
* jv-scan.c (input_filename): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66452 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * MAINTAINERS: Remove duplicate entries in Write After Approval.
gerald [Sun, 4 May 2003 11:45:20 +0000 (11:45 +0000)]
* MAINTAINERS: Remove duplicate entries in Write After Approval.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66451 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * builtins.c (expand_builtin_constant_p, expand_builtin_strlen,
ghazi [Sun, 4 May 2003 05:34:13 +0000 (05:34 +0000)]
* builtins.c (expand_builtin_constant_p, expand_builtin_strlen,
expand_builtin_frame_address): Update prototypes.
(expand_builtin_constant_p, expand_builtin_strlen,
expand_builtin_strcpy, expand_builtin_memset,
expand_builtin_bzero, expand_builtin_args_info,
expand_builtin_frame_address): Pass in just the argument(s)
needed, not the entire expression `exp'.
(expand_builtin): Update all calls to these functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66448 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * builtins.c (expand_builtin) <BUILT_IN_DWARF_FP_REGNUM>: Remove.
rth [Sun, 4 May 2003 05:22:51 +0000 (05:22 +0000)]
    * builtins.c (expand_builtin) <BUILT_IN_DWARF_FP_REGNUM>: Remove.
        <BUILT_IN_DWARF_SP_COLUMN>: New.
        * builtins.def (BUILT_IN_DWARF_FP_REGNUM): Remove.
        (BUILT_IN_DWARF_SP_COLUMN): New.
        * dwarf2out.c (expand_builtin_dwarf_fp_regnum): Remove.
        (expand_builtin_dwarf_sp_column): New.
        * except.h: Update to match.
        * unwind-dw2.c (execute_stack_op): Correct stack push typo.
        (execute_cfa_program): Record location expression address
        before extracting length.
        (uw_update_context_1): Install old CFA into stack pointer column.
        (uw_init_context_1): Set cfa_reg to stack pointer column.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66447 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/rs6000/rs6000.c (constant_pool_expr_p): Make static and
rth [Sun, 4 May 2003 00:33:49 +0000 (00:33 +0000)]
    * config/rs6000/rs6000.c (constant_pool_expr_p): Make static and
return bool.
        (toc_relative_expr_p): Likewise.
        (SPE_CONST_OFFSET_OK): Move from rs6000.h.
        (legitimate_constant_pool_address_p): Move from rs6000.h, change
        into a function, downcase all users.
        (legitimate_small_data_p): Likewise.
        (legitimate_offset_address_p): Likewise.
        (legitimate_indexed_address_p): Likewise.
        (legitimate_indirect_address_p): Likewise.
        (legitimate_lo_sum_address_p): Likewise.
        (rs6000_mode_dependent_address): Likewise.
        * rs6000.h (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): Remove.
        (SPE_CONST_OFFSET_OK, LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
        LEGITIMATE_SMALL_DATA_P, LEGITIMATE_OFFSET_ADDRESS_P,
        LEGITIMATE_INDEXED_ADDRESS_P, LEGITIMATE_INDIRECT_ADDRESS_P,
        LEGITIMATE_LO_SUM_ADDRESS_P): Move into rs6000.c.
        (LEGITIMATE_ADDRESS_INTEGER_P): Remove.
        (GO_IF_MODE_DEPENDENT_ADDRESS): Use rs6000_mode_dependent_address.
        * config/rs6000/rs6000-protos.h: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66445 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Sun, 4 May 2003 00:16:15 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66444 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/rs6000/rs6000.h (REVERSIBLE_CC_MODE): Define.
geoffk [Sat, 3 May 2003 23:16:56 +0000 (23:16 +0000)]
* config/rs6000/rs6000.h (REVERSIBLE_CC_MODE): Define.
(REVERSE_CONDITION): Define.

* gcc.dg/ppc-fsel-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66442 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/rs6000/rs6000.c (scc_comparison_operator): Make equivalent
geoffk [Sat, 3 May 2003 23:13:57 +0000 (23:13 +0000)]
* config/rs6000/rs6000.c (scc_comparison_operator): Make equivalent
to branch_positive_comparison_operator.
(ccr_bit): Check that sCOND conditions are actually a positive bit.
(print_operand): Remove %D substitution.
(rs6000_emit_sCOND): Generate complement operation to ensure that
sCOND input is a positive bit.
* config/rs6000/rs6000.md: Rearrange sCOND templates to be in the
same order as bCOND, and add the missing ones.  Remove the %D
substitutions from the scc patterns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66441 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * simplify-rtx.c (simplify_relational_operation): Add case for
geoffk [Sat, 3 May 2003 23:12:41 +0000 (23:12 +0000)]
* simplify-rtx.c (simplify_relational_operation): Add case for
! (fabs(x) < 0.0).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66440 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoforce merge conflicts in fixincl.x + placement fix
korbb [Sat, 3 May 2003 22:48:59 +0000 (22:48 +0000)]
force merge conflicts in fixincl.x + placement fix

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66439 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-05-03 Aldy Hernandez <aldyh@redhat.com>
aldyh [Sat, 3 May 2003 22:44:44 +0000 (22:44 +0000)]
2003-05-03  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/spe.h: Remove unecessary casts.  Misc cleanups.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66437 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c/10604
zack [Sat, 3 May 2003 21:44:31 +0000 (21:44 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66436 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * trans.c (tree_transform): Use location_t and input_location
nathan [Sat, 3 May 2003 16:43:17 +0000 (16:43 +0000)]
* trans.c (tree_transform): Use location_t and input_location
directly.
(build_unit_elab): Likewise.
* utils.c (create_label_decl): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66433 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * com.c (ffecom_do_entry_): Use location_t and input_location
nathan [Sat, 3 May 2003 16:39:50 +0000 (16:39 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66432 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * libjava/gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
kraai [Sat, 3 May 2003 16:20:48 +0000 (16:20 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66431 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * expr.c (expand_expr, case VIEW_CONVERT_EXPR): Don't use
kenner [Sat, 3 May 2003 14:30:07 +0000 (14:30 +0000)]
* expr.c (expand_expr, case VIEW_CONVERT_EXPR): Don't use
gen_lowpart on non-integer modes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66430 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * emit-rtl.c (last_call_insn, add_function_usage_to): New functions.
kenner [Sat, 3 May 2003 14:25:22 +0000 (14:25 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66429 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * stor-layout.c (place_field): When adjusting offset_align, use
kenner [Sat, 3 May 2003 14:16:27 +0000 (14:16 +0000)]
* stor-layout.c (place_field): When adjusting offset_align, use
desired_align, not DECL_ALIGN.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66428 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-05-03 Carlo Wood <carlo@alinoe.com>
bkoz [Sat, 3 May 2003 14:09:35 +0000 (14:09 +0000)]
2003-05-03  Carlo Wood  <carlo@alinoe.com>

* cp-demangle.c: Fix typo in "char_traints" string-literal.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66427 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc.dg/m-un-2.c: Fix the typedef of size_t.
kazu [Sat, 3 May 2003 13:34:43 +0000 (13:34 +0000)]
* gcc.dg/m-un-2.c: Fix the typedef of size_t.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66426 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * c-decl.c (pending_invalid_xref_file): Remove.
nathan [Sat, 3 May 2003 13:28:33 +0000 (13:28 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66425 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/9364, c++/10553, c++/10586
lerdsuwa [Sat, 3 May 2003 11:58:17 +0000 (11:58 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66424 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * class.c (finish_struct): Use location_t and input_location
nathan [Sat, 3 May 2003 11:37:22 +0000 (11:37 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66423 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * ansify.c (die_unless): Revert lineno change here.
nathan [Sat, 3 May 2003 11:24:55 +0000 (11:24 +0000)]
* ansify.c (die_unless): Revert lineno change here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66422 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc.c-torture/compile/20030503-1.c: New test.
rsandifo [Sat, 3 May 2003 08:42:58 +0000 (08:42 +0000)]
* gcc.c-torture/compile/20030503-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66421 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/mips/mips.md: Fix comment typo.
rsandifo [Sat, 3 May 2003 08:40:07 +0000 (08:40 +0000)]
* config/mips/mips.md: Fix comment typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66420 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/mips/mips.c (mips_integer_op): New structure.
rsandifo [Sat, 3 May 2003 08:10:17 +0000 (08:10 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66419 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * testsuite/thread/pthread1.cc: Remove special case for FreeBSD.
ljrittle [Sat, 3 May 2003 07:42:22 +0000 (07:42 +0000)]
* testsuite/thread/pthread1.cc: Remove special case for FreeBSD.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66418 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * Makefile.in (gcov-iov.h): Use move-if-change and a stamp.
kraai [Sat, 3 May 2003 05:43:34 +0000 (05:43 +0000)]
* Makefile.in (gcov-iov.h): Use move-if-change and a stamp.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66417 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR java/10491:
tromey [Sat, 3 May 2003 02:29:26 +0000 (02:29 +0000)]
PR java/10491:
* gjavah.c (HANDLE_INNERCLASSES_ATTRIBUTE): New macro.
(handle_inner_classes): New function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66416 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-05-02 Chris Demetriou <cgd@broadcom.com>
cgd [Sat, 3 May 2003 01:29:54 +0000 (01:29 +0000)]
2003-05-02  Chris Demetriou  <cgd@broadcom.com>

        * Makefile.tpl: Require "makeinfo" from texinfo 4.2 or later.
        * Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66415 138bc75d-0d04-0410-961f-82ee72b054a4