This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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: GCC 4.6.0 Status Report (2011-01-26)


Dear Tobias,


> 44945 ?[4.6] -fwhole-file DECL issue (wrong-code)
> If the MODULE is in a different file but the module is USEd multiple times,
> not only one but multiple decls are generated, which is wrong.
> Quick solution 1: Make sure that a gsym is generated in trans*.c for the
> first USEd symbol, which is then reused to get a common backend decl.
> Solution 2: Save the information already early and thus prevent reading a
> module file multiple times.
> Solution 1 should be considered for 4.6 as Solution 2 is more complicated
> and invasive.

Are you working on this?  I have studied the problem over the last day
or so and know when, how and where to intervene in order to implement
solution 1.  I would be happy to give it a shot.

Cheers

Paul


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