platform/upstream/gcc.git
22 years agoClassLoader.java (getSystemClassLoader, [...]): Add javadoc from classpath.
Bryce McKinlay [Wed, 7 Aug 2002 05:28:24 +0000 (05:28 +0000)]
ClassLoader.java (getSystemClassLoader, [...]): Add javadoc from classpath.

2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>

* java/lang/ClassLoader.java (getSystemClassLoader, findClass,
defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
findResource, getResources, findResources): Add javadoc from classpath.
(getSystemResources): Implemented.

From-SVN: r56092

22 years agomips.c (override_options): Set MASK_BRANCHLIKELY in target_flags based on ISA...
Chris Demetriou [Wed, 7 Aug 2002 02:57:53 +0000 (02:57 +0000)]
mips.c (override_options): Set MASK_BRANCHLIKELY in target_flags based on ISA...

2002-08-06  Chris Demetriou  <cgd@broadcom.com>

        * config/mips/mips.c (override_options): Set MASK_BRANCHLIKELY
        in target_flags based on ISA, if it was not set on the command
        line.  Warn if MASK_BRANCHLIKLEY is set but the ISA does not
        support Branch Likely instructions.
        * config/mips/mips.h (MASK_BRANCHLIKLEY): New macro.
        (TARGET_BRANCHLIKELY): Likewise.
        (TARGET_SWITCHES): Add -mbranch-likely and -mno-branch-likely.
        (GENERATE_BRANCHLIKELY): Use TARGET_BRANCHLIKELY rather than
        ISA_HAS_BRANCHLIKELY.
        (ISA_HAS_BRANCHLIKELY): Do not include MIPS16 check.
        * doc/invoke.texi: Document new MIPS -mbranch-likely and
        -mno-branch-likely options.

From-SVN: r56088

22 years ago* ip2k.c (ip2k_set_compare): Add missing iteration variable.
Kaveh R. Ghazi [Wed, 7 Aug 2002 01:58:49 +0000 (01:58 +0000)]
* ip2k.c (ip2k_set_compare): Add missing iteration variable.

From-SVN: r56086

22 years agoMakefile.in (dummy-conditions.o): Depend on $(HCONFIG_H) not $(GCONFIG_H).
Kaveh R. Ghazi [Wed, 7 Aug 2002 01:57:38 +0000 (01:57 +0000)]
Makefile.in (dummy-conditions.o): Depend on $(HCONFIG_H) not $(GCONFIG_H).

* Makefile.in (dummy-conditions.o): Depend on $(HCONFIG_H) not
$(GCONFIG_H).

From-SVN: r56085

22 years agoc-decl.c (duplicate_decls): Error out for incompatible TLS declarations.
Aldy Hernandez [Wed, 7 Aug 2002 01:25:01 +0000 (01:25 +0000)]
c-decl.c (duplicate_decls): Error out for incompatible TLS declarations.

        * c-decl.c (duplicate_decls): Error out for incompatible TLS
        declarations.

        * testsuite/gcc.dg/tls/diag-3.c: New.

From-SVN: r56084

22 years agoc-common.c (c_expand_expr): If the last expression is a VAR_DECL with RTL that matche...
Jason Merrill [Wed, 7 Aug 2002 00:52:24 +0000 (20:52 -0400)]
c-common.c (c_expand_expr): If the last expression is a VAR_DECL with RTL that matches the target...

        * c-common.c (c_expand_expr) [STMT_EXPR]: If the last expression is
        a VAR_DECL with RTL that matches the target, just return that RTL.

From-SVN: r56083

22 years agotypeck.c (build_x_unary_op): Handle pointer-to-member.
Gabriel Dos Reis [Wed, 7 Aug 2002 00:38:00 +0000 (00:38 +0000)]
typeck.c (build_x_unary_op): Handle pointer-to-member.

cp/
* typeck.c (build_x_unary_op): Handle pointer-to-member.

testsuite/
* g++.dg/README (Subdirectories): Document new subdir expr.
* g++.dg/expr/pmf-1.C: New test.

From-SVN: r56082

22 years agoMark __func__ with line number 0, to avoid confusing debuggers.
Dale Johannesen [Tue, 6 Aug 2002 23:36:22 +0000 (23:36 +0000)]
Mark __func__ with line number 0, to avoid confusing debuggers.

From-SVN: r56081

22 years agogcov.c: Tidy.
Nathan Sidwell [Tue, 6 Aug 2002 23:18:01 +0000 (23:18 +0000)]
gcov.c: Tidy.

* gcov.c: Tidy.
(struct line_info, struct coverage): New structures.
(gcov_file_name, gcov_file): Remove globals.
(output_data): Take source file parameter. Fix memory leak. Break
up into ...
(init_line_info, output_line_info, make_gcov_file_name,
accumulate_branch_counts): ... here.
(calculate_branch_probs, function_summary): Adjust.
(main): Adjust.
(function_*): Remove global variables.

From-SVN: r56080

22 years ago* dwarf2out.c: Remove unused macros.
Neil Booth [Tue, 6 Aug 2002 20:43:46 +0000 (20:43 +0000)]
* dwarf2out.c: Remove unused macros.

From-SVN: r56079

22 years ago* function.c (TRAMPOLINE_ALIGNMENT): Always defined.
Neil Booth [Tue, 6 Aug 2002 20:39:41 +0000 (20:39 +0000)]
* function.c (TRAMPOLINE_ALIGNMENT): Always defined.

From-SVN: r56078

22 years agocppinit.c (struct lang_flags): Rename trigraphs std.
Neil Booth [Tue, 6 Aug 2002 20:35:46 +0000 (20:35 +0000)]
cppinit.c (struct lang_flags): Rename trigraphs std.

* cppinit.c (struct lang_flags): Rename trigraphs std.
(set_lang): Update.
* cpplib.h (struct cpp_options): New member std.
* cppmacro.c (_cpp_builtin_macro_text): Use std.
(collect_args): Flag whether to swallow a possible future
comma pasted with varargs.
(replace_args): Use this flag.
* doc/cpp.texi: Update varargs extension documentation.
testsuite:
* gcc.dg/cpp/vararg3.c, gcc.dg/cpp/vararg4.c: New tests.

From-SVN: r56077

22 years ago* config/i386/mmintrin.h (__m64): Make the type 64-bit aligned.
Jakub Jelinek [Tue, 6 Aug 2002 18:33:21 +0000 (20:33 +0200)]
* config/i386/mmintrin.h (__m64): Make the type 64-bit aligned.

From-SVN: r56075

22 years agoFix ChangeLog entry.
Jakub Jelinek [Tue, 6 Aug 2002 15:38:10 +0000 (17:38 +0200)]
Fix ChangeLog entry.

