From: Richard Biener Date: Tue, 1 Dec 2020 08:19:52 +0000 (+0100) Subject: middle-end/98070 - fix realloc builtin fnspec X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=57fcbe579c2f2b0919486b658a5bec8f4e1ef42b;p=gcc.git middle-end/98070 - fix realloc builtin fnspec realloc clobbers errno, note that. 2020-12-01 Richard Biener PR middle-end/98070 * builtins.c (builtin_fnspec): realloc is ".Cw ". --- diff --git a/gcc/builtins.c b/gcc/builtins.c index 83b0c1c8fd6..e37732fbc8c 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: