This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/53491] New: internal compiler error: in build_target_expr_with_type, at cp/tree.c:587
- From: "k.lingaard at samsung dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 25 May 2012 19:18:27 +0000
- Subject: [Bug c++/53491] New: internal compiler error: in build_target_expr_with_type, at cp/tree.c:587
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53491
Bug #: 53491
Summary: internal compiler error: in
build_target_expr_with_type, at cp/tree.c:587
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: k.lingaard@samsung.com
While doing something stupid (always the case, ain't it?) the compiler barfed
on me:
#include <queue>
#include <iostream>
using namespace std;
int main()
{
typedef std::priority_queue<uint64_t, std::deque<uint64_t> > EventQueue;
EventQueue m;
uint64_t result = 0;
result += m.pop();
return 0;
}
Yeah, I know, you can't += on a function returning 'void', but, since the
compiler croaked, I thought I'd submit a minor bug on it.
% g++ -O3 -W -Wall -std=c++11 -Wall -Wextra -Winline -Werror -Winit-self
-Wno-sequence-point -Wno-inline gcc_bug.cpp
gcc_bug.cpp: In function âint main()â:
gcc_bug.cpp:13:21: internal compiler error: in build_target_expr_with_type, at
cp/tree.c:587
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
% g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/sarc/spa/tools/gcc-470/libexec/gcc/x86_64-unknown-linux-gnu/4.7.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.7.0/configure --prefix=/sarc/spa/tools/gcc-470/
--with-mpc=/sarc/spa/tools/gcc-470/ --with-mpfr=/sarc/spa/tools/gcc-470/
--with-gmp=/sarc/spa/tools/gcc-470/ : (reconfigured) ../gcc-4.7.0/configure
--prefix=/sarc/spa/tools/gcc-470/ --with-mpc=/sarc/spa/tools/gcc-470/
--with-mpfr=/sarc/spa/tools/gcc-470/ --with-gmp=/sarc/spa/tools/gcc-470/ :
(reconfigured) ../gcc-4.7.0/configure --enable-languates=c,c++
--prefix=/sarc/spa/tools/gcc-470/ --with-mpc=/sarc/spa/tools/gcc-470/
--with-mpfr=/sarc/spa/tools/gcc-470/ --with-gmp=/sarc/spa/tools/gcc-470/ :
(reconfigured) ../gcc-4.7.0/configure --enable-languages=c,c++
--prefix=/sarc/spa/tools/gcc-470/ --with-mpc=/sarc/spa/tools/gcc-470/
--with-mpfr=/sarc/spa/tools/gcc-470/ --with-gmp=/sarc/spa/tools/gcc-470/
Thread model: posix
gcc version 4.7.0 (GCC)
- Follow-Ups:
- [Bug c++/53491] internal compiler error: in build_target_expr_with_type, at cp/tree.c:587
- From: daniel.kruegler at googlemail dot com
- [Bug c++/53491] internal compiler error: in build_target_expr_with_type, at cp/tree.c:587
- From: paolo.carlini at oracle dot com
- [Bug c++/53491] [4.7/4.8 Regression] ICE in build_target_expr_with_type, at cp/tree.c:587
- From: paolo.carlini at oracle dot com
- [Bug c++/53491] [4.7/4.8 Regression] ICE in build_target_expr_with_type, at cp/tree.c:587
- From: paolo.carlini at oracle dot com
- [Bug c++/53491] [4.7/4.8 Regression] ICE in build_target_expr_with_type, at cp/tree.c:587
- From: paolo at gcc dot gnu.org
- [Bug c++/53491] [4.7 Regression] ICE in build_target_expr_with_type, at cp/tree.c:587
- From: paolo.carlini at oracle dot com
- [Bug c++/53491] [4.7 Regression] ICE in build_target_expr_with_type, at cp/tree.c:587
- From: rguenth at gcc dot gnu.org
- [Bug c++/53491] [4.7 Regression] ICE in build_target_expr_with_type, at cp/tree.c:587
- From: paolo at gcc dot gnu.org
- [Bug c++/53491] [4.7 Regression] ICE in build_target_expr_with_type, at cp/tree.c:587
- From: paolo.carlini at oracle dot com
- [Bug c++/53491] [4.7 Regression] ICE in build_target_expr_with_type, at cp/tree.c:587
- From: paolo at gcc dot gnu.org