add Eq instance for CDialect
Merge pull request #1650 from JohnLato/master

add Eq instance for CDialect