This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/18750] i386/amd64 -O1 faulty assembly code
- From: "vlad902 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Dec 2004 03:21:16 -0000
- Subject: [Bug c/18750] i386/amd64 -O1 faulty assembly code
- References: <20041201031908.18750.vlad902@gmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From vlad902 at gmail dot com 2004-12-01 03:21 -------
Created an attachment (id=7647)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7647&action=view)
Test case
> gcc -v -save-temps mutex.c
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.2 [FreeBSD] 20040728
/usr/libexec/cc1 -E -quiet -v -D_LONGLONG mutex.c -o mutex.i
ignoring duplicate directory "/usr/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/include
End of search list.
/usr/libexec/cc1 -fpreprocessed mutex.i -quiet -dumpbase mutex.c -auxbase
mutex -version -o mutex.s
GNU C version 3.4.2 [FreeBSD] 20040728 (i386-fbsdproj-freebsd)
compiled by GNU C version 3.4.2 [FreeBSD] 20040728.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
/usr/bin/as -v -o mutex.o mutex.s
GNU assembler version 2.15 [FreeBSD] 2004-05-23 (i386-obrien-freebsd) using BFD
version 2.15 [FreeBSD] 2004-05-23
/usr/bin/ld -V -dynamic-linker /libexec/ld-elf.so.1 /usr/lib/crt1.o
/usr/lib/crti.o /usr/lib/crtbegin.o -L/usr/lib mutex.o -lgcc -lc -lgcc
/usr/lib/crtend.o /usr/lib/crtn.o
GNU ld version 2.15 [FreeBSD] 2004-05-23
Supported emulations:
elf_i386_fbsd
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18750