[Bug 207325] projects/clang380-import for TARGET_ARCH=powerpc : c++ exceptions cause SEGV (9 line program)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Mar 6 21:03:19 UTC 2016


--- Comment #10 from Mark Millard <markmi at dsl-only.net> ---
I have made a separate submittal for the __builtin_dwarf_cfa() issue after
discovering more about the type of context it is messed up in for clang 3.8.0.

Specifically in:

extern void g(void*);
void f0() { g(__builtin_dwarf_cfa()); }
void f1()
{ auto f1_cfa = __builtin_dwarf_cfa(); g(f1_cfa); }

f0 passes g a different offset from the frame pointer than f1 does. g++ has
both behave like clang++ 3.8.0 has f1 behave.

Where __builtin_dwarf_cfa() is used in the same routine changes its results for
clang++ 3.8.0.

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list