The influence of surface deformations on the Rayleigh-Bénard-Marangoni instability of a uniform layer of a non-Boussinesq fluid heated from below is investigated. In particular, the stability of the conductive state of a horizontal fluid layer with a deformable surface, a flat isothermal rigid lower boundary, and a convective heat transfer condition at the upper free surface is considered. The fluid is assumed to be isothermally incompressible. In contrast to the Boussinesq approximation, density variations are accounted for in the continuity equation and in the buoyancy and inertial terms of the momentum equations. Two different types of temperature dependence of the density are considered: linear and exponential. The longwave instability is studied analytically, and instability to perturbations with finite wavenumber is examined numerically. It is found that there is a decrease in stability of the system with respect to the onset of longwave Marangoni convection. This result could not be obtained within the framework of the conventional Boussinesq approximation. It is also shown that at Ma = 0 the critical Rayleigh number increases with Ga (the ratio of gravity to viscous forces or Galileo number). At some value of Ga, the Rayleigh-Bénard instability vanishes. This stabilization occurs for each of the density equations of state. At small values of Ga and when deformation of the free surface is important, it is shown that there are significant differences in stability behavior as compared to results obtained using the Boussinesq approximation.