[Bug libgomp/50386] [4.7 Regression] libgomp.h:87:5: error: unnamed struct/union that defines no instances
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50386 --- Comment #9 from Jakub Jelinek jakub at gcc dot gnu.org 2011-10-19 08:46:12 UTC --- Author: jakub Date: Wed Oct 19 08:45:45 2011 New Revision: 180179 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=180179 Log: PR target/50350 Backport from mainline 2011-09-27 Richard Sandiford rdsandif...@googlemail.com PR middle-end/50386 PR middle-end/50326 * tree-sra.c (build_ref_for_model): Use the type of the field as the type of the COMPONENT_REF. Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/tree-sra.c
[Bug libgomp/50386] [4.7 Regression] libgomp.h:87:5: error: unnamed struct/union that defines no instances
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50386 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||FIXED Target Milestone|--- |4.7.0 --- Comment #8 from Richard Guenther rguenth at gcc dot gnu.org 2011-09-29 13:15:17 UTC --- Fixed.
[Bug libgomp/50386] [4.7 Regression] libgomp.h:87:5: error: unnamed struct/union that defines no instances
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50386 rsand...@gcc.gnu.org rsandifo at gcc dot gnu.org changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org --- Comment #6 from rsandifo at gcc dot gnu.org rsandifo at gcc dot gnu.org 2011-09-27 13:54:14 UTC --- Seems to be the same PR50326. Testing a fix.
[Bug libgomp/50386] [4.7 Regression] libgomp.h:87:5: error: unnamed struct/union that defines no instances
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50386 --- Comment #7 from rsandifo at gcc dot gnu.org rsandifo at gcc dot gnu.org 2011-09-27 17:18:29 UTC --- Author: rsandifo Date: Tue Sep 27 17:18:22 2011 New Revision: 179285 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=179285 Log: gcc/ PR middle-end/50386 PR middle-end/50326 * tree-sra.c (build_ref_for_model): Use the type of the field as the type of the COMPONENT_REF. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-sra.c
[Bug libgomp/50386] [4.7 Regression] libgomp.h:87:5: error: unnamed struct/union that defines no instances
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50386 --- Comment #5 from dave.anglin at bell dot net 2011-09-23 16:04:18 UTC --- On 9/20/2011 6:32 PM, ramana at gcc dot gnu.org wrote: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50386 --- Comment #4 from Ramana Radhakrishnanramana at gcc dot gnu.org 2011-09-20 22:32:49 UTC --- I think this is a bootstrap issue rather than a problem with libgomp . A reduced testcase of this form fails with the stage2 compiler but is ok with the stage1 compiler. struct gomp_work_share { /* This member records the SCHEDULE clause to be used for this construct. The user specification of runtime will already have been resolved. If this is a SECTIONS construct, this value will always be DYNAMIC. */ union { struct { /* This is the chunk_size argument to the SCHEDULE clause. */ long chunk_size; /* This is the iteration end point. If this is a SECTIONS construct, this is the number of contained sections. */ long end; /* This is the iteration step. If this is a SECTIONS construct, this is always 1. */ long incr; }u; }; }a; Where the stage2 compiler goes : /home/4/t1.i:21:3: warning: unnamed struct/union that defines no instances [enabled by default] and the stage1 compiler goes quietly. Could you check if you see similar behaviour ? Yes, exactly. I noted in my original report that the error occurred in stage2. While not fully confirmed, it looks like this was introduced by r178692. Dave
[Bug libgomp/50386] [4.7 Regression] libgomp.h:87:5: error: unnamed struct/union that defines no instances
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50386 Ramana Radhakrishnan ramana at gcc dot gnu.org changed: What|Removed |Added CC||ramana at gcc dot gnu.org --- Comment #2 from Ramana Radhakrishnan ramana at gcc dot gnu.org 2011-09-20 10:49:02 UTC --- Do you have some date before when trunk managed bootstraps successfully ? Ramana
[Bug libgomp/50386] [4.7 Regression] libgomp.h:87:5: error: unnamed struct/union that defines no instances
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50386 --- Comment #3 from dave.anglin at bell dot net 2011-09-20 13:46:04 UTC --- On 9/20/2011 6:49 AM, ramana at gcc dot gnu.org wrote: Do you have some date before when trunk managed bootstraps successfully ? This is my last successful build: http://gcc.gnu.org/ml/gcc-testresults/2011-09/msg00879.html Dave
[Bug libgomp/50386] [4.7 Regression] libgomp.h:87:5: error: unnamed struct/union that defines no instances
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50386 --- Comment #4 from Ramana Radhakrishnan ramana at gcc dot gnu.org 2011-09-20 22:32:49 UTC --- I think this is a bootstrap issue rather than a problem with libgomp . A reduced testcase of this form fails with the stage2 compiler but is ok with the stage1 compiler. struct gomp_work_share { /* This member records the SCHEDULE clause to be used for this construct. The user specification of runtime will already have been resolved. If this is a SECTIONS construct, this value will always be DYNAMIC. */ union { struct { /* This is the chunk_size argument to the SCHEDULE clause. */ long chunk_size; /* This is the iteration end point. If this is a SECTIONS construct, this is the number of contained sections. */ long end; /* This is the iteration step. If this is a SECTIONS construct, this is always 1. */ long incr; }u; }; }a; Where the stage2 compiler goes : /home/4/t1.i:21:3: warning: unnamed struct/union that defines no instances [enabled by default] and the stage1 compiler goes quietly. Could you check if you see similar behaviour ? Ramana
[Bug libgomp/50386] [4.7 Regression] libgomp.h:87:5: error: unnamed struct/union that defines no instances
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50386 John David Anglin danglin at gcc dot gnu.org changed: What|Removed |Added Summary|libgomp.h:87:5: error: |[4.7 Regression] |unnamed struct/union that |libgomp.h:87:5: error: |defines no instances|unnamed struct/union that ||defines no instances --- Comment #1 from John David Anglin danglin at gcc dot gnu.org 2011-09-16 18:07:40 UTC --- Warning doesn't occur with gcc version 4.4.7 20110530. There is something arm specific in these warnings as they don't occur on PA.