OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years ago * arc.c (arc_encode_section_info): Remove.
rth [Thu, 17 Apr 2003 01:38:28 +0000 (01:38 +0000)]
    * arc.c (arc_encode_section_info): Remove.
        (arc_assemble_integer): Use SYMBOL_REF_FUNCTION_P.
        (arc_print_operand, arc_print_operand_address): Likewise.
        * arc.h (EXTRA_CONSTRAINT): Likewise.

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

21 years ago2003-04-16 Roger Sayle <roger@eyesopen.com>
sayle [Thu, 17 Apr 2003 01:22:51 +0000 (01:22 +0000)]
2003-04-16  Roger Sayle  <roger@eyesopen.com>

* c-semantics.c (find_reachable_label): New function to find a
potentially reachable label in an expression.
(expand_unreachable_if_stmt): Similar to expand_if_stmt but
assumes the start of the IF_STMT is unreachable (dead) code.
(expand_unreachable_stmt): Similar to expand_stmt but assumes
the start of the statement list is unreachable (dead) code.
(genrtl_if_stmt):  If the controlling expression of the IF
is constant, use expand_unreachable_stmt for the THEN or ELSE
clause as appropriate.
(genrtl_switch_stmt):  Use expand_unreachable_stmt to expand
the body of a SWITCH statement.
(expand_stmt): The code immediately following a "return",
"break", "continue" or "goto" is unreachable.
* Makefile.in (c-semantics.o): Depend upon tree-inline.h.

* gcc.dg/Wunreachable-5.c: New test case for PR c/10175.
* gcc.c-torture/execute/medce-1.c: New test case.
* gcc.c-torture/execute/medce-2.c: New test case.

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

21 years ago * rtl.h (MEM_ALIAS_SET): Update documentation.
rth [Thu, 17 Apr 2003 01:11:21 +0000 (01:11 +0000)]
    * rtl.h (MEM_ALIAS_SET): Update documentation.
        * doc/rtl.texi (Special Accessors): New node.
        (SYMBOL_REF_FLAG): Note relationship with SYMBOL_REF_FLAGS.

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

21 years ago* reload1.c (reload_cse_noop_set_p): Return false if mode of
aoliva [Thu, 17 Apr 2003 01:07:12 +0000 (01:07 +0000)]
* reload1.c (reload_cse_noop_set_p): Return false if mode of
SET_DEST is not the same as that returned by...
* cselib.h (cselib_reg_set_mode): ... new function.
* cselib.c (cselib_reg_set_mode): Define it.
(REG_VALUES): Document semantics of first element as set mode.
(cselib_subst_to_values): Skip first element if ELT is NULL.
(cselib_lookup): Likewise.  Insert past the first element.
(cselib_invalidate_regno): NULLify first element.
(cselib_record_set): Set first element.

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

