comparison gcc/dbgcnt.def @ 55:77e2b8dfacca gcc-4.4.5

update it from 4.4.3 to 4.5.0
author ryoma <e075725@ie.u-ryukyu.ac.jp>
date Fri, 12 Feb 2010 23:39:51 +0900
parents a06113de4d67
children f6334be47118
comparison
equal deleted inserted replaced
52:c156f1bd5cd9 55:77e2b8dfacca
69 This shell script should take 1 parameter, the value to be passed 69 This shell script should take 1 parameter, the value to be passed
70 to set the counter of the compilation command in tryTest. Then, 70 to set the counter of the compilation command in tryTest. Then,
71 assuming that the following script is called binarySearch, 71 assuming that the following script is called binarySearch,
72 the command: 72 the command:
73 73
74 binarySearch tryTest 74 binarySearch tryTest
75 75
76 will automatically find the highest value of the counter for which 76 will automatically find the highest value of the counter for which
77 the program fails. If tryTest never fails, binarySearch will 77 the program fails. If tryTest never fails, binarySearch will
78 produce unpredictable results as it will try to find an upper bound 78 produce unpredictable results as it will try to find an upper bound
79 that does not exist. 79 that does not exist.
80 80
81 When dbgcnt does hits the limit, it writes a comment in the current 81 When dbgcnt does hits the limit, it writes a comment in the current
82 dump_file of the form: 82 dump_file of the form:
83 83
84 ***dbgcnt: limit reached for %s.*** 84 ***dbgcnt: limit reached for %s.***
85 85
86 Assuming that the dump file is logging the analysis/transformations 86 Assuming that the dump file is logging the analysis/transformations
87 it is making, this pinpoints the exact position in the log file 87 it is making, this pinpoints the exact position in the log file
88 where the problem transformation is being logged. 88 where the problem transformation is being logged.
89 89
90 ===================================== 90 =====================================
140 140
141 */ 141 */
142 142
143 /* Debug counter definitions. */ 143 /* Debug counter definitions. */
144 DEBUG_COUNTER (auto_inc_dec) 144 DEBUG_COUNTER (auto_inc_dec)
145 DEBUG_COUNTER (ccp)
145 DEBUG_COUNTER (cfg_cleanup) 146 DEBUG_COUNTER (cfg_cleanup)
146 DEBUG_COUNTER (cse2_move2add) 147 DEBUG_COUNTER (cse2_move2add)
147 DEBUG_COUNTER (cprop1) 148 DEBUG_COUNTER (cprop)
148 DEBUG_COUNTER (cprop2)
149 DEBUG_COUNTER (dce) 149 DEBUG_COUNTER (dce)
150 DEBUG_COUNTER (dce_fast) 150 DEBUG_COUNTER (dce_fast)
151 DEBUG_COUNTER (dce_ud) 151 DEBUG_COUNTER (dce_ud)
152 DEBUG_COUNTER (delete_trivial_dead) 152 DEBUG_COUNTER (delete_trivial_dead)
153 DEBUG_COUNTER (df_byte_scan) 153 DEBUG_COUNTER (df_byte_scan)
154 DEBUG_COUNTER (dse) 154 DEBUG_COUNTER (dse)
155 DEBUG_COUNTER (dse1) 155 DEBUG_COUNTER (dse1)
156 DEBUG_COUNTER (dse2) 156 DEBUG_COUNTER (dse2)
157 DEBUG_COUNTER (gcse)
158 DEBUG_COUNTER (gcse2_delete) 157 DEBUG_COUNTER (gcse2_delete)
159 DEBUG_COUNTER (global_alloc_at_func) 158 DEBUG_COUNTER (global_alloc_at_func)
160 DEBUG_COUNTER (global_alloc_at_reg) 159 DEBUG_COUNTER (global_alloc_at_reg)
160 DEBUG_COUNTER (hoist)
161 DEBUG_COUNTER (ia64_sched2) 161 DEBUG_COUNTER (ia64_sched2)
162 DEBUG_COUNTER (if_conversion) 162 DEBUG_COUNTER (if_conversion)
163 DEBUG_COUNTER (if_after_combine) 163 DEBUG_COUNTER (if_after_combine)
164 DEBUG_COUNTER (if_after_reload) 164 DEBUG_COUNTER (if_after_reload)
165 DEBUG_COUNTER (jump_bypass)
166 DEBUG_COUNTER (local_alloc_for_sched) 165 DEBUG_COUNTER (local_alloc_for_sched)
167 DEBUG_COUNTER (postreload_cse) 166 DEBUG_COUNTER (postreload_cse)
167 DEBUG_COUNTER (pre)
168 DEBUG_COUNTER (pre_insn) 168 DEBUG_COUNTER (pre_insn)
169 DEBUG_COUNTER (treepre_insert) 169 DEBUG_COUNTER (treepre_insert)
170 DEBUG_COUNTER (sched2_func) 170 DEBUG_COUNTER (sched2_func)
171 DEBUG_COUNTER (sched_block) 171 DEBUG_COUNTER (sched_block)
172 DEBUG_COUNTER (sched_func) 172 DEBUG_COUNTER (sched_func)
174 DEBUG_COUNTER (sched_region) 174 DEBUG_COUNTER (sched_region)
175 DEBUG_COUNTER (sel_sched_cnt) 175 DEBUG_COUNTER (sel_sched_cnt)
176 DEBUG_COUNTER (sel_sched_region_cnt) 176 DEBUG_COUNTER (sel_sched_region_cnt)
177 DEBUG_COUNTER (sel_sched_insn_cnt) 177 DEBUG_COUNTER (sel_sched_insn_cnt)
178 DEBUG_COUNTER (sms_sched_loop) 178 DEBUG_COUNTER (sms_sched_loop)
179 DEBUG_COUNTER (store_motion)
179 DEBUG_COUNTER (split_for_sched2) 180 DEBUG_COUNTER (split_for_sched2)
180 DEBUG_COUNTER (tail_call) 181 DEBUG_COUNTER (tail_call)