comparison gcc/genhooks.c @ 132:d34655255c78

update gcc-8.2
author mir3636
date Thu, 25 Oct 2018 10:21:07 +0900
parents 84e7813d76e9
children 1830386684a0
comparison
equal deleted inserted replaced
130:e108057fa461 132:d34655255c78
1 /* Process target.def to create initialization macros definition in 1 /* Process target.def to create initialization macros definition in
2 target-hooks-def.h and documentation in target-hooks.texi. 2 target-hooks-def.h and documentation in target-hooks.texi.
3 Copyright (C) 2009-2017 Free Software Foundation, Inc. 3 Copyright (C) 2009-2018 Free Software Foundation, Inc.
4 4
5 This file is part of GCC. 5 This file is part of GCC.
6 6
7 GCC is free software; you can redistribute it and/or modify it under 7 GCC is free software; you can redistribute it and/or modify it under
8 the terms of the GNU General Public License as published by the Free 8 the terms of the GNU General Public License as published by the Free
321 printf (" }\n"); 321 printf (" }\n");
322 nest--; 322 nest--;
323 } 323 }
324 continue; 324 continue;
325 } 325 }
326 if (0 == print_nest) 326 if (print_nest == 0)
327 { 327 {
328 /* Output default definitions of target hooks. */ 328 /* Output default definitions of target hooks. */
329 printf ("#ifndef %s\n#define %s %s\n#endif\n", 329 printf ("#ifndef %s\n#define %s %s\n#endif\n",
330 name, name, hook_array[i].init); 330 name, name, hook_array[i].init);
331 } 331 }