I seeing failures in gcc.dg/cleanup-13.c on x86_64-unknown-linux-gnu and
i686-unknown-linux-gnu with gcc-4.4.3 svn.  E.g.:

FAIL: gcc.dg/cleanup-13.c (test for excess errors)
http://gcc.gnu.org/ml/gcc-testresults/2009-11/msg01708.html

gcc.dg/cleanup-13.c: Assembler messages:
gcc.dg/cleanup-13.c:305: Error: CFI instruction used without previous
.cfi_startproc
compiler exited with status 1

The failure only occurs on certain systems.  E.g. on CFARM gcc14 it does NOT
occur.  However I do see it on nearly every other CFARM i686 & x86_64 box (e.g.
gcc03, gcc09, gcc11, gcc12, gcc13, gcc16, gcc17 all fail).

It probably has to do with older software (gas?)  I seem to recall this came up
before and don't recall whether it was fixed somehow or not.  But the error
does not occur on mainline.

The uname and as --version output on the box it passes is:
Linux gcc14 2.6.26-2-amd64 #1 SMP Sun Jun 21 04:47:08 UTC 2009 x86_64 GNU/Linux
GNU assembler (GNU Binutils for Debian) 2.18.0.20080103

And if it helps, the uname and as --version output on the failing systems is:
Linux gcc03 2.6.12-10-686-smp #1 SMP Fri Nov 18 12:27:41 UTC 2005 i686
GNU/Linux
GNU assembler 2.16.1 Debian GNU/Linux

Linux gcc09 2.6.12-10-686-smp #1 SMP Sat Mar 11 16:41:12 UTC 2006 i686
GNU/Linux
GNU assembler 2.16.1 Debian GNU/Linux

Linux gcc11 2.6.18-6-vserver-amd64 #1 SMP Thu Dec 25 21:35:11 UTC 2008 x86_64
GNU/Linux
GNU assembler 2.17 Debian GNU/Linux

Linux gcc12 2.6.18-6-vserver-amd64 #1 SMP Thu Dec 25 21:35:11 UTC 2008 x86_64
GNU/Linux
GNU assembler 2.17 Debian GNU/Linux

Linux gcc13 2.6.18-6-vserver-amd64 #1 SMP Sun Feb 10 17:55:04 UTC 2008 x86_64
GNU/Linux
GNU assembler 2.17 Debian GNU/Linux

Linux gcc16 2.6.18-6-vserver-amd64 #1 SMP Thu Dec 25 21:35:11 UTC 2008 x86_64
GNU/Linux
GNU assembler 2.17 Debian GNU/Linux

Linux gcc17 2.6.18-6-vserver-amd64 #1 SMP Thu Dec 25 21:35:11 UTC 2008 x86_64
GNU/Linux
GNU assembler 2.17 Debian GNU/Linux


-- 
           Summary: Failure in gcc.dg/cleanup-13.c on older x86 boxes
           Product: gcc
           Version: 4.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ghazi at gcc dot gnu dot org
GCC target triplet: x86_64-unknown-linux-gnu i686-unknown-linux-gnu


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

Reply via email to