public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/46149] New: [4.6 Regression] 26_numerics/valarray/27867.cc FAILs with -O2 -fno-tree-sra
@ 2010-10-23 14:54 zsojka at seznam dot cz
2010-10-23 14:57 ` [Bug tree-optimization/46149] " zsojka at seznam dot cz
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: zsojka at seznam dot cz @ 2010-10-23 14:54 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46149
Summary: [4.6 Regression] 26_numerics/valarray/27867.cc FAILs
with -O2 -fno-tree-sra
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zsojka@seznam.cz
Created attachment 22133
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22133
packed preprocessed source
Output:
$ g++ -O2 -fno-tree-sra 27867.ii -std=c++0x
$ ./a.out
Segmentation fault
Tested revisions:
r165822 - fail
r163636 - fail
r161659 - fail
r159696 - OK
4.5 r165781 - OK
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/46149] [4.6 Regression] 26_numerics/valarray/27867.cc FAILs with -O2 -fno-tree-sra
2010-10-23 14:54 [Bug tree-optimization/46149] New: [4.6 Regression] 26_numerics/valarray/27867.cc FAILs with -O2 -fno-tree-sra zsojka at seznam dot cz
@ 2010-10-23 14:57 ` zsojka at seznam dot cz
2010-10-23 17:20 ` hjl.tools at gmail dot com
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: zsojka at seznam dot cz @ 2010-10-23 14:57 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46149
--- Comment #1 from Zdenek Sojka <zsojka at seznam dot cz> 2010-10-23 14:57:10 UTC ---
Created attachment 22134
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22134
hopefully reduced testcase
OK with -O0:
$ g++ -O0 pr46149.C
$ ./a.out && echo $?
0
(no valgrind errors)
OK with -O2:
$ g++ -O2 pr46149.C
$ ./a.out && echo $?
0
(no valgrind errors)
crashes with -O2 -fno-tree-sra:
$ g++ -O2 -fno-tree-sra pr46149.C
$ ./a.out
Segmentation fault
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/46149] [4.6 Regression] 26_numerics/valarray/27867.cc FAILs with -O2 -fno-tree-sra
2010-10-23 14:54 [Bug tree-optimization/46149] New: [4.6 Regression] 26_numerics/valarray/27867.cc FAILs with -O2 -fno-tree-sra zsojka at seznam dot cz
2010-10-23 14:57 ` [Bug tree-optimization/46149] " zsojka at seznam dot cz
@ 2010-10-23 17:20 ` hjl.tools at gmail dot com
2010-10-26 14:14 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: hjl.tools at gmail dot com @ 2010-10-23 17:20 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46149
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2010.10.23 17:19:36
CC| |rguenth at gcc dot gnu.org
Ever Confirmed|0 |1
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2010-10-23 17:19:36 UTC ---
It is caused by revision 161655:
http://gcc.gnu.org/ml/gcc-cvs/2010-07/msg00006.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/46149] [4.6 Regression] 26_numerics/valarray/27867.cc FAILs with -O2 -fno-tree-sra
2010-10-23 14:54 [Bug tree-optimization/46149] New: [4.6 Regression] 26_numerics/valarray/27867.cc FAILs with -O2 -fno-tree-sra zsojka at seznam dot cz
2010-10-23 14:57 ` [Bug tree-optimization/46149] " zsojka at seznam dot cz
2010-10-23 17:20 ` hjl.tools at gmail dot com
@ 2010-10-26 14:14 ` rguenth at gcc dot gnu.org
2010-11-02 13:25 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-10-26 14:14 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46149
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |rguenth at gcc dot gnu.org
|gnu.org |
Target Milestone|--- |4.6.0
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-10-26 14:14:20 UTC ---
Mine.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/46149] [4.6 Regression] 26_numerics/valarray/27867.cc FAILs with -O2 -fno-tree-sra
2010-10-23 14:54 [Bug tree-optimization/46149] New: [4.6 Regression] 26_numerics/valarray/27867.cc FAILs with -O2 -fno-tree-sra zsojka at seznam dot cz
` (2 preceding siblings ...)
2010-10-26 14:14 ` rguenth at gcc dot gnu.org
@ 2010-11-02 13:25 ` rguenth at gcc dot gnu.org
2010-11-02 17:00 ` rguenth at gcc dot gnu.org
2010-11-02 17:01 ` rguenth at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-02 13:25 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46149
--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-02 13:25:12 UTC ---
I have a patch.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/46149] [4.6 Regression] 26_numerics/valarray/27867.cc FAILs with -O2 -fno-tree-sra
2010-10-23 14:54 [Bug tree-optimization/46149] New: [4.6 Regression] 26_numerics/valarray/27867.cc FAILs with -O2 -fno-tree-sra zsojka at seznam dot cz
` (3 preceding siblings ...)
2010-11-02 13:25 ` rguenth at gcc dot gnu.org
@ 2010-11-02 17:00 ` rguenth at gcc dot gnu.org
2010-11-02 17:01 ` rguenth at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-02 17:00 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46149
--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-02 17:00:16 UTC ---
Author: rguenth
Date: Tue Nov 2 17:00:09 2010
New Revision: 166204
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166204
Log:
2010-11-02 Richard Guenther <rguenther@suse.de>
PR tree-optimization/46149
* tree-ssa-structalias.c (get_constraint_for_1): Properly handle
non-indirect MEM_REF variants.
* g++.dg/torture/pr46149.C: New testcase.
Added:
trunk/gcc/testsuite/g++.dg/torture/pr46149.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-structalias.c
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/46149] [4.6 Regression] 26_numerics/valarray/27867.cc FAILs with -O2 -fno-tree-sra
2010-10-23 14:54 [Bug tree-optimization/46149] New: [4.6 Regression] 26_numerics/valarray/27867.cc FAILs with -O2 -fno-tree-sra zsojka at seznam dot cz
` (4 preceding siblings ...)
2010-11-02 17:00 ` rguenth at gcc dot gnu.org
@ 2010-11-02 17:01 ` rguenth at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-02 17:01 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46149
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #6 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-02 17:01:11 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-11-02 17:01 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-23 14:54 [Bug tree-optimization/46149] New: [4.6 Regression] 26_numerics/valarray/27867.cc FAILs with -O2 -fno-tree-sra zsojka at seznam dot cz
2010-10-23 14:57 ` [Bug tree-optimization/46149] " zsojka at seznam dot cz
2010-10-23 17:20 ` hjl.tools at gmail dot com
2010-10-26 14:14 ` rguenth at gcc dot gnu.org
2010-11-02 13:25 ` rguenth at gcc dot gnu.org
2010-11-02 17:00 ` rguenth at gcc dot gnu.org
2010-11-02 17:01 ` rguenth at gcc dot gnu.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).