Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
e9d7407e
Commit
e9d7407e
authored
23 years ago
by
Richard Henderson
Committed by
Richard Henderson
23 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.dg/cpp/ucs.c: Adjust expected warning for 64-bit hosts.
From-SVN: r47784
parent
7814a308
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
+7
-1
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.dg/cpp/ucs.c
+3
-1
No files found.
gcc/testsuite/ChangeLog
View file @
e9d7407e
2001-12-07 Richard Henderson <rth@redhat.com>
* gcc.dg/cpp/ucs.c: Adjust expected warning for 64-bit hosts.
2001-12-07 Stephane Carrez <Stephane.Carrez@sun.com>
* gcc.dg/sparc-ret.c: New file, test return corruption bug for
...
...
This diff is collapsed.
Click to expand it.
gcc/testsuite/gcc.dg/cpp/ucs.c
View file @
e9d7407e
...
...
@@ -22,7 +22,9 @@ void foo ()
c
=
L"\U1234"
[
0
];
/* { dg-error "incomplete" "incompete UCN 2" } */
c
=
L
'\
u000x
'
;
/* { dg-error "non-hex" "non-hex digit in UCN" } */
/* { dg-warning "too long" "" { target *-*-* } 24 } */
/* If sizeof(HOST_WIDE_INT) > sizeof(wchar_t), we can get a multi-character
constant warning even for wide characters. */
/* { dg-warning "too long|multi-character" "" { target *-*-* } 24 } */
c
=
'\
u0024
'
;
/* { dg-bogus "invalid" "0024 is a valid UCN" } */
c
=
"\u0040"
[
0
];
/* { dg-bogus "invalid" "0040 is a valid UCN" } */
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment