------- Comment #1 from bangerth at dealii dot org 2007-01-21 05:16 ------- I only have the C99 standard, and there I read in 6.3.1.1 p2 that only those variables are promoted to int that are of smaller size.
Similarly, in 6.3.1.8, integer promotion rules are specified, and they specify that types in binary operations are always converted to the type with the greater range. In your case, this would be signed long. Do you disagree with this rationale? Best Wolfgang -- bangerth at dealii dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bangerth at dealii dot org Status|UNCONFIRMED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30277