[Bug ipa/58332] [4.9 Regression] error: inlined_to pointer is set but no predecessors found

2013-09-18 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58332

Jan Hubicka  changed:

   What|Removed |Added

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

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


[Bug ipa/58332] [4.9 Regression] error: inlined_to pointer is set but no predecessors found

2013-09-17 Thread jan.sm...@alcatel-lucent.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58332

--- Comment #4 from Jan Smets  ---
Verified


[Bug ipa/58332] [4.9 Regression] error: inlined_to pointer is set but no predecessors found

2013-09-17 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58332

--- Comment #3 from Jan Hubicka  ---
Author: hubicka
Date: Tue Sep 17 17:45:00 2013
New Revision: 202661

URL: http://gcc.gnu.org/viewcvs?rev=202661&root=gcc&view=rev
Log:

PR middle-end/58332
* gcc.c-torture/compile/pr58332.c: New testcase.
* cif-code.def (FUNCTION_NOT_OPTIMIZED): New CIF code.
* ipa-inline.c (can_inline_edge_p): Do not downgrade
FUNCTION_NOT_OPTIMIZED.
* ipa-inline-analysis.c (compute_inline_parameters): Function
not optimized is not inlinable unless it is alwaysinline.
(inline_analyze_function): Force calls in not optimized
function not inlinable.


Added:
trunk/gcc/testsuite/gcc.c-torture/compile/pr58332.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cif-code.def
trunk/gcc/ipa-inline-analysis.c
trunk/gcc/ipa-inline.c
trunk/gcc/testsuite/ChangeLog


[Bug ipa/58332] [4.9 Regression] error: inlined_to pointer is set but no predecessors found

2013-09-17 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58332

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|--- |4.9.0
Summary|error: inlined_to pointer   |[4.9 Regression] error:
   |is set but no predecessors  |inlined_to pointer is set
   |found   |but no predecessors found