public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/45101]  New: [4.6 Regression] ICE: in insert_expr_in_table, at gcse.c:1213 with -gcse-las
@ 2010-07-28  8:27 zsojka at seznam dot cz
  2010-07-28  8:29 ` [Bug tree-optimization/45101] " zsojka at seznam dot cz
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: zsojka at seznam dot cz @ 2010-07-28  8:27 UTC (permalink / raw)
  To: gcc-bugs

Command line:
$ gcc O[123s] -fgcse -fgcse-las testcase.c

Compiler output:
$ gcc -O -fgcse -fgcse-las testcase.c
testcase.c: In function 'foo':
testcase.c:11:1: internal compiler error: in insert_expr_in_table, at
gcse.c:1213
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.

Tested revisions:
r162598 - crash
r162456 - OK


-- 
           Summary: [4.6 Regression] ICE: in insert_expr_in_table, at
                    gcse.c:1213 with -gcse-las
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zsojka at seznam dot cz
  GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu


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


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

* [Bug tree-optimization/45101] [4.6 Regression] ICE: in insert_expr_in_table, at gcse.c:1213 with -gcse-las
  2010-07-28  8:27 [Bug tree-optimization/45101] New: [4.6 Regression] ICE: in insert_expr_in_table, at gcse.c:1213 with -gcse-las zsojka at seznam dot cz
@ 2010-07-28  8:29 ` zsojka at seznam dot cz
  2010-07-28  9:35 ` rguenth at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: zsojka at seznam dot cz @ 2010-07-28  8:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from zsojka at seznam dot cz  2010-07-28 08:28 -------
Created an attachment (id=21330)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21330&action=view)
reduced testcase

Most of the files I tested crash with -fgcse-las.


-- 


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


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

* [Bug tree-optimization/45101] [4.6 Regression] ICE: in insert_expr_in_table, at gcse.c:1213 with -gcse-las
  2010-07-28  8:27 [Bug tree-optimization/45101] New: [4.6 Regression] ICE: in insert_expr_in_table, at gcse.c:1213 with -gcse-las zsojka at seznam dot cz
  2010-07-28  8:29 ` [Bug tree-optimization/45101] " zsojka at seznam dot cz
@ 2010-07-28  9:35 ` rguenth at gcc dot gnu dot org
  2010-07-28 10:03 ` mkuvyrkov at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-28  9:35 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mkuvyrkov at gcc dot gnu dot
                   |                            |org
   Target Milestone|---                         |4.6.0


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


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

* [Bug tree-optimization/45101] [4.6 Regression] ICE: in insert_expr_in_table, at gcse.c:1213 with -gcse-las
  2010-07-28  8:27 [Bug tree-optimization/45101] New: [4.6 Regression] ICE: in insert_expr_in_table, at gcse.c:1213 with -gcse-las zsojka at seznam dot cz
  2010-07-28  8:29 ` [Bug tree-optimization/45101] " zsojka at seznam dot cz
  2010-07-28  9:35 ` rguenth at gcc dot gnu dot org
@ 2010-07-28 10:03 ` mkuvyrkov at gcc dot gnu dot org
  2010-07-28 10:10 ` [Bug rtl-optimization/45101] " mkuvyrkov at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: mkuvyrkov at gcc dot gnu dot org @ 2010-07-28 10:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from mkuvyrkov at gcc dot gnu dot org  2010-07-28 10:03 -------
This is due to a silly mistake of mine.  I got operand ordering of
insert_expr_in_table() wrong for -fgcse-las case.  Will check in an obvious
patch in several minutes.


-- 

mkuvyrkov at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |mkuvyrkov at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-07-28 10:03:06
               date|                            |


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


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

* [Bug rtl-optimization/45101] [4.6 Regression] ICE: in insert_expr_in_table, at gcse.c:1213 with -gcse-las
  2010-07-28  8:27 [Bug tree-optimization/45101] New: [4.6 Regression] ICE: in insert_expr_in_table, at gcse.c:1213 with -gcse-las zsojka at seznam dot cz
                   ` (2 preceding siblings ...)
  2010-07-28 10:03 ` mkuvyrkov at gcc dot gnu dot org
@ 2010-07-28 10:10 ` mkuvyrkov at gcc dot gnu dot org
  2010-07-28 10:14 ` mkuvyrkov at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: mkuvyrkov at gcc dot gnu dot org @ 2010-07-28 10:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from mkuvyrkov at gcc dot gnu dot org  2010-07-28 10:10 -------
Subject: Bug 45101

Author: mkuvyrkov
Date: Wed Jul 28 10:09:53 2010
New Revision: 162622

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162622
Log:
        PR rtl-optimization/45101
        * gcse.c (hash_scan_set): Fix argument ordering of insert_expr_in_table
        for gcse-las.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gcse.c


