benshi001 created this revision.
benshi001 added reviewers: jacquesguan, aykevl, Patryk27.
Herald added subscribers: Jim, dylanmckay.
Herald added a project: All.
benshi001 requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Fixes bug https://github.com/llvm/llvm-project/issues/64564


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D157586

Files:
  clang/lib/Basic/Targets/AVR.h


Index: clang/lib/Basic/Targets/AVR.h
===================================================================
--- clang/lib/Basic/Targets/AVR.h
+++ clang/lib/Basic/Targets/AVR.h
@@ -53,6 +53,7 @@
     Char16Type = UnsignedInt;
     WIntType = SignedInt;
     Int16Type = SignedInt;
+    IntMaxType = SignedInt;
     Char32Type = UnsignedLong;
     SigAtomicType = SignedChar;
     resetDataLayout("e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8");


Index: clang/lib/Basic/Targets/AVR.h
===================================================================
--- clang/lib/Basic/Targets/AVR.h
+++ clang/lib/Basic/Targets/AVR.h
@@ -53,6 +53,7 @@
     Char16Type = UnsignedInt;
     WIntType = SignedInt;
     Int16Type = SignedInt;
+    IntMaxType = SignedInt;
     Char32Type = UnsignedLong;
     SigAtomicType = SignedChar;
     resetDataLayout("e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8");
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to