Deleted Added
full compact
c-objc-common.c (132718) c-objc-common.c (161651)
1/* Some code common to C and ObjC front ends.
2 Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
3
4This file is part of GCC.
5
6GCC is free software; you can redistribute it and/or modify it under
7the terms of the GNU General Public License as published by the Free
8Software Foundation; either version 2, or (at your option) any later

--- 104 unchanged lines hidden (view full) ---

113 {
114 if (do_warning)
115 warning ("%Jfunction '%F' can never be inlined because it has "
116 "pending sizes", fn, fn);
117 goto cannot_inline;
118 }
119 }
120
1/* Some code common to C and ObjC front ends.
2 Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
3
4This file is part of GCC.
5
6GCC is free software; you can redistribute it and/or modify it under
7the terms of the GNU General Public License as published by the Free
8Software Foundation; either version 2, or (at your option) any later

--- 104 unchanged lines hidden (view full) ---

113 {
114 if (do_warning)
115 warning ("%Jfunction '%F' can never be inlined because it has "
116 "pending sizes", fn, fn);
117 goto cannot_inline;
118 }
119 }
120
121 if (! DECL_FILE_SCOPE_P (fn))
121 if (DECL_LANG_SPECIFIC (fn)->pending_sizes)
122 {
122 {
123 /* If a nested function has pending sizes, we may have already
124 saved them. */
125 if (DECL_LANG_SPECIFIC (fn)->pending_sizes)
126 {
127 if (do_warning)
128 warning ("%Jnested function '%F' can never be inlined because it "
129 "has possibly saved pending sizes", fn, fn);
130 goto cannot_inline;
131 }
123 if (do_warning)
124 warning ("%Jfunction '%F' can never be inlined because it has "
125 "pending sizes", fn, fn);
126 goto cannot_inline;
132 }
133
134 return 0;
135
136 cannot_inline:
137 DECL_UNINLINABLE (fn) = 1;
138 return 1;
139}

--- 195 unchanged lines hidden ---
127 }
128
129 return 0;
130
131 cannot_inline:
132 DECL_UNINLINABLE (fn) = 1;
133 return 1;
134}

--- 195 unchanged lines hidden ---