re PR tree-optimization/48063 (ICE: verify_stmts failed: conversion of register to...
authorJakub Jelinek <jakub@redhat.com>
Fri, 11 Mar 2011 10:04:30 +0000 (11:04 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 11 Mar 2011 10:04:30 +0000 (11:04 +0100)
commite89e03ab8ad601244c1206d8fe3b5874b8d59c91
treec7fdf17d81506cf4c706569185532f21539f6f9b
parentefbe978b7a12cc1e7ece68b6a4cee7ab3d434cc3
re PR tree-optimization/48063 (ICE: verify_stmts failed: conversion of register to a different size with -fno-early-inlining)

PR tree-optimization/48063
* ipa-inline.c (cgraph_decide_inlining): Don't try to
inline functions called once if !tree_can_inline_p (node->callers).

* gcc.dg/torture/pr48063.c: New test.

From-SVN: r170867
gcc/ChangeLog
gcc/ipa-inline.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr48063.c [new file with mode: 0644]