public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Steven Bosscher <s.bosscher@student.tudelft.nl>
To: nobody@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org,
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: <20030407182601.9254.qmail@sources.redhat.com> (raw)

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

From: Steven Bosscher <s.bosscher@student.tudelft.nl>
To: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, jberlin@cc.hut.fi,
	nobody@gcc.gnu.org, gcc-prs@gcc.gnu.org
Cc:  
Subject: Re: c/10308: [3.2/3.3/3.4 regression] [x86] ICE with -O -fgcse or
 -O2
Date: Mon, 07 Apr 2003 20:19:43 +0200

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10308
 
 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 
 cast
 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 
 ../../gcc-3.3/gcc/config/i386/i386.c:6624
 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 
 ../../gcc-3.3/gcc/config/i386/i386.c:6624
 #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 
 ../../gcc-3.3/gcc/final.c:3534
 #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 
 ../../gcc-3.3/gcc/final.c:3522
 #5  0x080dbcf9 in output_asm_insn (template=0x82bc20c "0|%0, %1}", 
 operands=0x83aefe0)
     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, 
 prescan=0)
     at ../../gcc-3.3/gcc/final.c:1904
 #8  0x081f019e in rest_of_compilation (decl=0x40146420) at 
 ../../gcc-3.3/gcc/toplev.c:3584
 
 Are we trying to PRINT_REG something that is not a REG?
 
 Greetz
 Steven
 
 
 


             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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=20030407182601.9254.qmail@sources.redhat.com \
    --to=s.bosscher@student.tudelft.nl \
    --cc=gcc-prs@gcc.gnu.org \
    --cc=nobody@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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).