Re: Improve pure/const propagation across interposable function with non-interposable aliases

2016-05-05 Thread Rainer Orth
Hi Jan, > * gcc.dg/ipa/pure-const-3.c: New testcase. the testcase FAILs: UNRESOLVED: gcc.dg/ipa/pure-const-3.c scan-ipa-dump pure-const "found to be const" The log shows gcc.dg/ipa/pure-const-3.c: dump file does not exist The following patch fixes this. Tested with the appropriate

Improve pure/const propagation across interposable function with non-interposable aliases

2016-05-04 Thread Jan Hubicka
Hi, the API dealing with aliases is somewhow flawed by fact it makes difference between the main symbol (defining function) and its aliases. There is nothing special about the main symbol. This is fixed by this patch. Bootstrapped/regtested x86_64-linux, will commit it shortly. Honza