------- Comment #1 from amylaar at gcc dot gnu dot org  2006-07-07 16:54 -------
Created an attachment (id=11850)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11850&action=view)
test case

The available source code for the functions allows the compiler to
see that the called functions are const.
This should be sufficient for the compiler to figure out the call is not
needed.
Likewise, the pure attributes should also be sufficient to figure this out.


-- 


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

Reply via email to