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 c/16551] -O2 (-funit-at-a-time) option fails code generation


------- Additional Comments From bangerth at dealii dot org  2004-07-14 20:28 -------
The compiler can't know that you use the static variable in your 
inline assembler. Since it is static and assumedly unused, it 
completely gets rid of it. 
 
You therefore have to make it as used, using the appropriate attribute 
on its definition. 
 
W. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


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