Mercurial > hg > CbC > CbC_gcc
comparison gcc/fixed-value.c @ 55:77e2b8dfacca gcc-4.4.5
update it from 4.4.3 to 4.5.0
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 12 Feb 2010 23:39:51 +0900 |
parents | a06113de4d67 |
children | b7f97abdc517 |
comparison
equal
deleted
inserted
replaced
52:c156f1bd5cd9 | 55:77e2b8dfacca |
---|---|
1 /* Fixed-point arithmetic support. | 1 /* Fixed-point arithmetic support. |
2 Copyright (C) 2006, 2007, 2008 Free Software Foundation, Inc. | 2 Copyright (C) 2006, 2007, 2008, 2009 Free Software Foundation, Inc. |
3 | 3 |
4 This file is part of GCC. | 4 This file is part of GCC. |
5 | 5 |
6 GCC is free software; you can redistribute it and/or modify it under | 6 GCC is free software; you can redistribute it and/or modify it under |
7 the terms of the GNU General Public License as published by the Free | 7 the terms of the GNU General Public License as published by the Free |
782 | 782 |
783 bool | 783 bool |
784 fixed_compare (int icode, const FIXED_VALUE_TYPE *op0, | 784 fixed_compare (int icode, const FIXED_VALUE_TYPE *op0, |
785 const FIXED_VALUE_TYPE *op1) | 785 const FIXED_VALUE_TYPE *op1) |
786 { | 786 { |
787 enum tree_code code = icode; | 787 enum tree_code code = (enum tree_code) icode; |
788 gcc_assert (op0->mode == op1->mode); | 788 gcc_assert (op0->mode == op1->mode); |
789 | 789 |
790 switch (code) | 790 switch (code) |
791 { | 791 { |
792 case NE_EXPR: | 792 case NE_EXPR: |