[Bug target/12021] warning "cpu" and "machine" reasserted for every file
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Aug 22 21:33:00 GMT 2003
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
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-08-22 21:32 -------
Dara,
Can you try this patch (which should fix it, the problem is that m68k.h asserts it in
TARGET_CPU_CPP_BUILTINS while netbsd(-elf).h asserts it also in TARGET_OS_CPP_BUILTINS which
is wrong):
Index: netbsd-elf.h
============================================================
=======
RCS file: /cvs/gcc/gcc/gcc/config/m68k/netbsd-elf.h,v
retrieving revision 1.16
diff -u -d -b -w -u -p -r1.16 netbsd-elf.h
--- netbsd-elf.h 21 Aug 2003 01:03:37 -0000 1.16
+++ netbsd-elf.h 22 Aug 2003 21:30:33 -0000
@@ -31,8 +31,6 @@ Boston, MA 02111-1307, USA. */
builtin_define ("__m68k__"); \
builtin_define ("__SVR4_ABI__"); \
builtin_define ("__motorola__"); \
- builtin_assert ("cpu=m68k"); \
- builtin_assert ("machine=m68k"); \
} \
while (0)
Index: netbsd.h
============================================================
=======
RCS file: /cvs/gcc/gcc/gcc/config/m68k/netbsd.h,v
retrieving revision 1.14
diff -u -d -b -w -u -p -r1.14 netbsd.h
--- netbsd.h 21 Aug 2003 17:27:23 -0000 1.14
+++ netbsd.h 22 Aug 2003 21:30:33 -0000
@@ -6,8 +6,6 @@
builtin_define_std ("m68k"); \
builtin_define_std ("mc68000"); \
builtin_define_std ("mc68020"); \
- builtin_assert ("cpu=m68k"); \
- builtin_assert ("machine=m68k"); \
} \
while (0)
More information about the Gcc-bugs
mailing list