|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 7/8] xen/arm: Set foreign page type to p2m_map_foreign
On 12/05/2013 04:34 PM, Ian Campbell wrote: On Thu, 2013-12-05 at 15:42 +0000, Julien Grall wrote: Actually, GCC compiler won't complain if t is not set in one of the case.If have tried this following dummy function on several version of GCC (the most recent is 4.8.2) and they don't emit any warning.
=================================================================
int f (int a)
{
int b;
switch (a)
{
case 1:
b = 1;
break;
case 2:
/* b is unset */
break;
}
return b;
}
====================================================================
I have also tried clang, and I effectively get an error. But we don't
yet support clang for Xen ARM port.
I have found a bug report opened in 2004 for this kind of bug, but never fixed... (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18501). -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |