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 middle-end/17407] [4.0 Regression] ICE in int_mode_for_mode


------- Additional Comments From roger at eyesopen dot com  2004-09-18 14:41 -------
Still thinking, shouldn't the TYPE_MODE of an array type usually be BLKmode?
The function build_array_type doesn't appear to initialize the TYPE_MODE field,
so it remains VOIDmode.  expand_expr has plenty of code to deal with BLKmode
MEMs, but rarely checks for VOIDmode.  Indeed, int_mode_for_mode doesn't ICE
if passed BLKmode instead of VOIDmode.


-- 


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


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