public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/45635]  New: [4.6 regression] Failed to bootstrap on Linux/ia64
@ 2010-09-10 14:07 hjl dot tools at gmail dot com
  2010-09-10 14:38 ` [Bug c++/45635] " rguenth at gcc dot gnu dot org
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-09-10 14:07 UTC (permalink / raw)
  To: gcc-bugs

On Linux/ia64, revision 164164 gave

../../../../src-trunk/libstdc++-v3/libsupc++/array_type_info.cc:33:1: internal
compiler error: tree check: expected tree that contains 'decl with RTL'
structure, have 'addr_expr' in output_constant, at varasm.c:4408
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[7]: *** [array_type_info.lo] Error 1
make[7]: Leaving directory
`/export/gnu/import/svn/gcc-test/bld/ia64-unknown-linux-gnu/libstdc++-v3/libsupc++'

Revision 164140 is OK.


-- 
           Summary: [4.6 regression] Failed to bootstrap on Linux/ia64
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl dot tools at gmail dot com


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


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

* [Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64
  2010-09-10 14:07 [Bug c++/45635] New: [4.6 regression] Failed to bootstrap on Linux/ia64 hjl dot tools at gmail dot com
@ 2010-09-10 14:38 ` rguenth at gcc dot gnu dot org
  2010-09-10 14:52 ` hjl dot tools at gmail dot com
                   ` (13 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-09-10 14:38 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu dot
                   |                            |org
   Target Milestone|---                         |4.6.0


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


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

* [Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64
  2010-09-10 14:07 [Bug c++/45635] New: [4.6 regression] Failed to bootstrap on Linux/ia64 hjl dot tools at gmail dot com
  2010-09-10 14:38 ` [Bug c++/45635] " rguenth at gcc dot gnu dot org
@ 2010-09-10 14:52 ` hjl dot tools at gmail dot com
  2010-09-10 17:14 ` hubicka at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-09-10 14:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from hjl dot tools at gmail dot com  2010-09-10 14:52 -------
It may be caused by revision 164148:

http://gcc.gnu.org/ml/gcc-cvs/2010-09/msg00440.html


-- 


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


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

* [Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64
  2010-09-10 14:07 [Bug c++/45635] New: [4.6 regression] Failed to bootstrap on Linux/ia64 hjl dot tools at gmail dot com
  2010-09-10 14:38 ` [Bug c++/45635] " rguenth at gcc dot gnu dot org
  2010-09-10 14:52 ` hjl dot tools at gmail dot com
@ 2010-09-10 17:14 ` hubicka at gcc dot gnu dot org
  2010-09-10 22:08 ` steven at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2010-09-10 17:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hubicka at gcc dot gnu dot org  2010-09-10 17:14 -------
Hi,
would be possible to have preprocessed source for a cross compiler?


-- 


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


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

* [Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64
  2010-09-10 14:07 [Bug c++/45635] New: [4.6 regression] Failed to bootstrap on Linux/ia64 hjl dot tools at gmail dot com
                   ` (2 preceding siblings ...)
  2010-09-10 17:14 ` hubicka at gcc dot gnu dot org
@ 2010-09-10 22:08 ` steven at gcc dot gnu dot org
  2010-09-11 12:58 ` steven at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: steven at gcc dot gnu dot org @ 2010-09-10 22:08 UTC (permalink / raw)
  To: gcc-bugs



-- 

steven at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64
  2010-09-10 14:07 [Bug c++/45635] New: [4.6 regression] Failed to bootstrap on Linux/ia64 hjl dot tools at gmail dot com
                   ` (4 preceding siblings ...)
  2010-09-11 12:58 ` steven at gcc dot gnu dot org
@ 2010-09-11 12:58 ` steven at gcc dot gnu dot org
  2010-09-14 14:00 ` jakub at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: steven at gcc dot gnu dot org @ 2010-09-11 12:58 UTC (permalink / raw)
  To: gcc-bugs



-- 

steven at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-09-11 12:58:32
               date|                            |


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


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

* [Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64
  2010-09-10 14:07 [Bug c++/45635] New: [4.6 regression] Failed to bootstrap on Linux/ia64 hjl dot tools at gmail dot com
                   ` (3 preceding siblings ...)
  2010-09-10 22:08 ` steven at gcc dot gnu dot org
@ 2010-09-11 12:58 ` steven at gcc dot gnu dot org
  2010-09-11 12:58 ` steven at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: steven at gcc dot gnu dot org @ 2010-09-11 12:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from steven at gcc dot gnu dot org  2010-09-11 12:58 -------
Created an attachment (id=21776)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21776&action=view)
preprocessed source


-- 


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


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

* [Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64
  2010-09-10 14:07 [Bug c++/45635] New: [4.6 regression] Failed to bootstrap on Linux/ia64 hjl dot tools at gmail dot com
                   ` (5 preceding siblings ...)
  2010-09-11 12:58 ` steven at gcc dot gnu dot org
@ 2010-09-14 14:00 ` jakub at gcc dot gnu dot org
  2010-09-14 14:47 ` jakub at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-09-14 14:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jakub at gcc dot gnu dot org  2010-09-14 14:00 -------
Created an attachment (id=21791)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21791&action=view)
gcc46-pr45635.patch

Fix.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jakub at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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


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

* [Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64
  2010-09-10 14:07 [Bug c++/45635] New: [4.6 regression] Failed to bootstrap on Linux/ia64 hjl dot tools at gmail dot com
                   ` (6 preceding siblings ...)
  2010-09-14 14:00 ` jakub at gcc dot gnu dot org
@ 2010-09-14 14:47 ` jakub at gcc dot gnu dot org
  2010-09-14 16:14 ` hubicka at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-09-14 14:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jakub at gcc dot gnu dot org  2010-09-14 14:47 -------
Created an attachment (id=21792)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21792&action=view)
gcc46-pr45635.patch

Alternatively, we can avoid computing the address of fn altogether on
TARGET_VTABLE_USES_DESCRIPTORS targets.


-- 


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


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

* [Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64
  2010-09-10 14:07 [Bug c++/45635] New: [4.6 regression] Failed to bootstrap on Linux/ia64 hjl dot tools at gmail dot com
                   ` (7 preceding siblings ...)
  2010-09-14 14:47 ` jakub at gcc dot gnu dot org
@ 2010-09-14 16:14 ` hubicka at gcc dot gnu dot org
  2010-09-14 19:22 ` hjl dot tools at gmail dot com
                   ` (5 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2010-09-14 16:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from hubicka at gcc dot gnu dot org  2010-09-14 16:13 -------
Created an attachment (id=21793)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21793&action=view)
Proposed patch

Hi,
this patch should solve the problem (dive into ADDR_EXPR to get actual
fndecl).I no longer have any ia-64 machine able to bootstrap, but will try to
find one tonight. I would be very happy if someone did beat me on this ;)

Honza


-- 


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


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

* [Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64
  2010-09-10 14:07 [Bug c++/45635] New: [4.6 regression] Failed to bootstrap on Linux/ia64 hjl dot tools at gmail dot com
                   ` (8 preceding siblings ...)
  2010-09-14 16:14 ` hubicka at gcc dot gnu dot org
@ 2010-09-14 19:22 ` hjl dot tools at gmail dot com
  2010-09-14 19:25 ` jakub at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-09-14 19:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from hjl dot tools at gmail dot com  2010-09-14 19:22 -------
(In reply to comment #6)
> Created an attachment (id=21793)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21793&action=view) [edit]
> Proposed patch
> 
> Hi,
> this patch should solve the problem (dive into ADDR_EXPR to get actual
> fndecl).I no longer have any ia-64 machine able to bootstrap, but will try to
> find one tonight. I would be very happy if someone did beat me on this ;)
> 

It seems to work.


-- 


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


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

* [Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64
  2010-09-10 14:07 [Bug c++/45635] New: [4.6 regression] Failed to bootstrap on Linux/ia64 hjl dot tools at gmail dot com
                   ` (9 preceding siblings ...)
  2010-09-14 19:22 ` hjl dot tools at gmail dot com
@ 2010-09-14 19:25 ` jakub at gcc dot gnu dot org
  2010-09-15  4:10 ` hjl dot tools at gmail dot com
                   ` (3 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-09-14 19:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from jakub at gcc dot gnu dot org  2010-09-14 19:25 -------
Could you please also try the
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45635#c5 patch?  Thanks.


-- 


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


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

* [Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64
  2010-09-10 14:07 [Bug c++/45635] New: [4.6 regression] Failed to bootstrap on Linux/ia64 hjl dot tools at gmail dot com
                   ` (10 preceding siblings ...)
  2010-09-14 19:25 ` jakub at gcc dot gnu dot org
@ 2010-09-15  4:10 ` hjl dot tools at gmail dot com
  2010-09-15  6:56 ` jakub at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-09-15  4:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from hjl dot tools at gmail dot com  2010-09-15 04:09 -------
(In reply to comment #5)
> Created an attachment (id=21792)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21792&action=view) [edit]
> gcc46-pr45635.patch
> 
> Alternatively, we can avoid computing the address of fn altogether on
> TARGET_VTABLE_USES_DESCRIPTORS targets.
> 

This one can bootstrap. But it caused

FAIL: gcc.c-torture/execute/20040709-2.c execution,  -O1 
FAIL: gcc.c-torture/execute/20040709-2.c execution,  -Os 

But it doesn't trigger

Sep 14 11:06:05 gnu-11 kernel: 20040709-2.x7(8794): unaligned access to
0x600000000000f4ae, ip=0x4000000000004e70

which

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45635#c6

does.


-- 


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


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

* [Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64
  2010-09-10 14:07 [Bug c++/45635] New: [4.6 regression] Failed to bootstrap on Linux/ia64 hjl dot tools at gmail dot com
                   ` (11 preceding siblings ...)
  2010-09-15  4:10 ` hjl dot tools at gmail dot com
@ 2010-09-15  6:56 ` jakub at gcc dot gnu dot org
  2010-09-15 15:40 ` jakub at gcc dot gnu dot org
  2010-09-15 15:54 ` jakub at gcc dot gnu dot org
  14 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-09-15  6:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from jakub at gcc dot gnu dot org  2010-09-15 06:56 -------
Thanks.  Though, both #c5 and #c6 patches are C++ FE patches and thus I can't
see how they could ever be related to a C testcase.


-- 


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


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

* [Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64
  2010-09-10 14:07 [Bug c++/45635] New: [4.6 regression] Failed to bootstrap on Linux/ia64 hjl dot tools at gmail dot com
                   ` (12 preceding siblings ...)
  2010-09-15  6:56 ` jakub at gcc dot gnu dot org
@ 2010-09-15 15:40 ` jakub at gcc dot gnu dot org
  2010-09-15 15:54 ` jakub at gcc dot gnu dot org
  14 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-09-15 15:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from jakub at gcc dot gnu dot org  2010-09-15 15:40 -------
Subject: Bug 45635

Author: jakub
Date: Wed Sep 15 15:39:57 2010
New Revision: 164311

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164311
Log:
        PR c++/45635
        * class.c (build_vtbl_initializer): Use fn instead of init's operand
        as first argument to FDESC_EXPR.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/class.c


-- 


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


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

* [Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64
  2010-09-10 14:07 [Bug c++/45635] New: [4.6 regression] Failed to bootstrap on Linux/ia64 hjl dot tools at gmail dot com
                   ` (13 preceding siblings ...)
  2010-09-15 15:40 ` jakub at gcc dot gnu dot org
@ 2010-09-15 15:54 ` jakub at gcc dot gnu dot org
  14 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-09-15 15:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from jakub at gcc dot gnu dot org  2010-09-15 15:54 -------
Fixed.


-- 

jakub at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2010-09-15 15:54 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-10 14:07 [Bug c++/45635] New: [4.6 regression] Failed to bootstrap on Linux/ia64 hjl dot tools at gmail dot com
2010-09-10 14:38 ` [Bug c++/45635] " rguenth at gcc dot gnu dot org
2010-09-10 14:52 ` hjl dot tools at gmail dot com
2010-09-10 17:14 ` hubicka at gcc dot gnu dot org
2010-09-10 22:08 ` steven at gcc dot gnu dot org
2010-09-11 12:58 ` steven at gcc dot gnu dot org
2010-09-11 12:58 ` steven at gcc dot gnu dot org
2010-09-14 14:00 ` jakub at gcc dot gnu dot org
2010-09-14 14:47 ` jakub at gcc dot gnu dot org
2010-09-14 16:14 ` hubicka at gcc dot gnu dot org
2010-09-14 19:22 ` hjl dot tools at gmail dot com
2010-09-14 19:25 ` jakub at gcc dot gnu dot org
2010-09-15  4:10 ` hjl dot tools at gmail dot com
2010-09-15  6:56 ` jakub at gcc dot gnu dot org
2010-09-15 15:40 ` jakub at gcc dot gnu dot org
2010-09-15 15:54 ` jakub at gcc dot gnu dot 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).