OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PR target/45670
[pf3gnuchains/gcc-fork.git]
/
gcc
/
c-typeck.c
diff --git
a/gcc/c-typeck.c
b/gcc/c-typeck.c
index
4c53ef0
..
7f448dd
100644
(file)
--- a/
gcc/c-typeck.c
+++ b/
gcc/c-typeck.c
@@
-2821,7
+2821,7
@@
build_function_call_vec (location_t loc, tree function, VEC(tree,gc) *params,
build_constructor (return_type, 0),
false);
else
- rhs =
fold_convert_loc (loc, return_type, integer_zero_nod
e);
+ rhs =
build_zero_cst (return_typ
e);
return require_complete_type (build2 (COMPOUND_EXPR, return_type,
trap, rhs));