platform/upstream/gcc.git
21 years agoh8300.c (output_plussi): Support H8/300.
Kazu Hirata [Tue, 21 Jan 2003 14:31:29 +0000 (14:31 +0000)]
h8300.c (output_plussi): Support H8/300.

* config/h8300/h8300.c (output_plussi): Support H8/300.
(compute_plussi_length): Likewise.
(compute_plussi_cc): Likewise.
* config/h8300/h8300.md (addsi_h8300): Use output_plussi to
output assembly instructions.

From-SVN: r61546

21 years ago* calls.c (fix_unsafe_tree): Prototype.
Kaveh R. Ghazi [Tue, 21 Jan 2003 14:28:38 +0000 (14:28 +0000)]
* calls.c (fix_unsafe_tree): Prototype.

From-SVN: r61545

21 years agoMakefile.in (GCC_WARN_CFLAGS): Add $(WERROR) $($@-warn) (gtype-desc.o-warn...
Kaveh R. Ghazi [Tue, 21 Jan 2003 13:45:16 +0000 (13:45 +0000)]
Makefile.in (GCC_WARN_CFLAGS): Add $(WERROR) $($@-warn) (gtype-desc.o-warn...

gcc:
* Makefile.in (GCC_WARN_CFLAGS): Add $(WERROR) $($@-warn)
(gtype-desc.o-warn, c-decl.o-warn, varasm.o-warn, gcc.o-warn,
insn-conditions.o-warn, out_object_file, gengtype-yacc.o-warn,
c-parse.o-warn): Add -Wno-error.
(STAGE2_FLAGS_TO_PASS): Add WERROR="@WERROR@".

* configure.in (--enable-werror): Add new flag.
* doc/install.texi (--enable-werror): Document.
* configure: Regenerate.

* objc/Make-lang.in (objc/objc-parse.o-warn): Add -Wno-error.

cp:
Make-lang.in (cp/decl.o-warn): Add -Wno-error.

f:
Make-lang.in (f/sta.o-warn): Add -Wno-error.

java:
Make-lang.in (jvspec.o-warn): Add -Wno-error.

From-SVN: r61544

21 years agogenautomata.c (output_internal_insn_latency_func): Fix missing close paren in output.
Andreas Schwab [Tue, 21 Jan 2003 09:41:18 +0000 (09:41 +0000)]
genautomata.c (output_internal_insn_latency_func): Fix missing close paren in output.

* genautomata.c (output_internal_insn_latency_func): Fix missing
close paren in output.

From-SVN: r61542

21 years agogenautomata.c: Space savings in generated code:
Zack Weinberg [Tue, 21 Jan 2003 08:33:20 +0000 (08:33 +0000)]
genautomata.c: Space savings in generated code:

* genautomata.c: Space savings in generated code:
(output_dfa_insn_code_func): Split out the table-enlargement
path to an out-of-line static function, dfa_insn_code_enlarge.
(output_internal_insn_latency_func): Use a lookup table for the
default latencies.
(output_print_reservation_func): Use a lookup table for the
strings.

From-SVN: r61541

21 years agore PR rtl-optimization/7507 (ICE (segfault) with -O2)
Christian Ehrhardt [Tue, 21 Jan 2003 08:02:31 +0000 (08:02 +0000)]
re PR rtl-optimization/7507 (ICE (segfault) with -O2)

        PR opt/7507
        * calls.c (fix_unsafe_tree): Split out from ...
        (expand_call): ... here.  Use it on the function address too.

From-SVN: r61539

21 years ago* expr.h (default_must_pass_in_stack): Move decl outside ifdef.
Richard Henderson [Tue, 21 Jan 2003 07:55:53 +0000 (23:55 -0800)]
* expr.h (default_must_pass_in_stack): Move decl outside ifdef.

From-SVN: r61538

21 years agore PR rtl-optimization/7507 (ICE (segfault) with -O2)
Richard Henderson [Tue, 21 Jan 2003 07:37:13 +0000 (23:37 -0800)]
re PR rtl-optimization/7507 (ICE (segfault) with -O2)

        PR opt/7507
        * stmt.c (expand_asm_operands): Validize memory operands.
* gcc.dg/20030120-1.c: New.

From-SVN: r61535

21 years agore PR rtl-optimization/8848 (bad code when optimizing (lifetime analysis pass?))
Richard Henderson [Tue, 21 Jan 2003 05:04:34 +0000 (21:04 -0800)]
re PR rtl-optimization/8848 (bad code when optimizing (lifetime analysis pass?))

        PR opt/8848
        * ifcvt.c (noce_process_if_block): Correct arguments to
        modified_between_p for no-else-block case.
        * gcc.c-torture/execute/20030120-2.c: New.

From-SVN: r61532

21 years agoh8300.c (const_costs): Remove a warning.
Kazu Hirata [Tue, 21 Jan 2003 04:10:38 +0000 (04:10 +0000)]
h8300.c (const_costs): Remove a warning.

* config/h8300/h8300.c (const_costs): Remove a warning.
(output_plussi): Likewise.
(compute_plussi_length): Likewise.
(compute_plussi_cc): Likewise.

From-SVN: r61531

21 years agoh8300.md (addsi_h8300): Remove the last alternative.
Kazu Hirata [Tue, 21 Jan 2003 04:01:07 +0000 (04:01 +0000)]
h8300.md (addsi_h8300): Remove the last alternative.

* config/h8300/h8300.md (addsi_h8300): Remove the last
alternative.

From-SVN: r61530

21 years ago* config/h8300/h8300.c (get_shift_alg): Remove redundant code.
Kazu Hirata [Tue, 21 Jan 2003 03:54:49 +0000 (03:54 +0000)]
* config/h8300/h8300.c (get_shift_alg): Remove redundant code.

From-SVN: r61529

21 years ago* system.h (__NO_STRING_INLINES): Define.
Kaveh R. Ghazi [Tue, 21 Jan 2003 02:44:37 +0000 (02:44 +0000)]
* system.h (__NO_STRING_INLINES): Define.

From-SVN: r61528

21 years agoifcvt.c (noce_emit_store_flag): Don't emit store flag if mode of x is not a scalar...
John David Anglin [Tue, 21 Jan 2003 02:03:14 +0000 (02:03 +0000)]
ifcvt.c (noce_emit_store_flag): Don't emit store flag if mode of x is not a scalar int mode.

* ifcvt.c (noce_emit_store_flag): Don't emit store flag if mode of x
is not a scalar int mode.

From-SVN: r61525

21 years agocse.c (cse_insn): Avoid RTL sharing when updating the RETVAL insn's notes following...
Roger Sayle [Tue, 21 Jan 2003 01:52:46 +0000 (01:52 +0000)]
cse.c (cse_insn): Avoid RTL sharing when updating the RETVAL insn's notes following a...

* cse.c (cse_insn): Avoid RTL sharing when updating the RETVAL
insn's notes following a substitution inside a libcall.

From-SVN: r61524

21 years agoDaily bump.
GCC Administrator [Tue, 21 Jan 2003 00:17:05 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r61523

21 years agoconfigure.in: Check for system-provided 'uchar' type.
Zack Weinberg [Tue, 21 Jan 2003 00:12:52 +0000 (00:12 +0000)]
configure.in: Check for system-provided 'uchar' type.

* configure.in: Check for system-provided 'uchar' type.
* configure, config.in: Regenerate.
* cpphash.h: Only typedef 'uchar' if the system doesn't.

From-SVN: r61516

21 years agoconfigure.in: Check for system-provided 'uchar' type.
Zack Weinberg [Tue, 21 Jan 2003 00:08:45 +0000 (00:08 +0000)]
configure.in: Check for system-provided 'uchar' type.

* configure.in: Check for system-provided 'uchar' type.
* configure: Regenerate.
* cpphash.h: Only typedef 'uchar' if the system doesn't.

From-SVN: r61515

21 years agoexpr.h (MUST_PASS_IN_STACK): Move implementation...
Richard Henderson [Mon, 20 Jan 2003 23:20:18 +0000 (15:20 -0800)]
expr.h (MUST_PASS_IN_STACK): Move implementation...

        * expr.h (MUST_PASS_IN_STACK): Move implementation...
        * calls.c (default_must_pass_in_stack): ... here.

From-SVN: r61514

21 years agogenattrtab.h (INSN_ALTS_FUNC_NAME): Move it from genautomata.c.
Vladimir Makarov [Mon, 20 Jan 2003 22:49:33 +0000 (22:49 +0000)]
genattrtab.h (INSN_ALTS_FUNC_NAME): Move it from genautomata.c.

2003-01-20  Vladimir Makarov  <vmakarov@redhat.com>

        * genattrtab.h (INSN_ALTS_FUNC_NAME): Move it from genautomata.c.

* genautomata.c (INSN_ALTS_FUNC_NAME): Move it into genattrtab.h.

* genattr.c (main): Output default definition of AUTOMATON_ALTS.
Wrap up definition `insn_alts'.

* genattrtab.c (main): Wrap up `insn_alts'.

From-SVN: r61513

21 years agocollect2.c (ldgetname): Check HAVE_DECL_LDGETNAME before prototyping.
Kaveh R. Ghazi [Mon, 20 Jan 2003 20:41:55 +0000 (20:41 +0000)]
collect2.c (ldgetname): Check HAVE_DECL_LDGETNAME before prototyping.

* collect2.c (ldgetname): Check HAVE_DECL_LDGETNAME before
prototyping.
* configure.in: Check for <ldfcn.h> and ldgetname() prototype.

* config.in, configure: Regenerate.

From-SVN: r61511

21 years agoAdd an UNSPEC_PROLOGUE_USE to prevent the link register from being considered dead.
Nick Clifton [Mon, 20 Jan 2003 18:59:43 +0000 (18:59 +0000)]
Add an UNSPEC_PROLOGUE_USE to prevent the link register from being considered dead.

Add a testcase for the bug fixed by this patch.

From-SVN: r61509

21 years ago* hashtab.c (htab_expand): Fix allocation of new entries.
Josef Zlomek [Mon, 20 Jan 2003 18:41:01 +0000 (19:41 +0100)]
* hashtab.c (htab_expand): Fix allocation of new entries.

From-SVN: r61507

21 years ago* i386.md (SSE cmov splitter): Handle memory operand in operand 5.
Jan Hubicka [Mon, 20 Jan 2003 13:37:03 +0000 (14:37 +0100)]
* i386.md (SSE cmov splitter):  Handle memory operand in operand 5.

From-SVN: r61506

21 years agosystem.h: Don't declare strsignal if the decl test hasn't been run yet.
Andreas Schwab [Mon, 20 Jan 2003 10:23:41 +0000 (10:23 +0000)]
system.h: Don't declare strsignal if the decl test hasn't been run yet.

* system.h: Don't declare strsignal if the decl test hasn't been
run yet.

From-SVN: r61505

21 years agoMakefile.am (core_java_source_files): Add VMObjectStreamClass.java.
Mark Wielaard [Mon, 20 Jan 2003 06:46:28 +0000 (06:46 +0000)]
Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.

       * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
       (nat_source_files): Add natVMObjectStreamClass.cc.
       * Makefile.in: Regenerated.
       * gcj/javaprims.h (namespace java): Regenerated.
       * java/io/ObjectStreamClass.java (getClassUID): Call
       VMObjectStreamClass.hasClassInitializer().
       (hasClassInitializer): Removed.
       * java/io/VMObjectStreamClass.java: New class.
       * java/io/natVMObjectStreamClass.cc: New file.
       * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.

From-SVN: r61501

21 years agoh8300.c (notice_update_cc): Don't assume that recog_data.operands[0] is always associ...
Kazu Hirata [Mon, 20 Jan 2003 06:42:58 +0000 (06:42 +0000)]
h8300.c (notice_update_cc): Don't assume that recog_data.operands[0] is always associated with cc0.

* config/h8300/h8300.c (notice_update_cc): Don't assume that
recog_data.operands[0] is always associated with cc0.

* gcc.c-torture/execute/20030120-1.c: New.

From-SVN: r61498

21 years agoDaily bump.
GCC Administrator [Mon, 20 Jan 2003 06:28:28 +0000 (06:28 +0000)]
Daily bump.

From-SVN: r61497

21 years ago* system.h (strsignal): Also declare if no declaration found.
David Edelsohn [Mon, 20 Jan 2003 03:04:10 +0000 (03:04 +0000)]
* system.h (strsignal): Also declare if no declaration found.

From-SVN: r61490

21 years agocollect2.c (ldgetname): Expand declaration to prototype.
David Edelsohn [Mon, 20 Jan 2003 02:25:07 +0000 (02:25 +0000)]
collect2.c (ldgetname): Expand declaration to prototype.

        * collect2.c (ldgetname): Expand declaration to prototype.
        * read-rtl.c (atoll): Add prototype.

From-SVN: r61489

21 years agoconfigure.in: Add missing \.
Nathanael Nerode [Sun, 19 Jan 2003 23:44:28 +0000 (23:44 +0000)]
configure.in: Add missing \.

* configure.in: Add missing \.
* configure: Rebuilt.

From-SVN: r61487

21 years agotest_summary (configflags): Only use the first match.
Alexandre Oliva [Sun, 19 Jan 2003 14:34:12 +0000 (14:34 +0000)]
test_summary (configflags): Only use the first match.

* test_summary (configflags): Only use the first match.  Remove
excess space.  Use sub instead of gsub where possible.  Use `none'
if no configure flags were given.

From-SVN: r61483

21 years agotypename13.C: Remove XFAIL.
Paolo Carlini [Sun, 19 Jan 2003 13:28:26 +0000 (14:28 +0100)]
typename13.C: Remove XFAIL.

2003-01-19  Paolo Carlini  <pcarlini@unitus.it>

* g++.old-deja/g++.pt/typename13.C: Remove XFAIL.

From-SVN: r61482

21 years agoconfig.gcc (mips64*-*-linux*): Added.
Alexandre Oliva [Sun, 19 Jan 2003 13:04:24 +0000 (13:04 +0000)]
config.gcc (mips64*-*-linux*): Added.

* config.gcc (mips64*-*-linux*): Added.
* config/mips/linux64.h, config/mips/t-linux64: New file.
* config/mips/iris6.h (MIPS_TFMODE_FORMAT): Define.
* config/mips/mips.c (override_options): Use it.
* config/mips/mips.h (TARGET_SWITCHES): Added...
(SUBTARGET_TARGET_SWITCHES): New, empty by default.
* Makefile.in (SPECS): New.
(STAGESTUFF, specs, mostlyclean, install-common): Use it.
* gcc.c (process_command): Move self-spec processing past spec
file loading.
* doc/tm.texi (DRIVER_SELF_SPECS): Document the change.
* doc/fragments.texi (MULTILIB_EXTRA_OPTS): Document need for
CRTSTUFF_T_CFLAGS.
(SPECS): Document.
* doc/invoke.texi (-mabi-fake-default): Document.

From-SVN: r61481

21 years agom68hc11.c (stack_push_word, [...]): Declare static and GTY().
Stephane Carrez [Sun, 19 Jan 2003 11:09:08 +0000 (12:09 +0100)]
m68hc11.c (stack_push_word, [...]): Declare static and GTY().

* config/m68hc11/m68hc11.c (stack_push_word, stack_pop_word,
z_reg, z_reg_qi): Declare static and GTY().
(da_reg): Remove.
(create_regs_rtx): Don't create da_reg.
("gt-m68hc11.h"): Include for GTY roots.
* config/m68hc11/m68hc11.h (ix_reg, iy_reg, d_reg): Declare extern
and GTY() here.
(m68hc11_compare_op0, m68hc11_compare_op1): Likewise.
(m68hc11_soft_tmp_reg): Likewise.
* config/m68hc11/m68hc11-protos.h: Remove above declarations.

From-SVN: r61479

21 years agobasic-block.h: Fix comment formatting.
Kazu Hirata [Sat, 18 Jan 2003 22:32:06 +0000 (22:32 +0000)]
basic-block.h: Fix comment formatting.

* basic-block.h: Fix comment formatting.
* calls.c: Likewise.
* combine.c: Likewise.
* convert.c: Likewise.
* gcov.c: Likewise.
* haifa-sched.c: Likewise.
* libgcc2.c: Likewise.
* loop.c: Likewise.
* profile.c: Likewise.
* system.h: Likewise.

From-SVN: r61478

21 years agocheck-init.c: Fix comment typos.
Kazu Hirata [Sat, 18 Jan 2003 22:15:51 +0000 (22:15 +0000)]
check-init.c: Fix comment typos.

* check-init.c: Fix comment typos.
* class.c: Likewise.
* constants.c: Likewise.
* decl.c: Likewise.
* except.c: Likewise.
* expr.c: Likewise.
* java-except.h: Likewise.
* java-tree.h: Likewise.
* javaop.h: Likewise.
* jcf-dump.c: Likewise.
* jcf-io.c: Likewise.
* jcf-parse.c: Likewise.
* jcf-write.c: Likewise.
* lang.c: Likewise.
* mangle.c: Likewise.
* typeck.c: Likewise.
* verify.c: Likewise.

From-SVN: r61477

21 years agoMake-lang.in (java/jcf-write.o): Depend on $(TM_P_H).
Kaveh R. Ghazi [Sat, 18 Jan 2003 19:17:39 +0000 (19:17 +0000)]
Make-lang.in (java/jcf-write.o): Depend on $(TM_P_H).

* Make-lang.in (java/jcf-write.o): Depend on $(TM_P_H).
* jcf-write.c: Include "tm_p.h".

From-SVN: r61476

21 years ago* config/pa/pa.md (muldi3): Avoid invalid sharing of SUBREG RTXs.
Roger Sayle [Sat, 18 Jan 2003 14:51:10 +0000 (14:51 +0000)]
* config/pa/pa.md (muldi3): Avoid invalid sharing of SUBREG RTXs.

From-SVN: r61473

21 years agoDaily bump.
GCC Administrator [Sat, 18 Jan 2003 08:17:30 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r61472

21 years ago* ra-build.c (undef_to_size_word): Avoid `switch' warning.
Kaveh R. Ghazi [Sat, 18 Jan 2003 03:07:26 +0000 (03:07 +0000)]
* ra-build.c (undef_to_size_word): Avoid `switch' warning.

From-SVN: r61464

21 years agors6000.md (*floatsidf2_internal): Add earlyclobbers.
Dale Johannesen [Sat, 18 Jan 2003 03:02:19 +0000 (03:02 +0000)]
rs6000.md (*floatsidf2_internal): Add earlyclobbers.

2003-01-17  Dale Johannesen  <dalej@apple.com>

        * config/rs6000/rs6000.md (*floatsidf2_internal):  Add earlyclobbers.
          (*floatunssidf2_internal):  Ditto.

From-SVN: r61463

21 years agoalias.c: Fix comment typos.
Kazu Hirata [Sat, 18 Jan 2003 02:26:43 +0000 (02:26 +0000)]
alias.c: Fix comment typos.

* alias.c: Fix comment typos.
* basic-block.h: Likewise.
* c-common.c: Likewise.
* c-common.h: Likewise.
* c-decl.c: Likewise.
* c-opts.c: Likewise.
* c-pragma.c: Likewise.
* c-pretty-print.h: Likewise.
* cfg.c: Likewise.
* cfganal.c: Likewise.
* cfgbuild.c: Likewise.
* cfgcleanup.c: Likewise.
* cfglayout.c: Likewise.
* cfgrtl.c: Likewise.
* convert.c: Likewise.
* cpphash.h: Likewise.
* cpplex.c: Likewise.
* cpplib.h: Likewise.
* df.h: Likewise.
* diagnostic.c: Likewise.
* diagnostic.h: Likewise.
* dwarf2.h: Likewise.

From-SVN: r61462

21 years ago* config/darwin-protos.h: Forward-declare struct cpp_reader.
Stan Shebs [Sat, 18 Jan 2003 00:09:02 +0000 (00:09 +0000)]
* config/darwin-protos.h: Forward-declare struct cpp_reader.

From-SVN: r61460

21 years agoPR c++/9167, c++/9358
Jason Merrill [Fri, 17 Jan 2003 23:59:22 +0000 (18:59 -0500)]
PR c++/9167, c++/9358

        PR c++/9167, c++/9358
        * decl.c (require_complete_types_for_parms): Also update DECL_ARG_TYPE.

From-SVN: r61459

21 years agore PR c++/9342 (another ICE in cp_expr_size at cp/cp-lang.c: 304)
Jason Merrill [Fri, 17 Jan 2003 22:51:24 +0000 (17:51 -0500)]
re PR c++/9342 (another ICE in cp_expr_size at cp/cp-lang.c: 304)

        PR c++/9342
        * call.c (build_conditional_expr): Always do lvalue-rvalue
        conversion.

From-SVN: r61457

21 years agore PR c++/9294 ([new parser] parser enters infinite loop)
Mark Mitchell [Fri, 17 Jan 2003 20:14:44 +0000 (20:14 +0000)]
re PR c++/9294 ([new parser] parser enters infinite loop)

PR c++/9294
* cp-tree.def (BASELINK): Make it class 'x', not class 'e'.
* cp-tree.h (BASELINK_BINFO): Adjust.
(BASELINK_FUNCTIONS): Likewise.
(BASELINK_ACCESS_BINFO): Likewise.
(tree_baselink): New structure.
(cp_tree_node_structure_enum): Add TS_CP_BASELINK.
(lang_tree_node): Add baselink.
* decl.c (cp_tree_node_structure): Add BASELINK case.
* search.c (build_baselink): Adjust.
* tree.c (cp_walk_subtrees): Add BASELINK case.  Remove BASELINK_P
test from TREE_LIST case.

PR c++/9272
* parser.c (cp_parser_constructor_declarator_p): Do not assume
that a constructor cannot be declared outside of its own class.

* parser.c (cp_parser_resolve_typename_type): If the scope cannot
be resolved, neither can the qualified name.

* rtti.c (get_pseudo_ti_desc): Fix thinko.

PR c++/9272
* g++.dg/parse/ctor1.C: New test.

PR c++/9294:
* g++.dg/parse/qualified1.C: New test.

* g++.dg/parse/typename3.C: New test.

From-SVN: r61456

21 years agoalpha.c (alpha_need_linkage): Fix obvious mistake in last checkin.
Douglas B Rupp [Fri, 17 Jan 2003 19:56:54 +0000 (19:56 +0000)]
alpha.c (alpha_need_linkage): Fix obvious mistake in last checkin.

* config/alpha/alpha.c (alpha_need_linkage): Fix obvious
mistake in last checkin.

From-SVN: r61455

21 years ago* jcf-io.c (caching_stat): Cast the 3rd arg of scandir to void*.
Kaveh R. Ghazi [Fri, 17 Jan 2003 14:27:29 +0000 (14:27 +0000)]
* jcf-io.c (caching_stat): Cast the 3rd arg of scandir to void*.

From-SVN: r61444

21 years agoet-forest.c: Fix comment typos.
Kazu Hirata [Fri, 17 Jan 2003 14:24:24 +0000 (14:24 +0000)]
et-forest.c: Fix comment typos.

* et-forest.c: Fix comment typos.
* et-forest.h: Likewise.
* except.c: Likewise.
* expr.c: Likewise.
* flags.h: Likewise.
* flow.c: Likewise.
* gcc.c: Likewise.
* gcse.c: Likewise.
* genattrtab.c: Likewise.
* genautomata.c: Likewise.
* gengtype.c: Likewise.
* genrecog.c: Likewise.
* global.c: Likewise.
* gthr-rtems.h: Likewise.

From-SVN: r61443

21 years ago* i386.c (x86_function_profiler): Fix format specifier.
Kaveh R. Ghazi [Fri, 17 Jan 2003 13:44:44 +0000 (13:44 +0000)]
* i386.c (x86_function_profiler): Fix format specifier.

From-SVN: r61442

21 years ago* gengtype.c (walk_type): Allow paramN_is.
Richard Henderson [Fri, 17 Jan 2003 11:36:24 +0000 (03:36 -0800)]
* gengtype.c (walk_type): Allow paramN_is.

From-SVN: r61441

21 years agoAdd missing newline escape.
Nick Clifton [Fri, 17 Jan 2003 09:43:48 +0000 (09:43 +0000)]
Add missing newline escape.

From-SVN: r61440

21 years agoDaily bump.
GCC Administrator [Fri, 17 Jan 2003 08:17:36 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r61438

21 years agoconfigure.in (baseargs): Avoid using \| in sed regular expressions.
Jakub Jelinek [Fri, 17 Jan 2003 08:02:23 +0000 (09:02 +0100)]
configure.in (baseargs): Avoid using \| in sed regular expressions.

* configure.in (baseargs): Avoid using \| in sed regular
expressions.
* configure: Rebuilt.

From-SVN: r61431

21 years ago* config/alpha/linux-elf.h (LIB_SPEC): Adjust inter-option spacing.
Richard Henderson [Fri, 17 Jan 2003 07:37:13 +0000 (23:37 -0800)]
* config/alpha/linux-elf.h (LIB_SPEC): Adjust inter-option spacing.

From-SVN: r61430

21 years ago* g++.dg/tls/init-2.C: Fix error matches for real this time.
Richard Henderson [Fri, 17 Jan 2003 07:10:22 +0000 (23:10 -0800)]
* g++.dg/tls/init-2.C: Fix error matches for real this time.

From-SVN: r61429

21 years agopch.exp: Copy test header to the working directory before using it either for...
Richard Henderson [Fri, 17 Jan 2003 07:05:54 +0000 (23:05 -0800)]
pch.exp: Copy test header to the working directory before using it either for...

        * g++.dg/pch/pch.exp: Copy test header to the working directory
        before using it either for precompilation or direct use.
        * g++.dg/pch/*.Hs: Rename from gcc.dg/pch/*.H.
        * g++.dg/pch/*.C: Include foo.H, not foo.Hp.

From-SVN: r61428

21 years agoNew.
Richard Henderson [Fri, 17 Jan 2003 07:04:42 +0000 (23:04 -0800)]
New.

From-SVN: r61427

21 years agoalpha.c (alpha_sr_alias_set): Mark GTY.
Richard Henderson [Fri, 17 Jan 2003 06:45:44 +0000 (22:45 -0800)]
alpha.c (alpha_sr_alias_set): Mark GTY.

        * config/alpha/alpha.c (alpha_sr_alias_set): Mark GTY.
        (alpha_next_sequence_number): Likewise.
        (alpha_this_literal_sequence_number): Likewise.
        (alpha_this_gpdisp_sequence_number): Likewise.
        (struct alpha_funcs, alpha_funcs_num): Likewise.
        (struct alpha_links): Fix branch merge error.
        (alpha_need_linkage, alpha_use_linkage): Use GC for alpha_funcs.

From-SVN: r61426

21 years agomips.h: Don't use #elif.
Alexandre Oliva [Fri, 17 Jan 2003 05:00:23 +0000 (05:00 +0000)]
mips.h: Don't use #elif.

* config/mips/mips.h: Don't use #elif.  Reported by Kaveh
R. Ghazi.

From-SVN: r61425

21 years agore PR c++/8564 (ICE in find_function_data, at function.c:329)
Jason Merrill [Fri, 17 Jan 2003 03:43:52 +0000 (22:43 -0500)]
re PR c++/8564 (ICE in find_function_data, at function.c:329)

        PR c++/8564
        * init.c (build_vec_init): Re-add maxindex parm.
        (perform_member_init, build_aggr_init): Pass it.
        (build_new_1): Pass it. Use an incomplete array type for full_type.
        * typeck.c (build_modify_expr): Pass it.
        * cp-tree.h: Adjust.

From-SVN: r61422

21 years agoifcvt.c: Fix comment typos.
Kazu Hirata [Fri, 17 Jan 2003 03:28:11 +0000 (03:28 +0000)]
ifcvt.c: Fix comment typos.

* ifcvt.c: Fix comment typos.
* lcm.c: Likewise.
* libgcc2.c: Likewise.
* local-alloc.c: Likewise.
* loop.c: Likewise.
* predict.c: Likewise.
* ra-build.c: Likewise.
* ra.c: Likewise.
* ra-colorize.c: Likewise.
* ra.h: Likewise.
* ra-rewrite.c: Likewise.
* regmove.c: Likewise.
* reload.h: Likewise.
* rtlanal.c: Likewise.
* toplev.c: Likewise.
* tree.h: Likewise.
* unwind-dw2-fde-glibc.c: Likewise.
* vmsdbgout.c: Likewise.

From-SVN: r61421

21 years agofixincl.sh has been editable for several years now...
Bruce Korb [Fri, 17 Jan 2003 02:59:18 +0000 (02:59 +0000)]
fixincl.sh has been editable for several years now...

From-SVN: r61420

21 years agopch.exp: Copy test header to the working directory before using it either for...
Richard Henderson [Fri, 17 Jan 2003 02:48:09 +0000 (18:48 -0800)]
pch.exp: Copy test header to the working directory before using it either for...

        * gcc.dg/pch/pch.exp: Copy test header to the working directory
        before using it either for precompilation or direct use.
        * gcc.dg/pch/*.hs: Rename from gcc.dg/pch/*.h.
        * gcc.dg/pch/*.c: Include foo.h, not foo.hp.

From-SVN: r61419

21 years agodwarf2out.c (struct file_table): Remove.
Richard Henderson [Fri, 17 Jan 2003 02:34:04 +0000 (18:34 -0800)]
dwarf2out.c (struct file_table): Remove.

        * dwarf2out.c (struct file_table): Remove.
        (FILE_TABLE_INCREMENT): Remove.
        (file_table): Make a varray; mark for GC.  Update all users.
        (file_table_last_lookup_index): Extract from struct file_table.
        (output_file_names): Fix unsigned compare warnings.
        (add_name_attribute): Remove inline marker.
        (add_comp_dir_attribute): Split out from gen_compile_unit_die.
        (lookup_filename): Don't manage size of file_table.
        (init_file_table): Allocate file_table with GC.
        (dwarf2out_init): Don't record main_input_filename here.
        (dwarf2out_finish): Do it here instead.

From-SVN: r61418

21 years agoQNX needs a bypass for limits_ifndefs
Bruce Korb [Fri, 17 Jan 2003 02:08:05 +0000 (02:08 +0000)]
QNX needs a bypass for limits_ifndefs

From-SVN: r61417

21 years ago* config/locale/generic/messages_members.h
Jeffrey D. Oldham [Fri, 17 Jan 2003 01:20:08 +0000 (01:20 +0000)]
* config/locale/generic/messages_members.h
(messages_byname<_CharT>::messages_byname): Use this-> to refer to
unqualified members of base clasess.

From-SVN: r61416

21 years agobuiltins.c (java_build_function_call_expr): Renamed from build_function_call_expr.
Kaveh R. Ghazi [Fri, 17 Jan 2003 00:58:08 +0000 (00:58 +0000)]
builtins.c (java_build_function_call_expr): Renamed from build_function_call_expr.

* builtins.c (java_build_function_call_expr): Renamed from
build_function_call_expr.  All callers changed.

From-SVN: r61415

21 years agosh.c (sh_initialize_trampoline): Emit rotrdi3_mextr instead of rotldi3_mextr.
Kaz Kojima [Fri, 17 Jan 2003 00:26:53 +0000 (00:26 +0000)]
sh.c (sh_initialize_trampoline): Emit rotrdi3_mextr instead of rotldi3_mextr.

        * config/sh/sh.c (sh_initialize_trampoline): Emit rotrdi3_mextr
        instead of rotldi3_mextr.

From-SVN: r61413

21 years agohaifa-sched.c (move_insn): Restore moving all schedule group.
Vladimir Makarov [Fri, 17 Jan 2003 00:00:18 +0000 (00:00 +0000)]
haifa-sched.c (move_insn): Restore moving all schedule group.

2003-01-16  Vladimir Makarov  <vmakarov@redhat.com>

* haifa-sched.c (move_insn): Restore moving all schedule group.
(set_priorities): Restore taking SCHED_GROUP_P into account.

* sched-deps.c (add_dependence): Restore processing the last group
insn.
(remove_dependence, group_leader): Restore the functions.
(set_sched_group_p): Restore adding dependencies from previous insn
in the group.
(compute_forward_dependences): Restore usage of group_leader.

* sched-ebb.c (init_ready_list): Restore taking SCHED_GROUP_P into
account.

* sched-rgn.c (init_ready_list): Restore taking SCHED_GROUP_P into
account.
(can_schedule_ready_p): Ditto.
(add_branch_dependences): Restore skipping over the group insns.

From-SVN: r61412

21 years agom68hc11.c (m68hc11_check_z_replacement): Fix handling 68HC12 pre/post inc/dec side...
Stephane Carrez [Thu, 16 Jan 2003 22:12:39 +0000 (23:12 +0100)]
m68hc11.c (m68hc11_check_z_replacement): Fix handling 68HC12 pre/post inc/dec side effects.

* config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Fix handling
68HC12 pre/post inc/dec side effects.

From-SVN: r61410

21 years agocp-tree.h (tsubst_copy_and_build): New declaration.
Jeffrey D. Oldham [Thu, 16 Jan 2003 22:06:04 +0000 (22:06 +0000)]
cp-tree.h (tsubst_copy_and_build): New declaration.

2003-01-16  Jeffrey D. Oldham  <oldham@codesourcery.com>

* cp-tree.h (tsubst_copy_and_build): New declaration.
* pt.c (tsubst_copy): Remove 'build_expr_from_tree' from comment.
(tsubst_expr): Use 'tsubst_copy_and_build'.  Update initial comment.
(tsubst_copy_and_build): New function.

From-SVN: r61409

21 years ago* config/m68hc11/m68hc11.h (MASK_M6812): Define.
Stephane Carrez [Thu, 16 Jan 2003 21:50:20 +0000 (22:50 +0100)]
* config/m68hc11/m68hc11.h (MASK_M6812): Define.

From-SVN: r61407

21 years ago* sh.md (mshflo_w_x): Fix description of operation.
J"orn Rennecke [Thu, 16 Jan 2003 21:43:43 +0000 (21:43 +0000)]
* sh.md (mshflo_w_x): Fix description of operation.

From-SVN: r61406

21 years agoSocketImpl.java (toString): Don't explicitly call toString() on possible null address.
Mark Wielaard [Thu, 16 Jan 2003 21:37:56 +0000 (21:37 +0000)]
SocketImpl.java (toString): Don't explicitly call toString() on possible null address.

       * java/net/SocketImpl.java (toString): Don't explicitly call
       toString() on possible null address.

From-SVN: r61404

21 years agocp-tree.h (lang_type_class): Remove is_partial_instantiation.
Mark Mitchell [Thu, 16 Jan 2003 20:30:50 +0000 (20:30 +0000)]
cp-tree.h (lang_type_class): Remove is_partial_instantiation.

* cp-tree.h (lang_type_class): Remove is_partial_instantiation.
(PARTIAL_INSTANTIATION_P): Remove.
(IMPLICIT_TYPENAME_P): Likewise.
(IMPLICIT_TYPENAME_TYPE_DECL_P): Likewise.
(build_typename_type): Remove declaration.
(parmlist_is_exprlist): Likewise.
* decl.c (build_typename_type): Make it static, remove third
parameter.
(push_class_binding): Don't do implicit typename stuff.
(make_typename_type): Likewise.
(lookup_name_real): Likewise.
(grokdeclarator): Don't try to convert declarations into
initializations.  Don't do implicit typename stuff.
(parmlist_is_exprlist): Remove.
(xref_basetypes): Simplify.
* decl2.c (grokfield): Don't try to convert declarations into
initializations.
(build_anon_union_vars): Do this while processing templates, too.
(finish_anon_union): Likewise.
* error.c (dump_type): Remove implicit typename handling.
* parser.c (cp_parser_diagnose_invalid_type_name): New method.
(cp_parser_primary_expression): Correct handling of names not
found by unqualified name lookup in templates.
(cp_parser_nested_name_specifier_opt): Avoid checking dependency
of types when possible.
(cp_parser_simple_declaration): Complain intelligently about some
invalid declarations.
(cp_parser_member_declaration): Likewise.
(cp_parser_constructor_declarator_p): Don't check when we're in a
function scope.
* pt.c (instantiate_class_template): Remove
PARTIAL_INSTANTIATION_P gunk.
* search.c (lookup_field_r): Don't build implicit typenames.
(marked_pushdecls_p): Don't enter dependent base types.
(unmarked_pushdecls_p): Likewise.
* semantics.c (begin_class_definition): Remove implicit typename
stuff.

* config/locale/gnu/messages_members.h: Use this-> to refer to
unqualified members of base clasess.
* config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
* include/bits/codecvt.h: Likewise.
* include/bits/deque.tcc: Likewise.
* include/bits/fstream.tcc: Likewise.
* include/bits/istream.tcc: Likewise.
* include/bits/list.tcc: Likewise.
* include/bits/locale_facets.h: Likewise.
* include/bits/ostream.tcc: Likewise.
* include/bits/sstream.tcc: Likewise.
* include/bits/stl_bvector.h: Likewise.
* include/bits/stl_deque.h: Likewise.
* include/bits/stl_list.h: Likewise.
* include/bits/stl_tree.h: Likewise.
* include/bits/stl_vector.h: Likewise.
* include/bits/vector.tcc: Likewise.
* include/ext/ropeimpl.h: Likewise.
* include/ext/stdio_filebuf.h: Likewise.
* include/ext/stl_rope.h: Likewise.
* include/std/std_fstream.h: Likewise.
* include/std/std_sstream.h: Likewise.

Co-Authored-By: Jeffrey Oldham <oldham@codesourcery.com>
From-SVN: r61403

21 years agors6000.h: Mention Altivec registers in commentary.
Zack Weinberg [Thu, 16 Jan 2003 18:09:21 +0000 (18:09 +0000)]
rs6000.h: Mention Altivec registers in commentary.

* config/rs6000/rs6000.h: Mention Altivec registers in
commentary.  Fix typo.

From-SVN: r61401

21 years agore PR c++/9212 (Internal compiler error in grokdeclarator, at cp/decl.c:11052 [gcc...
Nathan Sidwell [Thu, 16 Jan 2003 17:08:54 +0000 (17:08 +0000)]
re PR c++/9212 (Internal compiler error in grokdeclarator, at cp/decl.c:11052 [gcc 3.2])

cp:
PR C++/9212
* parser.c (cp_parser_direct_declarator): If accepting either
abstract or named, the name must be an unqualified-id.
testsuite:
* g++.dg/parse/ambig2.C: New test.

From-SVN: r61399

21 years agors6000.md (movti_string): Remove clobber.
David Edelsohn [Thu, 16 Jan 2003 16:32:25 +0000 (16:32 +0000)]
rs6000.md (movti_string): Remove clobber.

        * config/rs6000/rs6000.md (movti_string): Remove clobber.
        * config/rs6000/rs6000.c (rs6000_emit_move, TImode): Explicitly
        generate PARALLEL with clobber for TARGET_POWER.

From-SVN: r61398

21 years agoconfigure.in (baseargs): Remove all supported forms of --cache-file...
Jakub Jelinek [Thu, 16 Jan 2003 16:31:49 +0000 (17:31 +0100)]
configure.in (baseargs): Remove all supported forms of --cache-file...

* configure.in (baseargs): Remove all supported forms of
--cache-file, --srcdir, --host, --build and --target options
from argument lists.
* configure: Rebuilt.

From-SVN: r61397

21 years agoMake-lang.in (f/target.o): Depend on toplev.h.
Kaveh R. Ghazi [Thu, 16 Jan 2003 15:58:40 +0000 (15:58 +0000)]
Make-lang.in (f/target.o): Depend on toplev.h.

f:
* Make-lang.in (f/target.o): Depend on toplev.h.
* target.c: Include toplev.h.

java:
* Make-lang.in (java/jcf-parse.o): Depend on $(TM_P_H).
* jcf-parse.c: Include tm_p.h.

gcc:
* ra-colorize.c (colorize_one_web): Initialize variable.
* regmove.c (fixup_match_1): Likewise.
* reload1.c (reload_as_needed): Likewise.
* sdbout.c (SET_KNOWN_TYPE_TAG): Add cast.

From-SVN: r61394

21 years agocfgloop.c (flow_loops_find): Fix handling of abnormal edges.
Zdenek Dvorak [Thu, 16 Jan 2003 15:49:20 +0000 (16:49 +0100)]
cfgloop.c (flow_loops_find): Fix handling of abnormal edges.

2003-01-16  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>

* cfgloop.c (flow_loops_find): Fix handling of abnormal edges.

From-SVN: r61393

21 years agodbxout.c (lastfile, cwd): Fix `unused' warning.
Kaveh Ghazi [Thu, 16 Jan 2003 15:37:57 +0000 (15:37 +0000)]
dbxout.c (lastfile, cwd): Fix `unused' warning.

* dbxout.c (lastfile, cwd): Fix `unused' warning.
* dwarf2out.c (fde_table_in_use, current_funcdef_fde,
dw_cfi_oprnd1_desc, dw_cfi_oprnd2_desc, next_die_offset,
is_main_source, file_table, decl_die_table_in_use,
abbrev_die_table_in_use, line_info_table_in_use,
separate_line_info_table_in_use, pubname_table_in_use,
arange_table_in_use, ranges_table_in_use,
current_function_has_inlines): Likewise.
* flow.c (life_analysis): Likewise.
* genemit.c (gen_insn): Likewise.
* protoize.c (cplus_suffix): Likewise.

From-SVN: r61392

21 years agodbxout.c (lastfile, cwd): Fix `unused' warning.
Kaveh Ghazi [Thu, 16 Jan 2003 15:30:20 +0000 (15:30 +0000)]
dbxout.c (lastfile, cwd): Fix `unused' warning.

* dbxout.c (lastfile, cwd): Fix `unused' warning.
* dwarf2out.c (fde_table_in_use, current_funcdef_fde,
dw_cfi_oprnd1_desc, dw_cfi_oprnd2_desc, next_die_offset,
is_main_source, file_table, decl_die_table_in_use,
abbrev_die_table_in_use, line_info_table_in_use,
separate_line_info_table_in_use, pubname_table_in_use,
arange_table_in_use, ranges_table_in_use,
current_function_has_inlines): Likewise.
* flow.c (life_analysis): Likewise.
* genemit.c (gen_insn): Likewise.
* protoize.c (cplus_suffix): Likewise.

From-SVN: r61391

21 years agoarm.c (ROUND_UP_WORD): Renamed from ROUND_UP.
Kaveh R. Ghazi [Thu, 16 Jan 2003 15:22:54 +0000 (15:22 +0000)]
arm.c (ROUND_UP_WORD): Renamed from ROUND_UP.

* arm.c (ROUND_UP_WORD): Renamed from ROUND_UP.
* arm.h (ROUND_UP_WORD): Likewise.

From-SVN: r61390

21 years agoarm.h (CONDITIONAL_REGISTER_USAGE): Avoid signed/unsigned warning.
Kaveh R. Ghazi [Thu, 16 Jan 2003 15:13:33 +0000 (15:13 +0000)]
arm.h (CONDITIONAL_REGISTER_USAGE): Avoid signed/unsigned warning.

* arm.h (CONDITIONAL_REGISTER_USAGE): Avoid signed/unsigned
warning.
* emit-rtl.c (gen_rtx_REG, set_mem_attributes_minus_bitpos,
init_emit_once): Likewise.
* flow.c (mark_regs_live_at_end, calculate_global_regs_live):
Likewise.
* function.c (assign_stack_temp_for_type): Likewise.
* loop.c (loop_invariant_p): Likewise.
* recog.c (push_operand): Likewise.
* regclass.c (init_reg_sets_1): Likewise.
* reload.c (update_auto_inc_notes): Likewise.
* reload1.c (reload_as_needed, emit_input_reload_insns): Likewise.
* stmt.c (expand_asm_operands): Likewise.
* stor-layout.c (start_record_layout): Likewise.

cp:
* class.c (layout_virtual_bases): Avoid signed/unsigned warning.

java:
* jcf-write.c (generate_bytecode_insns): Avoid signed/unsigned
warning.

From-SVN: r61389

21 years agoDaily bump.
GCC Administrator [Thu, 16 Jan 2003 08:17:35 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r61387

21 years ago2003-01-16 Michael Koch <konqueror@gmx.de>
Michael Koch [Thu, 16 Jan 2003 08:01:27 +0000 (08:01 +0000)]
2003-01-16  Michael Koch  <konqueror@gmx.de>

* java/net/MulticastSocket.java
(setInterface): Reindented.

From-SVN: r61379

21 years ago* config/c4x/c4x.md (epilogue): Correct last patch.
Herman A.J. ten Brugge [Thu, 16 Jan 2003 06:20:27 +0000 (07:20 +0100)]
* config/c4x/c4x.md (epilogue): Correct last patch.

From-SVN: r61378

21 years agobasic_string.tcc (_S_string_copy): Unused, remove.
Phil Edwards [Thu, 16 Jan 2003 03:11:13 +0000 (03:11 +0000)]
basic_string.tcc (_S_string_copy): Unused, remove.

2003-01-15  Phil Edwards  <pme@gcc.gnu.org>

* include/bits/basic_string.tcc (_S_string_copy): Unused, remove.

From-SVN: r61377

21 years agoalpha.c (find_lo_sum_using_gp): Rename from find_lo_sum; also check that GP is being...
Richard Henderson [Thu, 16 Jan 2003 01:50:54 +0000 (17:50 -0800)]
alpha.c (find_lo_sum_using_gp): Rename from find_lo_sum; also check that GP is being used.

        * config/alpha/alpha.c (find_lo_sum_using_gp): Rename from find_lo_sum;
        also check that GP is being used.
        (alpha_find_lo_sum_using_gp): New.
        (alpha_does_function_need_gp): Use get_attr_usegp.
        * config/alpha/alpha-protos.h: Update.
        * config/alpha/alpha.md (attr usegp): New.  Annotate patterns
        as needed.

From-SVN: r61376

21 years agogcse.c (one_cprop_pass): Change function arguments to take both cprop_jumps and bypas...
Roger Sayle [Thu, 16 Jan 2003 01:06:33 +0000 (01:06 +0000)]
gcse.c (one_cprop_pass): Change function arguments to take both cprop_jumps and bypass_jumps flags...

* gcse.c (one_cprop_pass): Change function arguments to take both
cprop_jumps and bypass_jumps flags instead of just alter_jumps.
(gcse_main): Update calls to one_cprop_pass, disabling bypassing.
(bypass_jumps): New function to perform separate jump bypassing pass.
* rtl.h (bypass_jumps): Add function prototype.
* timevar.def (TV_BYPASS): New timing variable.
* toplev.c (enum dump_file_index): Add new entry DFI_bypass.
(dump_file): New entry for the bypass RTL dump file.
(rest_of_compilation): Insert new jump bypassing optimization
pass after loop.
* doc/passes.texi: Document new pass.

From-SVN: r61374

21 years agoacinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute GLIBCPP_TEST_WCHAR_T if...
Benjamin Kosnik [Thu, 16 Jan 2003 00:50:20 +0000 (00:50 +0000)]
acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.

2003-01-15  Benjamin Kosnik  <bkoz@redhat.com>

* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* testsuite/Makefile.am (all-local): Add conditional rule to
generate testsuite_wchar_t.
* testsuite/Makefile.in: Regenerate.
* testsuite/lib/libstdc++-v3-dg.exp
(libstdc++-v3-list-sourcefiles): Remove wchar_t files if
testsuite_wchar_t is not present in the build directory.
* testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
Remove setulimit bits.
* testsuite/26_numerics/complex_value.cc: Set to noopts.
* testsuite/Makefile.am (CLEANFILES): Add.
* testsuite/Makefile.in: Regenerate.

From-SVN: r61373

21 years agosom.h (SUPPORTS_WEAK, [...]): Define.
John David Anglin [Thu, 16 Jan 2003 00:34:45 +0000 (00:34 +0000)]
som.h (SUPPORTS_WEAK, [...]): Define.

* som.h (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY, MAKE_DECL_ONE_ONLY,
ASM_WEAKEN_LABEL, GTHREAD_USE_WEAK): Define.
* pa.h (TARGET_SOM_SDEF): Define.
* pa-hpux11.h (TARGET_SOM_SDEF): Define.
* config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
__hppa__.

From-SVN: r61372

21 years agonatGC.cc (fillPolygon): New method.
Scott Gilbertson [Wed, 15 Jan 2003 23:53:49 +0000 (23:53 +0000)]
natGC.cc (fillPolygon): New method.

2003-01-15  Scott Gilbertson  <scottg@mantatest.com>

* gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
* gnu/gcj/xlib/GC.java (fillPolygon): Declare.
* gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
translateY arguments.  Implement.
* gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
down translation arguments.
(drawPolyline, drawPolygon): Fix incorrect tests.
* gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
translateX and translateY arguments.

From-SVN: r61369

21 years agoMakefile.in: Rebuilt.
Scott Gilbertson [Wed, 15 Jan 2003 23:34:14 +0000 (23:34 +0000)]
Makefile.in: Rebuilt.

2003-01-15  Scott Gilbertson  <scottg@mantatest.com>

* Makefile.in: Rebuilt.
* Makefile.am (xlib_includes): New macro.
(INCLUDES): Use it.

From-SVN: r61366

21 years agom68hc11.c (expand_prologue): Use push/pop to allocate 4-bytes of locals on 68HC11.
Stephane Carrez [Wed, 15 Jan 2003 23:30:40 +0000 (00:30 +0100)]
m68hc11.c (expand_prologue): Use push/pop to allocate 4-bytes of locals on 68HC11.

* config/m68hc11/m68hc11.c (expand_prologue): Use push/pop to
allocate 4-bytes of locals on 68HC11.
(expand_epilogue): Likewise.
(m68hc11_memory_move_cost): Increase cost of HI/QI soft registers.

From-SVN: r61364

21 years ago* g++.dg/tls/init-2.C: Update error message string.
Richard Henderson [Wed, 15 Jan 2003 23:27:55 +0000 (15:27 -0800)]
* g++.dg/tls/init-2.C: Update error message string.

From-SVN: r61363

21 years agoXToolkit.java (getColorModel): Implemented.
Scott Gilbertson [Wed, 15 Jan 2003 23:18:58 +0000 (23:18 +0000)]
XToolkit.java (getColorModel): Implemented.

2003-01-15  Scott Gilbertson  <scottg@mantatest.com>

* gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
* gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
16-bit display mode.

From-SVN: r61362