Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lkundrak
java-1_6_0-openjdk
openjdk-6-src-b17-unused-variable.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openjdk-6-src-b17-unused-variable.patch of Package java-1_6_0-openjdk
Index: icedtea6-1.7/openjdk/hotspot/src/share/vm/oops/cpCacheOop.hpp =================================================================== --- icedtea6-1.7.orig/openjdk/hotspot/src/share/vm/oops/cpCacheOop.hpp +++ icedtea6-1.7/openjdk/hotspot/src/share/vm/oops/cpCacheOop.hpp @@ -123,6 +123,7 @@ class ConstantPoolCacheEntry VALUE_OBJ_C void set_bytecode_2(Bytecodes::Code code); void set_f1(oop f1) { oop existing_f1 = _f1; // read once + existing_f1 = existing_f1; // suppress compiler warning assert(existing_f1 == NULL || existing_f1 == f1, "illegal field change"); oop_store(&_f1, f1); } Index: icedtea6-1.7/openjdk/hotspot/src/share/vm/gc_implementation/shared/allocationStats.hpp =================================================================== --- icedtea6-1.7.orig/openjdk/hotspot/src/share/vm/gc_implementation/shared/allocationStats.hpp +++ icedtea6-1.7/openjdk/hotspot/src/share/vm/gc_implementation/shared/allocationStats.hpp @@ -70,6 +70,7 @@ class AllocationStats VALUE_OBJ_CLASS_SP _splitBirths = 0; _splitDeaths = 0; _returnedBytes = 0; + dummy = dummy; //suppress compiler warning } AllocationStats() { Index: icedtea6-1.7/openjdk/hotspot/src/share/vm/interpreter/bytecode.hpp =================================================================== --- icedtea6-1.7.orig/openjdk/hotspot/src/share/vm/interpreter/bytecode.hpp +++ icedtea6-1.7/openjdk/hotspot/src/share/vm/interpreter/bytecode.hpp @@ -362,6 +362,7 @@ class Bytecode_loadconstant: public Byte assert(stdc == Bytecodes::_ldc || stdc == Bytecodes::_ldc_w || stdc == Bytecodes::_ldc2_w, "load constant"); + stdc = stdc; //suppress compiler warning } int index() const; Index: icedtea6-1.7/openjdk/hotspot/src/share/vm/opto/regalloc.hpp =================================================================== --- icedtea6-1.7.orig/openjdk/hotspot/src/share/vm/opto/regalloc.hpp +++ icedtea6-1.7/openjdk/hotspot/src/share/vm/opto/regalloc.hpp @@ -108,6 +108,7 @@ public: assert( n->_idx < _node_regs_max_index, "Exceeded _node_regs array"); OptoReg::Name first = _node_regs[n->_idx].first(); OptoReg::Name second = _node_regs[n->_idx].second(); + second = second; //suppress compiler warning assert( !OptoReg::is_valid(second) || second == first+1, "" ); assert(OptoReg::is_reg(first), "out of range"); return Matcher::_regEncode[first];
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor