OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [lib/] [treelang-dg.exp] - Blame information for rev 823

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
#   Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2007
2
#   Free Software Foundation, Inc.
3
 
4
# This program is free software; you can redistribute it and/or modify
5
# it under the terms of the GNU General Public License as published by
6
# the Free Software Foundation; either version 3 of the License, or
7
# (at your option) any later version.
8
#
9
# This program is distributed in the hope that it will be useful,
10
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
# GNU General Public License for more details.
13
#
14
# You should have received a copy of the GNU General Public License
15
# along with GCC; see the file COPYING3.  If not see
16
# .
17
 
18
load_lib gcc-dg.exp
19
 
20
# Define gcc callbacks for dg.exp.
21
 
22
proc treelang-dg-test { prog do_what extra_tool_flags } {
23
    return [gcc-dg-test-1 treelang_target_compile $prog $do_what $extra_tool_flags]
24
}
25
 
26
proc treelang-dg-prune { system text } {
27
    return [gcc-dg-prune $system $text]
28
}
29
 
30
# Utility routines.
31
 
32
# Modified dg-runtest that can cycle through a list of optimization options
33
# as c-torture does.
34
proc treelang-dg-runtest { testcases default-extra-flags } {
35
    return [gcc-dg-runtest $testcases ${default-extra-flags}]
36
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.