public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/13524] New: [tree-ssa] ICE in optimize_inline_calls when passing inline function result to builtin
@ 2003-12-30 20:08 falk at debian dot org
2003-12-30 20:31 ` [Bug target/13524] " pinskia at gcc dot gnu dot org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: falk at debian dot org @ 2003-12-30 20:08 UTC (permalink / raw)
To: gcc-bugs
3.5-tree-ssa 20031230 (merged 20031130)
falk@juist:/tmp% cat bug.c
static inline int avg4 (void)
{
return 0;
}
int f (void)
{
return __builtin_alpha_amask (avg4 ());
}
falk@juist:/tmp% gcc -c -O bug.c
bug.c: In function `f':
bug.c:6: internal compiler error: in optimize_inline_calls, at tree-inline.c:1842
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
The actual builtin is irrelevant, any alpha builtin will do, but not for
example builtin_clz.
--
Summary: [tree-ssa] ICE in optimize_inline_calls when passing
inline function result to builtin
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: falk at debian dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: alphaev68-unknown-linux-gnu
GCC host triplet: alphaev68-unknown-linux-gnu
GCC target triplet: alphaev68-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13524
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/13524] [tree-ssa] ICE in optimize_inline_calls when passing inline function result to builtin
2003-12-30 20:08 [Bug target/13524] New: [tree-ssa] ICE in optimize_inline_calls when passing inline function result to builtin falk at debian dot org
@ 2003-12-30 20:31 ` pinskia at gcc dot gnu dot org
2003-12-30 20:34 ` [Bug optimization/13524] " pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-30 20:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-12-30 20:08 -------
/* Double check that we inlined everything we are supposed to inline. */
I would if it is not inlining the function for some reason?
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |tree-ssa
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13524
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug optimization/13524] [tree-ssa] ICE in optimize_inline_calls when passing inline function result to builtin
2003-12-30 20:08 [Bug target/13524] New: [tree-ssa] ICE in optimize_inline_calls when passing inline function result to builtin falk at debian dot org
2003-12-30 20:31 ` [Bug target/13524] " pinskia at gcc dot gnu dot org
@ 2003-12-30 20:34 ` pinskia at gcc dot gnu dot org
2004-01-10 0:23 ` steven at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-30 20:34 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-12-30 20:20 -------
Confirmed also on PPC with the altivec built-ins:
#include <altivec.h>
static inline int avg4 (void)
{
return 0;
}
vector signed f(int *x)
{
return vec_ld(avg4(),x);
}
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|target |optimization
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-12-30 20:20:18
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13524
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug optimization/13524] [tree-ssa] ICE in optimize_inline_calls when passing inline function result to builtin
2003-12-30 20:08 [Bug target/13524] New: [tree-ssa] ICE in optimize_inline_calls when passing inline function result to builtin falk at debian dot org
2003-12-30 20:31 ` [Bug target/13524] " pinskia at gcc dot gnu dot org
2003-12-30 20:34 ` [Bug optimization/13524] " pinskia at gcc dot gnu dot org
@ 2004-01-10 0:23 ` steven at gcc dot gnu dot org
2004-01-10 4:05 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: steven at gcc dot gnu dot org @ 2004-01-10 0:23 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From steven at gcc dot gnu dot org 2004-01-10 00:23 -------
What do the tree dumps look like?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13524
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug optimization/13524] [tree-ssa] ICE in optimize_inline_calls when passing inline function result to builtin
2003-12-30 20:08 [Bug target/13524] New: [tree-ssa] ICE in optimize_inline_calls when passing inline function result to builtin falk at debian dot org
` (2 preceding siblings ...)
2004-01-10 0:23 ` steven at gcc dot gnu dot org
@ 2004-01-10 4:05 ` pinskia at gcc dot gnu dot org
2004-01-30 2:59 ` rth at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-10 4:05 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-10 04:05 -------
Jan already analysised this one. The problem is that we do not gimplify things for builtins, if we
did that caused problems with var_args.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13524
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug optimization/13524] [tree-ssa] ICE in optimize_inline_calls when passing inline function result to builtin
2003-12-30 20:08 [Bug target/13524] New: [tree-ssa] ICE in optimize_inline_calls when passing inline function result to builtin falk at debian dot org
` (3 preceding siblings ...)
2004-01-10 4:05 ` pinskia at gcc dot gnu dot org
@ 2004-01-30 2:59 ` rth at gcc dot gnu dot org
2004-01-30 9:20 ` cvs-commit at gcc dot gnu dot org
2004-01-30 9:24 ` rth at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-01-30 2:59 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rth at gcc dot gnu dot org 2004-01-30 02:59 -------
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=13524
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug optimization/13524] [tree-ssa] ICE in optimize_inline_calls when passing inline function result to builtin
2003-12-30 20:08 [Bug target/13524] New: [tree-ssa] ICE in optimize_inline_calls when passing inline function result to builtin falk at debian dot org
` (4 preceding siblings ...)
2004-01-30 2:59 ` rth at gcc dot gnu dot org
@ 2004-01-30 9:20 ` cvs-commit at gcc dot gnu dot org
2004-01-30 9:24 ` rth at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-01-30 9:20 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-01-30 09:20 -------
Subject: Bug 13524
CVSROOT: /cvs/gcc
Module name: gcc
Branch: tree-ssa-20020619-branch
Changes by: rth@gcc.gnu.org 2004-01-30 09:20:00
Modified files:
gcc : ChangeLog.tree-ssa gengtype-yacc.y gimplify.c
tree-dfa.c tree-simple.h tree-ssa-operands.c
tree.h
Log message:
PR opt/13524
* gengtype-yacc.y (struct_fields): Accept unnamed bitfields.
(bitfieldlen): Split from ...
(bitfieldopt): ... here.
* gimplify.c (mark_not_gimple): Remove.
(gimplify_call_expr): Don't ignore BUILT_IN_MD.
* tree-dfa.c (struct walk_state): Remove is_not_gimple.
(find_referenced_vars): Don't look for TREE_NOT_GIMPLE.
(find_vars_r, add_referenced_var): Likewise.
* tree-ssa-operands.c (get_stmt_operands, get_expr_operands): Likewise.
* tree-simple.h (mark_not_gimple): Remove.
* tree.h (struct tree_common): Remove not_gimple_flag.
(TREE_NOT_GIMPLE): Remove.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.tree-ssa.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.1139&r2=1.1.2.1140
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gengtype-yacc.y.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.5.2.4&r2=1.5.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gimplify.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.139&r2=1.1.2.140
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-dfa.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.4.213&r2=1.1.4.214
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-simple.h.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.4.45&r2=1.1.4.46
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-operands.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.6&r2=1.1.2.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.h.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.342.2.163&r2=1.342.2.164
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13524
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug optimization/13524] [tree-ssa] ICE in optimize_inline_calls when passing inline function result to builtin
2003-12-30 20:08 [Bug target/13524] New: [tree-ssa] ICE in optimize_inline_calls when passing inline function result to builtin falk at debian dot org
` (5 preceding siblings ...)
2004-01-30 9:20 ` cvs-commit at gcc dot gnu dot org
@ 2004-01-30 9:24 ` rth at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-01-30 9:24 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rth at gcc dot gnu dot org 2004-01-30 09:24 -------
http://gcc.gnu.org/ml/gcc-patches/2004-01/msg03368.html
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13524
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-01-30 9:24 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-30 20:08 [Bug target/13524] New: [tree-ssa] ICE in optimize_inline_calls when passing inline function result to builtin falk at debian dot org
2003-12-30 20:31 ` [Bug target/13524] " pinskia at gcc dot gnu dot org
2003-12-30 20:34 ` [Bug optimization/13524] " pinskia at gcc dot gnu dot org
2004-01-10 0:23 ` steven at gcc dot gnu dot org
2004-01-10 4:05 ` pinskia at gcc dot gnu dot org
2004-01-30 2:59 ` rth at gcc dot gnu dot org
2004-01-30 9:20 ` cvs-commit at gcc dot gnu dot org
2004-01-30 9:24 ` 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).