This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/31782] Invalid assembly code on initial dollar signs
- From: "funto66 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 4 Feb 2011 16:42:50 +0000
- Subject: [Bug target/31782] Invalid assembly code on initial dollar signs
- Auto-submitted: auto-generated
- References: <bug-31782-4@http.gcc.gnu.org/bugzilla/>
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)