This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/12021] New: warning "cpu" and "machine" reasserted for every file


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: warning "cpu" and "machine" reasserted for every file
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dhazeghi at yahoo dot com
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: m68k-netbsdelf

With gcc mainline and a cross-compiler to m68k-netbsdelf, compiling any file yields:

bash-2.04$ m68k-netbsdelf1.6.1-gcc foo.c 
<built-in>:72:9: warning: "cpu" re-asserted
<built-in>:73:13: warning: "machine" re-asserted

bash-2.04$ cat foo.i 
# 1 "foo.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "foo.c"
int main()
{ return 0;}

Aside from being annoying, this means native bootstraps will fail with -Werror.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]