public inbox for
help / color / mirror / Atom feed
From: Steven Bosscher <>
Subject: Re: c/10308: [3.2/3.3/3.4 regression] [x86] ICE with -O -fgcse or -O2
Date: Mon, 07 Apr 2003 18:26:00 -0000	[thread overview]
Message-ID: <> (raw)

The following reply was made to PR c/10308; it has been noted by GNATS.

From: Steven Bosscher <>
Subject: Re: c/10308: [3.2/3.3/3.4 regression] [x86] ICE with -O -fgcse or
Date: Mon, 07 Apr 2003 20:19:43 +0200
 Starting program: /home/steven/devel/gcc/build-3.3/gcc/cc1 -O2 10308.c
  set_idx somefunc
 10308.c: In function `somefunc':
 10308.c:40: warning: initialization makes pointer from integer without a 
 10308.c:46: warning: passing arg 2 of `set_idx' makes integer from 
 pointer without a cast
 Program received signal SIGSEGV, Segmentation fault.
 print_reg (x=0x4017ce94, code=4, file=0x83dbc90) at 
 6624          fputs (hi_reg_name[REGNO (x)], file);
 (gdb) p debug_rtx (x)
 (plus:SI (reg/f:SI 6 ebp)
     (const_int -16 [0xfffffff0]))
 $3 = void
 (gdb) where
 #0  print_reg (x=0x4017ce94, code=4, file=0x83dbc90) at 
 #1  0x0820eddd in print_operand_address (file=0x83dbc90, addr=0x4017ce94)
     at ../../gcc-3.3/gcc/config/i386/i386.c:7156
 #2  0x080dc1a0 in output_address (x=0x4017ceac) at 
 #3  0x0820eb82 in print_operand (file=0x83dbc90, x=0x4017ceac, code=0)
     at ../../gcc-3.3/gcc/config/i386/i386.c:7012
 #4  0x080dc144 in output_operand (x=0x4017ceb8, code=0) at 
 #5  0x080dbcf9 in output_asm_insn (template=0x82bc20c "0|%0, %1}", 
     at ../../gcc-3.3/gcc/final.c:3445
 #6  0x080daf00 in final_scan_insn (insn=0x40146ad4, file=0x83dbc90, 
 optimize=2, prescan=0,
     nopeepholes=0) at ../../gcc-3.3/gcc/final.c:2814
 #7  0x080da9ff in final (first=0x40146420, file=0x83dbc90, optimize=2, 
     at ../../gcc-3.3/gcc/final.c:1904
 #8  0x081f019e in rest_of_compilation (decl=0x40146420) at 
 Are we trying to PRINT_REG something that is not a REG?

             reply	other threads:[~2003-04-07 18:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-07 18:26 Steven Bosscher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-05-15  4:46 bangerth
2003-05-15  0:26 Dara Hazeghi
2003-04-08 19:12 ebotcazou
2003-04-04 17:32 bangerth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).