This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/55646] Array of data as argument
- From: "bratsinot at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 11 Dec 2012 14:07:21 +0000
- Subject: [Bug c/55646] Array of data as argument
- Auto-submitted: auto-generated
- References: <bug-55646-4@http.gcc.gnu.org/bugzilla/>
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.