This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/64509] _Generic throws error in unselected generic association
- From: "maurits.de.jong at ericsson dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 06 Jan 2015 15:38:49 +0000
- Subject: [Bug c/64509] _Generic throws error in unselected generic association
- Auto-submitted: auto-generated
- References: <bug-64509-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64509
--- Comment #2 from Martien de Jong <maurits.de.jong at ericsson dot com> ---
That's just rephrasing my bugreport. The question is, should it type check
while parsing an expression that may not be realized? The entire idea of
switching on a type is to prevent and fix type errors, no?