[Bug target/39496] [4.2/4.3/4.4 Regression] GCC uses non-standard calling conventions for static functions with -O0.

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Mar 18 21:56:00 GMT 2009



------- Comment #4 from pinskia at gcc dot gnu dot org  2009-03-18 21:56 -------
  /* Use register calling convention for local functions when possible.  */
  if (decl && TREE_CODE (decl) == FUNCTION_DECL
      && !profile_flag)


That should include !optimize I think.


-- 


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



More information about the Gcc-bugs mailing list