On Tue, 2015-10-06 at 11:10 -0700, H.J. Lu wrote: > Does it pass all tests under g++.dg/torture/stackalign? You need > to implement -mstackrealign and -mpreferred-stack-boundary= > as well as update check_effective_target_automatic_stack_alignment > to run all stack alignment tests.
FYI: I was able to run those tests with my stack alignment flag and without any failures. I notice that none of them use set_unexpected, which is where I am having problems on MIPS. Have you tried running any of the following tests that use set_unexpected with your stack alignment flags? They fail or me on MIPS and I was wondering if they work for you on x86. g++.dg/cpp0x/lambda/lambda-eh2.C g++.dg/eh/unexpected1.C g++.old-deja/g++.eh/spec2.C g++.old-deja/g++.eh/spec3.C g++.old-deja/g++.mike/eh33.C g++.old-deja/g++.mike/eh50.C g++.old-deja/g++.mike/eh51.C Steve Ellcey sell...@imgtec.com