[Bug sanitizer/85556] attribute no_sanitize does not accept multiple options as documented

2018-05-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85556

Martin Liška  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from Martin Liška  ---
Fixed.

[Bug sanitizer/85556] attribute no_sanitize does not accept multiple options as documented

2018-05-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85556

--- Comment #4 from Martin Liška  ---
Author: marxin
Date: Wed May 23 08:26:10 2018
New Revision: 260567

URL: https://gcc.gnu.org/viewcvs?rev=260567=gcc=rev
Log:
Subject: Backport r260154

2018-05-23  Martin Liska  

Backport from mainline
2018-05-11  Martin Liska  

PR sanitizer/85556
* doc/extend.texi: Document LLVM style format for no_sanitize
attribute.
2018-05-23  Martin Liska  

Backport from mainline
2018-05-11  Martin Liska  

PR sanitizer/85556
* c-attribs.c (handle_no_sanitize_attribute): Iterate all
TREE_LIST values.
2018-05-23  Martin Liska  

Backport from mainline
2018-05-11  Martin Liska  

PR sanitizer/85556
* c-c++-common/ubsan/attrib-6.c: New test.

Added:
branches/gcc-8-branch/gcc/testsuite/c-c++-common/ubsan/attrib-6.c
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/c-family/ChangeLog
branches/gcc-8-branch/gcc/c-family/c-attribs.c
branches/gcc-8-branch/gcc/doc/extend.texi
branches/gcc-8-branch/gcc/testsuite/ChangeLog

[Bug sanitizer/85556] attribute no_sanitize does not accept multiple options as documented

2018-05-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85556

--- Comment #3 from Martin Liška  ---
Author: marxin
Date: Fri May 11 07:37:35 2018
New Revision: 260154

URL: https://gcc.gnu.org/viewcvs?rev=260154=gcc=rev
Log:
Support LLVM style of no_sanitize attribute (PR sanitizer/85556).

2018-05-11  Martin Liska  

PR sanitizer/85556
* doc/extend.texi: Document LLVM style format for no_sanitize
attribute.
2018-05-11  Martin Liska  

PR sanitizer/85556
* c-attribs.c (handle_no_sanitize_attribute): Iterate all
TREE_LIST values.
2018-05-11  Martin Liska  

PR sanitizer/85556
* c-c++-common/ubsan/attrib-6.c: New test.

Added:
trunk/gcc/testsuite/c-c++-common/ubsan/attrib-6.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-family/ChangeLog
trunk/gcc/c-family/c-attribs.c
trunk/gcc/doc/extend.texi
trunk/gcc/testsuite/ChangeLog

[Bug sanitizer/85556] attribute no_sanitize does not accept multiple options as documented

2018-05-09 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85556

Martin Liška  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |marxin at gcc dot 
gnu.org
  Known to fail||8.1.0

--- Comment #2 from Martin Liška  ---
Mine.

[Bug sanitizer/85556] attribute no_sanitize does not accept multiple options as documented

2018-04-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85556

Richard Biener  changed:

   What|Removed |Added

   Keywords||documentation,
   ||rejects-valid
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2018-04-30
 Ever confirmed|0   |1

--- Comment #1 from Richard Biener  ---
Confirmed.