platform/upstream/gcc.git
18 years agore PR fortran/18157 (ice-on-valid code, pointer to user-defined type, fold-struct.c)
Andrew Pinski [Wed, 2 Nov 2005 21:01:54 +0000 (21:01 +0000)]
re PR fortran/18157 (ice-on-valid code, pointer to user-defined type, fold-struct.c)

2005-11-02  Andrew Pinski  <pinskia@physics.uc.edu>

        PR fortran/18157
        * gfortran.fortran-torture/compile/defined_type_1.f90: New test.
        * gfortran.fortran-torture/compile/defined_type_2.f90: New
        test.
        * gfortran.fortran-torture/compile/defined_type_3.f90:
        New test.

2005-11-02  Andrew Pinski  <pinskia@physics.uc.edu>

        PR fortran/18157
        * trans-array.c (gfc_conv_resolve_dependencies): Use the correct
        type for the temporary array.
        * trans-expr.c (gfc_trans_assignment): Pass lss
        instead of lss_section
        to gfc_conv_resolve_dependencies to get the
        correct type.

From-SVN: r106396

18 years agore PR c++/24569 (ICE in add_AT_specification, at dwarf2out.c:4966)
Mark Mitchell [Wed, 2 Nov 2005 18:30:26 +0000 (18:30 +0000)]
re PR c++/24569 (ICE in add_AT_specification, at dwarf2out.c:4966)

PR c++/24569
* pt.c (instantiate_decl): Use cp_finish_decl, not
finish_static_data_member_decl.
PR c++/24569
* g++.dg/debug/static1.C: New test.

From-SVN: r106392

18 years agocrash38.C: moved into proper directory...
Josh Conner [Wed, 2 Nov 2005 18:24:46 +0000 (18:24 +0000)]
crash38.C: moved into proper directory...

* g++.dg/crash38.C: moved into proper directory...
* g++.dg/template/crash42.C: ...here

From-SVN: r106389

18 years agore PR target/24178 (generates code that produces unaligned access exceptions)
Richard Henderson [Wed, 2 Nov 2005 18:20:07 +0000 (10:20 -0800)]
re PR target/24178 (generates code that produces unaligned access exceptions)

        PR target/24178
        * config/alpha/alpha.c (get_aligned_mem): Honor alignment given
        by MEM_ALIGN.

From-SVN: r106388

18 years ago(tree_int_cst_sgn): Fix typo in comment.
Richard Kenner [Wed, 2 Nov 2005 17:53:14 +0000 (12:53 -0500)]
(tree_int_cst_sgn): Fix typo in comment.

From-SVN: r106387

18 years ago[multiple changes]
Paolo Carlini [Wed, 2 Nov 2005 10:27:54 +0000 (10:27 +0000)]
[multiple changes]

2005-11-02  Thomas Kho  <tkho@ucla.edu>

PR libstdc++/23425
* include/bits/stl_vector.h (vector<>::clear): Open code
in terms of _Destroy.

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

* include/bits/vector.tcc (vector<>::_M_fill_assign): Qualify fill_n.

From-SVN: r106379

18 years agore PR testsuite/18338 (mmix-knuth-mmixware testsuite failure: gcc.dg/bitfld-4.c and...
Hans-Peter Nilsson [Wed, 2 Nov 2005 03:02:00 +0000 (03:02 +0000)]
re PR testsuite/18338 (mmix-knuth-mmixware testsuite failure: gcc.dg/bitfld-4.c and g++.dg/abi/bitfield4.C)

PR target/18338
* gcc.dg/bitfld-4.c, g++.dg/abi/bitfield4.C: Gate on
pcc_bitfield_type_matters || default_packed.

From-SVN: r106377

18 years agore PR testsuite/23304 (testsuite failures: g++.dg/ext/packed3.C, packed4.C, packed8...
Hans-Peter Nilsson [Wed, 2 Nov 2005 02:52:30 +0000 (02:52 +0000)]
re PR testsuite/23304 (testsuite failures: g++.dg/ext/packed3.C, packed4.C, packed8.c and g++.dg/other/crash-4.C)

PR testsuite/23304
* lib/target-supports.exp (check_effective_default_packed): New proc.
* g++.dg/ext/packed3.C, g++.dg/ext/packed8.C, g++.dg/other/crash-4.C:
Gate expected errors on target ! default_packed.
* g++.dg/ext/packed4.C: Gate on target ! default_packed.

From-SVN: r106376

18 years ago* lib/target-supports.exp
Hans-Peter Nilsson [Wed, 2 Nov 2005 02:49:24 +0000 (02:49 +0000)]
* lib/target-supports.exp
(check_effective_target_pcc_bitfield_type_matters): New proc.
* gcc.dg/bitfld-3.c: Gate on target pcc_bitfield_type_matters.

From-SVN: r106375

18 years agotarget-supports.exp (check_effective_default_packed): New proc.
Hans-Peter Nilsson [Wed, 2 Nov 2005 02:41:44 +0000 (02:41 +0000)]
target-supports.exp (check_effective_default_packed): New proc.

* lib/target-supports.exp (check_effective_default_packed): New proc.
* g++.dg/ext/packed3.C, g++.dg/ext/packed8.C, g++.dg/other/crash-4.C:
Gate expected errors on target ! default_packed.
* g++.dg/ext/packed4.C: Gate on target ! default_packed.

From-SVN: r106374

18 years agore PR target/21518 (unable to find a register with -fPIC and -O2 and non inlining...
Richard Henderson [Wed, 2 Nov 2005 02:12:32 +0000 (18:12 -0800)]
re PR target/21518 (unable to find a register with -fPIC and -O2 and non inlining static function)

        PR 21518
        * loop.c (scan_loop): Do not propagate computations to a hard
        register destination with SMALL_REGISTER_CLASSES.

From-SVN: r106373

18 years agoDaily bump.
GCC Administrator [Wed, 2 Nov 2005 00:17:11 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r106368

18 years agogc_priv.h: Increase MAX_ROOT_SETS to 1024.
Bryce McKinlay [Wed, 2 Nov 2005 00:06:30 +0000 (00:06 +0000)]
gc_priv.h: Increase MAX_ROOT_SETS to 1024.

2005-11-01  Bryce McKinlay  <mckinlay@redhat.com>

        * include/private/gc_priv.h: Increase MAX_ROOT_SETS to 1024.

From-SVN: r106362

18 years agodecl.c (gfc_match_entry): Function entries don't need an argument list if there's...
Tobias Schlüter [Wed, 2 Nov 2005 00:04:28 +0000 (01:04 +0100)]
decl.c (gfc_match_entry): Function entries don't need an argument list if there's no RESULT clause.

fortran/
* decl.c (gfc_match_entry): Function entries don't need an argument
list if there's no RESULT clause.
testsuite/
* gfortran.fortran-torture/execute/entry_9.f90: Revert previous
change (r106358).

From-SVN: r106361

18 years agore PR fortran/24008 (gfortran too permissive about ENTRY syntax)
Tobias Schlüter [Tue, 1 Nov 2005 21:55:02 +0000 (22:55 +0100)]
re PR fortran/24008 (gfortran too permissive about ENTRY syntax)

fortran/
PR fortran/24008
* decl.c (gfc_match_entry): Function entries need an argument list.
testsuite/
PR fortran/24008
* gfortran.dg/entry_5.f90: New.
* gfortran.fortran-torture/execute/entry_9.f90: Fix syntax error.

From-SVN: r106358

18 years agore PR fortran/24245 (-fdump-parse-tree gives ICE for CONTAINED functions)
Erik Edelmann [Tue, 1 Nov 2005 21:40:06 +0000 (21:40 +0000)]
re PR fortran/24245 (-fdump-parse-tree gives ICE for CONTAINED functions)

fortran/
2005-11-01  Erik Edelmann  <eedelman@gcc.gnu.org>

        PR 24245
        * trans.c (gfc_generate_code): Move code to create a main
        program symbol from here ...
        * parse.c (main_program_symbol): ... to this new
        function, setting the locus from gfc_current_locus
        instead of ns->code->loc.
        (gfc_parse_file):  Call main_program_symbol for main programs.

From-SVN: r106353

18 years agore PR fortran/24404 (Poor Error Description, bad error order)
Tobias Schlüter [Tue, 1 Nov 2005 20:05:54 +0000 (21:05 +0100)]
re PR fortran/24404 (Poor Error Description, bad error order)

PR fortran/24404
* resolve.c (resolve_symbol): Output symbol names in more error
messages, clarify error message.

From-SVN: r106346

18 years agors6000.c (rs6000_rtx_costs): Do not add extra costs for MULT inside PLUS or MINUS.
Joseph Myers [Tue, 1 Nov 2005 19:57:29 +0000 (19:57 +0000)]
rs6000.c (rs6000_rtx_costs): Do not add extra costs for MULT inside PLUS or MINUS.

* config/rs6000/rs6000.c (rs6000_rtx_costs): Do not add extra
costs for MULT inside PLUS or MINUS.

From-SVN: r106345

18 years agodump-parse-tree.c (show_symtree): Revert change unintentionally committed in r106246.
Tobias Schlüter [Tue, 1 Nov 2005 19:05:34 +0000 (20:05 +0100)]
dump-parse-tree.c (show_symtree): Revert change unintentionally committed in r106246.

* dump-parse-tree.c (show_symtree): Revert change unintentionally
committed in r106246.

From-SVN: r106341

18 years ago* gcc.dg/intmax_t-1.c: Disable for xtensa-*-elf*.
Bob Wilson [Tue, 1 Nov 2005 18:16:46 +0000 (18:16 +0000)]
* gcc.dg/intmax_t-1.c: Disable for xtensa-*-elf*.

From-SVN: r106337

18 years agoxtensa.h (TRAMPOLINE_TEMPLATE): Add a byte of padding.
Bob Wilson [Tue, 1 Nov 2005 18:07:13 +0000 (18:07 +0000)]
xtensa.h (TRAMPOLINE_TEMPLATE): Add a byte of padding.

* config/xtensa/xtensa.h (TRAMPOLINE_TEMPLATE): Add a byte of padding.
(TRAMPOLINE_SIZE): Round up to 60.
* config/xtensa/lib2funcs.S (TRAMPOLINE_SIZE): Likewise.

From-SVN: r106336

18 years ago* gcc_update: Include revision number in LAST_UPDATED.
Joseph Myers [Tue, 1 Nov 2005 12:59:50 +0000 (12:59 +0000)]
* gcc_update: Include revision number in LAST_UPDATED.

From-SVN: r106327

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