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/23359] New: Many Solaris 10/x86 testsuite failures with native as: use of .word


Between 20050627 and 20050805, several C and C++ testcases begain to fail
on Solaris 10/x86 with the native as, e.g.

+FAIL: g++.old-deja/g++.brendan/crash63.C (test for excess errors)

Excess errors:
Assembler: crash63.C
	"/var/tmp//ccnloMW3.s", line 22 : Illegal mnemonic
	"/var/tmp//ccnloMW3.s", line 22 : Syntax error

Line 22 has

        .word   0x0b0f

which is from i386.md (trap).

This was introduced by this patch:

2005-07-21  Andrew Pinski  <pinskia@physics.uc.edu>

        * config/i386/i386.md (trap): Use "".word/t0x0b0f" instead of ud2.

http://gcc.gnu.org/ml/gcc-patches/2005-07/msg01347.html

(Btw., the ChangeLog has two typos: double leading " and /t instead of \t)

One should be able to use .value instead (cf. ASM_SHORT in att.h, but
ASM_SHORT seems completely unused right now!?).  I've no idea how to do
this in the .md file, though.

Environment:
System: SunOS erebus 5.10 LAE_Preview i86pc i386 i86pc
Architecture: i86pc

	
host: i386-pc-solaris2.10
build: i386-pc-solaris2.10
target: i386-pc-solaris2.10
configured with: /vol/gnu/src/gcc/gcc-dist/configure --prefix=/vol/gcc --with-local-prefix=/vol/gcc --disable-nls --disable-libssp --disable-multilib --with-gmp-dir=/vol/gnu/obj/gmp-4.1.3 --with-mpfr-dir=/vol/gnu/obj/gmp-4.1.3/mpfr --enable-languages=c,c++,f95,java,objc,ada --disable-libmudflap

How-To-Repeat:
Bootstrap mainline as above.

-- 
           Summary: Many Solaris 10/x86 testsuite failures with native as:
                    use of .word
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ro at techfak dot uni-bielefeld dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i386-pc-solaris2.10
  GCC host triplet: i386-pc-solaris2.10
GCC target triplet: i386-pc-solaris2.10


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


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