------- Additional Comments From rguenth at gcc dot gnu dot org 2005-09-09 12:19 ------- Problem of the C frontend using the first decl with int arg and the inliner expecting to have a double in unit-at-a-time mode, -O1 -funit-at-a-time:
inline double func(); int main(void) { double d = func(42); return 0; } inline double func(double arg) { return arg * 2.0; } src/tests/pr23665.c: In function `main': src/tests/pr23665.c:10: internal compiler error: in convert_move, at expr.c:563 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. We're probably confusing the two decls. I guess we will not fix this for 3.4. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23665