This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: BLOCK DATA ?


Arg, patch retracted.

Tobias Schlüter wrote:
>>+       static int serial = 0;
>>+       char name[GFC_MAX_SYMBOL_LEN+1];
>>
>>+       snprintf (name, GFC_MAX_SYMBOL_LEN, "_BLOCK_DATA_%d", serial++);

This will of course break when there are BLOCK DATAs in different files, it's
still an enhancement over the current situation, but I don't think it's worth it.

- Tobi


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