[Bug optimization/12347] New: [tree-ssa] ICE in expand_expr
schwab at suse dot de
gcc-bugzilla@gcc.gnu.org
Sat Sep 20 16:36:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12347
Summary: [tree-ssa] ICE in expand_expr
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Keywords: build
Severity: normal
Priority: P2
Component: optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: schwab at suse dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: ia64-linux
The ICE happens while building libstdc++.
/tmp/cvs/gcc-20030920/Build/gcc/xgcc -shared-libgcc -B/tmp/cvs/gcc-20030920/
Build/gcc/ -nostdinc++ -L/tmp/cvs/gcc-20030920/Build/ia64-suse-linux/libstdc+
+-v3/src -L/tmp/cvs/gcc-20030920/Build/ia64-suse-linux/libstdc++-v3/src/.libs
-B/usr/local/ia64-suse-linux/bin/ -B/usr/local/ia64-suse-linux/lib/ -isystem /
usr/local/ia64-suse-linux/include -isystem /usr/local/ia64-suse-linux/
sys-include -I/tmp/cvs/gcc-20030920/Build/ia64-suse-linux/libstdc++-v3/include/
ia64-suse-linux -I/tmp/cvs/gcc-20030920/Build/ia64-suse-linux/libstdc++-v3/
include -I/tmp/cvs/gcc-20030920/libstdc++-v3/libsupc++ -O2 -g -O2 -g -O2
-D_GNU_SOURCE -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections
-c ../../../../libstdc++-v3/src/locale-inst.cc -fPIC -DPIC -o .libs/
locale-inst.o
/tmp/cvs/gcc-20030920/Build/ia64-suse-linux/libstdc++-v3/include/bits/
locale_facets.tcc: In
member function `_InIter std::money_get<_CharT, _InIter>::do_get(_InIter,
_InIter, bool, std::ios_base&, std::_Ios_Iostate&, long double&) const [with
_CharT = char, _InIter = std::istreambuf_iterator<char,
std::char_traits<char> >]':
../../../../libstdc++-v3/src/locale-inst.cc:47: instantiated from here
/tmp/cvs/gcc-20030920/Build/ia64-suse-linux/libstdc++-v3/include/bits/
locale_facets.tcc:1120: internal compiler error: in
expand_expr, at expr.c:6893
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[4]: *** [locale-inst.lo] Error 1
make[4]: Leaving directory `/tmp/cvs/gcc-20030920/Build/ia64-suse-linux/libstdc
++-v3/src'
/* If the mode of DECL_RTL does not match that of the decl, it
must be a promoted value. We return a SUBREG of the wanted mode,
but mark it so that we know that it was already extended. */
if (GET_CODE (DECL_RTL (exp)) == REG
&& GET_MODE (DECL_RTL (exp)) != DECL_MODE (exp))
{
/* Get the signedness used for this variable. Ensure we get the
same mode we got when the variable was declared. */
if (GET_MODE (DECL_RTL (exp))
!= promote_mode (type, DECL_MODE (exp), &unsignedp,
(TREE_CODE (exp) == RESULT_DECL ? 1 : 0)))
abort ();
temp = gen_lowpart_SUBREG (mode, DECL_RTL (exp));
SUBREG_PROMOTED_VAR_P (temp) = 1;
SUBREG_PROMOTED_UNSIGNED_SET (temp, unsignedp);
return temp;
}
More information about the Gcc-bugs
mailing list