https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86996

--- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot 
Uni-Bielefeld.DE> ---
> --- Comment #1 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
> is this a target where wchar_t is 16-bit wide?

No, wchar_t is always 32-bit.  Cf. gcc/config/sol2.h:

/* wchar_t is called differently in <wchar.h> for 32 and 64-bit
   compilations.  This is called for by SCD 2.4.1, p. 6-83, Figure 6-65
   (32-bit) and p. 6P-10, Figure 6.38 (64-bit).  */

#undef WCHAR_TYPE
#define WCHAR_TYPE (TARGET_64BIT ? "int" : "long int")

#undef WCHAR_TYPE_SIZE
#define WCHAR_TYPE_SIZE 32

Reply via email to