-- 


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


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

* [Bug rtl-optimization/45101] [4.6 Regression] ICE: in insert_expr_in_table, at gcse.c:1213 with -gcse-las
  2010-07-28  8:27 [Bug tree-optimization/45101] New: [4.6 Regression] ICE: in insert_expr_in_table, at gcse.c:1213 with -gcse-las zsojka at seznam dot cz
                   ` (3 preceding siblings ...)
  2010-07-28 10:10 ` [Bug rtl-optimization/45101] " mkuvyrkov at gcc dot gnu dot org
@ 2010-07-28 10:14 ` mkuvyrkov at gcc dot gnu dot org
  2010-07-28 10:17 ` jakub at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: mkuvyrkov at gcc dot gnu dot org @ 2010-07-28 10:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from mkuvyrkov at gcc dot gnu dot org  2010-07-28 10:14 -------
Should be fixed by the above patch.


-- 

mkuvyrkov at gcc dot gnu dot org changed:

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


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


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

* [Bug rtl-optimization/45101] [4.6 Regression] ICE: in insert_expr_in_table, at gcse.c:1213 with -gcse-las
  2010-07-28  8:27 [Bug tree-optimization/45101] New: [4.6 Regression] ICE: in insert_expr_in_table, at gcse.c:1213 with -gcse-las zsojka at seznam dot cz
                   ` (4 preceding siblings ...)
  2010-07-28 10:14 ` mkuvyrkov at gcc dot gnu dot org
@ 2010-07-28 10:17 ` jakub at gcc dot gnu dot org
  2010-07-28 10:33 ` mkuvyrkov at gcc dot gnu dot org
  2010-07-28 10:33 ` mkuvyrkov at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-07-28 10:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jakub at gcc dot gnu dot org  2010-07-28 10:17 -------
Could you please commit the testcase too?


-- 


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


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

* [Bug rtl-optimization/45101] [4.6 Regression] ICE: in insert_expr_in_table, at gcse.c:1213 with -gcse-las
  2010-07-28  8:27 [Bug tree-optimization/45101] New: [4.6 Regression] ICE: in insert_expr_in_table, at gcse.c:1213 with -gcse-las zsojka at seznam dot cz
                   ` (6 preceding siblings ...)
  2010-07-28 10:33 ` mkuvyrkov at gcc dot gnu dot org
@ 2010-07-28 10:33 ` mkuvyrkov at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: mkuvyrkov at gcc dot gnu dot org @ 2010-07-28 10:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from mkuvyrkov at gcc dot gnu dot org  2010-07-28 10:32 -------
Done.


-- 


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


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

* [Bug rtl-optimization/45101] [4.6 Regression] ICE: in insert_expr_in_table, at gcse.c:1213 with -gcse-las
  2010-07-28  8:27 [Bug tree-optimization/45101] New: [4.6 Regression] ICE: in insert_expr_in_table, at gcse.c:1213 with -gcse-las zsojka at seznam dot cz
                   ` (5 preceding siblings ...)
  2010-07-28 10:17 ` jakub at gcc dot gnu dot org
@ 2010-07-28 10:33 ` mkuvyrkov at gcc dot gnu dot org
  2010-07-28 10:33 ` mkuvyrkov at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: mkuvyrkov at gcc dot gnu dot org @ 2010-07-28 10:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from mkuvyrkov at gcc dot gnu dot org  2010-07-28 10:32 -------
Subject: Bug 45101

Author: mkuvyrkov
Date: Wed Jul 28 10:32:10 2010
New Revision: 162623

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162623
Log:
        PR rtl-optimization/45101
        * gcc.dg/pr45101.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr45101.c
Modified:
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

end of thread, other threads:[~2010-07-28 10:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-28  8:27 [Bug tree-optimization/45101] New: [4.6 Regression] ICE: in insert_expr_in_table, at gcse.c:1213 with -gcse-las zsojka at seznam dot cz
2010-07-28  8:29 ` [Bug tree-optimization/45101] " zsojka at seznam dot cz
2010-07-28  9:35 ` rguenth at gcc dot gnu dot org
2010-07-28 10:03 ` mkuvyrkov at gcc dot gnu dot org
2010-07-28 10:10 ` [Bug rtl-optimization/45101] " mkuvyrkov at gcc dot gnu dot org
2010-07-28 10:14 ` mkuvyrkov at gcc dot gnu dot org
2010-07-28 10:17 ` jakub at gcc dot gnu dot org
2010-07-28 10:33 ` mkuvyrkov at gcc dot gnu dot org
2010-07-28 10:33 ` mkuvyrkov 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).