[Bug target/31782] Invalid assembly code on initial dollar signs
funto66 at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Feb 4 16:42:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31782
funto66 at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |funto66 at gmail dot com
--- Comment #5 from funto66 at gmail dot com 2011-02-04 16:42:33 UTC ---
I think this is the same bug that I got :
- this code compiles :
#include <stdio.h>
int main(int argc, char* argv[])
{
int $a = 0;
for($a = 0 ; $a < 10 ; $a++)
printf("%d\n", $a);
return 0;
}
- this one doesn't :
#include <stdio.h>
int main(int argc, char* argv[])
{
static const char* $tr = "Hello World !\n";
int i=0;
for(;$tr[i] != '\0' ; i++)
fputc($tr[i], stdout);
return 0;
}
Version used: gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
More information about the Gcc-bugs
mailing list