Skip to content
Snippets Groups Projects
Commit 817f9ef2 authored by James E Wilson's avatar James E Wilson Committed by Jim Wilson
Browse files

Fix spurious warning for strstr (s, "").

* builtins.c (fold_builtin_strstr): Pass s1 through fold_convert before
returning it.
* gcc.dg/builtin-strstr.c: New.

From-SVN: r107206
parent 7b767e31
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment