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
Event Timeline
SingleSource/Regression/C++/custom_section_members.cpp | ||
---|---|---|
11 | 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 | ||
---|---|---|
11 |
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.