public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/19819] New: ICE when compiling aegis 4.20
@ 2005-02-08 16:14 ralfixx at gmx dot de
  2005-02-08 16:28 ` [Bug c++/19819] " ralfixx at gmx dot de
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: ralfixx at gmx dot de @ 2005-02-08 16:14 UTC (permalink / raw)
  To: gcc-bugs

g++ runs into an ICE when compiling aegis 4.20 on HP 10.20

/software/gcc/3.4.3/HP-UX-B.10/bin/g++ -Iaeget -Ilibaegis -Icommon
-I/work/include -O -c \
	aeget/get/file/metrics.cc
aeget/get/file/metrics.cc: In function `void get_file_metrics(change_ty*,
string_ty*, string_list_ty*)':
aeget/get/file/metrics.cc:382: error: unrecognizable insn:
(insn 2201 2200 2199 114 (set (reg:DF 68 %fr22)
        (mem/s/j:DF (plus:SI (reg:SI 21 %r21)
                (reg:SI 1 %r1)) [0 <variable>.data S8 A64])) -1 (nil)
    (nil))
aeget/get/file/metrics.cc:382: internal compiler error: in extract_insn, at
recog.c:2083


Now how to attach the preprocessed source file...?

-- 
           Summary: ICE when compiling aegis 4.20
           Product: gcc
           Version: 3.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ralfixx at gmx dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: hppa2.0-hp-hpux10.20
  GCC host triplet: hppa2.0-hp-hpux10.20
GCC target triplet: hppa2.0-hp-hpux10.20


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


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

* [Bug c++/19819] ICE when compiling aegis 4.20
  2005-02-08 16:14 [Bug c++/19819] New: ICE when compiling aegis 4.20 ralfixx at gmx dot de
@ 2005-02-08 16:28 ` ralfixx at gmx dot de
  2005-02-08 16:30 ` ralfixx at gmx dot de
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ralfixx at gmx dot de @ 2005-02-08 16:28 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ralfixx at gmx dot de  2005-02-08 09:59 -------
Created an attachment (id=8140)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8140&action=view)
preprocessed source file

preprocessed source with commandline:

 /software/gcc/3.4.3/HP-UX-B.10/bin/g++ -v -save-temps -Iaeget -Ilibaegis
-Icommon -I/work/include -O -c		  aeget/get/file/metrics.cc

Reading specs from
/tmp_mnt/software/software/gcc/3.4.3/HP-UX-B.10/lib/gcc/hppa2.0-hp-hpux10.20/3.4.3/specs

Configured with:
/tmp_mnt/hosts/jupiter/disk4/tmp/ralf/Software/gcc-3.4.3/configure
--prefix=/software/gcc/3.4.3 --exec-prefix=/software/gcc/3.4.3/HP-UX-B.10
--with-local-prefix=/work --enable-languages=c,c++ --enable-shared
--with-gnu-as --with-as=/work/bin/as
Thread model: single
gcc version 3.4.3

/tmp_mnt/software/software/gcc/3.4.3/HP-UX-B.10/libexec/gcc/hppa2.0-hp-hpux10.20/3.4.3/cc1plus
-E -quiet -v -Iaeget -Ilibaegis -Icommon -I/work/include -iprefix
/tmp_mnt/software/software/gcc/3.4.3/HP-UX-B.10/bin/../lib/gcc/hppa2.0-hp-hpux10.20/3.4.3/
aeget/get/file/metrics.cc -O -o metrics.ii
ignoring nonexistent directory
"/tmp_mnt/software/software/gcc/3.4.3/HP-UX-B.10/bin/../lib/gcc/hppa2.0-hp-hpux10.20/3.4.3/../../../../hppa2.0-hp-hpux10.20/include"

ignoring duplicate directory "/software/gcc/3.4.3/include/c++/3.4.3"
ignoring duplicate directory
"/software/gcc/3.4.3/include/c++/3.4.3/hppa2.0-hp-hpux10.20"
ignoring duplicate directory "/software/gcc/3.4.3/include/c++/3.4.3/backward"
ignoring duplicate directory
"/software/gcc/3.4.3/HP-UX-B.10/lib/gcc/hppa2.0-hp-hpux10.20/3.4.3/include"
ignoring nonexistent directory
"/software/gcc/3.4.3/HP-UX-B.10/hppa2.0-hp-hpux10.20/include"
ignoring duplicate directory "/work/include"
  as it is a non-system directory that duplicates a system directory
#include "..." search starts here:
#include <...> search starts here:
 aeget
 libaegis
 common

/tmp_mnt/software/software/gcc/3.4.3/HP-UX-B.10/bin/../lib/gcc/hppa2.0-hp-hpux10.20/3.4.3/../../../../../include/c++/3.4.3


/tmp_mnt/software/software/gcc/3.4.3/HP-UX-B.10/bin/../lib/gcc/hppa2.0-hp-hpux10.20/3.4.3/../../../../../include/c++/3.4.3/hppa2.0-hp-hpux10.20


/tmp_mnt/software/software/gcc/3.4.3/HP-UX-B.10/bin/../lib/gcc/hppa2.0-hp-hpux10.20/3.4.3/../../../../../include/c++/3.4.3/backward


/tmp_mnt/software/software/gcc/3.4.3/HP-UX-B.10/bin/../lib/gcc/hppa2.0-hp-hpux10.20/3.4.3/include

 /work/include
 /software/gcc/3.4.3/include
 /usr/include
End of search list.

/tmp_mnt/software/software/gcc/3.4.3/HP-UX-B.10/libexec/gcc/hppa2.0-hp-hpux10.20/3.4.3/cc1plus
-fpreprocessed metrics.ii -quiet -dumpbase metrics.cc -auxbase metrics -O
-version -o metrics.s
GNU C++ version 3.4.3 (hppa2.0-hp-hpux10.20)
	compiled by GNU C version 3.4.3.
GGC heuristics: --param ggc-min-expand=47 --param ggc-min-heapsize=32768
aeget/get/file/metrics.cc: In function `void get_file_metrics(change_ty*,
string_ty*, string_list_ty*)':
aeget/get/file/metrics.cc:382: error: unrecognizable insn:
(insn 2201 2200 2199 114 (set (reg:DF 68 %fr22)
	(mem/s/j:DF (plus:SI (reg:SI 21 %r21)
		(reg:SI 1 %r1)) [0 <variable>.data S8 A64])) -1 (nil)
    (nil))
aeget/get/file/metrics.cc:382: internal compiler error: in extract_insn, at
recog.c:2083
Please submit a full bug report,
with preprocessed source if appropriate.

-- 


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


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

* [Bug c++/19819] ICE when compiling aegis 4.20
  2005-02-08 16:14 [Bug c++/19819] New: ICE when compiling aegis 4.20 ralfixx at gmx dot de
  2005-02-08 16:28 ` [Bug c++/19819] " ralfixx at gmx dot de
@ 2005-02-08 16:30 ` ralfixx at gmx dot de
  2005-02-08 18:30 ` [Bug target/19819] " pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ralfixx at gmx dot de @ 2005-02-08 16:30 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ralfixx at gmx dot de  2005-02-08 10:01 -------
Created an attachment (id=8141)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8141&action=view)
preprocessed assembly source

assembly source (same commandline as .ii attachment)

-- 


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


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

* [Bug target/19819] ICE when compiling aegis 4.20
  2005-02-08 16:14 [Bug c++/19819] New: ICE when compiling aegis 4.20 ralfixx at gmx dot de
  2005-02-08 16:28 ` [Bug c++/19819] " ralfixx at gmx dot de
  2005-02-08 16:30 ` ralfixx at gmx dot de
@ 2005-02-08 18:30 ` pinskia at gcc dot gnu dot org
  2005-02-27 14:39 ` danglin at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-08 18:30 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |target
           Keywords|                            |ice-on-valid-code


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


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

* [Bug target/19819] ICE when compiling aegis 4.20
  2005-02-08 16:14 [Bug c++/19819] New: ICE when compiling aegis 4.20 ralfixx at gmx dot de
                   ` (2 preceding siblings ...)
  2005-02-08 18:30 ` [Bug target/19819] " pinskia at gcc dot gnu dot org
@ 2005-02-27 14:39 ` danglin at gcc dot gnu dot org
  2005-02-28  3:23 ` danglin at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: danglin at gcc dot gnu dot org @ 2005-02-27 14:39 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |danglin at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-02-27 03:08:42
               date|                            |


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


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

* [Bug target/19819] ICE when compiling aegis 4.20
  2005-02-08 16:14 [Bug c++/19819] New: ICE when compiling aegis 4.20 ralfixx at gmx dot de
                   ` (3 preceding siblings ...)
  2005-02-27 14:39 ` danglin at gcc dot gnu dot org
@ 2005-02-28  3:23 ` danglin at gcc dot gnu dot org
  2005-03-01  3:24 ` cvs-commit at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: danglin at gcc dot gnu dot org @ 2005-02-28  3:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From danglin at gcc dot gnu dot org  2005-02-27 19:37 -------
This appears to be a reload problem.  The reason the insn isn't
recognized is that the REG_POINTER flag (f/frame-related) has been
lost.  Under HP-UX the base register must be marked with the
REG_POINTER flag because the base register is used to determine
which space register to use for the insn.  This matters under
HP-UX because the space registers forthe four memory quadrants
contain different values.

After the lreg pass, we have:

(note 1056 1055 1057 114 NOTE_INSN_DELETED)

(insn 1057 1056 1855 114 (set (reg/v:DF 237 [ x ])
        (mem/s/j:DF (plus:SI (reg:SI 241)
                (reg/v/f:SI 213 [ rp ])) [0 <variable>.data S8 A64])) 67 {*pa.md
:3791} (insn_list 1055 (nil))
    (nil))

The ICE occurs in the greg pass where we now have the following rtl:

(note 1056 2195 2197 114 NOTE_INSN_DELETED)

(insn 2197 1056 2198 114 (set (reg:SI 1 %r1)
        (mem:SI (plus:SI (reg/f:SI 30 %r30)
                (const_int -292 [0xfffffedc])) [0 rp+0 S4 A32])) 37 {*pa.md:2265} 
(nil)
    (nil))

(insn 2198 2197 2196 114 (set (reg:DF 68 %fr22)
        (mem/s/j:DF (plus:SI (reg:SI 21 %r21)
                (reg:SI 1 %r1)) [0 <variable>.data S8 A64])) -1 (nil)
    (nil))

At the moment, it's not clear where the flag is lost.


-- 


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


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

* [Bug target/19819] ICE when compiling aegis 4.20
  2005-02-08 16:14 [Bug c++/19819] New: ICE when compiling aegis 4.20 ralfixx at gmx dot de
                   ` (4 preceding siblings ...)
  2005-02-28  3:23 ` danglin at gcc dot gnu dot org
@ 2005-03-01  3:24 ` cvs-commit at gcc dot gnu dot org
  2005-03-01  4:34 ` cvs-commit at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-03-01  3:24 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-03-01 03:24 -------
Subject: Bug 19819

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-branch
Changes by:	danglin@gcc.gnu.org	2005-03-01 03:24:17

Modified files:
	gcc            : ChangeLog 
	gcc/config/pa  : pa.h 

Log message:
	PR target/19819
	* pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow allow hard registers during
	and after reload in REG+REG indexed addresses without REG_POINTER
	set in the base and not set in the index.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.808&r2=2.2326.2.809
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/pa.h.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.208.4.7&r2=1.208.4.8



-- 


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


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

