aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2020-12-01 09:19:52 +0100
committerRichard Biener <rguenther@suse.de>2020-12-01 10:42:24 +0100
commit57fcbe579c2f2b0919486b658a5bec8f4e1ef42b (patch)
treee6ceab79ee65ce38cce88b0e0846e6ae9a2a13ee /gcc
parenta90606ab979762ce4630777c2fce5c921d0a2b96 (diff)
downloadgcc-57fcbe579c2f2b0919486b658a5bec8f4e1ef42b.zip
gcc-57fcbe579c2f2b0919486b658a5bec8f4e1ef42b.tar.gz
gcc-57fcbe579c2f2b0919486b658a5bec8f4e1ef42b.tar.bz2
middle-end/98070 - fix realloc builtin fnspec
realloc clobbers errno, note that. 2020-12-01 Richard Biener <rguenther@suse.de> PR middle-end/98070 * builtins.c (builtin_fnspec): realloc is ".Cw ".
Diffstat (limited to 'gcc')
-rw-r--r--gcc/builtins.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c
index 83b0c1c..e37732f 100644
--- 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 ".cw ";
+ return ".Cw ";
case BUILT_IN_GAMMA_R:
case BUILT_IN_GAMMAF_R:
case BUILT_IN_GAMMAL_R: