?? pr22488.c
字號:
// PR tree-optimization/22488// This testcase is really a C++ FE bug in represnting virtual inheritance// It gives the appearance to the middle end that the fields exist twice// which resulted in a very confused structure analyzer// { dg-do compile }// { dg-options "-O" }struct X{ int i0, i1; char c;};struct A{ int i; char c0, c1; virtual ~A();};struct B : virtual A {};struct C : B{ X x; void bar(X y) { x = y; }};void foo(){ C().bar(X());}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -