comdat1.C
Jakub Jelinek
jakub@redhat.com
Tue Feb 6 00:32:00 GMT 2001
On Mon, Feb 05, 2001 at 10:33:53PM -0800, Mark Mitchell wrote:
>
> Jason --
>
> In comdat1.C and comdat1-aux.cc, there is a violation of the ODR;
> the local static variable in `f' is named `i' in one place and `k' in
> the other. Is this purposeful?
I wondered about it as well. It would not work once the function is allowed
to be inlined by using mangled name for the local variable.
Jakub
More information about the Gcc
mailing list