On Mon, Aug 22, 2011 at 11:15 PM, Simon Slavin <slav...@bigfraud.org> wrote:
> > On 23 Aug 2011, at 1:22am, Richard Hipp wrote: > > > It appears that GCC 4.1.0 is not generating any code for the second test > in > > the conditional. In other words, GCC 4.1.0 is compiling that statement > as > > if it omitted the "&& p->a" term > > How interesting. Can't solve your problem but pure curiosity on my part: > is this a result of optimization ? Would it be worth trying all the '-O' > options, especially '-O0', in > > <http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html> > > Or would your observation be independent of any such settings ? > Notice that my assembly-language listings were generated without any options other than -g (so that I would get line numbers) and -S (to stop before running the assemblier). No optimizations specified, which unless I'm badly mistaken, means than no optimizations are run. > > Given that the later version of GCC fixes the bug, I guess someone > somewhere noticed the problem. > > Simon. > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > -- D. Richard Hipp d...@sqlite.org _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users