[Bug c/37947] missing sequence point warning for 'count += inc(&count);'

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Oct 29 14:35:00 GMT 2008



------- Comment #6 from rguenth at gcc dot gnu dot org  2008-10-29 14:34 -------
Warning is (reliably) only possible if we can tell if the function call
modifies
the passed storage.  This requires some IPA analysis and thus moving the
warning to the middle-end.


-- 


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



More information about the Gcc-bugs mailing list