This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

scan-assembler harness bug?


In scanasm.exp we do this:

proc scan-assembler { args } {
    upvar 2 name testcase
    set output_file "[file rootname [file tail $testcase]].s"


However, in dejagnu, $name may have compiler switches appended to it:

    # We append the compilation flags, if any, to ensure that the test case
    # names are unique.
    if { "$tool_flags" != "" } {
	set name "$name $tool_flags"
    }

Perhaps we want to add this line to scanasm, in various places, to
strip off the compiler switches?

    set testcase [lindex $testcase 0]


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]