21 years agoDaily bump.
gccadmin [Thu, 17 Apr 2003 00:17:04 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago * configure.in (funcs, AC_CHECK_FUNCS): Add snprintf and
ghazi [Wed, 16 Apr 2003 22:42:07 +0000 (22:42 +0000)]
* configure.in (funcs, AC_CHECK_FUNCS): Add snprintf and
vsnprintf.
* snprintf.c, vsnprintf.c: New files.
* Makefile.in (CFILES): Add snprintf.c and vsnprintf.c.
(CONFIGURED_OFILES): Add snprintf.o and vsnprintf.o.
Regenerate dependencies.

* functions.texi, configure, config.in: Regenerated.

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

21 years ago * tree.c (skip_simple_arithmetics_at, saved_expr_p): New functions.
kenner [Wed, 16 Apr 2003 21:33:19 +0000 (21:33 +0000)]
    * tree.c (skip_simple_arithmetics_at, saved_expr_p): New functions.
        (save_expr): Replace loop by call to skip_simple_arithmetics_at.
        * tree.h: Add prototypes for the two new functions.
        * fold-const.c (fold_binary_op_with_conditional_arg): Replace test
        updates introduced in the previous revision by call to saved_expr_p.
        * stor-layout.c (put_pending_size): Use skip_simple_arithmetics_at.

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

21 years ago * expr.c (store_field): Force usage of bitfield instructions when
kenner [Wed, 16 Apr 2003 21:30:35 +0000 (21:30 +0000)]
    * expr.c (store_field): Force usage of bitfield instructions when
        the field position requires it, whatever SLOW_UNALIGNED_ACCESS.
        (expand_expr, case BIT_FIELD_REF): likewise.

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

21 years ago PR middle-end/8866
mmitchel [Wed, 16 Apr 2003 20:39:12 +0000 (20:39 +0000)]
PR middle-end/8866
* cfgtrl.c (try_redirect_by_replacing_jump): Do not delete
jumptables.

PR middle-end/8866
* libjava.lang/PR8866.java: New test.

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

21 years ago * config/ia64/ia64.c (sdata_symbolic_operand): Use
rth [Wed, 16 Apr 2003 19:53:13 +0000 (19:53 +0000)]
    * config/ia64/ia64.c (sdata_symbolic_operand): Use
        SYMBOL_REF_SMALL_P and SYMBOL_REF_LOCAL_P.
        (tls_symbolic_operand): Use SYMBOL_REF_TLS_MODEL.
        (function_operand): Use SYMBOL_REF_FUNCTION_P.
        (ia64_expand_load_address): Likewise.
        (ia64_assemble_integer): Likewise.
        (ia64_encode_section_info): Remove.
        (ia64_strip_name_encoding): Remove.
        * config/ia64/ia64.h (ENCODE_SECTION_INFO_CHAR): Remove.
        * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't strip it.

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

21 years ago * config/alpha/alpha.c (SYMBOL_FLAG_NEAR, SYMBOL_FLAG_SAMEGP): New.
rth [Wed, 16 Apr 2003 19:34:02 +0000 (19:34 +0000)]
    * config/alpha/alpha.c (SYMBOL_FLAG_NEAR, SYMBOL_FLAG_SAMEGP): New.
        (samegp_function_operand): Use SYMBOL_FLAG_SAMEGP.
        (direct_call_operand): Use SYMBOL_FLAG_NEAR.
        (local_symbolic_operand): Use SYMBOL_REF_LOCAL_P.
        (small_symbolic_operand): Use SYMBOL_REF_SMALL_P.
        (global_symbolic_operand): Similarly.
        (tls_symbolic_operand_1): Use SYMBOL_REF_TLS_MODEL.
        (tls_symbolic_operand_type): Likewise.
        (alpha_encode_section_info): Use default_encode_section_info.
        (alpha_strip_name_encoding): Remove.
        (get_tls_get_addr): Split out from ...
        (alpha_legitimize_address): ... here.
        (alpha_emit_xfloating_libcall): Use init_one_libfunc.
        (get_some_local_dynamic_name_1): Use SYMBOL_REF_TLS_MODEL.
        (alpha_initialize_trampoline): Use init_one_libfunc.
        (alpha_setup_incoming_varargs): Mark unused parameters.
        (alpha_initial_elimination_offset): Likewise.
        (alpha_end_function): Use SYMBOL_FLAG_NEAR, SYMBOL_FLAG_SAMEGP.
        (unicosmk_unique_section): Use default_strip_name_encoding.
        (unicosmk_ssib_name, unicosmk_output_externs): Likewise.

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

21 years ago2003-04-16 Aldy Hernandez <aldyh@redhat.com>
aldyh [Wed, 16 Apr 2003 18:58:08 +0000 (18:58 +0000)]
2003-04-16  Aldy Hernandez  <aldyh@redhat.com>

        * config.gcc: Add t-spe for eabispe.

        * config/rs6000/t-spe: New.

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

21 years ago* configure.in (arm-*-netbsdelf*): Enable building java libraries.
rearnsha [Wed, 16 Apr 2003 18:33:59 +0000 (18:33 +0000)]
* configure.in (arm-*-netbsdelf*): Enable building java libraries.
* configure: Regenerated.

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

21 years ago* java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
rearnsha [Wed, 16 Apr 2003 18:32:06 +0000 (18:32 +0000)]
* java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
floating point.

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

21 years ago* include/private/gcconfig.h: Add support for arm-netbsdelf.
rearnsha [Wed, 16 Apr 2003 18:28:29 +0000 (18:28 +0000)]
* include/private/gcconfig.h: Add support for arm-netbsdelf.

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

21 years ago* configure.in (arm-*-netbsdelf*): Add configuration.
rearnsha [Wed, 16 Apr 2003 18:25:33 +0000 (18:25 +0000)]
* configure.in (arm-*-netbsdelf*): Add configuration.
(configure): Regenerated.

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

21 years ago Re-apply this patch:
amylaar [Wed, 16 Apr 2003 17:41:10 +0000 (17:41 +0000)]
Re-apply this patch:

2002-05-16  Dale Johannesen  <dalej@apple.com>
  * combine.c (cant_combine_insn_p):  Reenable combinations
  involving hard regs unless CLASS_LIKELY_SPILLED_P.

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

21 years ago PR/10271
danglin [Wed, 16 Apr 2003 17:06:50 +0000 (17:06 +0000)]
PR/10271
* pa-protos.h (function_arg): Remove last argument.
* pa.c (function_arg): Likewise.  Use CUMULATIVE_ARGS struct instead.
* pa.h (struct hppa_args): Add member incoming.
(INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Initialize
member incoming.
(FUNCTION_ARG): Revise call to function_arg.
(FUNCTION_INCOMING_ARG): Delete.

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

21 years ago2003-04-16 Jonathan Wakely <redi@gcc.gnu.org>
redi [Wed, 16 Apr 2003 17:02:47 +0000 (17:02 +0000)]
2003-04-16  Jonathan Wakely  <redi@gcc.gnu.org>

* docs/html/ext/sgiexts.html: Fix path to stylesheet.

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

21 years ago2003-04-16 Andrew Haley <aph@redhat.com>
aph [Wed, 16 Apr 2003 11:43:04 +0000 (11:43 +0000)]
2003-04-16  Andrew Haley  <aph@redhat.com>

* libjava.lang/Throw_2.java (main): Make a successful test produce
some output.

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

21 years ago * configure.in: Unify the code which creates symlinks to a
zack [Wed, 16 Apr 2003 06:51:20 +0000 (06:51 +0000)]
* configure.in: Unify the code which creates symlinks to a
just-built as, ld, objdump, and nm with the code that detects
their presence for purposes of feature tests.
* configure: Regenerate.

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

21 years agoFix typo in last checkin.
ghazi [Wed, 16 Apr 2003 04:42:38 +0000 (04:42 +0000)]
Fix typo in last checkin.

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

21 years ago * mempcpy.c, stpcpy.c, stpncpy.c: New files.
ghazi [Wed, 16 Apr 2003 02:56:46 +0000 (02:56 +0000)]
* mempcpy.c, stpcpy.c, stpncpy.c: New files.
* configure.in (funcs, AC_CHECK_FUNCS): Add mempcpy, stpcpy
and stpncpy.
* Makefile.in (CFILES): Add mempcpy.c, stpcpy.c and stpncpy.c.
(CONFIGURED_OFILES): Add mempcpy.o, stpcpy.o and stpncpy.o.
Regenerate dependencies.

* functions.texi, configure, config.in: Regenerated.

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

21 years agoDaily bump.
gccadmin [Wed, 16 Apr 2003 00:17:06 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago2003-04-15 Benjamin Kosnik <bkoz@redhat.com>
paolo [Tue, 15 Apr 2003 22:38:47 +0000 (22:38 +0000)]
2003-04-15  Benjamin Kosnik  <bkoz@redhat.com>
    Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/9423
* docs/html/27_io/howto.html
('The buffering is screwing up my program!'): Explain that
opening counts as an I/O operation.

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

21 years ago * varasm.c (output_constant_def): Do not consult
zack [Tue, 15 Apr 2003 20:57:12 +0000 (20:57 +0000)]
* varasm.c (output_constant_def): Do not consult
CONSTANT_AFTER_FUNCTION_P.  Remove all code predicated on it.
(after_function_constants, output_after_function_constants): Delete.
* doc/tm.texi: Delete documentation of CONSTANT_AFTER_FUNCTION_P.
* config/mips/mips-protos.h, config/mips/mips.c
(mips16_constant_after_function_p): Delete.
* config/mips/mips.h: Delete #if-0-ed definition of
CONSTANT_AFTER_FUNCTION_P.
* config/d30v/d30v.h, config/stormy16/stormy16.h: Remove
mention of CONSTANT_AFTER_FUNCTION_P in comment.

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

21 years ago * tree.c (next_decl_uid): Mark with GTY.
geoffk [Tue, 15 Apr 2003 20:48:04 +0000 (20:48 +0000)]
* tree.c (next_decl_uid): Mark with GTY.
(next_type_uid): Likewise.

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

21 years ago * argv.c: Fix comments.
ghazi [Tue, 15 Apr 2003 20:36:33 +0000 (20:36 +0000)]
* argv.c: Fix comments.
* calloc.c: Don't unnecessarily include "libiberty.h".
(bzero): Add prototype.
* floatformat.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
* getcwd.c (getcwd): Use standard definition to avoid conflicts
with system headers.
* hashtab.c (htab_traverse): Delete unused variables.
* rename.c: Include "ansidecl.h".
(rename): Use standard definition to avoid conflicts with system
headers.
* strsignal.c: Rely on ANSI_PROTOTYPES.
* strstr.c: Check GNUC >= 2, not GNUC == 2.
* vfprintf.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
* vprintf.c: Include "ansidecl.h" earlier, rely on
ANSI_PROTOTYPES.
* vsprintf.c: Include "ansidecl.h" earlier, rely on
ANSI_PROTOTYPES and possibly include <stdarg.h>.

* Makefile.in: Regenerate dependencies.

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

21 years ago2003-04-15 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Tue, 15 Apr 2003 20:31:57 +0000 (20:31 +0000)]
2003-04-15  Andreas Tobler  <a.tobler@schweiz.ch>
        * testsuite/thread/pthread1.cc: Enable for darwin test.
        * testsuite/thread/pthread2.cc: Same.
        * testsuite/thread/pthread3.cc: Same.
        * testsuite/thread/pthread4.cc: Same.
        * testsuite/thread/pthread5.cc: Same.
        * testsuite/thread/pthread6.cc: Same.

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

21 years ago * lib/prune.exp: Ignore more messages.
mmitchel [Tue, 15 Apr 2003 20:24:48 +0000 (20:24 +0000)]
* lib/prune.exp: Ignore more messages.

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

21 years ago PR c++/10381
mmitchel [Tue, 15 Apr 2003 20:23:36 +0000 (20:23 +0000)]
PR c++/10381
* parser.c (cp_parser_primary_expression): Reorganize logic for
dealing with name lookup failures.

PR c++/10381
* g++.dg/parse/lookup3.C: New test.

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

21 years ago* maint-tool (deps): Scan for headers in $srcdir also.
dj [Tue, 15 Apr 2003 19:21:38 +0000 (19:21 +0000)]
* maint-tool (deps): Scan for headers in $srcdir also.

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

21 years ago PR target/9594:
amylaar [Tue, 15 Apr 2003 18:30:40 +0000 (18:30 +0000)]
PR target/9594:
* sh.c (barrier_align): Also recognize stuff_delay_slot as
an indicator that a barrier was created by branch splitting.

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

21 years ago* MAINTAINERS: Remove myself as windows/cygwin/mingw maintainer.
dj [Tue, 15 Apr 2003 16:47:42 +0000 (16:47 +0000)]
* MAINTAINERS: Remove myself as windows/cygwin/mingw maintainer.

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

21 years ago * c-decl.c (implicitly_declare): Copy declarations that are going
mmitchel [Tue, 15 Apr 2003 16:35:52 +0000 (16:35 +0000)]
* c-decl.c (implicitly_declare): Copy declarations that are going
to be placed in a local scope.

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

21 years ago * invoke.texi (Spec Files): Wrap if-exists-else example.
gerald [Tue, 15 Apr 2003 16:34:07 +0000 (16:34 +0000)]
* invoke.texi (Spec Files): Wrap if-exists-else example.
(MCore): Remove duplicate @itemx entries and @opindex entries.

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

21 years ago * decl2.c (mark_used): Don't instantiate anything if
jason [Tue, 15 Apr 2003 16:26:03 +0000 (16:26 +0000)]
    * decl2.c (mark_used): Don't instantiate anything if
        skip_evaluation.

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

21 years ago * unwind.inc (_Unwind_Backtrace): New function.
uweigand [Tue, 15 Apr 2003 16:24:18 +0000 (16:24 +0000)]
* unwind.inc (_Unwind_Backtrace): New function.
* unwind.h (_Unwind_Backtrace): Declare it.
* libgcc-std.ver (_Unwind_Backtrace): Export it.

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

21 years ago PR middle-end/10336, c++/10401
jason [Tue, 15 Apr 2003 16:13:14 +0000 (16:13 +0000)]
    PR middle-end/10336, c++/10401
        * jump.c (never_reached_warning): Also stop looking if we reach the
        beginning of the function.

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

21 years agogcc:
ghazi [Tue, 15 Apr 2003 14:24:26 +0000 (14:24 +0000)]
gcc:
PR target/10338
PR bootstrap/10198
PR bootstrap/10140
* fixinc/gnu-regex.c (regerror): Use mempcpy not __mempcpy.

libiberty:
PR target/10338
PR bootstrap/10198
PR bootstrap/10140
* getopt.c (exchange, _getopt_initialize): Use mempcpy not
__mempcpy.
* regex.c (regerror): Likewise.

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

21 years agogcc:
amylaar [Tue, 15 Apr 2003 13:34:01 +0000 (13:34 +0000)]
gcc:
* i386.md (abssf2_if+1): Make condition agree with abssf2_1 .

gcc/testsuite:

* gcc.c-torture/compile/20030415-1.c : New test.

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

21 years ago * optabs.c (expand_binop): In multi-word add cases, ensure
kenner [Tue, 15 Apr 2003 13:06:58 +0000 (13:06 +0000)]
* optabs.c (expand_binop): In multi-word add cases, ensure
XTARGET is copied to TARGET if they are different.

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

21 years ago * except.c (resolve_fixup_regions): Avoid dereferencing null pointer
kenner [Tue, 15 Apr 2003 12:37:58 +0000 (12:37 +0000)]
* except.c (resolve_fixup_regions): Avoid dereferencing null pointer
to region, possible after integration of function with unreachable
regions that were optimized away.

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

21 years ago * config/rs6000/rs6000.h (EPILOGUE_USES): Use register 2,
jakub [Tue, 15 Apr 2003 09:56:52 +0000 (09:56 +0000)]
* config/rs6000/rs6000.h (EPILOGUE_USES): Use register 2,
instead of TOC_REGISTER in epilogue in
current_function_calls_eh_return functions.

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

21 years ago * configure.host (*-linux*): Don't set slow_pthread_self if primary
jakub [Tue, 15 Apr 2003 09:52:42 +0000 (09:52 +0000)]
* configure.host (*-linux*): Don't set slow_pthread_self if primary
installed libpthread is either linuxthreads with floating stacks or
NPTL.

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

21 years ago libstdc++/7680
ljrittle [Tue, 15 Apr 2003 07:27:55 +0000 (07:27 +0000)]
libstdc++/7680
* include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace.
Populate it with multiple legal ways to obtain the C99 float
transcendentals.  Use them instead of direct global reference.
(C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC.
* docs/html/17_intro/porting.texi
(_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
(_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
(_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro.
* config/os/bsd/freebsd/os_defines.h
(_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
(_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
* testsuite/26_numerics/c_math_dynamic.cc: New file.

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

21 years ago2003-04-14 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 15 Apr 2003 06:41:10 +0000 (06:41 +0000)]
2003-04-14  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/testsuite_hooks.h
(__gnu_cxx_test::run_test_wrapped_generic_locale_exception_catcher):
Change to try_named_locale.
* testsuite/testsuite_hooks.cc (__gnu_cxx_test): Same.

* testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Use
try_named_locale.
* testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
* testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
* testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Same.
* testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Same.
* testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Same.
* testsuite/22_locale/codecvt/in/wchar_t/2.cc: Same.
* testsuite/22_locale/codecvt/in/wchar_t/3.cc: Same.
* testsuite/22_locale/codecvt/in/wchar_t/4.cc: Same.
* testsuite/22_locale/codecvt/in/wchar_t/7.cc: Same.
* testsuite/22_locale/codecvt/in/wchar_t/8.cc: Same.
* testsuite/22_locale/codecvt/in/wchar_t/9.cc: Same.
* testsuite/22_locale/codecvt/length/wchar_t/2.cc: Same.
* testsuite/22_locale/codecvt/length/wchar_t/3.cc: Same.
* testsuite/22_locale/codecvt/length/wchar_t/4.cc: Same.
* testsuite/22_locale/codecvt/length/wchar_t/7.cc: Same.
* testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
* testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
* testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
* testsuite/22_locale/codecvt/out/wchar_t/2.cc: Same.
* testsuite/22_locale/codecvt/out/wchar_t/3.cc: Same.
* testsuite/22_locale/codecvt/out/wchar_t/4.cc: Same.
* testsuite/22_locale/codecvt/out/wchar_t/7.cc: Same.
* testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Same.
* testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Same.
* testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Same.
* testsuite/22_locale/collate/compare/char/1.cc: Same.
* testsuite/22_locale/collate/compare/char/2.cc: Same.
* testsuite/22_locale/collate/compare/char/3.cc: Same.
* testsuite/22_locale/collate/compare/wchar_t/1.cc: Same.
* testsuite/22_locale/collate/compare/wchar_t/2.cc: Same.
* testsuite/22_locale/collate/compare/wchar_t/3.cc: Same.
* testsuite/22_locale/collate/hash/char/2.cc: Same.
* testsuite/22_locale/collate/hash/wchar_t/2.cc: Same.
* testsuite/22_locale/collate/transform/char/2.cc: Same.
* testsuite/22_locale/collate/transform/char/3.cc: Same.
* testsuite/22_locale/collate/transform/wchar_t/2.cc: Same.
* testsuite/22_locale/collate/transform/wchar_t/3.cc: Same.
* testsuite/22_locale/collate_byname/1.cc: Same.
* testsuite/22_locale/ctype/is/char/2.cc: Same.
* testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
* testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Same.
* testsuite/22_locale/ctype/widen/wchar_t/2.cc: Same.
* testsuite/22_locale/ctype/widen/wchar_t/3.cc: Same.
* testsuite/22_locale/facet/2.cc: Same.
* testsuite/22_locale/locale/cons/2.cc: Same.
* testsuite/22_locale/locale/cons/4.cc: Same.
* testsuite/22_locale/locale/cons/5.cc: Same.
* testsuite/22_locale/locale/cons/7.cc: Same.
* testsuite/22_locale/locale/cons/7222-c.cc: Same.
* testsuite/22_locale/locale/cons/7222-env.cc: Same.
* testsuite/22_locale/locale/global_locale_objects/2.cc: Same.
* testsuite/22_locale/messages/members/char/1.cc: Same.
* testsuite/22_locale/messages/members/char/2.cc: Same.
* testsuite/22_locale/messages/members/char/3.cc: Same.
* testsuite/22_locale/messages_byname/1.cc: Same.
* testsuite/22_locale/money_get/get/char/1.cc: Same.
* testsuite/22_locale/money_get/get/char/2.cc: Same.
* testsuite/22_locale/money_get/get/char/3.cc: Same.
* testsuite/22_locale/money_get/get/char/4.cc: Same.
* testsuite/22_locale/money_get/get/wchar_t/1.cc: Same.
* testsuite/22_locale/money_get/get/wchar_t/2.cc: Same.
* testsuite/22_locale/money_get/get/wchar_t/3.cc: Same.
* testsuite/22_locale/money_get/get/wchar_t/4.cc: Same.
* testsuite/22_locale/money_put/put/char/1.cc: Same.
* testsuite/22_locale/money_put/put/char/2.cc: Same.
* testsuite/22_locale/money_put/put/char/3.cc: Same.
* testsuite/22_locale/money_put/put/wchar_t/1.cc: Same.
* testsuite/22_locale/money_put/put/wchar_t/2.cc: Same.
* testsuite/22_locale/money_put/put/wchar_t/3.cc: Same.
* testsuite/22_locale/moneypunct/members/char/2.cc: Same.
* testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Same.
* testsuite/22_locale/moneypunct_byname/1.cc: Same.
* testsuite/22_locale/num_get/get/char/1.cc: Same.
* testsuite/22_locale/num_get/get/char/2.cc: Same.
* testsuite/22_locale/num_get/get/char/3.cc: Same.
* testsuite/22_locale/num_get/get/char/5.cc: Same.
* testsuite/22_locale/num_get/get/char/6.cc: Same.
* testsuite/22_locale/num_get/get/wchar_t/1.cc: Same.
* testsuite/22_locale/num_get/get/wchar_t/2.cc: Same.
* testsuite/22_locale/num_get/get/wchar_t/3.cc: Same.
* testsuite/22_locale/num_get/get/wchar_t/5.cc: Same.
* testsuite/22_locale/num_get/get/wchar_t/6.cc: Same.
* testsuite/22_locale/num_put/put/char/1.cc: Same.
* testsuite/22_locale/num_put/put/char/2.cc: Same.
* testsuite/22_locale/num_put/put/char/3.cc: Same.
* testsuite/22_locale/num_put/put/char/5.cc: Same.
* testsuite/22_locale/num_put/put/wchar_t/1.cc: Same.
* testsuite/22_locale/num_put/put/wchar_t/2.cc: Same.
* testsuite/22_locale/num_put/put/wchar_t/3.cc: Same.
* testsuite/22_locale/num_put/put/wchar_t/5.cc: Same.
* testsuite/22_locale/numpunct/members/char/1.cc: Same.
* testsuite/22_locale/numpunct/members/char/2.cc: Same.
* testsuite/22_locale/numpunct/members/wchar_t/1.cc: Same.
* testsuite/22_locale/numpunct/members/wchar_t/2.cc: Same.
* testsuite/22_locale/numpunct_byname/1.cc: Same.
* testsuite/22_locale/numpunct_byname/2.cc: Same.
* testsuite/22_locale/time_get/date_order/char/1.cc: Same.
* testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Same.
* testsuite/22_locale/time_get/get_date/char/1.cc: Same.
* testsuite/22_locale/time_get/get_date/char/2.cc: Same.
* testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Same.
* testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Same.
* testsuite/22_locale/time_get/get_monthname/char/1.cc: Same.
* testsuite/22_locale/time_get/get_monthname/char/2.cc: Same.
* testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Same.
* testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Same.
* testsuite/22_locale/time_get/get_time/char/1.cc: Same.
* testsuite/22_locale/time_get/get_time/char/2.cc: Same.
* testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Same.
* testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Same.
* testsuite/22_locale/time_get/get_weekday/char/1.cc: Same.
* testsuite/22_locale/time_get/get_weekday/char/2.cc: Same.
* testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Same.
* testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Same.
* testsuite/22_locale/time_get/get_year/char/1.cc: Same.
* testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Same.
* testsuite/22_locale/time_put/put/char/1.cc: Same.
* testsuite/22_locale/time_put/put/char/2.cc: Same.
* testsuite/22_locale/time_put/put/char/3.cc: Same.
* testsuite/22_locale/time_put/put/char/4.cc: Same.
* testsuite/22_locale/time_put/put/char/5.cc: Same.
* testsuite/22_locale/time_put/put/char/6.cc: Same.
* testsuite/22_locale/time_put/put/char/7.cc: Same.
* testsuite/22_locale/time_put/put/char/8.cc: Same.
* testsuite/22_locale/time_put/put/wchar_t/1.cc: Same.
* testsuite/22_locale/time_put/put/wchar_t/2.cc: Same.
* testsuite/22_locale/time_put/put/wchar_t/3.cc: Same.
* testsuite/22_locale/time_put/put/wchar_t/4.cc: Same.
* testsuite/22_locale/time_put/put/wchar_t/5.cc: Same.
* testsuite/22_locale/time_put/put/wchar_t/6.cc: Same.
* testsuite/22_locale/time_put/put/wchar_t/7.cc: Same.
* testsuite/22_locale/time_put/put/wchar_t/8.cc: Same.
* testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Same.
* testsuite/27_io/basic_ios/copyfmt/char/2.cc: Same.
* testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: Same.
* testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Same.
* testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Same.

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

21 years ago2003-04-14 Andreas Tobler <toa@pop.agri.ch>
bkoz [Tue, 15 Apr 2003 06:36:31 +0000 (06:36 +0000)]
2003-04-14  Andreas Tobler  <toa@pop.agri.ch>
      Benjamin Kosnik  <bkoz@redhat.com>

* config/os/generic/ctype_inline.h: Fix.

2003-04-14  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/testsuite_hooks.h
(__gnu_cxx_test::run_test_wrapped_generic_locale_exception_catcher):
Change to run_named_locale_test.
* testsuite/testsuite_hooks.cc (__gnu_cxx_test): Same.

* testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Use
run_test_named_locale.
* testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
* testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
* testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Same.
* testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Same.
* testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Same.
* testsuite/22_locale/codecvt/in/wchar_t/2.cc: Same.
* testsuite/22_locale/codecvt/in/wchar_t/3.cc: Same.
* testsuite/22_locale/codecvt/in/wchar_t/4.cc: Same.
* testsuite/22_locale/codecvt/in/wchar_t/7.cc: Same.
* testsuite/22_locale/codecvt/in/wchar_t/8.cc: Same.
* testsuite/22_locale/codecvt/in/wchar_t/9.cc: Same.
* testsuite/22_locale/codecvt/length/wchar_t/2.cc: Same.
* testsuite/22_locale/codecvt/length/wchar_t/3.cc: Same.
* testsuite/22_locale/codecvt/length/wchar_t/4.cc: Same.
* testsuite/22_locale/codecvt/length/wchar_t/7.cc: Same.
* testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
* testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
* testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
* testsuite/22_locale/codecvt/out/wchar_t/2.cc: Same.
* testsuite/22_locale/codecvt/out/wchar_t/3.cc: Same.
* testsuite/22_locale/codecvt/out/wchar_t/4.cc: Same.
* testsuite/22_locale/codecvt/out/wchar_t/7.cc: Same.
* testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Same.
* testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Same.
* testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Same.
* testsuite/22_locale/collate/compare/char/1.cc: Same.
* testsuite/22_locale/collate/compare/char/2.cc: Same.
* testsuite/22_locale/collate/compare/char/3.cc: Same.
* testsuite/22_locale/collate/compare/wchar_t/1.cc: Same.
* testsuite/22_locale/collate/compare/wchar_t/2.cc: Same.
* testsuite/22_locale/collate/compare/wchar_t/3.cc: Same.
* testsuite/22_locale/collate/hash/char/2.cc: Same.
* testsuite/22_locale/collate/hash/wchar_t/2.cc: Same.
* testsuite/22_locale/collate/transform/char/2.cc: Same.
* testsuite/22_locale/collate/transform/char/3.cc: Same.
* testsuite/22_locale/collate/transform/wchar_t/2.cc: Same.
* testsuite/22_locale/collate/transform/wchar_t/3.cc: Same.
* testsuite/22_locale/collate_byname/1.cc: Same.
* testsuite/22_locale/ctype/is/char/2.cc: Same.
* testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
* testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Same.
* testsuite/22_locale/ctype/widen/wchar_t/2.cc: Same.
* testsuite/22_locale/ctype/widen/wchar_t/3.cc: Same.
* testsuite/22_locale/facet/2.cc: Same.
* testsuite/22_locale/locale/cons/2.cc: Same.
* testsuite/22_locale/locale/cons/4.cc: Same.
* testsuite/22_locale/locale/cons/5.cc: Same.
* testsuite/22_locale/locale/cons/7.cc: Same.
* testsuite/22_locale/locale/cons/7222-c.cc: Same.
* testsuite/22_locale/locale/cons/7222-env.cc: Same.
* testsuite/22_locale/locale/global_locale_objects/2.cc: Same.
* testsuite/22_locale/messages/members/char/1.cc: Same.
* testsuite/22_locale/messages/members/char/2.cc: Same.
* testsuite/22_locale/messages/members/char/3.cc: Same.
* testsuite/22_locale/messages_byname/1.cc: Same.
* testsuite/22_locale/money_get/get/char/1.cc: Same.
* testsuite/22_locale/money_get/get/char/2.cc: Same.
* testsuite/22_locale/money_get/get/char/3.cc: Same.
* testsuite/22_locale/money_get/get/char/4.cc: Same.
* testsuite/22_locale/money_get/get/wchar_t/1.cc: Same.
* testsuite/22_locale/money_get/get/wchar_t/2.cc: Same.
* testsuite/22_locale/money_get/get/wchar_t/3.cc: Same.
* testsuite/22_locale/money_get/get/wchar_t/4.cc: Same.
* testsuite/22_locale/money_put/put/char/1.cc: Same.
* testsuite/22_locale/money_put/put/char/2.cc: Same.
* testsuite/22_locale/money_put/put/char/3.cc: Same.
* testsuite/22_locale/money_put/put/wchar_t/1.cc: Same.
* testsuite/22_locale/money_put/put/wchar_t/2.cc: Same.
* testsuite/22_locale/money_put/put/wchar_t/3.cc: Same.
* testsuite/22_locale/moneypunct/members/char/2.cc: Same.
* testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Same.
* testsuite/22_locale/moneypunct_byname/1.cc: Same.
* testsuite/22_locale/num_get/get/char/1.cc: Same.
* testsuite/22_locale/num_get/get/char/2.cc: Same.
* testsuite/22_locale/num_get/get/char/3.cc: Same.
* testsuite/22_locale/num_get/get/char/5.cc: Same.
* testsuite/22_locale/num_get/get/char/6.cc: Same.
* testsuite/22_locale/num_get/get/wchar_t/1.cc: Same.
* testsuite/22_locale/num_get/get/wchar_t/2.cc: Same.
* testsuite/22_locale/num_get/get/wchar_t/3.cc: Same.
* testsuite/22_locale/num_get/get/wchar_t/5.cc: Same.
* testsuite/22_locale/num_get/get/wchar_t/6.cc: Same.
* testsuite/22_locale/num_put/put/char/1.cc: Same.
* testsuite/22_locale/num_put/put/char/2.cc: Same.
* testsuite/22_locale/num_put/put/char/3.cc: Same.
* testsuite/22_locale/num_put/put/char/5.cc: Same.
* testsuite/22_locale/num_put/put/wchar_t/1.cc: Same.
* testsuite/22_locale/num_put/put/wchar_t/2.cc: Same.
* testsuite/22_locale/num_put/put/wchar_t/3.cc: Same.
* testsuite/22_locale/num_put/put/wchar_t/5.cc: Same.
* testsuite/22_locale/numpunct/members/char/1.cc: Same.
* testsuite/22_locale/numpunct/members/char/2.cc: Same.
* testsuite/22_locale/numpunct/members/wchar_t/1.cc: Same.
* testsuite/22_locale/numpunct/members/wchar_t/2.cc: Same.
* testsuite/22_locale/numpunct_byname/1.cc: Same.
* testsuite/22_locale/numpunct_byname/2.cc: Same.
* testsuite/22_locale/time_get/date_order/char/1.cc: Same.
* testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Same.
* testsuite/22_locale/time_get/get_date/char/1.cc: Same.
* testsuite/22_locale/time_get/get_date/char/2.cc: Same.
* testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Same.
* testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Same.
* testsuite/22_locale/time_get/get_monthname/char/1.cc: Same.
* testsuite/22_locale/time_get/get_monthname/char/2.cc: Same.
* testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Same.
* testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Same.
* testsuite/22_locale/time_get/get_time/char/1.cc: Same.
* testsuite/22_locale/time_get/get_time/char/2.cc: Same.
* testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Same.
* testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Same.
* testsuite/22_locale/time_get/get_weekday/char/1.cc: Same.
* testsuite/22_locale/time_get/get_weekday/char/2.cc: Same.
* testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Same.
* testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Same.
* testsuite/22_locale/time_get/get_year/char/1.cc: Same.
* testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Same.
* testsuite/22_locale/time_put/put/char/1.cc: Same.
* testsuite/22_locale/time_put/put/char/2.cc: Same.
* testsuite/22_locale/time_put/put/char/3.cc: Same.
* testsuite/22_locale/time_put/put/char/4.cc: Same.
* testsuite/22_locale/time_put/put/char/5.cc: Same.
* testsuite/22_locale/time_put/put/char/6.cc: Same.
* testsuite/22_locale/time_put/put/char/7.cc: Same.
* testsuite/22_locale/time_put/put/char/8.cc: Same.
* testsuite/22_locale/time_put/put/wchar_t/1.cc: Same.
* testsuite/22_locale/time_put/put/wchar_t/2.cc: Same.
* testsuite/22_locale/time_put/put/wchar_t/3.cc: Same.
* testsuite/22_locale/time_put/put/wchar_t/4.cc: Same.
* testsuite/22_locale/time_put/put/wchar_t/5.cc: Same.
* testsuite/22_locale/time_put/put/wchar_t/6.cc: Same.
* testsuite/22_locale/time_put/put/wchar_t/7.cc: Same.
* testsuite/22_locale/time_put/put/wchar_t/8.cc: Same.
* testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Same.
* testsuite/27_io/basic_ios/copyfmt/char/2.cc: Same.
* testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: Same.
* testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Same.
* testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Same.

2003-04-14  Andreas Tobler  <toa@pop.agri.ch>

* configure.target (_cpu_incdir_fullpath): Solaris 2.9 uses
solaris includes, not generic.

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

21 years ago * include/std/std_bitset.h (_M_do_find_next): Fix -Wall nit.
ljrittle [Tue, 15 Apr 2003 06:11:10 +0000 (06:11 +0000)]
* include/std/std_bitset.h (_M_do_find_next): Fix -Wall nit.
* include/bits/concept_check.h: Fix multi-line comment.
* testsuite/17_intro/headers.cc (dg-options): Add -Wall -Wsystem-header
when target is *-*-freebsd*.

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

21 years ago * argv.c: Use ANSI_PROTOTYPES instead of __STDC__.
sayle [Tue, 15 Apr 2003 03:35:47 +0000 (03:35 +0000)]
* argv.c: Use ANSI_PROTOTYPES instead of __STDC__.
* memchr.c: Likewise.
* strcasecmp.c: Likewise.
* strncasecmp.c: Likewise.
* strncmp.c: Likewise.
* xatexit.c: Likewise.
* xmalloc.c: Likewise.

* copysign.c: Use traditional function declaration instead of DEFUN.
* sigsetmask.c: Likewise.

* memcmp.c: Both of the above, ANSI_PROTOTYPES and DEFUN.
* memset.c: Likewise.

* memcpy.c: ANSI_PROTOTYPES, DEFUN and prototype bcopy.
* memmove.c: Likewise.

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

21 years ago * doc/extend.texi (Empty Structures): Correct description of G++'s
mmitchel [Tue, 15 Apr 2003 02:28:17 +0000 (02:28 +0000)]
* doc/extend.texi (Empty Structures): Correct description of G++'s
handling of these structures.

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

21 years ago * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
tromey [Tue, 15 Apr 2003 02:17:12 +0000 (02:17 +0000)]
* resolve.cc (_Jv_PrepareClass): Round up class size to multiple
of alignment.

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

21 years ago * strdup.c (strdup): Tweak implementation to use memcpy.
sayle [Tue, 15 Apr 2003 02:11:43 +0000 (02:11 +0000)]
* strdup.c (strdup): Tweak implementation to use memcpy.

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

21 years ago * c-decl.c (grokdeclarator): Reject extern redeclarations of
mmitchel [Tue, 15 Apr 2003 01:37:03 +0000 (01:37 +0000)]
* c-decl.c (grokdeclarator): Reject extern redeclarations of
static variables.

* gcc.c-torture/execute/scope-2.c: Move to ...
* gcc.dg/noncompile/scope.c: .... here.

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

21 years ago2003-04-14 Ziemowit Laski <zlaski@apple.com>
zlaski [Tue, 15 Apr 2003 00:34:11 +0000 (00:34 +0000)]
2003-04-14  Ziemowit Laski  <zlaski@apple.com>

* tree.c (build_cplus_array_type_1): Do not call
uses_template_parms() on a NULL index_type.

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

21 years agoDaily bump.
gccadmin [Tue, 15 Apr 2003 00:17:07 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago * testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.
ljrittle [Tue, 15 Apr 2003 00:03:47 +0000 (00:03 +0000)]
* testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.

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

21 years ago2003-04-14 Janis Johnson <janis187@us.ibm.com>
janis [Mon, 14 Apr 2003 22:54:35 +0000 (22:54 +0000)]
2003-04-14  Janis Johnson  <janis187@us.ibm.com>

* config/rs6000/rs6000.md (define_constants): Define constants for
all UNSPEC usage, including new values for TLS support.
(aux_truncdfsf2, fctiwz, movsi_got, movsi_got_internal,
load_toc_aix_si, load_toc_aix_di, load_toc_v4_pic_si,
load_toc_v4_PIC_1, load_toc_v4_PIC_1b, load_macho_picbase,
macho_correct_pic, blockage, move_from_CR_ov_bit, movesi_from_cr,
stack_tie, movsi_to_cr_one, movsi_to_cr, mtcrfsi, eh_set_lr_si,
eh_set_lr_di): Use them.
* rs6000.c: (mtcrf_operation, uses_TOC, rs6000_emit_prologue,
rs6000_emit_epilogue) Use them.

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

21 years ago2003-04-14 Nathan Myers <ncm@cantrip.org>
paolo [Mon, 14 Apr 2003 22:43:32 +0000 (22:43 +0000)]
2003-04-14  Nathan Myers  <ncm@cantrip.org>
    Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/9701 (in_avail())
* include/std/std_streambuf.h (in_avail): Simplify, in_avail
doesn't care if there is anything in some putback cell.
* testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Add.

* testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Remove some
unused string literals.

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

21 years ago2003-04-14 Janis Johnson <janis287@us.ibm.com>
janis [Mon, 14 Apr 2003 22:35:45 +0000 (22:35 +0000)]
2003-04-14  Janis Johnson  <janis287@us.ibm.com>

* rtl.h (SYMBOL_REF_TLS_MODEL): Fix mask value.

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

21 years ago * Makefile.in (c-opts.o): Use custom action.
neil [Mon, 14 Apr 2003 22:25:10 +0000 (22:25 +0000)]
* Makefile.in (c-opts.o): Use custom action.

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

21 years ago * explow.c (round_push): Use HOST_WIDE_INT instead of int for the
kenner [Mon, 14 Apr 2003 22:08:51 +0000 (22:08 +0000)]
* explow.c (round_push): Use HOST_WIDE_INT instead of int for the
temporary used to round CONST_INT sizes.

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

21 years ago * dbxout.c (print_int_cst_bounds_in_octal_p): New function,
kenner [Mon, 14 Apr 2003 22:06:07 +0000 (22:06 +0000)]
* dbxout.c (print_int_cst_bounds_in_octal_p): New function,
extracted from dbxout_type.
(dbxout_range_type): print large bounds in octal format.
(dbxout_type): Replace extracted code by call to
print_int_cst_bounds_in_octal_p.

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

21 years ago * tree.c (int_fits_type_p): Extract generic checks from the case
kenner [Mon, 14 Apr 2003 21:59:54 +0000 (21:59 +0000)]
* tree.c (int_fits_type_p): Extract generic checks from the case
of constant type bounds. Refine the checks against constant type
bounds to allow for possible decisions against each of these bounds
without requiring both bounds to be constant.
(tree_int_cst_msb): Put back.
* tree.h (tree_int_cst_msb): Likewise.

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

21 years ago * global.c (global_conflicts): Prevent allocation of call clobbered
kenner [Mon, 14 Apr 2003 21:51:07 +0000 (21:51 +0000)]
* global.c (global_conflicts): Prevent allocation of call clobbered
hard regs to pseudos live across abnormal edges, as later passes are
not ready to handle them.

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

21 years ago * ifcvt.c (noce_process_if_block): Fail on BLKmode move.
kenner [Mon, 14 Apr 2003 21:44:36 +0000 (21:44 +0000)]
* ifcvt.c (noce_process_if_block): Fail on BLKmode move.

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

21 years ago * stor-layout.c (layout_type, case ARRAY_TYPE): Add missing code to
kenner [Mon, 14 Apr 2003 21:36:35 +0000 (21:36 +0000)]
* stor-layout.c (layout_type, case ARRAY_TYPE): Add missing code to
handle "superflat arrays" in Ada.

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

21 years ago * integrate.c (expand_inline_function): Don't inline if would
kenner [Mon, 14 Apr 2003 21:33:05 +0000 (21:33 +0000)]
* integrate.c (expand_inline_function): Don't inline if would
lose /u on a BLKmode TARGET.

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

21 years ago * dwarf2out.c (gen_compile_unit_die): Emit DW_LANG_Ada95 instead
kenner [Mon, 14 Apr 2003 21:12:45 +0000 (21:12 +0000)]
    * dwarf2out.c (gen_compile_unit_die): Emit DW_LANG_Ada95 instead
        of DW_LANG_Ada83 for Ada units.

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

21 years ago * fold-const.c (fold): Reorder tests for conditional expressions.
kenner [Mon, 14 Apr 2003 21:09:44 +0000 (21:09 +0000)]
    * fold-const.c (fold): Reorder tests for conditional expressions.

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

21 years ago * expr.c (highest_pow2_factor): Return unsigned.
kenner [Mon, 14 Apr 2003 21:07:12 +0000 (21:07 +0000)]
    * expr.c (highest_pow2_factor): Return unsigned.
        * expr.h (offset_address): Likewise.
        * emit-rtl.c (offset_address): POW2 argument now unsigned.

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

21 years ago * builtins.c (expand_builtin_strlen): Evaluate the lengths of
sayle [Mon, 14 Apr 2003 20:23:27 +0000 (20:23 +0000)]
* builtins.c (expand_builtin_strlen):  Evaluate the lengths of
string literals at compile-time.

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

21 years ago * fold-const.c (fold): Transform (c1 - x) cmp c2, where cmp is a
sayle [Mon, 14 Apr 2003 20:16:58 +0000 (20:16 +0000)]
* fold-const.c (fold):  Transform (c1 - x) cmp c2, where cmp is a
comparison operation and c1/c2 are floating point constants into
x swap(cmp) (c1 - c2).

* gcc.dg/20030414-2.c: New test case.

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

21 years ago2003-04-14 Paolo Carlini <pcarlini@unitus.it>
paolo [Mon, 14 Apr 2003 17:57:48 +0000 (17:57 +0000)]
2003-04-14  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/fstream.tcc (basic_filebuf::setbuf): Don't set
_M_out_end, _M_set_indeterminate() does it.

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

21 years ago2003-04-14 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Mon, 14 Apr 2003 15:50:08 +0000 (15:50 +0000)]
2003-04-14  Vladimir Makarov  <vmakarov@redhat.com>

* genautomata.c (output_translate_vect): Fix a typo in loop
condition.

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

21 years ago PR target/10377
hp [Mon, 14 Apr 2003 14:32:44 +0000 (14:32 +0000)]
PR target/10377
* config/cris/cris.md ("*mov_sideqi", "*mov_sidehi")
("*mov_sidesi", "*mov_sideqi_mem", "*mov_sidehi_mem")
("*mov_sidesi_mem", "*clear_sidesi", "*clear_sidehi")
("*clear_sideqi", "*ext_sideqihi", "*ext_sideqisi")
("*ext_sidehisi", "*op_sideqi", "*op_sidehi", "*op_sidesi")
("*op_swap_sideqi", "*op_swap_sidehi", "*op_swap_sidesi")
("*extopqihi_side", "*extopqisi_side", "*extophisi_side")
("*extopqihi_swap_side", "*extopqisi_swap_side")
("*extophisi_swap_side", 8th, 9th, 10th, 11th, 14th peepholes):
When next to constraint R, replace constraint i with n.

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

21 years ago * configure.in (HAVE_UINTPTR_T): Always define.
ghazi [Mon, 14 Apr 2003 14:29:14 +0000 (14:29 +0000)]
* configure.in (HAVE_UINTPTR_T): Always define.
* configure: Regenerated.

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

21 years ago PR opt/10024
hubicka [Mon, 14 Apr 2003 14:19:12 +0000 (14:19 +0000)]
PR opt/10024
* cfgrtl.c (force_nonfallthru_and_redirect): Use unchecked_make_edge.

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

21 years ago PR target/10377
hp [Mon, 14 Apr 2003 14:01:42 +0000 (14:01 +0000)]
PR target/10377
* gcc.dg/20030414-1.c: New test.

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

21 years ago * doc/contrib.texi (Contributors): Correct my entry.
lerdsuwa [Mon, 14 Apr 2003 10:02:30 +0000 (10:02 +0000)]
* doc/contrib.texi (Contributors): Correct my entry.

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

21 years ago * gjavah.c (print_c_decl): Indentation fix.
tromey [Mon, 14 Apr 2003 04:42:21 +0000 (04:42 +0000)]
* gjavah.c (print_c_decl): Indentation fix.

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

21 years ago * tree.h (DECL_BUILT_IN_NONANSI): Remove.
sayle [Mon, 14 Apr 2003 03:13:07 +0000 (03:13 +0000)]
* tree.h (DECL_BUILT_IN_NONANSI): Remove.
* c-common.c (builtin_function_2): Don't set DECL_BUILT_IN_NONANSI.
* c-decl.c (duplicate_decls): Use invariant DECL_BUILT_IN_NONANSI
implies DECL_BUILT_IN to simplify logic.
* print-tree.c (print_node): Don't dump DECL_BUILT_IN_NONANSI.

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

21 years ago * builtin-types.def (BT_FN_STRING_CONST_STRING): New builtin type.
sayle [Mon, 14 Apr 2003 02:55:31 +0000 (02:55 +0000)]
* builtin-types.def (BT_FN_STRING_CONST_STRING): New builtin type.
(BT_FN_PTR_SIZE_SIZE): Likewise.
* builtins.def (BUILT_IN_MALLOC, BUILT_IN_CALLOC, BUILT_IN_STRDUP):
New built-in functions for malloc, calloc and strdup respectively.
* calls.c (special_function_p): No need to handle malloc-like
functions any longer.  ECF_MALLOC is set via built-in attributes.

* c-decl.c (duplicate_decls): Preserve pure and malloc attributes.
* cp/decl.c (duplicate_decls): Preserve pure and malloc attributes.
* f/com.c (duplicate_decls): Preserve pure and malloc attributes.

* doc/extend.texi: Document these new built-in functions.

* gcc.dg/builtins-13.c: New test case.
* gcc.dg/builtins-14.c: New test case.

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

21 years agoFix formatting in last commit.
ghazi [Mon, 14 Apr 2003 02:23:45 +0000 (02:23 +0000)]
Fix formatting in last commit.

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

21 years agoDaily bump.
gccadmin [Mon, 14 Apr 2003 00:17:06 +0000 (00:17 +0000)]
Daily bump.

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

21 years agogcc:
ghazi [Sun, 13 Apr 2003 23:46:11 +0000 (23:46 +0000)]
gcc:
* builtins.c (expand_builtin_memcpy): Add `endp' argument, use it.
(expand_builtin_stpcpy): New.
(expand_builtin): Add BUILT_IN_MEMPCPY & BUILT_IN_STPCPY.
* builtins.def: Add mempcpy & stpcpy support.
* doc/extend.texi (mempcpy, stpcpy): Document new builtins.

testsuite:
* gcc.c-torture/execute/string-opt-18.c: New test.

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

21 years ago PR c++/10300
mmitchel [Sun, 13 Apr 2003 17:54:03 +0000 (17:54 +0000)]
PR c++/10300
* init.c (build_new_1): Reorganize.

PR c++/10300
* g++.dg/init/new5.C: New test.

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

21 years agoReplace "GNU CC" with "GCC"
nickc [Sun, 13 Apr 2003 17:51:08 +0000 (17:51 +0000)]
Replace "GNU CC" with "GCC"

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

21 years agooops - forgot to delete file whne comitting previous delta
nickc [Sun, 13 Apr 2003 17:19:44 +0000 (17:19 +0000)]
oops - forgot to delete file whne comitting previous delta

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

21 years agoconfig-ml.in: Remove support for --disable-aix removing call-aix multilibs.
nickc [Sun, 13 Apr 2003 16:59:45 +0000 (16:59 +0000)]
config-ml.in: Remove support for --disable-aix removing call-aix multilibs.
config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Delete support for
 -mcall-aix switch.
config/rs6000/eabiaix.h: Delete.
config/rs6000/rs6000.h (rs6000_abi): Remove ABI_AIX_NODESC.
 (RS6000_REG_SAVE, RS6000_SAVE_AREA, FP_ARGS_MAX_REG, RETURN_ADDRESS_OFFSET):
 Remove use of ABI_AIX_NODESC.
config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Likewise.
config/rs6000/rs6000.c (print_operand, rs6000_stack_info, debug_stack_info,
 output_function_profiler, rs6000_trampoline_size,
 rs6000_initialise_trampoline): Likewise.
config/rs6000/rs6000.md (call, call_value, call_nonlocal_sysv,
 call_indirect_nonlocal_sysv, call_value_indirect_nonlocal_sysv,
 call_value_nonlocal_sysv, sibcall_value_nonlocal_sysv, sibcall_nonlocal_sysv,
 sibcall_value_local64): Likewise.
config/rs6000/t-ppcgas (MULTILIB_OPTIONS): Remove mcall-aix multilibs.
 (MULTILIB_DIRNAMES): Remove mcall-aix directories.
 (MULTILIB_EXCEPTIONS): Delete.
 (MULTILIB_MATCHES): Remove mcall-aix matches.
doc/fragments.texi: Replace -mcall-aix example with an ARM one.
doc/install.texi: Delete powerpc-*-eabiaix target.
doc/invoke.texi: Remove documentation of mcall-aix switch.
doc/tm.texi: Remove mcall-aix from example CPP_SPEC.
config.gcc: Delete powerpc-*-eabiaix target.

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

21 years ago * doc/invoke.texi: Fix typos.
kazu [Sun, 13 Apr 2003 11:18:36 +0000 (11:18 +0000)]
* doc/invoke.texi: Fix typos.
* doc/tm.texi: Likewise.

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

21 years ago * os/hpux/ctype_inline.h: Replace with gnu-linux version.
danglin [Sun, 13 Apr 2003 03:56:20 +0000 (03:56 +0000)]
* os/hpux/ctype_inline.h: Replace with gnu-linux version.

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

21 years ago * c-typeck.c (digest_init, push_init_level): Use CONSTRUCTOR_ELTS.
zack [Sun, 13 Apr 2003 03:31:09 +0000 (03:31 +0000)]
* c-typeck.c (digest_init, push_init_level): Use CONSTRUCTOR_ELTS.

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

21 years ago * tree.c (build_constructor): New function.
zack [Sun, 13 Apr 2003 01:45:35 +0000 (01:45 +0000)]
* tree.c (build_constructor): New function.
* tree.h: Prototype it.

* c-typeck.c (build_c_cast, pop_init_level)
* profile.c (build_function_info_value, build_gcov_info_value)
(create_profiler):
Use build_constructor.

* builtins.c (expand_builtin_args_info): Remove #if 0 blocks.

* objc/objc-act.c (build_constructor):
Rename objc_build_constructor. Use build_constructor.
(build_objc_string_object, objc_add_static_instance)
(init_def_list, init_objc_symtab, init_module_descriptor)
(generate_static_references, build_selector_translation_table)
(build_descriptor_table_initializer, generate_descriptor_table)
(build_protocol_initializer, build_ivar_list_initializer)
(generate_ivars_list, build_dispatch_table_initializer)
(generate_dispatch_table, generate_protocol_list)
(build_category_initializer, build_shared_structure_initializer):
Update to match.

ada:
* gigi.h, utils2.c (build_constructor):
Rename gnat_build_constructor. Use build_constructor.
* decl.c (gnat_to_gnu_entity)
* trans.c (tree_transform, pos_to_constructor, extract_values)
* ada/utils.c (build_template, convert_to_fat_pointer, convert)
(unchecked_convert)
* ada/utils2.c (build_binary_op, build_call_raise, build_allocator)
(fill_vms_descriptor):
Update to match.

cp:
* class.c (initialize_array)
* decl.c (reshape_init)
* decl2.c (build_expr_from_tree)
* init.c (build_zero_init)
* pt.c (tsubst_copy, tsubst_copy_and_build)
* rtti.c (tinfo_base_init, generic_initializer, ptr_initializer)
(ptm_initializer, class_initializer, get_pseudo_ti_init)
* semantics.c (finish_compound_literal)
* typeck.c (build_ptrmemfunc1)
* typeck2.c (store_init_value, process_init_constructor)
(build_functional_cast): Use build_constructor.

f:
* com.c (ffecom_build_complex_constant_, ffecom_expr_)
(ffecom_init_zero_, ffecom_transform_namelist_, ffecom_vardesc_)
(ffecom_vardesc_array_, ffecom_vardesc_dims_, ffecom_2)
* ste.c (ffeste_io_ialist_, ffeste_io_cilist_, ffeste_io_cllist_)
(ffeste_io_icilist_, ffeste_io_inlist_, ffeste_io_olist_):
Use build_constructor.

java:
* class.c (make_field_value, make_method_value, get_dispatch_table)
(make_class_data, emit_offset_symbol_table)
* constants.c (build_constants_constructor)
* java-tree.h (START_RECORD_CONSTRUCTOR)
* parse.y (maybe_build_array_element_wfl):
Use build_constructor.

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

21 years agoDaily bump.
gccadmin [Sun, 13 Apr 2003 00:17:05 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago * intl.h: #define gcc_gettext_width to strlen when !ENABLE_NLS.
zack [Sat, 12 Apr 2003 23:07:34 +0000 (23:07 +0000)]
    * intl.h: #define gcc_gettext_width to strlen when !ENABLE_NLS.

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

21 years ago * config/m68hc11/m68hc11-protos.h
ciceron [Sat, 12 Apr 2003 21:52:33 +0000 (21:52 +0000)]
* config/m68hc11/m68hc11-protos.h
(m68hc11_eq_compare_operator): Declare
* config/m68hc11/m68hc11.h (PREDICATE_CODES): Register new predicate.
* config/m68hc11/m68hc11.c (m68hc11_eq_compare_operator): New predicate
(d_register_operand): Check the operand mode.
(hard_addr_reg_operand): Likewise.

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

21 years ago * config/m68hc11/m68hc11.md ("decrement_and_branch_until_zero"): New
ciceron [Sat, 12 Apr 2003 21:22:49 +0000 (21:22 +0000)]
* config/m68hc11/m68hc11.md ("decrement_and_branch_until_zero"): New
pattern for dbcc/ibcc generation for 68HC12.
("doloop_end"): New pattern.
("m68hc12_dbcc_dec_hi"): New pattern for dbeq/dbne.
("m68hc12_dbcc_inc_hi"): New pattern for ibeq/ibne.
("m68hc12_dbcc_dec_qi"): New pattern.
("m68hc12_dbcc_inc_qi"): New pattern.
(split): Add split for the above when we can't use dbcc/ibcc due to
reloading.
(peephole2): Add peephole2 to generate the above when possible.

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

21 years ago * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
dje [Sat, 12 Apr 2003 21:13:12 +0000 (21:13 +0000)]
    * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
        Change basic_streambuf instantiation to "unsigned char".
        * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.

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

21 years ago * config/m68hc11/m68hc11.md ("bitcmpqi" split): No need to test the
ciceron [Sat, 12 Apr 2003 20:35:28 +0000 (20:35 +0000)]
* config/m68hc11/m68hc11.md ("bitcmpqi" split): No need to test the
mode of operand 0.
(peephole2 optimize const load): Likewise for operand 2.
("*rotlhi3_with_carry"): Change pattern to a const 1 rotate which
clobbers CC_REGNUM.
("*rotrhi3_with_carry"): Likewise.
(ashift:DI 1 split): Update pattern to create the above rotate.
(lshiftrt:DI 1 split): Likewise.

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