comparison gcc/config/v850/v850-c.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents f6334be47118
children 84e7813d76e9
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* v850 specific, C compiler specific functions. 1 /* v850 specific, C compiler specific functions.
2 Copyright (C) 2000, 2001, 2002, 2003, 2005, 2007, 2009, 2010 2 Copyright (C) 2000-2017 Free Software Foundation, Inc.
3 Free Software Foundation, Inc.
4 Contributed by Jeff Law (law@cygnus.com). 3 Contributed by Jeff Law (law@cygnus.com).
5 4
6 This file is part of GCC. 5 This file is part of GCC.
7 6
8 GCC is free software; you can redistribute it and/or modify 7 GCC is free software; you can redistribute it and/or modify
21 20
22 #include "config.h" 21 #include "config.h"
23 #include "system.h" 22 #include "system.h"
24 #include "coretypes.h" 23 #include "coretypes.h"
25 #include "tm.h" 24 #include "tm.h"
26 #include "cpplib.h"
27 #include "tree.h" 25 #include "tree.h"
26 #include "stringpool.h"
27 #include "diagnostic-core.h"
28 #include "attribs.h"
28 #include "c-family/c-pragma.h" 29 #include "c-family/c-pragma.h"
29 #include "diagnostic-core.h"
30 #include "ggc.h"
31 #include "tm_p.h"
32 30
33 #ifndef streq 31 #ifndef streq
34 #define streq(a,b) (strcmp (a, b) == 0) 32 #define streq(a,b) (strcmp (a, b) == 0)
35 #endif 33 #endif
36 34
172 } 170 }
173 171
174 if (streq (alias, "default")) 172 if (streq (alias, "default"))
175 GHS_current_section_names [kind] = NULL; 173 GHS_current_section_names [kind] = NULL;
176 else 174 else
177 GHS_current_section_names [kind] = 175 GHS_current_section_names [kind] = alias;
178 build_string (strlen (alias) + 1, alias);
179 } 176 }
180 while (repeat); 177 while (repeat);
181 178
182 return; 179 return;
183 180