public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/49878] New: [h8300] ICE in based_loc_descr, at dwarf2out.c:10478
@ 2011-07-27 18:43 lacombar at gmail dot com
  2011-07-27 18:51 ` [Bug target/49878] " lacombar at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: lacombar at gmail dot com @ 2011-07-27 18:43 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [h8300] ICE in based_loc_descr, at dwarf2out.c:10478
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: lacombar@gmail.com


from: 

Using built-in specs.                                                           
COLLECT_GCC=/src/h8300/obj/destdir/bin/h8300-elf-gcc
COLLECT_LTO_WRAPPER=/src/h8300/obj/destdir/libexec/gcc/h8300-elf/4.7.0/lto-wrapper
Target: h8300-elf
Configured with: ../../../external/gpl/gcc/configure
--prefix=/src/h8300/obj/destdir --target=h8300-elf --enable-languages=c
Thread model: single
gcc version 4.7.0 20110726 (experimental) (GCC)

/src/linux/linux/fs/read_write.c:29:1: internal compiler error: in
based_loc_descr, at dwarf2out.c:10478
Please submit a full bug report, 
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

and

/src/linux/linux/fs/dcache.c: In function '__d_path':
/src/linux/linux/fs/dcache.c:2509:1: internal compiler error: in
based_loc_descr, at dwarf2out.c:10478
Please submit a full bug report, 
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

testcases to come.

This may be related to BUG 49874.


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

* [Bug target/49878] [h8300] ICE in based_loc_descr, at dwarf2out.c:10478
  2011-07-27 18:43 [Bug c/49878] New: [h8300] ICE in based_loc_descr, at dwarf2out.c:10478 lacombar at gmail dot com
@ 2011-07-27 18:51 ` lacombar at gmail dot com
  2011-08-01 23:07 ` rth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: lacombar at gmail dot com @ 2011-07-27 18:51 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Arnaud Lacombe <lacombar at gmail dot com> 2011-07-27 18:51:21 UTC ---
Created attachment 24846
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24846
reduced testcase.


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

* [Bug target/49878] [h8300] ICE in based_loc_descr, at dwarf2out.c:10478
  2011-07-27 18:43 [Bug c/49878] New: [h8300] ICE in based_loc_descr, at dwarf2out.c:10478 lacombar at gmail dot com
  2011-07-27 18:51 ` [Bug target/49878] " lacombar at gmail dot com
@ 2011-08-01 23:07 ` rth at gcc dot gnu.org
  2011-08-01 23:23 ` rth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rth at gcc dot gnu.org @ 2011-08-01 23:07 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Richard Henderson <rth at gcc dot gnu.org> 2011-08-01 23:07:11 UTC ---
Command-line options?  Neither -O[23] -g seem to reproduce it,
at least based on top of PR49879 fix...


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

* [Bug target/49878] [h8300] ICE in based_loc_descr, at dwarf2out.c:10478
  2011-07-27 18:43 [Bug c/49878] New: [h8300] ICE in based_loc_descr, at dwarf2out.c:10478 lacombar at gmail dot com
  2011-07-27 18:51 ` [Bug target/49878] " lacombar at gmail dot com
  2011-08-01 23:07 ` rth at gcc dot gnu.org
@ 2011-08-01 23:23 ` rth at gcc dot gnu.org
  2011-08-02 18:48 ` rth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rth at gcc dot gnu.org @ 2011-08-01 23:23 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Henderson <rth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2011.08.01 23:22:47
         AssignedTo|unassigned at gcc dot       |rth at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1

--- Comment #3 from Richard Henderson <rth at gcc dot gnu.org> 2011-08-01 23:22:47 UTC ---
Nevermind, I got it -- -fomit-frame-pointer.

The problem is that H8 allows eliminable registers in push insns.
This leads to elimination failures.

C.f. the i386 register_no_elim_operand predicate, which is the
solution to things like this.


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

