powerpc64-linux-gcc -c -o any-file.o any-file.S 
 
results in 
 
any-file.S: Assembler messages: 
any-file.S:1: Warning: line numbers must be positive; line number 0 rejected 
 
as the pre-processed file looks like 
 
# 1 "any-file.S" 
# 0 "<built-in>" 
# 1 "<command line>" 
# 1 "any-file.S" 
... 
 
This regression is caused by 
 
http://gcc.gnu.org/ml/gcc-patches/2005-04/msg02132.html

-- 
           Summary: line number 0 for <built-in> causes GAS to complain
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: preprocessor
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: segher at kernel dot crashing dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-linux
  GCC host triplet: powerpc-linux
GCC target triplet: powerpc64-linux


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

Reply via email to