public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/37053] [4.3/4.4 regression] ICE in reload_cse_simplify_operands, at postreload.c:395
       [not found] <bug-37053-4@http.gcc.gnu.org/bugzilla/>
@ 2010-11-01 16:11 ` tg at mirbsd dot org
  2010-11-01 16:39 ` bonzini at gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 16+ messages in thread
From: tg at mirbsd dot org @ 2010-11-01 16:11 UTC (permalink / raw)
  To: gcc-bugs

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

Thorsten Glaser <tg at mirbsd dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tg at mirbsd dot org

--- Comment #23 from Thorsten Glaser <tg at mirbsd dot org> 2010-11-01 16:10:32 UTC ---
Backported r150626 from Comment 19 and applied to Debian/m68k gcc-4.4
(native). Fixes this ICE when building libjpeg for me. No regression
tests run, though.


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

* [Bug middle-end/37053] [4.3/4.4 regression] ICE in reload_cse_simplify_operands, at postreload.c:395
       [not found] <bug-37053-4@http.gcc.gnu.org/bugzilla/>
  2010-11-01 16:11 ` [Bug middle-end/37053] [4.3/4.4 regression] ICE in reload_cse_simplify_operands, at postreload.c:395 tg at mirbsd dot org
@ 2010-11-01 16:39 ` bonzini at gnu dot org
  2010-11-01 16:40 ` bonzini at gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 16+ messages in thread
From: bonzini at gnu dot org @ 2010-11-01 16:39 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #24 from Paolo Bonzini <bonzini at gnu dot org> 2010-11-01 16:38:53 UTC ---
You'd need also the patch for bug 41064.


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

* [Bug middle-end/37053] [4.3/4.4 regression] ICE in reload_cse_simplify_operands, at postreload.c:395
       [not found] <bug-37053-4@http.gcc.gnu.org/bugzilla/>
  2010-11-01 16:11 ` [Bug middle-end/37053] [4.3/4.4 regression] ICE in reload_cse_simplify_operands, at postreload.c:395 tg at mirbsd dot org
  2010-11-01 16:39 ` bonzini at gnu dot org
@ 2010-11-01 16:40 ` bonzini at gnu dot org
  2010-11-01 16:54 ` tg at mirbsd dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 16+ messages in thread
From: bonzini at gnu dot org @ 2010-11-01 16:40 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Bonzini <bonzini at gnu dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nospamname at web dot de

--- Comment #25 from Paolo Bonzini <bonzini at gnu dot org> 2010-11-01 16:40:07 UTC ---
*** Bug 40414 has been marked as a duplicate of this bug. ***


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

* [Bug middle-end/37053] [4.3/4.4 regression] ICE in reload_cse_simplify_operands, at postreload.c:395
       [not found] <bug-37053-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2010-11-01 16:40 ` bonzini at gnu dot org
@ 2010-11-01 16:54 ` tg at mirbsd dot org
  2010-11-01 16:58 ` bonzini at gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 16+ messages in thread
From: tg at mirbsd dot org @ 2010-11-01 16:54 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #26 from Thorsten Glaser <tg at mirbsd dot org> 2010-11-01 16:53:18 UTC ---
Probably, but not on m68k ;-)


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

* [Bug middle-end/37053] [4.3/4.4 regression] ICE in reload_cse_simplify_operands, at postreload.c:395
       [not found] <bug-37053-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2010-11-01 16:54 ` tg at mirbsd dot org
@ 2010-11-01 16:58 ` bonzini at gnu dot org
  2010-11-03 21:42 ` tg at mirbsd dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 16+ messages in thread
From: bonzini at gnu dot org @ 2010-11-01 16:58 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #27 from Paolo Bonzini <bonzini at gnu dot org> 2010-11-01 16:58:20 UTC ---
Better: not for this testcase.  We found it on CRIS, but the bug could really
happen on any target.


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

* [Bug middle-end/37053] [4.3/4.4 regression] ICE in reload_cse_simplify_operands, at postreload.c:395
       [not found] <bug-37053-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2010-11-01 16:58 ` bonzini at gnu dot org
@ 2010-11-03 21:42 ` tg at mirbsd dot org
  2010-11-06 16:25 ` tg at mirbsd dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 16+ messages in thread
From: tg at mirbsd dot org @ 2010-11-03 21:42 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #28 from Thorsten Glaser <tg at mirbsd dot org> 2010-11-03 21:41:38 UTC ---
OK, added.


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

