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] |
The old -Wstrict-aliasing=2 docs said it gave a warning for all aliasing problems, which is misleading, as we can't give a warning for aliasing problems we can't detect. It was only giving a warning for all aliasing problems that we could detect, even if they were ambiguous. But rather than try to define what that means, I just changed it to say that it detects more cases than -Wstrict-aliasing which is the important point here. I tested this with "make info" and "make dvi" on an x86_64-linux system. The output looks OK. I have checked this in. -- Jim Wilson, GNU Tools Support, http://www.specifix.com
Attachment:
patch.Wstrict.aliasing
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |