+2018-05-29 Tom de Vries <tom@codesourcery.com>
+
+ * lib/scanasm.exp (scan-assembler-times): Use proc name in error
+ message.
+ * lib/scanipa.exp (scan-ipa-dump-times): Same.
+ * lib/scanrtl.exp (scan-rtl-dump-times): Same.
+ * lib/scantree.exp (scan-tree-dump-times): Same.
+
2018-05-29 Tom de Vries <tom@codesourcery.com>
* lib/scanasm.exp (scan-stack-usage, scan-stack-usage-not)
# Call pass if pattern is present given number of times, otherwise fail.
proc scan-assembler-times { args } {
if { [llength $args] < 2 } {
- error "scan-assembler: too few arguments"
+ error "scan-assembler-times: too few arguments"
return
}
if { [llength $args] > 3 } {
- error "scan-assembler: too many arguments"
+ error "scan-assembler-times: too many arguments"
return
}
if { [llength $args] >= 3 } {
proc scan-ipa-dump-times { args } {
if { [llength $args] < 3 } {
- error "scan-ipa-dump: too few arguments"
+ error "scan-ipa-dump-times: too few arguments"
return
}
if { [llength $args] > 4 } {
- error "scan-ipa-dump: too many arguments"
+ error "scan-ipa-dump-times: too many arguments"
return
}
if { [llength $args] >= 4 } {
proc scan-rtl-dump-times { args } {
if { [llength $args] < 3 } {
- error "scan-rtl-dump: too few arguments"
+ error "scan-rtl-dump-times: too few arguments"
return
}
if { [llength $args] > 4 } {
- error "scan-rtl-dump: too many arguments"
+ error "scan-rtl-dump-times: too many arguments"
return
}
if { [llength $args] >= 4 } {
proc scan-tree-dump-times { args } {
if { [llength $args] < 3 } {
- error "scan-tree-dump: too few arguments"
+ error "scan-tree-dump-times: too few arguments"
return
}
if { [llength $args] > 4 } {
- error "scan-tree-dump: too many arguments"
+ error "scan-tree-dump-times: too many arguments"
return
}
if { [llength $args] >= 4 } {