This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/55646] Array of data as argument


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

--- Comment #1 from Alexander <bratsinot at gmail dot com> 2012-12-11 14:07:21 UTC ---
If write this:
> static const uint8_t qwe[] = {0xAA,0xBB,0xCC,0x0A};
> fwrite(qwe, 1, 4, stdout);
gcc put data in one piece, something like that:
> qwe.2230:
> 	.byte	-86
> 	.byte	-69
> 	.byte	-52
> 	.byte	10

P.S.S. Sorry for my mistakes, English not my native language.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]