This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/35034] [4.3 Regression] assembler errors when building gcc/unwind-*.c at -O0 or -O1
- From: "aldot at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Jan 2008 15:05:08 -0000
- Subject: [Bug c/35034] [4.3 Regression] assembler errors when building gcc/unwind-*.c at -O0 or -O1
- References: <bug-35034-11811@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from aldot at gcc dot gnu dot org 2008-01-31 15:05 -------
Works with gcc-4.1.2 (if one prunes the 'static' of the weakref; They were
required to be public back then):
$ gcc-4.1 pr35034-1.c pr35034-2.c -O0 -S -o - -combine -pipe
.file "pr35034-1.c"
.text
.globl size_of_encoded_value
.type size_of_encoded_value, @function
size_of_encoded_value:
pushl %ebp
movl %esp, %ebp
popl %ebp
ret
.size size_of_encoded_value, .-size_of_encoded_value
.weakref __gthrw_pthread_once,pthread_once
.ident "GCC: (GNU) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)"
.section .note.GNU-stack,"",@progbits
--
aldot at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |4.1.2
Summary|assembler errors when |[4.3 Regression] assembler
|building gcc/unwind-*.c at -|errors when building
|O0 or -O1 |gcc/unwind-*.c at -O0 or -O1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35034