This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c/1739: "Character constant too long" on irix6.5 with -mabi=64
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c/1739: "Character constant too long" on irix6.5 with -mabi=64
- From: David dot Billinghurst at riotinto dot com
- Date: 23 Jan 2001 03:54:14 -0000
- Cc: neil at daikokuya dot demon dot co dot uk
- Reply-To: David dot Billinghurst at riotinto dot com
>Number: 1739
>Category: c
>Synopsis: "Character constant too long" on irix6.5 with -mabi=64
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jan 22 19:56:03 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: David Billinghurst
>Release: cvs 20010122
>Organization:
>Environment:
mips-sgi-irix6.5
>Description:
The following tests are failing on mips-sgi-irix6.5 with -mabi=64 with the error "character constant too long"
gcc.c-torture/compile/970214-1.c
gcc.c-torture/execute/970214-2.c
gcc.c-torture/execute/widechar-1.c
gcc.c-torture/execute/widechar-2.c
gcc.dg/c99-init-1.c
gcc.dg/cpp/if-2.c
gcc.dg/cpp/lexstrng.c
gcc.dg/cpp/paste2.c
The shortest test failing is gcc.c-torture/compile/970214-1.c
#include <stddef.h>
#define L 264
wchar_t c = L'X';
Preprocessed, this becomes
# 1 "/exd4/billingd/src/gcc/gcc/testsuite/gcc.c-torture/compile/970214-1.c"
# 1 "/exd4/billingd/obj/gcc/gcc/include/stddef.h" 1 3
# 147 "/exd4/billingd/obj/gcc/gcc/include/stddef.h" 3
typedef int ptrdiff_t;
# 199 "/exd4/billingd/obj/gcc/gcc/include/stddef.h" 3
typedef unsigned int size_t;
# 287 "/exd4/billingd/obj/gcc/gcc/include/stddef.h" 3
typedef long int wchar_t;
# 2 "/exd4/billingd/src/gcc/gcc/testsuite/gcc.c-torture/compile/970214-1.c" 2
wchar_t c = L'X';
>How-To-Repeat:
gcc -mabi=64 970214-1.c
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: