This is the mail archive of the gcc@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]

Dot ('.') in label despite having "NO_DOT_IN_LABEL" defined


Hi,

I'm making a backend for the compiler.

In my header I have defined:

    #define NO_DOT_IN_LABEL

Unfortunately it still generated a label for the C code in a function:

    static const char str[1] = "ABCDEFGH\n";

I get the following assembly label output:

  Lstr1.$0

The documentation implies the NO_DOT_IN_LABEL seems to imply
it is for the G++ constructors and destructors.

Is NO_DOT_IN_LABEL applicable for the the C compiler too?

Thanks in advance,
Mike




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