Skip to content

Commit 38133c4

Browse files
Restored the files accidentally grabbed from another branch
1 parent 95dd942 commit 38133c4

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

flang/include/flang/Evaluate/integer.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ class Integer {
7474
static_assert(std::is_unsigned_v<BigPart>);
7575
static_assert(CHAR_BIT * sizeof(BigPart) >= 2 * partBits);
7676
static constexpr bool littleEndian{IS_LITTLE_ENDIAN};
77-
static constexpr int alignment{ALIGNMENT};
7877

7978
private:
8079
static constexpr int maxPartBits{CHAR_BIT * sizeof(Part)};

flang/include/flang/Evaluate/real.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -490,10 +490,7 @@ template <typename WORD, int PREC> class Real {
490490
bool isNegative, int exponent, const Fraction &, Rounding, RoundingBits,
491491
bool multiply = false);
492492

493-
// Require alignment, in case code generation on x86_64 decides that our
494-
// Real object is suitable for SSE2 instructions and then gets surprised
495-
// by unaligned address.
496-
alignas(Word::alignment / 8) Word word_{}; // an Integer<>
493+
Word word_{}; // an Integer<>
497494
};
498495

499496
extern template class Real<Integer<16>, 11>; // IEEE half format

0 commit comments

Comments
 (0)