Commit Graph

68901 Commits

Author SHA1 Message Date
Nathan Sidwell
5e97d40455 re PR c++/21903 (Default argument of template function causes a compile-time error)
cp:
PR 21903
	* cp-tree.def (DEFAULT_ARG): Document TREE_CHAIN use.
	* parser.c (cp_parser_late_parsing_default_args): Propagate parsed
	argument to any early instantiations.
	* pt.c (tsubst_arg_types): Chain early instantiation of default arg.
testsuite:
	PR 21903
	* g++.dg/parse/defarg9.C: New.

From-SVN: r100669
2005-06-06 17:29:41 +00:00
Paolo Carlini
2fecaef4af [multiple changes]
2005-06-06  Paolo Carlini  <pcarlini@suse.de>

        Port from libstdcxx_so_7-branch:
	2004-09-24  Paolo Carlini  <pcarlini@suse.de>
		    Jonathan Wakely  <redi@gcc.gnu.org>

	* include/bits/stl_list.h (list::list(size_type, value_type,
	const allocator_type&): Implement according to the letter of the
	standard, i.e., don't use two overloads, not equivalent in case
	of non default constructible T.
	(list::resize(size_type, const value_type&)): Fix the signature:
	according to the standard the second argument is by value; also,
	don't use two overloads.
	* include/bits/list.tcc (list::resize(size_type, const value_type&)):
	Adjust consistently the signature.
	* include/bits/stl_deque.h (deque::deque(size_type, value_type,
	const allocator_type&)): Likewise.
	(deque::resize(size_type, const value_type&)): Likewise.
	* include/bits/stl_vector.h (vector::vector(size_type, value_type,
	const allocator_type&)): Likewise.
	(vector::resize(size_type, const value_type&)): Likewise.
	* testsuite/testsuite_hooks.h: Add NonDefaultConstructible test type.
	* testsuite/23_containers/deque/explicit_instantiation/2.cc: New.
	* testsuite/23_containers/list/explicit_instantiation/2.cc: New.
	* testsuite/23_containers/map/explicit_instantiation/2.cc: New.
	* testsuite/23_containers/multimap/explicit_instantiation/2.cc: New.
	* testsuite/23_containers/multiset/explicit_instantiation/2.cc: New.
	* testsuite/23_containers/set/explicit_instantiation/2.cc: New.
	* testsuite/23_containers/vector/explicit_instantiation/2.cc: New.

	* include/bits/deque.tcc: Minor formatting fix.

From-SVN: r100668
2005-06-06 16:59:55 +00:00
Rainer Orth
1651a990f7 x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Guard with HAVE_GAS_MAX_SKIP_P2ALIGN.
* config/i386/x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Guard with
	HAVE_GAS_MAX_SKIP_P2ALIGN.
	(HAVE_AS_DWARF2_DEBUG_LINE): Remove.

From-SVN: r100665
2005-06-06 14:45:29 +00:00
Nathan Sidwell
b2a9b2086a re PR c++/20637 (Confusing message with different using declarations)
cp:
PR c++/20637
	* cp-tree.h (add_method): Add using_decl parameter.
	* class.c (add_method): Add using_decl parameter.  Adjust error
	messages.
	(handle_using_decl): Pass the using decl to add_method.
	(clone_function_decl): Adjust add_member calls.
	* decl2.c (check_classfn): Likewise.
	* method.c (lazily_declare_fn): Likewise.
	* semantics.c (finish_member_declaration): Likewise.

	* method.c (synthesize_method): Use inform, not warning.
testsuite:
	PR c++/20637
	* g++.dg/inherit/using4.C: New.
	* g++.dg/overload/error1.C: Adjust expected errors.
	* g++.old-deja/g++.benjamin/warn02.C: Likewise.
	* g++.old-deja/g++.brendan/arm2.C: Likewise.
	* g++.old-deja/g++.other/redecl2.C: Likewise.
	* g++.old-deja/g++.other/redecl4.C: Likewise.
	* g++.old-deja/g++.pt/memtemp78.C: Likewise.

From-SVN: r100664
2005-06-06 14:18:22 +00:00
Rainer Orth
3d7b7acc42 Makefile.in (mips-tfile.o): Add $(srcdir)/../include prefix to getopt.h dependency.
* Makefile.in (mips-tfile.o): Add $(srcdir)/../include prefix to
	getopt.h dependency.
	(mips-tdump.o): Likewise.

From-SVN: r100663
2005-06-06 14:08:35 +00:00
Jan Hubicka
a00d11f077 predict.c (tree_predict_edge): Don't drop useless predictions; check that it is not called too late in the game.
* predict.c (tree_predict_edge): Don't drop useless predictions;
	check that it is not called too late in the game.
	(gate_estimate_probability): New gate.
	(pass_profile): Gate.
	* tree-mudflap.c (mf_build_check_statement_for): Do not drop
	predictions; update CFG instead.
	* cfgrtl.c (rtl_verify_flow_info): Check that predcitions are consumed.

From-SVN: r100662
2005-06-06 12:31:35 +00:00
Hans-Peter Nilsson
bbf59fad2d * config-lang.in (target_libs): Remove target-gperf.
From-SVN: r100659
2005-06-06 11:25:40 +00:00
Peter Doerfler
50068e44db stl_function.h: ...
2005-06-06  Peter Doerfler  <doerfler@techinfo.rwth-aachen.de>

	* include/bits/stl_function.h: ... and another one.

From-SVN: r100657
2005-06-06 10:00:34 +00:00
Jie Zhang
1f4174d400 Add bfin-uclinux configuration.
From-SVN: r100656
2005-06-06 09:46:39 +00:00
Peter Doerfler
5380bc7e61 stl_function.h: Fix typo in comment.
2005-06-06  Peter Doerfler  <doerfler@techinfo.rwth-aachen.de>

	* include/bits/stl_function.h: Fix typo in comment.

From-SVN: r100654
2005-06-06 09:21:07 +00:00
Anthony Green
c8891bef49 natPlainSocketImplPosix.cc (setOption): Fix case fall-through bug.
2005-06-05  Anthony Green  <green@redhat.com>

        * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
        fall-through bug.

From-SVN: r100650
2005-06-06 06:17:28 +00:00
Hans-Peter Nilsson
7721d5d4cb btest-gcc.sh: Don't pass --with-newlib when target is "*-linux*".
* btest-gcc.sh <Build>: Don't pass --with-newlib when target is
	"*-linux*".

From-SVN: r100649
2005-06-06 05:59:07 +00:00
Hans-Peter Nilsson
e7700967a1 * btest-gcc.sh (TESTLOGS): Make libstdc++.sum optional.
From-SVN: r100648
2005-06-06 05:57:03 +00:00
Ben Elliston
addd6f6401 * doc/md.texi (Insn Splitting): Fix some wording.
From-SVN: r100647
2005-06-06 13:57:36 +10:00
David Billinghurst
43faca5184 f2c_5.f90: Add -w to dg-options
2005-06-05  David Billinghurst  <David.Billinghurst@riotinto.com>

	* gfortran.dg/f2c_5.f90: Add -w to dg-options

From-SVN: r100646
2005-06-06 03:00:10 +00:00
David Edelsohn
ef765ea991 rs6000.c (rs6000_emit_swdivsf): New function.
* config/rs6000/rs6000.c (rs6000_emit_swdivsf): New function.
        (rs6000_emit_swdivdf): New function.
        * config/rs6000/rs6000.md (fres): New pattern.
        (divsf3): Add approximation through rs6000_emit_swdivsf.
        (fred): New pattern.
        (divdf3): Add approximation through rs6000_emit_swdivdf.
        * config/rs6000/rs6000-protos.h (rs6000_emit_swdivsf): Declare.
        (rs6000_emit_swdivdf): Declare.
        * config/rs6000/rs6000.opt (mswdiv): New option.
        * doc/invoke.texi (RS/6000 and PowerPC Options): Document mswdiv.

From-SVN: r100645
2005-06-05 22:32:27 -04:00
GCC Administrator
6c4b13a9ec Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r100643.2
2005-06-06 00:16:21 +00:00
David Billinghurst
f25284f378 gfortran.exp (gfortran_target_compile): Call dg-additional-files-options
2005-06-05  David Billinghurst  <David.Billinghurst@riotinto.com>

	* lib/gfortran.exp (gfortran_target_compile): Call
	dg-additional-files-options
	* gfortran.dg/f2c_4.f90: New file
	* gfortran.dg/f2c_4.c: New file
	* gfortran.dg/f2c_5.f90: New file
	* gfortran.dg/f2c_5.c: New file

From-SVN: r100641
2005-06-05 23:42:19 +00:00
Paolo Carlini
9d997b96c2 acinclude.m4 ([GLIBCXX_ENABLE_C99]): Check clog, clogf, clogl too for ac_c99_complex.
2005-06-05  Paolo Carlini  <pcarlini@suse.de>

	* acinclude.m4 ([GLIBCXX_ENABLE_C99]): Check clog, clogf, clogl
	too for ac_c99_complex.
	* configure: Regenerate.

From-SVN: r100639
2005-06-05 21:58:52 +00:00
Gerald Pfeifer
bfac631b94 * gennews (files): Update for egcs-1.0 release pages consolidation.
From-SVN: r100636
2005-06-05 20:35:21 +00:00
Tobias Schlüter
adac7e92d8 * gfortran.dg/forall_1.f90: Set previously uninitialized variable.
From-SVN: r100632
2005-06-05 20:49:22 +02:00
Zdenek Dvorak
d5ab567508 re PR middle-end/21846 (segfault in fold_binary compiling vpr with -O2 -funroll-loops)
PR tree-optimization/21846
	* tree-cfg.c (replace_uses_by): Update information stored at loops.
	* tree-flow.h (substitute_in_loop_info): Declare.
	* tree-scalar-evolution.c (initialize_scalar_evolutions_analyzer):
	Ensure that chrec_dont_know and chrec_known have a type.
	* tree-ssa-loop-niter.c (substitute_in_loop_info): New function.

From-SVN: r100631
2005-06-05 18:07:43 +00:00
Tobias Schlüter
86403f0f32 re PR fortran/21912 (Wrong implied do-loop)
fortran/
	PR fortran/21912
	* trans-array.c (gfc_trans_array_constructor_value): Slightly reorder.
	Generate correct exit condition in case of negative steps in
	implied-do loops.
testsuite/
	PR fortran/21912
	* gfortran.dg/array_constructor_4.f90: New test.

From-SVN: r100630
2005-06-05 20:03:47 +02:00
Mark Mitchell
88a7beb769 re PR c++/21619 (__builtin_constant_p(&"Hello"[0])?1:-1 not compile-time constant)
PR c++/21619
	* cp-tree.h (DECL_IS_BUILTIN_CONSTANT_P): New macro.
	* parser.c (cp_parser_postfix_expression): Allow non-constant
	expressions as arguments to __builtin_constant_p.
	* tree.c (builtin_valid_in_constant_expr_p): Use
	DECL_IS_BUILTIN_CONSTANT_P.

	PR c++/21619
	* g++.dg/ext/builtin9.C: New test.

From-SVN: r100626
2005-06-05 16:33:43 +00:00
Dale Johannesen
1d508aa99c removing
From-SVN: r100625
2005-06-05 16:20:14 +00:00
Dale Johannesen
c25bc8a121 Removing
From-SVN: r100624
2005-06-05 16:19:58 +00:00
Dale Johannesen
16191a6493 20050603-1.c: Move to gcc.dg.
2005-06-05  Dale Johannesen  <dalej@apple.com>

	* gcc.c-torture/execute/20050603-1.c:  Move to gcc.dg.
	* gcc.c-torture/execute/20050603-2.c:  Ditto.

From-SVN: r100623
2005-06-05 16:18:12 +00:00
Tobias Schlüter
b4cbcd1a2d invoke.texi: Fix description of flags required for compatibility with g77.
* invoke.texi: Fix description of flags required for compatibility
	with g77.

From-SVN: r100621
2005-06-05 15:13:09 +02:00
Steven Bosscher
862e28863e i386.c (x86_use_loop): Remove.
* config/i386/i386.c (x86_use_loop): Remove.
	* config/i386/i386.h (x86_use_loop): Remove extern decl.
	(TARGET_USE_LOOP): Remove.
	* config/i386/i386.md (doloop_end, doloop_end_internal): Remove.
	Also remove related define_splits.

From-SVN: r100618
2005-06-05 10:58:34 +00:00
Dorit Nuzman
88088c0396 tree-flow.h (stmt_ann_d): Move aux to ...
* tree-flow.h (stmt_ann_d): Move aux to ...
        (tree_ann_common_d): ... here.
        * tree-ssa-loop-im.c (LIM_DATA, determine_invariantness_stmt,
        move_computations_stmt, schedule_sm): Update references to
        aux.
        * tree-vectorizer.h (set_stmt_info, vinfo_for_stmt): Likewise.
        * tree-vect-transform.c (vect_create_index_for_vector_ref): Update
        call to set_stmt_info.
        (vect_transform_loop): Likewise.
        * tree-vectorizer.c (new_loop_vec_info, destroy_loop_vec_info):
        Likewise.

        * tree-vect-analyze.c (vect_analyze_scalar_cycles): Made void instead of
        bool.
        (vect_mark_relevant): Takes two additional arguments - live_p and
        relevant_p. Set RELEVANT_P and LIVE_P according to these arguments.
        (vect_stmt_relevant_p): Differentiate between a live stmt and a
        relevant stmt. Return two values = live_p and relevant_p.
        (vect_mark_stmts_to_be_vectorized): Call vect_mark_relevant and
        vect_stmt_relevant_p with additional arguments. Phis are no longer
        put into the worklist (analyzed seperately in analyze_scalar_cycles).
        (vect_determine_vectorization_factor): Also check for LIVE_P, because a
        stmt that is marked as irrelevant and live, cause it's only used out
        side the loop, may need to be vectorized (e.g. reduction).
        (vect_analyze_operations): Examine phis. Call
        vectorizable_live_operation for for LIVE_P stmts. Check if
        need_to_vectorize.
        (vect_analyze_scalar_cycles): Update documentation. Don't fail
        vectorization - just classify the scalar cycles created by the loop
        phis. Call vect_is_simple_reduction.
        (vect_analyze_loop): Call to analyze_scalar_cycles moved earlier.
        * tree-vect-transform.c (vect_create_index_for_vector_ref): Update
        call to set_stmt_info.
        (vect_get_vec_def_for_operand): Code reorganized - the code that
        classifies the type of use was factored out to vect_is_simple_use.
        (vectorizable_store, vect_is_simple_cond): Call vect_is_simple_use with
        additional arguments.
        (vectorizable_assignment): Likewise. Also make sure the stmt is relevant
        and computes a loop_vec_def.
        (vectorizable_operation, vectorizable_load, vectorizable_condition):
        Likewise.
        (vectorizable_live_operation): New.
        (vect_transform_stmt): Handle LIVE_P stmts.
        * tree-vectorizer.c (new_stmt_vec_info): Initialize the new fields
        STMT_VINFO_LIVE_P and STMT_VINFO_DEF_TYPE.
        (new_loop_vec_info, destroy_loop_vec_info): Also handle phis.
        (vect_is_simple_use): Determine the type of the def and return it
        in a new function argument. Consider vect_reduction_def and
        vect_induction_def, but for now these are not supported.
        (vect_is_simple_reduction): New. Empty for now.
        * tree-vectorizer.h (vect_def_type): New enum type.
        (_stmt_vec_info): Added new fields - live and _stmt_vec_info.
        (STMT_VINFO_LIVE_P, STMT_VINFO_DEF_TYPE): New accessor macros.
        (vect_is_simple_use): New arguments added to function declaration.
        (vect_is_simple_reduction): New function declaration.
        (vectorizable_live_operation): New function declaration.

        * tree-vect-analyze.c (vect_can_advance_ivs_p): Add debug printout.
        (vect_can_advance_ivs_p): Likewise.
        * tree-vect-transform.c (vect_update_ivs_after_vectorizer): Likewise.

From-SVN: r100617
2005-06-05 09:54:20 +00:00
Eric Christopher
57049d399a mips.c (mips_rtx_costs): Remove unused variable.
2005-06-05  Eric Christopher  <echristo@redhat.com>

	* config/mips/mips.c (mips_rtx_costs): Remove unused variable.

From-SVN: r100613
2005-06-05 08:12:04 +00:00
Hans-Peter Nilsson
f972cae4b6 re PR target/21914 (mmix-knuth-mmixware testsuite failure: compile/20030703-1.c)
PR target/21914
	* config/mmix/mmix.md ("*movdicc_real_foldable")
	("*movdfcc_real_foldable", "*bCC_foldable")
	("*bCC_inverted_foldable"): Specify DImode for register being
	compared.

From-SVN: r100612
2005-06-05 07:54:50 +00:00
Dale Johannesen
1c3250edc2 20050603-1.c: New.
2005-06-04  Dale Johannesen  <dalej@apple.com>

        * gcc.c-torture/execute/20050603-1.c:  New.
        * gcc.c-torture/execute/20050603-2.c:  New.
        * gcc.dg/20050603-3.c:  New.

From-SVN: r100611
2005-06-05 01:22:31 +00:00
GCC Administrator
c943b01eaf Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r100609.2
2005-06-05 00:16:12 +00:00
Tobias Schlüter
68193f9bdd configure.in: Fix typo in handling of --with-mpfr-dir.
* configure.in: Fix typo in handling of --with-mpfr-dir.
	* configure: Regenerate.

From-SVN: r100605
2005-06-05 00:30:56 +02:00
Tobias Schlüter
2d6ea0b427 Add PR to ChangeLog
From-SVN: r100604
2005-06-05 00:22:39 +02:00
Tobias Schlüter
8e4005784d re PR fortran/19195 (gfortran: ICE in final_scan_insn, at final.c:1843)
fortran/
2005-06-04  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>
	Erik Schnetter  <schnetter@aei.mpg.de>

	PR fortran/19195
	* trans.c (gfc_get_backend_locus): Remove unnecessary adjustment,
	remove FIXME comment.

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

	PR fortran/19195
	* gfortran.dg/debug_1.f90: New test.

Co-Authored-By: Erik Schnetter <schnetter@aei.mpg.de>

From-SVN: r100603
2005-06-05 00:20:58 +02:00
Roger Sayle
579e4a82ec reg-stack.c (struct block_info_def): Correct grammar typo.
* reg-stack.c (struct block_info_def): Correct grammar typo.
	(compensate_edge): Clean-up.  Perform as little work as possible
	when src and dest stacks match.  Avoid modifying block_info.
	Reorder and simplify assertion checks.  Avoid unnecessary copying
	of regstack structure.
	(convert_regs_1): Set the done flag here...
	(convert_regs_2): ... instead of here.

From-SVN: r100602
2005-06-04 22:05:35 +00:00
Dale Johannesen
6d0a809119 rs6000.c (no_global_regs_above): New.
2005-06-04  Dale Johannesen  <dalej@apple.com>

        * config/rs6000/rs6000.c (no_global_regs_above): New.
        (rs6000_emit_prologue):  Use it; cosmetic formatting fixes.
        (rs6000_emit_epilogue):  Use it; cosmetic formatting fixes.
        (rs6000_conditional_register_usage): Don't put Darwin PIC
        register in global_regs.
        (rs6000_stack_info):  Don't set lr_save_p just because Darwin
        PIC reg used.
        (rs6000_emit_prologue):  Save LR in R0 around Darwin PIC setup,
        if not done by lr_save_p.
        * config/rs6000/rs6000.md (insnv1_internal1):  Back out 05-18 patch.
        Use rotate instead of ashift.
        (call_indirect_nonlocal_sysv):  Prefer CTR to LR.
        (call_value_indirect_nonlocal_sysv):  Ditto.

From-SVN: r100601
2005-06-04 21:32:40 +00:00
Jan Hubicka
d71cc23f71 cgraphunit.c (cgraph_reset_node): Break out from ...
* cgraphunit.c (cgraph_reset_node): Break out from ...
	(cgraph_finalize_function): ... here.
	(cgraph_finalize_compilation_unit): Reset nodes where backend
	removed the body.

From-SVN: r100599
2005-06-04 20:23:13 +00:00
Richard Henderson
0f1341c792 re PR target/21888 (bootstrap failure with linker relaxation enabled)
PR target/21888
        * config/alpha/alpha.c (alpha_align_insns): Don't insert nops
        until we've passed initial ldgp.

From-SVN: r100596
2005-06-04 12:23:53 -07:00
Daniel Berlin
833b3afe49 cfgexpand.c (expand_one_var): Use DECL_HAS_VALUE_EXPR_P.
2005-06-01  Daniel Berlin  <dberlin@dberlin.org>

	* cfgexpand.c (expand_one_var): Use DECL_HAS_VALUE_EXPR_P.
	* dwarf2out.c (loc_descriptor_from_tree_1): Ditto.
	* expr.c (expand_var): Ditto.
	* function.c (gimplify_parameters): Use SET_DECL_VALUE_EXPR too.
	* gimplify.c (gimplify_decl_expr): Ditto.
	(gimplify_expr): Ditto.
	* tree-mudflap.c (mf_decl_eligible_p): Use DECL_HAS_VALUE_EXPR_P.
	* tree.c (value_expr_for_decl): New.
	(print_value_expr_statistics): New.
	(init_ttree): Init value_expr_for_decl.
	(decl_value_expr_lookup): New.
	(decl_value_expr_insert): Ditto.
	(copy_node_stat): Copy DECL_VALUE_EXPR status.
	* tree.h (DECL_VALUE_EXPR): Use hashtable.
	(SET_DECL_VALUE_EXPR): New.
	(DECL_HAS_VALUE_EXPR_P): New.

From-SVN: r100592
2005-06-04 17:22:21 +00:00
Steven Bosscher
610d24786d lcm.c: Move all mode-switching related functions from here...
* lcm.c: Move all mode-switching related functions from here...
	* mode-switching.c: ...to this new file.
	* doc/passes.texi: Update accordingly.

	* basic-block.h (label_value_list): Remove extern decl.
	* cfgrtl.c (label_value_list): Remove.
	(can_delete_label_p): Don't look at it.
	* cfgcleanup.c (cleanup_cfg): Don't free it.

	* common.opt: Don't refer to non-existing flag_alias_check.

From-SVN: r100591
2005-06-04 17:07:57 +00:00
David Edelsohn
4736115ed4 * config/rs6000/aix52.h (ASM_CPU_SPEC): Add power5.
From-SVN: r100589
2005-06-04 11:35:50 -04:00
Kazu Hirata
f995dcfefe function.c (prologue, [...]): Change their types to VEC(int,heap)*.
* function.c (prologue, epilogue, sibcall_epilogue): Change
	their types to VEC(int,heap)*.
	(free_after_compilation): Free the three vectors above.
	(init_function_for_compilation, record_insns, contains,
	prologue_epilogue_contains, sibcall_epilogue_contains,
	reposition_prologue_and_epilogue_notes): Use VEC instead of
	VARRAY.  (init_function_once): Remove.
	* function.h: Remove the prototype for init_function_once.
	* toplev.c (backend_init): Don't call init_function_once.

From-SVN: r100588
2005-06-04 14:02:35 +00:00
Anthony Green
4226398ba7 Update copyright year.
From-SVN: r100585
2005-06-04 11:39:12 +00:00
Anthony Green
15f1298bf1 URLClassLoader.java: import gnu.gcj.Core, and gnu.java.net.protocol.core.CoreInputStream.
2005-06-04  Anthony Green  <green@redhat.com>

        * java/net/URLClassLoader.java: import gnu.gcj.Core,
        and gnu.java.net.protocol.core.CoreInputStream.
        (CureURLLoader): New class.
        (CoreResource): New class.
        (addURLImpl): Add special treatment for the "core" protocol.
        * gnu/gcj/natCore.cc (find): New method.
        * gnu/gcj/Core.java (find): New method.

From-SVN: r100582
2005-06-04 11:23:29 +00:00
Jan Hubicka
e0342c26d3 predict.c (tree_predict_edge): Do not predict entry edge and single succestor edge.
* predict.c (tree_predict_edge): Do not predict entry edge and
	single succestor edge.

From-SVN: r100581
2005-06-04 11:00:57 +00:00
Tobias Schlüter
29405f9481 match.c (match_forall_iterator): Don't immediately give error if '=' is not followed by an expression.
fortran/
	* match.c (match_forall_iterator): Don't immediately give error if '='
	is not followed by an expression.
testsuite/
	* gfortran.dg/forall_1.f90: New test.

Co-Authored-By: Erik Edelmann <erik.edelmann@iki.fi>

From-SVN: r100580
2005-06-04 12:35:00 +02:00
Tobias Schlüter
ab21e2722d array.c (gfc_match_array_constructor): Disallow empty array constructor.
fortran/
2005-06-03  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>
	Erik Edelmann  <erik.edelmann@iki.fi>

	* array.c (gfc_match_array_constructor): Disallow empty array
	constructor.
testsuite/
2005-06-04  Erik Edelmann  <erik.edelmann@iki.fi>

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

From-SVN: r100579
2005-06-04 12:26:57 +02:00