Skip to content

Commit

Permalink
2009-06-14 Andreas Krebbel <[email protected]>
Browse files Browse the repository at this point in the history
	* tree-ssa-math-opts.c: Remove extra divide.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148485 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
krebbel committed Jun 15, 2009
1 parent 497042b commit 92b84fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions gcc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2009-06-14 Andreas Krebbel <[email protected]>

* tree-ssa-math-opts.c: Remove extra divide.

2009-06-14 Andreas Krebbel <[email protected]>

* config/s390/s390.md ("bswap<mode>2"): Only available on z900.
Expand Down
2 changes: 0 additions & 2 deletions gcc/tree-ssa-math-opts.c
Original file line number Diff line number Diff line change
Expand Up @@ -1049,8 +1049,6 @@ find_bswap_1 (gimple stmt, struct symbolic_number *n, int limit)
if (type_size % BITS_PER_UNIT != 0)
return NULL_TREE;

type_size /= BITS_PER_UNIT;

if (type_size / BITS_PER_UNIT < (int)(sizeof (HOST_WIDEST_INT)))
{
/* If STMT casts to a smaller type mask out the bits not
Expand Down

0 comments on commit 92b84fc

Please sign in to comment.