Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -r orig/gcc-7.4.0/gcc/tree-ssa-dse.c gcc-7.4.0/gcc/tree-ssa-dse.c
- 745c745,753
- < delete_dead_call (gsi);
- ---
- > {
- > if (DECL_FUNCTION_CODE (gimple_call_fndecl (stmt)) == BUILT_IN_MEMSET)
- > {
- > char const *file = gimple_filename(stmt);
- > int line_no = gimple_lineno(stmt);
- > fprintf(stderr, "%s:%d: optimized out memset\n", file, line_no);
- > }
- > delete_dead_call (gsi);
- > }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement