* [Bug tree-optimization/45260] g++4.5: -prefetch-loop-arrays internal compiler error: in verify_expr, at tree-cfg.c:2541
2010-08-11 20:26 [Bug tree-optimization/45260] New: g++4.5: -prefetch-loop-arrays internal compiler error: in verify_expr, at tree-cfg.c:2541 edwintorok at gmail dot com
@ 2010-08-11 20:27 ` edwintorok at gmail dot com
2010-08-11 20:44 ` [Bug tree-optimization/45260] [4.5/4.6 Regression] " rguenth at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: edwintorok at gmail dot com @ 2010-08-11 20:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from edwintorok at gmail dot com 2010-08-11 20:27 -------
Created an attachment (id=21457)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21457&action=view)
TargetLowering.ii
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45260
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/45260] [4.5/4.6 Regression] g++4.5: -prefetch-loop-arrays internal compiler error: in verify_expr, at tree-cfg.c:2541
2010-08-11 20:26 [Bug tree-optimization/45260] New: g++4.5: -prefetch-loop-arrays internal compiler error: in verify_expr, at tree-cfg.c:2541 edwintorok at gmail dot com
2010-08-11 20:27 ` [Bug tree-optimization/45260] " edwintorok at gmail dot com
@ 2010-08-11 20:44 ` rguenth at gcc dot gnu dot org
2010-08-11 23:58 ` hjl dot tools at gmail dot com
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-08-11 20:44 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|g++4.5: -prefetch-loop- |[4.5/4.6 Regression] g++4.5:
|arrays internal compiler |-prefetch-loop-arrays
|error: in verify_expr, at |internal compiler error: in
|tree-cfg.c:2541 |verify_expr, at tree-
| |cfg.c:2541
Target Milestone|--- |4.5.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45260
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/45260] [4.5/4.6 Regression] g++4.5: -prefetch-loop-arrays internal compiler error: in verify_expr, at tree-cfg.c:2541
2010-08-11 20:26 [Bug tree-optimization/45260] New: g++4.5: -prefetch-loop-arrays internal compiler error: in verify_expr, at tree-cfg.c:2541 edwintorok at gmail dot com
2010-08-11 20:27 ` [Bug tree-optimization/45260] " edwintorok at gmail dot com
2010-08-11 20:44 ` [Bug tree-optimization/45260] [4.5/4.6 Regression] " rguenth at gcc dot gnu dot org
@ 2010-08-11 23:58 ` hjl dot tools at gmail dot com
2010-08-12 0:38 ` changpeng dot fang at amd dot com
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-08-11 23:58 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from hjl dot tools at gmail dot com 2010-08-11 23:58 -------
It was caused by revision 153878:
http://gcc.gnu.org/ml/gcc-cvs/2009-11/msg00094.html
and disappeared with revision 159514:
http://gcc.gnu.org/ml/gcc-cvs/2010-05/msg00566.html
I am not if it really fixed the bug.
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at redhat dot com,
| |changpeng dot fang at amd
| |dot com
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-08-11 23:58:42
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45260
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/45260] [4.5/4.6 Regression] g++4.5: -prefetch-loop-arrays internal compiler error: in verify_expr, at tree-cfg.c:2541
2010-08-11 20:26 [Bug tree-optimization/45260] New: g++4.5: -prefetch-loop-arrays internal compiler error: in verify_expr, at tree-cfg.c:2541 edwintorok at gmail dot com
` (2 preceding siblings ...)
2010-08-11 23:58 ` hjl dot tools at gmail dot com
@ 2010-08-12 0:38 ` changpeng dot fang at amd dot com
2010-08-16 22:39 ` changpeng dot fang at amd dot com
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: changpeng dot fang at amd dot com @ 2010-08-12 0:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from changpeng dot fang at amd dot com 2010-08-12 00:38 -------
(In reply to comment #2)
> It was caused by revision 153878:
>
> http://gcc.gnu.org/ml/gcc-cvs/2009-11/msg00094.html
>
I think the same patch was also committed to 4.4 branch.
Maybe some prefetch work(s) in 4.5 triggered the bug.
> and disappeared with revision 159514:
>
> http://gcc.gnu.org/ml/gcc-cvs/2010-05/msg00566.html
>
> I am not if it really fixed the bug.
>
This could not be a valid fix, because it just disable some prefetches
based on performance concern.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45260
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/45260] [4.5/4.6 Regression] g++4.5: -prefetch-loop-arrays internal compiler error: in verify_expr, at tree-cfg.c:2541
2010-08-11 20:26 [Bug tree-optimization/45260] New: g++4.5: -prefetch-loop-arrays internal compiler error: in verify_expr, at tree-cfg.c:2541 edwintorok at gmail dot com
` (3 preceding siblings ...)
2010-08-12 0:38 ` changpeng dot fang at amd dot com
@ 2010-08-16 22:39 ` changpeng dot fang at amd dot com
2010-08-20 22:48 ` changpeng dot fang at amd dot com
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: changpeng dot fang at amd dot com @ 2010-08-16 22:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from changpeng dot fang at amd dot com 2010-08-16 22:39 -------
This bug should be related to VIEW_CONVERT_EXPR.
If I use the following statement to filter the prefetch, the bug will go away:
if (contains_view_convert_expr_p (ref))
return false;
Otherwise, the prefetch pass will generate "ref + offset" as the prefetching
address.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45260
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/45260] [4.5/4.6 Regression] g++4.5: -prefetch-loop-arrays internal compiler error: in verify_expr, at tree-cfg.c:2541
2010-08-11 20:26 [Bug tree-optimization/45260] New: g++4.5: -prefetch-loop-arrays internal compiler error: in verify_expr, at tree-cfg.c:2541 edwintorok at gmail dot com
` (4 preceding siblings ...)
2010-08-16 22:39 ` changpeng dot fang at amd dot com
@ 2010-08-20 22:48 ` changpeng dot fang at amd dot com
2010-08-23 18:59 ` changpeng dot fang at amd dot com
2010-08-30 15:56 ` rguenth at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: changpeng dot fang at amd dot com @ 2010-08-20 22:48 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from changpeng dot fang at amd dot com 2010-08-20 22:48 -------
I have a fix:
http://gcc.gnu.org/ml/gcc-patches/2010-08/msg01625.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45260
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/45260] [4.5/4.6 Regression] g++4.5: -prefetch-loop-arrays internal compiler error: in verify_expr, at tree-cfg.c:2541
2010-08-11 20:26 [Bug tree-optimization/45260] New: g++4.5: -prefetch-loop-arrays internal compiler error: in verify_expr, at tree-cfg.c:2541 edwintorok at gmail dot com
` (5 preceding siblings ...)
2010-08-20 22:48 ` changpeng dot fang at amd dot com
@ 2010-08-23 18:59 ` changpeng dot fang at amd dot com
2010-08-30 15:56 ` rguenth at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: changpeng dot fang at amd dot com @ 2010-08-23 18:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from changpeng dot fang at amd dot com 2010-08-23 18:59 -------
Committed to trunk as Revision: 163475:
http://gcc.gnu.org/ml/gcc-cvs/2010-08/msg00688.html
Committed to 4.5 branch as Revision: 163483
http://gcc.gnu.org/ml/gcc-cvs/2010-08/msg00696.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45260
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/45260] [4.5/4.6 Regression] g++4.5: -prefetch-loop-arrays internal compiler error: in verify_expr, at tree-cfg.c:2541
2010-08-11 20:26 [Bug tree-optimization/45260] New: g++4.5: -prefetch-loop-arrays internal compiler error: in verify_expr, at tree-cfg.c:2541 edwintorok at gmail dot com
` (6 preceding siblings ...)
2010-08-23 18:59 ` changpeng dot fang at amd dot com
@ 2010-08-30 15:56 ` rguenth at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-08-30 15:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from rguenth at gcc dot gnu dot org 2010-08-30 15:55 -------
Fixed. Changpeng, please remember to add PR tree-optimization/45260 to commit
messages (well, paste aggregated changelog entries there).
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45260
^ permalink raw reply [flat|nested] 9+ messages in thread