[Bug target/87156] [9 Regression] ICE building libstdc++ for mips64

2018-08-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87156

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|--- |9.0

[Bug target/87156] [9 Regression] ICE building libstdc++ for mips64

2018-09-04 Thread paul.hua.gm at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87156

Paul Hua  changed:

   What|Removed |Added

 CC||hubicka at ucw dot cz,
   ||paul.hua.gm at gmail dot com

--- Comment #1 from Paul Hua  ---
confirmed.

cced: Jan Hubicka 

[Bug target/87156] [9 Regression] ICE building libstdc++ for mips64

2018-09-28 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87156

Thomas Preud'homme  changed:

   What|Removed |Added

   Last reconfirmed||2018-9-28
 CC||thopre01 at gcc dot gnu.org

--- Comment #2 from Thomas Preud'homme  ---
Just hit it again with yesterday's trunk on the compile farm.

[Bug target/87156] [9 Regression] ICE building libstdc++ for mips64

2018-09-28 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87156

Jan Hubicka  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #3 from Jan Hubicka  ---
Does the attached patch fix the bootstrap?
Index: cgraphclones.c
===
--- cgraphclones.c  (revision 264180)
+++ cgraphclones.c  (working copy)
@@ -967,6 +967,8 @@ cgraph_node::create_version_clone_with_b
   SET_DECL_ASSEMBLER_NAME (new_decl, DECL_NAME (new_decl));
   SET_DECL_RTL (new_decl, NULL);

+  DECL_VIRTUAL_P (new_decl) = 0;
+
   /* When the old decl was a con-/destructor make sure the clone isn't.  */
   DECL_STATIC_CONSTRUCTOR (new_decl) = 0;
   DECL_STATIC_DESTRUCTOR (new_decl) = 0;

[Bug target/87156] [9 Regression] ICE building libstdc++ for mips64

2018-09-29 Thread paul.hua.gm at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87156

--- Comment #4 from Paul Hua  ---
(In reply to Jan Hubicka from comment #3)
> Does the attached patch fix the bootstrap?
> Index: cgraphclones.c
> ===
> --- cgraphclones.c  (revision 264180)
> +++ cgraphclones.c  (working copy)
> @@ -967,6 +967,8 @@ cgraph_node::create_version_clone_with_b
>SET_DECL_ASSEMBLER_NAME (new_decl, DECL_NAME (new_decl));
>SET_DECL_RTL (new_decl, NULL);
>  
> +  DECL_VIRTUAL_P (new_decl) = 0;
> +
>/* When the old decl was a con-/destructor make sure the clone isn't.  */
>DECL_STATIC_CONSTRUCTOR (new_decl) = 0;
>DECL_STATIC_DESTRUCTOR (new_decl) = 0;

Yes, fixed. Thanks.

[Bug target/87156] [9 Regression] ICE building libstdc++ for mips64

2018-10-03 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87156

--- Comment #5 from Thomas Preud'homme  ---
(In reply to Paul Hua from comment #4)
> (In reply to Jan Hubicka from comment #3)
> > Does the attached patch fix the bootstrap?
> > Index: cgraphclones.c
> > ===
> > --- cgraphclones.c  (revision 264180)
> > +++ cgraphclones.c  (working copy)
> > @@ -967,6 +967,8 @@ cgraph_node::create_version_clone_with_b
> >SET_DECL_ASSEMBLER_NAME (new_decl, DECL_NAME (new_decl));
> >SET_DECL_RTL (new_decl, NULL);
> >  
> > +  DECL_VIRTUAL_P (new_decl) = 0;
> > +
> >/* When the old decl was a con-/destructor make sure the clone isn't.  */
> >DECL_STATIC_CONSTRUCTOR (new_decl) = 0;
> >DECL_STATIC_DESTRUCTOR (new_decl) = 0;
> 
> Yes, fixed. Thanks.

Likewise for me on gcc23.

[Bug target/87156] [9 Regression] ICE building libstdc++ for mips64

2018-10-06 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87156

Iain Buclaw  changed:

   What|Removed |Added

 CC||ibuclaw at gdcproject dot org

--- Comment #6 from Iain Buclaw  ---
(In reply to Jan Hubicka from comment #3)
> Does the attached patch fix the bootstrap?
> Index: cgraphclones.c
> ===
> --- cgraphclones.c  (revision 264180)
> +++ cgraphclones.c  (working copy)
> @@ -967,6 +967,8 @@ cgraph_node::create_version_clone_with_b
>SET_DECL_ASSEMBLER_NAME (new_decl, DECL_NAME (new_decl));
>SET_DECL_RTL (new_decl, NULL);
>  
> +  DECL_VIRTUAL_P (new_decl) = 0;
> +
>/* When the old decl was a con-/destructor make sure the clone isn't.  */
>DECL_STATIC_CONSTRUCTOR (new_decl) = 0;
>DECL_STATIC_DESTRUCTOR (new_decl) = 0;

I just got round to checking this, and reached the same conclusion without
realising you already made a patch.

Has this been posted yet?

[Bug target/87156] [9 Regression] ICE building libstdc++ for mips64

2018-10-11 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87156

--- Comment #7 from Jeffrey A. Law  ---
Author: law
Date: Fri Oct 12 02:40:17 2018
New Revision: 265074

URL: https://gcc.gnu.org/viewcvs?rev=265074&root=gcc&view=rev
Log:
PR target/87156
* cgraphclones.c (cgraph_node::create_version_clone_with_body):
Set new_decl virtual flag to zero.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/cgraphclones.c

[Bug target/87156] [9 Regression] ICE building libstdc++ for mips64

2018-10-11 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87156

Jeffrey A. Law  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||law at redhat dot com
 Resolution|--- |FIXED

--- Comment #8 from Jeffrey A. Law  ---
I committed Jan's patch to the trunk.

[Bug target/87156] [9 Regression] ICE building libstdc++ for mips64

2018-11-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87156

Jakub Jelinek  changed:

   What|Removed |Added

 CC||zsojka at seznam dot cz

--- Comment #9 from Jakub Jelinek  ---
*** Bug 87285 has been marked as a duplicate of this bug. ***