On ia64-hp-hpux11.23, which supports a 32 and 64 bit mode, I get an assertion failure during bootstrap. This is with version 151382.
insn is: (debug_insn 52 51 53 9 /proj/opensrc/nightly/src/trunk/libgcc/../gcc/gcov-io.c:238 (var_location:SI result (high (nil))) -1 (nil)) val is: (plus:DI (const:DI (plus:DI (symbol_ref:DI ("__gcov_var") [flags 0x2] <var_decl 7b50cba0 __gcov_var>) (const_int 12 [0xc]))) (mult:SI (plus:SI (reg:SI 340 [ prephitmp.26 ]) (const_int 4 [0x4])) (const_int 4 [0x4]))) So the modes do not match. I am compiling in 32 bit mode, so ptr_mode is SImode but Pmode is DImode. -- Summary: Assertion at 2910 of cfgexpand.c (expand_debug_locations) Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sje at cup dot hp dot com GCC build triplet: ia64-hp-hpux11.23 GCC host triplet: ia64-hp-hpux11.23 GCC target triplet: ia64-hp-hpux11.23 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41248