[Bug c/26921] long long bit fields are passed to variadic functions as longs

2006-03-29 Thread bugzilla at hburch dot com
--- Comment #3 from bugzilla at hburch dot com 2006-03-29 14:59 --- #include struct s { long long int a : 33; }; struct s foo = {0}; int main(void) { printf ("%lld\n", foo.a); return 0; } produces the following output using "gcc -Wall -o

[Bug c/26921] long long bit fields are passed to variadic functions as longs

2006-03-29 Thread bugzilla at hburch dot com
--- Comment #2 from bugzilla at hburch dot com 2006-03-29 14:54 --- Created an attachment (id=11151) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11151&action=view) Bundle for Mac OS X -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26921

[Bug c/26921] long long bit fields are passed to variadic functions as longs

2006-03-29 Thread bugzilla at hburch dot com
--- Comment #1 from bugzilla at hburch dot com 2006-03-29 14:54 --- Created an attachment (id=11150) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11150&action=view) Bundle for Linux -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26921

[Bug c/26921] New: long long bit fields are passed to variadic functions as longs

2006-03-29 Thread bugzilla at hburch dot com
Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bugzilla at hburch dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26921