aboutsummaryrefslogtreecommitdiff
path: root/gcc/bb-reorder.c
diff options
context:
space:
mode:
authorCaroline Tice <ctice@apple.com>2005-05-16 21:37:01 +0000
committerCaroline Tice <ctice@gcc.gnu.org>2005-05-16 14:37:01 -0700
commit1ad435a5d548be5b04ae22d68afa3d2584c4703b (patch)
treee341ea5046d53daf979967bc128d37281b462f43 /gcc/bb-reorder.c
parent45535d4f3e3cfb83fbb32619668736b5e30e6aa0 (diff)
downloadgcc-1ad435a5d548be5b04ae22d68afa3d2584c4703b.zip
gcc-1ad435a5d548be5b04ae22d68afa3d2584c4703b.tar.gz
gcc-1ad435a5d548be5b04ae22d68afa3d2584c4703b.tar.bz2
bb-reorder.c (verify_hot_cold_block_grouping): Replace internal_error with gcc_assert.
2005-05-16 Caroline Tice <ctice@apple.com> * bb-reorder.c (verify_hot_cold_block_grouping): Replace internal_error with gcc_assert. * dwarf2out.c (dwarf2out_switch_text_section): Likewise. * function.h (struct function): Remove space between "*" and struct field names. * varasm.c (initialize_cold_section_name): Add gcc_assert; modify to use alloca. (unlikely_text_section): Add check for flag_function_sections. (assemble_start_function): Move call to resolve_section, so it comes before first call to unlikely_text_section. (assemble_end_function): Add test and call to function_section if appropriate. From-SVN: r99796
Diffstat (limited to 'gcc/bb-reorder.c')
-rw-r--r--gcc/bb-reorder.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/bb-reorder.c b/gcc/bb-reorder.c
index cbb4932..5472967 100644
--- a/gcc/bb-reorder.c
+++ b/gcc/bb-reorder.c
@@ -1874,8 +1874,7 @@ verify_hot_cold_block_grouping (void)
}
}
- if (err)
- internal_error ("verify_hot_cold_block_grouping failed");
+ gcc_assert(!err);
}
/* Reorder basic blocks. The main entry point to this file. FLAGS is