* [Bug middle-end/37053] [4.3/4.4 regression] ICE in reload_cse_simplify_operands, at postreload.c:395
       [not found] <bug-37053-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2010-11-03 21:42 ` tg at mirbsd dot org
@ 2010-11-06 16:25 ` tg at mirbsd dot org
  2011-06-27 14:26 ` rguenth at gcc dot gnu.org
  2012-03-13 16:02 ` [Bug middle-end/37053] [4.4 " jakub at gcc dot gnu.org
  8 siblings, 0 replies; 16+ messages in thread
From: tg at mirbsd dot org @ 2010-11-06 16:25 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #29 from Thorsten Glaser <tg at mirbsd dot org> 2010-11-06 16:25:00 UTC ---
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=602099#20
in case someone’s interested…


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

* [Bug middle-end/37053] [4.3/4.4 regression] ICE in reload_cse_simplify_operands, at postreload.c:395
       [not found] <bug-37053-4@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2010-11-06 16:25 ` tg at mirbsd dot org
@ 2011-06-27 14:26 ` rguenth at gcc dot gnu.org
  2012-03-13 16:02 ` [Bug middle-end/37053] [4.4 " jakub at gcc dot gnu.org
  8 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-06-27 14:26 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.6                       |4.4.7

--- Comment #30 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-06-27 12:13:51 UTC ---
4.3 branch is being closed, moving to 4.4.7 target.


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

* [Bug middle-end/37053] [4.4 regression] ICE in reload_cse_simplify_operands, at postreload.c:395
       [not found] <bug-37053-4@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2011-06-27 14:26 ` rguenth at gcc dot gnu.org
@ 2012-03-13 16:02 ` jakub at gcc dot gnu.org
  8 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-03-13 16:02 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|4.4.7                       |4.5.0

--- Comment #31 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-13 13:04:11 UTC ---
Fixed in 4.5+, 4.4 is no longer supported.


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

* [Bug middle-end/37053] [4.3/4.4 regression] ICE in reload_cse_simplify_operands, at postreload.c:395
  2008-08-08  1:02 [Bug c/37053] New: " stephen at marenka dot net
                   ` (5 preceding siblings ...)
  2009-12-29 19:30 ` bonzini at gnu dot org
@ 2010-05-22 18:25 ` rguenth at gcc dot gnu dot org
  6 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-05-22 18:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #22 from rguenth at gcc dot gnu dot org  2010-05-22 18:12 -------
GCC 4.3.5 is being released, adjusting target milestone.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.5                       |4.3.6


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


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

* [Bug middle-end/37053] [4.3/4.4 regression] ICE in reload_cse_simplify_operands, at postreload.c:395
  2008-08-08  1:02 [Bug c/37053] New: " stephen at marenka dot net
                   ` (4 preceding siblings ...)
  2008-09-20 14:30 ` rguenth at gcc dot gnu dot org
@ 2009-12-29 19:30 ` bonzini at gnu dot org
  2010-05-22 18:25 ` rguenth at gcc dot gnu dot org
  6 siblings, 0 replies; 16+ messages in thread
From: bonzini at gnu dot org @ 2009-12-29 19:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #21 from bonzini at gnu dot org  2009-12-29 19:30 -------
Reopening since it is still broken on the other open branches.


-- 

bonzini at gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
      Known to work|                            |4.5.0
         Resolution|FIXED                       |
            Summary|[4.3/4.4/4.5 regression] ICE|[4.3/4.4 regression] ICE in
                   |in                          |reload_cse_simplify_operands
                   |reload_cse_simplify_operands|, at postreload.c:395
                   |, at postreload.c:395       |


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


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

* [Bug middle-end/37053] [4.3/4.4 regression] ICE in reload_cse_simplify_operands, at postreload.c:395
  2008-08-08  1:02 [Bug c/37053] New: " stephen at marenka dot net
                   ` (3 preceding siblings ...)
  2008-09-16 21:03 ` bonzini at gnu dot org
@ 2008-09-20 14:30 ` rguenth at gcc dot gnu dot org
  2009-12-29 19:30 ` bonzini at gnu dot org
  2010-05-22 18:25 ` rguenth at gcc dot gnu dot org
  6 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-09-20 14:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from rguenth at gcc dot gnu dot org  2008-09-20 14:29 -------
m68k-linux-gnu is neither primary nor secondary target.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4


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


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

* [Bug middle-end/37053] [4.3/4.4 regression] ICE in reload_cse_simplify_operands, at postreload.c:395
  2008-08-08  1:02 [Bug c/37053] New: " stephen at marenka dot net
                   ` (2 preceding siblings ...)
  2008-09-16 21:01 ` schwab at suse dot de
@ 2008-09-16 21:03 ` bonzini at gnu dot org
  2008-09-20 14:30 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 16+ messages in thread
From: bonzini at gnu dot org @ 2008-09-16 21:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from bonzini at gnu dot org  2008-09-16 21:02 -------
But that was the meat of fixing PR28690. :-(

The insn should satisfy the constraints of alternative 4.


-- 


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


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

* [Bug middle-end/37053] [4.3/4.4 regression] ICE in reload_cse_simplify_operands, at postreload.c:395
  2008-08-08  1:02 [Bug c/37053] New: " stephen at marenka dot net
  2008-09-11 15:21 ` [Bug middle-end/37053] [4.3/4.4 regression] " schwab at suse dot de
  2008-09-11 15:30 ` bonzini at gnu dot org
@ 2008-09-16 21:01 ` schwab at suse dot de
  2008-09-16 21:03 ` bonzini at gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 16+ messages in thread
From: schwab at suse dot de @ 2008-09-16 21:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from schwab at suse dot de  2008-09-16 21:00 -------
Reverting this change in commutative_operand_precedence fixes the testcase:

     case RTX_OBJ:
       /* Complex expressions should be the first, so decrease priority
-         of objects.  */
-      return -1;
+         of objects.  Prefer pointer objects over non pointer objects.  */
+      if ((REG_P (op) && REG_POINTER (op))
+         || (MEM_P (op) && MEM_POINTER (op)))
+       return -1;
+      return -2;

     case RTX_COMM_ARITH:
       /* Prefer operands that are themselves commutative to be first.


-- 


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


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

* [Bug middle-end/37053] [4.3/4.4 regression] ICE in reload_cse_simplify_operands, at postreload.c:395
  2008-08-08  1:02 [Bug c/37053] New: " stephen at marenka dot net
  2008-09-11 15:21 ` [Bug middle-end/37053] [4.3/4.4 regression] " schwab at suse dot de
@ 2008-09-11 15:30 ` bonzini at gnu dot org
  2008-09-16 21:01 ` schwab at suse dot de
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 16+ messages in thread
From: bonzini at gnu dot org @ 2008-09-11 15:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from bonzini at gnu dot org  2008-09-11 15:29 -------
I think there is a missing constrain_operands somewhere, because in

(define_insn "*addsi3_internal"
  [(set (match_operand:SI 0 "nonimmediate_operand" "=m,?a,?a,d,a")
        (plus:SI (match_operand:SI 1 "general_operand" "%0,a,rJK,0,0")
                 (match_operand:SI 2 "general_src_operand"
"dIKLT,rJK,a,mSrIKLT,mSrIKLs")))]

the insn does match the fourth alternative with operands 1 and 2 commuted.


-- 

bonzini at gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bonzini at gnu dot org


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


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

* [Bug middle-end/37053] [4.3/4.4 regression] ICE in reload_cse_simplify_operands, at postreload.c:395
  2008-08-08  1:02 [Bug c/37053] New: " stephen at marenka dot net
@ 2008-09-11 15:21 ` schwab at suse dot de
  2008-09-11 15:30 ` bonzini at gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 16+ messages in thread
From: schwab at suse dot de @ 2008-09-11 15:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from schwab at suse dot de  2008-09-11 15:19 -------
Caused by:

2007-07-23  Peter Bergner  <bergner@vnet.ibm.com>
            Jakub Jelinek  <jakub@redhat.com>

        PR middle-end/PR28690

Can be reproduced with gcc.c-torture/execute/20060420-1.c when compiled with
-O2.


-- 

schwab at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bergner at vnet dot ibm dot
                   |                            |com, jakub at redhat dot com
OtherBugsDependingO|                            |28690
              nThis|                            |
             Status|UNCONFIRMED                 |NEW
          Component|target                      |middle-end
     Ever Confirmed|0                           |1
  GCC build triplet|m68k-linux-gnu              |
   GCC host triplet|m68k-linux-gnu              |
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2008-09-11 15:19:57
               date|                            |
            Summary|ICE in                      |[4.3/4.4 regression] ICE in
                   |reload_cse_simplify_operands|reload_cse_simplify_operands
                   |, at postreload.c:395       |, at postreload.c:395
   Target Milestone|---                         |4.3.4


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


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

end of thread, other threads:[~2012-03-13 16:02 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-37053-4@http.gcc.gnu.org/bugzilla/>
2010-11-01 16:11 ` [Bug middle-end/37053] [4.3/4.4 regression] ICE in reload_cse_simplify_operands, at postreload.c:395 tg at mirbsd dot org
2010-11-01 16:39 ` bonzini at gnu dot org
2010-11-01 16:40 ` bonzini at gnu dot org
2010-11-01 16:54 ` tg at mirbsd dot org
2010-11-01 16:58 ` bonzini at gnu dot org
2010-11-03 21:42 ` tg at mirbsd dot org
2010-11-06 16:25 ` tg at mirbsd dot org
2011-06-27 14:26 ` rguenth at gcc dot gnu.org
2012-03-13 16:02 ` [Bug middle-end/37053] [4.4 " jakub at gcc dot gnu.org
2008-08-08  1:02 [Bug c/37053] New: " stephen at marenka dot net
2008-09-11 15:21 ` [Bug middle-end/37053] [4.3/4.4 regression] " schwab at suse dot de
2008-09-11 15:30 ` bonzini at gnu dot org
2008-09-16 21:01 ` schwab at suse dot de
2008-09-16 21:03 ` bonzini at gnu dot org
2008-09-20 14:30 ` rguenth at gcc dot gnu dot org
2009-12-29 19:30 ` bonzini at gnu dot org
2010-05-22 18:25 ` rguenth 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).