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] |
Hi, The attached patch is a rebased version of the patch posted at: https://gcc.gnu.org/ml/gcc-patches/2016-10/msg00446.html The C++ changes are approved by Jason, other parts still require approval. Bootstrapped and tested on x86_64-unknown-linux-gnu. OK to commit ? I was wondering if the warning should go in Wall or Wextra ? The patch can give false positives because it only checks whether parameters are qualified with restrict, not how parameters are used inside the function. For instance it warned for example 10 mentioned in n1570 under section 6.7.3.1 - "Formal definition of restrict". Currently I have kept the warning in Wall. Thanks, Prathamesh
Attachment:
pr35503-13.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |