OSDN Git Service

* lib/target-supports.exp
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / lib / scanipa.exp
index 7f9c031..113e453 100644 (file)
@@ -1,8 +1,8 @@
-#   Copyright (C) 2000, 2002, 2003, 2005 Free Software Foundation, Inc.
+#   Copyright (C) 2000, 2002, 2003, 2005, 2007 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 # 
 # This program is distributed in the hope that it will be useful,
@@ -11,8 +11,8 @@
 # GNU General Public License for more details.
 # 
 # You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  
+# along with GCC; see the file COPYING3.  If not see
+# <http://www.gnu.org/licenses/>.
 
 # Various utilities for scanning ipa dump output, used by gcc-dg.exp and
 # g++-dg.exp.
@@ -36,9 +36,9 @@ proc scan-ipa-dump { args } {
        return
     }
     if { [llength $args] >= 3 } {
-       scan-dump "ipa" [lindex $args 0] "i\[0-9\]\*.[lindex $args 1]" [lindex $args 2]
+       scan-dump "ipa" [lindex $args 0] "\[0-9\]\[0-9\]\[0-9\]i.[lindex $args 1]" [lindex $args 2]
     } else {
-       scan-dump "ipa" [lindex $args 0] "i\[0-9\]\*.[lindex $args 1]"
+       scan-dump "ipa" [lindex $args 0] "\[0-9\]\[0-9\]\[0-9\]i.[lindex $args 1]"
     }
 }
 
@@ -59,10 +59,10 @@ proc scan-ipa-dump-times { args } {
     }
     if { [llength $args] >= 4 } {
        scan-dump-times "ipa" [lindex $args 0] [lindex $args 1] \
-                       "i\[0-9\]\*.[lindex $args 2]" [lindex $args 3]
+                       "\[0-9\]\[0-9\]\[0-9\]i.[lindex $args 2]" [lindex $args 3]
     } else {
        scan-dump-times "ipa" [lindex $args 0] [lindex $args 1] \
-                       "i\[0-9\]\*.[lindex $args 2]"
+                       "\[0-9\]\[0-9\]\[0-9\]i.[lindex $args 2]"
     }
 }
 
@@ -83,10 +83,10 @@ proc scan-ipa-dump-not { args } {
     }
     if { [llength $args] >= 3 } {
        scan-dump-not "ipa" [lindex $args 0] \
-                     "i\[0-9\]\*.[lindex $args 1]" [lindex $args 2]
+                     "\[0-9\]\[0-9\]\[0-9\]i.[lindex $args 1]" [lindex $args 2]
     } else {
        scan-dump-not "ipa" [lindex $args 0] \
-                     "i\[0-9\]\*.[lindex $args 1]"
+                     "\[0-9\]\[0-9\]\[0-9\]i.[lindex $args 1]"
     }
 }
 
@@ -108,10 +108,10 @@ proc scan-ipa-dump-dem { args } {
     }
     if { [llength $args] >= 3 } {
        scan-dump-dem "ipa" [lindex $args 0] \
-                     "i\[0-9\]\*.[lindex $args 1]" [lindex $args 2]
+                     "\[0-9\]\[0-9\]\[0-9\]i.[lindex $args 1]" [lindex $args 2]
     } else {
        scan-dump-dem "ipa" [lindex $args 0] \
-                     "i\[0-9\]\*.[lindex $args 1]"
+                     "\[0-9\]\[0-9\]\[0-9\]i.[lindex $args 1]"
     }
 }
 
@@ -132,10 +132,10 @@ proc scan-ipa-dump-dem-not { args } {
     }
     if { [llength $args] >= 3 } {
        scan-dump-dem-not "ipa" [lindex $args 0] \
-                         "i\[0-9\]\*.[lindex $args 1]" \
+                         "\[0-9\]\[0-9\]\[0-9\]i.[lindex $args 1]" \
                          [lindex $args 2]
     } else {
        scan-dump-dem-not "ipa" [lindex $args 0] \
-                         "i\[0-9\]\*.[lindex $args 1]"
+                         "\[0-9\]\[0-9\]\[0-9\]i.[lindex $args 1]"
     }
 }