1/* PR optimization/8396 */ 2/* Originator: <papadopo@shfj.cea.fr> */ 3 4/* Verify that the tree inliner doesn't mess up the types 5 when passing the value of read-only constant arguments. */ 6 7static inline bar(const short int xs, const short int xe) 8{ 9 if (xe && (xs < xe)) 10 ; 11} 12 13void f() 14{ 15 short int xe; 16 17 bar(0, xe); 18} 19