[Bug ipa/77674] [7 Regression] ICE in binds_to_current_def_p with -fkeep-inline-functions

2017-01-01 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77674

Jan Hubicka  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #9 from Jan Hubicka  ---
Fixed.

[Bug ipa/77674] [7 Regression] ICE in binds_to_current_def_p with -fkeep-inline-functions

2017-01-01 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77674

--- Comment #8 from Jan Hubicka  ---
Author: hubicka
Date: Sun Jan  1 23:31:53 2017
New Revision: 243997

URL: https://gcc.gnu.org/viewcvs?rev=243997=gcc=rev
Log:

PR middle-end/77674
* symtab.c (symtab_node::binds_to_current_def_p): Fix handling of
transparent aliases.

PR middle-end/77674
* g++.dg/torture/pr77674.C: New testcase.

Added:
trunk/gcc/testsuite/g++.dg/torture/pr77674.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/symtab.c
trunk/gcc/testsuite/ChangeLog

[Bug ipa/77674] [7 Regression] ICE in binds_to_current_def_p with -fkeep-inline-functions

2016-12-08 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77674

--- Comment #7 from Jan Hubicka  ---
I am testing the following:
Index: symtab.c
===
--- symtab.c(revision 243291)
+++ symtab.c(working copy)
@@ -2214,6 +2214,8 @@ symtab_node::binds_to_current_def_p (sym
 {
   if (!definition)
 return false;
+  if (transparent_alias)
+return symtab_node::binds_to_current_def_p (get_alias_target ());
   if (decl_binds_to_current_def_p (decl))
 return true;

[Bug ipa/77674] [7 Regression] ICE in binds_to_current_def_p with -fkeep-inline-functions

2016-12-01 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77674

Jan Hubicka  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |hubicka at gcc dot 
gnu.org

--- Comment #6 from Jan Hubicka  ---
mine.

[Bug ipa/77674] [7 Regression] ICE in binds_to_current_def_p with -fkeep-inline-functions

2016-11-21 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77674

--- Comment #5 from Jeffrey A. Law  ---
*** Bug 71616 has been marked as a duplicate of this bug. ***

[Bug ipa/77674] [7 Regression] ICE in binds_to_current_def_p with -fkeep-inline-functions

2016-11-21 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77674

Jeffrey A. Law  changed:

   What|Removed |Added

 CC||su at cs dot ucdavis.edu

--- Comment #3 from Jeffrey A. Law  ---
*** Bug 71353 has been marked as a duplicate of this bug. ***

[Bug ipa/77674] [7 Regression] ICE in binds_to_current_def_p with -fkeep-inline-functions

2016-11-21 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77674

Jeffrey A. Law  changed:

   What|Removed |Added

 CC||hjl.tools at gmail dot com

--- Comment #4 from Jeffrey A. Law  ---
*** Bug 71524 has been marked as a duplicate of this bug. ***

[Bug ipa/77674] [7 Regression] ICE in binds_to_current_def_p with -fkeep-inline-functions

2016-09-21 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77674

Martin Liška  changed:

   What|Removed |Added

 CC||marxin at gcc dot gnu.org

--- Comment #2 from Martin Liška  ---
Started with r235065.

[Bug ipa/77674] [7 Regression] ICE in binds_to_current_def_p with -fkeep-inline-functions

2016-09-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77674

Richard Biener  changed:

   What|Removed |Added

 Target||x86_64-*-*
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2016-09-21
 CC||hubicka at gcc dot gnu.org
  Known to work||6.2.0
   Target Milestone|--- |7.0
Summary|ICE in  |[7 Regression] ICE in
   |binds_to_current_def_p with |binds_to_current_def_p with
   |-fkeep-inline-functions |-fkeep-inline-functions
 Ever confirmed|0   |1

--- Comment #1 from Richard Biener  ---
Confirmed.