public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/13789] New: ICE on _builtin_expect_addr
@ 2004-01-21 5:58 dhazeghi at yahoo dot com
2004-01-21 6:26 ` [Bug target/13789] " pinskia at gcc dot gnu dot org
` (11 more replies)
0 siblings, 12 replies; 13+ messages in thread
From: dhazeghi at yahoo dot com @ 2004-01-21 5:58 UTC (permalink / raw)
To: gcc-bugs
While looking at 13769 I discovered this gem which ICEs at -O0, but not at -O1 or -O2. This is a
regression from 3.3.1 where it works just fine:
void
foo (void *c)
{
void *a = __builtin_extract_return_addr (c);
}
--
Summary: ICE on _builtin_expect_addr
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dhazeghi at yahoo dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: sparc-sun-solaris2.8
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13789
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/13789] ICE on _builtin_expect_addr
2004-01-21 5:58 [Bug target/13789] New: ICE on _builtin_expect_addr dhazeghi at yahoo dot com
@ 2004-01-21 6:26 ` pinskia at gcc dot gnu dot org
2004-01-21 6:30 ` dhazeghi at yahoo dot com
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-21 6:26 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-21 06:26 -------
What is the ICE?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13789
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/13789] ICE on _builtin_expect_addr
2004-01-21 5:58 [Bug target/13789] New: ICE on _builtin_expect_addr dhazeghi at yahoo dot com
2004-01-21 6:26 ` [Bug target/13789] " pinskia at gcc dot gnu dot org
@ 2004-01-21 6:30 ` dhazeghi at yahoo dot com
2004-01-21 6:44 ` pinskia at gcc dot gnu dot org
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: dhazeghi at yahoo dot com @ 2004-01-21 6:30 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dhazeghi at yahoo dot com 2004-01-21 06:30 -------
Doh, I knew I forgot something :-) Thanks for the reminder. This is with tree-ssa current sources.
bash-2.05b$ ./cc1 -quiet /tmp/foo.i
/tmp/foo.i: In function `foo':
/tmp/foo.i:6: internal compiler error: in instantiate_virtual_regs_lossage, at function.c:3739
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13789
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/13789] ICE on _builtin_expect_addr
2004-01-21 5:58 [Bug target/13789] New: ICE on _builtin_expect_addr dhazeghi at yahoo dot com
2004-01-21 6:26 ` [Bug target/13789] " pinskia at gcc dot gnu dot org
2004-01-21 6:30 ` dhazeghi at yahoo dot com
@ 2004-01-21 6:44 ` pinskia at gcc dot gnu dot org
2004-01-21 6:49 ` dhazeghi at yahoo dot com
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-21 6:44 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-21 06:44 -------
Does it also fail on 3.4.0 or 3.5.0 (yes I know that this is usually not the questions asked of a
reporter but I just wantted to know because right now I am building something and it will be some
time before it finishes).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13789
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/13789] ICE on _builtin_expect_addr
2004-01-21 5:58 [Bug target/13789] New: ICE on _builtin_expect_addr dhazeghi at yahoo dot com
` (2 preceding siblings ...)
2004-01-21 6:44 ` pinskia at gcc dot gnu dot org
@ 2004-01-21 6:49 ` dhazeghi at yahoo dot com
2004-01-21 7:16 ` dhazeghi at yahoo dot com
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: dhazeghi at yahoo dot com @ 2004-01-21 6:49 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dhazeghi at yahoo dot com 2004-01-21 06:49 -------
I'll check. It'll be about an hour before I can make certain though...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13789
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/13789] ICE on _builtin_expect_addr
2004-01-21 5:58 [Bug target/13789] New: ICE on _builtin_expect_addr dhazeghi at yahoo dot com
` (3 preceding siblings ...)
2004-01-21 6:49 ` dhazeghi at yahoo dot com
@ 2004-01-21 7:16 ` dhazeghi at yahoo dot com
2004-01-21 7:21 ` [Bug target/13789] [tree-ssa] " pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: dhazeghi at yahoo dot com @ 2004-01-21 7:16 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dhazeghi at yahoo dot com 2004-01-21 07:16 -------
Compiles fine with mainline.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13789
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/13789] [tree-ssa] ICE on _builtin_expect_addr
2004-01-21 5:58 [Bug target/13789] New: ICE on _builtin_expect_addr dhazeghi at yahoo dot com
` (4 preceding siblings ...)
2004-01-21 7:16 ` dhazeghi at yahoo dot com
@ 2004-01-21 7:21 ` pinskia at gcc dot gnu dot org
2004-02-03 4:35 ` cvs-commit at gcc dot gnu dot org
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-21 7:21 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-21 07:21 -------
That is interesting, because the tree is about the same and so should the RTL.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |RTL
Last reconfirmed|0000-00-00 00:00:00 |2004-01-21 07:21:07
date| |
Summary|ICE on _builtin_expect_addr |[tree-ssa] ICE on
| |_builtin_expect_addr
Target Milestone|--- |tree-ssa
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13789
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/13789] [tree-ssa] ICE on _builtin_expect_addr
2004-01-21 5:58 [Bug target/13789] New: ICE on _builtin_expect_addr dhazeghi at yahoo dot com
` (5 preceding siblings ...)
2004-01-21 7:21 ` [Bug target/13789] [tree-ssa] " pinskia at gcc dot gnu dot org
@ 2004-02-03 4:35 ` cvs-commit at gcc dot gnu dot org
2004-02-03 4:35 ` cvs-commit at gcc dot gnu dot org
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-02-03 4:35 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-02-03 04:35 -------
Subject: Bug 13789
CVSROOT: /cvs/gcc
Module name: gcc
Branch: tree-ssa-20020619-branch
Changes by: rth@gcc.gnu.org 2004-02-03 04:35:23
Modified files:
gcc : ChangeLog expr.c
Log message:
PR target/13789
* expr.c (store_expr): Use force_operand before emit_move_insn.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.14646.2.123&r2=1.14646.2.124
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/expr.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.467.2.74&r2=1.467.2.75
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13789
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/13789] [tree-ssa] ICE on _builtin_expect_addr
2004-01-21 5:58 [Bug target/13789] New: ICE on _builtin_expect_addr dhazeghi at yahoo dot com
` (6 preceding siblings ...)
2004-02-03 4:35 ` cvs-commit at gcc dot gnu dot org
@ 2004-02-03 4:35 ` cvs-commit at gcc dot gnu dot org
2004-02-03 4:37 ` rth at gcc dot gnu dot org
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-02-03 4:35 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-02-03 04:35 -------
Subject: Bug 13789
CVSROOT: /cvs/gcc
Module name: gcc
Branch: tree-ssa-20020619-branch
Changes by: rth@gcc.gnu.org 2004-02-03 04:35:33
Added files:
gcc/testsuite/gcc.c-torture/compile: 20040202-1.c
Log message:
PR target/13789
* expr.c (store_expr): Use force_operand before emit_move_insn.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/compile/20040202-1.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=NONE&r2=1.1.2.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13789
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/13789] [tree-ssa] ICE on _builtin_expect_addr
2004-01-21 5:58 [Bug target/13789] New: ICE on _builtin_expect_addr dhazeghi at yahoo dot com
` (7 preceding siblings ...)
2004-02-03 4:35 ` cvs-commit at gcc dot gnu dot org
@ 2004-02-03 4:37 ` rth at gcc dot gnu dot org
2004-02-03 4:37 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-02-03 4:37 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rth at gcc dot gnu dot org 2004-02-03 04:37 -------
Mine
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rth at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13789
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/13789] [tree-ssa] ICE on _builtin_expect_addr
2004-01-21 5:58 [Bug target/13789] New: ICE on _builtin_expect_addr dhazeghi at yahoo dot com
` (8 preceding siblings ...)
2004-02-03 4:37 ` rth at gcc dot gnu dot org
@ 2004-02-03 4:37 ` cvs-commit at gcc dot gnu dot org
2004-02-03 4:41 ` rth at gcc dot gnu dot org
2004-04-06 9:58 ` ehrhardt at mathematik dot uni-ulm dot de
11 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-02-03 4:37 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-02-03 04:37 -------
Subject: Bug 13789
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: rth@gcc.gnu.org 2004-02-03 04:37:29
Modified files:
gcc : ChangeLog expr.c
Added files:
gcc/testsuite/gcc.c-torture/compile: 20040202-1.c
Log message:
PR target/13789
* expr.c (store_expr): Use force_operand before emit_move_insn.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.2613&r2=2.2614
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/expr.c.diff?cvsroot=gcc&r1=1.619&r2=1.620
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/compile/20040202-1.c.diff?cvsroot=gcc&r1=1.1&r2=1.2
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13789
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/13789] [tree-ssa] ICE on _builtin_expect_addr
2004-01-21 5:58 [Bug target/13789] New: ICE on _builtin_expect_addr dhazeghi at yahoo dot com
` (9 preceding siblings ...)
2004-02-03 4:37 ` cvs-commit at gcc dot gnu dot org
@ 2004-02-03 4:41 ` rth at gcc dot gnu dot org
2004-04-06 9:58 ` ehrhardt at mathematik dot uni-ulm dot de
11 siblings, 0 replies; 13+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-02-03 4:41 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rth at gcc dot gnu dot org 2004-02-03 04:41 -------
http://gcc.gnu.org/ml/gcc-patches/2004-02/msg00179.html
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|tree-ssa |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13789
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/13789] [tree-ssa] ICE on _builtin_expect_addr
2004-01-21 5:58 [Bug target/13789] New: ICE on _builtin_expect_addr dhazeghi at yahoo dot com
` (10 preceding siblings ...)
2004-02-03 4:41 ` rth at gcc dot gnu dot org
@ 2004-04-06 9:58 ` ehrhardt at mathematik dot uni-ulm dot de
11 siblings, 0 replies; 13+ messages in thread
From: ehrhardt at mathematik dot uni-ulm dot de @ 2004-04-06 9:58 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ehrhardt at mathematik dot uni-ulm dot de 2004-04-06 09:57 -------
*** Bug 13769 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |gerald at pfeifer dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13789
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2004-04-06 9:58 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-21 5:58 [Bug target/13789] New: ICE on _builtin_expect_addr dhazeghi at yahoo dot com
2004-01-21 6:26 ` [Bug target/13789] " pinskia at gcc dot gnu dot org
2004-01-21 6:30 ` dhazeghi at yahoo dot com
2004-01-21 6:44 ` pinskia at gcc dot gnu dot org
2004-01-21 6:49 ` dhazeghi at yahoo dot com
2004-01-21 7:16 ` dhazeghi at yahoo dot com
2004-01-21 7:21 ` [Bug target/13789] [tree-ssa] " pinskia at gcc dot gnu dot org
2004-02-03 4:35 ` cvs-commit at gcc dot gnu dot org
2004-02-03 4:35 ` cvs-commit at gcc dot gnu dot org
2004-02-03 4:37 ` rth at gcc dot gnu dot org
2004-02-03 4:37 ` cvs-commit at gcc dot gnu dot org
2004-02-03 4:41 ` rth at gcc dot gnu dot org
2004-04-06 9:58 ` ehrhardt at mathematik dot uni-ulm dot de
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).