I'm facing a new problem after compiling ROOT master (commit a71d862dda5ddbf532635c0e49ed04e58dc1f306) with the new GCC 7 which is the new default compiler in Arch Linux:
The same problem also happens with ROOT 6.09.02 compiled with the same compiler.
This macro helps illustrate the problem:
run with "root -n -l bug.C". After the canvas opens, right click the y-axis and select 'SetRangeUser'. Enter the values '2' as minimum and '4' as maximum. Press OK.
Result: The axis is not zoomed and this output is printed:
This problem did not exist when I used ROOT 6.09.02 compiled with GCC 6.3.1. It also doesn't exist when using ROOT 6.09.02 compiled with Intel Compiler 17 Update 4.