]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/14067 (no warning when character data statement overflows declared...
authorPaul Thomas <pault@gcc.gnu.org>
Mon, 5 Jun 2006 07:45:03 +0000 (07:45 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Mon, 5 Jun 2006 07:45:03 +0000 (07:45 +0000)
commit6690a9e079bf15d086d2805d00fea0e228cd7db9
tree390b7c6a31468417e763f88ebe31b126efc05a4b
parent86ad0dd600b5da40ac5c0ebd8dc230a603d3fce2
re PR fortran/14067 (no warning when character data statement overflows declared size)

2006-06-05  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/14067
* data.c (create_character_intializer): Add warning message
for truncated string.

PR fortran/16943
* symbol.c : Include flags.h.
(gfc_add_type): If a procedure and types are the same do not
throw an error unless standard is less than gnu or pedantic.

PR fortran/20838
* parse.c (parse_do_block): Error if named block do construct
does not have a named enddo.

PR fortran/27655
* check.c (gfc_check_associated): Pick up EXPR_NULL for pointer
as well as target and put error return at end of function.

2006-06-05  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/14067
* gfortran.dg/data_char_1.f90: Add messages for truncated
strings.

PR fortran/16943
* gfortran.dg/func_decl_2.f90: New test.

PR fortran/20838
* gfortran.dg/do_2.f90: New test.

PR fortran/27655
* gfortran.dg/associated_3.f90: New test.

From-SVN: r114385
gcc/fortran/ChangeLog
gcc/fortran/check.c
gcc/fortran/data.c
gcc/fortran/parse.c
gcc/fortran/symbol.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/associated_3.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/data_char_1.f90
gcc/testsuite/gfortran.dg/do_2.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/func_decl_2.f90 [new file with mode: 0644]