------- Comment #8 from dominiq at lps dot ens dot fr  2008-09-12 21:31 -------
> If I recall correctly, the commons do not need to have the same size 

5.7.2.5 Differences between named common and blank common (F2008, 5.5.2.4 for
f95)

...

• Named common blocks of the same name shall be of the same size in all scoping
units of a program in which they appear, but blank common blocks may be of
different sizes.

For the test in comment #6, the common should be blank one to make the test
valid (detected with 
-Wall).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37486

Reply via email to