[Bug middle-end/21392] Wrong code generated for array of enum with "mode" attribute

2006-02-15 Thread jde at google dot com
--- Comment #1 from jde at google dot com 2006-02-16 02:26 --- I was able to reproduce this bug. Indeed the offset is bytewise but the load is done with a movl ("movl foo+2, %eax") Below is the program used to reproduce, the compiler and flags used, and the resultant output

[Bug c++/11471] ICE on illegal use of typedef'd member class

2006-02-16 Thread jde at google dot com
--- Comment #6 from jde at google dot com 2006-02-17 01:23 --- Using the source above, and gcc-4,[01], I at least get the error message, but 4.1 still dies... gcc-4.0.1-glibc-2.3.2-i686-piii-linux-gnu-g++ -c main.cc main.cc:7: error: ISO C++ forbids declaration of 'type' wi