http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58709
--- Comment #3 from Andreas Schwab sch...@linux-m68k.org ---
The warning is target independent and only depends on the type. You get the
same warning for int vs long even if they are the same size.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58709
Paul Pluzhnikov ppluzhnikov at google dot com changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58709
--- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org ---
I think the warning is correct as it is not promoted to int in the function
call. This is the same reason why bitfields warn when passing them for printf
too.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58709
--- Comment #2 from Paul Pluzhnikov ppluzhnikov at google dot com ---
(In reply to Andrew Pinski from comment #1)
I think the warning is correct as it is not promoted to int in the function
call.
How is it passed then?
I see:
movl