[Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64

2010-09-15 Thread jakub at gcc dot gnu dot org


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



[Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64

2010-09-15 Thread jakub at gcc dot gnu dot org


--- 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=gccview=revrev=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



[Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64

2010-09-15 Thread jakub at gcc dot gnu dot org


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



[Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64

2010-09-14 Thread jakub at gcc dot gnu dot org


--- 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=21791action=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



[Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64

2010-09-14 Thread jakub at gcc dot gnu dot org


--- 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=21792action=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



[Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64

2010-09-14 Thread hubicka at gcc dot gnu dot org


--- 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=21793action=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



[Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64

2010-09-14 Thread hjl dot tools at gmail dot com


--- 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=21793action=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



[Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64

2010-09-14 Thread jakub at gcc dot gnu dot org


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



[Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64

2010-09-14 Thread hjl dot tools at gmail dot com


--- 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=21792action=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
0x6000f4ae, ip=0x40004e70

which

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

does.


-- 


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



[Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64

2010-09-11 Thread steven at gcc dot gnu dot org


--- 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=21776action=view)
preprocessed source


-- 


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



[Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64

2010-09-11 Thread steven at gcc dot gnu dot org


-- 

steven at gcc dot gnu dot org changed:

   What|Removed |Added

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


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



[Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64

2010-09-10 Thread rguenth at gcc dot gnu dot org


-- 

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



[Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64

2010-09-10 Thread hjl dot tools at gmail dot com


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



[Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64

2010-09-10 Thread hubicka at gcc dot gnu dot org


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



[Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64

2010-09-10 Thread steven at gcc dot gnu dot org


-- 

steven at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING


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