Updated

U.S. stocks are closing with slight gains, just enough to push the market further into record territory.

Semiconductor stocks rose Wednesday after Analog Devices reported strong earnings. Analog Devices rose 6 percent, the most in the Standard & Poor's 500 index.

The S&P 500 rose five points, or 0.3 percent, to 2,072.

The Dow Jones industrial average rose 12 points, or 0.1 percent, to 17,827. The Nasdaq rose 29 points, or 0.6 percent, to 4,787.

U.S. markets will be closed Thursday for Thanksgiving. They will be open for an abbreviated session Friday.

Oil slid to another four-year low ahead of an OPEC meeting in Vienna that is not expected to result in production cuts.

Bond prices rose. The yield on the 10-year Treasury note fell to 2.25 percent.