Currently we split a token if a digit separator proceeds a period. This causes the digit separator to be interpreted instead as the start of a character constant token. gcc seems to keep it as a whole token for this case and issues an error for a digit separator being adjacent to a period.
Parts of NumericLiteralParser already expected that the digit separator could appear before a period and attempted to diagnose accordingly.