------- Comment #9 from jakub at gcc dot gnu dot org 2010-06-15 16:45 ------- Re: #c4 - !really_expand never occur when !optimize and for optimize they are called IMHO way too early (during inlining etc.).
Re: #c8 - the testcases were meant for the given range of svn revs of trunk to show the issue where expand_one_var is called twice and that forces useless realignment. If you want just see too high DECL_ALIGN setting, try: void f (long x) { long a, b, c, d; asm ("" : : "r" (&a), "r" (&b), "r" (&c), "r" (&d)); __builtin_alloca (1); } at any optimization level on x86_64-linux on the trunk. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44542