Skip to main content
5 of 5
deleted 147 characters in body

Take $S=\mathbb{Z}[X]$ and $R=\mathbb{Z}+X\mathbb{Q}[X]$. Then $gcd_S (2,X)=1$ and $gcd_R(2,X)=2$, where both $R$ and $S$ are GCD-domains.