* [Bug target/19819] ICE when compiling aegis 4.20
  2005-02-08 16:14 [Bug c++/19819] New: ICE when compiling aegis 4.20 ralfixx at gmx dot de
                   ` (5 preceding siblings ...)
  2005-03-01  3:24 ` cvs-commit at gcc dot gnu dot org
@ 2005-03-01  4:34 ` cvs-commit at gcc dot gnu dot org
  2005-03-01  5:00 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-03-01  4:34 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-03-01 04:34 -------
Subject: Bug 19819

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	danglin@gcc.gnu.org	2005-03-01 04:34:01

Modified files:
	gcc            : ChangeLog 
	gcc/config/pa  : pa.h 

Log message:
	PR target/19819
	* pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow allow hard registers during
	and after reload in REG+REG indexed addresses without REG_POINTER
	set in the base and not set in the index.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7620&r2=2.7621
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/pa.h.diff?cvsroot=gcc&r1=1.242&r2=1.243



-- 


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


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

* [Bug target/19819] ICE when compiling aegis 4.20
  2005-02-08 16:14 [Bug c++/19819] New: ICE when compiling aegis 4.20 ralfixx at gmx dot de
                   ` (6 preceding siblings ...)
  2005-03-01  4:34 ` cvs-commit at gcc dot gnu dot org
@ 2005-03-01  5:00 ` cvs-commit at gcc dot gnu dot org
  2005-03-01  5:10 ` danglin at gcc dot gnu dot org
  2005-03-01  5:13 ` pinskia at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-03-01  5:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-03-01 05:00 -------
Subject: Bug 19819

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	danglin@gcc.gnu.org	2005-03-01 05:00:12

Modified files:
	gcc            : ChangeLog 
	gcc/config/pa  : pa.h 

Log message:
	PR target/19819
	* pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow allow hard registers during
	and after reload in REG+REG indexed addresses without REG_POINTER
	set in the base and not set in the index.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.7592.2.11&r2=2.7592.2.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/pa/pa.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.242&r2=1.242.8.1



-- 


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


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

* [Bug target/19819] ICE when compiling aegis 4.20
  2005-02-08 16:14 [Bug c++/19819] New: ICE when compiling aegis 4.20 ralfixx at gmx dot de
                   ` (7 preceding siblings ...)
  2005-03-01  5:00 ` cvs-commit at gcc dot gnu dot org
@ 2005-03-01  5:10 ` danglin at gcc dot gnu dot org
  2005-03-01  5:13 ` pinskia at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: danglin at gcc dot gnu dot org @ 2005-03-01  5:10 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From danglin at gcc dot gnu dot org  2005-03-01 05:10 -------
Fixed in CVS.

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


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


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

* [Bug target/19819] ICE when compiling aegis 4.20
  2005-02-08 16:14 [Bug c++/19819] New: ICE when compiling aegis 4.20 ralfixx at gmx dot de
                   ` (8 preceding siblings ...)
  2005-03-01  5:10 ` danglin at gcc dot gnu dot org
@ 2005-03-01  5:13 ` pinskia at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-01  5:13 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |3.4.4


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


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

end of thread, other threads:[~2005-03-01  5:13 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-08 16:14 [Bug c++/19819] New: ICE when compiling aegis 4.20 ralfixx at gmx dot de
2005-02-08 16:28 ` [Bug c++/19819] " ralfixx at gmx dot de
2005-02-08 16:30 ` ralfixx at gmx dot de
2005-02-08 18:30 ` [Bug target/19819] " pinskia at gcc dot gnu dot org
2005-02-27 14:39 ` danglin at gcc dot gnu dot org
2005-02-28  3:23 ` danglin at gcc dot gnu dot org
2005-03-01  3:24 ` cvs-commit at gcc dot gnu dot org
2005-03-01  4:34 ` cvs-commit at gcc dot gnu dot org
2005-03-01  5:00 ` cvs-commit at gcc dot gnu dot org
2005-03-01  5:10 ` danglin at gcc dot gnu dot org
2005-03-01  5:13 ` pinskia 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).