[Bug target/69226] Wrong __SIZE_TYPE__/__PTRDIFF_TYPE__/__WCHAR_TYPE__ for IA MCU

2016-01-12 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69226 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/69226] Wrong __SIZE_TYPE__/__PTRDIFF_TYPE__/__WCHAR_TYPE__ for IA MCU

2016-01-12 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69226 Bug 69226 depends on bug 68456, which changed state. Bug 68456 Summary: UINT32_TYPE has different type for i586-elf and for i586-unknown-linux https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68456 What|Removed |Ad

[Bug target/69226] Wrong __SIZE_TYPE__/__PTRDIFF_TYPE__/__WCHAR_TYPE__ for IA MCU

2016-01-12 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69226 --- Comment #7 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Jan 12 13:16:53 2016 New Revision: 232266 URL: https://gcc.gnu.org/viewcvs?rev=232266&root=gcc&view=rev Log: Define STDINT_LONG32 and add predefined integer types for IAMCU De

[Bug target/69226] Wrong __SIZE_TYPE__/__PTRDIFF_TYPE__/__WCHAR_TYPE__ for IA MCU

2016-01-12 Thread vaalfreja at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69226 --- Comment #6 from Yulia Koval --- Works for me.

[Bug target/69226] Wrong __SIZE_TYPE__/__PTRDIFF_TYPE__/__WCHAR_TYPE__ for IA MCU

2016-01-11 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69226 --- Comment #5 from H.J. Lu --- Created attachment 37305 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37305&action=edit An updated patch Please try this.

[Bug target/69226] Wrong __SIZE_TYPE__/__PTRDIFF_TYPE__/__WCHAR_TYPE__ for IA MCU

2016-01-11 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69226 H.J. Lu changed: What|Removed |Added Attachment #37303|0 |1 is obsolete|

[Bug target/69226] Wrong __SIZE_TYPE__/__PTRDIFF_TYPE__/__WCHAR_TYPE__ for IA MCU

2016-01-11 Thread vaalfreja at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69226 --- Comment #3 from Yulia Koval --- We can use this patch and fix both this bug and pr68456 for iamcu: diff --git a/gcc/config/i386/iamcu.h b/gcc/config/i386/iamcu.h index f143bf9..5ca5c5e 100644 --- a/gcc/config/i386/iamcu.h +++ b/gcc/config/i3

[Bug target/69226] Wrong __SIZE_TYPE__/__PTRDIFF_TYPE__/__WCHAR_TYPE__ for IA MCU

2016-01-11 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69226 --- Comment #2 from H.J. Lu --- Created attachment 37303 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37303&action=edit A patch

[Bug target/69226] Wrong __SIZE_TYPE__/__PTRDIFF_TYPE__/__WCHAR_TYPE__ for IA MCU

2016-01-11 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69226 H.J. Lu changed: What|Removed |Added Target Milestone|--- |6.0 --- Comment #1 from H.J. Lu --- Also int3