Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.std.c > #1873

Re: Loop Invariance Optimization Opportunity?

From Shao Miller <sha0.miller@gmail.com>
Newsgroups comp.std.c
Subject Re: Loop Invariance Optimization Opportunity?
Date 2013-01-21 00:43 -0500
Organization A noiseless patient Spider
Message-ID <kdikis$iq6$1@dont-email.me> (permalink)
References <kdbifk$nhb$1@dont-email.me> <altersFe0nnU1@mid.individual.net> <kdcbp7$5j6$1@dont-email.me>

Show all headers | View raw


On 1/18/2013 15:36, Shao Miller wrote:
>
> I cannot reproduce 42. :(
>

I was able to reproduce 42 by:

   - Using GCC with -O3
   - Using two translation units
   - Changing the code to have '((void) 0, *vis).i' instead of '(*vis = 
*vis).i'.

Using the comma operator is probably a better demonstration of not 
possibly changing any effective type considerations, anyway.

-- 
- Shao Miller
--
"Thank you for the kind words; those are the kind of words I like to hear.

Cheerily,"  -- Richard Harter

Back to comp.std.c | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Loop Invariance Optimization Opportunity? Shao Miller <sha0.miller@gmail.com> - 2013-01-18 08:25 -0500
  Re: Loop Invariance Optimization Opportunity? Wojtek Lerch <wojtek_l@yahoo.ca> - 2013-01-18 12:25 -0500
    Re: Loop Invariance Optimization Opportunity? Shao Miller <sha0.miller@gmail.com> - 2013-01-18 15:36 -0500
      Re: Loop Invariance Optimization Opportunity? Shao Miller <sha0.miller@gmail.com> - 2013-01-21 00:43 -0500

csiph-web