https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54068
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|NEW |RESOLVED --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- 251901a027bf (Jakub Jelinek 2014-02-06 11:54:20 +0100 6619) /* Caller and callee must agree on the calling convention, so 251901a027bf (Jakub Jelinek 2014-02-06 11:54:20 +0100 6620) checking here just optimize means that with 251901a027bf (Jakub Jelinek 2014-02-06 11:54:20 +0100 6621) __attribute__((optimize (...))) caller could use regparm convention 251901a027bf (Jakub Jelinek 2014-02-06 11:54:20 +0100 6622) and callee not, or vice versa. Instead look at whether the callee 251901a027bf (Jakub Jelinek 2014-02-06 11:54:20 +0100 6623) is optimized or not. */ So dup of bug 60062. *** This bug has been marked as a duplicate of bug 60062 ***