From mboxrd@z Thu Jan 1 00:00:00 1970 From: David.Billinghurst@riotinto.com To: gcc-gnats@gcc.gnu.org Subject: target/3023: Failure of test gcc.dg/asm-fs-1.c on cygwin Date: Thu, 31 May 2001 22:26:00 -0000 Message-id: <20010601051733.1919.qmail@sourceware.cygnus.com> X-SW-Source: 2001-05/msg01077.html List-Id: >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: