public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgomp/50386] New: libgomp.h:87:5: error: unnamed struct/union that defines no instances
@ 2011-09-13 20:09 danglin at gcc dot gnu.org
  2011-09-16 18:34 ` [Bug libgomp/50386] [4.7 Regression] " danglin at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-09-13 20:09 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50386

             Bug #: 50386
           Summary: libgomp.h:87:5: error: unnamed struct/union that
                    defines no instances
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgomp
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: danglin@gcc.gnu.org
              Host: armv5tejl-unknown-linux-gnueabi
            Target: armv5tejl-unknown-linux-gnueabi
             Build: armv5tejl-unknown-linux-gnueabi


libtool: compile:  /home/dave/gnu/gcc/objdir/./gcc/xgcc
-B/home/dave/gnu/gcc/obj
dir/./gcc/
-B/home/dave/opt/gnu/gcc/gcc-4.7/armv5tejl-unknown-linux-gnueabi/bin/
 -B/home/dave/opt/gnu/gcc/gcc-4.7/armv5tejl-unknown-linux-gnueabi/lib/ -isystem
/home/dave/opt/gnu/gcc/gcc-4.7/armv5tejl-unknown-linux-gnueabi/include -isystem
/home/dave/opt/gnu/gcc/gcc-4.7/armv5tejl-unknown-linux-gnueabi/sys-include
-DHAV
E_CONFIG_H -I. -I../../../gcc/libgomp -I../../../gcc/libgomp/config/linux/arm
-I
../../../gcc/libgomp/config/linux -I../../../gcc/libgomp/config/posix
-I../../..
/gcc/libgomp -Wall -Werror -pthread -ftls-model=initial-exec -g -O2 -MT
alloc.lo
 -MD -MP -MF .deps/alloc.Tpo -c ../../../gcc/libgomp/alloc.c  -fPIC -DPIC -o
.li
bs/alloc.o
In file included from ../../../gcc/libgomp/alloc.c:29:0:
../../../gcc/libgomp/libgomp.h:87:5: error: unnamed struct/union that defines
no
 instances [-Werror]
../../../gcc/libgomp/libgomp.h:94:5: error: unnamed struct/union that defines
no
 instances [-Werror]
../../../gcc/libgomp/libgomp.h:95:3: error: unnamed struct/union that defines
no
 instances [-Werror]
../../../gcc/libgomp/libgomp.h:146:3: error: unnamed struct/union that defines
n
o instances [-Werror]
../../../gcc/libgomp/libgomp.h:156:3: error: unnamed struct/union that defines
no instances [-Werror]
../../../gcc/libgomp/libgomp.h: In function 'gomp_work_share_init_done':
../../../gcc/libgomp/libgomp.h: In function 'gomp_work_share_init_done':
../../../gcc/libgomp/libgomp.h:502:47: error: 'struct gomp_work_share' has no
member named 'next_ws'
cc1: all warnings being treated as errors

Occurs in stage2 with

-bash-3.2$ ./xgcc -B./ -v
Reading specs from ./specs
COLLECT_GCC=./xgcc
COLLECT_LTO_WRAPPER=./lto-wrapper
Target: armv5tejl-unknown-linux-gnueabi
Configured with: ../gcc/configure --enable-languages=c,c++,fortran,objc,obj-c++
--enable-checking=release --enable-shared --enable-threads --disable-multilib
--disable-libmudflap --disable-libssp --enable-symvers=gnu
--enable-__cxa_atexit --disable-libstdcxx-pch
--prefix=/home/dave/opt/gnu/gcc/gcc-4.7 --with-gmp=/home/dave/opt/gnu
--with-as=/home/dave/opt/gnu/bin/as --with-ld=/home/dave/opt/gnu/bin/ld
Thread model: posix
gcc version 4.7.0 20110912 (experimental) [trunk revision 178782] (GCC)


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-10-19  8:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-13 20:09 [Bug libgomp/50386] New: libgomp.h:87:5: error: unnamed struct/union that defines no instances danglin at gcc dot gnu.org
2011-09-16 18:34 ` [Bug libgomp/50386] [4.7 Regression] " danglin at gcc dot gnu.org
2011-09-20 11:42 ` ramana at gcc dot gnu.org
2011-09-20 14:02 ` dave.anglin at bell dot net
2011-09-20 23:00 ` ramana at gcc dot gnu.org
2011-09-23 16:23 ` dave.anglin at bell dot net
2011-09-27 14:01 ` rsandifo at gcc dot gnu.org
2011-09-27 17:20 ` rsandifo at gcc dot gnu.org
2011-09-29 13:26 ` rguenth at gcc dot gnu.org
2011-10-19  8:50 ` jakub at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).