aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2019-09-21 21:01:38 +0000
committerDimitry Andric <dim@FreeBSD.org>2019-09-21 21:01:38 +0000
commit8a4b4f9f2b8c2e81240cdbdfa0f62deb3f686cf2 (patch)
tree105fa29b30d257e49f248ea02ba62d10061513b0 /sys/dev/usb
parent7dfde55afda21dc7a88c5e23e69e84b16edf51a4 (diff)
downloadsrc-8a4b4f9f2b8c2e81240cdbdfa0f62deb3f686cf2.tar.gz
src-8a4b4f9f2b8c2e81240cdbdfa0f62deb3f686cf2.zip
Pull in r371557 from upstream clang trunk (by Richard Smith):
When evaluating a __builtin_constant_p conditional, always enter constant-folding mode regardless of the original evaluation mode. In order for this to be correct, we need to track whether we're checking for a potential constant expression or checking for undefined behavior separately from the evaluation mode enum, since we don't want to clobber those states when entering constant-folding mode. This should fix "ld: error: undefined symbol: ix86_isa_flags" (and many other symbol names) during the initial stages of the lang/gcc* ports. The issue was that without optimization, the __builtin_constant_p() expressions generated in gencondmd.c would emit references to global variables that were undefined, such as ix86_isa_flags. PR: 240629
Notes
Notes: svn path=/projects/clang900-import/; revision=352586
Diffstat (limited to 'sys/dev/usb')
0 files changed, 0 insertions, 0 deletions