This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/34592] useless computation found
- From: "dcb314 at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jan 2008 21:52:47 -0000
- Subject: [Bug other/34592] useless computation found
- References: <bug-34592-9596@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from dcb314 at hotmail dot com 2008-01-03 21:52 -------
(In reply to comment #1)
> I always hated this warning from the EDG front-end, it sometimes produces a
> false warning.
Feel free to send a bug report to EDG.
Like I said, I checked each one and I agree with Intel C 10.1
I also counted about 300 similar cases where Intel
produced warning #593. I think there is quite a bit
of pointless computation going on.
I attach a patch again 4.3 snapshot 20071228.
Hint: Perhaps if this patch gets into 4.3 it would encourage
me to look at the other 300 cases ?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34592