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
3ff2f9d1
Commit
3ff2f9d1
authored
Jun 01, 2004
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revert accidental checkin
From-SVN: r82552
parent
43daf8ff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
gcc/cp/call.c
+4
-6
No files found.
gcc/cp/call.c
View file @
3ff2f9d1
...
@@ -4326,20 +4326,18 @@ convert_like_real (conversion *convs, tree expr, tree fn, int argnum,
...
@@ -4326,20 +4326,18 @@ convert_like_real (conversion *convs, tree expr, tree fn, int argnum,
}
}
/* Build a call to __builtin_trap which can be used as an expression of
/* Build a call to __builtin_trap which can be used as an expression of
type TYPE.
This looks like *(__builtin_trap(), (TYPE*)NULL).
*/
type TYPE. */
static
tree
static
tree
call_builtin_trap
(
tree
type
)
call_builtin_trap
(
tree
type
)
{
{
tree
fn
=
implicit_built_in_decls
[
BUILT_IN_TRAP
];
tree
fn
=
implicit_built_in_decls
[
BUILT_IN_TRAP
];
tree
t
;
my_friendly_assert
(
fn
!=
NULL
,
20030927
);
my_friendly_assert
(
fn
!=
NULL
,
20030927
);
fn
=
build_call
(
fn
,
NULL_TREE
);
fn
=
build_call
(
fn
,
NULL_TREE
);
t
=
convert
(
build_pointer_type
(
type
),
null_node
);
fn
=
build
(
COMPOUND_EXPR
,
type
,
fn
,
error_mark_node
);
t
=
build
(
COMPOUND_EXPR
,
TREE_TYPE
(
t
),
fn
,
t
);
fn
=
force_target_expr
(
type
,
fn
);
t
=
build_indirect_ref
(
t
,
NULL
);
return
fn
;
return
t
;
}
}
/* ARG is being passed to a varargs function. Perform any conversions
/* ARG is being passed to a varargs function. Perform any conversions
...
...
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