------- Additional Comments From drangon dot mail at gmail dot com 2007-09-16 06:47 ------- the testcase t1.c t2.s t2.cpp t2.s has upload as attachment /c/tools/target.old/bin/as.exe is the native x86_64-pc-mingw32 execute file compile from CVS head by cross compiler. /c/tools/target/bin/as.exe is like the above, but comment out the line 780, remove the "know( xxxx < sizeof(long) );" code.
the running result is : [EMAIL PROTECTED] /c/temp/tmingw $ /c/tools/target/bin/x86_64-pc-mingw32-gcc.exe -S t1.c [EMAIL PROTECTED] /c/temp/tmingw $ /c/tools/target.old/bin/as.exe t1.s -o t1.o t1.s: Assembler messages: t1.s:2: Internal error! Assertion failure in obj_coff_endef at ../../src/gas/config/obj-coff.c line 780. Please report this bug. [EMAIL PROTECTED] /c/temp/tmingw $ /c/tools/target/bin/as.exe t1.s -o t1.o [EMAIL PROTECTED] /c/temp/tmingw $ /c/tools/target/bin/x86_64-pc-mingw32-g++.exe -S t2.cpp [EMAIL PROTECTED] /c/temp/tmingw $ /c/tools/target.old/bin/as.exe t2.s -o t2.o t2.s: Assembler messages: t2.s:2: Internal error! Assertion failure in obj_coff_endef at ../../src/gas/config/obj-coff.c line 780. Please report this bug. [EMAIL PROTECTED] /c/temp/tmingw $ /c/tools/target/bin/as.exe t2.s -o t2.o t2.s: Assembler messages: t2.s:67: Error: unknown pseudo-op: `.hidden' "../../src/gas/config/obj-coff.c line 780" seems to be binutils's bug. but for "unknown pseudo-op: `.hidden'", it seems that g++ generate wrong asm, -- http://sourceware.org/bugzilla/show_bug.cgi?id=5035 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils