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]

doc: typo in -fstrict-aliasing


The doc currently reads:

	  union a_union {
            int i;
            double d;
          };

          int f() {
            a_union t;    // <= missing union
            t.d = 3.0;
            return t.i;
          }


This is also in the documentation of GCC 2.95. I'm very honored to kill such a long standing bug :)


Attachment: diffs.patch
Description: Binary data


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