re PR middle-end/49463 (LTO doesn't work symbol renamed via asm statement)

PR middle-end/49463
	* gcc.c-torture/execute/builtins/strstr-asm-lib.c
	(my_strstr): Mark used.

From-SVN: r179280
This commit is contained in:
Jan Hubicka 2011-09-27 18:28:24 +02:00 committed by Jan Hubicka
parent d88780319e
commit 9b7ab6d6e0
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2011-09-27 Jan Hubicka <jh@suse.cz>
PR middle-end/49463
* gcc.c-torture/execute/builtins/strstr-asm-lib.c
(my_strstr): Mark used.
2011-09-27 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/strlenopt-1.c: New test.

View File

@ -7,6 +7,7 @@ extern int strncmp(const char *, const char *, size_t);
extern int inside_main;
extern const char *p;
__attribute__ ((used))
char *
my_strstr (const char *s1, const char *s2)
{