https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50818

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-07-23
     Ever confirmed|0                           |1
           Severity|normal                      |enhancement

--- Comment #3 from Uroš Bizjak <ubizjak at gmail dot com> ---
I was looking into this PR a bit. I'm afraid that this PR is unsolvable with
existing infrastructure, I didn't find a way to access current function
attributes from ix86_build_builtin_va_list. After this is possible, it is just
a matter of changing following line in ix86_build_builtin_va_list:

      return (ix86_abi == MS_ABI) ? ms_va_list : sysv_va_list;

to

      return (ix86_function_abi (fndecl) == MS_ABI) ? ms_va_list :
sysv_va_list;

Reply via email to