This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
FW: target/3023: Failure of test gcc.dg/asm-fs-1.c on cygwin
- To: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Subject: FW: target/3023: Failure of test gcc.dg/asm-fs-1.c on cygwin
- From: "Billinghurst, David (CRTS)" <David dot Billinghurst at riotinto dot com>
- Date: Fri, 1 Jun 2001 05:35:10 -0000
This is the last cygwin specific failure in gcc 3.0. Any ideas?
... and someone (and I doubt it will be me) needs to fix g++ EH.
> -----Original Message-----
> From: Billinghurst, David (CRTS)
> Sent: Friday, 1 June 2001 15:18
> To: nobody@gcc.gnu.org
> Cc: gcc-prs@gcc.gnu.org; gcc-bugs@gcc.gnu.org
> Subject: target/3023: Failure of test gcc.dg/asm-fs-1.c on cygwin
>
>
> >Number: 3023
> >Category: target
> >Synopsis: Failure of test gcc.dg/asm-fs-1.c on cygwin
> >Confidential: no
> >Severity: serious
> >Priority: medium
> >Responsible: unassigned
> >State: open
> >Class: sw-bug
> >Submitter-Id: net
> >Arrival-Date: Thu May 31 22:26:00 PDT 2001
> >Closed-Date:
> >Last-Modified:
> >Originator: David Billinghurst
> >Release: unknown-1.0
> >Organization:
> >Environment:
> i686-pc-cygwin
> >Description:
> The failure of test gcc.dg/asm-fs-1.c on cygwin is a regression from
> gcc-2.95.
>
> FAIL: gcc.dg/asm-fs-1.c scan-assembler-not \*_bar
>
> The assembler output
>
> .file "asm-fs-1.c"
> ...section .text$*_bar,"x"
> .align 16
> ...globl _bar
> .def _bar; .scl 2; .type 32; .endef
> _bar:
> pushl %ebp
> movl %esp, %ebp
> popl %ebp
> ret
> ...globl _baz
> ...section .data$*_baz,"w"
> .align 4
> _baz:
> .long 3
>
>
> With gcc version 2.95.3-4 (cygwin special) I get
>
> .file "asm-fs-1.c"
> gcc2_compiled.:
> .file "asm-fs-1.c"
> gcc2_compiled.:
> ___gnu_compiled_c:
> ..text
> .align 4
> ..globl _bar
> .def _bar; .scl 2; .type 32; .endef
> _bar:
> pushl %ebp
> movl %esp,%ebp
> L2:
> movl %ebp,%esp
> popl %ebp
> ret
> ..globl _baz
> ..data
> .align 4
> _baz:
> .long 3
>
>
> Alexandre Oliva said:
>
> It tests that the `*' doesn't make it to the output ssembly. Since it
> does, the test fails, indicating a bug in the Cygwin output macros.
>
> > .section .text$*_bar,"x"
> ^
> > .section .data$*_baz,"w"
> ^
>
>
>
>
> >How-To-Repeat:
> gcc -S gcc/testsuite/gcc.dg/asm-fs-1.c
> examine asm-fs-1.s
> >Fix:
>
> >Release-Note:
> >Audit-Trail:
> >Unformatted:
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple