This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/52474] Regression: AVR-GCC: arithmetics produce completely wrong result


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52474

--- Comment #5 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-03-14 12:54:04 UTC ---
Created attachment 26890
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26890
mulhisi.c:Test program

Test program showing that the non-FSF patches introduce a wrong multiply.

Running the program with avrtest prints

a = 1
b = -32768
ab  = -32768
ab2 = 16744448


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]