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
e0afe616
Commit
e0afe616
authored
Oct 22, 1998
by
Martin v. Löwis
Committed by
Martin v. Löwis
Oct 22, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* init.c (build_new_1): Delay cleanup until end of full expression.
From-SVN: r23223
parent
298978c9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
11 deletions
+4
-11
gcc/cp/ChangeLog
+4
-0
gcc/cp/init.c
+0
-11
No files found.
gcc/cp/ChangeLog
View file @
e0afe616
1998-10-22 Martin v. Lwis <loewis@informatik.hu-berlin.de>
* init.c (build_new_1): Delay cleanup until end of full expression.
1998-10-21 Jason Merrill <jason@yorick.cygnus.com>
1998-10-21 Jason Merrill <jason@yorick.cygnus.com>
* typeck.c (build_component_ref): Use of a type here is an error.
* typeck.c (build_component_ref): Use of a type here is an error.
...
...
gcc/cp/init.c
View file @
e0afe616
...
@@ -2444,9 +2444,6 @@ build_new_1 (exp)
...
@@ -2444,9 +2444,6 @@ build_new_1 (exp)
if
(
cleanup
)
if
(
cleanup
)
{
{
#if 0
/* Disable this until flow is fixed so that it doesn't
think the initialization of sentry is a dead write. */
tree
end
,
sentry
,
begin
,
buf
,
t
=
TREE_TYPE
(
rval
);
tree
end
,
sentry
,
begin
,
buf
,
t
=
TREE_TYPE
(
rval
);
begin
=
get_target_expr
(
boolean_true_node
);
begin
=
get_target_expr
(
boolean_true_node
);
...
@@ -2469,14 +2466,6 @@ build_new_1 (exp)
...
@@ -2469,14 +2466,6 @@ build_new_1 (exp)
rval
=
build
(
COMPOUND_EXPR
,
t
,
begin
,
rval
=
build
(
COMPOUND_EXPR
,
t
,
begin
,
build
(
COMPOUND_EXPR
,
t
,
rval
,
build
(
COMPOUND_EXPR
,
t
,
rval
,
build
(
COMPOUND_EXPR
,
t
,
end
,
buf
)));
build
(
COMPOUND_EXPR
,
t
,
end
,
buf
)));
#else
/* FIXME: this is a workaround for a crash due to overlapping
exception regions. Cleanups shouldn't really happen here. */
rval
=
build1
(
CLEANUP_POINT_EXPR
,
TREE_TYPE
(
rval
),
rval
);
rval
=
build
(
TRY_CATCH_EXPR
,
TREE_TYPE
(
rval
),
rval
,
cleanup
);
rval
=
build
(
COMPOUND_EXPR
,
TREE_TYPE
(
rval
),
alloc_expr
,
rval
);
#endif
}
}
}
}
}
}
...
...
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