[LLVMbugs] [Bug 6388] New: AC_HUGE_VAL_CHECK overwrite CXXFLAGS

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Feb 22 08:47:27 PST 2010


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

           Summary: AC_HUGE_VAL_CHECK overwrite CXXFLAGS
           Product: Build scripts
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: autoconf
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: yann at droneaud.fr
                CC: llvmbugs at cs.uiuc.edu
   Estimated Hours: 0.0


Created an attachment (id=4283)
 --> (http://www.llvm.org/bugs/attachment.cgi?id=4283)
Fix AC_HUGE_VAL_CHECK macro

While trying to add flags needed to build LLVM with atomic gcc builtins, I've
found a problem in the AC_HUGE_VAL_CHECK test defined in
autoconf/m4/huge_val.m4 .

The test sets CXXFLAGS to -pedantic and does not restore the previous value of
CXXFLAGS.

Here is a patch that fix the behavor of the test.

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



More information about the llvm-bugs mailing list