public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/24615]  New: internal compiler error: in print_shift_count_operand, at config/s390/s390.c:4025
@ 2005-11-01 15:46 rguenth at gcc dot gnu dot org
  2005-11-01 15:47 ` [Bug target/24615] " rguenth at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-11-01 15:46 UTC (permalink / raw)
  To: gcc-bugs

We ICE during building nss of the mozilla suite.


-- 
           Summary: internal compiler error: in print_shift_count_operand,
                    at config/s390/s390.c:4025
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: critical
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org
GCC target triplet: s390-*-*


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


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

* [Bug target/24615] internal compiler error: in print_shift_count_operand, at config/s390/s390.c:4025
  2005-11-01 15:46 [Bug target/24615] New: internal compiler error: in print_shift_count_operand, at config/s390/s390.c:4025 rguenth at gcc dot gnu dot org
@ 2005-11-01 15:47 ` rguenth at gcc dot gnu dot org
  2005-11-01 15:56 ` [Bug target/24615] [4.1 Regression] " rguenth at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-11-01 15:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2005-11-01 15:47 -------
Created an attachment (id=10099)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10099&action=view)
reduced testcase

testcase


-- 


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


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

* [Bug target/24615] [4.1 Regression] internal compiler error: in print_shift_count_operand, at config/s390/s390.c:4025
  2005-11-01 15:46 [Bug target/24615] New: internal compiler error: in print_shift_count_operand, at config/s390/s390.c:4025 rguenth at gcc dot gnu dot org
  2005-11-01 15:47 ` [Bug target/24615] " rguenth at gcc dot gnu dot org
@ 2005-11-01 15:56 ` rguenth at gcc dot gnu dot org
  2005-11-01 21:56 ` uweigand at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-11-01 15:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2005-11-01 15:56 -------
Regression from 4.0, btw.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|internal compiler error: in |[4.1 Regression] internal
                   |print_shift_count_operand,  |compiler error: in
                   |at config/s390/s390.c:4025  |print_shift_count_operand,
                   |                            |at config/s390/s390.c:4025


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


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

* [Bug target/24615] [4.1 Regression] internal compiler error: in print_shift_count_operand, at config/s390/s390.c:4025
  2005-11-01 15:46 [Bug target/24615] New: internal compiler error: in print_shift_count_operand, at config/s390/s390.c:4025 rguenth at gcc dot gnu dot org
  2005-11-01 15:47 ` [Bug target/24615] " rguenth at gcc dot gnu dot org
  2005-11-01 15:56 ` [Bug target/24615] [4.1 Regression] " rguenth at gcc dot gnu dot org
@ 2005-11-01 21:56 ` uweigand at gcc dot gnu dot org
  2005-11-01 22:15 ` rguenth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: uweigand at gcc dot gnu dot org @ 2005-11-01 21:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from uweigand at gcc dot gnu dot org  2005-11-01 21:56 -------
What command line options?  I cannot reproduce an ICE with
the usual sets of options ...


-- 


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


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

* [Bug target/24615] [4.1 Regression] internal compiler error: in print_shift_count_operand, at config/s390/s390.c:4025
  2005-11-01 15:46 [Bug target/24615] New: internal compiler error: in print_shift_count_operand, at config/s390/s390.c:4025 rguenth at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-11-01 21:56 ` uweigand at gcc dot gnu dot org
@ 2005-11-01 22:15 ` rguenth at gcc dot gnu dot org
  2005-11-01 22:50 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-11-01 22:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2005-11-01 22:15 -------
Whoops, they're

/usr/lib/gcc/s390-suse-linux/4.1.0/cc1 -fpreprocessed rsawrapr.i -quiet
-dumpbase rsawrapr.c -m31 -mesa -march=g5 -ansi -auxbase-strip
Linux2.6_s390_glibc_PTH_OPT.OBJ/rsawrapr.o -O2 -Os -Wall -Wall -ansi -version
-fmessage-length=0 -fno-strict-aliasing -fPIC -o rsawrapr.s


-- 


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


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

* [Bug target/24615] [4.1 Regression] internal compiler error: in print_shift_count_operand, at config/s390/s390.c:4025
  2005-11-01 15:46 [Bug target/24615] New: internal compiler error: in print_shift_count_operand, at config/s390/s390.c:4025 rguenth at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-11-01 22:15 ` rguenth at gcc dot gnu dot org
@ 2005-11-01 22:50 ` pinskia at gcc dot gnu dot org
  2005-11-02 16:32 ` uweigand at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-01 22:50 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.0


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


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

* [Bug target/24615] [4.1 Regression] internal compiler error: in print_shift_count_operand, at config/s390/s390.c:4025
  2005-11-01 15:46 [Bug target/24615] New: internal compiler error: in print_shift_count_operand, at config/s390/s390.c:4025 rguenth at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2005-11-01 22:50 ` pinskia at gcc dot gnu dot org
