Apparently -mno-powerpc-gfxopt is overridden by a later -m64 option. If the testcase is run by hand, with -m64 before -mno-powerpc-gfxopt on the command-line, then it'll pass.
-- Summary: gcc.dg/rs6000-fpint.c fails Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rth at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org GCC target triplet: powerpc64-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23704