From 57fcbe579c2f2b0919486b658a5bec8f4e1ef42b Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Tue, 1 Dec 2020 09:19:52 +0100 Subject: [PATCH] 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 ". --- gcc/builtins.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.30.2