Since there were some problems with the result of these cases, leading to invalid assembly/object code on some platforms.
Fixed by https://reviews.llvm.org/D147184.
Details
Diff Detail
- Repository
- rT test-suite
Event Timeline
SingleSource/Regression/C++/custom_section_members.cpp | ||
---|---|---|
12 | The second function is more likely to be misaligned and should also be called. In particular, since there was also a change recently on AIX to use integrated-as by default, nothing in the test as-is detects the misaligned branch/misaligned instruction that occurs without the fix for this issue. |
SingleSource/Regression/C++/custom_section_members.cpp | ||
---|---|---|
12 |
Yep, I think that's a limitation unfortunately since we rely on the assembler for the diagnostic. When looking at the original issue, I noticed some other Power assemblers (i.e. GNU as) would not diagnose this case either, but instead just silently correct the alignment. |
Minor nit: grammar.