From-SVN: r56073

22 years agoi386.c (x86_field_alignment): Apply min for all MODE_INT and MODE_CLASS_INT modes.
Jakub Jelinek [Tue, 6 Aug 2002 15:36:40 +0000 (17:36 +0200)]
i386.c (x86_field_alignment): Apply min for all MODE_INT and MODE_CLASS_INT modes.

* config/i386/i386.c (x86_field_alignment): Apply min for all MODE_INT
and MODE_CLASS_INT modes.

* g++.dg/abi/bitfield3.C: New test.

From-SVN: r56072

22 years agoconfig.gcc (*-*-linux*): Default to --enable-threads=posix if no --{enable,disable...
Jakub Jelinek [Tue, 6 Aug 2002 15:29:24 +0000 (17:29 +0200)]
config.gcc (*-*-linux*): Default to --enable-threads=posix if no --{enable,disable}-threads is given to...

* config.gcc (*-*-linux*): Default to --enable-threads=posix if no
--{enable,disable}-threads is given to configure.
(alpha*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux*,
x86_64-*-linux*, ia64*-*-linux*, m68k-*-linux*, mips*-*-linux*,
powerpc-*-linux-gnualtivec*, powerpc-*-linux*, s390-*-linux*,
s390x-*-linux*, sh-*-linux*, sparc-*-linux*, sparc64-*-linux*):
Remove thread_file setting here.

From-SVN: r56071

22 years ago* doc/install.texi (Binaries): Update Bull Freeware URL.
David Edelsohn [Tue, 6 Aug 2002 15:08:07 +0000 (15:08 +0000)]
* doc/install.texi (Binaries): Update Bull Freeware URL.

From-SVN: r56069

22 years ago* g77.texi (Top): Rename Index to Keyword Index.
Gerald Pfeifer [Tue, 6 Aug 2002 14:00:43 +0000 (16:00 +0200)]
* g77.texi (Top): Rename Index to Keyword Index.

From-SVN: r56068

22 years ago* doc/gcc.texi (Top): Rename Index to Keyword Index.
Gerald Pfeifer [Tue, 6 Aug 2002 13:10:09 +0000 (15:10 +0200)]
* doc/gcc.texi (Top): Rename Index to Keyword Index.

From-SVN: r56067

22 years agoAdd hppa-openbsd target
Federico G. Schwindt [Tue, 6 Aug 2002 09:26:29 +0000 (09:26 +0000)]
Add hppa-openbsd target

From-SVN: r56066

22 years agoDaily bump.
GCC Administrator [Tue, 6 Aug 2002 07:17:24 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r56065

22 years agogcov.c (output_data): Round to % to nearest, tweak formatting.
Nathan Sidwell [Mon, 5 Aug 2002 22:16:51 +0000 (22:16 +0000)]
gcov.c (output_data): Round to % to nearest, tweak formatting.

gcc:
* gcov.c (output_data): Round to % to nearest, tweak formatting.
testsuite:
* lib/gcov.exp: Tweak expected line formats.
* gcc.misc-tests/gcov8.c: New test.
* gcc.misc-tests/gcov8.x: New flags.

From-SVN: r56059

22 years agofold-const.c (associate_trees): Only optimize NEGATE_EXPR in one of the operands...
Jakub Jelinek [Mon, 5 Aug 2002 19:26:27 +0000 (21:26 +0200)]
fold-const.c (associate_trees): Only optimize NEGATE_EXPR in one of the operands into MINUS_EXPR if...

* fold-const.c (associate_trees): Only optimize NEGATE_EXPR in one
of the operands into MINUS_EXPR if code is PLUS_EXPR.

* gcc.c-torture/execute/20020805-1.c: New test.

From-SVN: r56058

22 years ago* consistency.vlad/layout/endian.c: Include string.h.
Jakub Jelinek [Mon, 5 Aug 2002 19:19:32 +0000 (21:19 +0200)]
* consistency.vlad/layout/endian.c: Include string.h.

From-SVN: r56057

22 years agoconfig.gcc (i[34567]86-*-interix*): Replace interix.o with winnt.o
Douglas B Rupp [Mon, 5 Aug 2002 18:53:16 +0000 (18:53 +0000)]
config.gcc (i[34567]86-*-interix*): Replace interix.o with winnt.o

2002-08-05  Douglas B Rupp  <rupp@gnat.com>

* config.gcc (i[34567]86-*-interix*): Replace interix.o with winnt.o
* config/i386/i386-interix.h (TARGET_NOP_FUN_DLLIMPORT,
drectve_section): Define.
* config/i386/t-interix: Replace interix.o rule with winnt.o.
* config/i386/interix.c: Remove.

From-SVN: r56056

22 years agoIndex: ChangeLog
Geoffrey Keating [Mon, 5 Aug 2002 18:46:37 +0000 (18:46 +0000)]
Index: ChangeLog
2002-08-05  Geoffrey Keating  <geoffk@redhat.com>

* attribs.c: Don't include obstack.h.
* builtins.c: Likewise.
* cfganal.c: Likewise.
* cfgbuild.c: Likewise.
* cfgcleanup.c: Likewise.
* emit-rtl.c: Likewise.
* loop.c: Likewise.
* stmt.c: Likewise.

Index: cp/ChangeLog
2002-08-05  Geoffrey Keating  <geoffk@redhat.com>

* class.c: Don't include obstack.h.
(popclass):
* decl2.c: Delete bogus comment.
* error.c: Don't include obstack.h.
* except.c: Likewise.
(dump_type): Correct comment.
* method.c: Don't include obstack.h.
* tree.c: Likewise.

Index: java/ChangeLog
2002-08-05  Geoffrey Keating  <geoffk@redhat.com>

* mangle_name.c: Don't include obstack.h twice.
* xref.c: Don't include obstack.h.

From-SVN: r56055

22 years ago* Makefile.in (s-gtype): Re-add dependency on $(GTFILES).
Geoffrey Keating [Mon, 5 Aug 2002 18:45:26 +0000 (18:45 +0000)]
* Makefile.in (s-gtype): Re-add dependency on $(GTFILES).

From-SVN: r56054

22 years ago* doc/c-tree.texi (Expression trees): Document VA_ARG_EXPR
Gabriel Dos Reis [Mon, 5 Aug 2002 15:50:10 +0000 (15:50 +0000)]
* doc/c-tree.texi (Expression trees): Document VA_ARG_EXPR

From-SVN: r56050

22 years agoAdd missing file
Bernd Schmidt [Mon, 5 Aug 2002 11:41:05 +0000 (11:41 +0000)]
Add missing file

From-SVN: r56049

22 years agoinvoke.texi: Improve description of -fno-finite-math-only flag.
Toon Moene [Mon, 5 Aug 2002 09:23:43 +0000 (11:23 +0200)]
invoke.texi: Improve description of -fno-finite-math-only flag.

2002-08-05  Toon Moene  <toon@moene.indiv.nluug.nl>

* invoke.texi: Improve description of
-fno-finite-math-only flag.

From-SVN: r56048

22 years agoDaily bump.
GCC Administrator [Mon, 5 Aug 2002 07:17:11 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r56047

22 years agoinvoke.texi: Remove duplicated paragraph describing TARGET_SWITCHES.
Chris Demetriou [Mon, 5 Aug 2002 05:36:20 +0000 (05:36 +0000)]
invoke.texi: Remove duplicated paragraph describing TARGET_SWITCHES.

2002-08-04  Chris Demetriou  <cgd@broadcom.com>

        * doc/invoke.texi: Remove duplicated paragraph describing
        TARGET_SWITCHES.

From-SVN: r56040

22 years agoFix PR/2213
Gabriel Dos Reis [Mon, 5 Aug 2002 03:56:16 +0000 (03:56 +0000)]
Fix PR/2213

cp/
        Fix PR/2213
        * cvt.c (cp_convert_to_pointer): Reject conversions from integral
        expressions to pointer-to-data-member of pointer-to-member-functions.

testsuite/
        * g++.dg/other/conversion1.C: New test.

From-SVN: r56039

22 years agoinstall.texi (Installing GCC): Refer to buildstat.html, rather than listing version...
Mark Mitchell [Mon, 5 Aug 2002 03:40:38 +0000 (03:40 +0000)]
install.texi (Installing GCC): Refer to buildstat.html, rather than listing version-specific build status files.

* doc/install.texi (Installing GCC): Refer to buildstat.html,
rather than listing version-specific build status files.

From-SVN: r56038

22 years agoslice_array.h (_DEFINE_VALARRAY_OPERATOR): Instantiate with new function objects.
Gabriel Dos Reis [Mon, 5 Aug 2002 02:09:27 +0000 (02:09 +0000)]
slice_array.h (_DEFINE_VALARRAY_OPERATOR): Instantiate with new function objects.

PR/7491
* include/bits/slice_array.h(_DEFINE_VALARRAY_OPERATOR):
Instantiate with new function objects.
* include/bits/mask_array.h (_DEFINE_VALARRAY_OPERATOR): Likewise.
Reformat.  Uglify.
* include/bits/gslice_array.h: Likewise.
* include/bits/indirect_array.h: Likewise.

From-SVN: r56036

22 years agoIndex: ChangeLog
Geoffrey Keating [Sun, 4 Aug 2002 22:45:31 +0000 (22:45 +0000)]
Index: ChangeLog
2002-08-04  Geoffrey Keating  <geoffk@redhat.com>

* Makefile.in (sdbout.o): Doesn't need $(OBSTACK_H).
* collect2.h (permanent_obstack): Delete declaration.
* collect2.c (permanent_obstack): Delete definition.
(main): Don't initialise permanent_obstack.  Use xstrdup instead.
* expr.c: Don't include obstack.h.
(permanent_obstack): Delete declaration.
* function.c: Don't include obstack.h.
(permanent_obstack): Delete declaration.
* integrate.c: Don't include obstack.h.
(function_maybepermanent_obstack): Delete declaration.
* print-tree.c (debug_tree): Use x*alloc not permalloc.
* sdbout.c (gen_fake_label): Use x*alloc not permalloc.
* tlink.c (pfgets): Use xstrdup not permanent_obstack.
* toplev.c (lang_independent_init): Rename init_obstacks to init_ttree.
* tree.h: Rename init_obstacks to init_ttree.  Remove declarations
of permalloc, expralloc, perm_calloc.
* tree.c (permanent_obstack): Delete definition.
(init_ttree): Rename from init_obstacks.
(permalloc): Delete.
(perm_calloc): Delete.
(dump_tree_statistics): Don't print information about
permanent_obstack.
* varasm.c (assemble_start_function): Use xstrdup instead of
permalloc/strcpy.
(assemble_variable): Likewise.
* config/alpha/alpha.c (unicosmk_need_dex): Use xmalloc instead of
permalloc.
(unicosmk_add_extern): Likewise.
* config/c4x/c4x.c (c4x_external_ref): Likewise.
(c4x_global_label): Likewise.
* config/frv/frv.c (frv_encode_section_info): Likewise.
* config/i386/winnt.c (i386_pe_record_external_function): Likewise.
(i386_pe_record_exported_symbol): Likewise.
* config/mips/mips.c (mips_output_external): Likewise.
(mips_output_external_libcall): Likewise.
* config/pa/pa.c: (permanent_obstack): Delete declaration.
(output_call): Use ggc_strdup instead of allocating on
permanent_obstack.
* config/romp/romp.c: Include ggc.h.
(get_symref): Don't declare permanent_obstack, use ggc_strdup
intead of permanent_obstack.
* config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use concat
instead of permalloc.
* config/rs6000/rs6000.c (rs6000_gen_section_name): Use xmalloc
instead of permalloc
* config/rs6000/xcoff.h (ASM_OUTPUT_EXTERNAL): Use concat
instead of permalloc.
* config/vax/vax.c (vms_check_external): Use xmalloc instead of
permalloc.

Index: cp/ChangeLog
2002-08-04  Geoffrey Keating  <geoffk@redhat.com>

* cvt.c (ocp_convert): Delete obsolete code.
* parse.y (permanent_obstack): Delete declaration.
* pt.c (permanent_obstack): Delete declaration.
* repo.c (permanent_obstack): Delete declaration.
(open_repo_file): Use xmalloc instead of permanent_obstack.
(init_repo): Use xstrdup instead of permanent_obstack.

Index: java/ChangeLog
2002-08-04  Geoffrey Keating  <geoffk@redhat.com>

* class.c: (permanent_obstack): Delete declaration.
* constants.c: (permanent_obstack): Delete declaration.
* except.c: (permanent_obstack): Delete declaration.
* expr.c: (permanent_obstack): Delete declaration.
* jcf-parse.c: (permanent_obstack): Delete declaration.
(saveable_obstack): Delete declaration.
* parse.h: (permanent_obstack): Delete declaration.
* typeck.c: (permanent_obstack): Delete declaration.

From-SVN: r56035

22 years agoRemove one of the files checked in previously
Bernd Schmidt [Sun, 4 Aug 2002 21:07:49 +0000 (21:07 +0000)]
Remove one of the files checked in previously

From-SVN: r56033

22 years agoconfigure.in (mips*-*-linux*): Don't skip target-libffi.
H.J. Lu [Sun, 4 Aug 2002 19:40:07 +0000 (19:40 +0000)]
configure.in (mips*-*-linux*): Don't skip target-libffi.

2002-08-04  H.J. Lu  (hjl@gnu.org)

* configure.in (mips*-*-linux*): Don't skip target-libffi.

From-SVN: r56030

22 years agoAdd the FRV port
Bernd Schmidt [Sun, 4 Aug 2002 19:37:03 +0000 (19:37 +0000)]
Add the FRV port

From-SVN: r56029

22 years agogcov.c (bb_file_time): New static variable.
Nathan Sidwell [Sun, 4 Aug 2002 17:06:10 +0000 (17:06 +0000)]
gcov.c (bb_file_time): New static variable.

* gcov.c (bb_file_time): New static variable.
(object_directory): May also be object file.
(preserve_paths): New static variable.
(print_usage): Adjust.
(options): Adjust.
(process_args): Adjust.
(open_files): Simplify. Cope when OBJECT_DIRECTORY is an object
file. Find modification date on bb file.
(read_profile): Don't rewind a NULL file.
(format_hwint): New static function.
(function_summary): Use format_hwint.
(output_data): SOURCE_FILE_NAME is never relative to
OBJECT_DIRECTORY. Use format_hwint. Adjust gcov file name
mangling. Adjust output format to make it more machine readable.
* doc/gcov.texi: Document & clarify semantics.

From-SVN: r56028

22 years agogcc-common.texi (version-GCC): Increase to 3.3.
Joseph Myers [Sun, 4 Aug 2002 16:55:06 +0000 (17:55 +0100)]
gcc-common.texi (version-GCC): Increase to 3.3.

* doc/include/gcc-common.texi (version-GCC): Increase to 3.3.

java:
* gcj.texi (version-gcc): Increase to 3.3.

f:
* root.texi (version-gcc): Increase to 3.3.

From-SVN: r56026

22 years agogcc.c (cc1_options): Pass output file as auxbase when appropriate.
Nathan Sidwell [Sun, 4 Aug 2002 16:21:02 +0000 (16:21 +0000)]
gcc.c (cc1_options): Pass output file as auxbase when appropriate.

* gcc.c (cc1_options): Pass output file as auxbase when
appropriate.
* profile.c (init_branch_prob): FILENAME has already had ending
stripped.
* final.c (end_final): Likewise.
* toplev.c (aux_base_name): New global.
(compile_file): Pass aux_base_name to init init_branch_prob and
end_final.
(independent_decode_option, case 'a'): New auxinfo options.
(case 'd'): Protect against mising basename.
(do_compile): Initialize aux_base_name.
* toplev.h (aux_base_name): New global.
* doc/invoke.texi: Adjust documentation.

From-SVN: r56025

22 years agoi386.c (x86_field_alignment): Remove duplicate test of TARGET_ALIGN_DOUBLE.
Nathan Sidwell [Sun, 4 Aug 2002 14:53:45 +0000 (14:53 +0000)]
i386.c (x86_field_alignment): Remove duplicate test of TARGET_ALIGN_DOUBLE.

* config/i386/i386.c (x86_field_alignment): Remove duplicate test
of TARGET_ALIGN_DOUBLE.

From-SVN: r56024

22 years agocp-tree.h (VF_DERIVED_VALUE): Remove.
Nathan Sidwell [Sun, 4 Aug 2002 14:43:46 +0000 (14:43 +0000)]
cp-tree.h (VF_DERIVED_VALUE): Remove.

* cp-tree.h (VF_DERIVED_VALUE): Remove.
* class.c (finish_struct_1): Use VF_BINFO_VALUE not VF_DERIVED_VALUE.

From-SVN: r56023

22 years agodiagnostic.c (inform): New function.
Gabriel Dos Reis [Sun, 4 Aug 2002 14:38:40 +0000 (14:38 +0000)]
diagnostic.c (inform): New function.

* diagnostic.c (inform): New function.
* diagnostic.h (inform): Declare.

From-SVN: r56022

22 years agore PR c++/7470 (Vtable: virtual function pointers not in declaration order)
Nathan Sidwell [Sun, 4 Aug 2002 13:13:56 +0000 (13:13 +0000)]
re PR c++/7470 (Vtable: virtual function pointers not in declaration order)

PR 7470.
C++ ABI change - vfunc ordering.
* class.c (add_virtual_function): Remove.
(dfs_modify_all_vtables): Take list of all declared
virtuals. Assign all that are not in primary base.
(check_for_override): Adjust comments.
(create_vtable_ptr): Take single list of virtuals. Build chain
of declared virtuals here.
(layout_class_type): Take single list of virtuals. Adjust.
(finish_struct_1): Keep virtuals on single list. Adjust.

From-SVN: r56021

22 years agoDaily bump.
GCC Administrator [Sun, 4 Aug 2002 07:17:06 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r56019

22 years ago* gcc.dg/builtins-1.c: New testcase.
Roger Sayle [Sun, 4 Aug 2002 02:08:20 +0000 (02:08 +0000)]
* gcc.dg/builtins-1.c: New testcase.

From-SVN: r56012

22 years agors6000.md (movsi_internal1): Add nop mnemonic.
David Edelsohn [Sat, 3 Aug 2002 23:23:49 +0000 (23:23 +0000)]
rs6000.md (movsi_internal1): Add nop mnemonic.

        * config/rs6000/rs6000.md (movsi_internal1): Add nop mnemonic.
        (movhi_internal): Same.
        (movqi_internal): Same.
        (movdi_internal64): Same.

        * config/rs6000/t-ppccomm (MULTILIB_MATCHES_FLOAT): Add mcpu=405.

        * config/rs6000/xcoff.h (SKIP_ASM_OP): Define.
        (ASM_OUTPUT_SKIP): Use it.  SIZE unsigned.
        (COMMON_ASM_OP): Define.
        (ASM_OUTPUT_ALIGNED_COMMON): Use it.  SIZE unsigned.
        Use ALIGN parameter.
        (LOCAL_COMMON_ASM_OP): Define.
        (ASM_OUTPUT_LOCAL): Use it.  SIZE unsigned.

From-SVN: r56011

22 years agobuiltins.def: Define new builtin functions exp...
Roger Sayle [Sat, 3 Aug 2002 23:21:31 +0000 (23:21 +0000)]
builtins.def: Define new builtin functions exp...

* builtins.def: Define new builtin functions exp, expf, expl,
log, logf and logl (and their __builtin_* variants).
* optabs.h (enum optab_index): Add new OTI_exp and OTI_log.
Define exp_optab and log_optab.
* optabs.c (init_optans): Initialize exp_optab and log_optab.
* genopinit.c (optabs): Implement exp_optab and log_optab
using exp?f2 and log?f2 patterns.
* builtins.c (expand_builtin_mathfn): Handle BUILT_IN_EXP*
and BUILT_IN_LOG* using exp_optab and log_optab respectively.
(expand_builtin): Ignore the new builtins (and all cos and
sin variants) when not optimizing.  Expand new builtins via
expand_builtin_mathfn when flag_unsafe_math_optimizations.

* doc/extend.texi: Document new exp and log builtins.
* doc/md.texi: Document new exp?f2 and log?f2 patterns
(and previously undocumented cos?f2 and sin?f2 patterns).

From-SVN: r56010

22 years agoexplow.c (int_expr_size): New fn.
Jason Merrill [Sat, 3 Aug 2002 20:20:35 +0000 (16:20 -0400)]
explow.c (int_expr_size): New fn.

        * explow.c (int_expr_size): New fn.
        * expr.c (expand_expr) [CONSTRUCTOR]: Use it.
        * expr.h: Declare it.

From-SVN: r56009

22 years agovalarray_name_lookup.cc: Rename from testsuite/26_numerics/valarray_name_lookup.C
Gabriel Dos Reis [Sat, 3 Aug 2002 19:56:17 +0000 (19:56 +0000)]
valarray_name_lookup.cc: Rename from testsuite/26_numerics/valarray_name_lookup.C

* testsuite/26_numerics/valarray_name_lookup.cc: Rename from
testsuite/26_numerics/valarray_name_lookup.C

From-SVN: r56008

22 years agoDaily bump.
GCC Administrator [Sat, 3 Aug 2002 07:17:08 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r56007

22 years agovalarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our object function surrogates.
Gabriel Dos Reis [Fri, 2 Aug 2002 23:08:40 +0000 (23:08 +0000)]
valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our object function surrogates.

* include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
object function surrogates.
* include/bits/valarray_meta.h (__shift_left): Fix typo.
(_BinFunClos<>): Remove.
(_BinFunBase<>): Likewise.
(_BinFunBase1<>):Likewise.
(_BinFunBase2<>): Likewise.
(_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise.
(_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
(_DEFINE_EXPR_BINARY_OPERATOR): Likewise.
(_DEFINE_EXPR_BINARY_FUNCTION): Likewise.
* include/std/std_valarray.h: Dont #include <functional> anymore.
(_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>,
_Shift_right<>): Remove.
(_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation.
(_DEFINE_BINARY_OPERATOR): Tweak definition.
(_DEFINE_LOGICAL_OPERATOR): Remove.
* testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests.

From-SVN: r56001

22 years agoinit.c (build_member_call): Use build_new_method_call, not build_method_call.
Mark Mitchell [Fri, 2 Aug 2002 22:42:03 +0000 (22:42 +0000)]
init.c (build_member_call): Use build_new_method_call, not build_method_call.

* init.c (build_member_call): Use build_new_method_call, not
build_method_call.
* g++.dg/inherit/access3.C: New test.

From-SVN: r56000

22 years agoMakefile.in (gengtype-lex.o, [...]): Add path to gengtype-* dependencies.
Krister Walfridsson [Fri, 2 Aug 2002 22:30:09 +0000 (00:30 +0200)]
Makefile.in (gengtype-lex.o, [...]): Add path to gengtype-* dependencies.

        * Makefile.in (gengtype-lex.o, gengtype-yacc.o): Add path to
        gengtype-* dependencies.

From-SVN: r55999

22 years agoconfig.gcc (mips*-*-linux*): Fix ordering of tm_file.
Eric Christopher [Fri, 2 Aug 2002 20:22:35 +0000 (20:22 +0000)]
config.gcc (mips*-*-linux*): Fix ordering of tm_file.

2002-08-02  Eric Christopher  <echristo@redhat.com>

* config.gcc (mips*-*-linux*): Fix ordering of tm_file.
* config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Change
#ifndef to #undef.
(TARGET_MEM_FUNCTIONS): Define instead of define to 1.

From-SVN: r55998

22 years ago* Make-lang.in (spew.o, lex.o, pt.o): Add path to parse.h dependencies.
Krister Walfridsson [Fri, 2 Aug 2002 19:43:25 +0000 (21:43 +0200)]
* Make-lang.in (spew.o, lex.o, pt.o): Add path to parse.h dependencies.

From-SVN: r55997

22 years ago* MAINTAINERS (Write After Approval): Add myself.
Krister Walfridsson [Fri, 2 Aug 2002 19:02:33 +0000 (21:02 +0200)]
* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r55996

22 years agoFix typo
Mark Mitchell [Fri, 2 Aug 2002 18:56:48 +0000 (18:56 +0000)]
Fix typo

From-SVN: r55995

22 years agocall.c (build_method_call): Issue a more helpful error message about ambiguous method...
Mark Mitchell [Fri, 2 Aug 2002 18:53:40 +0000 (18:53 +0000)]
call.c (build_method_call): Issue a more helpful error message about ambiguous method names.

* call.c (build_method_call): Issue a more helpful error message
about ambiguous method names.

From-SVN: r55994

22 years agovalarray_meta.h (_UnFunBase<>): Remove.
Gabriel Dos Reis [Fri, 2 Aug 2002 18:10:38 +0000 (18:10 +0000)]
valarray_meta.h (_UnFunBase<>): Remove.

* include/bits/valarray_meta.h (_UnFunBase<>): Remove.
(_UnFunClos<>): Same.
(_UnBase<>): Reformat.  Make first template-parameter non
template.
(_UnClos<>): Likewise.
(_Expr<>): Reformate.  Adjust unary member operator return types.
(_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
(_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
* include/std/std_valarray.h (_UnClos<>): Adjust declaration.
(valarray<>::_UnaryOp<>):  New nested traits. Adjust unary member
operator return types.  Reformat.
(_Bitwise_not): Remove.
(_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
* testsuite/26_numerics/valarray_name_lookup.C: New test.

From-SVN: r55993

22 years agotree.c (build_shared_int_cst): Make cache file scope, and GTY it.
Nathan Sidwell [Fri, 2 Aug 2002 17:21:34 +0000 (17:21 +0000)]
tree.c (build_shared_int_cst): Make cache file scope, and GTY it.

* tree.c (build_shared_int_cst): Make cache file scope, and
GTY it.

From-SVN: r55992

22 years agore PR rtl-optimization/7067 (-Os with -mcpu=powerpc optimizes for speed (?) instead...
David Edelsohn [Fri, 2 Aug 2002 16:25:43 +0000 (16:25 +0000)]
re PR rtl-optimization/7067 (-Os with -mcpu=powerpc optimizes for speed (?) instead of space)

        PR optimize/7067
        * config/rs6000/rs6000.h (RTX_COSTS): Artificially make MULT
        small if optimizing for size.

From-SVN: r55991

22 years agoctype_inline.h (is): Don't offset _M_table.
Benjamin Kosnik [Fri, 2 Aug 2002 16:10:37 +0000 (16:10 +0000)]
ctype_inline.h (is): Don't offset _M_table.

2002-08-02  Danny Smith  <dannysmith@users.sourceforge.net>

* config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
(scan_is): Use this->is.
(scan_not): Likewise.

From-SVN: r55990

22 years agoctype_inline.h (is): Don't offset _M_table.
Danny Smith [Fri, 2 Aug 2002 16:10:12 +0000 (16:10 +0000)]
ctype_inline.h (is): Don't offset _M_table.

2002-08-02 Danny Smith  <dannysmith@users.sourceforge.net>

* config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
(scan_is): Use this->is.
(scan_not): Likewise.

From-SVN: r55989

22 years agoRevert PR libstdc++/6594
Benjamin Kosnik [Fri, 2 Aug 2002 16:04:16 +0000 (16:04 +0000)]
Revert PR libstdc++/6594

2002-08-02  Benjamin Kosnik  <bkoz@redhat.com>

Revert PR libstdc++/6594
* src/strstream.cc (strstreambuf): Revert.
(strstreambuf::overflow): Same.
(strstreambuf::~strstreambuf): Same.
* testsuite/backward/strstream_members.cc (test02): Add.

* docs/html/abi.txt: Update. Spell check.

* testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.

* testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
* testsuite/Makefile.in: Regenerate.
* testsuite/testsuite_hooks.h: Use __throw_exception_again,
include functexcept.h so that -fno-exceptions will build.

From-SVN: r55988

22 years agoconfigure.in (FORBUILD): Use $build_alias.
Daniel Jacobowitz [Fri, 2 Aug 2002 15:57:09 +0000 (15:57 +0000)]
configure.in (FORBUILD): Use $build_alias.

        * configure.in (FORBUILD): Use $build_alias.
        * configure: Regenerated.

From-SVN: r55987

22 years agoconfig.gcc: Don't include mips/abi64.h in $tm_file.
Richard Sandiford [Fri, 2 Aug 2002 14:55:08 +0000 (14:55 +0000)]
config.gcc: Don't include mips/abi64.h in $tm_file.

* config.gcc: Don't include mips/abi64.h in $tm_file.
* hard-reg-set.h (call_really_used_regs): Declare.
* config/mips/abi64.h: Remove file.
* config/mips/linux.h,
* config/mips/iris6.h: Don't include it.
* config/mips/mips-protos.h (mips_conditional_register_usage): Declare.
* config/mips/mips.h (CONDITIONAL_REGISTER_USAGE): Use it.
(REG_PARM_STACK_SPACE, STACK_BOUNDARY, STRICT_ARGUMENT_NAMING,
FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_PADDING,
FUNCTION_ARG_CALLEE_COPIES, MUST_PASS_IN_STACK, MIPS_STACK_ALIGN):
Bring across definitions from abi64.h.
(GP_ARG_LAST, FP_ARG_LAST): Use MAX_ARGS_IN_REGISTERS.
(BIGGEST_MAX_ARGS_IN_REGISTERS): New.
(struct mips_args): Use it.
* config/mips/mips.c (mips_conditional_register_usage): Define.

From-SVN: r55986

22 years agovalarray_meta.h (__unary_plus, [...]): New function object classes.
Gabriel Dos Reis [Fri, 2 Aug 2002 13:51:46 +0000 (13:51 +0000)]
valarray_meta.h (__unary_plus, [...]): New function object classes.

* include/bits/valarray_meta.h (__unary_plus, __negate,
__bitwise_not, __plus, __minus, __multiplies, __divides,
__modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
__shift_left, __shift_right, __logical_and, __logical_or,
__logical_not, __equal_to, __not_equal_to, __less, __less_equal,
__greater_equal, __greater, __atan2, __pow): New function object
classes.
(__fun<>):  New function traits class.

From-SVN: r55985

22 years agolanghooks-def.h (LANG_HOOKS_EXPR_SIZE): New macro.
Jason Merrill [Fri, 2 Aug 2002 11:57:22 +0000 (07:57 -0400)]
langhooks-def.h (LANG_HOOKS_EXPR_SIZE): New macro.

        * langhooks-def.h (LANG_HOOKS_EXPR_SIZE): New macro.
        * langhooks.c (lhd_expr_size): Define default.
        * langhooks.h (struct lang_hooks): Add expr_size.
        * explow.c (expr_size): Call it.
        * expr.c (store_expr): Don't copy an expression of size zero.
        (expand_expr) [CONSTRUCTOR]: Use expr_size to calculate how much
        to store.
        * Makefile.in (builtins.o): Depend on langhooks.h.

        * cp-lang.c (LANG_HOOKS_EXPR_SIZE): Define.
        (cp_expr_size): New fn.
        * call.c (build_over_call): Lose empty class hackery.
        (convert_arg_to_ellipsis): Promote non-POD warning to error.
        * typeck.c (build_modify_expr): Don't use save_expr on an lvalue.

From-SVN: r55983

22 years agosemantics.c (expand_body): Do tree optimization in the function context, too.
Jason Merrill [Fri, 2 Aug 2002 11:52:38 +0000 (07:52 -0400)]
semantics.c (expand_body): Do tree optimization in the function context, too.

        * semantics.c (expand_body): Do tree optimization in the function
        context, too.

From-SVN: r55982

22 years agoMakefile.in (ra-debug.o): Depend on $(TM_P_H).
Kaveh R. Ghazi [Fri, 2 Aug 2002 11:44:54 +0000 (11:44 +0000)]
Makefile.in (ra-debug.o): Depend on $(TM_P_H).

* Makefile.in (ra-debug.o): Depend on $(TM_P_H).
* ra-debug.c: Include "tm_p.h".
* ra-rewrite.c (is_partly_live_1): Change return type to bool.

From-SVN: r55981

22 years agosimplify-rtx.c (simplify_binary_operation): x * 1 is allowed when not honoring signal...
Toon Moene [Fri, 2 Aug 2002 11:01:31 +0000 (13:01 +0200)]
simplify-rtx.c (simplify_binary_operation): x * 1 is allowed when not honoring signalling NaNs.

2002-08-02  Toon Moene  <toon@moene.indiv.nluug.nl>

* simplify-rtx.c (simplify_binary_operation): x * 1 is allowed
when not honoring signalling NaNs.
(simplify_ternary_operation): a == b has a definite value
when not honoring NaNs.

From-SVN: r55980

22 years ago* gdbinit.in (pct): New macro.
Jason Merrill [Fri, 2 Aug 2002 09:25:46 +0000 (05:25 -0400)]
* gdbinit.in (pct): New macro.

From-SVN: r55979

22 years agoDaily bump.
GCC Administrator [Fri, 2 Aug 2002 07:17:14 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r55978

22 years agotipo
Stan Shebs [Fri, 2 Aug 2002 06:10:12 +0000 (06:10 +0000)]
tipo

From-SVN: r55972

22 years agostddef.h (_BSD_SIZE_T_DEFINED_): Define if not defined, plays nice with Darwin headers.
Stan Shebs [Fri, 2 Aug 2002 06:09:14 +0000 (06:09 +0000)]
stddef.h (_BSD_SIZE_T_DEFINED_): Define if not defined, plays nice with Darwin headers.

        * ginclude/stddef.h (_BSD_SIZE_T_DEFINED_): Define if not defined,
        plays nice with Darwin headers.
        (_BSD_RUNE_T_DEFINED_): Likewise. (from Andr

Co-Authored-By: Andreas Tobler <toa@pop.agri.ch>
From-SVN: r55971

22 years ago[file missed during commit of following change]
Chris Demetriou [Fri, 2 Aug 2002 05:26:50 +0000 (22:26 -0700)]
[file missed during commit of following change]
2002-08-01  Chris Demetriou  <cgd@broadcom.com>

        * config.gcc (mipsisa64sb1-*-elf*): New configuration.
        (mipsisa64sb1el-*-elf*): Likewise.
        * config/mips/mips.c (mips_cpu_info_table): Add sb1.
        * config/mips/mips.h (processor_type): Add PROCESSOR_SB1.
        (TARGET_SB1, TUNE_SB1): New macros.
        * doc/invoke.texi: Add sb1 to documentation for MIPS -march and
        -mtune flags.

From-SVN: r55970

22 years agoc-common.c (c_common_init): -Wtraditional also implies -Wlong-long.
Zack Weinberg [Fri, 2 Aug 2002 04:18:16 +0000 (04:18 +0000)]
c-common.c (c_common_init): -Wtraditional also implies -Wlong-long.

* c-common.c (c_common_init): -Wtraditional also implies -Wlong-long.
* cppinit.c (cpp_post_options): Likewise.

* cppexp.c (cpp_classify_number): Suppress -Wtraditional
warning about 'LL' suffix (but not 'ULL' etc) when
-Wno-long-long is in effect.

* cppmacro.c (_cpp_builtin_macro_text) [BT_TIME, BT_DATE]:
Check for failing time()/localtime(), issue a warning, and
make __TIME__ and __DATE__ expand to fallback strings.

* doc/cpp.texi, doc/extend.texi: Document behavior of __DATE__
and __TIME__ when the date and time cannot be determined.

From-SVN: r55969

22 years agofix typo
Aldy Hernandez [Fri, 2 Aug 2002 03:01:54 +0000 (03:01 +0000)]
fix typo

From-SVN: r55968

22 years ago* config/rs6000/rs6000.c (output_cbranch): Hint differently for power4.
Alan Modra [Fri, 2 Aug 2002 02:53:24 +0000 (02:53 +0000)]
* config/rs6000/rs6000.c (output_cbranch): Hint differently for power4.

From-SVN: r55967

22 years agoMakefile.in ($(BUILD_PREFIX_1)ggc-none.o): Use $(GGC_H).
Daniel Jacobowitz [Fri, 2 Aug 2002 02:41:37 +0000 (02:41 +0000)]
Makefile.in ($(BUILD_PREFIX_1)ggc-none.o): Use $(GGC_H).

2002-08-01  Daniel Jacobowitz  <drow@mvista.com>

        * Makefile.in ($(BUILD_PREFIX_1)ggc-none.o): Use $(GGC_H).

From-SVN: r55966

22 years agoconfig.gcc (mipsisa64sb1-*-elf*): New configuration.
Chris Demetriou [Fri, 2 Aug 2002 01:16:09 +0000 (01:16 +0000)]
config.gcc (mipsisa64sb1-*-elf*): New configuration.

2002-08-01  Chris Demetriou  <cgd@broadcom.com>

        * config.gcc (mipsisa64sb1-*-elf*): New configuration.
        (mipsisa64sb1el-*-elf*): Likewise.
        * config/mips/mips.c (mips_cpu_info_table): Add sb1.
        * config/mips/mips.h (processor_type): Add PROCESSOR_SB1.
        (TARGET_SB1, TUNE_SB1): New macros.
        * doc/invoke.texi: Add sb1 to documentation for MIPS -march and
        -mtune flags.

From-SVN: r55965

22 years agovarasm.c (asm_emit_uninitialized): Return false if global BSS and ASM_EMIT_BSS not...
David Edelsohn [Fri, 2 Aug 2002 01:12:09 +0000 (01:12 +0000)]
varasm.c (asm_emit_uninitialized): Return false if global BSS and ASM_EMIT_BSS not supported by target.

        * varasm.c (asm_emit_uninitialized): Return false if global BSS
        and ASM_EMIT_BSS not supported by target.
        (assemble_variable): Do not duplicate uninitialized logic.
        Fall through if asm_emit_uninitialized failed.

From-SVN: r55964

22 years agomips.h (BRANCH_LIKELY_P): Remove unused macro.
Chris Demetriou [Fri, 2 Aug 2002 01:10:53 +0000 (01:10 +0000)]
mips.h (BRANCH_LIKELY_P): Remove unused macro.

2002-08-01  Chris Demetriou  <cgd@broadcom.com>

        * config/mips/mips.h (BRANCH_LIKELY_P): Remove unused macro.

From-SVN: r55963

22 years agolinux64.h (DBX_OUTPUT_BRAC): Define.
Alan Modra [Fri, 2 Aug 2002 01:10:16 +0000 (01:10 +0000)]
linux64.h (DBX_OUTPUT_BRAC): Define.

* config/rs6000/linux64.h (DBX_OUTPUT_BRAC): Define.
(DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC): Define.

From-SVN: r55962

22 years agors6000.c (output_toc): Don't use lshift_double when HOST_BITS_PER_WIDE_INT == 64.
Alan Modra [Fri, 2 Aug 2002 01:08:01 +0000 (01:08 +0000)]
rs6000.c (output_toc): Don't use lshift_double when HOST_BITS_PER_WIDE_INT == 64.

* config/rs6000/rs6000.c (output_toc): Don't use lshift_double when
HOST_BITS_PER_WIDE_INT == 64.

From-SVN: r55961

22 years agodf.c (df_insn_table_realloc): Change parameter to unsigned.
Kaveh R. Ghazi [Fri, 2 Aug 2002 00:50:01 +0000 (00:50 +0000)]
df.c (df_insn_table_realloc): Change parameter to unsigned.

* df.c (df_insn_table_realloc): Change parameter to unsigned.
* optabs.c (expand_binop): Make variable unsigned.
* simplify-rtx.c (simplify_subreg): Likewise.
* unroll.c (unroll_loop): Cast to avoid signed/unsigned warnings.

From-SVN: r55960

22 years agoc-common.c (cb_register_builtins): Always define __GXX_ABI_VERSION.
Franz Sirl [Fri, 2 Aug 2002 00:15:45 +0000 (00:15 +0000)]
c-common.c (cb_register_builtins): Always define __GXX_ABI_VERSION.

2002-08-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* c-common.c (cb_register_builtins): Always define __GXX_ABI_VERSION.

From-SVN: r55959

22 years agotoplev.c (parse_options_and_default_flags): Don't set flag_reorder_blocks for -Os.
Richard Henderson [Thu, 1 Aug 2002 23:53:58 +0000 (16:53 -0700)]
toplev.c (parse_options_and_default_flags): Don't set flag_reorder_blocks for -Os.

        * toplev.c (parse_options_and_default_flags): Don't set
        flag_reorder_blocks for -Os.

        * config/avr/avr.c (avr_optimization_options): Remove.
        * config/avr/avr.h (OPTIMIZATION_OPTIONS): Remove.
        * config/m68hc11/m68hc11.c (m68hc11_optimization_options): Remove.
        * config/m68hc11/m68hc11.h (OPTIMIZATION_OPTIONS): Remove.

From-SVN: r55958

22 years agooutput.h (DECL_READONLY_SECTION): Remove.
H.J. Lu [Thu, 1 Aug 2002 23:29:55 +0000 (23:29 +0000)]
output.h (DECL_READONLY_SECTION): Remove.

        * output.h (DECL_READONLY_SECTION): Remove.
        (decl_readonly_section): Declare.
        * varasm.c (decl_readonly_section): New.
        (default_section_type_flags, default_select_section): Use it.
        * config/arm/pe.c (arm_pe_unique_section): Likewise.
        * config/i386/interix.c (i386_pe_unique_section): Likewise.
        * config/i386/winnt.c (i386_pe_unique_section): Likewise.
        * config/mcore/mcore.c (mcore_unique_section): Likewise.
        * config/mips/mips.c (mips_unique_section): Likewise.

Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r55957

22 years agointegrate.c (copy_rtx_and_substitute): Squash MEM_EXPR when it refers to a subroutine...
Richard Henderson [Thu, 1 Aug 2002 23:07:33 +0000 (16:07 -0700)]
integrate.c (copy_rtx_and_substitute): Squash MEM_EXPR when it refers to a subroutine parameter.

        * integrate.c (copy_rtx_and_substitute): Squash MEM_EXPR when it
        refers to a subroutine parameter.

From-SVN: r55956

22 years agore PR libstdc++/7461 (ctype<char>::classic_table() returns offset array on Cygwin)
Benjamin Kosnik [Thu, 1 Aug 2002 22:17:23 +0000 (22:17 +0000)]
re PR libstdc++/7461 (ctype<char>::classic_table() returns offset array on Cygwin)

2002-08-01  Rick Danos  <rdanos@hotmail.com>

PR libstdc++/7461
* config/os/newlib/ctype_noninline.h (classic_table): Add offset.
* config/os/newlib/ctype_inline.h (is): Use static_cast.

From-SVN: r55955

22 years agoMakefile.am (LT_COMPILE): Remove C++ flags.
Neil Booth [Thu, 1 Aug 2002 22:16:46 +0000 (22:16 +0000)]
Makefile.am (LT_COMPILE): Remove C++ flags.

2002-08-01  Neil Booth  <neil@daikokuya.co.uk>

* libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
* libsupc++/Makefile.in: Regenerate.

From-SVN: r55954

22 years agovarasm.c (assemble_visibility): Strip name encoding.
Jakub Jelinek [Thu, 1 Aug 2002 21:59:36 +0000 (23:59 +0200)]
varasm.c (assemble_visibility): Strip name encoding.

* varasm.c (assemble_visibility): Strip name encoding.

* gcc.dg/ia64-visibility-2.c: New test.

From-SVN: r55953

22 years agons32k.h (TARGET_IEEE_COMPARE): Correct earlier patch.
Ian Dall [Thu, 1 Aug 2002 21:21:52 +0000 (21:21 +0000)]
ns32k.h (TARGET_IEEE_COMPARE): Correct earlier patch.

        * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE): Correct earlier patch.
        (RETURN_ADDR_RTX): Cannot determine return address for FRAME > 0
        when there is no frame pointer.
        (INITIAL_FRAME_POINTER_OFFSET): Count stack space for saved fp
        registers properly.
        * config/ns32k/__unorddf2.c: New file.
        * config/ns32k/__unordsf2.c: New file.
        * config/ns32k/t-ns32k: New file.
        * config.gcc (ns32k-*-netbsd*): Use it.

From-SVN: r55949

22 years ago* config/rs6000/rs6000.h (SPU_CONST_OFFSET_OK): Change to 0xff.
Aldy Hernandez [Thu, 1 Aug 2002 21:18:34 +0000 (21:18 +0000)]
* config/rs6000/rs6000.h (SPU_CONST_OFFSET_OK): Change to 0xff.

From-SVN: r55948

22 years ago* c-common.c (__GXX_ABI_VERSION): Correct spelling.
Neil Booth [Thu, 1 Aug 2002 21:10:44 +0000 (21:10 +0000)]
* c-common.c (__GXX_ABI_VERSION): Correct spelling.

From-SVN: r55947

22 years agoc-common.c (cb_register_builtins): Set __GXX_ABI_VERSION__ to 102.
Benjamin Kosnik [Thu, 1 Aug 2002 20:10:25 +0000 (20:10 +0000)]
c-common.c (cb_register_builtins): Set __GXX_ABI_VERSION__ to 102.

2002-08-01  Benjamin Kosnik  <bkoz@redhat.com>

* c-common.c (cb_register_builtins): Set __GXX_ABI_VERSION__ to 102.

From-SVN: r55944