This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/24831] New: [4.1 regression] gthr-dce.h:77: error: expected expression before '{' token
- From: "danglin at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Nov 2005 04:24:24 -0000
- Subject: [Bug target/24831] New: [4.1 regression] gthr-dce.h:77: error: expected expression before '{' token
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
./xgcc -B./ -B/opt/gnu/gcc/gcc-4.1.0/hppa1.1-hp-hpux10.20/bin/ -isystem
/opt/gnu
/gcc/gcc-4.1.0/hppa1.1-hp-hpux10.20/include -isystem
/opt/gnu/gcc/gcc-4.1.0/hppa
1.1-hp-hpux10.20/sys-include -L/xxx/gnu/gcc-3.3/objdir/gcc/../ld -O2 -DIN_GCC
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style
-definition -isystem ./include -fPIC -g -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED
-I. -I -I../../gcc/gcc -I../../gcc/gcc/ -I../../gcc/gcc/../include
-I../../gcc
/gcc/../libcpp/include -I/opt/gnu/gcc/gcc-4.1.0/include -threads -fexceptions
-c ../../gcc/gcc/unwind-dw2.c -o libgcc/threads/unwind-dw2.o
In file included from ../../gcc/gcc/gthr.h:103,
from ../../gcc/gcc/unwind-dw2.c:42:
../../gcc/gcc/gthr-dce.h:77: error: expected expression before '{' token
../../gcc/gcc/gthr-dce.h:77: warning: type defaults to 'int' in declaration of
'
__gthrw_pthread_once_init'
../../gcc/gcc/gthr-dce.h:79: error: 'pthread_key_delete' undeclared here (not
in
a function)
../../gcc/gcc/gthr-dce.h:79: warning: type defaults to 'int' in declaration of
'
__gthrw_pthread_key_delete'
../../gcc/gcc/unwind-dw2.c: In function 'uw_init_context_1':
../../gcc/gcc/unwind-dw2.c:1253: error: invalid initializer
make[3]: *** [libgcc/threads/unwind-dw2.o] Error 1
--
Summary: [4.1 regression] gthr-dce.h:77: error: expected
expression before '{' token
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
GCC build triplet: hppa1.1-hp-hpux10.20
GCC host triplet: hppa1.1-hp-hpux10.20
GCC target triplet: hppa1.1-hp-hpux10.20
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24831