Re: [Patch, Fortran] PR51056 - fix __vtab USE warnings

2012-01-19 Thread Paul Richard Thomas
Dear Tobias, This patch is OK for trunk. I have made a lot of progress on PR51870; class scalars work correctly but I need to extend the fix to class arrays. It requires a complete rewrite of the parts of gfc_trans_allocate that are associated with class allocation and initialization. The resul

[Patch, Fortran] PR51056 - fix __vtab USE warnings

2012-01-19 Thread Tobias Burnus
-Wall was warning about explicitly imported but not used __vtab, __def_init etc. variables. Build and regtested on x86-64-linux OK for the trunk? Tobias 2012-01-20 Tobias Burnus Janus Weil PR fortran/51056 * module.c (load_needed, read_module): Don't mark __vtab etc. as use_only.