public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/13004] New: ICE during -O0 DI assignment.
@ 2003-11-11  4:34 matt at 3am-software dot com
  2003-11-12 19:02 ` [Bug target/13004] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: matt at 3am-software dot com @ 2003-11-11  4:34 UTC (permalink / raw)
  To: gcc-bugs

void
bug(unsigned long long *x)
{
        *x = 60486;
}

compiled by:

hppa--netbsd-gcc -O0 -c pabug.c

will die with:

pabug.c: In function `bug':
pabug.c:5: error: unrecognizable insn:
(insn 11 10 12 0 0x0 (set (reg:DI 95)
        (plus:DI (reg:DI 96)
            (const_int -5050 [0xffffffffffffec46]))) -1 (nil)
    (expr_list:REG_DEAD (reg:DI 96)
        (expr_list:REG_EQUAL (const_int 60486 [0xec46])
            (nil))))
pabug.c:5: internal compiler error: in extract_insn, at recog.c:2175
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.netbsd.org/Misc/send-pr.html> for instructions.

Using -O2 does not produce any errors.

-- 
           Summary: ICE during -O0 DI assignment.
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: matt at 3am-software dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: x86_64--netbsd
  GCC host triplet: x86_64--netbsd
GCC target triplet: hppa--netbsd


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


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

* [Bug target/13004] ICE during -O0 DI assignment.
  2003-11-11  4:34 [Bug target/13004] New: ICE during -O0 DI assignment matt at 3am-software dot com
@ 2003-11-12 19:02 ` pinskia at gcc dot gnu dot org
  2003-11-18 17:00 ` falk at debian dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-12 19:02 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code


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


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

* [Bug target/13004] ICE during -O0 DI assignment.
  2003-11-11  4:34 [Bug target/13004] New: ICE during -O0 DI assignment matt at 3am-software dot com
  2003-11-12 19:02 ` [Bug target/13004] " pinskia at gcc dot gnu dot org
@ 2003-11-18 17:00 ` falk at debian dot org
  2003-11-18 17:37 ` matt at 3am-software dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: falk at debian dot org @ 2003-11-18 17:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From falk at debian dot org  2003-11-18 17:00 -------
Hmm, I cannot reproduce this on hppa-linux. Weird.



-- 


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


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

* [Bug target/13004] ICE during -O0 DI assignment.
  2003-11-11  4:34 [Bug target/13004] New: ICE during -O0 DI assignment matt at 3am-software dot com
  2003-11-12 19:02 ` [Bug target/13004] " pinskia at gcc dot gnu dot org
  2003-11-18 17:00 ` falk at debian dot org
@ 2003-11-18 17:37 ` matt at 3am-software dot com
  2004-08-15 23:54 ` giovannibajo at libero dot it
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: matt at 3am-software dot com @ 2003-11-18 17:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From matt at 3am-software dot com  2003-11-18 17:37 -------
You need a LP64 platform to host the compiler.

-- 


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


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

* [Bug target/13004] ICE during -O0 DI assignment.
  2003-11-11  4:34 [Bug target/13004] New: ICE during -O0 DI assignment matt at 3am-software dot com
                   ` (2 preceding siblings ...)
  2003-11-18 17:37 ` matt at 3am-software dot com
@ 2004-08-15 23:54 ` giovannibajo at libero dot it
  2004-08-16  1:42 ` dave at hiauly1 dot hia dot nrc dot ca
  2004-08-16  1:48 ` giovannibajo at libero dot it
  5 siblings, 0 replies; 7+ messages in thread
From: giovannibajo at libero dot it @ 2004-08-15 23:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2004-08-15 23:54 -------
David, can you have a look at this report please? It would be great if you 
could at least confirm this, and check if it is a regression or not. Thanks.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |danglin at gcc dot gnu dot
                   |                            |org, giovannibajo at libero
                   |                            |dot it


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


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

* [Bug target/13004] ICE during -O0 DI assignment.
  2003-11-11  4:34 [Bug target/13004] New: ICE during -O0 DI assignment matt at 3am-software dot com
                   ` (3 preceding siblings ...)
  2004-08-15 23:54 ` giovannibajo at libero dot it
@ 2004-08-16  1:42 ` dave at hiauly1 dot hia dot nrc dot ca
  2004-08-16  1:48 ` giovannibajo at libero dot it
  5 siblings, 0 replies; 7+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2004-08-16  1:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2004-08-16 01:42 -------
Subject: Re:  ICE during -O0 DI assignment.

> ------- Additional Comments From giovannibajo at libero dot it  2004-08-15
> 23:54 -------
> David, can you have a look at this report please? It would be great if you 
> could at least confirm this, and check if it is a regression or not. Thanks.

hppa--netbsd isn't a supported configuration (i.e., it's not in config.gcc).
Thus, this isn't a regression.

Questions on doing a port should be addressed to the gcc list.

The rtl should look like:

(insn 10 9 11 0 00000000 (set (reg:DI 96)
        (high:DI (const_int 60486 [0xec46]))) -1 (nil)
    (nil))

(insn 11 10 12 0 00000000 (set (reg:DI 95)
	(lo_sum:DI (reg:DI 96)
	    (const_int 60486 [0xec46]))) -1 (nil)
    (expr_list:REG_EQUAL (const_int 60486 [0xec46])
	(nil)))

Dave


-- 


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


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

* [Bug target/13004] ICE during -O0 DI assignment.
  2003-11-11  4:34 [Bug target/13004] New: ICE during -O0 DI assignment matt at 3am-software dot com
                   ` (4 preceding siblings ...)
  2004-08-16  1:42 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2004-08-16  1:48 ` giovannibajo at libero dot it
  5 siblings, 0 replies; 7+ messages in thread
From: giovannibajo at libero dot it @ 2004-08-16  1:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2004-08-16 01:48 -------
OK, closing as invalid then, since it does not affect any supported/released 
version of GCC.

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


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


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

end of thread, other threads:[~2004-08-16  1:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-11  4:34 [Bug target/13004] New: ICE during -O0 DI assignment matt at 3am-software dot com
2003-11-12 19:02 ` [Bug target/13004] " pinskia at gcc dot gnu dot org
2003-11-18 17:00 ` falk at debian dot org
2003-11-18 17:37 ` matt at 3am-software dot com
2004-08-15 23:54 ` giovannibajo at libero dot it
2004-08-16  1:42 ` dave at hiauly1 dot hia dot nrc dot ca
2004-08-16  1:48 ` giovannibajo at libero dot it

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