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
80dabe33
Commit
80dabe33
authored
25 years ago
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove obsolete destructors and goto node
From-SVN: r28701
parent
afe60c51
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
15 deletions
+0
-15
gcc/extend.texi
+0
-15
No files found.
gcc/extend.texi
View file @
80dabe33
...
...
@@ -3150,8 +3150,6 @@ Predefined Macros,cpp.info,The C Preprocessor}).
@
menu
*
Naming
Results
::
Giving
a
name
to
C
++
function
return
values
.
*
Min
and
Max
::
C
++
Minimum
and
maximum
operators
.
*
Destructors
and
Goto
::
Goto
is
safe
to
use
in
C
++
even
when
destructors
are
needed
.
*
C
++
Interface
::
You
can
use
a
single
C
++
header
file
for
both
declarations
and
definitions
.
*
Template
Instantiation
::
Methods
for
ensuring
that
exactly
one
copy
of
...
...
@@ -3318,19 +3316,6 @@ Since @code{<?} and @code{>?} are built into the compiler, they properly
handle expressions with side-effects; @w{@samp{int min = i++ <? j++;}}
works correctly.
@node Destructors and Goto
@section @code{goto} and Destructors in GNU C++
@cindex @code{goto} in C++
@cindex destructors vs @code{goto}
In C++ programs, you can safely use the @code{goto} statement. When you
use it to exit a block which contains aggregates requiring destructors,
the destructors will run before the @code{goto} transfers control.
@cindex constructors vs @code{goto}
The compiler still forbids using @code{goto} to @emph{enter} a scope
that requires constructors.
@node C++ Interface
@section Declarations and Definitions in One Header
...
...
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