gcc.git
18 years agore PR libstdc++/24595 (std::tr1::get_deleter not declared)
Paolo Carlini [Tue, 1 Nov 2005 11:01:40 +0000 (11:01 +0000)]
re PR libstdc++/24595 (std::tr1::get_deleter not declared)

2005-11-01  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/24595
* include/tr1/boost_shared_ptr.h (shared_ptr<>::get_deleter):
Move out of shared_ptr.
* testsuite/tr1/2_general_utilities/memory/shared_ptr/misc/24595.cc:
New.

From-SVN: r106321

18 years agore PR fortran/21565 (namelist in block data is illegal)
Paul Thomas [Tue, 1 Nov 2005 05:53:29 +0000 (05:53 +0000)]
re PR fortran/21565 (namelist in block data is illegal)

2005-11-01  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/21565
* symbol.c (check_conflict): An object cannot be in a namelist and in
block data.

PR fortran/18737
* resolve.c (resolve_symbol): Set the error flag to
gfc_set_default_type, in the case of an external symbol, so that
an error message is emitted if IMPLICIT NONE is set.

PR fortran/14994
* gfortran.h (gfc_generic_isym_id): Add GFC_ISYM_SECNDS to enum.
* check.c (gfc_check_secnds): New function.
* intrinsic.c (add_functions): Add call to secnds.
* iresolve.c (gfc_resolve_secnds): New function.
* trans-intrinsic (gfc_conv_intrinsic_function): Add call to
secnds via case GFC_ISYM_SECNDS.
* intrinsic.texi: Add documentation for secnds.

2005-11-01  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/14994
* libgfortran/intrinsics/date_and_time.c: Add interface to
the functions date_and_time for the intrinsic function secnds.

2005-11-01  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/21565
gfortran.dg/namelist_blockdata.f90: New test.

PR fortran/18737
gfortran.dg/external_implicit_none.f90: New test.

PR fortran/14994
* gfortran.dg/secnds.f: New test.

From-SVN: r106317

