llvm-project
llvm-project copied to clipboard
need alignment checking in isSafeToEliminateVarargsCast
| Bugzilla Link | 10551 |
| Resolution | FIXED |
| Resolved on | Jan 31, 2019 03:57 |
| Version | trunk |
| OS | Linux |
| Attachments | add a line that checks alignments of src and dst. |
| CC | @atanasyan |
Extended Description
The detailed description of the problem is here:
http://article.gmane.org/gmane.comp.compilers.llvm.devel/42100
A patch is attached that fixes the problem (I have not done testing for targets other than Mips nor do I know if this is the best approach).
The problem is not reproduced now.