Dimitry Andric 8a4b4f9f2b 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
2019-09-21 21:01:38 +00:00
..
2019-02-26 05:59:22 +00:00
2018-12-23 01:05:52 +00:00
2019-08-11 06:26:03 +00:00
2019-06-28 04:52:24 +00:00
2019-06-29 18:41:40 +00:00
2019-06-28 22:41:17 +00:00
2019-09-01 16:41:24 +00:00
2019-05-08 18:46:12 +00:00
2019-03-07 13:36:00 +00:00
2018-11-26 15:33:55 +00:00
2019-05-08 11:04:09 +00:00
2019-02-25 18:41:16 +00:00
2019-08-27 20:11:45 +00:00
2019-07-18 00:27:28 +00:00
2019-09-12 00:19:16 +00:00
2019-07-04 08:40:10 +00:00
2019-08-22 18:52:30 +00:00