[multiple changes]
2007-03-19 Andrew Haley <aph@redhat.com> PR tree-optimization/31264 * tree-vrp.c (register_edge_assert_for_1): Don't look though VIEW_CONVERT_EXPRs. 2007-03-20 Andrew Haley <aph@redhat.com> * testsuite/libjava.lang/PR31264.java: New test. From-SVN: r123085
This commit is contained in:
parent
fb4061627b
commit
2b31200511
6 changed files with 38 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2007-03-19 Andrew Haley <aph@redhat.com>
|
||||
|
||||
PR tree-optimization/31264
|
||||
* tree-vrp.c (register_edge_assert_for_1): Don't look though
|
||||
VIEW_CONVERT_EXPRs.
|
||||
|
||||
2007-03-19 Paolo Bonzini <bonzini@gnu.org>
|
||||
|
||||
PR rtl-optimization/30907
|
||||
|
|
|
@ -3485,7 +3485,6 @@ register_edge_assert_for_1 (tree op, enum tree_code code,
|
|||
}
|
||||
else if (TREE_CODE (rhs) == NOP_EXPR
|
||||
|| TREE_CODE (rhs) == CONVERT_EXPR
|
||||
|| TREE_CODE (rhs) == VIEW_CONVERT_EXPR
|
||||
|| TREE_CODE (rhs) == NON_LVALUE_EXPR)
|
||||
{
|
||||
/* Recurse through the type conversion. */
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
2007-03-20 Andrew Haley <aph@redhat.com>
|
||||
|
||||
* testsuite/libjava.lang/PR31264.java: New test.
|
||||
|
||||
2007-03-14 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* Makefile.am (AM_MAKEFLAGS): Pass through mandir.
|
||||
|
|
BIN
libjava/testsuite/libjava.lang/PR31264.jar
Normal file
BIN
libjava/testsuite/libjava.lang/PR31264.jar
Normal file
Binary file not shown.
28
libjava/testsuite/libjava.lang/PR31264.java
Normal file
28
libjava/testsuite/libjava.lang/PR31264.java
Normal file
|
@ -0,0 +1,28 @@
|
|||
/*
|
||||
* Javolution - Java(TM) Solution for Real-Time and Embedded Systems
|
||||
* Copyright (C) 2006 - Javolution (http://javolution.org/)
|
||||
* All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software is
|
||||
* freely granted, provided that this notice is preserved.
|
||||
*/
|
||||
|
||||
public final class PR31264
|
||||
{
|
||||
public static long fubar(double d, int n)
|
||||
{
|
||||
long bits = Double.doubleToRawLongBits(d);
|
||||
int exp = ((int)(bits >> 52)) & 0x7FF;
|
||||
long m = bits & 0x000fffffffffffffL;
|
||||
if (exp == 0)
|
||||
{
|
||||
if (m == 0) return 0L;
|
||||
return fubar(d * 18014398509481984L, n - 54); // 2^54 Exact.
|
||||
}
|
||||
return m;
|
||||
}
|
||||
|
||||
public static void main(String[] argv)
|
||||
{
|
||||
}
|
||||
}
|
0
libjava/testsuite/libjava.lang/PR31264.out
Normal file
0
libjava/testsuite/libjava.lang/PR31264.out
Normal file
Loading…
Add table
Reference in a new issue