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
ed883fe3
Commit
ed883fe3
authored
19 years ago
by
Eric Botcazou
Committed by
Eric Botcazou
19 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* g++.dg/warn/miss-format-1.C: XFAIL vscanf test on Solaris 2.5.1 to 8.
From-SVN: r105144
parent
ad6cc85a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
gcc/testsuite/ChangeLog
+1
-0
gcc/testsuite/g++.dg/warn/miss-format-1.C
+2
-1
No files found.
gcc/testsuite/ChangeLog
View file @
ed883fe3
2005
-
10
-
09
Eric
Botcazou
<
ebotcazou
@libertysurf
.
fr
>
*
gcc
.
dg
/
20050922
-
1
.
c
:
Skip
on
Solaris
2
.
5
.
1
to
9
.
*
g
++
.
dg
/
warn
/
miss
-
format
-
1
.
C
:
XFAIL
vscanf
test
on
Solaris
2
.
5
.
1
to
8
.
2005
-
10
-
07
Andrew
Pinski
<
pinskia
@physics
.
uc
.
edu
>
This diff is collapsed.
Click to expand it.
gcc/testsuite/g++.dg/warn/miss-format-1.C
View file @
ed883fe3
...
...
@@ -2,6 +2,7 @@
/* Origin: Joseph Myers <jsm28@cam.ac.uk> */
/* { dg-do compile } */
/* { dg-options "-Wmissing-format-attribute" } */
/* { dg-error "not declared" "" { target *-*-solaris2.5.1 *-*-solaris2.[5-8] } 24 } */
#include <stdio.h>
#include <stdarg.h>
...
...
@@ -20,7 +21,7 @@ bar (const char *fmt, ...)
{
va_list
ap
;
va_start
(
ap
,
fmt
);
vscanf
(
fmt
,
ap
);
/* { dg-warning "candidate" "scanf attribute warning" } */
vscanf
(
fmt
,
ap
);
/* { dg-warning "candidate" "scanf attribute warning"
{ xfail *-*-solaris2.5.1 *-*-solaris2.[5-8] }
} */
va_end
(
ap
);
}
...
...
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