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
38f76c25
Commit
38f76c25
authored
Aug 25, 1998
by
Jeffrey A Law
Committed by
Jeff Law
Aug 25, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.c-torture/compile/980825-1.c: New test.
From-SVN: r21975
parent
a5d1cd09
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
0 deletions
+34
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.c-torture/compile/980825-1.c
+30
-0
No files found.
gcc/testsuite/ChangeLog
View file @
38f76c25
Tue Aug 25 19:42:13 1998 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/980825-1.c: New test.
Mon Aug 24 16:38:52 1998 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/930326-1.x: Fix typo.
...
...
gcc/testsuite/gcc.c-torture/compile/980825-1.c
0 → 100644
View file @
38f76c25
typedef
enum
{
FALSE
,
TRUE
}
boolean
;
enum
_errorTypes
{
FATAL
=
1
,
WARNING
=
2
,
PERROR
=
4
};
typedef
struct
_optionValues
{
struct
_include
{
boolean
classNames
;
boolean
defines
;
boolean
enumerators
;
}
include
;
}
optionValues
;
extern
optionValues
Option
;
static
void
applyTagInclusionList
(
list
)
const
char
*
const
list
;
{
boolean
mode
=
TRUE
;
const
char
*
p
;
for
(
p
=
list
;
*
p
!=
'\0'
;
++
p
)
switch
(
*
p
)
{
case
'='
:
clearTagList
();
mode
=
TRUE
;
break
;
case
'+'
:
mode
=
TRUE
;
break
;
case
'-'
:
mode
=
FALSE
;
break
;
case
'c'
:
Option
.
include
.
classNames
=
mode
;
break
;
case
'd'
:
Option
.
include
.
defines
=
mode
;
break
;
case
'e'
:
Option
.
include
.
enumerators
=
mode
;
break
;
default
:
error
(
FATAL
,
"-i: Invalid tag option '%c'"
,
*
p
);
break
;
}
}
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