crossjump1.c
来自「xml大全 可读写调用率很高 xml大全 可读写调用率很高」· C语言 代码 · 共 32 行
C
32 行
// This testcase failed on s390, because cross-jumping merged 2 calls,// one with REG_EH_REGION note with no handlers (ie. termination)// and one without REG_EH_REGION note.// { dg-do run }// { dg-options "-O2" }#include <exception>#include <string>struct E : public std::exception{ std::string m; E () : m ("test") { } ~E () throw() { }};struct C : public E { };void foo (){ throw C ();}int main (){ try { foo (); } catch (...) { }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?