public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/18665] [3.4/4.0 Regression] -ftrapv borks up simple integer arithmetic
Date: Wed, 15 Dec 2004 12:35:00 -0000	[thread overview]
Message-ID: <20041215123527.27157.qmail@sourceware.org> (raw)
In-Reply-To: <20041124222749.18665.skunk@iskunk.org>


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-12-15 12:35 -------
Subject: Bug 18665

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-branch
Changes by:	ebotcazou@gcc.gnu.org	2004-12-15 12:34:41

Modified files:
	gcc            : libgcc2.c libgcc2.h libgcc-darwin.ver 
	                 libgcc-std.ver 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gcc.dg: ftrapv-2.c 

Log message:
	PR other/18665
	* libgcc-std.ver (GCC_3.4.4): Inherit from GCC_3.4.2.
	Export __absvti2, __addvti3, __mulvti3, __negvti2 and __subvti3.
	* libgcc-darwin.ver (GCC_3.4.4): Inherit from GCC_3.4.
	Export __absvti2, __addvti3, __mulvti3, __negvti2 and __subvti3.
	* libgcc2.c (__addvsi3): Rename to __addvSI3.
	New version if COMPAT_SIMODE_TRAPPING_ARITHMETIC.
	(__addvdi3): Rename to __addvDI3.
	(__subvsi3): Rename to __subvSI3.  Use word type for the result.
	New version if COMPAT_SIMODE_TRAPPING_ARITHMETIC.
	(__subvdi3): Rename to __subvDI3.
	(_mulvsi3): Rename to _mulvSI3.
	New version if COMPAT_SIMODE_TRAPPING_ARITHMETIC.
	(_mulvdi3): Rename to _mulvDI3.
	(__negvsi2): Rename to __negvSI2.
	New version if COMPAT_SIMODE_TRAPPING_ARITHMETIC.
	(__negvdi2): Rename to __negvDI2.
	(__absvsi2): Rename to __absvSI2.
	New version if COMPAT_SIMODE_TRAPPING_ARITHMETIC.
	(__absvdi2): Rename to __absvDI2.
	* libgcc2.h (64-bit targets): Define COMPAT_SIMODE_TRAPPING_ARITHMETIC.
	(__absvSI2, __addvSI3, __subvSI3, __mulvSI3, __negvSI2, __absvDI2,
	__addvDI3, __subvDI3, __mulvDI3, __negvDI2): Define to the appropriate
	symbol and declare.
	(__absvsi2, __addvsi3, __subvsi3, __mulvsi3, __negvsi2): Declare if
	COMPAT_SIMODE_TRAPPING_ARITHMETIC.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/libgcc2.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.170.6.2&r2=1.170.6.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/libgcc2.h.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.28&r2=1.28.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/libgcc-darwin.ver.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.1.10.1&r2=2.1.10.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/libgcc-std.ver.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.23.10.3&r2=1.23.10.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3389.2.324&r2=1.3389.2.325
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/ftrapv-2.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.2.1



-- 


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


  parent reply	other threads:[~2004-12-15 12:35 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-24 22:29 [Bug target/18665] New: " skunk at iskunk dot org
2004-11-24 22:32 ` [Bug target/18665] " skunk at iskunk dot org
2004-11-24 22:42 ` pinskia at gcc dot gnu dot org
2004-11-28  0:07 ` steven at gcc dot gnu dot org
2004-11-28  0:22 ` steven at gcc dot gnu dot org
2004-11-28  0:26 ` steven at gcc dot gnu dot org
2004-11-28  0:31 ` [Bug target/18665] [4.0 Regression] " steven at gcc dot gnu dot org
2004-11-28  0:33 ` [Bug target/18665] [3.4/4.0 " pinskia at gcc dot gnu dot org
2004-11-28  0:34 ` steven at gcc dot gnu dot org
2004-11-28 13:00 ` steven at gcc dot gnu dot org
2004-12-06 18:45 ` ebotcazou at gcc dot gnu dot org
2004-12-06 18:47 ` ebotcazou at gcc dot gnu dot org
2004-12-06 20:51 ` rth at gcc dot gnu dot org
2004-12-07  6:59 ` ebotcazou at gcc dot gnu dot org
2004-12-07 14:36 ` schlie at comcast dot net
2004-12-10  7:35 ` ebotcazou at gcc dot gnu dot org
2004-12-10  9:53 ` ebotcazou at gcc dot gnu dot org
2004-12-10 10:11 ` ebotcazou at gcc dot gnu dot org
2004-12-10 18:59 ` [Bug other/18665] " rth at gcc dot gnu dot org
2004-12-10 19:24 ` ebotcazou at gcc dot gnu dot org
2004-12-10 19:40 ` rth at gcc dot gnu dot org
2004-12-10 20:04 ` ebotcazou at gcc dot gnu dot org
2004-12-10 20:17 ` rth at gcc dot gnu dot org
2004-12-11  9:39 ` ebotcazou at gcc dot gnu dot org
2004-12-11 23:12 ` rth at gcc dot gnu dot org
2004-12-12  7:19 ` ebotcazou at gcc dot gnu dot org
2004-12-13 17:11 ` pinskia at gcc dot gnu dot org
2004-12-14 14:17 ` pinskia at gcc dot gnu dot org
2004-12-14 14:36 ` ebotcazou at gcc dot gnu dot org
2004-12-15 12:31 ` cvs-commit at gcc dot gnu dot org
2004-12-15 12:35 ` cvs-commit at gcc dot gnu dot org [this message]
2004-12-15 12:39 ` ebotcazou at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041215123527.27157.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).