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

[Bug middle-end/24332] asm label declaration may be missing aliasing info



------- Comment #1 from pinskia at gcc dot gnu dot org  2005-10-12 16:08 -------
This is a weird case as both are in common space.

If we do the following:
int j asm("i") = 0;
int i = 0;

We cannot assemble the source at all.

I don't know what to say about this case.  Someone else will have to comment on
it.

But IIRC asm("xxx"); just renames the variable and gives no other information
to GCC.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24332


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