public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/42767]  New: ICE in mem_loc_descriptor
@ 2010-01-16 12:34 jzhang918 at gmail dot com
  2010-01-16 12:36 ` [Bug debug/42767] " jzhang918 at gmail dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: jzhang918 at gmail dot com @ 2010-01-16 12:34 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1068 bytes --]

ICE when compiling the attached test case with -O -g.

$ ./cc1 -O -g /tmp/testcase-ice-mem_loc_descriptor.c 
 _bfd_link_section_stabs
Analyzing compilation unit
Performing interprocedural optimizations
 <visibility> <*free_lang_data> <early_local_cleanups> <whole-program> <inline>
<static-var> <pure-const>Assembling functions:
 _bfd_link_section_stabs(us_truncate:SI (reg:PDI 32 A0))
/tmp/testcase-ice-mem_loc_descriptor.c: In function ‘_bfd_link_section_stabs’:
/tmp/testcase-ice-mem_loc_descriptor.c:14:1: internal compiler error: in
mem_loc_descriptor, at dwarf2out.c:13487


-- 
           Summary: ICE in mem_loc_descriptor
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jzhang918 at gmail dot com
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: bfin-uclinux


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


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

* [Bug debug/42767] ICE in mem_loc_descriptor
  2010-01-16 12:34 [Bug debug/42767] New: ICE in mem_loc_descriptor jzhang918 at gmail dot com
@ 2010-01-16 12:36 ` jzhang918 at gmail dot com
  2010-01-16 12:36 ` jzhang918 at gmail dot com
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jzhang918 at gmail dot com @ 2010-01-16 12:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jzhang918 at gmail dot com  2010-01-16 12:36 -------
Created an attachment (id=19621)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19621&action=view)
The patch


-- 


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


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

* [Bug debug/42767] ICE in mem_loc_descriptor
  2010-01-16 12:34 [Bug debug/42767] New: ICE in mem_loc_descriptor jzhang918 at gmail dot com
  2010-01-16 12:36 ` [Bug debug/42767] " jzhang918 at gmail dot com
@ 2010-01-16 12:36 ` jzhang918 at gmail dot com
  2010-01-16 12:38 ` jzhang918 at gmail dot com
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jzhang918 at gmail dot com @ 2010-01-16 12:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jzhang918 at gmail dot com  2010-01-16 12:35 -------
Created an attachment (id=19620)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19620&action=view)
The test case


-- 


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


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

* [Bug debug/42767] ICE in mem_loc_descriptor
  2010-01-16 12:34 [Bug debug/42767] New: ICE in mem_loc_descriptor jzhang918 at gmail dot com
  2010-01-16 12:36 ` [Bug debug/42767] " jzhang918 at gmail dot com
  2010-01-16 12:36 ` jzhang918 at gmail dot com
@ 2010-01-16 12:38 ` jzhang918 at gmail dot com
  2010-01-17 10:19 ` jiez at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jzhang918 at gmail dot com @ 2010-01-16 12:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jzhang918 at gmail dot com  2010-01-16 12:37 -------
I'm testing the attached patch.


-- 


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


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

* [Bug debug/42767] ICE in mem_loc_descriptor
  2010-01-16 12:34 [Bug debug/42767] New: ICE in mem_loc_descriptor jzhang918 at gmail dot com
                   ` (2 preceding siblings ...)
  2010-01-16 12:38 ` jzhang918 at gmail dot com
@ 2010-01-17 10:19 ` jiez at gcc dot gnu dot org
  2010-01-17 10:22 ` jzhang918 at gmail dot com
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jiez at gcc dot gnu dot org @ 2010-01-17 10:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jiez at gcc dot gnu dot org  2010-01-17 10:19 -------
Subject: Bug 42767

Author: jiez
Date: Sun Jan 17 10:19:22 2010
New Revision: 155974

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155974
Log:
        PR debug/42767
        * dwarf2out.c (mem_loc_descriptor): Handle SS_TRUNCATE
        and US_TRUNCATE.

        testsuite/
        PR debug/42767
        * gcc.dg/debug/pr42767.c: New.

Added:
    trunk/gcc/testsuite/gcc.dg/debug/pr42767.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug debug/42767] ICE in mem_loc_descriptor
  2010-01-16 12:34 [Bug debug/42767] New: ICE in mem_loc_descriptor jzhang918 at gmail dot com
                   ` (3 preceding siblings ...)
  2010-01-17 10:19 ` jiez at gcc dot gnu dot org
@ 2010-01-17 10:22 ` jzhang918 at gmail dot com
  2010-02-07  3:48 ` hjl dot tools at gmail dot com
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jzhang918 at gmail dot com @ 2010-01-17 10:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jzhang918 at gmail dot com  2010-01-17 10:22 -------
Created an attachment (id=19630)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19630&action=view)
The committed patch


-- 

jzhang918 at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #19621|0                           |1
        is obsolete|                            |


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


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

* [Bug debug/42767] ICE in mem_loc_descriptor
  2010-01-16 12:34 [Bug debug/42767] New: ICE in mem_loc_descriptor jzhang918 at gmail dot com
                   ` (4 preceding siblings ...)
  2010-01-17 10:22 ` jzhang918 at gmail dot com
@ 2010-02-07  3:48 ` hjl dot tools at gmail dot com
  2010-04-06 11:26 ` rguenth at gcc dot gnu dot org
  2010-04-06 12:01 ` jiez at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-02-07  3:48 UTC (permalink / raw)
  To: gcc-bugs



-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.5.0


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


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

* [Bug debug/42767] ICE in mem_loc_descriptor
  2010-01-16 12:34 [Bug debug/42767] New: ICE in mem_loc_descriptor jzhang918 at gmail dot com
                   ` (5 preceding siblings ...)
  2010-02-07  3:48 ` hjl dot tools at gmail dot com
@ 2010-04-06 11:26 ` rguenth at gcc dot gnu dot org
  2010-04-06 12:01 ` jiez at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-06 11:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from rguenth at gcc dot gnu dot org  2010-04-06 11:20 -------
GCC 4.5.0 is being released.  Deferring to 4.5.1.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.5.0                       |4.5.1


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


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

* [Bug debug/42767] ICE in mem_loc_descriptor
  2010-01-16 12:34 [Bug debug/42767] New: ICE in mem_loc_descriptor jzhang918 at gmail dot com
                   ` (6 preceding siblings ...)
  2010-04-06 11:26 ` rguenth at gcc dot gnu dot org
@ 2010-04-06 12:01 ` jiez at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: jiez at gcc dot gnu dot org @ 2010-04-06 12:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from jiez at gcc dot gnu dot org  2010-04-06 12:01 -------
This bug should have been fixed. Close.


-- 

jiez at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2010-04-06 12:01 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-16 12:34 [Bug debug/42767] New: ICE in mem_loc_descriptor jzhang918 at gmail dot com
2010-01-16 12:36 ` [Bug debug/42767] " jzhang918 at gmail dot com
2010-01-16 12:36 ` jzhang918 at gmail dot com
2010-01-16 12:38 ` jzhang918 at gmail dot com
2010-01-17 10:19 ` jiez at gcc dot gnu dot org
2010-01-17 10:22 ` jzhang918 at gmail dot com
2010-02-07  3:48 ` hjl dot tools at gmail dot com
2010-04-06 11:26 ` rguenth at gcc dot gnu dot org
2010-04-06 12:01 ` jiez 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).