On Dec 8, 2009, at 9:51 AM, Andreas Schwab wrote: > "D. Richard Hipp" <d...@hwaci.com> writes: > >> On Dec 7, 2009, at 8:41 PM, Andreas Schwab wrote: >> >>> D. Richard Hipp writes: >>> >>>> As always, please let us know if you encounter any difficulties >>>> with >>>> this or any other SQLite release. >>> >>> It's still crashing due to undefined behaviour. >>> >>> $ ./sqlite3 :memory: 'create table test(integer)' >>> Segmentation fault >>> >> >> >> I am unable to reproduce this behavior. The example above works fine >> here. I also ran your command using valgrind and it reports no >> problems. > > That's the very nature of undefined behaviour. You are violating > the C > aliasing rules, and the compiler has all freedom to wreck havoc of > your > code. QED.
No, you have not proven your thesis, you have merely stated a conjecture. For proof, could you please indicate where, exactly, we are violating C aliasing rules? And what compiler are you using that is sensitive to these violations yet generates no warnings? D. Richard Hipp d...@hwaci.com _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users