Skip to content

Commit 43102f9

Browse files
Added comment
1 parent a155a35 commit 43102f9

File tree

1 file changed

+3
-0
lines changed
  • flang/include/flang/Evaluate

1 file changed

+3
-0
lines changed

flang/include/flang/Evaluate/real.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,9 @@ 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 code on x86_64 decides that
494+
// our Real object is suitable for SSE2 instructions and then gets surprised
495+
// by unaligned address.
493496
alignas(Word::alignment / 8) Word word_{}; // an Integer<>
494497
};
495498

0 commit comments

Comments
 (0)