[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#184753: target/10084: [3.2/3.3 regression] alpha: ICE while building kseg/ddd



Hi,

here's a smaller test case:

struct Foo {
    Foo();
    Foo(const Foo &);
};

inline Foo foo(Foo s1) {
    Foo tmp(s1);
    return tmp;
}

const Foo bar = foo(Foo());

% g++ -v
Reading specs from /usr/local/stow/gcc-2003.03.11/bin/../lib/gcc-lib/alphaev68-unknown-linux-gnu/3.4/specs
Configured with: ../configure --enable-languages=c++
Thread model: posix
gcc version 3.4 20030310 (experimental)
% g++ -c -g -O bug.cc
bug.cc: In function `void __static_initialization_and_destruction_0(int, int)':
bug.cc:11: internal compiler error: in mem_loc_descriptor, at dwarf2out.c:8508
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

g++ 2.95 has no problems. Removing -g or -O also fixes the problem.

-- 
	Falk



Reply to: