fix for the multiple-decl problem - please test

Andrew Pinski pinskia@gmail.com
Sat Dec 27 19:21:00 GMT 2008


On Sat, Dec 27, 2008 at 1:45 PM, Daniel Franke <franke.daniel@gmail.com> wrote:
> On Saturday 27 December 2008 19:34:01 you wrote:
>> >
>> > With -O1, there is no note about an "invalid sum of incoming
>> > frequencies".
>> > Does this ring a bell anywhere? Richard?
>>
>> Yes the p var_decl was not merged so the middle-end thinks they are
>> two different variables and just props the first value.
>
> Hi Andrew,
>
> is there anything I can or should do about it?

Yes global variables also have the multiple-decl issue and not just
functions :).  You need to merge them too.

Thanks,
Andrew Pinski



More information about the Fortran mailing list