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 inline-asm/34833] rejects "i"(&var) with -fpic -m32



------- Comment #4 from pinskia at gcc dot gnu dot org  2008-01-19 12:08 -------
Well with x86_64, PIC addressing global variables is simpler as you have access
to the rip register.  Try this on any other target, you will get a rejection.


-- 


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


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