platform/upstream/gcc.git
20 years agore PR libstdc++/8610 (large file support in libstdc++-v3 (std::streamoff type is...
Paolo Carlini [Wed, 22 Oct 2003 15:51:55 +0000 (15:51 +0000)]
re PR libstdc++/8610 (large file support in libstdc++-v3 (std::streamoff type  is 32-bit  in GCC 3.2 whereas it was 64-bit in GCC 2.96))

2003-10-22  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/8610
* acinclude.m4 (GLIBCXX_CHECK_INT64_T): New macro,
checking for the availability of int64_t.
(GLIBCXX_CHECK_LFS): New macro, checking for LFS support.
* configure.ac: Call here.
* acconfig.h: Add undef for the corresponding symbols.
* config/io/basic_file_stdio.cc (__basic_file<char>::open):
Depending on _GLIBCXX_USE_LFS, call fopen64 or fopen.
(__basic_file<char>::seekoff): Likewise, call lseek64 when
available, otherwise lseek, checking the __off parameter.
* include/bits/postypes.h: Typedef __streamoff_base_type
to int64_t if available, otherwise long long.
* aclocal.m4: Regenerate.
* config.h.in: Likewise.
* configure: Likewise.

* acinclude.m4 (GLIBCXX_CHECK_POLL, GLIBCXX_CHECK_WRITEV):
Use AC_TRY_LINK instead of AC_TRY_COMPILE.

From-SVN: r72806

20 years agoexpr.c (expand_byte_code): Only warn about dead bytecode when extra_warnings is set.
Tom Tromey [Wed, 22 Oct 2003 15:44:52 +0000 (15:44 +0000)]
expr.c (expand_byte_code): Only warn about dead bytecode when extra_warnings is set.

* expr.c (expand_byte_code): Only warn about dead bytecode when
extra_warnings is set.

From-SVN: r72805

20 years agoc-pch.c (struct c_pch_validity): Add pch_init field.
Mark Mitchell [Wed, 22 Oct 2003 15:44:44 +0000 (15:44 +0000)]
c-pch.c (struct c_pch_validity): Add pch_init field.

* c-pch.c (struct c_pch_validity): Add pch_init field.
(pch_init): Set it.
(c_common_valid_pch): Check it.
(get_ident): Bump the PCH version number.

From-SVN: r72804

20 years agore PR libstdc++/12657 (Resolution of DR 292 (WP) still unimplemented)
Paolo Carlini [Wed, 22 Oct 2003 15:44:19 +0000 (15:44 +0000)]
re PR libstdc++/12657 (Resolution of DR 292 (WP) still unimplemented)

2003-10-22  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/12657
* include/bits/basic_ios.tcc (copyfmt(const basic_ios&)):
Implement resolution of DR 292 (WP).
* docs/html/ext/howto.html: Add entry for DR 292.

From-SVN: r72803

20 years agoffitarget.h: Replace undefined UINT32 and friends with __attribute__((__mode__(__SI__...
David Daney [Wed, 22 Oct 2003 15:32:13 +0000 (15:32 +0000)]
ffitarget.h: Replace undefined UINT32 and friends with __attribute__((__mode__(__SI__))) and...

2003-10-22  David Daney  <ddaney@avtrex.com>

* src/mips/ffitarget.h: Replace undefined UINT32 and friends with
__attribute__((__mode__(__SI__))) and friends.

From-SVN: r72802

20 years ago* Makefile.in: Disable build of gnatpsta. PR ada/10110.
Arnaud Charlet [Wed, 22 Oct 2003 15:27:19 +0000 (17:27 +0200)]
* Makefile.in: Disable build of gnatpsta. PR ada/10110.

From-SVN: r72801

20 years agore PR ada/10110 ([mipsel-linux]ada bootstrap error)
Arnaud Charlet [Wed, 22 Oct 2003 15:13:11 +0000 (17:13 +0200)]
re PR ada/10110 ([mipsel-linux]ada bootstrap error)

* Makefile.in: Disable build of gnatpa. PR ada/10110.
* cstreams.c (__gnat_full_name): Minor improvements and clean up
of previous change.

From-SVN: r72800

20 years agore PR debug/12500 (stabs debug info -- void no longer a predefined / builtin type)
David Taylor [Wed, 22 Oct 2003 14:28:09 +0000 (14:28 +0000)]
re PR debug/12500 (stabs debug info -- void no longer a predefined / builtin type)

        PR debug/12500
        * dbxout.c (dbxout_typedefs): Use COMPLETE_OR_VOID_TYPE_P.

From-SVN: r72798

20 years ago* src/ia64/ffi.c: Replace FALSE/TRUE with false/true.
Andreas Schwab [Wed, 22 Oct 2003 13:57:12 +0000 (13:57 +0000)]
* src/ia64/ffi.c: Replace FALSE/TRUE with false/true.

From-SVN: r72797

20 years agoalpha.c (function_value [ENABLE_CHECKING]): Don't call alpha_return_in_memory if...
Richard Kenner [Wed, 22 Oct 2003 12:12:15 +0000 (12:12 +0000)]
alpha.c (function_value [ENABLE_CHECKING]): Don't call alpha_return_in_memory if no VALTYPE specified.

* config/alpha/alpha.c (function_value [ENABLE_CHECKING]): Don't call
alpha_return_in_memory if no VALTYPE specified.

From-SVN: r72796

20 years agore PR debug/12389 ([testcase needed] ICE in gen_subprogram_die for nested function)
Jan Hubicka [Wed, 22 Oct 2003 11:58:10 +0000 (13:58 +0200)]
re PR debug/12389 ([testcase needed] ICE in gen_subprogram_die for nested function)

PR debug/12389
* Makefile.in (dwarf2out.o): Depend on cgraph.h.
* cgraph.c (cgraph_function_possibly_inlined_p): New function.
* cgraph.h (cgraph_function_possibly_inlined_p): Declare.
(cgraph_global_info): Add flag inlined
* dwarf2out.c (gen_subprogram_die, gen_decl_die): Use
cgraph_function_possibly_inded_p
* cgraphunit.c (mark_inline): Set inlined flag.
* toplev.c (rest_of_decl_compilation): Call outlining_inline_function
only for possibly inlined functions.
* c-decl.c (duplicate_decls): Never output abstract DIE representing old
body of function.

From-SVN: r72795

20 years agotracebak.c (MAX): Avoid redefinition warning.
Rainer Orth [Wed, 22 Oct 2003 11:34:08 +0000 (11:34 +0000)]
tracebak.c (MAX): Avoid redefinition warning.

* tracebak.c (MAX): Avoid redefinition warning.

* init.c [sgi] (__gnat_error_handler): Remove i, unused.
Change msg to const char *.
(__gnat_install_handler): Remove ss, unused.
[sun && __SVR4 && !__vxworks] (__gnat_error_handler): Change msg
to const char *.
* cstreams.c (__gnat_full_name): Declare p only when used.
(__gnat_full_name) [sgi] Return buffer.

From-SVN: r72794

20 years agovarasm.c (output_constructor): Make constructor annotation conditional on ASM_COMMENT...
Andrew Haley [Wed, 22 Oct 2003 09:50:06 +0000 (09:50 +0000)]
varasm.c (output_constructor): Make constructor annotation conditional on ASM_COMMENT_START.

2003-10-22  Andrew Haley  <aph@redhat.com>

* varasm.c (output_constructor): Make constructor annotation
conditional on ASM_COMMENT_START.

From-SVN: r72793

20 years agore PR ada/5677 (Assert failure in nlists.adb:933)
Arnaud Charlet [Wed, 22 Oct 2003 09:28:08 +0000 (11:28 +0200)]
re PR ada/5677 (Assert failure in nlists.adb:933)

2003-10-22  Arnaud Charlet  <charlet@act-europe.fr>

* gnat_wrapper.adb: New file.

2003/10/22  Jerome Roussel  <roussel@act-europe.fr>

* g-regpat.ads, g-regpat.adb (Match): new function, to know if a
string match a pre compiled regular expression (the corresponding
version of the function working on a raw regular expression)
Fix typos in various comments
Update copyright notice in spec

2003/10/21  Gary Dismukes  <dismukes@gnat.com>

* exp_ch3.adb:
(Component_Needs_Simple_Initialization): Return False when the type is a
packed bit array. Revise spec comments to document this case.

* exp_prag.adb:
(Expand_Pragma_Import): Set any expression on the imported object to
empty to avoid initializing imported objects (in particular this
covers the case of zero-initialization of bit arrays).
Update copyright notice.

2003/10/21  Ed Schonberg  <schonberg@gnat.com>

* sem_ch12.adb:
(Load_Parent_Of_Generic): If parent is compilation unit, stop search,
a subunit is missing.
(Instantiate_Subprogram_Body): If body of function is missing, set type
of return expression explicitly in dummy body, to prevent cascaded
errors when a subunit is missing.
Fixes PR 5677.

* sem_ch3.adb:
(Access_Subprogram_Declaration): Verify that return type is valid.
Fixes PR 8693.

* sem_elab.adb:
(Check_Elab_Calls): Do not apply elaboration checks if the main unit is
generic.
Fixes PR 12318.

* sem_util.adb:
(Corresponding_Discriminant): If the scope of the discriminant is a
private type without discriminant, use its full view.
Fixes PR 8247.

From-SVN: r72792

20 years agoQuadCurve2D.java (subdivide): Added documentation.
Sascha Brawer [Wed, 22 Oct 2003 08:54:19 +0000 (10:54 +0200)]
QuadCurve2D.java (subdivide): Added documentation.

2003-10-22  Sascha Brawer  <brawer@dandelis.ch>

* java/awt/geom/QuadCurve2D.java (subdivide): Added documentation.
java/awt/geom/doc-files/QuadCurve2D-3.png: New illustration.

2003-10-22  Sascha Brawer  <brawer@dandelis.ch>

* java/awt/geom/QuadCurve2D.java: Reformatted, wrote Javadoc.
* java/awt/geom/doc-files: New directory.
* java/awt/geom/doc-files/QuadCurve2D-1.png,
java/awt/geom/doc-files/QuadCurve2D-2.png: New illustrations.

2003-10-22  Sascha Brawer  <brawer@dandelis.ch>

* java/awt/geom/QuadCurve2D.java (subdivide): Implement.

2003-10-22  Sascha Brawer  <brawer@dandelis.ch>

* java/awt/geom/QuadCurve2D.java (getFlatness, getFlatnessSq): Implement.

From-SVN: r72791

20 years ago2003-10-22 Michael Koch <konqueror@gmx.de>
Michael Koch [Wed, 22 Oct 2003 08:47:12 +0000 (08:47 +0000)]
2003-10-22  Michael Koch  <konqueror@gmx.de>

* java/io/File.java
(equals): Removed redundant obj == null check.
(createTempFile): Merged comments from classpath.

From-SVN: r72790

20 years agomingw32.h: New file.
Arnaud Charlet [Wed, 22 Oct 2003 07:59:32 +0000 (09:59 +0200)]
mingw32.h: New file.

2003-10-22  Arnaud Charlet  <charlet@act-europe.fr>

* mingw32.h: New file.

From-SVN: r72789

20 years agotree.c (get_unwidened): Check TREE_UNSIGNED on the field's type.
Jason Merrill [Wed, 22 Oct 2003 02:19:38 +0000 (22:19 -0400)]
tree.c (get_unwidened): Check TREE_UNSIGNED on the field's type.

        * tree.c (get_unwidened): Check TREE_UNSIGNED on the field's type.
        (get_narrower): Likewise.

From-SVN: r72787

20 years agostor-layout.c (layout_decl): Do packed field alignment for bit-fields, too.
Jason Merrill [Wed, 22 Oct 2003 02:14:36 +0000 (22:14 -0400)]
stor-layout.c (layout_decl): Do packed field alignment for bit-fields, too.

        * stor-layout.c (layout_decl): Do packed field alignment for
        bit-fields, too.

From-SVN: r72786

20 years agore PR c++/11962 (ICE in type_dependent_expression on omitted second operand to ?...
Mark Mitchell [Wed, 22 Oct 2003 02:08:47 +0000 (02:08 +0000)]
re PR c++/11962 (ICE in type_dependent_expression on omitted second operand to ?: in template argument expression)

PR c++/11962
* typeck.c (build_x_conditional_expr): Handle missing middle
operands in templates.
* mangle.c (write_expression): Issue errors about attempts to
mangle a non-existant middle operator to the ?: operator.

PR c++/11962
* g++.dg/template/cond2.C: New test.

From-SVN: r72785

20 years agoMake-lang.in (treelang.o): Depend on $(parsedir)/treelang/parse.h.
Kelley Cook [Wed, 22 Oct 2003 02:03:11 +0000 (02:03 +0000)]
Make-lang.in (treelang.o): Depend on $(parsedir)/treelang/parse.h.

* Make-lang.in (treelang.o): Depend on $(parsedir)/treelang/parse.h.
(lex.o): Likewise.

From-SVN: r72784

20 years agoexpr.c (convert_move): Use FLOAT_EXTEND for extensions.
Eric Christopher [Wed, 22 Oct 2003 00:18:11 +0000 (00:18 +0000)]
expr.c (convert_move): Use FLOAT_EXTEND for extensions.

2003-10-21  Eric Christopher  <echristo@redhat.com>

* expr.c (convert_move): Use FLOAT_EXTEND for extensions.

From-SVN: r72783

20 years agoDaily bump.
GCC Administrator [Wed, 22 Oct 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r72781

20 years agore PR java/12586 (gnu.java.net name mangling bug)
Bryce McKinlay [Tue, 21 Oct 2003 23:59:46 +0000 (23:59 +0000)]
re PR java/12586 (gnu.java.net name mangling bug)

        Fix for PR java/12586.
        * mangle.c (find_compression_record_match): Don't iterate through
        package namespace elements unless they all match compression_table
        entries.

From-SVN: r72779

20 years agoMake-lang.in (parse.o): Honor $(parsedir).
Kelley Cook [Tue, 21 Oct 2003 23:58:31 +0000 (23:58 +0000)]
Make-lang.in (parse.o): Honor $(parsedir).

* Make-lang.in (parse.o): Honor $(parsedir).
(lex.o): Likewise.
(lex.c): Likewise
(parse.c, parse.h): Likewise.
($(docobjdir)/treelang.info): Replace $(srcdir)/doc with $(docdir).
(dvi): Likewise.

From-SVN: r72778

20 years agoCheck that asm specs are handled correctly in structure and class field declarations.
Robert Bowdidge [Tue, 21 Oct 2003 23:45:26 +0000 (16:45 -0700)]
Check that asm specs are handled correctly in structure and class field declarations.

Correct behavior is that these are permitted on static fields (because only one
instance exists) and are not permitted on non-static fields.  In the case of
static fields, check to make sure the assembler output shows the aliased name
somewhere.

From-SVN: r72777

20 years agoMake-lang.in (f/g77.1): Honor $(docobjdir).
Kelley Cook [Tue, 21 Oct 2003 23:45:05 +0000 (23:45 +0000)]
Make-lang.in (f/g77.1): Honor $(docobjdir).

* Make-lang.in (f/g77.1): Honor $(docobjdir).
($(docobjdir)/g77.info): Replace $(srcdir)/doc with $(docdir).
(f/g77.dvi): Likewise.

From-SVN: r72776

20 years agodecl.c (cp_finish_decl): Remove clause intended for asm directives in struct or class...
Robert Bowdidge [Tue, 21 Oct 2003 23:41:53 +0000 (16:41 -0700)]
decl.c (cp_finish_decl): Remove clause intended for asm directives in struct or class fields...

* cp/decl.c (cp_finish_decl): Remove clause intended for asm
  directives in struct or class fields: this code is never executed.

From-SVN: r72775

20 years agoc-pch.c: Add comments in various places.
Geoffrey Keating [Tue, 21 Oct 2003 23:28:05 +0000 (23:28 +0000)]
c-pch.c: Add comments in various places.

* c-pch.c: Add comments in various places.
(struct c_pch_validity): Add the lengths of various strings.
(host_machine): New static.
(target_machine): New static.
(get_ident): Bump version number.
(pch_init): Write out version, host, target validity data.
(c_common_valid_pch): Check version, host, target.
* Makefile.in (c-pch.o): Add version.h; define HOST_MACHINE and
TARGET_MACHINE.

From-SVN: r72774

20 years agotree.h (IS_EXPR_CODE_CLASS): Use strchr.
Jason Merrill [Tue, 21 Oct 2003 22:14:53 +0000 (18:14 -0400)]
tree.h (IS_EXPR_CODE_CLASS): Use strchr.

        * tree.h (IS_EXPR_CODE_CLASS): Use strchr.
        (EXPR_P): New macro.

From-SVN: r72773

20 years agoia64.md (cmpxchg_acq_si): Mark operand 3 as DImode.
Zack Weinberg [Tue, 21 Oct 2003 21:22:42 +0000 (21:22 +0000)]
ia64.md (cmpxchg_acq_si): Mark operand 3 as DImode.

* config/ia64/ia64.md (cmpxchg_acq_si): Mark operand 3 as DImode.
* config/ia64/ia64.c (ia64_expand_fetch_and_op,
ia64_expand_op_and_fetch): Make sure the REG for ar.ccv is
DImode.   Use convert_move to load ar.ccv.
(ia64_expand_compare_and_swap): Likewise.
If expand_expr doesn't put 'old' and 'new' in the proper
modes, run them through convert_to_mode.

From-SVN: r72770

20 years agofrv.c (frv_adjust_field_align): Check DECL_ARTIFICIAL for too large bitfields.
Eric Christopher [Tue, 21 Oct 2003 20:22:49 +0000 (20:22 +0000)]
frv.c (frv_adjust_field_align): Check DECL_ARTIFICIAL for too large bitfields.

2003-10-21  Eric Christopher  <echristo@redhat.com>

* config/frv/frv.c (frv_adjust_field_align): Check DECL_ARTIFICIAL
for too large bitfields.

From-SVN: r72769

20 years agoremove unnecessary files.
Andreas Tobler [Tue, 21 Oct 2003 19:08:55 +0000 (21:08 +0200)]
remove unnecessary files.

From-SVN: r72768

20 years agocommit missing adds.
Andreas Tobler [Tue, 21 Oct 2003 19:07:52 +0000 (21:07 +0200)]
commit missing adds.

From-SVN: r72767

20 years ago[multiple changes]
Andreas Tobler [Tue, 21 Oct 2003 19:01:58 +0000 (21:01 +0200)]
[multiple changes]

2003-10-21  Andreas Tobler  <a.tobler@schweiz.ch>

* configure.in: AC_LINK_FILES(ffitarget.h).
* configure: Regenerate.
* Makefile.in: Likewise.
* include/Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.
* fficonfig.h.in: Likewise.

2003-10-21  Paolo Bonzini  <bonzini@gnu.org>
    Richard Henderson  <rth@redhat.com>

Avoid that ffi.h includes fficonfig.h.

* Makefile.am (EXTRA_DIST): Include ffitarget.h files
(TARGET_SRC_MIPS_GCC): Renamed to TARGET_SRC_MIPS_IRIX.
(TARGET_SRC_MIPS_SGI): Removed.
(MIPS_GCC): Renamed to TARGET_SRC_MIPS_IRIX.
(MIPS_SGI): Removed.
(CLEANFILES): Removed.
(mostlyclean-am, clean-am, mostlyclean-sub, clean-sub): New
targets.
* acconfig.h: Removed.
* configure.in: Compute sizeofs only for double and long double.
Use them to define and subst HAVE_LONG_DOUBLE.  Include comments
into AC_DEFINE instead of using acconfig.h.  Create
include/ffitarget.h instead of include/fficonfig.h.  Rename
MIPS_GCC to MIPS_IRIX, drop MIPS_SGI since we are in gcc's tree.
AC_DEFINE EH_FRAME_FLAGS.
* include/Makefile.am (DISTCLEANFILES): New automake macro.
(hack_DATA): Add ffitarget.h.
* include/ffi.h.in: Remove all system specific definitions.
Declare raw API even if it is not installed, why bother?
Use limits.h instead of SIZEOF_* to define ffi_type_*.  Do
not define EH_FRAME_FLAGS, it is in fficonfig.h now.  Include
ffitarget.h instead of fficonfig.h.  Remove ALIGN macro.
(UINT_ARG, INT_ARG): Removed, use ffi_arg and ffi_sarg instead.
* include/ffi_common.h (bool): Do not define.
(ffi_assert): Accept failed assertion.
(ffi_type_test): Return void and accept file/line.
(FFI_ASSERT): Pass stringized failed assertion.
(FFI_ASSERT_AT): New macro.
(FFI_ASSERT_VALID_TYPE): New macro.
(UINT8, SINT8, UINT16, SINT16, UINT32, SINT32,
UINT64, SINT64): Define here with gcc's __attribute__ macro
instead of in ffi.h
(FLOAT32, ALIGN): Define here instead of in ffi.h
* include/ffi-mips.h: Removed.  Its content moved to
src/mips/ffitarget.h after separating assembly and C sections.
* src/alpha/ffi.c, src/alpha/ffi.c, src/java_raw_api.c
src/prep_cif.c, src/raw_api.c, src/ia64/ffi.c,
src/mips/ffi.c, src/mips/n32.S, src/mips/o32.S,
src/mips/ffitarget.h, src/sparc/ffi.c, src/x86/ffi64.c:
SIZEOF_ARG -> FFI_SIZEOF_ARG.
* src/ia64/ffi.c: Include stdbool.h (provided by GCC 2.95+).
* src/debug.c (ffi_assert): Accept stringized failed assertion.
(ffi_type_test): Rewritten.
* src/prep-cif.c (initialize_aggregate, ffi_prep_cif): Call
FFI_ASSERT_VALID_TYPE.
* src/alpha/ffitarget.h, src/arm/ffitarget.h,
src/ia64/ffitarget.h, src/m68k/ffitarget.h,
src/mips/ffitarget.h, src/powerpc/ffitarget.h,
src/s390/ffitarget.h, src/sh/ffitarget.h,
src/sh64/ffitarget.h, src/sparc/ffitarget.h,
src/x86/ffitarget.h: New files.
* src/alpha/osf.S, src/arm/sysv.S, src/ia64/unix.S,
src/m68k/sysv.S, src/mips/n32.S, src/mips/o32.S,
src/powerpc/aix.S, src/powerpc/darwin.S,
src/powerpc/ffi_darwin.c, src/powerpc/linux64.S,
src/powerpc/linux64_closure.S, src/powerpc/ppc_closure.S,
src/powerpc/sysv.S, src/s390/sysv.S, src/sh/sysv.S,
src/sh64/sysv.S, src/sparc/v8.S, src/sparc/v9.S,
src/x86/sysv.S, src/x86/unix64.S, src/x86/win32.S:
include fficonfig.h

From-SVN: r72766

20 years agomt_allocator.h: Change include to gthr.h.
Benjamin Kosnik [Tue, 21 Oct 2003 18:01:37 +0000 (18:01 +0000)]
mt_allocator.h: Change include to gthr.h.

2003-10-21  Benjamin Kosnik  <bkoz@redhat.com>

* include/ext/mt_allocator.h: Change include to gthr.h.
* include/ext/rope: Same. Add _Refcount_base definitions.
* include/ext/pool_allocator.h: Adjust namespaces.
* include/bits/stl_threads.h (_Refcount_base): Move.
Put remaining into namespace __gnu_cxx.

From-SVN: r72763

20 years agoFix typo in ChangeLog
Mark Mitchell [Tue, 21 Oct 2003 17:36:59 +0000 (17:36 +0000)]
Fix typo in ChangeLog

From-SVN: r72762

20 years ago* Makefile.in ($(docobjdir)/%.info): Honor BUILD_INFO.
Mark Mitchell [Tue, 21 Oct 2003 17:36:17 +0000 (17:36 +0000)]
* Makefile.in ($(docobjdir)/%.info): Honor BUILD_INFO.

From-SVN: r72761

20 years agodecl.c (start_decl): Exit if push_template_decl returns error_mark_node.
Kriang Lerdsuwanakij [Tue, 21 Oct 2003 17:05:47 +0000 (17:05 +0000)]
decl.c (start_decl): Exit if push_template_decl returns error_mark_node.

* decl.c (start_decl): Exit if push_template_decl returns
error_mark_node.

From-SVN: r72760

20 years agovarasm.c (output_constructor): Annotate constructor.
Andrew Haley [Tue, 21 Oct 2003 15:32:27 +0000 (15:32 +0000)]
varasm.c (output_constructor): Annotate constructor.

2003-10-21  Andrew Haley  <aph@redhat.com>

        * varasm.c (output_constructor): Annotate constructor.

From-SVN: r72759

20 years agoMakefile.in ($(DESTDIR)$(infodir)/%.info): Conditionalize chmod on existence of desti...
Mark Mitchell [Tue, 21 Oct 2003 15:18:25 +0000 (15:18 +0000)]
Makefile.in ($(DESTDIR)$(infodir)/%.info): Conditionalize chmod on existence of destination file.

* Makefile.in ($(DESTDIR)$(infodir)/%.info): Conditionalize chmod
on existence of destination file.

From-SVN: r72758

20 years ago* haifa-sched.c (choose_ready): Initialize index.
Jan Hubicka [Tue, 21 Oct 2003 14:40:11 +0000 (16:40 +0200)]
* haifa-sched.c (choose_ready): Initialize index.

From-SVN: r72756

20 years ago* tree.c (build1): Fix off-by-one error.
Jason Merrill [Tue, 21 Oct 2003 14:24:28 +0000 (10:24 -0400)]
* tree.c (build1): Fix off-by-one error.

From-SVN: r72754

20 years agore PR libstdc++/9858 (Extra virtual functions in ctype<char>)
Benjamin Kosnik [Tue, 21 Oct 2003 14:22:43 +0000 (14:22 +0000)]
re PR libstdc++/9858 (Extra virtual functions in ctype<char>)

2003-10-21  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/9858
* include/bits/locale_facets.h (ctype<char>): Remove
__ctype_abstract_base.
(ctype<char>::do_is): Remove.
(ctype<char>::do_scan_is): Remove.
* src/ctype.cc: Same. Inline the rest.
* testsuite/22_locale/ctype/is/char/9858.cc: New.
* config/os/aix/ctype_noninline.h: Adjust ctor.
* config/os/bsd/freebsd/ctype_noninline.h: Same.
* config/os/bsd/netbsd/ctype_noninline.h: Same.
* config/os/djgpp/ctype_noninline.h: Same.
* config/os/generic/ctype_noninline.h: Same.
* config/os/gnu-linux/ctype_noninline.h: Same.
* config/os/hpux/ctype_noninline.h: Same.
* config/os/irix/irix5.2/ctype_noninline.h: Same.
* config/os/irix/irix6.5/ctype_noninline.h: Same.
* config/os/mingw32/ctype_noninline.h: Same.
* config/os/newlib/ctype_noninline.h: Same.
* config/os/qnx/qnx6.1/ctype_noninline.h: Same.
* config/os/solaris/solaris2.5/ctype_noninline.h: Same.
* config/os/solaris/solaris2.6/ctype_noninline.h: Same.
* config/os/solaris/solaris2.7/ctype_noninline.h: Same.
* config/os/windiss/ctype_noninline.h: Same.

From-SVN: r72753

20 years agoMakefile.in (CC1OBJ): Remove.
Rainer Orth [Tue, 21 Oct 2003 14:11:13 +0000 (14:11 +0000)]
Makefile.in (CC1OBJ): Remove.

* Makefile.in (CC1OBJ): Remove.
(runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled
correctly.
Use .m extension for temporary file.
Remove assembler temp file.

From-SVN: r72752

20 years ago3psoccon.ads, [...]: Files added.
Arnaud Charlet [Tue, 21 Oct 2003 13:42:24 +0000 (15:42 +0200)]
3psoccon.ads, [...]: Files added.

2003-10-21  Arnaud Charlet  <charlet@act-europe.fr>

* 3psoccon.ads, 3veacodu.adb, 3vexpect.adb, 3vsoccon.ads,
3vsocthi.adb, 3vsocthi.ads, 3vtrasym.adb, 3zsoccon.ads,
3zsocthi.adb, 3zsocthi.ads, 50system.ads, 51system.ads,
55system.ads, 56osinte.adb, 56osinte.ads, 56taprop.adb,
56taspri.ads, 56tpopsp.adb, 57system.ads, 58system.ads,
59system.ads, 5aml-tgt.adb, 5bml-tgt.adb, 5csystem.ads,
5dsystem.ads, 5fosinte.adb, 5gml-tgt.adb, 5hml-tgt.adb,
5isystem.ads, 5lparame.adb, 5msystem.ads, 5psystem.ads,
5sml-tgt.adb, 5sosprim.adb, 5stpopsp.adb, 5tsystem.ads,
5usystem.ads, 5vml-tgt.adb, 5vsymbol.adb, 5vtraent.adb,
5vtraent.ads, 5wml-tgt.adb, 5xparame.ads, 5xsystem.ads,
5xvxwork.ads, 5yparame.ads, 5ytiitho.adb, 5zinit.adb,
5zml-tgt.adb, 5zparame.ads, 5ztaspri.ads, 5ztfsetr.adb,
5zthrini.adb, 5ztiitho.adb, 5ztpopsp.adb, 7stfsetr.adb,
7straces.adb, 7strafor.adb, 7strafor.ads, 7stratas.adb,
a-excach.adb, a-exexda.adb, a-exexpr.adb, a-exextr.adb,
a-exstat.adb, a-strsup.adb, a-strsup.ads, a-stwisu.adb,
a-stwisu.ads, bld.adb, bld.ads, bld-io.adb,
bld-io.ads, clean.adb, clean.ads, ctrl_c.c,
erroutc.adb, erroutc.ads, errutil.adb, errutil.ads,
err_vars.ads, final.c, g-arrspl.adb, g-arrspl.ads,
g-boubuf.adb, g-boubuf.ads, g-boumai.ads, g-bubsor.adb,
g-bubsor.ads, g-comver.adb, g-comver.ads, g-ctrl_c.ads,
g-dynhta.adb, g-dynhta.ads, g-eacodu.adb, g-excact.adb,
g-excact.ads, g-heasor.adb, g-heasor.ads, g-memdum.adb,
g-memdum.ads, gnatclean.adb, gnatsym.adb, g-pehage.adb,
g-pehage.ads, g-perhas.ads, gpr2make.adb, gpr2make.ads,
gprcmd.adb, gprep.adb, gprep.ads, g-semaph.adb,
g-semaph.ads, g-string.adb, g-string.ads, g-strspl.ads,
g-wistsp.ads, i-vthrea.adb, i-vthrea.ads, i-vxwoio.adb,
i-vxwoio.ads, Makefile.generic, Makefile.prolog, Makefile.rtl,
prep.adb, prep.ads, prepcomp.adb, prepcomp.ads,
prj-err.adb, prj-err.ads, s-boarop.ads, s-carsi8.adb,
s-carsi8.ads, s-carun8.adb, s-carun8.ads, s-casi16.adb,
s-casi16.ads, s-casi32.adb, s-casi32.ads, s-casi64.adb,
s-casi64.ads, s-casuti.adb, s-casuti.ads, s-caun16.adb,
s-caun16.ads, s-caun32.adb, s-caun32.ads, s-caun64.adb,
s-caun64.ads, scng.adb, scng.ads, s-exnint.adb,
s-exnllf.adb, s-exnlli.adb, s-expint.adb, s-explli.adb,
s-geveop.adb, s-geveop.ads, s-hibaen.ads, s-htable.adb,
s-htable.ads, sinput-c.adb, sinput-c.ads, s-memcop.ads,
socket.c, s-purexc.ads, s-scaval.adb, s-stopoo.adb,
s-strcom.adb, s-strcom.ads, s-strxdr.adb, s-rident.ads,
s-thread.adb, s-thread.ads, s-tpae65.adb, s-tpae65.ads,
s-tporft.adb, s-traent.adb, s-traent.ads, styleg.adb,
styleg.ads, styleg-c.adb, styleg-c.ads, s-veboop.adb,
s-veboop.ads, s-vector.ads, symbols.adb, symbols.ads,
tb-alvms.c, tb-alvxw.c, tempdir.adb, tempdir.ads,
vms_conv.ads, vms_conv.adb, vms_data.ads,
vxaddr2line.adb: Files added. Merge with ACT tree.

* 4dintnam.ads, 4mintnam.ads, 4uintnam.ads, 52system.ads,
5dosinte.ads, 5etpopse.adb, 5mosinte.ads, 5qosinte.adb,
5qosinte.ads, 5qstache.adb, 5qtaprop.adb, 5qtaspri.ads,
5stpopse.adb, 5uintman.adb, 5uosinte.ads, adafinal.c,
g-enblsp.adb, io-aux.c, scn-nlit.adb, scn-slit.adb,
s-exnflt.ads, s-exngen.adb, s-exngen.ads, s-exnlfl.ads,
s-exnlin.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads,
s-expflt.ads, s-expgen.adb, s-expgen.ads, s-explfl.ads,
s-explin.ads, s-expllf.ads, s-expsfl.ads, s-expsin.ads,
s-expssi.ads, style.adb: Files removed. Merge with ACT tree.

* 1ic.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads,
3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads,
3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads,
3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads,
4cintnam.ads, 4gintnam.ads, 4hexcpol.adb, 4hintnam.ads,
4lintnam.ads, 4nintnam.ads, 4ointnam.ads, 4onumaux.ads,
4pintnam.ads, 4sintnam.ads, 4vcaldel.adb, 4vcalend.adb,
4vintnam.ads, 4wexcpol.adb, 4wintnam.ads, 4zintnam.ads,
51osinte.adb, 51osinte.ads, 52osinte.adb, 52osinte.ads,
53osinte.ads, 54osinte.ads, 5aosinte.adb, 5aosinte.ads,
5asystem.ads, 5ataprop.adb, 5atasinf.ads, 5ataspri.ads,
5atpopsp.adb, 5avxwork.ads, 5bosinte.adb, 5bosinte.ads,
5bsystem.ads, 5cosinte.ads, 5esystem.ads, 5fintman.adb,
5fosinte.ads, 5fsystem.ads, 5ftaprop.adb, 5ftasinf.ads,
5ginterr.adb, 5gintman.adb, 5gmastop.adb, 5gosinte.ads,
5gproinf.ads, 5gsystem.ads, 5gtaprop.adb, 5gtasinf.ads,
5gtpgetc.adb, 5hosinte.adb, 5hosinte.ads, 5hsystem.ads,
5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb,
5itaprop.adb, 5itaspri.ads, 5ksystem.ads, 5kvxwork.ads,
5lintman.adb, 5lml-tgt.adb, 5losinte.ads, 5lsystem.ads,
5mvxwork.ads, 5ninmaop.adb, 5nintman.adb, 5nosinte.ads,
5ntaprop.adb, 5ntaspri.ads, 5ointerr.adb, 5omastop.adb,
5oosinte.adb, 5oosinte.ads, 5oosprim.adb, 5oparame.adb,
5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5posinte.ads,
5posprim.adb, 5pvxwork.ads, 5sintman.adb, 5sosinte.adb,
5sosinte.ads, 5ssystem.ads, 5staprop.adb, 5stasinf.ads,
5staspri.ads, 5svxwork.ads, 5tosinte.ads, 5vasthan.adb,
5vinmaop.adb, 5vinterr.adb, 5vintman.adb, 5vintman.ads,
5vmastop.adb, 5vosinte.adb, 5vosinte.ads, 5vosprim.adb,
5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads, 5vtpopde.adb,
5vtpopde.ads, 5wgloloc.adb, 5wintman.adb, 5wmemory.adb,
5wosprim.adb, 5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads,
5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb,
5zosinte.ads, 5zosprim.adb, 5zsystem.ads, 5ztaprop.adb,
6vcpp.adb, 6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb,
7sintman.adb, 7sosinte.adb, 7sosprim.adb, 7staprop.adb,
7staspri.ads, 7stpopsp.adb, 7straceb.adb, 9drpc.adb,
a-caldel.adb, a-caldel.ads, a-charac.ads, a-colien.ads,
a-comlin.adb, adaint.c, adaint.h, ada-tree.def,
a-diocst.adb, a-diocst.ads, a-direio.adb, a-except.adb,
a-except.ads, a-excpol.adb, a-exctra.adb, a-exctra.ads,
a-filico.adb, a-interr.adb, a-intsig.adb, a-intsig.ads,
ali.adb, ali.ads, ali-util.adb, ali-util.ads,
a-ngcefu.adb, a-ngcoty.adb, a-ngelfu.adb, a-nudira.adb,
a-nudira.ads, a-nuflra.adb, a-nuflra.ads, a-reatim.adb,
a-reatim.ads, a-retide.ads, a-sequio.adb, a-siocst.adb,
a-siocst.ads, a-ssicst.adb, a-ssicst.ads, a-strbou.adb,
a-strbou.ads, a-strfix.adb, a-strmap.adb, a-strsea.ads,
a-strunb.adb, a-strunb.ads, a-ststio.adb, a-stunau.adb,
a-stunau.ads, a-stwibo.adb, a-stwibo.ads, a-stwifi.adb,
a-stwima.adb, a-stwiun.adb, a-stwiun.ads, a-tags.adb,
a-tags.ads, a-tasatt.adb, a-taside.adb, a-teioed.adb,
a-textio.adb, a-textio.ads, a-tienau.adb, a-tifiio.adb,
a-tiflau.adb, a-tiflio.adb, a-tigeau.adb, a-tigeau.ads,
a-tiinau.adb, a-timoau.adb, a-tiocst.adb, a-tiocst.ads,
atree.adb, atree.ads, a-witeio.adb, a-witeio.ads,
a-wtcstr.adb, a-wtcstr.ads, a-wtdeio.adb, a-wtedit.adb,
a-wtenau.adb, a-wtflau.adb, a-wtinau.adb, a-wtmoau.adb,
bcheck.adb, binde.adb, bindgen.adb, bindusg.adb,
checks.adb, checks.ads, cio.c, comperr.adb,
comperr.ads, csets.adb, cstand.adb, cstreams.c,
debug_a.adb, debug_a.ads, debug.adb, decl.c,
einfo.adb, einfo.ads, errout.adb, errout.ads,
eval_fat.adb, eval_fat.ads, exp_aggr.adb, expander.adb,
expander.ads, exp_attr.adb, exp_ch11.adb, exp_ch13.adb,
exp_ch2.adb, exp_ch3.adb, exp_ch3.ads, exp_ch4.adb,
exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads,
exp_ch8.adb, exp_ch9.adb, exp_code.adb, exp_dbug.adb,
exp_dbug.ads, exp_disp.adb, exp_dist.adb, expect.c,
exp_fixd.adb, exp_imgv.adb, exp_intr.adb, exp_pakd.adb,
exp_prag.adb, exp_strm.adb, exp_strm.ads, exp_tss.adb,
exp_tss.ads, exp_util.adb, exp_util.ads, exp_vfpt.adb,
fe.h, fmap.adb, fmap.ads, fname.adb,
fname.ads, fname-uf.adb, fname-uf.ads, freeze.adb,
freeze.ads, frontend.adb, g-awk.adb, g-awk.ads,
g-busora.adb, g-busora.ads, g-busorg.adb, g-busorg.ads,
g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads,
g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads,
g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads,
g-crc32.adb, g-crc32.ads, g-debpoo.adb, g-debpoo.ads,
g-debuti.adb, g-debuti.ads, g-diopit.adb, g-diopit.ads,
g-dirope.adb, g-dirope.ads, g-dyntab.adb, g-dyntab.ads,
g-except.ads, g-exctra.adb, g-exctra.ads, g-expect.adb,
g-expect.ads, g-hesora.adb, g-hesora.ads, g-hesorg.adb,
g-hesorg.ads, g-htable.adb, g-htable.ads, gigi.h,
g-io.adb, g-io.ads, g-io_aux.adb, g-io_aux.ads,
g-locfil.adb, g-locfil.ads, g-md5.adb, g-md5.ads,
gmem.c, gnat1drv.adb, gnatbind.adb, gnatchop.adb,
gnatcmd.adb, gnatfind.adb, gnatkr.adb, gnatlbr.adb,
gnatlink.adb, gnatls.adb, gnatmake.adb, gnatmem.adb,
gnatname.adb, gnatprep.adb, gnatprep.ads, gnatpsta.adb,
gnatxref.adb, g-os_lib.adb, g-os_lib.ads, g-regexp.adb,
g-regexp.ads, g-regist.adb, g-regist.ads, g-regpat.adb,
g-regpat.ads, g-soccon.ads, g-socket.adb, g-socket.ads,
g-socthi.adb, g-socthi.ads, g-soliop.ads, g-souinf.ads,
g-speche.adb, g-speche.ads, g-spipat.adb, g-spipat.ads,
g-spitbo.adb, g-spitbo.ads, g-sptabo.ads, g-sptain.ads,
g-sptavs.ads, g-table.adb, g-table.ads, g-tasloc.adb,
g-tasloc.ads, g-thread.adb, g-thread.ads, g-traceb.adb,
g-traceb.ads, g-trasym.adb, g-trasym.ads, hostparm.ads,
i-c.ads, i-cobol.adb, i-cpp.adb, i-cstrea.ads,
i-cstrin.adb, i-cstrin.ads, impunit.adb, init.c,
inline.adb, interfac.ads, i-pacdec.ads, itypes.adb,
itypes.ads, i-vxwork.ads, lang.opt, lang-specs.h,
layout.adb, lib.adb, lib.ads, lib-list.adb,
lib-load.adb, lib-load.ads, lib-sort.adb, lib-util.adb,
lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads,
link.c, live.adb, make.adb, make.ads,
Makefile.adalib, Makefile.in, Make-lang.in, makeusg.adb,
mdll.adb, mdll-fil.adb, mdll-fil.ads, mdll-utl.adb,
mdll-utl.ads, memroot.adb, memroot.ads, memtrack.adb,
misc.c, mkdir.c, mlib.adb, mlib.ads,
mlib-fil.adb, mlib-fil.ads, mlib-prj.adb, mlib-prj.ads,
mlib-tgt.adb, mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads,
namet.adb, namet.ads, namet.h, nlists.ads,
nlists.h, nmake.adt, opt.adb, opt.ads,
osint.adb, osint.ads, osint-b.adb, osint-c.adb,
par.adb, par-ch10.adb, par-ch11.adb, par-ch2.adb,
par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb,
par-ch9.adb, par-endh.adb, par-labl.adb, par-load.adb,
par-prag.adb, par-sync.adb, par-tchk.adb, par-util.adb,
prj.adb, prj.ads, prj-attr.adb, prj-attr.ads,
prj-com.adb, prj-com.ads, prj-dect.adb, prj-dect.ads,
prj-env.adb, prj-env.ads, prj-ext.adb, prj-ext.ads,
prj-makr.adb, prj-makr.ads, prj-nmsc.adb, prj-nmsc.ads,
prj-pars.adb, prj-pars.ads, prj-part.adb, prj-part.ads,
prj-pp.adb, prj-pp.ads, prj-proc.adb, prj-proc.ads,
prj-strt.adb, prj-strt.ads, prj-tree.adb, prj-tree.ads,
prj-util.adb, prj-util.ads, raise.c, raise.h,
repinfo.adb, repinfo.h, restrict.adb, restrict.ads,
rident.ads, rtsfind.adb, rtsfind.ads, s-addima.ads,
s-arit64.adb, s-assert.adb, s-assert.ads, s-atacco.adb,
s-atacco.ads, s-auxdec.adb, s-auxdec.ads, s-bitops.adb,
scans.ads, scn.adb, scn.ads, s-crc32.adb,
s-crc32.ads, s-direio.adb, sem.adb, sem.ads,
sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb,
sem_case.ads, sem_cat.adb, sem_cat.ads, sem_ch10.adb,
sem_ch11.adb, sem_ch12.adb, sem_ch12.ads, sem_ch13.adb,
sem_ch13.ads, sem_ch3.adb, sem_ch3.ads, sem_ch4.adb,
sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads,
sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads,
sem_ch9.adb, sem_disp.adb, sem_disp.ads, sem_dist.adb,
sem_elab.adb, sem_eval.adb, sem_eval.ads, sem_intr.adb,
sem_maps.adb, sem_mech.adb, sem_prag.adb, sem_prag.ads,
sem_res.adb, sem_res.ads, sem_type.adb, sem_type.ads,
sem_util.adb, sem_util.ads, sem_warn.adb, s-errrep.adb,
s-errrep.ads, s-exctab.adb, s-exctab.ads, s-exnint.ads,
s-exnllf.ads, s-exnlli.ads, s-expint.ads, s-explli.ads,
s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads,
s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-fileio.adb,
s-fileio.ads, s-finimp.adb, s-finimp.ads, s-finroo.adb,
s-finroo.ads, sfn_scan.adb, s-gloloc.adb, s-gloloc.ads,
s-imgdec.adb, s-imgenu.adb, s-imgrea.adb, s-imgwch.adb,
sinfo.adb, sinfo.ads, s-inmaop.ads, sinput.adb,
sinput.ads, sinput-d.adb, sinput-l.adb, sinput-l.ads,
sinput-p.adb, sinput-p.ads, s-interr.adb, s-interr.ads,
s-intman.ads, s-maccod.ads, s-mastop.adb, s-mastop.ads,
s-memory.adb, s-memory.ads, snames.adb, snames.ads,
snames.h, s-osprim.ads, s-parame.ads, s-parint.ads,
s-pooloc.adb, s-pooloc.ads, s-poosiz.adb, sprint.adb,
s-proinf.ads, s-scaval.ads, s-secsta.adb, s-secsta.ads,
s-sequio.adb, s-shasto.adb, s-shasto.ads, s-soflin.ads,
s-stache.adb, s-stache.ads, s-stalib.adb, s-stalib.ads,
s-stoele.ads, s-stopoo.ads, s-stratt.adb, s-stratt.ads,
s-strops.adb, s-strops.ads, s-taasde.adb, s-taasde.ads,
s-tadeca.adb, s-tadeca.ads, s-tadert.adb, s-tadert.ads,
s-taenca.adb, s-taenca.ads, s-taprob.adb, s-taprob.ads,
s-taprop.ads, s-tarest.adb, s-tarest.ads, s-tasdeb.adb,
s-tasdeb.ads, s-tasinf.adb, s-tasinf.ads, s-tasini.adb,
s-tasini.ads, s-taskin.adb, s-taskin.ads, s-tasque.adb,
s-tasque.ads, s-tasren.adb, s-tasren.ads, s-tasres.ads,
s-tassta.adb, s-tassta.ads, s-tasuti.adb, s-tasuti.ads,
s-tataat.adb, s-tataat.ads, s-tpinop.adb, s-tpinop.ads,
s-tpoben.adb, s-tpoben.ads, s-tpobop.adb, s-tpobop.ads,
s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads,
stringt.adb, stringt.ads, stringt.h, style.ads,
stylesw.adb, stylesw.ads, s-unstyp.ads, s-vaflop.ads,
s-valrea.adb, s-valuti.adb, s-vercon.adb, s-vmexta.adb,
s-wchcnv.ads, s-wchcon.ads, s-widcha.adb, switch.adb,
switch.ads, switch-b.adb, switch-c.adb, switch-m.adb,
s-wwdcha.adb, s-wwdwch.adb, sysdep.c, system.ads,
table.adb, table.ads, targparm.adb, targparm.ads,
targtyps.c, tbuild.adb, tbuild.ads, tracebak.c,
trans.c, tree_io.adb, treepr.adb, treeprs.adt,
ttypes.ads, types.ads, types.h, uintp.adb,
uintp.ads, uintp.h, uname.adb, urealp.adb,
urealp.ads, urealp.h, usage.adb, utils2.c,
utils.c, validsw.adb, validsw.ads, widechar.adb,
xeinfo.adb, xnmake.adb, xref_lib.adb, xref_lib.ads,
xr_tabls.adb, xr_tabls.ads, xtreeprs.adb, xsnames.adb,
einfo.h, sinfo.h, treeprs.ads, nmake.ads, nmake.adb,
gnatvsn.ads: Merge with ACT tree.

* gnatvsn.adb: Rewritten in a simpler and more efficient way.

From-SVN: r72751

20 years agoFix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
Sascha Brawer [Tue, 21 Oct 2003 13:25:46 +0000 (15:25 +0200)]
Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>

2003-10-21  Sascha Brawer  <brawer@dandelis.ch>

Fix for bug #2944, reported by David Holmes <dholmes@dltech.com.au>
        * java/util/logging/ErrorManager.java (everUsed): Made volatile.
        (error): Synchronize on instance, not class.

From-SVN: r72750

20 years agoReported by M.Negovanovic
Mark Wielaard [Tue, 21 Oct 2003 13:21:33 +0000 (13:21 +0000)]
Reported by M.Negovanovic

2003-10-21  Mark Wielaard  <mark@klomp.org>

Reported by M.Negovanovic
* java/beans/Introspector.java (getBeanInfo(ClassLoader, String)): New
method.
(reallyFindExplicitBeanInfo): Use new getBeanInfo() method.

From-SVN: r72749

20 years agoFix for Classpath bug #6076.
Sascha Brawer [Tue, 21 Oct 2003 13:18:22 +0000 (15:18 +0200)]
Fix for Classpath bug #6076.

2003-10-21  Sascha Brawer  <brawer@dandelis.ch>

Fix for Classpath bug #6076.
* java/awt/geom/GeneralPath.java (append): Re-written.

2003-10-21  Sascha Brawer  <brawer@dandelis.ch>

Fix for Classpath bug #6089.
* java/awt/geom/GeneralPath.java (curveTo): Set correct segment type.
(getPathIterator, GeneralPathIterator): Re-written from scratch.

2003-10-21  Sascha Brawer  <brawer@dandelis.ch>

* java/awt/geom/GeneralPath.java (getCurrentPoint): Return last
point, not start of subpath.  Fixes Classpath bug #6075.

From-SVN: r72748

20 years agoByteOrder.java, [...]: Add code to load library with code for native methods if needed.
Michael Koch [Tue, 21 Oct 2003 12:55:02 +0000 (12:55 +0000)]
ByteOrder.java, [...]: Add code to load library with code for native methods if needed.

2003-10-21  Michael Koch  <konqueror@gmx.de>

* java/nio/ByteOrder.java,
java/nio/DirectByteBufferImpl.java,
java/nio/channels/FileChannelImpl.java:
Add code to load library with code for native methods if needed.

From-SVN: r72747

20 years agoPlainDatagramSocketImpl.java, [...]: Renamed fnum to native_fd to match classpath...
Michael Koch [Tue, 21 Oct 2003 12:29:43 +0000 (12:29 +0000)]
PlainDatagramSocketImpl.java, [...]: Renamed fnum to native_fd to match classpath more.

2003-10-21  Michael Koch  <konqueror@gmx.de>

* gnu/java/net/PlainDatagramSocketImpl.java,
gnu/java/net/PlainSocketImpl.java,
gnu/java/net/natPlainDatagramSocketImplPosix.cc,
gnu/java/net/natPlainDatagramSocketImplWin32.cc,
gnu/java/net/natPlainSocketImplPosix.cc,
gnu/java/net/natPlainSocketImplWin32.cc:
Renamed fnum to native_fd to match classpath more.

From-SVN: r72746

20 years agolocale.cc: Tweak a comment.
Paolo Carlini [Tue, 21 Oct 2003 11:42:29 +0000 (11:42 +0000)]
locale.cc: Tweak a comment.

2003-10-21  Paolo Carlini  <pcarlini@suse.de>

* src/locale.cc: Tweak a comment.
* src/localename.cc: Move a comment.

From-SVN: r72745

20 years agokfreebsdgnu.h: New.
Robert Millan [Tue, 21 Oct 2003 09:52:47 +0000 (09:52 +0000)]
kfreebsdgnu.h: New.

2003-09-28  Robert Millan  <robertmh@gnu.org>

* config/i386/kfreebsdgnu.h: New. i386-*-kfreebsd-gnu definitions.
* config/kfreebsdgnu.h: New. *-*-kfreebsd-gnu definitions.
* config/t-kfreebsd-gnu: New. *-*-kfreebsd-gnu tmake_file.
* config.gcc: Add *-*-kfreebsd*-gnu and i[34567]86-*-kfreebsd*-gnu.

From-SVN: r72744

20 years ago* web.c: Fix various comments.
Eric Botcazou [Tue, 21 Oct 2003 09:04:56 +0000 (11:04 +0200)]
* web.c: Fix various comments.

From-SVN: r72743

20 years agoMake-lang.in (gnat_ug_unx.info): Add dependency on stmp-docobjdir.
Mark Mitchell [Tue, 21 Oct 2003 06:17:45 +0000 (06:17 +0000)]
Make-lang.in (gnat_ug_unx.info): Add dependency on stmp-docobjdir.

* Make-lang.in (gnat_ug_unx.info): Add dependency on stmp-docobjdir.
(gnat_ug_vmx.info): Likewise.
(gnat_ug_vxw.info): Likewise.
(gnat_ug_wnt.info): Likewise.
(gnat_rm.info): Likewise.
(gnat-style.info): Likewise.

* Make-lang.in ($(docobjdir)/g77.info): Add dependency on
stmp-docobjdir.

* Make-lang.in ($(docobjdir)/treelang/treelang.info): Depend on
stmp-docobjdir.

From-SVN: r72742

20 years agoposix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename _Jv_PthreadCheckMonitor...
Jerry Quinn [Tue, 21 Oct 2003 04:46:19 +0000 (04:46 +0000)]
posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.

2003-10-21  Jerry Quinn  <jlquinn@optonline.net>

        * posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename
        _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor.
* include/no-threads.h (_Jv_MutexCheckMonitor): New.
* include/posix-threads.h (_Jv_MutexCheckMonitor): Rename from
        _Jv_PthreadCheckMonitor.  Simplify code.
(_Jv_MutexUnlock): Use _Jv_MutexCheckMonitor.
* include/win32-threads.h (_Jv_MutexCheckMonitor): New.
* java/lang/Object.h (_Jv_ObjectCheckMonitor): Declare.
* java/lang/Thread.java (holdsLock): New.
* java/lang/natObject.cc (_Jv_ObjectCheckMonitor): New, with and
        without JV_HASH_SYNCHRONIZATION.
* java/lang/natThread.cc (java::lang::Thread::holdsLock): New.

From-SVN: r72741

20 years agoMake-lang.in (info): Honor $(parsedir) and $(docobjdir).
Kelley Cook [Tue, 21 Oct 2003 02:25:17 +0000 (02:25 +0000)]
Make-lang.in (info): Honor $(parsedir) and $(docobjdir).

2003-10-20  Kelley Cook  <kcook@gcc.gnu.org>

* Make-lang.in (info): Honor $(parsedir) and $(docobjdir).
(generate-manpages): Likewise.
(java.maintainer-clean): Likewise.
(gcj.info): Likewise.
(gcj.1): Likewise.
(gcjh.1): Likewise.
(jv-scan.1): Likewise.
(jcf-dump.1): Likewise.
(gij.1): Likewise.
(jv-convert.1): Likewise.
(rmic.1): Likewise.
(rmiregistry.1): Likewise.
(java.install-man): Likewise.
(parse-scan.o): Move and define complete compile line.
(parse.o): Likewise.
(jcf-tree-inline.o): Move.

From-SVN: r72739

20 years agoChangeLog: Fix typos.
Kazu Hirata [Tue, 21 Oct 2003 02:16:17 +0000 (02:16 +0000)]
ChangeLog: Fix typos.

* ChangeLog: Fix typos.
* call.c: Fix comment typos.
* class.c: Likewise.
* cp-tree.h: Likewise.
* cvt.c: Likewise.
* cxx-pretty-print.c: Likewise.
* decl.c: Likewise.
* decl2.c: Likewise.
* init.c: Likewise.
* mangle.c: Likewise.
* name-lookup.c: Likewise.
* parser.c: Likewise.
* search.c: Likewise.
* semantics.c: Likewise.
* tree.c: Likewise.
* typeck.c: Likewise.

From-SVN: r72737

20 years agoarm.c (arm_override_options): Set arm_constant_limit to 2 instead of 1 when optimize_...
Nicolas Pitre [Tue, 21 Oct 2003 01:56:49 +0000 (01:56 +0000)]
arm.c (arm_override_options): Set arm_constant_limit to 2 instead of 1 when optimize_size is true.

* config/arm/arm.c (arm_override_options): Set arm_constant_limit
to 2 instead of 1 when optimize_size is true.  Gather code based on
optimize_size together.  Add comment about XScale load latency.

From-SVN: r72736

20 years agom68k.c (m68k_output_function_prologue): Remove obsolete comments.
Gunther Nikl [Tue, 21 Oct 2003 01:48:28 +0000 (01:48 +0000)]
m68k.c (m68k_output_function_prologue): Remove obsolete comments.

* config/m68k/m68k.c (m68k_output_function_prologue): Remove
obsolete comments.

From-SVN: r72735

20 years agoDaily bump.
GCC Administrator [Tue, 21 Oct 2003 00:16:09 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r72733

20 years agoMakefile.in: Get parsedir and docobjdir from configure.
Kelley Cook [Mon, 20 Oct 2003 23:45:51 +0000 (23:45 +0000)]
Makefile.in: Get parsedir and docobjdir from configure.

2003-10-20  Kelley Cook  <kcook@gcc.gnu.org>

* Makefile.in: Get parsedir and docobjdir from configure.
* configure.in: Recogonize --enable-generated-files-in-srcdir.
Pass along parsedir and docobjdir.
* configure: Regenerate.
* doc/install.texi: Document --enable-generated-files-in-srcdir.

From-SVN: r72731

20 years agoMakefile.in: Define $(docdir) before the Make-lang.in fragments are included.
Kelley Cook [Mon, 20 Oct 2003 23:32:03 +0000 (23:32 +0000)]
Makefile.in: Define $(docdir) before the Make-lang.in fragments are included.

* Makefile.in: Define $(docdir) before the Make-lang.in fragments are
included.

From-SVN: r72730

20 years agocplus-dem.c (demangle_template): Register a new Btype only when needed.
J. Brobecker [Mon, 20 Oct 2003 23:21:30 +0000 (23:21 +0000)]
cplus-dem.c (demangle_template): Register a new Btype only when needed.

        * cplus-dem.c (demangle_template): Register a new Btype only
        when needed.
        * testsuite/demangle-expected: Add a new test.

From-SVN: r72729

20 years agore PR libstdc++/10081 (basic_ios::_M_cache_locale leaves NULL members in the face...
Benjamin Kosnik [Mon, 20 Oct 2003 22:11:40 +0000 (22:11 +0000)]
re PR libstdc++/10081 (basic_ios::_M_cache_locale leaves NULL members in the face of unknown locales)

2003-10-20  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/10081
* testsuite_hooks.h: Add pod_type, ctype and numpunct specializations.
* testsuite_hooks.cc: Same.
* 22_locale/numpunct/members/pod/1.cc: Edit.
* 22_locale/numpunct/members/pod/2.cc: Same.
* 27_io/basic_istream/sentry/char/3983-fstream.cc: Move ...
* 27_io/basic_istream/sentry/char/3983-sstream.cc: Move ...
* 27_io/basic_istream/extractors_arithmetic/pod/3983-1.cc: Here.
* 27_io/basic_istream/extractors_character/pod/3983-2.cc: Here.
* 27_io/basic_istream/extractors_other/pod/3983-3.cc: Here.
* 27_io/basic_ostream/sentry/char/3983-fstream.cc: Remove.
* 27_io/basic_ostream/sentry/char/3983-sstream.cc: Remove.
* 27_io/basic_istream/sentry/pod/1.cc: New.
* 27_io/basic_ostream/sentry/pod/1.cc: New.
* 21_strings/basic_string/inserters_extractors/pod/10081-in.cc: New.
* 21_strings/basic_string/inserters_extractors/pod/10081-out.cc: New.

From-SVN: r72728

20 years agoc-common.c (expand_tree_builtin): Ensure creal and cimag functions do not return...
Joseph Myers [Mon, 20 Oct 2003 22:03:34 +0000 (23:03 +0100)]
c-common.c (expand_tree_builtin): Ensure creal and cimag functions do not return lvalues.

* c-common.c (expand_tree_builtin): Ensure creal and cimag
functions do not return lvalues.

testsuite:
* gcc.dg/builtins-28.c: New test.

From-SVN: r72727

20 years agore PR c/12553 ([tree-ssa] ICE in gimplify_expr with volatiles)
Jason Merrill [Mon, 20 Oct 2003 22:02:17 +0000 (18:02 -0400)]
re PR c/12553 ([tree-ssa] ICE in gimplify_expr with volatiles)

        PR c/12553
        * tree.c (build1) <ADDR_EXPR>: Set TREE_SIDE_EFFECTS
        appropriately.

From-SVN: r72726

20 years agore PR c/11446 ([3.4][3.4 regression?] Incompatibilty with alignment of structures...
Jason Merrill [Mon, 20 Oct 2003 22:01:58 +0000 (18:01 -0400)]
re PR c/11446 ([3.4][3.4 regression?] Incompatibilty with alignment of structures between 3.3 and 3.4 CVS)

        PR c/11446
        * stor-layout.c (layout_decl): Fix alignment handling.

From-SVN: r72725

20 years agore PR c/12553 ([tree-ssa] ICE in gimplify_expr with volatiles)
Jason Merrill [Mon, 20 Oct 2003 21:57:29 +0000 (17:57 -0400)]
re PR c/12553 ([tree-ssa] ICE in gimplify_expr with volatiles)

        PR c/12553
        * tree.c (build1) <ADDR_EXPR>: Set TREE_SIDE_EFFECTS
        appropriately.

        PR c/11446
        * stor-layout.c (layout_decl): Fix alignment handling.

From-SVN: r72724

20 years ago* doc/extend.texi: Deprecate casts as lvalues.
Joseph Myers [Mon, 20 Oct 2003 21:52:37 +0000 (22:52 +0100)]
* doc/extend.texi: Deprecate casts as lvalues.

From-SVN: r72723

20 years ago* objc/hash.h (hash_string): Don't use a cast as an lvalue.
Joseph Myers [Mon, 20 Oct 2003 21:50:13 +0000 (22:50 +0100)]
* objc/hash.h (hash_string): Don't use a cast as an lvalue.

From-SVN: r72722

20 years agotoplev.c (rest_of_compilation): Fix webizer pass ordering.
Jan Hubicka [Mon, 20 Oct 2003 21:46:55 +0000 (23:46 +0200)]
toplev.c (rest_of_compilation): Fix webizer pass ordering.

* toplev.c (rest_of_compilation): Fix webizer pass ordering.

* cgraphunit.c (decide_is_function_needed):  Fix test dealing
with functions implicitly made inline.

* cgraphunit.c (cgraph_decide_inlining_incrementally):  New function.
(cgraph_finalize_function): Use it.
(cgraph_mark_inline): Allow incrmental decisions
* invoke.texi (max-inline-slope, min-inline-insns): Kill.
* params.def (PARAM_MAX_INLINE_SLOPE, PARAM_MIN_INLINE_INSNS): Kill.
* tree-inline.c (limits_allow_inlining): Kill.
(expand_call_inline): Always use unit-at-a-time path.

* decl.c (start_cleanup_fn):  Set DECL_DECLARED_INLINE_P to deffer
the expansion.

* testsuite/g++.dg/opt/inline4.C: Do not use min-inline-insns
parameter.
* testsuite/gcc.dg/inline-2.c: Likewise.

From-SVN: r72721

20 years agoinclhack.def (hpux11_snprintf): New edit.
Zack Weinberg [Mon, 20 Oct 2003 21:16:13 +0000 (21:16 +0000)]
inclhack.def (hpux11_snprintf): New edit.

* fixinc/inclhack.def (hpux11_snprintf): New edit.
* fixinc/fixincl.x: Regenerate.
* fixinc/tests/base/stdio.h: Add test for hpux11_snprintf.

From-SVN: r72719

20 years agoMakefile.in (install-info): Simplify.
Mark Mitchell [Mon, 20 Oct 2003 20:58:26 +0000 (20:58 +0000)]
Makefile.in (install-info): Simplify.

* Makefile.in (install-info): Simplify.
($(DESTDIR)$(infodir)/%.info): New rule.
* configure.in (target_list): Remove install-info.
* doc/.cvsignore (gcc.info*): Remove.
(gccint.info*): Likewise.
(gccinstall.info*): Likewise.
(cpp.info*): Likewise.
(cppinternals.info*): Likewise.
(*.info*): Add it.
* doc/sourcebuild.texi: Update description of install-info.
* objc/Make-lang.in (objc.install-info): Remove.

2003-10-20  Mark Mitchell  <mark@codesourcery.com>

* Make-lang.in (ada.install-info): Remove target.
(info): New target.
(install-info): Likewise.
(gnat_ug_unx.info): Simplify rule.
(gnat_ug_vmx.info): Likewise.
(gnat_ug_vxw.info): Likewise.
(gnat_ug_wnt.info): Likewise.
(gnat_rm.info): Likewise.
(gnat-style.info): Likewise.

2003-10-20  Mark Mitchell  <mark@codesourcery.com>

* Make-lang.in (c++.install-info): Remove.

Mon Oct 20 13:49:43 2003  Mark Mitchell  <mark@codesourcery.com>

* Make-lang.in (.PHONY): Remove f77.info, f77.install-info.
(info): Update dependencies.
($(srcdir)/f/g77.info): Replace with ...
($(docobjdir)/g77.info): ... this.
(f77.install-info): Remove.
(install-info): New target.

2003-10-20  Mark Mitchell  <mark@codesourcery.com>

* Make-lang.in (info): Update dependencies.
(java.install-info): Remove.
($(srcdir)/java/gcj.info): Replace with ...
($(docobjdir)/gcj.info): ... this.

2003-10-20  Mark Mitchell  <mark@codesourcery.com>

* Make-lang.in (info): Use docobjdir.
($(srcdir)/treelang/treelang.info): Replace with ...
($(docobjdir)/treelang/treelang.info): ... this.
(install-info): New target.

From-SVN: r72718

20 years agoclass.c (layout_class_type): Set DECL_ARTIFICIAL on padding field.
Jason Merrill [Mon, 20 Oct 2003 20:28:51 +0000 (16:28 -0400)]
class.c (layout_class_type): Set DECL_ARTIFICIAL on padding field.

        * class.c (layout_class_type): Set DECL_ARTIFICIAL on padding
        field.

From-SVN: r72717

20 years ago2003-10-20 Michael Koch <konqueror@gmx.de>
Michael Koch [Mon, 20 Oct 2003 20:14:05 +0000 (20:14 +0000)]
2003-10-20  Michael Koch  <konqueror@gmx.de>

* java/text/RuleBasedCollator.java
(RuleBasedCollator): Check rules not empty, fixed search in already
existing collation elements.
(is_special): Removed common whitespace characters.
(text_argument): Dont return on whitespaces, add characters between
two ' to string buffer.

From-SVN: r72716

20 years ago20021014-1.c: XFAIL for *-*-windiss targets.
Phil Edwards [Mon, 20 Oct 2003 20:05:20 +0000 (20:05 +0000)]
20021014-1.c: XFAIL for *-*-windiss targets.

2003-10-20  Phil Edwards  <phil@codesourcery.com>

* gcc.dg/20021014-1.c:  XFAIL for *-*-windiss targets.
* gcc.dg/nest.c:  Likewise.

From-SVN: r72715

20 years agoconfigure.in (*-*-vxworks): Add target-libiberty to noconfdirs.
Phil Edwards [Mon, 20 Oct 2003 20:04:19 +0000 (20:04 +0000)]
configure.in (*-*-vxworks): Add target-libiberty to noconfdirs.

2003-10-20  Phil Edwards  <phil@codesourcery.com>

* configure.in (*-*-vxworks):  Add target-libiberty to noconfdirs.
* configure:  Regenerate.

From-SVN: r72714

20 years agoffi.c: Use _ABIN32, _ABIO32 instead of external _MIPS_SIM_NABI32, _MIPS_SIM_ABI32.
Rainer Orth [Mon, 20 Oct 2003 18:37:22 +0000 (18:37 +0000)]
ffi.c: Use _ABIN32, _ABIO32 instead of external _MIPS_SIM_NABI32, _MIPS_SIM_ABI32.

libffi:
* src/mips/ffi.c: Use _ABIN32, _ABIO32 instead of external
_MIPS_SIM_NABI32, _MIPS_SIM_ABI32.

libstdc++-v3:
* config/cpu/mips/atomicity.h (__atomic_add): Use _ABIO32 instead
of external _MIPS_SIM_ABI32.

boehm-gc:
* mips_sgi_mach_dep.s: Use _ABIO32 instead of external
_MIPS_SIM_ABI32.

gcc:
* config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Define _ABIO32.
Use it in _MIPS_SIM definition.
* config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Likewise.

From-SVN: r72713

20 years agoi386.c (print_reg): Abort if REGNO (x) is a virtual register, but only if file =...
Zack Weinberg [Mon, 20 Oct 2003 18:32:51 +0000 (18:32 +0000)]
i386.c (print_reg): Abort if REGNO (x) is a virtual register, but only if file == asm_out_file.

* config/i386/i386.c (print_reg): Abort if REGNO (x) is a
virtual register, but only if file == asm_out_file.
* config/i386/i386.h (HI_REGISTER_NAMES): Use "argp", not "",
for ARG_POINTER_REGNUM.

From-SVN: r72712

20 years agoc-common.c (registered_builtin_types): New static.
Zack Weinberg [Mon, 20 Oct 2003 18:28:27 +0000 (18:28 +0000)]
c-common.c (registered_builtin_types): New static.

* c-common.c (registered_builtin_types): New static.
(c_common_type_for_mode): Consult registered_builtin_types.
(c_register_builtin_type): Add type to registered_builtin_types.
* optabs.c (init_floating_libfuncs): Initialize libfuncs for
all MODE_FLOAT modes, not just the ones corresponding to
float_type_node, double_type_node, and long_double_type_node.

From-SVN: r72711

20 years agoconfigure.ac: Fix comment typo.
Phil Edwards [Mon, 20 Oct 2003 18:27:17 +0000 (18:27 +0000)]
configure.ac: Fix comment typo.

2003-10-20  Phil Edwards  <phil@codesourcery.com>

* configure.ac:  Fix comment typo.
* configure.host:  Add vxworks to host_os switch.
* crossconfig.m4:  Remove old commented os_include_dir variables
left over from autotools transition.
(*-vxworks):  New stanza.
(*-windiss):  Add missing symbols.
* configure:  Regenerate.
* config/os/vxworks/ctype_base.h, config/os/vxworks/ctype_inline.h,
config/os/vxworks/ctype_noninline.h, config/os/vxworks/os_defines.h:
New files.
* config/os/windiss/os_defines.h:  Define __C9X__.

From-SVN: r72710

20 years agoconfig.gcc: Add support for arm926ejs, arm1026ejs, arm1136js, arm1136jfs, and armv6j.
Mark Mitchell [Mon, 20 Oct 2003 16:54:47 +0000 (16:54 +0000)]
config.gcc: Add support for arm926ejs, arm1026ejs, arm1136js, arm1136jfs, and armv6j.

* config.gcc: Add support for arm926ejs, arm1026ejs, arm1136js,
arm1136jfs, and armv6j.
* config/arm/arm.c (FL_ARCH6J): New macro.
(FL_VFPV2): Likewise.
(all_cores): Add entries for arm926ejs, arm1026ejs, arm1136js,
and arm1136jfs.
(all_architectures): Add entry for armv6j.
(arm_override_options): Add entries for arm926ejs, arm1026ejs,
arm1136js, and arm1136jfs.
* config/arm/arm.h (TARGET_CPU_arm926ej_s): New macro.
(TARGET_CPU_arm1026ej_s): Likewise.
(TARGET_CPU_arm1136j_s): Likewise.
(TARGET_CPU_arm1136jf_s): Likewise.
* doc/invoke.texi: Document new ARM cores and architecture
variants.

From-SVN: r72709

20 years agoalpha.h (PREDICATE_CODES): Add normal_memory_operand.
Richard Henderson [Mon, 20 Oct 2003 16:06:55 +0000 (09:06 -0700)]
alpha.h (PREDICATE_CODES): Add normal_memory_operand.

        * config/alpha/alpha.h (PREDICATE_CODES): Add normal_memory_operand.
        * config/alpha/alpha-protos.h: Remove PREDICATE_CODES prototypes.

From-SVN: r72708

20 years agors6000.h: (rs6000_sched_insert_nops): support new flag -minsert-sched-nops.
Dorit Naishlos [Mon, 20 Oct 2003 15:36:19 +0000 (15:36 +0000)]
rs6000.h: (rs6000_sched_insert_nops): support new flag -minsert-sched-nops.

        * config/rs6000/rs6000.h: (rs6000_sched_insert_nops):
        support new flag -minsert-sched-nops.
        (DEFAULT_SCHED_FINISH_NOP_INSERTION_SCHEME): Define.
        * config/rs6000/rs6000.c: (rs6000_sched_insert_nops):
        support new flag -minsert-sched-nops.
        (is_cracked_insn, is_microcoded_insn): New functions.
        (rs6000_sched_finish): New function.
        (rs6000_issue_rate): Return 5 for power4.
        (get_next_active_insn, insn_terminates_group_p): New
        functions.
        (is_costly_group, force_new_group): New functions.
        (redefine_groups, pad_groups): New functions.
        (rs6000_variable_issue): Use new functions.
        * doc/invoke.texi (-minsert-sched-nops): Document new
        option.

From-SVN: r72707

20 years ago* MAINTAINERS: Add myself to 'Write After Approval' section.
Nicolas Pitre [Mon, 20 Oct 2003 15:07:27 +0000 (15:07 +0000)]
* MAINTAINERS: Add myself to 'Write After Approval' section.

From-SVN: r72706

20 years agoPR c++/9781, c++/10583, c++/11862
Kriang Lerdsuwanakij [Mon, 20 Oct 2003 12:42:37 +0000 (12:42 +0000)]
PR c++/9781, c++/10583, c++/11862

PR c++/9781, c++/10583, c++/11862
* decl.c (cp_finish_decl): Exit immediately if decl is an
error_mark_node.
* pt.c (push_template_decl_real): Return error_mark_node for
invalid template declaration of variable.

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

From-SVN: r72701

20 years ago* gcc.dg/old-style-asm-1.c: Count jump_insns instead of labels.
Zdenek Dvorak [Mon, 20 Oct 2003 12:15:27 +0000 (14:15 +0200)]
* gcc.dg/old-style-asm-1.c: Count jump_insns instead of labels.

From-SVN: r72698

20 years agosparc.md (type attribute): Add new insn types fpa, fpm_pack, fgm_mul, fgm_pdist,...
David S. Miller [Mon, 20 Oct 2003 10:07:35 +0000 (03:07 -0700)]
sparc.md (type attribute): Add new insn types fpa, fpm_pack, fgm_mul, fgm_pdist, and fgm_cmp for VIS.

* config/sparc/sparc.md (type attribute): Add new insn types
fpa, fpm_pack, fgm_mul, fgm_pdist, and fgm_cmp for VIS.
(patterns emitting VIS insns): Use them.
* config/sparc/ultra1_2.md: Add VIS scheduling rules.
* config/sparc/ultra3.md: Likewise.

From-SVN: r72697

20 years agore PR target/12654 (Incorrect comparison code generated for Alpha)
Falk Hueffner [Mon, 20 Oct 2003 07:59:45 +0000 (09:59 +0200)]
re PR target/12654 (Incorrect comparison code generated for Alpha)

PR target/12654
* config/alpha/alpha.c (alpha_emit_conditional_branch): Don't do
comparison against constant by adjusting the argument except for
EQ and NE.

From-SVN: r72696

20 years ago* MAINTAINERS (Various maintainers: Ada front end): Added myself.
Arnaud Charlet [Mon, 20 Oct 2003 07:45:06 +0000 (09:45 +0200)]
* MAINTAINERS (Various maintainers: Ada front end): Added myself.

From-SVN: r72695

20 years agoconfig.gcc: Add support for arm926ejs, arm1026ejs, arm1136js, arm1136jfs, and armv6j.
Mark Mitchell [Mon, 20 Oct 2003 06:27:32 +0000 (06:27 +0000)]
config.gcc: Add support for arm926ejs, arm1026ejs, arm1136js, arm1136jfs, and armv6j.

* config.gcc: Add support for arm926ejs, arm1026ejs, arm1136js,
arm1136jfs, and armv6j.
* config/arm/arm.c (FL_ARCH6J): New macro.
(FL_VFPV2): Likewise.
(all_cores): Add entries for arm926ejs, arm1026ejs, arm1136js,
and arm1136jfs.
(all_architectures): Add entry for armv6j.
(arm_override_options): Add entries for arm926ejs, arm1026ejs,
arm1136js, and arm1136jfs.
* config/arm/arm.h (TARGET_CPU_arm926ej_s): New macro.
(TARGET_CPU_arm1026ej_s): Likewise.
(TARGET_CPU_arm1136j_s): Likewise.
(TARGET_CPU_arm1136jf_s): Likewise.
* doc/invoke.texi: Document new ARM cores and architecture
variants.

From-SVN: r72694

20 years agobuiltins-18.c: Wrap C99 tests with HAVE_C99_RUNTIME.
Eric Botcazou [Mon, 20 Oct 2003 06:15:23 +0000 (08:15 +0200)]
builtins-18.c: Wrap C99 tests with HAVE_C99_RUNTIME.

* gcc.dg/builtins-18.c: Wrap C99 tests with HAVE_C99_RUNTIME.
Define HAVE_C99_RUNTIME except on Solaris.
* gcc.dg/builtins-20.c: Likewise.

From-SVN: r72693

20 years agoffi_darwin.c (ffi_prep_args): Declare bytes again.
Andreas Tobler [Mon, 20 Oct 2003 04:25:32 +0000 (06:25 +0200)]
ffi_darwin.c (ffi_prep_args): Declare bytes again.

2003-10-19  Andreas Tobler  <a.tobler@schweiz.ch>

        * src/powerpc/ffi_darwin.c (ffi_prep_args): Declare bytes again.
        Used when FFI_DEBUG = 1.

From-SVN: r72691

20 years agoDaily bump.
GCC Administrator [Mon, 20 Oct 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r72689

20 years ago* MAINTAINERS: Update my email address.
Joseph Myers [Sun, 19 Oct 2003 23:31:00 +0000 (00:31 +0100)]
* MAINTAINERS: Update my email address.

From-SVN: r72687

20 years agoMakefile.in (toplev.o): Add value-prof.h dependency.
Zdenek Dvorak [Sun, 19 Oct 2003 21:37:32 +0000 (23:37 +0200)]
Makefile.in (toplev.o): Add value-prof.h dependency.

* Makefile.in (toplev.o): Add value-prof.h dependency.
(value-prof.o): Add REGS_H dependency.
* common.opt (fprofile-values, fvpt): New.
* flags.h (flag_value_profile_transformations): Declare.
* opts.c (common_handle_option): Handle -fprofile_values and
-fvpt.
* profile.c (branch_prob): Don't remove death notes here.
* timevar.def (TV_VPT): New.
* value-prof.c: Include regs.h.
(insn_divmod_values_to_profile, gen_divmod_fixed_value, gen_mod_pow2,
gen_mod_subtract, divmod_fixed_value_transform,mod_pow2_value_transform,
mod_subtract_transform, value_profile_transformations): New.
(insn_values_to_profile): Call insn_divmod_values_to_profile.
(find_values_to_profile): Add dumps.
* value-prof.h (value_profile_transformations): Declare.
* toplev.c: Include value-prof.h.
(rest_of_handle_value_profile_transformations): New.
(enum dump_file_index): Add DFI_vpt.
(dump_file): Add vpt dump.
(flag_value_profile_transformations): New.
(lang_independent_options): Add flag_profile_values and
flag_value_profile_transformations.
(rest_of_compilation): Call
rest_of_handle_value_profile_transformations.
(process_options): Let -fvpt imply -fprofile-values.
* doc/invoke.texi (-fvpt): Document.

From-SVN: r72685

20 years agore PR libstdc++/12506 (build failure of libstdc++ due to Makefile error)
David Edelsohn [Sun, 19 Oct 2003 20:58:22 +0000 (20:58 +0000)]
re PR libstdc++/12506 (build failure of libstdc++ due to Makefile error)

        PR other/12506
        * configure.host (aix4,aix*): Define os_include_dir to os/generic.

From-SVN: r72684

20 years ago* gcc.dg/old-style-asm-1.c: Use scan-assembler-times.
Zdenek Dvorak [Sun, 19 Oct 2003 18:43:12 +0000 (20:43 +0200)]
* gcc.dg/old-style-asm-1.c: Use scan-assembler-times.

From-SVN: r72682

20 years agore PR rtl-optimization/12612 (ICE when using log function with -O3 -ffast-math)
Jan Hubicka [Sun, 19 Oct 2003 18:00:12 +0000 (20:00 +0200)]
re PR rtl-optimization/12612 (ICE when using log function with -O3 -ffast-math)

* i386.c (print_reg): Do not abort on certain registers.

PR optimization/12612
* reg-stack.c (subst_stack_regs_pat):  Use st(1) for clobbers.
* i386.md (fpatan, fyl2x, fscale patterns and expanders): Use
match_scratch; avoid bogus paralles.

PR target/12674
* i386.c (ix86_function_regparm): Disable implicit register passing
conventions when profiling.

From-SVN: r72681