------- Comment #15 from joseph at codesourcery dot com  2006-03-01 23:22 
-------
Subject: Re:  should not warning with dead code

On Wed, 1 Mar 2006, bangerth at dealii dot org wrote:

> c) doesn't work with code where the code guarded by the if(0) is more
>    than a single statement.

It does; I've used it to eliminate all these warnings in glibc's soft-fp 
code.  Use statement expressions, i.e. surround the whole if body with ({ 
}).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4210

Reply via email to