public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/45444]  New: [4.6 regression] ARM bootstrap failure: uninitialized const member in 'neon_builtin_datum' is invalid in C++ [-Werror=c++-compat]
@ 2010-08-29 15:23 mikpe at it dot uu dot se
  2010-08-29 16:26 ` [Bug bootstrap/45444] " mikpe at it dot uu dot se
                   ` (7 more replies)
  0 siblings, 8 replies; 13+ messages in thread
From: mikpe at it dot uu dot se @ 2010-08-29 15:23 UTC (permalink / raw)
  To: gcc-bugs

Attempting to bootstrap gcc-4.6-20100828 on armv5tel-linux-gnueabi fails in
stage 2 with:

/home/mikpe/gcc-4.6-20100828/gcc/config/arm/arm.c: In function
'arm_get_pcs_model':
/home/mikpe/gcc-4.6-20100828/gcc/config/arm/arm.c:3725:7: error: passing
argument 1 of 'stdarg_p' discards 'const' qualifier from pointer target type
[-Werror]
/home/mikpe/gcc-4.6-20100828/gcc/tree.h:4851:13: note: expected 'tree' but
argument is of type 'const_tree'
/home/mikpe/gcc-4.6-20100828/gcc/config/arm/arm.c: In function
'locate_neon_builtin_icode':
/home/mikpe/gcc-4.6-20100828/gcc/config/arm/arm.c:18913:22: error:
uninitialized const member in 'neon_builtin_datum' is invalid in C++
[-Werror=c++-compat]
/home/mikpe/gcc-4.6-20100828/gcc/config/arm/arm.c:17969:20: note: 'itype'
should be initialized
/home/mikpe/gcc-4.6-20100828/gcc/config/arm/arm.c:18913:22: error:  in
'neon_builtin_datum' is invalid in C++ [-Werror=c++-compat]
/home/mikpe/gcc-4.6-20100828/gcc/config/arm/arm.c:17970:13: note: 'bits' should
be initialized
/home/mikpe/gcc-4.6-20100828/gcc/config/arm/arm.c:18913:22: error:
uninitialized const member in 'neon_builtin_datum' is invalid in C++
[-Werror=c++-compat]
/home/mikpe/gcc-4.6-20100828/gcc/config/arm/arm.c:17971:24: note: 'codes'
should be initialized
/home/mikpe/gcc-4.6-20100828/gcc/config/arm/arm.c:18913:22: error:
uninitialized const member in 'neon_builtin_datum' is invalid in C++
[-Werror=c++-compat]
/home/mikpe/gcc-4.6-20100828/gcc/config/arm/arm.c:17972:22: note: 'num_vars'
should be initialized
/home/mikpe/gcc-4.6-20100828/gcc/config/arm/arm.c: In function
'arm_output_asm_insn':
/home/mikpe/gcc-4.6-20100828/gcc/config/arm/arm.c:22649:3: error: function
might be possible candidate for 'gnu_printf' format attribute
[-Werror=missing-format-attribute]
cc1: all warnings being treated as errors

make[3]: *** [arm.o] Error 1
make[3]: Leaving directory `/home/mikpe/objdir46/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/home/mikpe/objdir46'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/home/mikpe/objdir46'
make: *** [bootstrap] Error 2

The first error in arm_ge_pcs_model () was reported 11 days ago as PR45321. 
The other 'uninitialized const member' warnings/errors are new since then.  I
can't see any obvious recent changes in arm.c that would explain them, so I
suspect they're caused by some C front-end change.


-- 
           Summary: [4.6 regression] ARM bootstrap failure: uninitialized
                    const member in 'neon_builtin_datum' is invalid in C++
                    [-Werror=c++-compat]
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mikpe at it dot uu dot se
  GCC host triplet: armv5tel-unknown-linux-gnueabi


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


^ permalink raw reply	[flat|nested] 13+ messages in thread
[parent not found: <bug-45444-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2010-11-15 13:48 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-29 15:23 [Bug bootstrap/45444] New: [4.6 regression] ARM bootstrap failure: uninitialized const member in 'neon_builtin_datum' is invalid in C++ [-Werror=c++-compat] mikpe at it dot uu dot se
2010-08-29 16:26 ` [Bug bootstrap/45444] " mikpe at it dot uu dot se
2010-08-30 16:02 ` rguenth at gcc dot gnu dot org
2010-08-31  8:15 ` ramana at gcc dot gnu dot org
2010-09-01  8:49 ` ramana at gcc dot gnu dot org
2010-09-01  9:38 ` amylaar at gcc dot gnu dot org
2010-09-02 11:25 ` rguenth at gcc dot gnu dot org
2010-09-02 12:00 ` mikpe at it dot uu dot se
2010-09-03  7:19 ` ramana at gcc dot gnu dot org
     [not found] <bug-45444-4@http.gcc.gnu.org/bugzilla/>
2010-11-11  9:35 ` jakub at gcc dot gnu.org
2010-11-11 10:04 ` mikpe at it dot uu.se
2010-11-15 13:48 ` amylaar at gcc dot gnu.org
2010-11-15 13:53 ` amylaar 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).