public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/34132]  New: [4.3 Regression] ICE: internal consistency failure (invalid rtl sharing found in the insn)
@ 2007-11-17 11:58 tbm at cyrius dot com
  2007-11-17 11:59 ` [Bug rtl-optimization/34132] " tbm at cyrius dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: tbm at cyrius dot com @ 2007-11-17 11:58 UTC (permalink / raw)
  To: gcc-bugs

With current trunk on Alpha:

(sid)353:tbm@vorpal: ~] /usr/lib/gcc-snapshot/bin/gcc -c -O1 smapi-api_sdm.c
(sid)354:tbm@vorpal: ~] /usr/lib/gcc-snapshot/bin/gcc -c -O2 smapi-api_sdm.c
smapi-api_sdm.c: In function 'SdmOpenMsg':
smapi-api_sdm.c:15: error: invalid rtl sharing found in the insn
(insn 53 49 24 4 smapi-api_sdm.c:11 (set (reg:DI 77)
        (high:DI (symbol_ref:DI ("sd_msg") [flags 0x6] <var_decl 0x200002b85a0
sd_msg>))) 252 {*movdi_er_nofix} (expr_list:REG_EQUAL (high:DI (symbol_ref:DI
("sd_msg") [flags 0x6] <var_decl 0x200002b85a0 sd_msg>))
        (nil)))
smapi-api_sdm.c:15: error: shared rtx
(high:DI (symbol_ref:DI ("sd_msg") [flags 0x6] <var_decl 0x200002b85a0
sd_msg>))
smapi-api_sdm.c:15: internal compiler error: internal consistency failure
Please submit a full bug report,
with preprocessed source if appropriate.


-- 
           Summary: [4.3 Regression] ICE: internal consistency failure
                    (invalid rtl sharing found in the insn)
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tbm at cyrius dot com
GCC target triplet: alpha-linux-gnu


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


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

* [Bug rtl-optimization/34132] [4.3 Regression] ICE: internal consistency failure (invalid rtl sharing found in the insn)
  2007-11-17 11:58 [Bug rtl-optimization/34132] New: [4.3 Regression] ICE: internal consistency failure (invalid rtl sharing found in the insn) tbm at cyrius dot com
@ 2007-11-17 11:59 ` tbm at cyrius dot com
  2007-11-17 12:00 ` tbm at cyrius dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: tbm at cyrius dot com @ 2007-11-17 11:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from tbm at cyrius dot com  2007-11-17 11:59 -------
Created an attachment (id=14571)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14571&action=view)
preprocessed source


-- 


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


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

* [Bug rtl-optimization/34132] [4.3 Regression] ICE: internal consistency failure (invalid rtl sharing found in the insn)
  2007-11-17 11:58 [Bug rtl-optimization/34132] New: [4.3 Regression] ICE: internal consistency failure (invalid rtl sharing found in the insn) tbm at cyrius dot com
  2007-11-17 11:59 ` [Bug rtl-optimization/34132] " tbm at cyrius dot com
@ 2007-11-17 12:00 ` tbm at cyrius dot com
  2007-11-17 18:55 ` [Bug target/34132] " pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: tbm at cyrius dot com @ 2007-11-17 12:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from tbm at cyrius dot com  2007-11-17 11:59 -------
/* Testcase by Martin Michlmayr <tbm@cyrius.com> */

static char *sd_msg = "%s%u.msg";
void SdmOpenMsg (short mode, char *msgname, int filemode)
{
  if (mode == 0)
  {
    xprintf (msgname, (char *) sd_msg);
    filemode = 1;
  }
  else if (mode == 1)
    filemode = 00;
  xprintf (msgname, (char *) sd_msg);
  xprintf (filemode, "%d");
}


-- 


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


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

