From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Carr To: Oskar Enoksson Cc: egcs@cygnus.com Subject: Re: Optimization Date: Fri, 03 Apr 1998 21:52:00 -0000 Message-id: <199804031155.GAA23029@contents-vnder-pressvre.MIT.EDU> References: X-SW-Source: 1998-04/msg00106.html > -fno-typed-alias > Compiler assumes that different types cannot be aliased. With a few exceptions this describes ANSI C aliasing, which egcs tries to implement. Because the back end doesn't have type information alias detection is based only on size. On most systems float and int are the same size. If the example program used double instead of float you might see better code. I have some ideas for better aliasing but haven't had time to implement them. I started work on limited support for restrict but haven't had time to finish that either. A complete implementation may be a big job.