[Bug c++/45303] Compile error when not using -ftree-ter

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Aug 17 10:16:00 GMT 2010



------- Comment #5 from jakub at gcc dot gnu dot org  2010-08-17 10:16 -------
For inline-asm?  Certainly not.  Consider much simpler:
void foo (void)
{
  int i;
  i = 6;
  asm volatile ("" : : "i" (i));
}
which will work with -O and above, but not for -O0, for exactly the same
reason.


-- 


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



More information about the Gcc-bugs mailing list