This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: -Wstrict-aliasing extension


Jim Wilson <wilson@specifixinc.com> writes:

> On Sun, 2004-03-14 at 03:23, Gerald Pfeifer wrote:
>> Also, given that this might be very helpful for user finally switching
>> to GCC 3.x, perhaps this even should be mentioned on the main page?
>
> Generally only major changes get put on the main page, and this isn't a
> major change.  It was only a couple of lines of code.
>
>> Would you mind adding something on that to gcc-3.5/changes.html?
>
> How about this?  It has been validated.
>
> Index: changes.html
> ===================================================================
> RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-3.5/changes.html,v
> retrieving revision 1.4
> diff -p -r1.4 changes.html
> *** changes.html	23 Feb 2004 21:43:31 -0000	1.4
> --- changes.html	19 Mar 2004 08:20:06 -0000
> ***************
> *** 36,41 ****
> --- 36,49 ----
>   
>   <h2>New Languages and Language specific improvements</h2>
>   
> + <h3>C/Objective-C</h3>

Please write C and Objective-C - I nearly missed the single C...

> + 
> +   <ul>
> +     <li>The <code>-Wstrict-aliasing=2</code> option has been added.  This
> +         warning catches all unsafe cases, but it may also give a warning for
> +         some cases that are safe.</li>
> +   </ul>
> + 
>   <h2>New Targets and Target Specific Improvements</h2>
>   
>   <h3>H8/300</h3>

Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SuSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]