https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98047
Bug ID: 98047
Summary: assignment does not drop qualifier as observed by
typeof
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: uecker at eecs dot berkeley.edu
Target Milestone: ---
In the following example, the qualifier should be dropped according
to 6.5.15.1 "the type of an assignment expression is the type
the left operand would have after lvalue conversion."
void f(void)
{
volatile int xv;
extern int x;
extern typeof(xv = 1) x;
}