diff options
author | Andrew Pinski <andrew_pinski@playstation.sony.com> | 2009-10-05 17:46:35 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2009-10-05 10:46:35 -0700 |
commit | 2bd1d2c8d2d026168111295dc53d604856b74deb (patch) | |
tree | 76d28ac5e1fa941648deb5fd3f3b91d9ea13d6ee /gcc/rtl.h | |
parent | 4cdc876153cc0ddcda76174f868e1722f389be04 (diff) | |
download | gcc-2bd1d2c8d2d026168111295dc53d604856b74deb.zip gcc-2bd1d2c8d2d026168111295dc53d604856b74deb.tar.gz gcc-2bd1d2c8d2d026168111295dc53d604856b74deb.tar.bz2 |
re PR tree-optimization/40992 (cunroll ignoring asm size)
2009-10-05 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR tree-opt/40992
* final.c (asm_str_count): Split out from asm_insn_count.
* rtl.h (asm_str_count): New prototype.
* tree-inline (estimate_num_insns) <case GIMPLE_ASM>: Call
asm_str_count.
From-SVN: r152458
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r-- | gcc/rtl.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2424,6 +2424,7 @@ extern void simplify_using_condition (rtx, rtx *, struct bitmap_head_def *); /* In final.c */ extern unsigned int compute_alignments (void); +extern int asm_str_count (const char *templ); struct rtl_hooks { |