>Submitter-Id:  net
>Originator:    Bill Allombert <[EMAIL PROTECTED]>
>Organization:  The Debian Project
>Confidential:  no
>Synopsis:      
>Severity:      non-critical
>Priority:      low
>Category:      c
>Class:         change-request
>Release:       3.2.1 (Debian) (Debian unstable)
>Environment:
System: Debian GNU/Linux (unstable)
Architecture: i686
host: i386-linux
Configured with: /home/packages/gcc/3.2/gcc-3.2-3.2.1ds5/src/configure -v 
--enable-languages=c,c++,java,f77,proto,objc,ada --prefix=/usr 
--mandir=/usr/share/man --infodir=/usr/share/info 
--with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared --with-system-zlib 
--enable-nls --without-included-gettext --enable-__cxa_atexit 
--enable-clocale=gnu --enable-java-gc=boehm --enable-objc-gc i386-linux
>Description:
[ Reported to the Debian BTS as report #121269.
  Please CC [EMAIL PROTECTED] on replies.
  Log of report can be found at http://bugs.debian.org/121269 ]

this changed from gcc-2.95 to gcc-3.x. Even when using -Wall,  
-fno-dollars-in-identifiers doesn't warn about dollars in identifiers  
and does not give any error messages.  
  
$ gcc-2.95 -fno-dollars-in-identifiers bug-121269.c   
bug-121269.c:1: `$' in identifier  
bug-121269.c: In function `main':  
bug-121269.c:4: `$' in identifier  
bug-121269.c:4: `$' in identifier  
bug-121269.c:4: `$' in identifier  
bug-121269.c:6: `$' in identifier  
  
$ gcc-3.2 -fno-dollars-in-identifiers bug-121269.c   
/tmp/ccpP3lr8.s: Assembler messages:  
/tmp/ccpP3lr8.s:15: Error: suffix or operands invalid for `mov'  
/tmp/ccpP3lr8.s:17: Error: suffix or operands invalid for `cmp'  
/tmp/ccpP3lr8.s:26: Error: suffix or operands invalid for `inc'  
  
-------------  
int $b;  
main()  
{  
  for($b=0;$b<10;$b++)  
  {  
    printf("%d\n",$b);  
  }  
}  
-------------  
>How-To-Repeat:
        
>Fix:
        


Reply via email to