summaryrefslogtreecommitdiff
path: root/gcc/bb-reorder.c
diff options
context:
space:
mode:
authorctice <ctice@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-16 21:37:01 +0000
committerctice <ctice@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-16 21:37:01 +0000
commit792a073a0217b190cb15ffbaeaf48d6d66e5d7c2 (patch)
treee341ea5046d53daf979967bc128d37281b462f43 /gcc/bb-reorder.c
parentce971c8c0a4460285e87db453f71c401519f48ae (diff)
downloadgcc-792a073a0217b190cb15ffbaeaf48d6d66e5d7c2.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99796 138bc75d-0d04-0410-961f-82ee72b054a4
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 cbb49323e31..547296714ce 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