18 years agoDaily bump.
GCC Administrator [Tue, 1 Nov 2005 00:17:06 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r106306

18 years agoRestore old AT_frame_base code for targets that don't use dwarf2 unwind info.
James E Wilson [Mon, 31 Oct 2005 23:39:29 +0000 (15:39 -0800)]
Restore old AT_frame_base code for targets that don't use dwarf2 unwind info.

Partial fix.
PR debug/24444
* dwarf2out.c (convert_cfa_to_loc_list): Put inside DWARF2_UNWIND_INFO
ifdef.  Put ifdefs around call in gen_subprogram_die.
(compute_frame_pointer_to_cfa_displacement): Likewise.
(gen_subprogram_die): Restore old code for when DWARF2_UNWIND_INFO is
not defined.

From-SVN: r106299

18 years agoRewrite fix for PR 17356, fix for enable checking ada build failure.
James E Wilson [Mon, 31 Oct 2005 23:24:36 +0000 (15:24 -0800)]
Rewrite fix for PR 17356, fix for enable checking ada build failure.

cfgrtl.c (purge_dead_edges): Undo last change.  In EDGE_EH code,
add check for CALL_INSN if EDGE_ABRNOMAL_CALL true.

From-SVN: r106297

18 years agore PR middle-end/24093 (cgraph exhausts virtual memory building 197.parser with ...
Jan Hubicka [Mon, 31 Oct 2005 21:07:29 +0000 (22:07 +0100)]
re PR middle-end/24093 (cgraph exhausts virtual memory building 197.parser with -profile-use -O3)

PR middle-end/24093
* cgraph.c (cgraph_clone_edge, cgraph_clone_node): Watch negative

From-SVN: r106291

18 years agore PR target/20928 (ICE: unrecognizable insns with -fPIC -O1)
Jan Hubicka [Mon, 31 Oct 2005 18:42:23 +0000 (19:42 +0100)]
re PR target/20928 (ICE: unrecognizable insns with -fPIC -O1)

PR target/20928
* i386.c (legitimize_pic_address): Deal with large immediates.

* gcc.c-torture/compile/pr20928.c: New test.

From-SVN: r106284

18 years agore PR gcov-profile/20815 (-fprofile-use barfs with "coverage mismatch for function...
Jan Hubicka [Mon, 31 Oct 2005 18:23:44 +0000 (19:23 +0100)]
re PR gcov-profile/20815 (-fprofile-use barfs with "coverage mismatch for function '...' while reading counter 'arcs'.")

PR profile/20815
* coverage.c (coverage_checksum_string): Fix code to stip random seeds
from symbol names while computing checkup.

From-SVN: r106283

18 years agofrom Mark Kettenis <kettenis@gnu.org>
Mark Kettenis [Mon, 31 Oct 2005 17:52:38 +0000 (17:52 +0000)]
from  Mark Kettenis  <kettenis@gnu.org>

* floatformat.c (floatformat_vax_aingle, floatformat_vax_double):
New variables.

* floatformat.h (enum floatformat_byteorders): Add
floatformat_vax.
(floatformat_vax_aingle, floatformat_vax_double): Declare.

From-SVN: r106281

18 years ago.cvsignore are not needed for subversion, remove them.
Andreas Jaeger [Mon, 31 Oct 2005 17:20:58 +0000 (18:20 +0100)]
.cvsignore are not needed for subversion, remove them.

From-SVN: r106279

18 years agore PR gcov-profile/24487 (Basic block frequencies inaccurate)
Jan Hubicka [Mon, 31 Oct 2005 14:48:57 +0000 (15:48 +0100)]
re PR gcov-profile/24487 (Basic block frequencies inaccurate)

PR profile/24487
* predict.c (predict_loops): Do not estimate more than
MAX_PRED_LOOP_ITERATIONS in PRED_LOOP_ITERATIONS heuristic.
* predict.def (MAX_PRED_LOOP_ITERATIONS): Define.

From-SVN: r106276

18 years ago(setup_one_parameter): Add comment to last change.
Richard Kenner [Mon, 31 Oct 2005 14:05:12 +0000 (09:05 -0500)]
(setup_one_parameter): Add comment to last change.

From-SVN: r106274

18 years agore PR tree-optimization/19097 (Quadratic behavior with many sets for the same registe...
Andrew MacLeod [Mon, 31 Oct 2005 13:38:05 +0000 (13:38 +0000)]
re PR tree-optimization/19097 (Quadratic behavior with many sets for the same register in VRP)

2005-10-31  Andrew MacLeod  <amacleod@redhat.com>

PR tree-optimization/19097
* tree-ssa-operands.c (correct_use_link): Don't look for modified stmts.

From-SVN: r106272

18 years agooptabs.c (expand_unop): Take TRULY_NOOP_TRUNCATION into account.
J"orn Rennecke [Mon, 31 Oct 2005 13:30:14 +0000 (13:30 +0000)]
optabs.c (expand_unop): Take TRULY_NOOP_TRUNCATION into account.

2005-10-31  J"orn Rennecke <joern.rennecke@st.com>

* optabs.c (expand_unop): Take TRULY_NOOP_TRUNCATION into account.

From-SVN: r106271

18 years agore PR middle-end/23492 (ACATS c48009e SEGV in set_bb_for_stmt tree-cfg.c:2673 on...
Andrew Pinski [Mon, 31 Oct 2005 13:22:20 +0000 (13:22 +0000)]
re PR middle-end/23492 (ACATS c48009e SEGV in set_bb_for_stmt tree-cfg.c:2673 on x86_64)

2005-10-31  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/23492
        * tree-inline.c (setup_one_parameter): If the init_stmt
        is NULL, don't insert the statement.
2005-10-31  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/23492
        * gcc.c-torture/compile/zero-strct-5.c: New test.

From-SVN: r106270

18 years agore PR libfortran/24584 (Segfault when reading empty string in namelist file)
Jerry DeLisle [Mon, 31 Oct 2005 01:05:09 +0000 (01:05 +0000)]
re PR libfortran/24584 (Segfault when reading empty string in namelist file)

2005-10-31  Jerry DeLisle  <jvdelisle@verizon.net>

        PR libgfortran/24584
        * gfortran.dg/pr24584.f90: New test.

From-SVN: r106266

18 years agore PR libfortran/24584 (Segfault when reading empty string in namelist file)
Jerry DeLisle [Mon, 31 Oct 2005 01:00:20 +0000 (01:00 +0000)]
re PR libfortran/24584 (Segfault when reading empty string in namelist file)

2005-10-31  Jerry DeLisle  <jvdelisle@verizon.net>

        PR libgfortran/24584
        * io/list_read.c (free_saved): Set saved_used to zero.

From-SVN: r106265

18 years agoDaily bump.
GCC Administrator [Mon, 31 Oct 2005 00:17:17 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r106262

18 years agoMake-lang.in (GFORTRAN_TARGET_INSTALL_NAME): Define.
Andreas Schwab [Sun, 30 Oct 2005 23:18:07 +0000 (23:18 +0000)]
Make-lang.in (GFORTRAN_TARGET_INSTALL_NAME): Define.

* Make-lang.in (GFORTRAN_TARGET_INSTALL_NAME): Define.
(GFORTRAN_CROSS_NAME): Remove.
(fortran.install-common): Correctly install a cross compiler.
(fortran.uninstall): Use GFORTRAN_TARGET_INSTALL_NAME instead of
GFORTRAN_CROSS_NAME.

From-SVN: r106256

18 years agogfortran.texi: Update contributors.
Erik Edelmann [Sun, 30 Oct 2005 22:48:26 +0000 (22:48 +0000)]
gfortran.texi: Update contributors.

fortran/
2005-10-30  Erik Edelmann  <eedelman@gcc.gnu.org>

        * gfortran.texi: Update contributors.

From-SVN: r106255

18 years agore PR fortran/18883 (ICE in gfc_finish_var_decl)
Erik Edelmann [Sun, 30 Oct 2005 22:43:45 +0000 (22:43 +0000)]
re PR fortran/18883 (ICE in gfc_finish_var_decl)

fortran/
2005-10-30  Erik Edelmann  <eedelman@gcc.gnu.org>

        PR fortran/18883
        * trans-decl.c (gfc_finish_var_decl): Add decl to the
        current function, rather than the parent.  Make
        assertion accept fake result variables.
        * trans-expr.c (gfc_conv_variable): If the character
        length of an ENTRY isn't set, get the length from
        the master function instead.

testsuite
2005-10-30  Erik Edelmann  <eedelman@gcc.gnu.org>

        PR fortran/18883
        * gfortran.dg/char_result_9.f90: New.
        * gfortran.dg/char_result_10.f90: New.

From-SVN: r106254

18 years agore PR libstdc++/20213 (cassert header documentation wrong)
Paolo Carlini [Sun, 30 Oct 2005 22:21:50 +0000 (22:21 +0000)]
re PR libstdc++/20213 (cassert header documentation wrong)

2005-10-30  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/20213
* include/c_std/std_csignal.h: Adjust comment as per 17.4.1.2/4.
* include/c_std/std_cstdlib.h: Likewise.
* include/c_std/std_cstdio.h: Likewise.
* include/c_std/std_cstdarg.h: Likewise.
* include/c_std/std_cctype.h: Likewise.
* include/c_std/std_cerrno.h: Likewise.
* include/c_std/std_cmath.h: Likewise.
* include/c_std/std_ciso646.h: Likewise.
* include/c_std/std_ctime.h: Likewise.
* include/c_std/std_clocale.h: Likewise.
* include/c_std/std_climits.h: Likewise.
* include/c_std/std_cassert.h: Likewise.
* include/c_std/std_csetjmp.h: Likewise.
* include/c_std/std_cwchar.h: Likewise.
* include/c_std/std_cfloat.h: Likewise.
* include/c_std/std_cstring.h: Likewise.
* include/c_std/std_cstddef.h: Likewise.
* include/c_std/std_cwctype.h: Likewise.

From-SVN: r106253

18 years agogfortran.texi: Remove reservations about I/O usability.
Thomas Koenig [Sun, 30 Oct 2005 21:38:25 +0000 (21:38 +0000)]
gfortran.texi: Remove reservations about I/O usability.

2005-10-30  Thomas Koenig  <Thomas.Koenig@online.de>

* gfortran.texi:  Remove reservations about I/O usability.  Document
that array intrinsics mostly work.

From-SVN: r106252

18 years agoRemove .cvsignore
Tobias Schlüter [Sun, 30 Oct 2005 21:15:36 +0000 (22:15 +0100)]
Remove .cvsignore

From-SVN: r106250

18 years agogfortran.texi: Move license stuff to back.
Tobias Schlüter [Sun, 30 Oct 2005 20:54:43 +0000 (21:54 +0100)]
gfortran.texi: Move license stuff to back.

* gfortran.texi: Move license stuff to back.  Add information
on ENUM and ENUMERATOR.
* invoke.texi: Document -fshort-enums.

From-SVN: r106249

18 years agogcc_build: Use gcc.gnu.org as the default server.
Steven Bosscher [Sun, 30 Oct 2005 19:45:01 +0000 (19:45 +0000)]
gcc_build: Use gcc.gnu.org as the default server.

* gcc_build: Use gcc.gnu.org as the default server.  Set up
SVN_REPOSITORY correctly.  Add support for checking out branches.

From-SVN: r106248

18 years agore PR tree-optimization/24172 (error: incorrect sharing of tree nodes)
Jan Hubicka [Sun, 30 Oct 2005 18:14:15 +0000 (19:14 +0100)]
re PR tree-optimization/24172 (error: incorrect sharing of tree nodes)

PR tree-optimization/24172
* tree-inline.c (copy_body_r): Unshare the substituted value first.
* g++.dg/tree-ssa/pr24172.C: New testcase.

From-SVN: r106247

18 years agoarith.c (gfc_enum_initializer): New function.
Tobias Schlüter [Sun, 30 Oct 2005 18:09:55 +0000 (19:09 +0100)]
arith.c (gfc_enum_initializer): New function.

fortran/
2005-10-30  Gaurav Gautam  <gauravga@noida.hcltech.com>
    Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>

* arith.c (gfc_enum_initializer): New function.
(gfc_check_integer_range): Made extern.
* decl.c (enumerator_history): New typedef.
(last_initializer, enum_history, max_enum): New variables.
(create_enum_history, gfc_free_enum_history): New functions.
(add_init_expr_to_sym): Call create_enum_history if parsing ENUM.
(variable_decl): Modified to parse enumerator definition.
(match_attr_spec): Add PARAMETER attribute to ENUMERATORs.
(gfc_match_data_decl): Issues error, if match_type_spec do not
return desired return values.
(set_enum_kind, gfc_match_enum, gfc_match_enumerator_def): New
functions.
(gfc_match_end): Deal with END ENUM.
* gfortran.h (gfc_statement): ST_ENUM, ST_ENUMERATOR, ST_END_ENUM
added.
(symbol_attribute): Bit field for enumerator added.
(gfc_options): Add fshort_enums.
(gfc_enum_initializer, gfc_check_integer_range): Add prototypes.
* options.c: Include target.h
(gfc_init_options): Initialize fshort_enums.
(gfc_handle_option): Deal with fshort_enums.
* parse.c (decode_statement): Match ENUM and ENUMERATOR statement.
(gfc_ascii_statement): Deal with the enumerator statements.
(parse_enum): New function to parse enum construct.
(parse_spec): Added case ST_ENUM.
* parse.h (gfc_compile_state): COMP_ENUM added.
(gfc_match_enum, gfc_match_enumerator_def, gfc_free_enum_history):
Prototype added.
* symbol.c (gfc_copy_attr): Copy enumeration attribute.
* lang.opt (fshort-enums): Option added.

testsuite/
2005-10-30  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>

* gfortran.dg/enum_10.f90, gfortran.dg/enum_10.c: New test.

2005-10-30  Gaurav Gautam  <gauravga@noida.hcltech.com>

* gfortran.dg/enum_1.f90, gfortran.dg/enum_2.f90,
gfortran.dg/enum_3.f90, gfortran.dg/enum_4.f90,
gfortran.dg/enum_5.f90, gfortran.dg/enum_6.f90,
gfortran.dg/enum_7.f90, gfortran.dg/enum_8.f90,
gfortran.dg/enum_9.f90,
gfortran.fortran-torture/compile/enum_1.f90,
gfortran.fortran-torture/execute/enum_1.f90,
gfortran.fortran-torture/execute/enum_2.f90,
gfortran.fortran-torture/execute/enum_3.f90,
gfortran.fortran-torture/execute/enum_4.f90: New tests.

From-SVN: r106246

18 years agommix.c (mmix_intval): Correct handling of DFmode constants for hosts with long !...
Hans-Peter Nilsson [Sun, 30 Oct 2005 17:06:40 +0000 (17:06 +0000)]
mmix.c (mmix_intval): Correct handling of DFmode constants for hosts with long != 32 bits.

* config/mmix/mmix.c (mmix_intval): Correct handling of DFmode
constants for hosts with long != 32 bits.

From-SVN: r106027

18 years agore PR target/18482 (mmix-knuth-mmixware testsuite failure: tmpdir-gcc.dg-struct-layout-1)
Hans-Peter Nilsson [Sun, 30 Oct 2005 16:46:41 +0000 (16:46 +0000)]
re PR target/18482 (mmix-knuth-mmixware testsuite failure: tmpdir-gcc.dg-struct-layout-1)

PR target/18482
* gcc.dg/compat/struct-layout-1_generate.c (switchfiles, main):
For mmix-*-*, pass with dg-options an additional -mno-base-addresses.

From-SVN: r106026

18 years agore PR libfortran/20179 (cannot mix C and Fortran I/O)
Francois-Xavier Coudert [Sun, 30 Oct 2005 12:48:52 +0000 (13:48 +0100)]
re PR libfortran/20179 (cannot mix C and Fortran I/O)

PR libfortran/20179
* io/unix.c (flush_if_preconnected): New function.
* io/io.h: Add prototype for flush_if_preconnected.
* io/transfer.c (data_transfer_init): Use flush_if_preconnected
to workaround buggy mixed C-Fortran code.

* gfortran.dg/mixed_io_1.f90: New test.
* gfortran.dg/mixed_io_1.c: New file.

From-SVN: r106017

18 years agocheck.c (gfc_check_malloc, [...]): New functions.
Francois-Xavier Coudert [Sun, 30 Oct 2005 12:17:48 +0000 (13:17 +0100)]
check.c (gfc_check_malloc, [...]): New functions.

* check.c (gfc_check_malloc, gfc_check_free): New functions.
* gfortran.h (gfc_generic_isym_id): Add GFC_ISYM_MALLOC.
* intrinsic.c (add_functions): Add symbols for MALLOC function.
(add_subroutines): Add symbol for FREE subroutine.
* intrinsic.h: Prototypes for gfc_check_malloc, gfc_check_free,
gfc_resolve_malloc and gfc_resolve_free.
* intrinsic.texi: Add doc for FREE and MALLOC intrinsics.
* iresolve.c (gfc_resolve_malloc, gfc_resolve_free): New
functions.
* trans-intrinsic.c (gfc_conv_intrinsic_function): Add case for
GFC_ISYM_MALLOC.

* Makefile.am: Add intrinsics/malloc.c file.
* Makefile.in: Regenerate.
* intrinsics/malloc.c: New file, with implementations for free
and malloc library functions.

* gfortran.dg/malloc_free_1.f90: New test.

From-SVN: r106016

18 years ago* gfortran.texi: Update contributors.
Steven Bosscher [Sun, 30 Oct 2005 11:15:27 +0000 (11:15 +0000)]
* gfortran.texi: Update contributors.

From-SVN: r106015

18 years agore PR middle-end/24093 (cgraph exhausts virtual memory building 197.parser with ...
Andreas Krebbel [Sun, 30 Oct 2005 09:59:16 +0000 (09:59 +0000)]
re PR middle-end/24093 (cgraph exhausts virtual memory building 197.parser with -profile-use -O3)

PR middle-end/24093
* ipa-inline.c (craph_decide_recursive_inlining): Fix return value.

From-SVN: r106014

18 years agoDaily bump.
GCC Administrator [Sun, 30 Oct 2005 00:18:49 +0000 (00:18 +0000)]
Daily bump.

From-SVN: r106007

18 years agore PR libstdc++/22087 (ctype<char> tables are offset by one on DJGPP)
Carey Evans [Sat, 29 Oct 2005 22:44:23 +0000 (22:44 +0000)]
re PR libstdc++/22087 (ctype<char> tables are offset by one on DJGPP)

2005-10-29  Carey Evans  <carey.evans@gmail.com>

PR libstdc++/22087
* config/os/djgpp/ctype_inline.h: Fix.
* config/os/djgpp/ctype_noninline.h: Likewise.

From-SVN: r105999

18 years agoMakefile.am (kinds.h): Remove target, if command fails.
Mike Stump [Sat, 29 Oct 2005 21:02:23 +0000 (21:02 +0000)]
Makefile.am (kinds.h): Remove target, if command fails.

        * Makefile.am (kinds.h): Remove target, if command fails.
        (selected_int_kind.inc): Likewise.
        (selected_real_kind.inc): Likewise.
        * Makefile.in: Regenerate.

From-SVN: r105995

18 years agointerface.c: Fix previous checkin (an incomplete patch was commited for me).
Steven Bosscher [Sat, 29 Oct 2005 13:08:33 +0000 (13:08 +0000)]
interface.c: Fix previous checkin (an incomplete patch was commited for me).

* interface.c: Fix previous checkin (an incomplete patch
was commited for me).

From-SVN: r105992

18 years ago* gcc.dg/nested-func-4.c: Require profiling -pg.
Hans-Peter Nilsson [Sat, 29 Oct 2005 03:11:31 +0000 (03:11 +0000)]
* gcc.dg/nested-func-4.c: Require profiling -pg.

From-SVN: r105988

18 years agoupdate_web_docs_svn: Use -q to quiet svn.
Daniel Berlin [Sat, 29 Oct 2005 01:19:36 +0000 (01:19 +0000)]
update_web_docs_svn: Use -q to quiet svn.

2005-10-26  Daniel Berlin  <dberlin@dberlin.org>

* update_web_docs_svn: Use -q to quiet svn.

From-SVN: r105987

18 years ago* intrinsic.texi: Remove empty @cindex line.
Joseph Myers [Sat, 29 Oct 2005 01:06:58 +0000 (02:06 +0100)]
* intrinsic.texi: Remove empty @cindex line.

From-SVN: r105986

18 years agogcc_update: When svn update is called and --silent is used, pass -q.
Andrew Pinski [Sat, 29 Oct 2005 00:28:20 +0000 (17:28 -0700)]
gcc_update: When svn update is called and --silent is used, pass -q.

2005-10-28  Andrew Pinski  <pinskia@gcc.gnu.org>

        * gcc_update: When svn update is called and
        --silent is used, pass -q.

From-SVN: r105985

18 years agoDaily bump.
GCC Administrator [Sat, 29 Oct 2005 00:17:20 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r105980

18 years agoms1.h (TARGET_MS1_64_001): New.
Aldy Hernandez [Fri, 28 Oct 2005 23:41:22 +0000 (23:41 +0000)]
ms1.h (TARGET_MS1_64_001): New.

        * config/ms1/ms1.h (TARGET_MS1_64_001): New.
        (TARGET_MS1_16_002): New.
        (TARGET_MS1_16_003): New.

        * config/ms1/ms1.md ("decrement_and_branch_until_zero"): Rewrite.
        ("*decrement_and_branch_until_zero_no_clobber"): New.
        Add corresponding splitter for decrement_and_branch_until_zero
        instruction.
        Key all decrement_and_branch_until_zero patterns off of
        TARGET_MS1_16_003.

From-SVN: r105974

18 years agocheck.c (gfc_check_alarm_sub, [...]): New functions.
Francois-Xavier Coudert [Fri, 28 Oct 2005 21:16:17 +0000 (23:16 +0200)]
check.c (gfc_check_alarm_sub, [...]): New functions.

* check.c (gfc_check_alarm_sub, gfc_check_signal,
gfc_check_signal_sub): New functions.
* gfortran.h (gfc_generic_isym_id): Add GFC_ISYM_SIGNAL.
* intrinsic.c (add_functions): Add signal intrinsic.
(add_subroutines): Add signal and alarm intrinsics.
* intrinsic.texi: Document the new intrinsics.
* iresolve.c (gfc_resolve_signal, gfc_resolve_alarm_sub,
gfc_resolve_signal_sub): New functions.
* trans-intrinsic.c (gfc_conv_intrinsic_function): Add case
for GFC_ISYM_SIGNAL.
* intrinsic.h: Add prototypes for gfc_check_alarm_sub,
gfc_check_signal, gfc_check_signal_sub, gfc_resolve_signal,
gfc_resolve_alarm_sub, gfc_resolve_signal_sub.

* Makefile.am (intrinsics): Add signal.c.
* Makefile.in: Regenerate.
* configure.ac: Checks for signal and alarm.
* config.h.in: Regenerate.
* configure: Regenerate.
* intrinsics/signal.c: New file for SIGNAL and ALARM intrinsics.

From-SVN: r105967

18 years agodecl.c (grokfndecl): Remove the setting of the return type of the function type of...
Andrew Pinski [Fri, 28 Oct 2005 20:59:05 +0000 (20:59 +0000)]
decl.c (grokfndecl): Remove the setting of the return type of the function type of main after...

2005-10-28  Andrew Pinski  <pinskia@physics.uc.edu>

        * decl.c (grokfndecl): Remove the setting
        of the return type of the function type
        of main after erroring about must returning
        int.

From-SVN: r105963

18 years agore PR c++/23229 (g++ gives incorrect error message with void main() and a void function)
Andrew Pinski [Fri, 28 Oct 2005 20:25:55 +0000 (20:25 +0000)]
re PR c++/23229 (g++ gives incorrect error message with void main() and a void function)

2005-10-28  Andrew Pinski  <pinskia@physics.uc.edu>

        PR C++/23229
        * decl.c (grokfndecl): Create a new function type
        after erroring out about main not returning int.
2005-10-28  Andrew Pinski  <pinskia@physics.uc.edu>

PR C++/23229
        * g++.dg/warn/main-2.C: New test.

From-SVN: r105960

18 years agogcc_update: Remove the -q from svn invocation.
Andrew Pinski [Fri, 28 Oct 2005 20:19:57 +0000 (13:19 -0700)]
gcc_update: Remove the -q from svn invocation.

2005-10-28  Andrew Pinski  <pinskia@gcc.gnu.org>

        * gcc_update: Remove the -q from svn invocation.

From-SVN: r105958

18 years agoacinclude.m4 (LIBGFOR_CHECK_FPSETMASK): New check.
François-Xavier Coudert [Fri, 28 Oct 2005 20:13:20 +0000 (20:13 +0000)]
acinclude.m4 (LIBGFOR_CHECK_FPSETMASK): New check.

* acinclude.m4 (LIBGFOR_CHECK_FPSETMASK): New check.
* configure.ac: Check for floatingpoint.h, fptrap.h and float.h
headers. Use LIBGFOR_CHECK_FPSETMASK. Check for fp_trap and
fp_enable functions.
* configure.host: Add case for systems with fpsetmask and systems
with fp_trap/fp_enable.
* config/fpu-sysv.h: New file, FPU code using fpsetmask.
* config/fpu-aix.h: New file, FPU code for AIX using fp_trap and
fp_enable.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* config.h.in: Regenerate.

From-SVN: r105956

18 years agore PR fortran/24545 (gfortran bug regarding interface block with named END INTERFACE...
Steven G. Kargl [Fri, 28 Oct 2005 20:05:56 +0000 (20:05 +0000)]
re PR fortran/24545 (gfortran bug regarding interface block with named END INTERFACE statements)

PR fortran/24545
* interface.c (gfc_match_end_interface): Fix typo in INTERFACE_USER_OP case.

From-SVN: r105953

18 years agocrontab: Update to reflect reality
Daniel Berlin [Fri, 28 Oct 2005 19:24:24 +0000 (19:24 +0000)]
crontab: Update to reflect reality

2005-10-26  Daniel Berlin  <dberlin@dberlin.org>

* crontab: Update to reflect reality

From-SVN: r105949

18 years agore PR c++/22153 (ICE on invalid template specialization)
Josh Conner [Fri, 28 Oct 2005 17:58:59 +0000 (17:58 +0000)]
re PR c++/22153 (ICE on invalid template specialization)

PR c++/22153
* cp/parser.c (cp_parser_member_declaration): Detect and handle
a template specialization.
* testsuite/g++.dg/template/crash38.C: New test.
* testsuite/g++.dg/parse/explicit1.C: Change expected errors.

From-SVN: r105944

18 years agore PR libstdc++/24559 (Incorrect definition of wcspbrk in cwchar)
Paolo Carlini [Fri, 28 Oct 2005 16:42:09 +0000 (16:42 +0000)]
re PR libstdc++/24559 (Incorrect definition of wcspbrk in cwchar)

2005-10-28  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/24559
* include/c_std/std_cwchar.h (wcspbrk): Adjust signature.
* testsuite/21_strings/c_strings/wchar_t/24559.cc: New.

From-SVN: r105939

18 years agogcc_build: Remove -d from the call to gcc_update.
Andrew Pinski [Fri, 28 Oct 2005 15:22:41 +0000 (08:22 -0700)]
gcc_build: Remove -d from the call to gcc_update.

2005-10-28  Andrew Pinski  <pinskia@gcc.gnu.org>

        * gcc_build: Remove -d from the call to gcc_update.

From-SVN: r105937

18 years agore PR c++/23426 (Too large array problem gives two error message)
Andrew Pinski [Fri, 28 Oct 2005 14:57:30 +0000 (14:57 +0000)]
re PR c++/23426 (Too large array problem gives two error message)

2005-10-28  Andrew Pinski  <pinskia@physics.uc.edu>

PR C++/23426
* decl.c (start_decl): Check that the decl is an
error_mark_node before getting the type.
Remove the check for the decl's type being an
error_mark_node.

2005-10-28  Andrew Pinski  <pinskia@physics.uc.edu>

        PR C++/23426
        * g++.dg/other/large-size-array.C: New test.

From-SVN: r105936

18 years agogcc_update: Update for svn.
Daniel Berlin [Fri, 28 Oct 2005 14:44:48 +0000 (14:44 +0000)]
gcc_update: Update for svn.

2005-10-28  Daniel Berlin  <dberlin@dberlin.org>
    Ben Elliston <bje@au1.ibm.com>

* gcc_update: Update for svn.
* newcvsroot: Ditto.
* gcc_build: Ditto.

Co-Authored-By: Ben Elliston <bje@au.ibm.com>
From-SVN: r105933

18 years agoAdd back -q so that jsm doesn't have to see a billion lines of output
Daniel Berlin [Fri, 28 Oct 2005 14:40:11 +0000 (14:40 +0000)]
Add back -q so that jsm doesn't have to see a billion lines of output

From-SVN: r105932

18 years agore PR middle-end/24362 (internal compiler error: in extract_component, at tree-comple...
Andrew Pinski [Fri, 28 Oct 2005 14:26:36 +0000 (14:26 +0000)]
re PR middle-end/24362 (internal compiler error: in extract_component, at tree-complex.c:68)

2005-10-28  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/24362
        * g++.dg/opt/complex4.C: New test.
2005-10-28  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/24362
        * tree-complex.c (extract_component): Treat RESULT_DECL
        like the rest of the decls.

From-SVN: r105930

18 years agoSVN was not moved to SVN :)
Daniel Berlin [Fri, 28 Oct 2005 13:21:13 +0000 (13:21 +0000)]
SVN was not moved to SVN :)

From-SVN: r105929

18 years agoFix update_version_svn so it actually is the correct version of this script
Daniel Berlin [Fri, 28 Oct 2005 12:44:50 +0000 (12:44 +0000)]
Fix update_version_svn so it actually is the correct version of this script

From-SVN: r105928

18 years agoMoved to subversion
Daniel Berlin [Wed, 26 Oct 2005 16:09:10 +0000 (16:09 +0000)]
Moved to subversion

From-SVN: r105925

18 years agore PR fortran/15586 (gfortran should support i18n in its compiler messages)
Francois-Xavier Coudert [Wed, 26 Oct 2005 11:02:00 +0000 (13:02 +0200)]
re PR fortran/15586 (gfortran should support i18n in its compiler messages)

PR fortran/15586
* resolve.c (resolve_symbol): Remove the use of whynot, so that
error messages are not built from pieces.

From-SVN: r105921

18 years agoia64.c (ia64_output_function_profiler): Emit an indirect call to _mcount if the funct...
Eric Botcazou [Wed, 26 Oct 2005 07:25:57 +0000 (07:25 +0000)]
ia64.c (ia64_output_function_profiler): Emit an indirect call to _mcount if the function needs a static chain.

* config/ia64/ia64.c (ia64_output_function_profiler): Emit an
indirect call to _mcount if the function needs a static chain.

From-SVN: r105917

18 years agore PR rtl-optimization/24460 (Profiled bootstrap broken)
Eric Botcazou [Wed, 26 Oct 2005 07:03:30 +0000 (09:03 +0200)]
re PR rtl-optimization/24460 (Profiled bootstrap broken)

PR rtl-optimization/24460
* dwarf2out.c (have_switched_text_sections): New boolean variable.
(dwarf2out_switch_text_section): Set it to true instead of
incrementing separate_line_info_table_in_use.
(output_loc_list): Additionally test have_switched_text_sections.
(output_ranges): Likewise.
(dwarf2out_finish): Likewise.
* varasm.c (assemble_start_function): Do not call
insert_section_boundary_note.
(assemble_end_function): If flag_reorder_blocks_and_partition,
switch to the function's section before emitting the .size directive.
* bb-reorder.c (insert_section_boundary_note): Staticify.
(rest_of_handle_reorder_blocks): Call insert_section_boundary_note.
* output.h (insert_section_boundary_note): Delete.

Co-Authored-By: Caroline Tice <ctice@apple.com>
From-SVN: r105916

18 years agore PR fortran/24158 (ICE in f951 with nested, recursive derived types)
Paul Thomas [Wed, 26 Oct 2005 05:20:19 +0000 (05:20 +0000)]
re PR fortran/24158 (ICE in f951 with nested, recursive derived types)

2005-10-26  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/24158
* decl.c (gfc_match_data_decl): Correct broken bit of code
that prevents undefined derived types from being used as
components of another derived type.
* resolve.c (resolve_symbol): Add backstop error when derived
type variables arrive here with a type that has no components.

2005-10-26  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/24158
gfortran.dg/derived_recursion.f90: New test.
gfortran.dg/implicit_actual.f90: New test.

From-SVN: r105913

18 years agore PR c/23103 (gcc_diag does not work with -combine)
Andrew Pinski [Wed, 26 Oct 2005 02:15:02 +0000 (02:15 +0000)]
re PR c/23103 (gcc_diag does not work with -combine)

2005-10-24  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c/23103
        * c-format.c (check_format_types): Use lang_hooks.types_compatible_p
        instead of pointer equality when comparing types.

From-SVN: r105911

18 years agoDaily bump.
GCC Administrator [Wed, 26 Oct 2005 00:16:13 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r105906.2

18 years agoPR middle-end/24295, PR testsuite/24477
Alexandre Oliva [Tue, 25 Oct 2005 18:59:21 +0000 (18:59 +0000)]
PR middle-end/24295, PR testsuite/24477

PR middle-end/24295, PR testsuite/24477
* g++.old-deja/g++.abi/vtable2.C: Require alias for now.  Will be
removed when weakref hits the tree.

From-SVN: r105893

18 years agotrans.h (gfc_conv_cray_pointee): Remove.
Jakub Jelinek [Tue, 25 Oct 2005 18:43:22 +0000 (20:43 +0200)]
trans.h (gfc_conv_cray_pointee): Remove.

* trans.h (gfc_conv_cray_pointee): Remove.
* trans-expr.c (gfc_conv_variable): Revert 2005-10-24 change.
* trans-array.c (gfc_conv_array_parameter): Likewise.
* trans-decl.c (gfc_conv_cray_pointee): Remove.
(gfc_finish_cray_pointee): New function.
(gfc_finish_var_decl): Use it.  Don't return early for Cray
pointees.
(gfc_create_module_variable): Revert 2005-10-24 change.
* decl.c (cray_pointer_decl): Update comment.
* gfortran.texi: Don't mention Cray pointees aren't visible in the
debugger.

* symbol.c (check_conflict): Add conflict between cray_pointee
and in_common resp. in_equivalence.
* resolve.c (resolve_equivalence): Revert 2005-10-24 change.
testsuite/
* gfortran.dg/cray_pointers_4.f90: New test.

* module.c (ab_attribute): Add AB_CRAY_POINTER and AB_CRAY_POINTEE.
(attr_bits): Likewise.
(mio_symbol_attribute): Save and restore cray_pointe{r,e} attributes.
(mio_symbol): For cray_pointee write/read cp_pointer reference.
testsuite/
* gfortran.dg/cray_pointers_5.f90: New test.

From-SVN: r105891

18 years agore PR fortran/22290 (Optimize Assigned GOTO to cause error with -O1 or higher)
Feng Wang [Tue, 25 Oct 2005 14:06:22 +0000 (14:06 +0000)]
re PR fortran/22290 (Optimize Assigned GOTO to cause error with -O1 or higher)

2005-10-25  Feng Wang  <fengwang@nudt.edu.cn>

PR fortran/22290
* trans-decl.c (gfc_add_assign_aux_vars): New function. Add two
auxiliary variables.
(gfc_get_symbol_decl): Use it when a variable, including dummy
argument, is assigned a label.
(gfc_trans_assign_aux_var): New function. Set initial value of
the auxiliary variable explicitly.
(gfc_trans_deferred_vars): Use it.
* trans-stmt.c (gfc_conv_label_variable): Handle dummy argument.

2005-10-25  Feng Wang  <fengwang@nudt.edu.cn>

PR fortran/22290
* gfortran.dg/assign_5.f90: New test.
* gfortran.dg/assign_6.f: New test.

From-SVN: r105887

18 years agoi386-1.C: Include i386-cpuid.h.
Uros Bizjak [Tue, 25 Oct 2005 13:01:12 +0000 (15:01 +0200)]
i386-1.C: Include i386-cpuid.h.

* g++.dg/other/i386-1.C: Include i386-cpuid.h.  Pass if
CPU has no SSE support.

From-SVN: r105885

18 years agolwg-active.html, [...]: Import Revision 39.
Paolo Carlini [Tue, 25 Oct 2005 09:26:54 +0000 (09:26 +0000)]
lwg-active.html, [...]: Import Revision 39.

2005-10-25  Paolo Carlini  <pcarlini@suse.de>

* docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 39.
* docs/html/ext/howto.html: Adjust.

From-SVN: r105884

18 years ago2005-10-24 Jerry DeLisle <jvdelisle@verizon.net>
Jerry DeLisle [Tue, 25 Oct 2005 01:52:48 +0000 (01:52 +0000)]
2005-10-24  Jerry DeLisle  <jvdelisle@verizon.net>

Missed commit of libgfortran.h from previous.

From-SVN: r105881

18 years ago2005-10-24 Jerry DeLisle <jvdelisle@verizon.net>
Jerry DeLisle [Tue, 25 Oct 2005 01:49:19 +0000 (01:49 +0000)]
2005-10-24  Jerry DeLisle  <jvdelisle@verizon.net>

Fix ChangeLog for last commit.

From-SVN: r105880

18 years agore PR libfortran/24224 (Generalized internal array IO not implemented.)
Jerry DeLisle [Tue, 25 Oct 2005 01:45:02 +0000 (01:45 +0000)]
re PR libfortran/24224 (Generalized internal array IO not implemented.)

2005-10-24  Jerry DeLisle  <jvdelisle@verizon.net>

        PR libgfortran/24224
        * gfortran.dg/arrayio_1.f90: Update attribution.
        * gfortran.dg/arrayio_2.f90: Update attribution.
        * gfortran.dg/arrayio_3.f90: Update attribution.
        * gfortran.dg/arrayio_4.f90: Update test conditions.
        * gfortran.dg/arrayio_5.f90: Update attribution.
        * gfortran.dg/arrayio_6.f90: New test.
        * gfortran.dg/arrayio_7.f90: New test.
sle  <jvdelisle@verizon.net>

From-SVN: r105879

18 years agore PR libfortran/24224 (Generalized internal array IO not implemented.)
Jerry DeLisle [Tue, 25 Oct 2005 01:32:33 +0000 (01:32 +0000)]
re PR libfortran/24224 (Generalized internal array IO not implemented.)

2005-10-24  Jerry DeLisle  <jvdelisle@verizon.net>

        PR libgfortran/24224
        * libgfortran.h: Remove array stride error code.
        * runtime/error.c: Remove array stride error.
        * io/io.h: Change name of 'nml_loop_spec' to 'array_loop_spec' to be
        generic.  Add pointer to array_loop_spec and rank to gfc_unit
        structure.
        * io/list_read.c: Revise nml_loop_spec references to array_loop_spec.
        * io/transfer.c (init_loop_spec): New function to initialize
        an array_loop_spec.
        (next_array_record): New function to return the index to the next array
        record by incrementing through the array_loop_spec.
        (next_record_r): Use new function.
        (next_record_w): Use new function.
        (finalize_transfer): Free memory allocated for array_loop_spec.
        * io/unit.c (get_array_unit_len): Delete this function. Use new
        function init_loop_spec to initialize the array_loop_spec.

From-SVN: r105878

18 years agoIA-64 bootstrap failure with --param max-pending-list-length=2.
James E Wilson [Tue, 25 Oct 2005 00:54:29 +0000 (17:54 -0700)]
IA-64 bootstrap failure with --param max-pending-list-length=2.

* sched-deps.c (flush_pending_lists): Pass 1 not 0 in first two
add_dependence_list_and_free calls.

From-SVN: r105877

18 years agoDaily bump.
GCC Administrator [Tue, 25 Oct 2005 00:16:11 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r105872.2

18 years agocontrib.texi: Add the names of the LLNL folks who donated Cray pointer support for...
Steven Bosscher [Mon, 24 Oct 2005 21:27:03 +0000 (21:27 +0000)]
contrib.texi: Add the names of the LLNL folks who donated Cray pointer support for gfortran.

* contrib.texi: Add the names of the LLNL folks who donated
Cray pointer support for gfortran.

From-SVN: r105867

18 years ago* gcc.dg/tree-ssa/loop-9.c: Prevent matching "leave".
Zdenek Dvorak [Mon, 24 Oct 2005 20:29:00 +0000 (20:29 +0000)]
* gcc.dg/tree-ssa/loop-9.c: Prevent matching "leave".

From-SVN: r105864

18 years ago2005-10-24 Paul Thomas <pault@gcc.gnu.org>
Paul Thomas [Mon, 24 Oct 2005 20:25:40 +0000 (20:25 +0000)]
2005-10-24  Paul Thomas  <pault@gcc.gnu.org>

gfortran.dg/namelist_char_only.f90: Add missing newline at end.

From-SVN: r105863

18 years agore PR libfortran/24416 (Wrong reading following namelist reading)
Paul Thomas [Mon, 24 Oct 2005 20:20:40 +0000 (20:20 +0000)]
re PR libfortran/24416 (Wrong reading following namelist reading)

2005-10-24  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/24416
* libgfortran/io/list_read.c (namelist_read): Exit with call to
free_saved () so that character strings do not accumulate.

2005-10-24  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/24416
gfortran.dg/namelist_char_only.f90: New test.

From-SVN: r105862

18 years agoCommit for Asher Langton
Asher Langton [Mon, 24 Oct 2005 19:28:18 +0000 (19:28 +0000)]
Commit for Asher Langton

PR fortran/17031
PR fortran/22282

fortran/
* check.c (gfc_check_loc) : New function
* decl.c (variable_decl): New variables cp_as and sym. Added a
check for variables that have already been declared as Cray
Pointers, so we can get the necessary attributes without adding
a new symbol.
(attr_decl1): Added code to catch pointee symbols and "fix"
their array specs.
(cray_pointer_decl): New method.
(gfc_match_pointer): Added Cray pointer parsing code.
(gfc_mod_pointee_as): New method.
* expr.c (gfc_check_assign): added a check to catch vector-type
assignments to pointees with an unspecified final dimension.
* gfortran.h: (GFC_ISYM_LOC): New.
(symbol_attribute): Added cray_pointer and cray_pointee bits.
(gfc_array_spec): Added cray_pointee and cp_was_assumed bools.
(gfc_symbol): Added gfc_symbol *cp_pointer.
(gfc_option): Added flag_cray_pointer.
(gfc_add_cray_pointee): Declare.
(gfc_add_cray_pointer ): Declare.
(gfc_mod_pointee_as): Declare.
* intrinsic.c (add_functions): Add code for loc() intrinsic.
* intrinsic.h (gfc_check_loc): Declare.
(gfc_resolve_loc): Declare.
* iresolve.c (gfc_resolve_loc): New.
* lang.opt: Added fcray-pointer flag.
* options.c (gfc_init_options): Intialized
gfc_match_option.flag_cray_pointer.
(gfc_handle_option): Deal with -fcray-pointer.
* parse.c:(resolve_equivalence): Added code prohibiting Cray
pointees in equivalence statements.
* resolve.c (resolve_array_ref): Added code to prevent bounds
checking for Cray Pointee arrays.
(resolve_equivalence): Prohibited pointees in equivalence
statements.
* symbol.c (check_conflict): Added Cray pointer/pointee
attribute checking.
(gfc_add_cray_pointer): New
(gfc_add_cray_pointee): New
(gfc_copy_attr): New code for Cray pointers and pointees
* trans-array.c (gfc_trans_auto_array_allocation): Added code to
prevent space from being allocated for pointees.
(gfc_conv_array_parameter): Added code to catch pointees and
correctly set their base address.
* trans-decl.c (gfc_finish_var_decl): Added code to prevent
pointee declarations from making it to the back end.
(gfc_create_module_variable): Same.
* trans-expr.c (gfc_conv_variable): added code to detect and
translate pointees.
(gfc_conv_cray_pointee): New.
* trans-intrinsic.c (gfc_conv_intrinsic_loc): New.
(gfc_conv_intrinsic_function): added entry point for loc
translation.
* trans.h (gfc_conv_cray_pointee): Declare.

* gfortran.texi: Added section on Cray pointers, removed Cray
pointers from list of proposed extensions
* intrinsic.texi: Added documentation for loc intrinsic.
* invoke.texi: Documented -fcray-pointer flag

testsuite/
PR fortran/17031
PR fortran/22282
* gfortran.dg/cray_pointers_1.f90: New test.
* gfortran.dg/cray_pointers_2.f90: New test.
* gfortran.dg/cray_pointers_3.f90: New test.
* gfortran.dg/loc_1.f90: New test.
* gfortran.dg/loc_2.f90: New test.

From-SVN: r105859

18 years agoMAINTAINERS (alias analysis): Add Daniel Berlin and Diego Novillo.
Diego Novillo [Mon, 24 Oct 2005 19:22:15 +0000 (19:22 +0000)]
MAINTAINERS (alias analysis): Add Daniel Berlin and Diego Novillo.

* MAINTAINERS (alias analysis): Add Daniel Berlin and
Diego Novillo.

From-SVN: r105858

18 years agore PR tree-optimization/24225 (ICE: segmentation fault in profile.c:branch_prob)
Steven Bosscher [Mon, 24 Oct 2005 19:20:38 +0000 (19:20 +0000)]
re PR tree-optimization/24225 (ICE: segmentation fault in profile.c:branch_prob)

PR tree-optimization/24225

gcc/
* profile.c (branch_prob): Look from end to start through a
basic block when looking for a locus.

testsuite/
* gcc.dg/pr24225.c: New test.

From-SVN: r105857

18 years agopa.c (store_reg_modify): Set RTX_FRAME_RELATED_P on each set in parallel.
Richard Henderson [Mon, 24 Oct 2005 19:01:46 +0000 (12:01 -0700)]
pa.c (store_reg_modify): Set RTX_FRAME_RELATED_P on each set in parallel.

* pa.c (store_reg_modify): Set RTX_FRAME_RELATED_P on each set in
parallel.
(hppa_expand_prologue): Likewise.

From-SVN: r105856

18 years agopa-linux.h (NO_PROFILE_COUNTERS): Delete define.
John David Anglin [Mon, 24 Oct 2005 16:51:59 +0000 (16:51 +0000)]
pa-linux.h (NO_PROFILE_COUNTERS): Delete define.

* pa-linux.h (NO_PROFILE_COUNTERS): Delete define.
(NO_DEFERRED_PROFILE_COUNTERS): Define.
* pa.h (NO_PROFILE_COUNTERS): Define.
* pa.c (NO_DEFERRED_PROFILE_COUNTERS): Define if not defined.
(funcdef_nos): New vector to hold label numbers of deferred profile
counters.
(output_deferred_profile_counters): New function.
(hppa_profile_hook): Push label number onto funcdef_nos.
(pa_hpux_file_end): Call output_deferred_profile_counters if
NO_DEFERRED_PROFILE_COUNTERS is false.

From-SVN: r105854

18 years agoCommit for Asher Langton <langton2@llnl.gov>
Asher Langton [Mon, 24 Oct 2005 14:50:18 +0000 (14:50 +0000)]
Commit for Asher Langton  <langton2@llnl.gov>

fortran/
        * decl.c (gfc_match_save): Changed duplicate SAVE errors to
        warnings in the absence of strict standard conformance
        * symbol.c (gfc_add_save): Same.

testsuite/
* gfortran.dg/dup_save_1.f90: New test.
* gfortran.dg/dup_save_2.f90: New test.

From-SVN: r105850

18 years agore PR testsuite/24107 (gcc.dg/20050922-1.c relies in stdint.h)
Paul Brook [Mon, 24 Oct 2005 12:55:37 +0000 (12:55 +0000)]
re PR testsuite/24107 (gcc.dg/20050922-1.c relies in stdint.h)

2005-10-24  Paul Brook  <paul@codesourcery.com>

PR 24107
* gcc.dg/20050922-1.c: Provide definition of uint32_t without using
stdint.h.

From-SVN: r105847

18 years agore PR fortran/15586 (gfortran should support i18n in its compiler messages)
Francois-Xavier Coudert [Mon, 24 Oct 2005 09:11:51 +0000 (11:11 +0200)]
re PR fortran/15586 (gfortran should support i18n in its compiler messages)

PR fortran/15586
* arith.c (gfc_arith_error): Change message to include locus.
(check_result, eval_intrinsic, gfc_int2int, gfc_real2real,
gfc_real2complex, gfc_complex2real, gfc_complex2complex): Use
the new gfc_arith_error.
(arith_error): Rewrite full error messages instead of building
them from pieces.
* check.c (must_be): Removed.
(type_check, numeric_check, int_or_real_check, real_or_complex_check,
kind_check, double_check, logical_array_check, array_check,
scalar_check, same_type_check, rank_check, kind_value_check,
variable_check, gfc_check_allocated, gfc_check_associated,
gfc_check_cmplx, gfc_check_dcmplx, gfc_check_dot_product,
gfc_check_index, gfc_check_kind, gfc_check_matmul, gfc_check_null,
gfc_check_pack, gfc_check_precision, gfc_check_present,
gfc_check_spread): Rewrite full error messages instead of
building them from pieces.
* decl.c (gfc_match_entry): Rewrite full error messages instead
of building them from pieces.
* parse.c (gfc_state_name): Remove.
* parse.h: Remove prototype for gfc_state_name.

From-SVN: r105844

18 years agore PR libfortran/24489 (read_block wrong execution order)
Jerry DeLisle [Mon, 24 Oct 2005 03:51:24 +0000 (03:51 +0000)]
re PR libfortran/24489 (read_block wrong execution order)

2005-10-23  Jerry DeLisle  <jvdelisle@verizon.net>

        PR libgfortran/24489
        * io/transfer.c (read_block): Change the order of execution to not read
        past end-of-record.
        (read_block_direct): Same change.

From-SVN: r105840

18 years agore PR libfortran/24489 (read_block wrong execution order)
Jerry DeLisle [Mon, 24 Oct 2005 03:50:15 +0000 (03:50 +0000)]
re PR libfortran/24489 (read_block wrong execution order)

2005-10-23  Jerry DeLisle  <jvdelisle@verizon.net>

        PR libgfortran/24489
        * gfortran.dg/pr24489.f90: New test.

From-SVN: r105839

18 years agopa-protos.h (get_deferred_plabel): New prototype.
John David Anglin [Mon, 24 Oct 2005 02:38:25 +0000 (02:38 +0000)]
pa-protos.h (get_deferred_plabel): New prototype.

* pa-protos.h (get_deferred_plabel): New prototype.
* pa.c (get_plabel): Rename to get_deferred_plabel.  Return plabel.
Make global.
(output_call): Adjust calls.

From-SVN: r105838

18 years agors6000.c (rs6000_legitimize_tls_address): Explain peculiarity of GOT/TOC section...
Alan Modra [Mon, 24 Oct 2005 01:57:45 +0000 (01:57 +0000)]
rs6000.c (rs6000_legitimize_tls_address): Explain peculiarity of GOT/TOC section usage.

* config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Explain
peculiarity of GOT/TOC section usage.

From-SVN: r105836

18 years agoDaily bump.
GCC Administrator [Mon, 24 Oct 2005 00:16:16 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r105833.2

18 years agore PR objc/24435 (constant_string_class_name is undocumented in c-common.c)
Andrew Pinski [Sun, 23 Oct 2005 22:37:29 +0000 (22:37 +0000)]
re PR objc/24435 (constant_string_class_name is undocumented in c-common.c)

2005-10-23  Andrew Pinski  <pinskia@physics.uc.edu>

        PR objc/24435
         * c-common.c (constant_string_class_name): Add documentation.

From-SVN: r105831

18 years agore PR fortran/23635 (Argument of ichar at (1) must be of length one)
Andrew Pinski [Sun, 23 Oct 2005 22:16:38 +0000 (22:16 +0000)]
re PR fortran/23635 (Argument of ichar at (1) must be of length one)

2005-10-23  Andrew Pinski  <pinskia@physics.uc.edu>

        PR fortran/23635
        * gfortran.dg/ichar_1.f90: Add tests for derived types.

2005-10-23  Andrew Pinski  <pinskia@physics.uc.edu>

        PR fortran/23635
        * check.c (gfc_check_ichar_iachar): Move the code around so
        that the check on the length is after check for
        references.

From-SVN: r105829

18 years agore PR target/18911 (mmix-knuth-mmixware testsuite failure: g++.dg/init/array16.C...
Hans-Peter Nilsson [Sun, 23 Oct 2005 21:37:57 +0000 (21:37 +0000)]
re PR target/18911 (mmix-knuth-mmixware testsuite failure: g++.dg/init/array16.C execution)

PR target/18911
* g++.dg/init/array16.C: Skip for mmix-*-*.

From-SVN: r105828

18 years agore PR target/23832 (libjava build failure on sh64)
Kaz Kojima [Sun, 23 Oct 2005 21:15:18 +0000 (21:15 +0000)]
re PR target/23832 (libjava build failure on sh64)

PR target/23832
* recog.c (peephole2_optimize): Increment peep2_current_count
only when the slot is empty.

From-SVN: r105827

18 years agore PR libfortran/23272 ([mingw32] inquire via filename fails)
Francois-Xavier Coudert [Sun, 23 Oct 2005 20:43:54 +0000 (22:43 +0200)]
re PR libfortran/23272 ([mingw32] inquire via filename fails)

PR libfortran/23272
* acinclude.m4 (LIBGFOR_CHECK_WORKING_STAT): New check.
* configure.ac: Use LIBGFOR_CHECK_WORKING_STAT.
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
* io/unix.c (compare_file_filename): Add fallback case for
systems without working stat.
* io/open.c (already_open): Correct call to
compare_file_filename.
* io/io.h: Correct proto for compare_file_filename.

From-SVN: r105824