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
7b35bba3
Commit
7b35bba3
authored
Oct 18, 2002
by
Roger Sayle
Committed by
Roger Sayle
Oct 18, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* doc/c-tree.texi: Update description of COND_EXPR tree nodes.
From-SVN: r58268
parent
b991a865
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
19 deletions
+19
-19
gcc/ChangeLog
+4
-0
gcc/doc/c-tree.texi
+15
-19
No files found.
gcc/ChangeLog
View file @
7b35bba3
2002
-
10
-
17
Roger
Sayle
<
roger
@eyesopen
.
com
>
*
doc
/
c
-
tree
.
texi
:
Update
description
of
COND_EXPR
tree
nodes
.
2002
-
10
-
17
Geoffrey
Keating
<
geoffk
@apple
.
com
>
*
config
/
rs6000
/
rs6000
.
h
(
HARD_REGNO_MODE_OK
)
:
Allow
arbitrary
modes
...
...
gcc/doc/c-tree.texi
View file @
7b35bba3
...
...
@@ -2127,25 +2127,21 @@ These nodes represent @code{?:} expressions. The first operand
is
of
boolean
or
integral
type
.
If
it
evaluates
to
a
nonzero
value
,
the
second
operand
should
be
evaluated
,
and
returned
as
the
value
of
the
expression
.
Otherwise
,
the
third
operand
is
evaluated
,
and
returned
as
the
value
of
the
expression
.
As
a
GNU
extension
,
the
middle
operand
of
the
@code{
?:
}
operator
may
be
omitted
in
the
source
,
like
this
:
@example
x
?
:
3
@end
example
@noindent
which
is
equivalent
to
@example
x
?
x
:
3
@end
example
@noindent
assuming
that
@code{
x
}
is
an
expression
without
side
-
effects
.
However
,
in
the
case
that
the
first
operation
causes
side
effects
,
the
side
-
effects
occur
only
once
.
Consumers
of
the
internal
representation
do
not
need
to
worry
about
this
oddity
;
the
second
operand
will
be
always
be
present
in
the
internal
representation
.
the
value
of
the
expression
.
The
second
operand
must
have
the
same
type
as
the
entire
expression
,
unless
it
unconditionally
throws
an
exception
or
calls
a
noreturn
function
,
in
which
case
it
should
have
void
type
.
The
same
constraints
apply
to
the
third
operand
.
This
allows
array
bounds
checks
to
be
represented
conveniently
as
@code{
(
i
>=
0
&&
i
<
10
)
?
i
:
abort
()
}
.
As
a
GNU
extension
,
the
C
language
front
-
ends
allow
the
second
operand
of
the
@code{
?:
}
operator
may
be
omitted
in
the
source
.
For
example
,
@code{
x
?
:
3
}
is
equivalent
to
@code{
x
?
x
:
3
}
,
assuming
that
@code{
x
}
is
an
expression
without
side
-
effects
.
In
the
tree
representation
,
however
,
the
second
operand
is
always
present
,
possibly
protected
by
@code{
SAVE_EXPR
}
if
the
first
argument
does
cause
side
-
effects
.
@item
CALL_EXPR
These
nodes
are
used
to
represent
calls
to
functions
,
including
...
...
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