https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78039

            Bug ID: 78039
           Summary: [6/7 Regression]  fails to compile glibc tests
           Product: gcc
           Version: 6.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at gcc dot gnu.org
  Target Milestone: ---

Created attachment 39841
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39841&action=edit
preprocessed source

gcc-6-branch 20161018 fails to build the glibc-2.24 tests:

$ g++ -std=gnu++11 -c -O2 math/test-math-isinff.ii
In file included from ../include/gconv.h:1:0,
                 from ../sysdeps/unix/sysv/linux/_G_config.h:32,
                 from ../libio/libio.h:31,
                 from ../include/libio.h:4,
                 from ../libio/stdio.h:74,
                 from ../include/stdio.h:5,
                 from test-math-isinff.cc:22:
../iconv/gconv.h:142:50: error: flexible array member '__gconv_info::__data'
not at end of 'struct _IO_codecvt'
In file included from ../include/libio.h:4:0,
                 from ../libio/stdio.h:74,
                 from ../include/stdio.h:5,
                 from test-math-isinff.cc:22:
../libio/libio.h:211:14: note: next member '_G_iconv_t _IO_codecvt::__cd_out'
declared here
../libio/libio.h:187:8: note: in the definition of 'struct _IO_codecvt'
In file included from ../include/gconv.h:1:0,
                 from ../sysdeps/unix/sysv/linux/_G_config.h:32,
                 from ../libio/libio.h:31,
                 from ../include/libio.h:4,
                 from ../libio/stdio.h:74,
                 from ../include/stdio.h:5,
                 from test-math-isinff.cc:22:
../iconv/gconv.h:142:50: error: flexible array member '__gconv_info::__data'
not at end of 'struct _IO_wide_data'
In file included from ../include/libio.h:4:0,
                 from ../libio/stdio.h:74,
                 from ../include/stdio.h:5,
                 from test-math-isinff.cc:22:
../libio/libio.h:211:14: note: next member '_G_iconv_t _IO_codecvt::__cd_out'
declared here
../libio/libio.h:215:8: note: in the definition of 'struct _IO_wide_data'

Reply via email to