This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/47599] New: -fno-short-wchar does not force long wchar


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47599

           Summary: -fno-short-wchar does not force long wchar
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: roucaries.bastien+bugs@gmail.com


if WCHAR_TYPE is "short int" (cygwin) the following program produce always
short wchar. Please treat this option like -fno-short-enum

#include <wchar.h>
int x = sizeof (wchar_t);

$ gcc -S -o - foo.c
$ gcc -fshort-wchar -S -o - foo.c
$ gcc -fno-short-wchar -S -o - foo.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]