platform/upstream/linaro-gcc.git
22 years ago PR opt/5120
mmitchel [Sat, 6 Apr 2002 19:42:22 +0000 (19:42 +0000)]
PR opt/5120
* sibcall.c (optimize_sibling_and_tail_recursive_call): Clear
RTX_UNCHANGING_P for the functions arguments when a tail call
is made.

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

22 years ago * toplev.c (flag_no_inline, flag_really_no_inline): Default to 2.
jason [Sat, 6 Apr 2002 16:57:23 +0000 (16:57 +0000)]
    * toplev.c (flag_no_inline, flag_really_no_inline): Default to 2.
        (parse_options_and_default_flags): Set them appropriately.
        * c-common.c (c_common_post_options): Don't set flag_really_no_inline.

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

22 years ago PR c++/525
jason [Sat, 6 Apr 2002 16:15:20 +0000 (16:15 +0000)]
    PR c++/525
        * init.c (build_member_call): Use build_scoped_ref.
        (resolve_offset_ref): Likewise.
        * call.c (build_scoped_method_call): Likewise.
        * tree.c (maybe_dummy_object): Kludge around current_class_type being
        wrong.
        * typeck2.c (build_scoped_ref): Return the binfo via binfo_p parm.
        * cp-tree.h: Adjust.

        * init.c (push_base_cleanups): Just use build_scoped_method_call.

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

22 years ago PR c++/6179
jason [Sat, 6 Apr 2002 15:59:14 +0000 (15:59 +0000)]
    PR c++/6179
        * method.c (implicitly_declare_fn): Pass unqualified type to
        synthesize_exception_spec.

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

22 years ago * java/util/ArrayList.jva (removeRange): If toIndex == fromIndex do
mark [Sat, 6 Apr 2002 08:26:08 +0000 (08:26 +0000)]
    * java/util/ArrayList.jva (removeRange): If toIndex == fromIndex do
        nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.

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

