]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/33664 (crash on invalid program)
authorPaul Thomas <pault@gcc.gnu.org>
Fri, 12 Oct 2007 16:45:46 +0000 (16:45 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Fri, 12 Oct 2007 16:45:46 +0000 (16:45 +0000)
commit98a36c7ca05d1acbd0a06c43bb0e0b0c4596ed5e
tree23f42943c790dc9910595eb247c54e5f718debe4
parente69f1bad5d88e5a7dc4970f169c7763cba4f6feb
re PR fortran/33664 (crash on invalid program)

2007-10-12  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/33664
* expr.c (gfc_specification_expr): If a function is not
external, intrinsic or pure is an error.  Set the symbol pure
to prevent repeat errors.

2007-10-12  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/33664
* gfortran.dg/impure_spec_expr_1.f90: New test.
* gfortran.dg/char_result_7.f90: Remove illegal test.

From-SVN: r129267
gcc/fortran/ChangeLog
gcc/fortran/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/char_result_7.f90
gcc/testsuite/gfortran.dg/impure_spec_expr_1.f90 [new file with mode: 0644]