@ 2005-11-02 16:32 ` uweigand at gcc dot gnu dot org
  2005-11-02 22:57 ` janis at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: uweigand at gcc dot gnu dot org @ 2005-11-02 16:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from uweigand at gcc dot gnu dot org  2005-11-02 16:32 -------
Confirmed.  Looks like a backend problem, I'm working on it.


-- 

uweigand at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |uweigand at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-11-02 16:32:31
               date|                            |


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


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

* [Bug target/24615] [4.1 Regression] internal compiler error: in print_shift_count_operand, at config/s390/s390.c:4025
  2005-11-01 15:46 [Bug target/24615] New: internal compiler error: in print_shift_count_operand, at config/s390/s390.c:4025 rguenth at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2005-11-02 16:32 ` uweigand at gcc dot gnu dot org
@ 2005-11-02 22:57 ` janis at gcc dot gnu dot org
  2005-11-02 23:16 ` uweigand at gcc dot gnu dot org
  2005-11-02 23:18 ` uweigand at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: janis at gcc dot gnu dot org @ 2005-11-02 22:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from janis at gcc dot gnu dot org  2005-11-02 22:57 -------
A regression hunt using a cross compiler identified the following patch:

http://gcc.gnu.org/viewcvs?view=rev&rev=101705

2005-07-07  Adrian Straetling  <straetling@de.ibm.com>

        * config/s390/s390-protos.h (s390_expand_clrmem): Delete.
        (s390_expand_setmem): New.
        * config/s390/s390.c: Likewise.
        (print_shift_count_operand): Truncate to 12 bits instead of 6.
        Adapt comments.
        * config/s390/s390.md: ("setmem<mode>"): Accept character as
        general_operand.  Call new function "s390_expand_setmem".
        ("clrmem_long", "*clrmem_long"): Rewrite to ...
        ("setmem_long", "*setmem_long"): ... this.

Only the following options are needed to reproduce the failure with
the reduced testcase:  -m31 -Os -fPIC.


-- 


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


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

* [Bug target/24615] [4.1 Regression] internal compiler error: in print_shift_count_operand, at config/s390/s390.c:4025
  2005-11-01 15:46 [Bug target/24615] New: internal compiler error: in print_shift_count_operand, at config/s390/s390.c:4025 rguenth at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2005-11-02 22:57 ` janis at gcc dot gnu dot org
@ 2005-11-02 23:16 ` uweigand at gcc dot gnu dot org
  2005-11-02 23:18 ` uweigand at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: uweigand at gcc dot gnu dot org @ 2005-11-02 23:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from uweigand at gcc dot gnu dot org  2005-11-02 23:16 -------
Subject: Bug 24615

Author: uweigand
Date: Wed Nov  2 23:16:31 2005
New Revision: 106405

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106405
Log:
ChangeLog:

        PR target/24615
        * config/s390/s390-protos.h (s390_decompose_shift_count): Declare.
        * config/s390/s390.c (s390_decompose_shift_count): New function.
        (s390_extra_constraint_str) ['Y']: Use s390_decompose_shift_count.
        (print_shift_count_operand): Use s390_decompose_shift_count.
        * config/s390/predicates.md ("setmem_operand", "shift_count_operand"):
        Use s390_decompose_shift_count.  Do not accept any non-base hard regs.

testsuite/ChangeLog:

        PR target/24615
        * gcc.dg/pr24615.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr24615.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/s390/predicates.md
    trunk/gcc/config/s390/s390-protos.h
    trunk/gcc/config/s390/s390.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug target/24615] [4.1 Regression] internal compiler error: in print_shift_count_operand, at config/s390/s390.c:4025
  2005-11-01 15:46 [Bug target/24615] New: internal compiler error: in print_shift_count_operand, at config/s390/s390.c:4025 rguenth at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2005-11-02 23:16 ` uweigand at gcc dot gnu dot org
@ 2005-11-02 23:18 ` uweigand at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: uweigand at gcc dot gnu dot org @ 2005-11-02 23:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from uweigand at gcc dot gnu dot org  2005-11-02 23:18 -------
Fixed.


-- 

uweigand at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2005-11-02 23:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-01 15:46 [Bug target/24615] New: internal compiler error: in print_shift_count_operand, at config/s390/s390.c:4025 rguenth at gcc dot gnu dot org
2005-11-01 15:47 ` [Bug target/24615] " rguenth at gcc dot gnu dot org
2005-11-01 15:56 ` [Bug target/24615] [4.1 Regression] " rguenth at gcc dot gnu dot org
2005-11-01 21:56 ` uweigand at gcc dot gnu dot org
2005-11-01 22:15 ` rguenth at gcc dot gnu dot org
2005-11-01 22:50 ` pinskia at gcc dot gnu dot org
2005-11-02 16:32 ` uweigand at gcc dot gnu dot org
2005-11-02 22:57 ` janis at gcc dot gnu dot org
2005-11-02 23:16 ` uweigand at gcc dot gnu dot org
2005-11-02 23:18 ` uweigand 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).