summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/java/sql/Ref.java
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2012-09-14 16:59:10 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2012-09-14 16:59:10 +0000
commitbb554051056e54cf82993d6680c3f3c2aabaf85b (patch)
tree95a34b6ced24ac7d8b25b3d0768dbbb429f9ac2e /libjava/classpath/java/sql/Ref.java
parent79256e60cf0e2c0ac194fb454918f52559c988e1 (diff)
downloadppe42-gcc-bb554051056e54cf82993d6680c3f3c2aabaf85b.tar.gz
ppe42-gcc-bb554051056e54cf82993d6680c3f3c2aabaf85b.zip
c:
PR c/54103 * c-typeck.c (build_unary_op): Pass original argument of TRUTH_NOT_EXPR to c_objc_common_truthvalue_conversion, then remove any C_MAYBE_CONST_EXPR, if it has integer operands. (build_binary_op): Pass original arguments of TRUTH_ANDIF_EXPR, TRUTH_ORIF_EXPR, TRUTH_AND_EXPR, TRUTH_OR_EXPR and TRUTH_XOR_EXPR to c_objc_common_truthvalue_conversion, then remove any C_MAYBE_CONST_EXPR, if they have integer operands. Use c_objc_common_truthvalue_conversion not c_common_truthvalue_conversion. (c_objc_common_truthvalue_conversion): Build NE_EXPR directly and call note_integer_operands for arguments with integer operands that are not integer constants. testsuite: * gcc.c-torture/compile/pr54103-1.c, gcc.c-torture/compile/pr54103-2.c, gcc.c-torture/compile/pr54103-3.c, gcc.c-torture/compile/pr54103-4.c, gcc.c-torture/compile/pr54103-5.c, gcc.c-torture/compile/pr54103-6.c: New tests. * gcc.dg/c90-const-expr-8.c: Update expected column number. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191304 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/java/sql/Ref.java')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud