public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/41474]  New: [4.5 Regression] 951116-1.c ICEs in mem_loc_descriptor, at dwarf2out.c:11279
@ 2009-09-26  0:48 kkojima at gcc dot gnu dot org
  2009-09-26 11:22 ` [Bug debug/41474] " rguenth at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: kkojima at gcc dot gnu dot org @ 2009-09-26  0:48 UTC (permalink / raw)
  To: gcc-bugs

I've got an ICE with gcc.c-torture/compile/951116-1.c test
on sh64-unknown-linux-gnu and powerpc64-unknown-linux-gnu.
On powerpc64-unknown-linux-gnu, with -O -g -m64

951116-1.c: In function 'f':
951116-1.c:9:1: internal compiler error: in mem_loc_descriptor, at
dwarf2out.c:11279

#1  0x081eb506 in mem_loc_descriptor (rtl=0xb7f67360, mode=TImode, 
    initialized=VAR_INIT_STATUS_INITIALIZED)
    at ../../LOCAL/trunk/gcc/dwarf2out.c:11279
11279         gcc_unreachable ();
(gdb) call debug_rtx(rtl)
(concatn:TI [
        (reg:DI 126 [ FRAME.1 ])
        (reg:DI 127 [ FRAME.1+8 ])
    ])

I've got it for revision 152109.


-- 
           Summary: [4.5 Regression] 951116-1.c ICEs in mem_loc_descriptor,
                    at dwarf2out.c:11279
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kkojima at gcc dot gnu dot org
GCC target triplet: powerpc64-unknown-linux-gnu


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


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

* [Bug debug/41474] [4.5 Regression] 951116-1.c ICEs in mem_loc_descriptor, at dwarf2out.c:11279
  2009-09-26  0:48 [Bug debug/41474] New: [4.5 Regression] 951116-1.c ICEs in mem_loc_descriptor, at dwarf2out.c:11279 kkojima at gcc dot gnu dot org
@ 2009-09-26 11:22 ` rguenth at gcc dot gnu dot org
  2009-09-26 22:41 ` dominiq at lps dot ens dot fr
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-09-26 11:22 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

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


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


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

* [Bug debug/41474] [4.5 Regression] 951116-1.c ICEs in mem_loc_descriptor, at dwarf2out.c:11279
  2009-09-26  0:48 [Bug debug/41474] New: [4.5 Regression] 951116-1.c ICEs in mem_loc_descriptor, at dwarf2out.c:11279 kkojima at gcc dot gnu dot org
  2009-09-26 11:22 ` [Bug debug/41474] " rguenth at gcc dot gnu dot org
@ 2009-09-26 22:41 ` dominiq at lps dot ens dot fr
  2009-09-27 19:16 ` hutchinsonandy at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: dominiq at lps dot ens dot fr @ 2009-09-26 22:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from dominiq at lps dot ens dot fr  2009-09-26 22:41 -------
Same thing on powerpc-apple-darwin9 at revision 152186 with -m64. I don't see
it on i686-apple-darwin9 at revision 152156.


-- 


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


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

* [Bug debug/41474] [4.5 Regression] 951116-1.c ICEs in mem_loc_descriptor, at dwarf2out.c:11279
  2009-09-26  0:48 [Bug debug/41474] New: [4.5 Regression] 951116-1.c ICEs in mem_loc_descriptor, at dwarf2out.c:11279 kkojima at gcc dot gnu dot org
  2009-09-26 11:22 ` [Bug debug/41474] " rguenth at gcc dot gnu dot org
  2009-09-26 22:41 ` dominiq at lps dot ens dot fr
@ 2009-09-27 19:16 ` hutchinsonandy at gcc dot gnu dot org
  2009-09-29 17:34 ` jakub at gcc dot gnu dot org
  2009-09-29 17:40 ` jakub at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: hutchinsonandy at gcc dot gnu dot org @ 2009-09-27 19:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hutchinsonandy at gcc dot gnu dot org  2009-09-27 19:15 -------
Same for AVR target. Numerous example (though not same testcase)

/home/andy/gccsvn/gcc/testsuite/gcc.c-torture/compile/pr38123.c:13:1: internal
compiler error: in mem_loc_descriptor, at dwarf2out.c:11292

Was ok on September 12th and has been failing for a last week or so.


-- 

hutchinsonandy at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hutchinsonandy at gcc dot
                   |                            |gnu dot org


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


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

* [Bug debug/41474] [4.5 Regression] 951116-1.c ICEs in mem_loc_descriptor, at dwarf2out.c:11279
  2009-09-26  0:48 [Bug debug/41474] New: [4.5 Regression] 951116-1.c ICEs in mem_loc_descriptor, at dwarf2out.c:11279 kkojima at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2009-09-27 19:16 ` hutchinsonandy at gcc dot gnu dot org
@ 2009-09-29 17:34 ` jakub at gcc dot gnu dot org
  2009-09-29 17:40 ` jakub at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-09-29 17:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jakub at gcc dot gnu dot org  2009-09-29 17:34 -------
Subject: Bug 41474

Author: jakub
Date: Tue Sep 29 17:33:58 2009
New Revision: 152282

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152282
Log:
        PR debug/41438
        * dwarf2out.c (const_ok_for_output_1, const_ok_for_output): New
        functions.
        (mem_loc_descriptor, loc_descriptor, add_const_value_attribute): Bail
        out if !const_ok_for_output.

        PR debug/41474
        * dwarf2out.c (mem_loc_descriptor) <case CONCAT, case CONCATN,
        case VAR_LOCATION>: Remove gcc_unreachable ().

        * gcc.dg/debug/dwarf2/const-1.c: Add dg-require-visibility, make x
        hidden.
        * g++.dg/debug/dwarf2/const-1.C: Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/debug/dwarf2/const1.C
    trunk/gcc/testsuite/gcc.dg/debug/dwarf2/const-1.c


-- 


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


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

* [Bug debug/41474] [4.5 Regression] 951116-1.c ICEs in mem_loc_descriptor, at dwarf2out.c:11279
  2009-09-26  0:48 [Bug debug/41474] New: [4.5 Regression] 951116-1.c ICEs in mem_loc_descriptor, at dwarf2out.c:11279 kkojima at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2009-09-29 17:34 ` jakub at gcc dot gnu dot org
@ 2009-09-29 17:40 ` jakub at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-09-29 17:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jakub at gcc dot gnu dot org  2009-09-29 17:40 -------
Fixed.


-- 

jakub at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2009-09-29 17:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-26  0:48 [Bug debug/41474] New: [4.5 Regression] 951116-1.c ICEs in mem_loc_descriptor, at dwarf2out.c:11279 kkojima at gcc dot gnu dot org
2009-09-26 11:22 ` [Bug debug/41474] " rguenth at gcc dot gnu dot org
2009-09-26 22:41 ` dominiq at lps dot ens dot fr
2009-09-27 19:16 ` hutchinsonandy at gcc dot gnu dot org
2009-09-29 17:34 ` jakub at gcc dot gnu dot org
2009-09-29 17:40 ` jakub 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).