22 years ago * config/mmix/t-mmix (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc
hp [Sat, 6 Apr 2002 08:20:35 +0000 (08:20 +0000)]
* config/mmix/t-mmix (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc
here.

* config/mmix/mmix.h (INITIAL_ELIMINATION_OFFSET): Remove spurious
semicolon.

* config/mmix/mmix.c (mmix_expand_builtin_va_arg): Variable-size
types come in by-reference.  Fix typo in comment.

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

22 years agoDaily bump.
gccadmin [Sat, 6 Apr 2002 08:17:39 +0000 (08:17 +0000)]
Daily bump.

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

22 years ago2002-04-05 David S. Miller <davem@redhat.com>
davem [Sat, 6 Apr 2002 04:55:28 +0000 (04:55 +0000)]
2002-04-05  David S. Miller  <davem@redhat.com>

* config/sparc/freebsd.h (ENDFILE_SPEC): Add crtfastmath bits.
* config.gcc (sparc64-wrs-vxworks, sparc-*-chorusos,
sparc-*-rtems*, sparclite-*-elf* sparc86x-*-elf*, sparc64-*-elf*,
{sparc64,ultrasparc}-*-freebsd*): Add sparc/t-crtfm to tmake_file.

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

22 years ago2002-04-05 Adam Megacz <adam@xwt.org>
megacz [Sat, 6 Apr 2002 04:20:02 +0000 (04:20 +0000)]
2002-04-05  Adam Megacz <adam@xwt.org>

        * exception.cc (abort): added static modifier

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

22 years ago2002-04-05 Adam Megacz <adam@xwt.org>
megacz [Sat, 6 Apr 2002 04:19:10 +0000 (04:19 +0000)]
2002-04-05  Adam Megacz <adam@xwt.org>

    * exception.cc (abort): added static modifier

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

22 years ago * doc/rtl.texi (Regs and Memory): Document (mem:BLK (scratch)).
rth [Sat, 6 Apr 2002 01:14:42 +0000 (01:14 +0000)]
    * doc/rtl.texi (Regs and Memory): Document (mem:BLK (scratch)).

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

22 years ago2002-04-05 Jonathan Wakely <jw@kayari.org>
pme [Fri, 5 Apr 2002 17:58:41 +0000 (17:58 +0000)]
2002-04-05  Jonathan Wakely <jw@kayari.org>

* include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
random_shuffle, partition, stable_partition, sort, stable_sort,
partial_sort, partial_sort_copy, nth_element):  Doxygenate.

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

22 years ago2002-04-05 David S. Miller <davem@redhat.com>
davem [Fri, 5 Apr 2002 13:46:50 +0000 (13:46 +0000)]
2002-04-05  David S. Miller  <davem@redhat.com>

* config/os/gnu-linux/bits/os_defines.h
(__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.

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

22 years ago * mklibgcc.in: Use $tmpmapfile, not tmp-$@.
jakub [Fri, 5 Apr 2002 11:43:40 +0000 (11:43 +0000)]
* mklibgcc.in: Use $tmpmapfile, not tmp-$@.

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

22 years ago* config/mips/mips.h (ISA_HAS_BRANCHLIKELY, ISA_HAS_CONDMOVE,
aoliva [Fri, 5 Apr 2002 09:26:38 +0000 (09:26 +0000)]
* config/mips/mips.h (ISA_HAS_BRANCHLIKELY, ISA_HAS_CONDMOVE,
ISA_HAS_FP4, ISA_HAS_MADD_MSUB, ISA_HAS_NMADD_NMSUB,
ISA_HAS_CLZ_CLO, ISA_HAS_DCLZ_DCLO): Disable if TARGET_MIPS16.

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

22 years agoFix last change: c-common.h instead of c-convert.h.
schwab [Fri, 5 Apr 2002 09:06:04 +0000 (09:06 +0000)]
Fix last change: c-common.h instead of c-convert.h.

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

22 years ago * c-convert.c: Include c-convert.h.
schwab [Fri, 5 Apr 2002 08:52:58 +0000 (08:52 +0000)]
* c-convert.c: Include c-convert.h.
* Makefile.in (c-convert.o): Updated.

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

22 years ago * mklibgcc.in: Use separate libgcc.map for each multilib.
jakub [Fri, 5 Apr 2002 08:23:36 +0000 (08:23 +0000)]
* mklibgcc.in: Use separate libgcc.map for each multilib.
* Makefile.in (distclean): Don't remove libgcc.map here.

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

22 years ago * Makefile.in (s-mlib): Handle --disable-multilib by separate
jakub [Fri, 5 Apr 2002 08:20:02 +0000 (08:20 +0000)]
* Makefile.in (s-mlib): Handle --disable-multilib by separate
genmultilib invocation.

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

22 years agoDaily bump.
gccadmin [Fri, 5 Apr 2002 08:17:03 +0000 (08:17 +0000)]
Daily bump.

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

22 years ago * config/mips/mips.h (CUMULATIVE_ARGS): Rename fp_regs to num_fprs
rsandifo [Fri, 5 Apr 2002 08:00:32 +0000 (08:00 +0000)]
* config/mips/mips.h (CUMULATIVE_ARGS): Rename fp_regs to num_fprs
to avoid clash with Irix header file sys/ucontext.h.  Rename gp_regs
to num_gprs for symmetry.
* config/mips/mips.c: Adjust accordingly.

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

22 years ago * ChangeLog: Forgotten commit.
neil [Fri, 5 Apr 2002 06:17:16 +0000 (06:17 +0000)]
* ChangeLog: Forgotten commit.

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

22 years ago * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o
amodra [Fri, 5 Apr 2002 04:42:17 +0000 (04:42 +0000)]
* config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o
Add rules to make null object file.

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

22 years ago2002-04-04 Adam Megacz <adam@xwt.org>
megacz [Fri, 5 Apr 2002 04:22:28 +0000 (04:22 +0000)]
2002-04-04  Adam Megacz <adam@xwt.org>

    * include/win32.h (_Jv_platform_close_on_exec): added inline
    modifier.

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

22 years agoFix cut-n-paste typo.
ljrittle [Fri, 5 Apr 2002 04:18:25 +0000 (04:18 +0000)]
Fix cut-n-paste typo.

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

22 years ago * configure.host: Add case statement to support generic port
ljrittle [Fri, 5 Apr 2002 04:17:11 +0000 (04:17 +0000)]
* configure.host: Add case statement to support generic port
properties.  Add *-*-freebsd* section.

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

22 years ago * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
mark [Fri, 5 Apr 2002 00:47:34 +0000 (00:47 +0000)]
    * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
        test.
        * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
        FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
        that depend on awt code and BufferedByteOutputStream.interrupt.

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

22 years ago* cppmacro.c (cpp_macro_definition): Do not emit spaces after
jimb [Fri, 5 Apr 2002 00:12:40 +0000 (00:12 +0000)]
* cppmacro.c (cpp_macro_definition): Do not emit spaces after
macro formal parameter names.

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

22 years ago2002-04-04 David S. Miller <davem@redhat.com>
davem [Thu, 4 Apr 2002 23:54:01 +0000 (23:54 +0000)]
2002-04-04  David S. Miller  <davem@redhat.com>

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

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

22 years ago2002-04-04 David S. Miller <davem@redhat.com>
davem [Thu, 4 Apr 2002 23:30:18 +0000 (23:30 +0000)]
2002-04-04  David S. Miller  <davem@redhat.com>

* calls.c (store_one_arg): If ECF_SIBCALL, use tail_call_reg.

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

22 years ago PR middle-end/5099
rth [Thu, 4 Apr 2002 23:13:36 +0000 (23:13 +0000)]
    PR middle-end/5099
        * stmt.c (expand_asm_operands): Validate outputs vs asm_operand_ok.
        Support copies into and out of memory.  Don't accept allows_reg
        and allows_mem as gospel.

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

22 years ago PR opt/6165
rth [Thu, 4 Apr 2002 22:48:16 +0000 (22:48 +0000)]
    PR opt/6165
        * alias.c (true_dependence): Force (mem:blk (scratch)) to conflict.
        (write_dependence_p): Likewise.

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

22 years ago * c-common.c (truthvalue_conversion): Rename, update.
neil [Thu, 4 Apr 2002 22:19:58 +0000 (22:19 +0000)]
* c-common.c (truthvalue_conversion): Rename, update.
* c-common.h (c_common_truthvalue_conversion): New.
* c-convert.c (convert): Update.
* c-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
* c-parse.in (expr_no_commas, if_prefix, select_or_iter_stmt): Update.
* c-typeck.c (build_binary_op, build_unary_op,
build_conditional_expr): Update.
* fold-const.c (constant_boolean_node, fold): Use langhook.
* langhooks-def.h (LANGHOOK_INITIALIZER): Update.
* langhooks.h (struct lang_hooks): New hook.
* stmt.c (expand_decl_cleanup): Use langhook.
* tree.h (truthvalue_conversion): Remove.
ada:
* gigi.h (truthvalue_conversion): Rename.
* misc.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
* trans.c (tree_transform): Update.
* utils2.c (truthvalue_conversion): Rename, update.
(build_binary_op, build_unary_op): Update.
cp:
* cp-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
* cvt.c: Update comment.
* init.c (expand_cleanup_for_base): Update.
* semantics.c (finish_parenthesized_expr): Update.
* typeck.c (cp_truthvalue_conversion): Update.
f:
* com.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
(truthvalue_conversion): Rename.  Update.  Make static.
(ffecom_truth_value): Update.
java:
* expr.c (truthvalue_conversion): Rename.  Update.
(expand_compare): Update.
* java-tree.h (java_truthvalue_conversion): New.
* lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
objc:
* objc-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.

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

22 years ago * predict.c (estimate_bb_frequencies): Do frequency calculation
rth [Thu, 4 Apr 2002 21:38:40 +0000 (21:38 +0000)]
    * predict.c (estimate_bb_frequencies): Do frequency calculation
        with a volatile temporary.

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

22 years ago2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 4 Apr 2002 21:33:33 +0000 (21:33 +0000)]
2002-04-04  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/3457
via gawrilow@math.tu-berlin.de
* acinclude.m4 (version_specific_libs): Fix combo usage with
--with-gxx-include-dir.
* aclocal.m4: Regenerate.
* configure: Same.

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

22 years ago * config/s390/linux.h (LOCAL_LABEL_PREFIX): Define.
uweigand [Thu, 4 Apr 2002 21:33:25 +0000 (21:33 +0000)]
* config/s390/linux.h (LOCAL_LABEL_PREFIX): Define.

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

22 years ago * src/sparc/v8.S: Add unwind info.
jsturm [Thu, 4 Apr 2002 21:19:13 +0000 (21:19 +0000)]
* src/sparc/v8.S: Add unwind info.
* src/sparc/v9.S: Likewise.

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

22 years ago PR c++/6119
jakub [Thu, 4 Apr 2002 21:04:09 +0000 (21:04 +0000)]
PR c++/6119
* final.c (final_start_function): Don't bump profile_label_no here...
(final_end_function): ...but here.

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

22 years ago * config/sparc/sparc.md (pic): New attribute.
jakub [Thu, 4 Apr 2002 20:57:53 +0000 (20:57 +0000)]
* config/sparc/sparc.md (pic): New attribute.
(do_builtin_setjmp_setup): Save %fp, %i7 and %l7 for TARGET_V9
into stack slots.
(split after do_builtin_setjmp_setup): New.

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

22 years ago * include/private/gcconfig.h: Add support for an unmapped
ljrittle [Thu, 4 Apr 2002 20:49:38 +0000 (20:49 +0000)]
* include/private/gcconfig.h: Add support for an unmapped
memory hole between the end of the initialized data segment
and the start of the BSS on FreeBSD/i386.

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

22 years ago2002-04-04 Laurent Guerby <guerby@acm.org>
guerby [Thu, 4 Apr 2002 20:19:36 +0000 (20:19 +0000)]
2002-04-04  Laurent Guerby  <guerby@acm.org>

* make.adb: Implement -margs, remove restriction about file name placement.
* makeusg.adb: Documentation update.
* Makefile.in (TOOLS_FLAGS_TO_PASS): Add VPATH=$(fsrcdir).
* Makefile.in (gnattools3): Comment out, gnatmem does not build without libaddr2line.

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

22 years ago PR c/6123
jakub [Thu, 4 Apr 2002 12:47:41 +0000 (12:47 +0000)]
PR c/6123
* gcc.dg/20020312-2.c: Do not declare global register variable
if __PIC__ or __pic__ is defined.

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

22 years ago PR fortran/6106
jakub [Thu, 4 Apr 2002 12:27:27 +0000 (12:27 +0000)]
PR fortran/6106
* config/sparc/sparc.h (MIN_UNITS_PER_WORD): Backout 2001-01-01
change.

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

22 years ago * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
bryce [Thu, 4 Apr 2002 11:58:38 +0000 (11:58 +0000)]
* java/util/Arrays.java (qsort): Fix off-by-one errors and use of
incorrect "hi" value when count > 40.

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

22 years ago * config/sparc/sparc.c (sparc_va_arg): Adjust va_list by
jakub [Thu, 4 Apr 2002 11:37:32 +0000 (11:37 +0000)]
* config/sparc/sparc.c (sparc_va_arg): Adjust va_list by
UNITS_PER_WORD for zero sized aggregates.

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

22 years ago* gcc.dg/arm-asm.c: Run this test on ARM chips, not SPARC. Use
rearnsha [Thu, 4 Apr 2002 09:35:01 +0000 (09:35 +0000)]
* gcc.dg/arm-asm.c: Run this test on ARM chips, not SPARC.  Use
__asm__ so that it works correctly even if -ansi -pedantic-errors.

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

22 years ago * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
mark [Thu, 4 Apr 2002 08:32:28 +0000 (08:32 +0000)]
    * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
        ordering.

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

22 years agoDaily bump.
gccadmin [Thu, 4 Apr 2002 08:18:08 +0000 (08:18 +0000)]
Daily bump.

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

22 years ago2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
aj [Thu, 4 Apr 2002 07:48:44 +0000 (07:48 +0000)]
2002-04-04  Neil Booth  <neil@daikokuya.demon.co.uk>

* utils.c (create_subprog_decl): Use SET_DECL_ASSEMBLER_NAME.
(builtin_function): Similarly.

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

22 years ago2002-04-03 David S. Miller <davem@redhat.com>
davem [Thu, 4 Apr 2002 07:21:00 +0000 (07:21 +0000)]
2002-04-03  David S. Miller  <davem@redhat.com>

* gcc.c (LINK_GCC_C_SEQUENCE_SPEC): No need for a new
one-character spec for this, just use %(link_gcc_c_sequence).

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

22 years ago2002-04-03 David S. Miller <davem@redhat.com>
davem [Thu, 4 Apr 2002 07:13:38 +0000 (07:13 +0000)]
2002-04-03  David S. Miller  <davem@redhat.com>

* config/sparc/crtfastmath.c (FPRS_NS): Delete bogus little-endian
handling.

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

22 years ago2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 4 Apr 2002 05:32:59 +0000 (05:32 +0000)]
2002-04-03  Benjamin Kosnik  <bkoz@redhat.com>

        As per DR 184, libstdc++/3139
        * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
        (numeric_limits<bool>::is_iec559): False.
        (numeric_limits<bool>::is_modulo): False.

* testsuite/27_io/ios_init.cc: Add instantiations.

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

22 years ago * pa-linux.h (INCOMING_RETURN_ADDR_RTX): Move.
danglin [Thu, 4 Apr 2002 02:48:18 +0000 (02:48 +0000)]
* pa-linux.h (INCOMING_RETURN_ADDR_RTX): Move.
(DWARF_FRAME_RETURN_COLUMN): Move.
(ASM_PREFERRED_EH_DATA_FORMAT): Define.
(ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Define.
* pa.c (except.h, predict.h): Include.
(FRP): Delete.
(store_reg_modify, set_reg_plus_d): Revise prototypes.
(output_ascii): Add cast.
(store_reg_modify): Revise to add frame notes.
(set_reg_plus_d): Likewise.
(compute_frame_size): Include space for eh data registers in frame if
the current function calls eh_return.
(hppa_expand_prologue):  Ensure register %r2 is saved if the current
function calls eh_return.  Save eh data registers if the current
function calls eh_return.  Fix code to add frame notes.  Emit
blockage to prevent insns with frame notes being scheduled in the
delay slot of calls.
(hppa_expand_epilogue): Restore eh data registers and do final stack
adjustment if the current function calls eh_return.  Don't add frame
notes.
(output_call): Revise for change in length of call insn.  Don't do
return pointer adjustment for an unconditional jump in the delay slot
of a call when using frame notes.
* pa.h (EH_RETURN_DATA_REGNO): Revise for TARGET_64BIT compatibility.
(EH_RETURN_HANDLER_RTX): Use saved value on stack.
(ARG_POINTER_CFA_OFFSET): Define.
* pa.md (return_external_pic): New pattern.
(prologue): Correct formatting.  Use return_external_pic if current
function calls eh_return.
(call_internal_symref, call_value_internal_symref,
sibcall_internal_symref, sibcall_value_internal_symref): Change default
lengths of short, long non-pic, and long pic calls to 8, 68, and 84,
respectively.
(exception_receiver): Use hppa_pic_save_rtx () to restore pic register.

* configure.in ("assembler dwarf2 debug_line support"): Add hppa*-*-* to
list of targets to check using "nop" insn.
* configure: Rebuilt.

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

22 years ago * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Define.
amodra [Thu, 4 Apr 2002 02:38:46 +0000 (02:38 +0000)]
* config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Define.

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

22 years ago2002-04-03 David S. Miller <davem@redhat.com>
davem [Thu, 4 Apr 2002 01:15:40 +0000 (01:15 +0000)]
2002-04-03  David S. Miller  <davem@redhat.com>

* gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c
library sequence passed to the linker.
(LINK_COMMAND_SPEC): Use it.
* doc/tm.texi: Document it, and mention from LINK_COMMAND_SPEC as
a macro a target can use to avoid overriding LINK_COMMAND_SPEC.
* config/sparc/sparc.h (LINK_GCC_C_SEQUENCE_SPEC): Define.

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

22 years ago PR c++/5118
jason [Thu, 4 Apr 2002 00:39:22 +0000 (00:39 +0000)]
    PR c++/5118
        * class.c (get_vfield_name): Use the constructor_name.

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

22 years ago * gcc.misc-tests/linkage.exp: Update last change to handle
ghazi [Thu, 4 Apr 2002 00:18:02 +0000 (00:18 +0000)]
* gcc.misc-tests/linkage.exp: Update last change to handle
sparc*-, not just sparc-.

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

22 years ago PR c++/5636
jason [Thu, 4 Apr 2002 00:11:00 +0000 (00:11 +0000)]
    PR c++/5636
        * tree.h (CLEANUP_EH_ONLY): New macro.
        * stmt.c (expand_decl_cleanup_eh): New fn.
        (expand_cleanups): Check CLEANUP_EH_ONLY.
        * c-semantics.c (genrtl_decl_cleanup): Just take the CLEANUP_STMT.
        Use expand_decl_cleanup_eh.
        (expand_stmt): Adjust.
        * c-common.h: Adjust prototype.
        * cp/semantics.c (nullify_returns_r): Just set CLEANUP_EH_ONLY on
        cleanup for nrv.

        * except.c (struct eh_status): Remove protect_list.
        (begin_protect_partials, end_protect_partials): Remove.
        (add_partial_entry): Remove.
        * except.h: Remove prototypes.

        * expr.c (expand_expr) [WITH_CLEANUP_EXPR, TARGET_EXPR]: Use
        expand_decl_cleanup_eh.

cp/:
        * semantics.c (finish_eh_cleanup): New fn.
        * cp-tree.h: Add prototype.
        * init.c (perform_member_init, expand_cleanup_for_base): Use
        finish_eh_cleanup.
        * cp-tree.def (SUBOBJECT, CTOR_STMT): Remove.
        * cp-tree.h: Remove references.
        * decl.c (begin_constructor_body, end_constructor_body): Likewise.
        * dump.c (cp_dump_tree): Likewise.
        * pt.c (tsubst_expr): Likewise.
        * semantics.c (genrtl_ctor_stmt, genrtl_subobject): Remove.
        (cp_expand_stmt): Remove handling of CTOR_STMT and SUBOBJECT.
        * tree.c (cp_statement_code_p): Likewise.

        * init.c (build_new_1): Set CLEANUP_EH_ONLY on deleting cleanup.

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

22 years ago * config/cris/cris.c (cris_target_asm_function_prologue): Cast
hp [Wed, 3 Apr 2002 23:55:22 +0000 (23:55 +0000)]
* config/cris/cris.c (cris_target_asm_function_prologue): Cast
uses of PIC_OFFSET_TABLE_REGNUM to int to silence warnings.
(cris_target_asm_function_epilogue): Ditto.
(cris_initial_frame_pointer_offset): Ditto.
(cris_simple_epilogue): Ditto.
(cris_expand_builtin_va_arg): Variable-size types come in
by-reference.

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

22 years ago2002-04-03 David S. Miller <davem@redhat.com>
davem [Wed, 3 Apr 2002 23:48:39 +0000 (23:48 +0000)]
2002-04-03  David S. Miller  <davem@redhat.com>

* config/sparc/crtfastmath.c (FPRS_NS): Get it right for
little-endian.
(set_fast_math): Correct 'fsr' type.

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

22 years ago PR c++/5104
jason [Wed, 3 Apr 2002 23:43:35 +0000 (23:43 +0000)]
    PR c++/5104
        * typeck.c (comptypes) [FUNCTION_TYPE]: Don't compare exception
        specifiers.
        [METHOD_TYPE]: Use same code as FUNCTION_TYPE.

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

22 years agoOops, wrong pr number.
rth [Wed, 3 Apr 2002 22:41:22 +0000 (22:41 +0000)]
Oops, wrong pr number.

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

22 years agofix comment
jason [Wed, 3 Apr 2002 22:40:50 +0000 (22:40 +0000)]
fix comment

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

22 years ago PR opt/4330
rth [Wed, 3 Apr 2002 22:39:51 +0000 (22:39 +0000)]
    PR opt/4330
        * langhooks.h (lang_hooks.decls.warn_unused_global): New.
        * toplev.c (check_global_declarations): Use it.
        * langhooks-def.h (lhd_warn_unused_global_decl): Declare.
        (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
        (LANG_HOOKS_DECLS): Add it.
        * langhooks.c (lhd_warn_unused_global_decl): New.
        * c-decl.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
        * c-objc-common.c (c_warn_unused_global_decl): New.
        * c-tree.h (c_warn_unused_global_decl): Declare.
        * objc/objc-lang.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.

        * cp-lang.c (cxx_warn_unused_global_decl): New.
        (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.

* g++.dg/warn/Wunused-2.C: New.
* gcc.dg/unused-4.c: New.

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

22 years ago * langhooks-def.h (lhd_set_decl_assembler_name,
neil [Wed, 3 Apr 2002 22:26:37 +0000 (22:26 +0000)]
* langhooks-def.h (lhd_set_decl_assembler_name,
LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): New.
(LANG_HOOKS_INITIALIZER): Update.
* langhooks.c (lhd_set_decl_assembler_name): New, from tree.c
* langhooks.h (struct lang_hooks): New hook.
* tree.c (set_decl_assembler_name): Move to langhooks.c.
(lang_set_decl_assembler_name): Remove.
(init_obstacks): Don't set hook.
(decl_assembler_name): New function.
* tree.h (DECL_ASSEMBLER_NAME): Turn into a function call.
(decl_assembler_name): New.
(lang_set_decl_assembler_name): Remove.
cp:
* cp-lang.c (LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): Redefine.
* tree.c (init_tree): Don't set hook.

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

22 years ago * configure.in (HAVE_SPARC_UA_PCREL_HIDDEN): Test whether %r_disp32()
jakub [Wed, 3 Apr 2002 22:21:12 +0000 (22:21 +0000)]
* configure.in (HAVE_SPARC_UA_PCREL_HIDDEN): Test whether %r_disp32()
works properly with .hidden symbols.
* configure: Rebuilt.
* config.in: Rebuilt.
* config/sparc/sparc.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
DW_EH_PE_absptr for flag_pic && GLOBAL if %r_disp32() doesn't work
properly with .hidden symbols.

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

22 years ago * gcc.dg/cpp/ucs.c: Improved long UCS test.
neil [Wed, 3 Apr 2002 21:59:03 +0000 (21:59 +0000)]
* gcc.dg/cpp/ucs.c: Improved long UCS test.

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

22 years ago PR middle-end/6102
jakub [Wed, 3 Apr 2002 21:35:46 +0000 (21:35 +0000)]
PR middle-end/6102
* df.c (df_insn_refs_record): Use XEXP not SET_DEST to access
USE argument.

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

22 years ago PR c++/5998:
mmitchel [Wed, 3 Apr 2002 21:29:26 +0000 (21:29 +0000)]
PR c++/5998:
* decl.c (duplicate_decls): Don't mess with assembler names when
redeclaring builtin functions as static.

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

22 years ago2002-04-03 David S. Miller <davem@redhat.com>
davem [Wed, 3 Apr 2002 20:13:50 +0000 (20:13 +0000)]
2002-04-03  David S. Miller  <davem@redhat.com>

* config/sparc/crtfastmath.c: New file.
* config/sparc/t-crtfm: New file.
* config/sparc/linux.h (ENDFILE_SPEC): Use crtfastmath.o
* config/sparc/linux64.h (ENDFILE_SPEC): Likewise.
* config/sparc/sol2.h (ENDFILE_SPEC): Likewise.
* config/sparc/sp64-elf.h (ENDFILE_SPEC): Likewise.
* config/sparc/elf.h (ENDFILE_SPEC): Likewise.
* config.gcc (sparc*-*-{elf*,linux*,solaris2*}): Add
sparc/t-crtfm to tmake_file.

* config/sparc/sparc-protos.h (sparc_emitting_epilogue): Add.

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

22 years ago * sched-rgn.c (sets_likely_spilled): New.
rth [Wed, 3 Apr 2002 17:54:04 +0000 (17:54 +0000)]
    * sched-rgn.c (sets_likely_spilled): New.
        (sets_likely_spilled_1): New.
        (add_branch_dependences): Use it.

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

22 years ago * gcc.dg/wchar_t-1.c, gcc.dg/wchar_t-1.c: Fix typo last change.
hp [Wed, 3 Apr 2002 12:08:47 +0000 (12:08 +0000)]
* gcc.dg/wchar_t-1.c, gcc.dg/wchar_t-1.c: Fix typo last change.

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

22 years agoDaily bump.
gccadmin [Wed, 3 Apr 2002 08:17:15 +0000 (08:17 +0000)]
Daily bump.

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

22 years ago PR opt/4311
rth [Wed, 3 Apr 2002 07:56:47 +0000 (07:56 +0000)]
    PR opt/4311
        * loop.h (LOOP_FIRST_PASS): New.
        * loop.c (strength_reduce): Mind it when deciding to unroll.
        * toplev.c (rest_of_compilation): Set it.

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

22 years ago2002-04-02 David S. Miller <davem@redhat.com>
davem [Wed, 3 Apr 2002 06:31:45 +0000 (06:31 +0000)]
2002-04-02  David S. Miller  <davem@redhat.com>

* config/sparc/sparc.md (ldd peephole2s): Fix final arg to
mems_ok_for_ldd_peep when the order of the loads being examined
is reversed.
* config/sparc/sparc.c (mems_ok_for_ldd_peep): Expand upon
existing comment to increase comprehension of this situation.

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

22 years ago * config/sh/sh.md: Don't use union real_extract.
zack [Wed, 3 Apr 2002 05:34:46 +0000 (05:34 +0000)]
* config/sh/sh.md: Don't use union real_extract.

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

22 years ago * libgcc2.c (__bb_exit_func): Revert 03-31 change.
rth [Wed, 3 Apr 2002 04:19:56 +0000 (04:19 +0000)]
    * libgcc2.c (__bb_exit_func): Revert 03-31 change.

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

22 years ago2002-04-02 David O'Brien <obrien@FreeBSD.org>
obrien [Wed, 3 Apr 2002 03:49:19 +0000 (03:49 +0000)]
2002-04-02  David O'Brien  <obrien@FreeBSD.org>
* config.gcc (i386-dg-dgux, i386-go32-msdos , i386-go32-rtems,
i386-ibm-aix, i386-moss-msdos, i386-ncr-sysv4, i386-next-,
i386-pc-msdosdjgpp, i386-sequent-bsd, i386-sequent-ptx1,
i386-sequent-ptx2, i386-sequent-ptx4, i386-sun-sunos,
i386-wrs-vxworks, i386-*-aout, i386-*-beoself, i386-*-bsd,
i386-*-bsdi, i386-*-chorusos, i386-*-coff, i386-*-elf,
i386-*-freebsd5, i386-*-freebsd-aout, i386-*-gnu, i386-*-interix,
i386-*-interix3, i386-*-isc, i386-*-linux, i386-*-linuxaout,
i386-*-linuxoldld, i386-*-lynxos, i386-*-mach, i386-*-mingw32,
i386-*-netbsd, i386-*-netbsdelf, i386-*-netware, i386-*-openbsd,
i386-*-osf1, i386-*-osfrose, i386-*-pe , i386-*-rtems,
i386-*-rtemscoff, i386-*-sco3.2v5, i386-*-solaris2, i386-*-sysv,
i386-*-sysv4, i386-*-sysv5, i386-*-udk, i386-*-uwin, i386-*-vsta,
i386-*-win32, x86_64-*-freebsd5, x86_64-*-linux, x86_64-*-netbsd):
Include as many configury headers via tm_file as possible.  This
includes among others i386/unix.h, i386/bsd.h, i386/gas.h.
* config/openbsd-oldgas.h: New file.
* config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/att.h,
config/i386/bsd.h, config/i386/djgpp.h, config/i386/freebsd-aout.h,
config/i386/gas.h, config/i386/gstabs.h, config/i386/i386-aout.h,
config/i386/i386-coff.h, config/i386/i386-interix.h,
config/i386/iscdbx.h, config/i386/linux-aout.h,
config/i386/linux-oldld.h, config/i386/lynx-ng.h, config/i386/lynx.h,
config/i386/mach.h, config/i386/netbsd.h, config/i386/next.h,
config/i386/openbsd.h, config/i386/osfelf.h, config/i386/osfrose.h,
config/i386/sco5.h, config/i386/seq-gas.h, config/i386/seq-sysv3.h,
config/i386/seq2-sysv3.h, config/i386/sequent.h, config/i386/sun.h,
config/i386/sun386.h, config/i386/svr3dbx.h, config/i386/svr3gas.h,
config/i386/sysv3.h, config/i386/uwin.h, config/i386/vsta.h,
config/i386/vxi386.h: Do not directly include configury headers.
* config/i386/cygwin.h, config/i386/djgpp.h, config/i386/win32.h:
Directly include configury headers that are no longer automatically
included by the above headers.
* config/i386/att.h, config/i386/bsd.h (TARGET_VERSION): Do not define.
* config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/cygwin.h,
config/i386/djgpp.h, config/i386/i386-aout.h, config/i386/i386-coff.h,
config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mach.h,
config/i386/netbsd.h, config/i386/openbsd.h, config/i386/rtems.h,
config/i386/seq-sysv3.h, config/i386/sequent.h, config/i386/svr3gas.h,
config/i386/sysv3.h, config/i386/vsta.h, config/i386/vxi386.h
(TARGET_VERSION): Define.
* config/i386/beos-elf.h, config/i386/freebsd.h,
config/i386/i386-interix.h, config/i386/i386elf.h, config/i386/linux.h,
config/i386/linux64.h, config/i386/netbsd-elf.h, config/i386/netbsd64.h,
config/i386/osfelf.h, config/i386/osfrose.h, config/i386/ptx4-i.h,
config/i386/sco5.h, config/i386/sysv4.h
(TARGET_VERSION): Do not need to protect.
* config/i386/freebsd64.h (TARGET_VERSION): Fix style.
* config/i386/386bsd.h, config/i386/cygwin.h, config/i386/djgpp.h,
config/i386/freebsd-aout.h, config/i386/i386-aout.h,
config/i386/i386-interix.h, config/i386/linux-aout.h,
config/i386/linux-oldld.h, config/i386/mach.h, config/i386/netbsd.h,
config/i386/openbsd.h, config/i386/vsta.h, config/i386/win32.h
(YES_UNDERSCORES): Do not define - not needed.
* config/i386/bsd.h, config/i386/gas.h (LPREFIX,
ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
USER_LABEL_PREFIX): Do not handle the "NO_UNDERSCORES" case.
* config/i386/i386-coff.h, config/i386/lynx.h, config/i386/lynx-ng.h
(LPREFIX, ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
USER_LABEL_PREFIX): Define. (handles the "NO_UNDERSCORES" case)
* config/i386/isc.h: Preserve comment from config/i386/isccoff.h.
* config/i386/isccoff.h, config/i386/v3gas.h: Remove.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020402190415.D29320@redhat.com>

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

22 years ago * function.c (assign_temp): Accept either type or decl argument.
rth [Wed, 3 Apr 2002 03:41:40 +0000 (03:41 +0000)]
    * function.c (assign_temp): Accept either type or decl argument.
        Detect variables whose size is too large to fit into an integer.
        * stmt.c (expand_decl): Pass the decl, not the type.

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

22 years ago2002-04-02 David O'Brien <obrien@FreeBSD.org>
obrien [Wed, 3 Apr 2002 03:40:56 +0000 (03:40 +0000)]
2002-04-02  David O'Brien  <obrien@FreeBSD.org>
* protoize.c: Match include directory usage with cppdefault.c.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020329131400.C19829@redhat.com>

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

22 years ago * combine.c (simplify_comparison): Avoid narrowing a comparison
hp [Wed, 3 Apr 2002 03:21:29 +0000 (03:21 +0000)]
* combine.c (simplify_comparison): Avoid narrowing a comparison
with a paradoxical subreg when doing so would drop signficant bits.

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

22 years ago2002-04-02 David S. Miller <davem@redhat.com>
davem [Wed, 3 Apr 2002 02:39:18 +0000 (02:39 +0000)]
2002-04-02  David S. Miller  <davem@redhat.com>

* gcc.c-torture/execute/20020402-3.c: New test.

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

22 years ago * builtins.c (expand_builtin_prefetch): Force op0 pointer to Pmode
rth [Wed, 3 Apr 2002 02:33:07 +0000 (02:33 +0000)]
    * builtins.c (expand_builtin_prefetch): Force op0 pointer to Pmode
        if POINTERS_EXTEND_UNSIGNED is defined.

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

22 years ago2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 3 Apr 2002 02:32:52 +0000 (02:32 +0000)]
2002-04-02  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/5268
* src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
* testsuite/27_io/ios_init.cc (tests04): Add test.

libstdc++/3983
* include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
(basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
* include/bits/basic_ios.tcc: Same. Remove outdated comments.
* include/bits/istream.tcc: Use _M_fctype, make consistent with
ostream.
* testsuite/27_io/ios_init.cc (tests03): Add test.

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

22 years ago * local-alloc.c (contains_replace_regs): LO_SUM may contain
rth [Wed, 3 Apr 2002 02:06:26 +0000 (02:06 +0000)]
    * local-alloc.c (contains_replace_regs): LO_SUM may contain
        replace regs.

* gcc.c-torture/execute/20020402-2.c: New.

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

22 years ago * g77.dg/bprob/bprob.exp: Skip for mmix-*-* and cris-*-*.
hp [Wed, 3 Apr 2002 02:01:31 +0000 (02:01 +0000)]
* g77.dg/bprob/bprob.exp: Skip for mmix-*-* and cris-*-*.
* g++.dg/bprob/bprob.exp, gcc.misc-tests/bprob.exp: Ditto.

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

22 years ago * g77.dg/f77-edit-i-in.f: xfail for mmix-knuth-mmixware.
hp [Wed, 3 Apr 2002 01:45:43 +0000 (01:45 +0000)]
* g77.dg/f77-edit-i-in.f: xfail for mmix-knuth-mmixware.
* g77.f-torture/execute/io0.x, g77.f-torture/execute/io1.x,
g77.f-torture/execute/20001201.x,
g77.f-torture/execute/u77-test.x: New files.

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

22 years ago * gcc.dg/wint_t-1.c: Mark excess errors for mmix-knuth-mmixware.
hp [Wed, 3 Apr 2002 01:22:14 +0000 (01:22 +0000)]
* gcc.dg/wint_t-1.c: Mark excess errors for mmix-knuth-mmixware.
* gcc.dg/wchar_t-1.c: Ditto.

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

22 years ago * doc/standards.texi: Document required freestanding libc entry points.
rth [Wed, 3 Apr 2002 00:12:59 +0000 (00:12 +0000)]
    * doc/standards.texi: Document required freestanding libc entry points.

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

22 years ago2002-04-02 Alan Modra <amodra@bigpond.net.au>
dje [Tue, 2 Apr 2002 22:49:44 +0000 (22:49 +0000)]
2002-04-02  Alan Modra  <amodra@bigpond.net.au>

        * config/rs6000/rs6000.md (ctrdi*): Add FPR constraint and
        associated splitter.  Remove MQ constraint.
        (ctrdi_internal4): Correct CCmode clobber.

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

22 years ago * java/lang/natClassLoader.cc (findClass): Compare against `3',
tromey [Tue, 2 Apr 2002 22:20:30 +0000 (22:20 +0000)]
* java/lang/natClassLoader.cc (findClass): Compare against `3',
not `0'.

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

22 years ago 2002-04-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Tue, 2 Apr 2002 22:01:54 +0000 (22:01 +0000)]
2002-04-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

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

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

22 years ago * milli64.S ($$dyncall): New function.
danglin [Tue, 2 Apr 2002 19:44:45 +0000 (19:44 +0000)]
* milli64.S ($$dyncall): New function.
* t-linux (LIB1ASMFUNCS): Revise module list.
(LIB1ASMSRC): Use pa/milli64.S.

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

22 years ago * fixinc/inclhack.def (AAB_solaris_sys_varargs_h): Move and
rth [Tue, 2 Apr 2002 18:32:10 +0000 (18:32 +0000)]
    * fixinc/inclhack.def (AAB_solaris_sys_varargs_h): Move and
        rename solaris_sys_varargs_h.

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

22 years agoRemove previous delta
nickc [Tue, 2 Apr 2002 16:44:39 +0000 (16:44 +0000)]
Remove previous delta

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

22 years ago * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
mark [Tue, 2 Apr 2002 14:20:44 +0000 (14:20 +0000)]
    * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
        list of testsuite crashers.

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

22 years ago * java/util/IdentityHashMap.java (put): Set new threshold correctly
bryce [Tue, 2 Apr 2002 13:55:14 +0000 (13:55 +0000)]
* java/util/IdentityHashMap.java (put): Set new threshold correctly
when resizing table.

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

22 years ago(output_return_instruction): Do not create the conditional part of the return
nickc [Tue, 2 Apr 2002 13:51:01 +0000 (13:51 +0000)]
(output_return_instruction): Do not create the conditional part of the return
instruction, if there is no condition to be used.

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

22 years ago2002-04-02 Phil Edwards <pme@gcc.gnu.org>
pme [Tue, 2 Apr 2002 12:57:23 +0000 (12:57 +0000)]
2002-04-02  Phil Edwards  <pme@gcc.gnu.org>

* include/Makefile.am (install-data-local):  Use mkinstalldirs.
* include/Makefile.in:  Regenerate.

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

22 years ago2002-04-02 Paolo Carlini <pcarlini@unitus.it>
paolo [Tue, 2 Apr 2002 12:07:07 +0000 (12:07 +0000)]
2002-04-02  Paolo Carlini  <pcarlini@unitus.it>
    Nathan Myers  <ncm@cantrip.org>
            Philip Martin  <philip@codematters.co.uk>

* include/bits/basic_string.h
(replace(i1, i2, _CharT* k1, _CharT* k2),
replace(i2, i2, const _CharT* k1, const _CharT* k2),
replace(i1, i2, iterator k1, iterator k2,
replace(i1, i2, const_iterator k1, const_iterator k2):
New specializations to optimize for the common cases of
pointers and iterators.
(replace(pos, n1, s, n2)): Tweak.
* include/bits/basic_string.tcc: Tweak comments.
* testsuite/21_strings/replace.cc (test04): New tests.

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