[LLVMbugs] [Bug 2120] New: test/lib/llvm.exp uses wrong substitution order

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Mar 4 14:02:39 PST 2008


http://llvm.org/bugs/show_bug.cgi?id=2120

           Summary: test/lib/llvm.exp uses wrong substitution order
           Product: Test Suite
           Version: 2.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: DejaGNU
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: jo at durchholz.org
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=1491)
 --> (http://llvm.org/bugs/attachment.cgi?id=1491)
Replacement order reversal

When replacing command names from site.exp, the code first replaces %compile_c,
then %compile_cxx, but it will never find %compile_cxx since its prefix
%compile_c was already replaced.

Fix: revert the replacement order.

(Note on severity: inconsequential right now since the %compile_* macros aren't
used in test/, but the bug fix I'm about to report next will depend on this.)


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list