------- Comment #3 from pinskia at gcc dot gnu dot org 2005-11-16 18:30 ------- Here is a further reduced testcase: unsigned long t(void);
void apic_write_atomic(unsigned long reg, unsigned int v) { ((__typeof__(*((volatile unsigned int *)((t())+reg))))t()); } -Wall is all is needed to reproduce the issue. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24900