]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/32302 (Incorrect result with -O2)
authorPaul Thomas <pault@gcc.gnu.org>
Thu, 14 Jun 2007 13:04:05 +0000 (13:04 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Thu, 14 Jun 2007 13:04:05 +0000 (13:04 +0000)
commitd8158369c690bbfc758415098c8af499dfebdad7
tree5643e580c551f0ac4b115d191271062314f56bdc
parent77a1416d57d6518ba1cc81630625dfdc97053367
re PR fortran/32302 (Incorrect result with -O2)

2007-06-14  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/32302
* trans-common.c (build_common_decl): If resizing of common
decl is needed, update the TREE_TYPE.

2007-06-14  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/32302
* gfortran.dg/common_resize_1.f90: New test.

From-SVN: r125708
gcc/fortran/ChangeLog
gcc/fortran/trans-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/common_resize_1.f [new file with mode: 0644]