------- Comment #9 from janis at gcc dot gnu dot org 2007-06-15 23:40 ------- This makes no sense to me, but I'll report it in case it does to someone else. With compilers for powerpc64-linux, the test compiled with "-c -O2 -mcpu=7450" (or -Os instead of -O2) passes with GCC 4.0 and fails with GCC 4.1 and later. A regression hunt of mainline between the branchpoints for 4.0 and 4.1 identified revision 106744. That was a bit messy because r106743 introduced a typo which was fixed in 106746. A powerpc-linux cross compiler built from r106741 plus the patch for r106744 also caused the test to fail. The odd thing is that the patch for 106744 is for dom, but the test fails even with -fno-tree-dominator-opts.
I tried the test with a variety of revisions from before and after that patch to see if the results were intermittent, but they consistently pass before the patch and fail afterwards. The testcase proved resistant to minimizing, but I'll attached the smallest I managed to get it. It's not preprocessed, still including altivec.h in case changes to that file were related to the failure. -- janis at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |janis at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32347