* [Bug target/34132] [4.3 Regression] ICE: internal consistency failure (invalid rtl sharing found in the insn)
  2007-11-17 11:58 [Bug rtl-optimization/34132] New: [4.3 Regression] ICE: internal consistency failure (invalid rtl sharing found in the insn) tbm at cyrius dot com
  2007-11-17 11:59 ` [Bug rtl-optimization/34132] " tbm at cyrius dot com
  2007-11-17 12:00 ` tbm at cyrius dot com
@ 2007-11-17 18:55 ` pinskia at gcc dot gnu dot org
  2007-11-18 10:37 ` [Bug middle-end/34132] " jakub at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-11-17 18:55 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
          Component|rtl-optimization            |target
   Target Milestone|---                         |4.3.0


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


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

* [Bug middle-end/34132] [4.3 Regression] ICE: internal consistency failure (invalid rtl sharing found in the insn)
  2007-11-17 11:58 [Bug rtl-optimization/34132] New: [4.3 Regression] ICE: internal consistency failure (invalid rtl sharing found in the insn) tbm at cyrius dot com
                   ` (2 preceding siblings ...)
  2007-11-17 18:55 ` [Bug target/34132] " pinskia at gcc dot gnu dot org
@ 2007-11-18 10:37 ` jakub at gcc dot gnu dot org
  2007-11-18 19:22 ` [Bug rtl-optimization/34132] " jakub at gcc dot gnu dot org
  2007-11-18 19:23 ` jakub at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-11-18 10:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jakub at gcc dot gnu dot org  2007-11-18 10:37 -------
Testing a fix.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jakub at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
          Component|target                      |middle-end
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-11-18 10:37:04
               date|                            |


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


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

* [Bug rtl-optimization/34132] [4.3 Regression] ICE: internal consistency failure (invalid rtl sharing found in the insn)
  2007-11-17 11:58 [Bug rtl-optimization/34132] New: [4.3 Regression] ICE: internal consistency failure (invalid rtl sharing found in the insn) tbm at cyrius dot com
                   ` (3 preceding siblings ...)
  2007-11-18 10:37 ` [Bug middle-end/34132] " jakub at gcc dot gnu dot org
@ 2007-11-18 19:22 ` jakub at gcc dot gnu dot org
  2007-11-18 19:23 ` jakub at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-11-18 19:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jakub at gcc dot gnu dot org  2007-11-18 19:22 -------
Subject: Bug 34132

Author: jakub
Date: Sun Nov 18 19:22:35 2007
New Revision: 130275

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130275
Log:
        PR rtl-optimization/34132
        * gcse.c (try_replace_reg): Avoid rtx sharing between REG_EQUAL note
        and insn.

        * gcc.c-torture/compile/20071118-1.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/20071118-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gcse.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug rtl-optimization/34132] [4.3 Regression] ICE: internal consistency failure (invalid rtl sharing found in the insn)
  2007-11-17 11:58 [Bug rtl-optimization/34132] New: [4.3 Regression] ICE: internal consistency failure (invalid rtl sharing found in the insn) tbm at cyrius dot com
                   ` (4 preceding siblings ...)
  2007-11-18 19:22 ` [Bug rtl-optimization/34132] " jakub at gcc dot gnu dot org
@ 2007-11-18 19:23 ` jakub at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-11-18 19:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jakub at gcc dot gnu dot org  2007-11-18 19:23 -------
Fixed.


-- 

jakub at gcc dot gnu dot org changed:

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


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


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

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

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-17 11:58 [Bug rtl-optimization/34132] New: [4.3 Regression] ICE: internal consistency failure (invalid rtl sharing found in the insn) tbm at cyrius dot com
2007-11-17 11:59 ` [Bug rtl-optimization/34132] " tbm at cyrius dot com
2007-11-17 12:00 ` tbm at cyrius dot com
2007-11-17 18:55 ` [Bug target/34132] " pinskia at gcc dot gnu dot org
2007-11-18 10:37 ` [Bug middle-end/34132] " jakub at gcc dot gnu dot org
2007-11-18 19:22 ` [Bug rtl-optimization/34132] " jakub at gcc dot gnu dot org
2007-11-18 19:23 ` jakub 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).