------- Comment #5 from bangerth at dealii dot org 2007-09-11 20:28 ------- This code is certainly undefined and violates all sorts of type correctness rules. In essence you write code that violates the language standards -- using -fno-strict-aliasing is only a workaround and you should fix your code.
You may want to try to rewrite your code so that you don't need all those type casts. It isn't particularly hard to write a doubly-linked list without any type casts at all. W. -- bangerth at dealii dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bangerth at dealii dot org Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33374