X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Flambda-mat.c;h=0485a0f0c5c4d1f76f37033634d883e55da79753;hb=59d142eb8e568c760c374ec99b7dc22521c67cbc;hp=8aa3c12a70a0f01f77885a35c4a0aefe522a0f62;hpb=778ac06acb14495e68242bc91ccc67bee4953db4;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/lambda-mat.c b/gcc/lambda-mat.c index 8aa3c12a70a..0485a0f0c5c 100644 --- a/gcc/lambda-mat.c +++ b/gcc/lambda-mat.c @@ -1,5 +1,5 @@ /* Integer matrix math routines - Copyright (C) 2003, 2004 Free Software Foundation, Inc. + Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. Contributed by Daniel Berlin . This file is part of GCC. @@ -16,8 +16,8 @@ for more details. You should have received a copy of the GNU General Public License along with GCC; see the file COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ +Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301, USA. */ #include "config.h" #include "system.h" #include "coretypes.h" @@ -401,9 +401,8 @@ lambda_matrix_inverse_hard (lambda_matrix mat, lambda_matrix inv, int n) row = temp[j]; diagonal = row[j]; - /* If the matrix is singular, abort. */ - if (diagonal == 0) - abort (); + /* The matrix must not be singular. */ + gcc_assert (diagonal); determinant = determinant * diagonal;