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 other/15526] [3.4/3.5 Regression] -ftrapv aborts on 0 * (-1)


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-18 21:33 -------
Confirmed this caused by the following patch:
2003-06-30  Bruno Haible  <bruno@clisp.org>

        PR middle-end/6578
        * libgcc2.c (__subvsi3): Remove simplification that would not work
        when subtracting -0x80000000.
        (__subvdi3): Remove simplification that would return a wrong result.
        (__mulvsi3): Fix overflow check.
        (__absvdi2): Fix simplification that would return a wrong result.
        (__mulvdi3): Fix overflow check.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bruno at clisp dot org,
                   |                            |roger at eyesopen dot com
             Status|UNCONFIRMED                 |NEW
          Component|c                           |other
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-05-18 21:33:14
               date|                            |
            Summary|-ftrapv aborts on 0 * (-1)  |[3.4/3.5 Regression] -ftrapv
                   |                            |aborts on 0 * (-1)
   Target Milestone|---                         |3.4.1


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


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