[all-commits] [llvm/llvm-project] a70d72: [flang] Avoid left shifts of negative signed value...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Mon Mar 11 12:30:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a70d7298818aae94ee62cd50c3ba195aaa10acb1
      https://github.com/llvm/llvm-project/commit/a70d7298818aae94ee62cd50c3ba195aaa10acb1
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2024-03-11 (Mon, 11 Mar 2024)

  Changed paths:
    M flang/include/flang/Evaluate/integer.h

  Log Message:
  -----------
  [flang] Avoid left shifts of negative signed values (#84786)

Shifting left a signed, negative value is an undefined behavior in C++.

This was detected by the undefined behavior sanitizer.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list