http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53152
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lopezibanez at gmail dot | |com --- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-05-04 10:57:11 UTC --- How could we in principle fix this? Pass down from cp_parser_binary_expression the location of the operator token, through build_x_binary_op -> build_new_op -> build_new_op_1 -> op_error? Boring but straightforward. Or something else entirely? I'm just guessing, really.