diff options
author | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-01-06 14:44:02 +0000 |
---|---|---|
committer | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-01-06 14:44:02 +0000 |
commit | 7521b07f7ba50a658a75ecc760938aeed9ada5f4 (patch) | |
tree | 0c9e387f2b6c9f6bd1f025aaa4bcd23d3abd14c5 /gcc/ira-int.h | |
parent | dbd61cd05ac7c4a734c8612440af28057280b86c (diff) | |
download | gcc-7521b07f7ba50a658a75ecc760938aeed9ada5f4.tar.gz |
2009-01-06 H.J. Lu <hongjiu.lu@intel.com>
PR bootstrap/38742
* ira-color.c (ira_reuse_stack_slot): Check ENABLE_IRA_CHECKING
before using pseudos_have_intersected_live_ranges_p.
* ira-int.h (ira_assert): Always define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143117 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ira-int.h')
-rw-r--r-- | gcc/ira-int.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ira-int.h b/gcc/ira-int.h index 1fc6da265e2..b6605d59a7a 100644 --- a/gcc/ira-int.h +++ b/gcc/ira-int.h @@ -33,7 +33,9 @@ along with GCC; see the file COPYING3. If not see #ifdef ENABLE_IRA_CHECKING #define ira_assert(c) gcc_assert (c) #else -#define ira_assert(c) +/* Always define and include C, so that warnings for empty body in an + ‘if’ statement and unused variable do not occur. */ +#define ira_assert(c) ((void)(0 && (c))) #endif /* Compute register frequency from edge frequency FREQ. It is |