Kazu Hirata [Fri, 13 Jun 2003 04:18:26 +0000 (04:18 +0000)]
* config/m32r/m32r.md: Fix a comment typo.
From-SVN: r67876
Eric Botcazou [Fri, 13 Jun 2003 03:56:10 +0000 (05:56 +0200)]
re PR target/10142 ([SPARC64] gcc produces wrong code when passing structures by value)
PR target/10142
* config/sparc/sparc.c (function_arg_record_value_parms): Add
new 'stack' field.
(function_arg_record_value_1): Set 'stack' to 1 if we run out of
integer slots for an integer field.
(function_arg_record_value_3): Shift vector index.
(function_arg_record_value_2): Likewise.
(function_arg_record_value): Initialize 'stack' to 0.
Set 'stack' to 1 if we run out of integer slots for an integer field.
Generate (parallel [(expr_list (nil) ...) ...]) if 'stack' is set to 1.
Co-Authored-By: Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
From-SVN: r67874
Eric Botcazou [Fri, 13 Jun 2003 03:39:47 +0000 (03:39 +0000)]
* gcc.c-torture/execute/
20030611-1.c: New test.
From-SVN: r67871
Eric Botcazou [Fri, 13 Jun 2003 03:34:02 +0000 (05:34 +0200)]
re PR rtl-optimization/10955 ([SPARC] wrong code at -O3 for structure argument in context of structure return)
PR optimization/10955
* unroll.c (unroll_loop): Fix off-by-one bug.
From-SVN: r67870
Kaz Kojima [Fri, 13 Jun 2003 02:23:26 +0000 (11:23 +0900)]
Makefile.am: Add SHmedia support.
* Makefile.am: Add SHmedia support. Fix a typo of SH support.
* Makefile.in: Regenerate.
* configure.in (sh64-*-linux*, sh5*-*-linux*): Add target.
* configure: Regenerate.
* include/ffi.h.in: Add SHmedia support.
* src/sh64/ffi.c: New file.
* src/sh64/sysv.S: New file.
From-SVN: r67869
Aldy Hernandez [Fri, 13 Jun 2003 02:03:09 +0000 (02:03 +0000)]
rs6000.c (function_arg): Remove typo.
2003-06-12 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.c (function_arg): Remove typo.
[[Split portion of a mixed commit.]]
From-SVN: r67867.2
Richard Henderson [Fri, 13 Jun 2003 00:45:11 +0000 (17:45 -0700)]
i386.c (legitimate_constant_p): Handle UNSPEC_NTPOFF and UNSPEC_DTPOFF.
* config/i386/i386.c (legitimate_constant_p): Handle UNSPEC_NTPOFF
and UNSPEC_DTPOFF.
From-SVN: r67866
Richard Henderson [Fri, 13 Jun 2003 00:34:04 +0000 (17:34 -0700)]
re PR middle-end/10475 (ICE in subreg_highpart_offset for code with long long)
PR middle-end/10475
* expmed.c (emit_store_flag): Use simplify_gen_subreg directly
for extracting sub-words.
* gcc.c-torture/compile/
20030612-1.c: New.
From-SVN: r67865
GCC Administrator [Fri, 13 Jun 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r67860
Richard Henderson [Thu, 12 Jun 2003 21:57:31 +0000 (14:57 -0700)]
re PR target/7594 ([m68k] ICE on legal code associated with simplify-rtx)
PR target/7594
* config/m68k/m68k.md (zero_extendhisi2): Use gen_lowpart_SUBREG.
(zero_extendqihi2, zero_extendqisi2): Likewise.
From-SVN: r67857
Aldy Hernandez [Thu, 12 Jun 2003 21:38:46 +0000 (21:38 +0000)]
rs6000.c (function_arg): Always split vectors for e500 if it's a stdarg function.
2003-06-12 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.c (function_arg): Always split vectors for
e500 if it's a stdarg function.
(function_arg_advance): Advance 2 registers for vectors in a
stdarg function.
(init_cumulative_args): Initialize stdarg.
(rs6000_spe_function_arg): New.
* config/rs6000/rs6000.h (rs6000_args): Add stdarg.
From-SVN: r67854
Aldy Hernandez [Thu, 12 Jun 2003 20:58:22 +0000 (20:58 +0000)]
rs6000.h (MODES_TIEABLE_P): Add SPE vectors.
2003-06-12 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.h (MODES_TIEABLE_P): Add SPE vectors.
From-SVN: r67851
Roger Sayle [Thu, 12 Jun 2003 20:33:02 +0000 (20:33 +0000)]
re PR middle-end/168 (Spurious signed/unsigned comparison warning)
PR middle-end/168
* fold-const.c (tree_expr_nonnegative_p): Handle addition
and multiplication of zero extensions, floating point division,
and integer<->fp, fp<->fp and zero extension conversions.
The built-in ceil and floor functions preserve signedness.
* gcc.dg/
20030612-1.c: New test case.
From-SVN: r67850
Kazu Hirata [Thu, 12 Jun 2003 19:01:08 +0000 (19:01 +0000)]
ChangeLog: Follow spelling conventions.
* ChangeLog: Follow spelling conventions.
* ChangeLog.2: Likewise.
* c-decl.c: Likewise.
* cfgloop.h: Likewise.
* cgraph.c: Likewise.
* coverage.c: Likewise.
* cppcharset.c: Likewise.
* cpphash.h: Likewise.
* cpplex.c: Likewise.
* cpplib.c: Likewise.
* dbxout.c: Likewise.
* df.c: Likewise.
* dwarf2out.c: Likewise.
* dwarfout.c: Likewise.
* emit-rtl.c: Likewise.
* explow.c: Likewise.
* gcov-io.c: Likewise.
* gcov-io.h: Likewise.
* gcov.c: Likewise.
* gengtype.c: Likewise.
* ggc.h: Likewise.
* opts.c: Likewise.
* real.c: Likewise.
* reload.c: Likewise.
* stmt.c: Likewise.
From-SVN: r67849
Janis Johnson [Thu, 12 Jun 2003 18:46:23 +0000 (18:46 +0000)]
* doc/install.texi (m32r-*-elf): Change company to Renesas.
From-SVN: r67848
Jan Hubicka [Thu, 12 Jun 2003 18:09:56 +0000 (20:09 +0200)]
basic-block.h (flow_delete_block_noexpunge): Kill.
* basic-block.h (flow_delete_block_noexpunge): Kill.
* cfgrtl.c (flow_delete_block_noexpunge): Merge to
rtl_delete_block.
From-SVN: r67846
Richard Henderson [Thu, 12 Jun 2003 18:01:26 +0000 (11:01 -0700)]
re PR inline-asm/4823 (gcc reports internal compiler error on legal code)
PR inline-asm/4823
* reg-stack.c (any_malformed_asm): New.
(check_asm_stack_operands): Set it.
(convert_regs_1): Check it before aborting.
From-SVN: r67845
Mark Mitchell [Thu, 12 Jun 2003 17:22:29 +0000 (17:22 +0000)]
re PR c++/10635 (ICE (segfault) when dereferencing an incomplete type casted from a void pointer)
PR c++/10635
* typeck.c (build_c_cast): Check that the destination type is
complete.
PR c++/10635
* g++.dg/expr/cast1.C: New test.
[[Split portion of a mixed commit.]]
From-SVN: r67840.2
Aldy Hernandez [Thu, 12 Jun 2003 16:40:41 +0000 (16:40 +0000)]
spe.md: Change all clobbers of the accumulator to sets.
2003-06-12 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/spe.md: Change all clobbers of the accumulator to sets.
From-SVN: r67837
Benjamin Kosnik [Thu, 12 Jun 2003 15:49:16 +0000 (15:49 +0000)]
stl_alloc.h (__debug_alloc): Move out.
2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/stl_alloc.h (__debug_alloc): Move out.
(__malloc_alloc): Same.
(__pool_alloc): Same.
(__new_alloc): Same.
Rename to..
* include/bits/allocator.h: ...this.
* include/bits/stl_deque.h: Modify comment.
* include/bits/stl_tree.h: Modify include.
* include/std/std_memory.h: Same.
* include/ext/rope: Same.
* include/ext/slist: Same.
* include/std/std_vector.h: Same.
* include/std/std_stack.h: Same.
* include/std/std_queue.h: Same.
* include/std/std_list.h: Same.
* include/std/std_deque.h: Same.
* include/backward/alloc.h: Same.
* include/ext/debug_allocator.h: New.
* include/ext/malloc_allocator.h: New.
* include/ext/pool_allocator.h: New.
* include/ext/new_allocator.h: New.
* include/bits/pthread_allocimpl.h: Remove.
* include/bits/stl_pthread_alloc.h: Remove.
* include/Makefile.am (ext_headers): Add.
* include/Makefile.in: Regenerate.
* src/stl-inst.cc: Use __gnu_cxx namespace.
* src/stl-inst.cc: Move to...
* src/allocator-inst.cc: Here.
* src/Makefile.am (sources): Update.
* src/Makefile.in: Regenerate.
* config/linker-map.gnu: Remove __pool_alloc bits.
* testsuite/ext/headers.cc: Add.
* testsuite/ext/allocators.cc: Fixup.
From-SVN: r67836
Andrew Haley [Thu, 12 Jun 2003 15:39:17 +0000 (15:39 +0000)]
jni.cc (_Jv_JNI_check_types): New.
2003-06-11 Andrew Haley <aph@redhat.com>
* jni.cc (_Jv_JNI_check_types): New.
(_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
(_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
(_Jv_JNI_GetPrimitiveArrayElements): Ditto.
(_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
* java/lang/natVMSecurityManager.cc (getClassContext): Fix
infinite loop.
From-SVN: r67835
Andreas Jaeger [Thu, 12 Jun 2003 15:15:40 +0000 (17:15 +0200)]
* treetree.c: Remove cl_options-count and cl_options.
From-SVN: r67834
H.J. Lu [Thu, 12 Jun 2003 14:38:22 +0000 (14:38 +0000)]
config.guess: Update to 2003-06-06 version.
2003-06-12 H.J. Lu <hongjiu.lu@intel.com>
* config.guess: Update to 2003-06-06 version.
* config.sub: Update to 2003-06-06 version.
From-SVN: r67833
Jakub Jelinek [Thu, 12 Jun 2003 14:02:41 +0000 (16:02 +0200)]
c-opts.c (complain_wrong_lang): Add on argument.
* c-opts.c (complain_wrong_lang): Add on argument.
Print no- switch if on is false.
(c_common_decode_option): Adjust caller.
From-SVN: r67831
Ulrich Weigand [Thu, 12 Jun 2003 13:47:52 +0000 (13:47 +0000)]
s390.c (s390_emit_prologue): Use LA instead of AR to initialize GOT register.
* config/s390/s390.c (s390_emit_prologue): Use LA instead of AR
to initialize GOT register.
From-SVN: r67829
Roger Sayle [Thu, 12 Jun 2003 12:53:01 +0000 (12:53 +0000)]
fold-const.c (tree_expr_nonnegative_p): Add support for floating point constants, addition and multiplication.
* fold-const.c (tree_expr_nonnegative_p): Add support for
floating point constants, addition and multiplication.
* gcc.dg/builtins-21.c: New test case.
From-SVN: r67828
J"orn Rennecke [Thu, 12 Jun 2003 12:03:25 +0000 (12:03 +0000)]
sh.md (adddi3_compact, [...]): Add earlyclobber constraint modifier for operand 0.
* sh.md (adddi3_compact, subdi3_compact): Add earlyclobber
constraint modifier for operand 0.
From-SVN: r67827
Hans-Peter Nilsson [Thu, 12 Jun 2003 07:09:56 +0000 (07:09 +0000)]
configure.in (assembler dwarf2 debug_line support): Define insn for cris-*-* and mmix-*-*.
* configure.in (assembler dwarf2 debug_line support): Define insn
for cris-*-* and mmix-*-*.
* configure: Regenerate.
From-SVN: r67825
Hans-Peter Nilsson [Thu, 12 Jun 2003 06:09:15 +0000 (06:09 +0000)]
Don't warn on dollars in builtin macro definitions,
e.g. __REGISTER_PREFIX__.
* cpphash.h (struct cpp_reader): Move member warn_dollars...
* cpplib.h (struct cpp_options): ...to here. Change type to
unsigned char.
* cppinit.c (cpp_create_reader): Set it to 1 here.
(post_options): Don't set it here.
* c-opts.c (c_common_init_options): Reset it to 0 here.
(finish_options): Set it here.
* cpplex.c (forms_identifier_p): Tweak for new location of
warn_dollars.
From-SVN: r67824
Matt Kraai [Thu, 12 Jun 2003 06:06:08 +0000 (06:06 +0000)]
* ChangeLog: Add missing closing parentheses.
From-SVN: r67823
Kelley Cook [Thu, 12 Jun 2003 05:54:23 +0000 (05:54 +0000)]
Patch from Kelley Cook.
* lib/gcc.exp (gcc_target_compile): Put TOOL_OPTIONS at front of
options instead of at the end.
* lib/objc.exp (objc_target_compile): Likewise.
From-SVN: r67822
Neil Booth [Thu, 12 Jun 2003 05:47:04 +0000 (05:47 +0000)]
* misc.c (gnat_handle_option): Fix warnings.
From-SVN: r67821
Matt Kraai [Thu, 12 Jun 2003 05:42:08 +0000 (05:42 +0000)]
* Make-lang.in (gnatbind): Remove $(LIBIBERTY).
From-SVN: r67820
Uwe Stieber [Thu, 12 Jun 2003 05:18:12 +0000 (05:18 +0000)]
Kaos support from Uwe Stieber
Kaos support from Uwe Stieber
* config.gcc (arm*-*-kaos*, i[34567]86-*-kaos*, powerpc-*-kaos*,
powerpcle-*-kaos*, strongarm-*-kaos*): New targets.
(sh-*-elf*): Add sh*-*-kaos* support.
* config/kaos.h, config/arm/kaos-strongarm.h, config/arm/kaos-arm.h,
config/i386/kaos-i386.h, config/rs6000/kaos-ppc.h,
config/sh/kaos-sh.h: New files.
From-SVN: r67819
Kazu Hirata [Thu, 12 Jun 2003 04:15:56 +0000 (04:15 +0000)]
gcse.c (fis_get_condition): Make it a global function.
* gcse.c (fis_get_condition): Make it a global function.
* reload1.c (reload_cse_move2add): Detect implicit sets.
* rtl.h: Add a prototype for fis_get_condition.
From-SVN: r67814
Benjamin Kosnik [Thu, 12 Jun 2003 03:24:16 +0000 (03:24 +0000)]
acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.
2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.
* aclocal.m4: Regenerate.
* Makefile.am (SUBDIRS): Remove libio.
* Makefile.in: Regenerate.
* configure.in: Same.
* configure: Regenerate.
* config/io/basic_file_libio.cc: Remove.
* config/io/basic_file_libio.h: Remove.
* config/io/c_io_libio_codecvt.c: Remove.
* config/io/c_io_libio.h: Remove.
* libio/*: Remove.
* src/Makefile.am: Same.
* src/Makefile.in: Regenerate.
* docs/html/configopts.html: Edits.
* docs/html/explanations.html: Edits.
From-SVN: r67813
Tom Tromey [Thu, 12 Jun 2003 03:13:14 +0000 (03:13 +0000)]
ClassLoader.java (loadClass): Not deprecated.
* java/lang/ClassLoader.java (loadClass): Not deprecated.
* java/io/PrintStream.java: Not deprecated.
From-SVN: r67811
Scott Gilbertson [Thu, 12 Jun 2003 03:08:58 +0000 (03:08 +0000)]
IntegerGraphicsState.java (drawOval): implemented.
2003-06-11 Scott Gilbertson <scottg@mantatest.com>
* gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
(fillOval): implemented
* gnu/awt/xlib/XGraphics.java (drawArc): implemented.
(fillArc): implemented.
* gnu/gcj/xlib/GC.java (drawArc): added native method.
(fillArc): added native method.
* gnu/gcj/xlib/natGC.cc (drawArc): added native method.
(fillArc): added native method.
From-SVN: r67810
Richard Henderson [Thu, 12 Jun 2003 01:04:32 +0000 (18:04 -0700)]
stmt.c (expand_asm_operands): Don't warn for memories with queued addresses.
* stmt.c (expand_asm_operands): Don't warn for memories with
queued addresses.
From-SVN: r67808
GCC Administrator [Thu, 12 Jun 2003 00:16:10 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r67806
Mark Mitchell [Thu, 12 Jun 2003 00:10:26 +0000 (00:10 +0000)]
re PR c++/10432 (ICE in poplevel, at cp/decl.c:1230)
PR c++/10432
* cp-tree.h (finish_declarator): Remove.
* decl.c (cp_finish_decl): Make sure to pop_nested_class even for
erroneous declarations.
* semantics.c (finish_declarator): Remove.
PR c++/10432
* g++.dg/parse/error1.C: New test.
From-SVN: r67804
Kaz Kojima [Wed, 11 Jun 2003 22:36:29 +0000 (22:36 +0000)]
sh.h (SUBTARGET_ASM_RELAX_SPEC): Rewrite without brackets.
* config/sh/sh.h (SUBTARGET_ASM_RELAX_SPEC): Rewrite without
brackets.
From-SVN: r67801
Roger Sayle [Wed, 11 Jun 2003 22:29:41 +0000 (22:29 +0000)]
decl2.c (generate_ctor_or_dtor_function): Avoid expanding a global static constructor/destructor if it will be empty, i.e.
* decl2.c (generate_ctor_or_dtor_function): Avoid expanding a
global static constructor/destructor if it will be empty, i.e.
either doesn't call any ctors/dtors or only calls pure or const
ctors/dtors.
From-SVN: r67800
Neil Booth [Wed, 11 Jun 2003 22:21:10 +0000 (22:21 +0000)]
hooks.c (hook_int_size_t_constcharptr_int_0): New.
* hooks.c (hook_int_size_t_constcharptr_int_0): New.
* hooks.h (hook_int_size_t_constcharptr_int_0): New.
* langhooks-def.h (lhd_decode_option, LANG_HOOKS_DECODE_OPTION): Die.
(LANG_HOOKS_HANDLE_OPTION, LANG_HOOKS_INITIALIZER): Update.
* langhooks.c (lhd_decode_option): Remove.
* langhooks.h (struct lang_hooks): Remove decode_option.
* opts.c (handle_option): No longer use decode_option.
java:
* Make-lang.in: Handle mostlyclean.
treelang:
* Make-lang.in: Update for option handling.
* lang.opt: New.
* tree1.c: Include opts.h and t-options.h.
(treelang_decode_option): Remove.
(treelang_handle_option): New.
* treetree.c (LANG_HOOKS_DECODE_OPTION): Remove.
(LANG_HOOKS_HANDLE_OPTION): Override.
* treetree.h (treelang_decode_option): Remove.
(treelang_handle_option): New.
From-SVN: r67799
Mark Mitchell [Wed, 11 Jun 2003 21:56:31 +0000 (21:56 +0000)]
mangle.c (tm_p.h): Include it.
* mangle.c (tm_p.h): Include it.
* Make-lang.in (cp/mangle.o): Depend on $(TM_P_H).
From-SVN: r67798
Neil Booth [Wed, 11 Jun 2003 20:59:40 +0000 (20:59 +0000)]
Fix typo
From-SVN: r67797
Janis Johnson [Wed, 11 Jun 2003 20:29:21 +0000 (20:29 +0000)]
struct-by-value-11_main.c: New file.
* gcc.dg/compat/struct-by-value-11_main.c: New file.
* gcc.dg/compat/struct-by-value-11_x.c: New file.
* gcc.dg/compat/struct-by-value-11_y.c: New file.
* gcc.dg/compat/struct-by-value-12_main.c: New file.
* gcc.dg/compat/struct-by-value-12_x.c: New file.
* gcc.dg/compat/struct-by-value-12_y.c: New file.
* gcc.dg/compat/struct-by-value-13_main.c: New file.
* gcc.dg/compat/struct-by-value-13_x.c: New file.
* gcc.dg/compat/struct-by-value-13_y.c: New file.
* gcc.dg/compat/struct-by-value-14_main.c: New file.
* gcc.dg/compat/struct-by-value-14_x.c: New file.
* gcc.dg/compat/struct-by-value-14_y.c: New file.
* gcc.dg/compat/struct-by-value-15_main.c: New file.
* gcc.dg/compat/struct-by-value-15_x.c: New file.
* gcc.dg/compat/struct-by-value-15_y.c: New file.
* gcc.dg/compat/struct-by-value-16_main.c: New file.
* gcc.dg/compat/struct-by-value-16_x.c: New file.
* gcc.dg/compat/struct-by-value-16_y.c: New file.
* gcc.dg/compat/struct-by-value-17_main.c: New file.
* gcc.dg/compat/struct-by-value-17_x.c: New file.
* gcc.dg/compat/struct-by-value-17_y.c: New file.
* gcc.dg/compat/struct-by-value-18_main.c: New file.
* gcc.dg/compat/struct-by-value-18_x.c: New file.
* gcc.dg/compat/struct-by-value-18_y.c: New file.
From-SVN: r67796
Neil Booth [Wed, 11 Jun 2003 20:23:02 +0000 (20:23 +0000)]
Make-lang.in: Update to handle command-line options.
ada:
* Make-lang.in: Update to handle command-line options.
* lang.opt: New file.
* misc.c: Include aoptions.h.
(cl_options_count, cl_options): Remove.
(gnat_handle_option): New.
(gnat_decode_option): Remove.
(LANG_HOOKS_DECODE_OPTION): Remove.
(LANG_HOOKS_HANDLE_OPTION): Override.
From-SVN: r67795
Zdenek Dvorak [Wed, 11 Jun 2003 19:01:19 +0000 (21:01 +0200)]
cfgloopanal.c (variable_initial_value): Update the set of altered registers correctly.
* cfgloopanal.c (variable_initial_value): Update the set of altered
registers correctly.
From-SVN: r67792
Michael Koch [Wed, 11 Jun 2003 18:27:39 +0000 (18:27 +0000)]
This should not get committed.
From-SVN: r67790
Janis Johnson [Wed, 11 Jun 2003 18:21:38 +0000 (18:21 +0000)]
scalar-by-value-3_main.c: New file.
* gcc.dg/compat/scalar-by-value-3_main.c: New file.
* gcc.dg/compat/scalar-by-value-3_x.c: New file.
* gcc.dg/compat/scalar-by-value-3_y.c: New file.
* gcc.dg/compat/scalar-by-value-4_main.c: New file.
* gcc.dg/compat/scalar-by-value-4_x.c: New file.
* gcc.dg/compat/scalar-by-value-4_y.c: New file.
* gcc.dg/compat/scalar-return-3_main.c: New file.
* gcc.dg/compat/scalar-return-3_x.c: New file.
* gcc.dg/compat/scalar-return-3_y.c: New file.
* gcc.dg/compat/scalar-return-4_main.c: New file.
* gcc.dg/compat/scalar-return-4_x.c: New file.
* gcc.dg/compat/scalar-return-4_y.c: New file.
From-SVN: r67789
Michael Koch [Wed, 11 Jun 2003 18:20:40 +0000 (18:20 +0000)]
Forgot to add them to the commit command line too, AARGH.
From-SVN: r67788
Roger Sayle [Wed, 11 Jun 2003 17:52:42 +0000 (17:52 +0000)]
d30v.h: Delete reference to ASM_FINAL_SPEC.
* config/d30v/d30v.h: Delete reference to ASM_FINAL_SPEC.
* config/i386/netbsd-elf.h: Likewise.
* config/m32r/m32r.h: Likewise.
* config/mn10300/mn10300.h: Likewise.
* config/stormy16/stormy16.h: Likewise.
* config/v850/v850.h: Likewise.
* config/vax/netbsd-elf.h: Likewise.
* config/xtensa/elf.h: Likewise.
* config/xtensa/linux.h: Likewise.
Co-Authored-By: Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
From-SVN: r67784
Mark Mitchell [Wed, 11 Jun 2003 17:02:13 +0000 (17:02 +0000)]
re PR c++/11131 (Unrelated declaration removes inline flag from function)
PR c++/11131
* tree.c (cp_cannot_inline_fn): Check for "inline" before
instantiation.
From-SVN: r67783
Michael Koch [Wed, 11 Jun 2003 16:36:11 +0000 (16:36 +0000)]
Forgot to add this file to cvs. Sorry.
From-SVN: r67781
Rainer Orth [Wed, 11 Jun 2003 16:19:18 +0000 (16:19 +0000)]
configure.in: Don't pass --with-stabs for mips*-sgi-irix6*o32.
* configure.in: Don't pass --with-stabs for mips*-sgi-irix6*o32.
* configure. Regenerate.
gcc:
* config/mips/iris5gas.h (MDEBUG_ASM_SPEC): Override to match
DWARF 2 default.
* config/mips/dbxmdebug.h: New file.
* config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it with
gas and --with-stabs.
From-SVN: r67780
Tom Tromey [Wed, 11 Jun 2003 15:58:05 +0000 (15:58 +0000)]
lang.c (java_handle_option): Update dependency_tracking for OPT_MF case.
* lang.c (java_handle_option): Update dependency_tracking for
OPT_MF case.
From-SVN: r67779
Tom Tromey [Wed, 11 Jun 2003 15:55:04 +0000 (15:55 +0000)]
lang.c (java_handle_option): OPT_fbootclasspath_ can take an empty argument.
* lang.c (java_handle_option): OPT_fbootclasspath_ can take an
empty argument.
From-SVN: r67778
Benjamin Kosnik [Wed, 11 Jun 2003 15:52:11 +0000 (15:52 +0000)]
[multiple changes]
2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/stl_alloc.h (__debug_alloc): Move out.
(__malloc_alloc): Same.
(__pool_alloc): Same.
(__new_alloc): Same.
Rename to..
* include/bits/allocator.h: ...this.
* include/bits/stl_deque.h: Modify comment.
* include/bits/stl_tree.h: Modify include.
* include/std/std_memory.h: Same.
* include/ext/rope: Same.
* include/ext/slist: Same.
* include/std/std_vector.h: Same.
* include/std/std_stack.h: Same.
* include/std/std_queue.h: Same.
* include/std/std_list.h: Same.
* include/std/std_deque.h: Same.
* include/backward/alloc.h: Same.
* include/ext/debug_allocator.h: New.
* include/ext/malloc_allocator.h: New.
* include/ext/pool_allocator.h: New.
* include/ext/new_allocator.h: New.
* include/bits/pthread_allocimpl.h: Remove.
* include/bits/stl_pthread_alloc.h: Remove.
* include/Makefile.am (ext_headers): Add.
* include/Makefile.in: Regenerate.
* src/stl-inst.cc: Use __gnu_cxx namespace.
* src/stl-inst.cc: Move to...
* src/allocator-inst.cc: Here.
* src/Makefile.am (sources): Update.
* src/Makefile.in: Regenerate.
* config/linker-map.gnu: Remove __pool_alloc bits.
* testsuite/ext/headers.cc: Add.
* testsuite/ext/allocators.cc: Fixup.
2003-06-11 Stefan Olsson <stefan@snon.net>
Ola R�nnerup <fnolis@home.se>
* include/Makefile.am (ext_headers): Add.
* include/Makefile.in: Regenerate.
* include/ext/mt_allocator.h: New file.
From-SVN: r67777
Michael Koch [Wed, 11 Jun 2003 13:47:49 +0000 (13:47 +0000)]
InputSubset.java: New version from classpath.
2003-06-11 Michael Koch <konqueror@gmx.de>
* java/awt/im/InputSubset.java:
New version from classpath.
From-SVN: r67770
Michael Koch [Wed, 11 Jun 2003 13:20:41 +0000 (13:20 +0000)]
AbstractAction.java, [...]: New versions from classpath.
2003-06-11 Michael Koch <konqueror@gmx.de>
* javax/swing/AbstractAction.java,
javax/swing/AbstractButton.java,
javax/swing/AbstractCellEditor.java,
javax/swing/AbstractListModel.java,
javax/swing/BorderFactory.java,
javax/swing/Box.java,
javax/swing/BoxLayout.java,
javax/swing/ButtonGroup.java,
javax/swing/DefaultButtonModel.java,
javax/swing/DefaultListModel.java,
javax/swing/DefaultListSelectionModel.java,
javax/swing/FocusManager.java,
javax/swing/ImageIcon.java,
javax/swing/InputMap.java,
javax/swing/JApplet.java,
javax/swing/JButton.java,
javax/swing/JCheckBox.java,
javax/swing/JCheckBoxMenuItem.java,
javax/swing/JColorChooser.java,
javax/swing/JComboBox.java,
javax/swing/JComponent.java,
javax/swing/JDesktopPane.java,
javax/swing/JDialog.java,
javax/swing/JEditorPane.java,
javax/swing/JFileChooser.java,
javax/swing/JFormattedTextField.java,
javax/swing/JFrame.java,
javax/swing/JLabel.java,
javax/swing/JLayeredPane.java,
javax/swing/JList.java,
javax/swing/JMenuBar.java,
javax/swing/JMenuItem.java,
javax/swing/JOptionPane.java,
javax/swing/JPanel.java,
javax/swing/JPasswordField.java,
javax/swing/JPopupMenu.java,
javax/swing/JProgressBar.java,
javax/swing/JRadioButton.java,
javax/swing/JRadioButtonMenuItem.java,
javax/swing/JRootPane.java,
javax/swing/JScrollBar.java,
javax/swing/JScrollPane.java,
javax/swing/JSeparator.java,
javax/swing/JSlider.java,
javax/swing/JTabbedPane.java,
javax/swing/JTable.java,
javax/swing/JTextField.java,
javax/swing/JToggleButton.java,
javax/swing/JToolBar.java,
javax/swing/JToolTip.java,
javax/swing/JTree.java,
javax/swing/JViewport.java,
javax/swing/JWindow.java,
javax/swing/KeyStroke.java,
javax/swing/ListSelectionModel.java,
javax/swing/LookAndFeel.java,
javax/swing/RepaintManager.java,
javax/swing/ScrollPaneLayout.java,
javax/swing/SizeRequirements.java,
javax/swing/SwingConstants.java,
javax/swing/Timer.java,
javax/swing/UIDefaults.java,
javax/swing/UIManager.java,
javax/swing/border/AbstractBorder.java,
javax/swing/border/CompoundBorder.java,
javax/swing/colorchooser/AbstractColorChooserPanel.java,
javax/swing/colorchooser/ColorChooserComponentFactory.java,
javax/swing/colorchooser/ColorSelectionModel.java,
javax/swing/colorchooser/DefaultColorSelectionModel.java,
javax/swing/event/AncestorEvent.java,
javax/swing/event/HyperlinkEvent.java,
javax/swing/event/InternalFrameAdapter.java,
javax/swing/event/InternalFrameEvent.java,
javax/swing/event/ListDataEvent.java,
javax/swing/event/MouseInputAdapter.java,
javax/swing/event/SwingPropertyChangeSupport.java,
javax/swing/event/TableModelEvent.java,
javax/swing/event/TreeWillExpandListener.java,
javax/swing/event/UndoableEditEvent.java,
javax/swing/filechooser/FileFilter.java,
javax/swing/filechooser/FileSystemView.java,
javax/swing/filechooser/FileView.java,
javax/swing/plaf/BorderUIResource.java,
javax/swing/plaf/basic/BasicDefaults.java,
javax/swing/table/AbstractTableModel.java,
javax/swing/table/DefaultTableCellRenderer.java,
javax/swing/table/DefaultTableColumnModel.java,
javax/swing/table/DefaultTableModel.java,
javax/swing/table/TableColumn.java,
javax/swing/text/JTextComponent.java,
javax/swing/tree/AbstractLayoutCache.java,
javax/swing/tree/DefaultMutableTreeNode.java,
javax/swing/tree/DefaultTreeCellEditor.java,
javax/swing/tree/DefaultTreeCellRenderer.java,
javax/swing/tree/DefaultTreeModel.java,
javax/swing/tree/DefaultTreeSelectionModel.java,
javax/swing/tree/FixedHeightLayoutCache.java,
javax/swing/tree/TreeCellEditor.java,
javax/swing/tree/TreeModel.java,
javax/swing/tree/TreeNode.java,
javax/swing/tree/TreePath.java,
javax/swing/tree/TreeSelectionModel.java,
javax/swing/tree/VariableHeightLayoutCache.java,
javax/swing/undo/AbstractUndoableEdit.java,
javax/swing/undo/CompoundEdit.java,
javax/swing/undo/StateEdit.java,
javax/swing/undo/UndoManager.java,
javax/swing/undo/UndoableEditSupport.java:
New versions from classpath.
* javax/swing/table/JTableHeader.java:
New file from classpath.
* Makefile.am
(java_awt_sources): Added javax/swing/table/JTableHeader.java.
* Makefile.in: Regenerated.
From-SVN: r67769
Ulrich Weigand [Wed, 11 Jun 2003 13:04:02 +0000 (13:04 +0000)]
* expr.c (can_move_by_pieces): align argument may be unused.
From-SVN: r67764
J"orn Rennecke [Wed, 11 Jun 2003 12:32:47 +0000 (12:32 +0000)]
* expr.c (convert_move): Handle moves between two CONCATs.
From-SVN: r67760
Kazu Hirata [Wed, 11 Jun 2003 12:05:04 +0000 (12:05 +0000)]
h8300.h (RETURN_IN_MEMORY): Accept DImode if !TARGET_H8300.
* config/h8300/h8300.h (RETURN_IN_MEMORY): Accept DImode if
!TARGET_H8300.
From-SVN: r67759
Kazu Hirata [Wed, 11 Jun 2003 11:58:39 +0000 (11:58 +0000)]
h8300.c (final_prescan_insn): Don't dump rtl.
* config/h8300/h8300.c (final_prescan_insn): Don't dump rtl.
* config/h8300/h8300.h (MASK_RTL_DUMP): Remove.
(TARGET_RTL_DUMP): Likewise.
(TARGET_SWITHCES): Remove -mrtl-dump.
From-SVN: r67758
Michael Koch [Wed, 11 Jun 2003 10:38:58 +0000 (10:38 +0000)]
MappedByteBuffer.java, [...]: Removed unneeded imports.
2003-06-11 Michael Koch <konqueror@gmx.de>
* java/nio/MappedByteBuffer.java,
java/nio/channels/Channels.java,
java/nio/channels/ServerSocketChannel.java,
java/nio/channels/spi/AbstractSelector.java:
Removed unneeded imports.
From-SVN: r67756
Michael Koch [Wed, 11 Jun 2003 10:38:38 +0000 (10:38 +0000)]
DatagramSocket.java: Partly merged with classpath.
2003-06-11 Michael Koch <konqueror@gmx.de>
* java/net/DatagramSocket.java:
Partly merged with classpath.
From-SVN: r67755
Michael Koch [Wed, 11 Jun 2003 10:37:48 +0000 (10:37 +0000)]
Frame.java, [...]: New versions from classpath.
2003-06-11 Michael Koch <konqueror@gmx.de>
* java/awt/Frame.java,
java/awt/Graphics.java,
java/awt/Menu.java,
java/awt/Robot.java,
java/awt/image/ColorModel.java:
New versions from classpath.
From-SVN: r67754
Richard Henderson [Wed, 11 Jun 2003 06:43:43 +0000 (23:43 -0700)]
* optabs.c (gen_cond_trap): Fix prepare_operand typo.
From-SVN: r67753
Richard Henderson [Wed, 11 Jun 2003 06:36:20 +0000 (23:36 -0700)]
* config/ia64/ia64.md (call_gp): Fix memory mode.
From-SVN: r67752
James E Wilson [Wed, 11 Jun 2003 04:25:47 +0000 (21:25 -0700)]
re PR rtl-optimization/8812 ([avr] Registers allocated for two uses at once)
PR target/8812
* reload1.c (choose_reload_regs): For equiv reg, add loop over all
hard regs for reload_reg_used_at_all and reg_class_contents checks.
From-SVN: r67751
Kazu Hirata [Wed, 11 Jun 2003 04:03:55 +0000 (04:03 +0000)]
h8300.c (print_operand): Remove support for operand character 'b'.
* config/h8300/h8300.c (print_operand): Remove support for
operand character 'b'.
Add the AND case to operand character 'c'.
* config/h8300/h8300.md (two anonymous patterns): Replace
operand character 'b' with 'c'.
From-SVN: r67750
Kazu Hirata [Wed, 11 Jun 2003 03:19:55 +0000 (03:19 +0000)]
h8300.c (print_operand): Remove support for operand character 'b'.
* config/h8300/h8300.c (print_operand): Remove support for
operand character 'b'.
Add the AND case to operand character 'c'.
* config/h8300/h8300.md (two anonymous patterns): Replace
operand character 'b' with 'c'.
From-SVN: r67748
Nathanael Nerode [Wed, 11 Jun 2003 03:04:44 +0000 (03:04 +0000)]
configure.in: Disable serial configure by default.
* configure.in: Disable serial configure by default.
* configure: Regenerate.
* Makefile.tpl: Abolish .NOTPARALLEL.
* Makefile.in: Regenerate.
From-SVN: r67747
Kazu Hirata [Wed, 11 Jun 2003 01:48:54 +0000 (01:48 +0000)]
h8300.c (print_operand): Remove support for operand character 'u'.
* config/h8300/h8300.c (print_operand): Remove support for
operand character 'u'.
From-SVN: r67745
GCC Administrator [Wed, 11 Jun 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r67742
Nathanael Nerode [Tue, 10 Jun 2003 22:24:39 +0000 (22:24 +0000)]
Makefile.tpl: Replace {build,host,target}_canonical by {build,host,target}.
* Makefile.tpl: Replace {build,host,target}_canonical by
{build,host,target}.
* Makefile.in: Regenerate.
From-SVN: r67739
Paolo Carlini [Tue, 10 Jun 2003 22:00:43 +0000 (00:00 +0200)]
fstream.tcc (close): Clean up a bit.
2003-06-10 Paolo Carlini <pcarlini@unitus.it>
* include/bits/fstream.tcc (close): Clean up a bit.
* include/bits/streambuf.tcc (sbumpc): Clean up a bit.
* include/std/std_fstream.h (_M_destroy_pback): _M_pback_cur_save
- the saved _M_in_cur, that is - cannot be null.
(sync): Constify a variable.
* include/std/std_streambuf.h: Tweak a comment.
(in_avail): Constify a variable.
From-SVN: r67738
Nathanael Nerode [Tue, 10 Jun 2003 21:53:45 +0000 (21:53 +0000)]
configure.in: Fix typo.
* configure.in: Fix typo.
* configure: Regenerate.
From-SVN: r67737
Phil Edwards [Tue, 10 Jun 2003 21:52:25 +0000 (21:52 +0000)]
BUGS: Update from 2.90.8 snapshot.
2003-06-10 Phil Edwards <pme@gcc.gnu.org>
* docs/html/17_intro/BUGS: Update from 2.90.8 snapshot.
* docs/html/17_intro/CHECKLIST: Bring up to date with respect to
correctness of container::iterator typedefs. Fix whitespace.
* docs/html/20_util/howto.html, docs/html/ext/howto.html: Add links
to allocator docs.
* docs/html/documentation.html: Regenerate.
* include/bits/basic_string.h, include/bits/basic_string.tcc,
include/bits/deque.tcc, include/bits/list.tcc, include/bits/stl_algo.h,
include/bits/stl_algobase.h, include/bits/stl_bvector.h,
include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
include/bits/stl_list.h, include/bits/stl_uninitialized.h,
include/bits/stl_vector.h, include/bits/vector.tcc,
include/ext/algorithm, include/ext/slist, include/std/std_bitset.h:
Change _Iter names to _Iterator, and __pos to __position.
* include/bits/stl_relops.h, include/bits/stl_numeric.h,
include/bits/stl_multiset.h, include/bits/stl_set.h:
Remove emacs markers.
* include/bits/stl_threads.h (_STL_auto_lock): Add __unused__.
From-SVN: r67736
Nathanael Nerode [Tue, 10 Jun 2003 21:48:32 +0000 (21:48 +0000)]
* init.c, misc.c, trans.c, utils.c: Remove dead code.
From-SVN: r67735
Janis Johnson [Tue, 10 Jun 2003 21:01:39 +0000 (21:01 +0000)]
fp2-struct-check.h: New file.
* gcc.dg/compat/fp2-struct-check.h: New file.
* gcc.dg/compat/fp2-struct-defs.h: New file.
* gcc.dg/compat/fp2-struct-init.h: New file.
* gcc.dg/compat/struct-by-value-10_main.c: New file.
* gcc.dg/compat/struct-by-value-10_x.c: New file.
* gcc.dg/compat/struct-by-value-10_y.c: New file.
* gcc.dg/compat/struct-return-10_main.c: New file.
* gcc.dg/compat/struct-return-10_x.c: New file.
* gcc.dg/compat/struct-return-10_y.c: New file.
From-SVN: r67734
Loren J. Rittle [Tue, 10 Jun 2003 20:55:02 +0000 (20:55 +0000)]
alpha.c (unicosmk_file_end): Add conditional compilation guard.
* config/alpha/alpha.c (unicosmk_file_end): Add conditional
compilation guard.
From-SVN: r67733
J"orn Rennecke [Tue, 10 Jun 2003 20:53:33 +0000 (20:53 +0000)]
sh-protos.h (function_symbol): Declare.
* sh-protos.h (function_symbol): Declare.
* sh.c (expand_block_move, expand_ashiftrt): Use it.
(sh_expand_prologue, sh_expand_epilogue): Likewise.
(sh_initialize_trampoline): Likewise.
(function_symbol): New function.
* sh.md (udivsi3, divsi3, mulsi3, ic_invalidate_line): Use it.
(initialize_trampoline, call, call_pop, call_value, sibcall): Likewise.
(call_value_pop, shcompact_return_tramp): Likewise.
* sh.h (OVERRIDE_OPTIONS): Don't suppress --profile-arc-flag.
* sh.md (GOTaddr2picreg): Use gen_lowpart to get lowpart of
target register.
From-SVN: r67732
Paolo Carlini [Tue, 10 Jun 2003 19:53:44 +0000 (19:53 +0000)]
1.cc: Remove.
2003-06-10 Paolo Carlini <pcarlini@unitus.it>
* testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Remove.
From-SVN: r67730
DJ Delorie [Tue, 10 Jun 2003 19:40:47 +0000 (15:40 -0400)]
md.texi (Machine Constraints): Document stormy's Z constraint.
* doc/md.texi (Machine Constraints): Document stormy's Z
constraint.
From-SVN: r67729
Jason Merrill [Tue, 10 Jun 2003 19:34:30 +0000 (15:34 -0400)]
oops
From-SVN: r67727
Paolo Carlini [Tue, 10 Jun 2003 19:27:12 +0000 (21:27 +0200)]
fstream.tcc (overflow): According to 27.5.2.4.5, overflow() returns not_eof(eof()).
2003-06-10 Paolo Carlini <pcarlini@unitus.it>
* include/bits/fstream.tcc (overflow): According to
27.5.2.4.5, overflow() returns not_eof(eof()).
* testsuite/27_io/basic_filebuf/overflow/char/2.cc: New.
* testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Ditto.
2003-06-10 Paolo Carlini <pcarlini@unitus.it>
* include/bits/fstream.tcc (_M_underflow): Check overflow return
value; tweak slightly.
From-SVN: r67726
Jason Merrill [Tue, 10 Jun 2003 19:08:46 +0000 (15:08 -0400)]
re PR c++/10968 (If member function implicitly instantiated, explicit instantiation of class fails to instantiate it)
PR c++/10968
* pt.c (mark_decl_instantiated): Set TREE_SYMBOL_REFERENCED.
[[Split portion of a mixed commit.]]
From-SVN: r67725.2
Janis Johnson [Tue, 10 Jun 2003 19:08:33 +0000 (19:08 +0000)]
compat-common.h: New file.
* gcc.dg/compat/compat-common.h: New file.
* gcc.dg/compat/fp-struct-check.h: Improve debugging output.
* gcc.dg/compat/fp-struct-test-by-value-x.h: Ditto.
* gcc.dg/compat/fp-struct-test-by-value-y.h: Ditto.
* gcc.dg/compat/scalar-by-value-1_main.c: Ditto.
* gcc.dg/compat/scalar-by-value-1_x.c: Ditto.
* gcc.dg/compat/scalar-by-value-1_y.c: Ditto.
* gcc.dg/compat/scalar-by-value-2_main.c: Ditto.
* gcc.dg/compat/scalar-by-value-2_x.c: Ditto.
* gcc.dg/compat/scalar-by-value-2_y.c: Ditto.
* gcc.dg/compat/scalar-return-1_main.c: Ditto.
* gcc.dg/compat/scalar-return-1_x.c: Ditto.
* gcc.dg/compat/scalar-return-1_y.c: Ditto.
* gcc.dg/compat/scalar-return-2_main.c: Ditto.
* gcc.dg/compat/scalar-return-2_x.c: Ditto.
* gcc.dg/compat/scalar-return-2_y.c: Ditto.
* gcc.dg/compat/small-struct-check.h: Ditto.
* gcc.dg/compat/struct-by-value-2_main.c: Ditto.
* gcc.dg/compat/struct-by-value-2_x.c: Ditto.
* gcc.dg/compat/struct-by-value-2_y.c: Ditto.
* gcc.dg/compat/struct-by-value-3_main.c: Ditto.
* gcc.dg/compat/struct-by-value-3_x.c: Ditto.
* gcc.dg/compat/struct-by-value-3_y.c: Ditto.
* gcc.dg/compat/struct-by-value-4_main.c: Ditto.
* gcc.dg/compat/struct-by-value-4_x.c: Ditto.
* gcc.dg/compat/struct-by-value-4_y.c: Ditto.
* gcc.dg/compat/struct-by-value-5_main.c: Ditto.
* gcc.dg/compat/struct-by-value-5_x.c: Ditto.
* gcc.dg/compat/struct-by-value-5_y.c: Ditto.
* gcc.dg/compat/struct-by-value-6_main.c: Ditto.
* gcc.dg/compat/struct-by-value-6_x.c: Ditto.
* gcc.dg/compat/struct-by-value-6_y.c: Ditto.
* gcc.dg/compat/struct-by-value-7_main.c: Ditto.
* gcc.dg/compat/struct-by-value-7_x.c: Ditto.
* gcc.dg/compat/struct-by-value-7_y.c: Ditto.
* gcc.dg/compat/struct-by-value-8_main.c: Ditto.
* gcc.dg/compat/struct-by-value-8_x.c: Ditto.
* gcc.dg/compat/struct-by-value-8_y.c: Ditto.
* gcc.dg/compat/struct-by-value-9_main.c: Ditto.
* gcc.dg/compat/struct-by-value-9_x.c: Ditto.
* gcc.dg/compat/struct-by-value-9_y.c: Ditto.
* gcc.dg/compat/struct-return-2_main.c: Ditto.
* gcc.dg/compat/struct-return-2_x.c: Ditto.
* gcc.dg/compat/struct-return-2_y.c: Ditto.
* gcc.dg/compat/struct-return-3_main.c: Ditto.
* gcc.dg/compat/struct-return-3_x.c: Ditto.
* gcc.dg/compat/struct-return-3_y.c: Ditto.
From-SVN: r67724
Jason Merrill [Tue, 10 Jun 2003 19:06:44 +0000 (15:06 -0400)]
re PR c++/10968 (If member function implicitly instantiated, explicit instantiation of class fails to instantiate it)
PR c++/10968
* pt.c (mark_decl_instantiated): Set TREE_SYMBOL_REFERENCED.
[[Split portion of a mixed commit.]]
From-SVN: r67723.2
Geoffrey Keating [Tue, 10 Jun 2003 18:58:05 +0000 (18:58 +0000)]
* except.c (call_site_base): Mark with GTY.
From-SVN: r67722
Richard Earnshaw [Tue, 10 Jun 2003 18:55:17 +0000 (18:55 +0000)]
arm-proto.h: Convert to ISO C90 prototypes.
* arm-proto.h: Convert to ISO C90 prototypes.
* arm.c: Likewise.
From-SVN: r67721
Geoffrey Keating [Tue, 10 Jun 2003 18:32:57 +0000 (18:32 +0000)]
[multiple changes]
2003-06-10 Andrew Pinski <pinskia@physics.uc.edu>
* decl.c (start_cleanup_fn): Move static 'counter' out, mark with GTY.
(start_cleanup_cnt): New.
2003-06-10 Geoffrey Keating <geoffk@apple.com>
* g++.dg/pch/static-1.C: New file.
* g++.dg/pch/static-1.Hs: New file.
From-SVN: r67719
J"orn Rennecke [Tue, 10 Jun 2003 17:16:17 +0000 (17:16 +0000)]
* sh.c (sh_output_mi_thunk): Call insn_locators_initialize.
From-SVN: r67718
Michael Koch [Tue, 10 Jun 2003 17:15:19 +0000 (17:15 +0000)]
PrintStream.java: Merged version from classpath.
2003-06-10 Michael Koch <konqueror@gmx.de>
* java/io/PrintStream.java:
Merged version from classpath.
(close): Removed sychronized keyword. This class is not garantied to
be thread-safe.
(write): Likewise.
From-SVN: r67717
Steve Ellcey [Tue, 10 Jun 2003 17:11:22 +0000 (17:11 +0000)]
calls.c (expand_call): Convert structure_value_addr to Pmode if necessary.
* calls.c (expand_call): Convert structure_value_addr to Pmode if
necessary.
From-SVN: r67716
Andrew Haley [Tue, 10 Jun 2003 16:57:46 +0000 (16:57 +0000)]
resource.c (write_resource_constructor): Use expand_expr to generate the address of the label attached to a resource.
2003-06-10 Andrew Haley <aph@redhat.com>
* resource.c (write_resource_constructor): Use expand_expr to
generate the address of the label attached to a resource.
* Make-lang.in (java/resource.o): Add expr.h
From-SVN: r67714
Andrew Haley [Tue, 10 Jun 2003 16:43:39 +0000 (16:43 +0000)]
langhooks-def.h (LANG_HOOKS_DECL_OK_FOR_SIBCALL): New.
2003-05-21 Andrew Haley <aph@redhat.com>
* langhooks-def.h (LANG_HOOKS_DECL_OK_FOR_SIBCALL): New.
(LANG_HOOKS_DECLS): Add LANG_HOOKS_DECL_OK_FOR_SIBCALL.
(lhd_decl_ok_for_sibcall): New.
* langhooks.c (lhd_decl_ok_for_sibcall): New.
* langhooks.h (lang_hooks_for_decls.ok_for_sibcall): New field.
* calls.c (expand_call): Check lang_hook before generating a
sibcall.
2003-05-21 Andrew Haley <aph@redhat.com>
* lang.c (LANG_HOOKS_DECL_OK_FOR_SIBCALL): New.
(java_decl_ok_for_sibcall): New.
From-SVN: r67713
DJ Delorie [Tue, 10 Jun 2003 16:32:58 +0000 (12:32 -0400)]
stormy16.c (xstormy16_extra_constraint_p): Add Z, which matches (const_int 0) for addhi3.
* config/stormy16/stormy16.c (xstormy16_extra_constraint_p): Add Z,
which matches (const_int 0) for addhi3.
* config/stormy16/stormy16.md: Document known constraints.
(addhi3): Handle adding zero.
From-SVN: r67712