public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/23196] New: ICE instantiate_virtual_regs_in_insn when -fforce-addr used
@ 2005-08-02 10:57 zlynx at acm dot org
2005-08-02 10:59 ` [Bug c/23196] " zlynx at acm dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: zlynx at acm dot org @ 2005-08-02 10:57 UTC (permalink / raw)
To: gcc-bugs
# gcc -v
Using built-in specs.
Target: x86_64-pc-linux-gnu
Configured with:
/var/tmp/portage/gcc-4.1.0_beta20050730/work/gcc-4.1-20050730/configure
--enable-version-specific-runtime-libs --prefix=/usr
--bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.0-beta20050730
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.0-beta20050730/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.0-beta20050730
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.0-beta20050730/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.0-beta20050730/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.0-beta20050730/include/g++-v4
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec
--enable-nls --without-included-gettext --with-system-zlib --disable-checking
--disable-werror --disable-libunwind-exceptions --enable-multilib
--disable-libgcj --enable-languages=c,c++,f95 --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.1.0 20050730 (experimental)
# gcc -march=athlon64 -O1 -fforce-addr -c /tmp/j1.c
rlogin.c: In function 'do_rlogin':
rlogin.c:181: error: unrecognizable insn:
(insn 116 187 118 13 (parallel [
(set (mem/s/j:SI (reg/f:DI 102) [0 termio.c_iflag+0 S4 A64])
(ior:SI (mem/s/j:SI (reg/f:DI 103) [0 termio.c_iflag+0 S4 A64])
(const_int 1280 [0x500])))
(clobber (reg:CC 17 flags))
]) -1 (nil)
(nil))
rlogin.c:181: internal compiler error: in instantiate_virtual_regs_in_insn, at
function.c:1539
j1.c will be attached. (It's a preprocessed rlogin.c from the "shadow" package)
--
Summary: ICE instantiate_virtual_regs_in_insn when -fforce-addr
used
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: zlynx at acm dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: x86_64-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23196
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/23196] ICE instantiate_virtual_regs_in_insn when -fforce-addr used
2005-08-02 10:57 [Bug c/23196] New: ICE instantiate_virtual_regs_in_insn when -fforce-addr used zlynx at acm dot org
@ 2005-08-02 10:59 ` zlynx at acm dot org
2005-08-02 11:16 ` reichelt at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: zlynx at acm dot org @ 2005-08-02 10:59 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From zlynx at acm dot org 2005-08-02 10:59 -------
Created an attachment (id=9410)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9410&action=view)
preprocessed source to reproduce
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23196
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/23196] ICE instantiate_virtual_regs_in_insn when -fforce-addr used
2005-08-02 10:57 [Bug c/23196] New: ICE instantiate_virtual_regs_in_insn when -fforce-addr used zlynx at acm dot org
2005-08-02 10:59 ` [Bug c/23196] " zlynx at acm dot org
@ 2005-08-02 11:16 ` reichelt at gcc dot gnu dot org
2005-08-02 11:27 ` [Bug rtl-optimization/23196] [4.1 Regression] " reichelt at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-08-02 11:16 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2005-08-02 11:16 -------
Also happens on i686-pc-linux-gnu.
Reducing.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23196
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug rtl-optimization/23196] [4.1 Regression] ICE instantiate_virtual_regs_in_insn when -fforce-addr used
2005-08-02 10:57 [Bug c/23196] New: ICE instantiate_virtual_regs_in_insn when -fforce-addr used zlynx at acm dot org
2005-08-02 10:59 ` [Bug c/23196] " zlynx at acm dot org
2005-08-02 11:16 ` reichelt at gcc dot gnu dot org
@ 2005-08-02 11:27 ` reichelt at gcc dot gnu dot org
2005-08-02 17:43 ` [Bug target/23196] " rth at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-08-02 11:27 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2005-08-02 11:26 -------
Confirmed.
Reduced testcase (compile with "-O -fforce-addr"):
=================
void foo()
{
char c;
c |= 1;
bar(&c);
}
=================
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|c |rtl-optimization
Ever Confirmed| |1
Keywords| |ice-on-valid-code, monitored
Last reconfirmed|0000-00-00 00:00:00 |2005-08-02 11:26:58
date| |
Summary|ICE |[4.1 Regression] ICE
|instantiate_virtual_regs_in_|instantiate_virtual_regs_in_
|insn when -fforce-addr used |insn when -fforce-addr used
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23196
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/23196] [4.1 Regression] ICE instantiate_virtual_regs_in_insn when -fforce-addr used
2005-08-02 10:57 [Bug c/23196] New: ICE instantiate_virtual_regs_in_insn when -fforce-addr used zlynx at acm dot org
` (2 preceding siblings ...)
2005-08-02 11:27 ` [Bug rtl-optimization/23196] [4.1 Regression] " reichelt at gcc dot gnu dot org
@ 2005-08-02 17:43 ` rth at gcc dot gnu dot org
2005-08-02 20:39 ` cvs-commit at gcc dot gnu dot org
2005-08-02 20:46 ` rth at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-08-02 17:43 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rth at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2005-08-02 11:26:58 |2005-08-02 17:43:23
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23196
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/23196] [4.1 Regression] ICE instantiate_virtual_regs_in_insn when -fforce-addr used
2005-08-02 10:57 [Bug c/23196] New: ICE instantiate_virtual_regs_in_insn when -fforce-addr used zlynx at acm dot org
` (3 preceding siblings ...)
2005-08-02 17:43 ` [Bug target/23196] " rth at gcc dot gnu dot org
@ 2005-08-02 20:39 ` cvs-commit at gcc dot gnu dot org
2005-08-02 20:46 ` rth at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-08-02 20:39 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-02 20:39 -------
Subject: Bug 23196
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: rth@gcc.gnu.org 2005-08-02 20:39:24
Modified files:
gcc : ChangeLog explow.c
Added files:
gcc/testsuite/gcc.c-torture/compile: 20050802-1.c
Log message:
PR 23196
* explow.c (memory_address): Remove special-case for
virtual_stack_vars_rtx and virtual_incoming_args_rtx.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.9638&r2=2.9639
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/explow.c.diff?cvsroot=gcc&r1=1.148&r2=1.149
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/compile/20050802-1.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23196
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/23196] [4.1 Regression] ICE instantiate_virtual_regs_in_insn when -fforce-addr used
2005-08-02 10:57 [Bug c/23196] New: ICE instantiate_virtual_regs_in_insn when -fforce-addr used zlynx at acm dot org
` (4 preceding siblings ...)
2005-08-02 20:39 ` cvs-commit at gcc dot gnu dot org
@ 2005-08-02 20:46 ` rth at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-08-02 20:46 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rth at gcc dot gnu dot org 2005-08-02 20:46 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23196
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-08-02 20:46 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-02 10:57 [Bug c/23196] New: ICE instantiate_virtual_regs_in_insn when -fforce-addr used zlynx at acm dot org
2005-08-02 10:59 ` [Bug c/23196] " zlynx at acm dot org
2005-08-02 11:16 ` reichelt at gcc dot gnu dot org
2005-08-02 11:27 ` [Bug rtl-optimization/23196] [4.1 Regression] " reichelt at gcc dot gnu dot org
2005-08-02 17:43 ` [Bug target/23196] " rth at gcc dot gnu dot org
2005-08-02 20:39 ` cvs-commit at gcc dot gnu dot org
2005-08-02 20:46 ` rth 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).