[PATCH v2] Fix pr61848, linux kernel miscompile

2014-10-16 Thread Markus Trippelsdorf
(I've taken Alan's patch and added two new testcases.) This patch cures the linux kernel boot failure when compiled using trunk gcc. At its heart, the problem is caused by merge_decls merging from the old decl to the new decl, then copying back to the old decl and discarding the new. When Jan

Re: [PATCH v2] Fix pr61848, linux kernel miscompile

2014-10-16 Thread Jeff Law
On 10/16/14 06:40, Markus Trippelsdorf wrote: (I've taken Alan's patch and added two new testcases.) This patch cures the linux kernel boot failure when compiled using trunk gcc. At its heart, the problem is caused by merge_decls merging from the old decl to the new decl, then copying back to