This is the mail archive of the 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

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>
+   <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>
Jim Wilson, GNU Tools Support,

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