public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/41248]  New: Assertion at 2910 of cfgexpand.c (expand_debug_locations)
@ 2009-09-03 17:01 sje at cup dot hp dot com
  2009-09-03 17:10 ` [Bug middle-end/41248] [4.5 Regression] VTA: " rguenth at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: sje at cup dot hp dot com @ 2009-09-03 17:01 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-09-28 20:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-03 17:01 [Bug middle-end/41248] New: Assertion at 2910 of cfgexpand.c (expand_debug_locations) sje at cup dot hp dot com
2009-09-03 17:10 ` [Bug middle-end/41248] [4.5 Regression] VTA: " rguenth at gcc dot gnu dot org
2009-09-03 17:26 ` sje at cup dot hp dot com
2009-09-03 23:53 ` aoliva at gcc dot gnu dot org
2009-09-08 17:54 ` [Bug debug/41248] " aoliva at gcc dot gnu dot org
2009-09-08 18:59 ` sje at cup dot hp dot com
2009-09-23 16:30 ` aoliva at gcc dot gnu dot org
2009-09-23 16:34 ` aoliva at gcc dot gnu dot org
2009-09-28 20:41 ` hjl at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).