Re: [Patch, Fortran] PR 45044 - Named common: Different size diagnostics

2011-08-30 Thread Steve Kargl
On Tue, Aug 30, 2011 at 11:31:38PM +0200, Tobias Burnus wrote: > Named common blocks are required to have the same size in all files and > scopes. gfortran was warning before when the size was extended, but not > when a smaller common block followed a larger common block with the same > name. >

[Patch, Fortran] PR 45044 - Named common: Different size diagnostics

2011-08-30 Thread Tobias Burnus
Named common blocks are required to have the same size in all files and scopes. gfortran was warning before when the size was extended, but not when a smaller common block followed a larger common block with the same name. This patch adds now a non-equal check and also mentions the byte size.