This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/23836] [4.0 Regression] Invalid code generated when accessing packed arrays


------- Additional Comments From james at recherche dot enac dot fr  2005-09-12 20:05 -------
Works perfectly well with -O1 and -O2 with gcc-3.4

There is no language trick here. The overlay A_I (which is the only tricky part)
is never used, it is only declared.

Moreover, declaring Bit as an unsigned type with modular typing as suggested by
some people in the comp.lang.ada newsgroup with 
type Bit is mod 2;
doesn't change the general behavior of the compilers.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23836


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]