This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/37152] tree-vect-transform.c: use of "=" where "==" may have been intended
- From: "dorit at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Aug 2008 20:11:34 -0000
- Subject: [Bug bootstrap/37152] tree-vect-transform.c: use of "=" where "==" may have been intended
- References: <bug-37152-9596@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from dorit at gcc dot gnu dot org 2008-08-18 20:11 -------
(In reply to comment #0)
> I just tried to compile GNU CC version 4.4 snapshot 20080815 with the
> Intel C compiler and it said
> gcc/tree-vect-transform.c(2488): warning #187: use of "=" where "==" may have
> been intended
> The source code is
> gcc_assert (ncopies = 1);
> Perhaps
> gcc_assert (ncopies == 1);
> was intended ?
no... thanks for the catch, I'll commit a fix
--
dorit at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|tree-vect-transform.c: use |tree-vect-transform.c: use
|of "=" where "==" may have |of "=" where "==" may have
|been intended |been intended
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37152