| Subject: | [Bug c/37947] missing sequence point warning for 'count += inc(&count);' |
|---|---|
| From: | "manu at gcc dot gnu dot org" |
| Date: | 29 Oct 2008 12:40:46 -0000 |
------- Comment #5 from manu at gcc dot gnu dot org 2008-10-29 12:40 -------
(In reply to comment #3)
> Thanks for the quick answer. Is it possible to get a warning if I write
> undefined code like this? -Wall didn't tell me anything.
-Wsequence-point should but it doesn't right now. The sooner this could be
implemented would be GCC 4.5. Sorry about that.
--
manu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-10-29 12:40:46
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37947
|
| Previous by Date: | [Bug c/37947] missing sequence point warning for 'count += inc(&count);', manu at gcc dot gnu dot org |
|---|---|
| Next by Date: | [Bug tree-optimization/37952] New: failure in polyhedron benchmark when ftree-parallelize-loops is enabled, razya at il dot ibm dot com |
| Previous by Thread: | [Bug c/37947] missing sequence point warning for 'count += inc(&count);', manu at gcc dot gnu dot org |
| Next by Thread: | [Bug c/37947] missing sequence point warning for 'count += inc(&count);', rguenth at gcc dot gnu dot org |
| Indexes: | [Date] [Thread] [Top] [All Lists] |