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

* [Bug bootstrap/45444] [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 [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 ` mikpe at it dot uu dot se
  2010-08-30 16:02 ` rguenth at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 13+ messages in thread
From: mikpe at it dot uu dot se @ 2010-08-29 16:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from mikpe at it dot uu dot se  2010-08-29 16:26 -------
Created an attachment (id=21586)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21586&action=view)
preliminary fixes for arm.c stage2 errors

This gets me past the arm.c stage2 errors.


-- 


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


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

* [Bug bootstrap/45444] [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 [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
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-08-30 16:02 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.6.0


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


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

* [Bug bootstrap/45444] [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 [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
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 13+ messages in thread
From: ramana at gcc dot gnu dot org @ 2010-08-31  8:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from ramana at gcc dot gnu dot org  2010-08-31 08:15 -------
confirmed. I was working on fixing this but you beat my patch to it. 
cheers
Ramana


-- 

ramana at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-08-31 08:15:34
               date|                            |


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


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

* [Bug bootstrap/45444] [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 [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
                   ` (2 preceding siblings ...)
  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
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 13+ messages in thread
From: ramana at gcc dot gnu dot org @ 2010-09-01  8:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ramana at gcc dot gnu dot org  2010-09-01 08:49 -------
*** Bug 44670 has been marked as a duplicate of this bug. ***


-- 

ramana at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amylaar at gcc dot gnu dot
                   |                            |org


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


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

* [Bug bootstrap/45444] [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 [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
                   ` (3 preceding siblings ...)
  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
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 13+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2010-09-01  9:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from amylaar at gcc dot gnu dot org  2010-09-01 09:38 -------
The 'uninitialized const members' warning also affects cross builds when
using --enable-build-with-cxx, see PR44670


-- 

amylaar at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |44433
              nThis|                            |
   GCC host triplet|armv5tel-unknown-linux-     |armv5tel-unknown-linux-
                   |gnueabi                     |gnueabi, i686-pc-linux-gnu
 GCC target triplet|                            |*-arm-*


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


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

* [Bug bootstrap/45444] [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 [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
                   ` (4 preceding siblings ...)
  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
  7 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-09-02 11:25 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


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


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

* [Bug bootstrap/45444] [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 [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
                   ` (5 preceding siblings ...)
  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
  7 siblings, 0 replies; 13+ messages in thread
From: mikpe at it dot uu dot se @ 2010-09-02 12:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from mikpe at it dot uu dot se  2010-09-02 12:00 -------
Patch has been posted:
http://gcc.gnu.org/ml/gcc-patches/2010-09/msg00048.html


-- 


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


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

* [Bug bootstrap/45444] [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 [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
                   ` (6 preceding siblings ...)
  2010-09-02 12:00 ` mikpe at it dot uu dot se
@ 2010-09-03  7:19 ` ramana at gcc dot gnu dot org
  7 siblings, 0 replies; 13+ messages in thread
From: ramana at gcc dot gnu dot org @ 2010-09-03  7:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from ramana at gcc dot gnu dot org  2010-09-03 07:19 -------
*** Bug 45514 has been marked as a duplicate of this bug. ***


-- 

ramana at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |laurent at guerby dot net


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


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

* [Bug bootstrap/45444] [4.6 regression] ARM bootstrap failure: uninitialized const member in 'neon_builtin_datum' is invalid in C++ [-Werror=c++-compat]
       [not found] <bug-45444-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2010-11-15 13:48 ` amylaar at gcc dot gnu.org
@ 2010-11-15 13:53 ` amylaar at gcc dot gnu.org
  3 siblings, 0 replies; 13+ messages in thread
From: amylaar at gcc dot gnu.org @ 2010-11-15 13:53 UTC (permalink / raw)
  To: gcc-bugs

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

Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #10 from Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> 2010-11-15 13:45:34 UTC ---
I've checked my patch into trunk.


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

* [Bug bootstrap/45444] [4.6 regression] ARM bootstrap failure: uninitialized const member in 'neon_builtin_datum' is invalid in C++ [-Werror=c++-compat]
       [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
  3 siblings, 0 replies; 13+ messages in thread
From: amylaar at gcc dot gnu.org @ 2010-11-15 13:48 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> 2010-11-15 13:40:40 UTC ---
Author: amylaar
Date: Mon Nov 15 13:40:27 2010
New Revision: 166753

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166753
Log:
    PR bootstrap/45444
    * config/arm/arm.c (locate_neon_builtin_icode): Initialize key.
    (arm_output_asm_insn) Add ATTRIBUTE_PRINTF_4.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arm/arm.c


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

* [Bug bootstrap/45444] [4.6 regression] ARM bootstrap failure: uninitialized const member in 'neon_builtin_datum' is invalid in C++ [-Werror=c++-compat]
       [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
  3 siblings, 0 replies; 13+ messages in thread
From: mikpe at it dot uu.se @ 2010-11-11 10:04 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Mikael Pettersson <mikpe at it dot uu.se> 2010-11-11 10:04:21 UTC ---
(In reply to comment #7)
> Any progress here?

The patch was posted and OK:d, but stalled apparently because I don't yet have
a copyright assignment on file.  My new employer's (Rogue Wave) legal
department is supposed to come up with an employer's disclaimer for my GCC
contributions, but they're taking forever to do so.


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

* [Bug bootstrap/45444] [4.6 regression] ARM bootstrap failure: uninitialized const member in 'neon_builtin_datum' is invalid in C++ [-Werror=c++-compat]
       [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
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 13+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-11-11  9:35 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-11 09:35:34 UTC ---
Any progress here?


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

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).