* [Bug target/49878] [h8300] ICE in based_loc_descr, at dwarf2out.c:10478
  2011-07-27 18:43 [Bug c/49878] New: [h8300] ICE in based_loc_descr, at dwarf2out.c:10478 lacombar at gmail dot com
                   ` (2 preceding siblings ...)
  2011-08-01 23:23 ` rth at gcc dot gnu.org
@ 2011-08-02 18:48 ` rth at gcc dot gnu.org
  2011-08-02 20:39 ` rth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rth at gcc dot gnu.org @ 2011-08-02 18:48 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Richard Henderson <rth at gcc dot gnu.org> 2011-08-02 18:48:04 UTC ---
Author: rth
Date: Tue Aug  2 18:48:00 2011
New Revision: 177200

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177200
Log:
PR target/49878
h8300: Don't allow eliminable registers to be pushed.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/h8300/h8300-protos.h
    trunk/gcc/config/h8300/h8300.c
    trunk/gcc/config/h8300/h8300.md
    trunk/gcc/config/h8300/predicates.md


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

* [Bug target/49878] [h8300] ICE in based_loc_descr, at dwarf2out.c:10478
  2011-07-27 18:43 [Bug c/49878] New: [h8300] ICE in based_loc_descr, at dwarf2out.c:10478 lacombar at gmail dot com
                   ` (3 preceding siblings ...)
  2011-08-02 18:48 ` rth at gcc dot gnu.org
@ 2011-08-02 20:39 ` rth at gcc dot gnu.org
  2011-08-02 23:09 ` rth at gcc dot gnu.org
  2015-02-05 17:19 ` law at redhat dot com
  6 siblings, 0 replies; 8+ messages in thread
From: rth at gcc dot gnu.org @ 2011-08-02 20:39 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Henderson <rth at gcc dot gnu.org> changed:

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

--- Comment #5 from Richard Henderson <rth at gcc dot gnu.org> 2011-08-02 20:39:18 UTC ---
Fixed.


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

* [Bug target/49878] [h8300] ICE in based_loc_descr, at dwarf2out.c:10478
  2011-07-27 18:43 [Bug c/49878] New: [h8300] ICE in based_loc_descr, at dwarf2out.c:10478 lacombar at gmail dot com
                   ` (4 preceding siblings ...)
  2011-08-02 20:39 ` rth at gcc dot gnu.org
@ 2011-08-02 23:09 ` rth at gcc dot gnu.org
  2015-02-05 17:19 ` law at redhat dot com
  6 siblings, 0 replies; 8+ messages in thread
From: rth at gcc dot gnu.org @ 2011-08-02 23:09 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Henderson <rth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.7.0


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

* [Bug target/49878] [h8300] ICE in based_loc_descr, at dwarf2out.c:10478
  2011-07-27 18:43 [Bug c/49878] New: [h8300] ICE in based_loc_descr, at dwarf2out.c:10478 lacombar at gmail dot com
                   ` (5 preceding siblings ...)
  2011-08-02 23:09 ` rth at gcc dot gnu.org
@ 2015-02-05 17:19 ` law at redhat dot com
  6 siblings, 0 replies; 8+ messages in thread
From: law at redhat dot com @ 2015-02-05 17:19 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49878

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tony at bakeyournoodle dot com

--- Comment #6 from Jeffrey A. Law <law at redhat dot com> ---
*** Bug 52598 has been marked as a duplicate of this bug. ***


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

end of thread, other threads:[~2015-02-05 17:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-27 18:43 [Bug c/49878] New: [h8300] ICE in based_loc_descr, at dwarf2out.c:10478 lacombar at gmail dot com
2011-07-27 18:51 ` [Bug target/49878] " lacombar at gmail dot com
2011-08-01 23:07 ` rth at gcc dot gnu.org
2011-08-01 23:23 ` rth at gcc dot gnu.org
2011-08-02 18:48 ` rth at gcc dot gnu.org
2011-08-02 20:39 ` rth at gcc dot gnu.org
2011-08-02 23:09 ` rth at gcc dot gnu.org
2015-02-05 17:19 ` law at redhat dot com

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).