This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: BLOCK DATA ?
- From: Tobias Schlüter <tobias dot schlueter at physik dot uni-muenchen dot de>
- To: Tobias Schlüter <tobias dot schlueter at physik dot uni-muenchen dot de>
- Cc: Salvatore Filippone <sfilippone at uniroma2 dot it>,fortran at gcc dot gnu dot org, patch <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 30 Aug 2004 14:39:45 +0200
- Subject: Re: BLOCK DATA ?
- References: <1093864861.2750.4.camel@euler> <41331AD7.3000301@physik.uni-muenchen.de> <41331C56.9030700@physik.uni-muenchen.de>
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