OK.
Jason
On Thu, Nov 19, 2015 at 02:52:55AM +, Manuel López-Ibáñez wrote:
> static bool
> error_jumpto (diagnostic_t kind, location_t loc, tree decl)
> {
> bool complained = (decl
>? emit_diagnostic (kind, input_location, 0,
> "jump to label %q
On 18/11/15 22:55, Jakub Jelinek wrote:
static bool
-identify_goto (tree decl, const location_t *locus)
+identify_goto (tree decl, const location_t *locus, bool harderr)
{
- bool complained = (decl
-? permerror (input_location, "jump to label %qD", decl)
-
Hi!
Before Paolo's changes, e.g. identify_goto always used permerror, and then
depending on the severity of the issue either issued another permerror
describing in detail the issue, or error.
In particular, entering scope of a decl with non-trivial dtor has been
a permerror, pretty much everything