diff --git a/src/test/regress/resultmap b/src/test/regress/resultmap
index b2a67aee5c..a1f77ec360 100644
--- a/src/test/regress/resultmap
+++ b/src/test/regress/resultmap
@@ -9,7 +9,7 @@ float8/.*-bsdi=float8-small-is-zero
 float8/.*-freebsd=float8-small-is-zero
 float8/i.86-.*-netbsd=float8-small-is-zero
 float8/.*-qnx=float8-exp-three-digits
-float8/alpha.*-dec-osf=float8-fp-exception
+float8/alpha.*-dec-osf.*:cc=float8-fp-exception
 float8/i.86-pc-cygwin=float8-small-is-zero
 geometry/.*-bsdi=geometry-positive-zeros-bsd
 geometry/.*-darwin=geometry-powerpc-darwin