comparison gcc/except.h @ 63:b7f97abdc517 gcc-4.6-20100522

update gcc from gcc-4.5.0 to gcc-4.6
author ryoma <e075725@ie.u-ryukyu.ac.jp>
date Mon, 24 May 2010 12:47:05 +0900
parents 77e2b8dfacca
children f6334be47118
comparison
equal deleted inserted replaced
56:3c8a44c06a95 63:b7f97abdc517
17 17
18 You should have received a copy of the GNU General Public License 18 You should have received a copy of the GNU General Public License
19 along with GCC; see the file COPYING3. If not see 19 along with GCC; see the file COPYING3. If not see
20 <http://www.gnu.org/licenses/>. */ 20 <http://www.gnu.org/licenses/>. */
21 21
22 #include "sbitmap.h" 22 #include "hashtab.h"
23 #include "vecprim.h" 23 #include "vecprim.h"
24 #include "vecir.h"
24 25
25 struct function; 26 struct function;
26 struct eh_region_d; 27 struct eh_region_d;
27 struct pointer_map_t; 28 struct pointer_map_t;
28 29
291 region. For example, in C++, an exception thrown by a destructor 292 region. For example, in C++, an exception thrown by a destructor
292 during stack unwinding is required to result in a call to 293 during stack unwinding is required to result in a call to
293 `std::terminate', so the C++ version of this function returns a 294 `std::terminate', so the C++ version of this function returns a
294 FUNCTION_DECL for `std::terminate'. */ 295 FUNCTION_DECL for `std::terminate'. */
295 extern tree (*lang_protect_cleanup_actions) (void); 296 extern tree (*lang_protect_cleanup_actions) (void);
296
297 /* Return true if type A catches type B. */
298 extern int (*lang_eh_type_covers) (tree a, tree b);
299 297
300 298
301 /* Just because the user configured --with-sjlj-exceptions=no doesn't 299 /* Just because the user configured --with-sjlj-exceptions=no doesn't
302 mean that we can use call frame exceptions. Detect that the target 300 mean that we can use call frame exceptions. Detect that the target
303 has appropriate support. */ 301 has appropriate support. */