[Bug middle-end/20995] [3.4 regression] ICE in const_binop, at fold-const.c:1391

2005-04-23 Thread roger at eyesopen dot com
--- Additional Comments From roger at eyesopen dot com 2005-04-23 16:24 --- This is actually a C++ front-end bug. It looks like on the 3.4 branch ocp_convert is calling fold instead of fold_if_not_in_template (which is what happens on mainline). This call to fold triggers a chain

[Bug middle-end/20995] [3.4 regression] ICE in const_binop, at fold-const.c:1391

2005-04-14 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2005-04-14 08:39 --- Shorter testcase: == templateint N void foo() { double d = (N ? 0.0 : 0) + 1; } == -- What|Removed

[Bug middle-end/20995] [3.4 regression] ICE in const_binop, at fold-const.c:1391

2005-04-13 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-04-13 15:29 --- Note that it isn't related to PR 19899, even though the failure seems similar. I should also note that the ICE happened with a compiler that had checking enabled. If checking is disabled, we simply get this:

[Bug middle-end/20995] [3.4 regression] ICE in const_binop, at fold-const.c:1391

2005-04-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-13 17:50 --- It does not ICE with 3.4.0 20040116 but does with 3.4.0 (release). -- What|Removed |Added

[Bug middle-end/20995] [3.4 regression] ICE in const_binop, at fold-const.c:1391

2005-04-13 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-13 18:59 --- : Search converges between 2004-01-25-trunk (#440) and 2004-01-26-trunk (#441). : Search converges between 2004-05-20-trunk (#457) and 2004-05-23-trunk (#458). Looking at the construct, I almost want to