[llvm-bugs] [Bug 43397] New: Merge r371557 into 9.0.1

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Sep 21 15:20:52 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=43397

            Bug ID: 43397
           Summary: Merge r371557 into 9.0.1
           Product: clang
           Version: 9.0
          Hardware: All
                OS: All
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: dimitry at andric.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

Please merge https://reviews.llvm.org/rL371557 ("When evaluating a
__builtin_constant_p conditional, always enter constant-folding mode regardless
of the original evaluation mode") into 9.0.1.

This solves an issue with bootstrapping gcc, where during the linking of
several of its "gen" tools it would error out with many undefined symbols. 
These symbol references were emitted because they were in
__builtin_constant_p() expressions, and the corresponding sources were compiled
without any optimization.

See also <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240629#c2> and
<https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240629#c7>.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190921/71ada433/attachment.html>


More information about the llvm-bugs mailing list