This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c/8681: Generates unneeded test


On Mon, Dec 02, 2002 at 03:44:04PM +0100, Christian Ehrhardt wrote:
> 
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8681

> Did this ever work? It DOESN'T for me with: 2.95.2, 3.2, 3.2.1, 3.3.

If you mean with "worked" that it had omitted the test in the past: I
don't know. It is a new issue for me which I think gcc should
optimize.

I have also tested intel compiler 6.0 and 7.0 and both don't do the
optimization. The sun compiler (Sun WorkShop 6 update 2 C 5.3) however
will do the optimization if -depend is given.

> This should be reclassified as change request. I can confirm that
> the compiler doesn't do an optimization that looks valid to me.

	Raimar

-- 
 email: rf13@inf.tu-dresden.de
  The trick is to keep breathing.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]