[Bug c/45204] gcc doesn't report aliasing problems in -isystem includes

2010-08-06 Thread contact at philipashmore dot com
--- Comment #6 from contact at philipashmore dot com 2010-08-07 04:03 --- I think the rename better describes this problem - please change it if you can think up a better title. -- contact at philipashmore dot com changed: What|Removed |Added

[Bug c/45204] gcc generates incorrect code

2010-08-06 Thread contact at philipashmore dot com
--- Comment #5 from contact at philipashmore dot com 2010-08-07 02:01 --- In my projects I add "-isystem ${top_srcdir}", the top source directory being v3c. This way, the examples can #include Just like code you might develop yourself using treedb. I do a lot of gcc

[Bug c/45204] gcc generates incorrect code

2010-08-06 Thread contact at philipashmore dot com
--- Comment #3 from contact at philipashmore dot com 2010-08-06 13:52 --- Maybe I should add that the 0.6.0-beta1 release in GIT passed uintptr_t - sized structures by value and the compiler spotted the aliasing, which is why I introduced the pointer -> uintptr_t -> pointer ha

[Bug c/45204] gcc generates incorrect code

2010-08-06 Thread contact at philipashmore dot com
--- Comment #2 from contact at philipashmore dot com 2010-08-06 13:37 --- It's exactly what I tried first - I know there are obvious cases as per your "frequently reported bugs" section. I wanted the compiler to tell me where the aliasing was occurring in these and in a

[Bug c/45204] New: gcc generates incorrect code

2010-08-05 Thread contact at philipashmore dot com
enerates incorrect code Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: contact at philipashmore dot com GCC build triplet: x86_64-linux-gnu GCC host triplet: x86_64-linux-gnu GCC target triplet: x86_64-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45204