Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
4519ff2e
Commit
4519ff2e
authored
Oct 28, 2014
by
Maxim Ostapenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Actually removed redundant tests from r216783.
From-SVN: r216787
parent
acc770ae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
39 deletions
+0
-39
gcc/testsuite/c-c++-common/asan/no-redundant-instrumentation-2.c
+0
-26
gcc/testsuite/c-c++-common/asan/no-redundant-instrumentation-9.c
+0
-13
No files found.
gcc/testsuite/c-c++-common/asan/no-redundant-instrumentation-2.c
deleted
100644 → 0
View file @
acc770ae
/* This tests that when faced with two references to the same memory
location in the same basic block, the second reference should not
be instrumented by the Address Sanitizer. But in case of access to
overlapping regions we must be precise. */
/* { dg-options "-fdump-tree-sanopt" } */
/* { dg-do compile } */
/* { dg-skip-if "" { *-*-* } { "*" } { "-O0" } } */
int
main
()
{
char
tab
[
5
];
/* Here, we instrument the access at offset 0 and access at offset
4. */
__builtin_memset
(
tab
,
1
,
sizeof
(
tab
));
/* We instrumented access at offset 0 above already, so only access
at offset 3 is instrumented. */
__builtin_memset
(
tab
,
1
,
3
);
}
/* { dg-final { scan-tree-dump-times "& 7" 3 "sanopt" } } */
/* { dg-final { scan-tree-dump-times "__builtin___asan_report_store_n" 2 "sanopt" } } */
/* { dg-final { scan-tree-dump-times "__builtin___asan_report" 2 "sanopt" } } */
/* { dg-final { cleanup-tree-dump "sanopt" } } */
gcc/testsuite/c-c++-common/asan/no-redundant-instrumentation-9.c
deleted
100644 → 0
View file @
acc770ae
/* { dg-options "-fdump-tree-sanopt" } */
/* { dg-do compile } */
/* { dg-skip-if "" { *-*-* } { "*" } { "-O0" } } */
__SIZE_TYPE__
f
(
char
*
a
)
{
a
[
0
]
=
'1'
;
return
__builtin_strlen
(
a
);
}
/* { dg-final { scan-tree-dump-times "__asan_report_load1" 1 "sanopt" } } */
/* { dg-final { cleanup-tree-dump "sanopt" } } */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment