This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/16789] ICE in force_evaluation_order() on valid code
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jul 2004 20:57:21 -0000
- Subject: [Bug java/16789] ICE in force_evaluation_order() on valid code
- References: <20040727204823.16789.mckinlay@redhat.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-27 20:57 -------
Lets look at the code:
3190 arg = TREE_OPERAND (node, 0);
3191
3192 arg = TREE_OPERAND (arg, 1);
3193
3194 /* Not having a list of argument here is an error. */
3195 if (TREE_CODE (arg) != TREE_LIST)
3196 abort ();
This is wrong when there is no arguments to the function which is true for currentThread.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16789