projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a90606a
)
middle-end/98070 - fix realloc builtin fnspec
author
Richard Biener
<rguenther@suse.de>
Tue, 1 Dec 2020 08:19:52 +0000
(09:19 +0100)
committer
Richard Biener
<rguenther@suse.de>
Tue, 1 Dec 2020 09:42:24 +0000
(10:42 +0100)
realloc clobbers errno, note that.
2020-12-01 Richard Biener <rguenther@suse.de>
PR middle-end/98070
* builtins.c (builtin_fnspec): realloc is ".Cw ".
gcc/builtins.c
patch
|
blob
|
history
diff --git
a/gcc/builtins.c
b/gcc/builtins.c
index 83b0c1c8fd6e319eeeb9f56d5d94ebf6a27c9aad..e37732fbc8c69d830b1725e07c375a142753cc38 100644
(file)
--- a/
gcc/builtins.c
+++ b/
gcc/builtins.c
@@
-13583,7
+13583,7
@@
builtin_fnspec (tree callee)
return ".cO ";
/* Realloc serves both as allocation point and deallocation point. */
case BUILT_IN_REALLOC:
- return ".
c
w ";
+ return ".
C
w ";
case BUILT_IN_GAMMA_R:
case BUILT_IN_GAMMAF_R:
case BUILT_IN_GAMMAL_R: