LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 38572 - Re-enable and fix failing C11 <cfloat> and <float.h> tests
Summary: Re-enable and fix failing C11 <cfloat> and <float.h> tests
Status: RESOLVED FIXED
Alias: None
Product: libc++
Classification: Unclassified
Component: All Bugs (show other bugs)
Version: unspecified
Hardware: PC All
: P enhancement
Assignee: Louis Dionne
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-14 17:01 PDT by Louis Dionne
Modified: 2020-07-29 12:14 PDT (History)
2 users (show)

See Also:
Fixed By Commit(s): a5faf3c849298d1106e74068f3ecffa13e1684a6


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Louis Dionne 2018-08-14 17:01:27 PDT
I had to comment out tests for C11 features in the following files because they were failing:

std/depr/depr.c.headers/float_h.pass.cpp
std/language.support/support.limits/c.limits/cfloat.pass.cpp

They should be fixed and re-enabled.
Comment 1 Louis Dionne 2018-08-14 17:06:22 PDT
The tests were commented out here: https://reviews.llvm.org/D50748
Comment 2 Louis Dionne 2020-07-29 12:14:04 PDT
commit a5faf3c849298d1106e74068f3ecffa13e1684a6
Author: Louis Dionne <ldionne@apple.com>
Date:   Wed Jul 29 14:24:02 2020 -0400

    [libc++] Re-enable tests for C11 math macros in <float.h> and <cfloat>

    Fixes http://llvm.org/PR38572.