This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/13524] New: [tree-ssa] ICE in optimize_inline_calls when passing inline function result to builtin
- From: "falk at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Dec 2003 20:01:07 -0000
- Subject: [Bug target/13524] New: [tree-ssa] ICE in optimize_inline_calls when passing inline function result to builtin
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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