This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, Fortran, committed] PR 47180: [OOP] EXTENDS_TYPE_OF returns the wrong result for disassociated polymorphic pointers


On Wed, Jan 5, 2011 at 10:11 AM, Janus Weil <janus@gcc.gnu.org> wrote:
> Hi all,
>
> I just committed as obvious another OOP wrong-code fix:
>
> http://gcc.gnu.org/viewcvs?view=revision&revision=168524
>
> It is very much a follow-up to the patch that I committed earlier
> today: While the earlier patch fixed the dynamic type of unallocated
> allocatables, this one does the same for disassociated pointers. For
> both the dynamic type equals the declared type.
>

This breaks the bootstrap:

http://gcc.gnu.org/ml/gcc-regression/2011-01/msg00060.html

../../src-trunk/gcc/fortran/trans-expr.c: In function 'gfc_trans_class_assign':
../../src-trunk/gcc/fortran/trans-expr.c:6138:42: error: 'vtab' may be
used uninitialized in this function [-Werror=uninitialized]
cc1: all warnings being treated as errors

make[6]: *** [fortran/trans-expr.o] Error 1



-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]