public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/37152] New: tree-vect-transform.c: use of "=" where "==" may have been intended
@ 2008-08-18 18:31 dcb314 at hotmail dot com
2008-08-18 20:12 ` [Bug bootstrap/37152] " dorit at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: dcb314 at hotmail dot com @ 2008-08-18 18:31 UTC (permalink / raw)
To: gcc-bugs
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 ?
--
Summary: tree-vect-transform.c: use of "=" where "==" may have
been intended
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dcb314 at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37152
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bootstrap/37152] tree-vect-transform.c: use of "=" where "==" may have been intended
2008-08-18 18:31 [Bug bootstrap/37152] New: tree-vect-transform.c: use of "=" where "==" may have been intended dcb314 at hotmail dot com
@ 2008-08-18 20:12 ` dorit at gcc dot gnu dot org
2008-08-19 7:17 ` dorit at gcc dot gnu dot org
2008-08-24 22:48 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: dorit at gcc dot gnu dot org @ 2008-08-18 20:12 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bootstrap/37152] tree-vect-transform.c: use of "=" where "==" may have been intended
2008-08-18 18:31 [Bug bootstrap/37152] New: tree-vect-transform.c: use of "=" where "==" may have been intended dcb314 at hotmail dot com
2008-08-18 20:12 ` [Bug bootstrap/37152] " dorit at gcc dot gnu dot org
@ 2008-08-19 7:17 ` dorit at gcc dot gnu dot org
2008-08-24 22:48 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: dorit at gcc dot gnu dot org @ 2008-08-19 7:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from dorit at gcc dot gnu dot org 2008-08-19 07:15 -------
Subject: Bug 37152
Author: dorit
Date: Tue Aug 19 07:14:26 2008
New Revision: 139224
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139224
Log:
PR bootstrap/37152
* tree-vect-transform.c (vect_create_epilog_for_reduction): Change =
to == in assert statement.
(vectorizable_reduction): Fix typo.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-vect-transform.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37152
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bootstrap/37152] tree-vect-transform.c: use of "=" where "==" may have been intended
2008-08-18 18:31 [Bug bootstrap/37152] New: tree-vect-transform.c: use of "=" where "==" may have been intended dcb314 at hotmail dot com
2008-08-18 20:12 ` [Bug bootstrap/37152] " dorit at gcc dot gnu dot org
2008-08-19 7:17 ` dorit at gcc dot gnu dot org
@ 2008-08-24 22:48 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-08-24 22:48 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2008-08-24 22:46 -------
Fixed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37152
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-08-24 22:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-18 18:31 [Bug bootstrap/37152] New: tree-vect-transform.c: use of "=" where "==" may have been intended dcb314 at hotmail dot com
2008-08-18 20:12 ` [Bug bootstrap/37152] " dorit at gcc dot gnu dot org
2008-08-19 7:17 ` dorit at gcc dot gnu dot org
2008-08-24 22:48 ` pinskia at gcc dot gnu dot org
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).