Re: [PATCH] Fix up invalid asm goto diagnostics (PR middle-end/51768)

2012-01-05 Thread Richard Henderson
On 01/06/2012 07:05 AM, Jakub Jelinek wrote: > PR middle-end/51768 > * stmt.c (check_unique_operand_names): Don't ICE during error > reporting if i is from labels chain. > > * c-c++-common/pr51768.c: New test. Ok. r~

[PATCH] Fix up invalid asm goto diagnostics (PR middle-end/51768)

2012-01-05 Thread Jakub Jelinek
Hi! We use the same goto label for duplicate names of outputs/inputs/labels, but unlike outputs/inputs names where the STRING_CSTs are at TREE_PURPOSE (TREE_PURPOSE (i)), the STRING_CSTs for labels are at TREE_PURPOSE (i), thus if we need to report duplicate labels (either duplicate to some input/