public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/21274] New: SSA Crash, reproducable
@ 2005-04-29 4:50 callahan at sci dot utah dot edu
2005-04-29 7:14 ` [Bug c++/21274] " pinskia at gcc dot gnu dot org
` (8 more replies)
0 siblings, 9 replies; 11+ messages in thread
From: callahan at sci dot utah dot edu @ 2005-04-29 4:50 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2128 bytes --]
The g++-4.0 in the Ubuntu Hoary repository crashes on the following file.
------- crash-4.0.cc starts here ---------------------------------------
/*
prompt> g++-4.0 -msse2 -O3 -ftree-vectorize -ftree-vectorizer-verbose=5 -c
crash-4.0.cc
crash-4.0.cc:11: note: Alignment of access forced using peeling.
crash-4.0.cc:11: note: LOOP VECTORIZED.
crash-4.0.cc:26: note: Alignment of access forced using peeling.crash-4.0.cc: In
function DenseMatrix* mat_identity(int):
crash-4.0.cc:21: internal compiler error: in gimplify_expr, at gimplify.c:4070
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.0/README.Bugs>.
prompt> g++-4.0 --version
g++-4.0 (GCC) 4.0.0 20050301 (prerelease) (Debian 4.0-0pre6ubuntu7)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
prompt> uname -a
Linux tamale 2.6.10-5-amd64-generic #1 Tue Apr 5 12:21:57 UTC 2005 x86_64 GNU/Linux
*/
class DenseMatrix
{
int rows_, cols_;
double *ptr_;
public:
DenseMatrix(int nr, int nc) : rows_(nr), cols_(nc)
{
ptr_ = new double[nr * nc];
}
void zero() { for (int i = 0; i < rows_ * cols_; i++) ptr_[i] = 0.0; }
inline double* operator[](int r)
{
return ptr_ + r * cols_;
}
};
//! Create Identity Matrix
DenseMatrix *mat_identity(int len)
{
DenseMatrix *eye = new DenseMatrix(len, len);
eye->zero();
for (int i=0; i<len; i++)
{
(*eye)[i][i]=1;
}
return eye;
}
--
Summary: SSA Crash, reproducable
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: callahan at sci dot utah dot edu
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21274
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/21274] SSA Crash, reproducable
2005-04-29 4:50 [Bug c++/21274] New: SSA Crash, reproducable callahan at sci dot utah dot edu
@ 2005-04-29 7:14 ` pinskia at gcc dot gnu dot org
2005-04-29 13:57 ` callahan at sci dot utah dot edu
` (7 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-29 7:14 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-29 07:14 -------
Hmm, "4.0.0 20050301", I am thinking you should try a 4.0.0 release compiler.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21274
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/21274] SSA Crash, reproducable
2005-04-29 4:50 [Bug c++/21274] New: SSA Crash, reproducable callahan at sci dot utah dot edu
2005-04-29 7:14 ` [Bug c++/21274] " pinskia at gcc dot gnu dot org
@ 2005-04-29 13:57 ` callahan at sci dot utah dot edu
2005-05-02 16:27 ` dorit at il dot ibm dot com
` (6 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: callahan at sci dot utah dot edu @ 2005-04-29 13:57 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From callahan at sci dot utah dot edu 2005-04-29 13:57 -------
Not me. I have lots to do and this is relatively unimportant. I just thought
someone there might like the short test case.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21274
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/21274] SSA Crash, reproducable
2005-04-29 4:50 [Bug c++/21274] New: SSA Crash, reproducable callahan at sci dot utah dot edu
2005-04-29 7:14 ` [Bug c++/21274] " pinskia at gcc dot gnu dot org
2005-04-29 13:57 ` callahan at sci dot utah dot edu
@ 2005-05-02 16:27 ` dorit at il dot ibm dot com
2005-05-02 16:36 ` callahan at sci dot utah dot edu
` (5 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: dorit at il dot ibm dot com @ 2005-05-02 16:27 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dorit at il dot ibm dot com 2005-05-02 16:27 -------
Thanks for the testcase.
I tried reproducing the problem on i686-pc-linux-gnu with today's snapshot of
4.1, and also with today's snapshot of 4.0 (gcc version 4.0.1 20050502
(prerelease)) - I can't reproduce it with these snapshots. Maybe the problem
had already been solved. Just FYI, I get:
"
pr21274.cc:11: note: Alignment of access forced using peeling.
pr21274.cc:11: note: LOOP VECTORIZED.
pr21274.cc:26: note: not vectorized: pointer access is not simple.
pr21274.cc:26: note: not vectorized: unhandled data ref: *D.1981_38 = 1.0e+0
pr21274.cc:21: note: vectorized 1 loops in function.
"
Which means we don't try to peel the loop in line 26 anymore (from your report
it looks like we used to peel that loop with the snapshot you are using:
"crash-4.0.cc:26: note: Alignment of access forced using peeling.crash-4.0.cc")
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21274
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/21274] SSA Crash, reproducable
2005-04-29 4:50 [Bug c++/21274] New: SSA Crash, reproducable callahan at sci dot utah dot edu
` (2 preceding siblings ...)
2005-05-02 16:27 ` dorit at il dot ibm dot com
@ 2005-05-02 16:36 ` callahan at sci dot utah dot edu
2005-09-13 19:32 ` callahan at sci dot utah dot edu
` (4 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: callahan at sci dot utah dot edu @ 2005-05-02 16:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From callahan at sci dot utah dot edu 2005-05-02 16:36 -------
I suspect that this is an x86-64 bug.
I have a different computer available to me here. I get the same result as
Dorit. Note that it appears to be the same Ubuntu beta version as the x86-64
version. I recommend have someone run it on a recent x86-64 and if it's not a
problem there then just close out the bug.
callahan@carnitas:/tmp$ g++-4.0 -msse2 -O3 -ftree-vectorize
-ftree-vectorizer-verbose=5 -c testcast.o testcast.cc
g++-4.0: testcast.o: No such file or directory
testcast.cc:11: note: Alignment of access forced using peeling.
testcast.cc:11: note: LOOP VECTORIZED.
testcast.cc:26: note: not vectorized: pointer access is not simple.
testcast.cc:26: note: not vectorized: unhandled data ref: *D.1981_38 = 1.0e+0
testcast.cc:21: note: vectorized 1 loops in function.
callahan@carnitas:/tmp$ g++-4.0 --version
g++-4.0 (GCC) 4.0.0 20050301 (prerelease) (Debian 4.0-0pre6ubuntu7)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21274
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/21274] SSA Crash, reproducable
2005-04-29 4:50 [Bug c++/21274] New: SSA Crash, reproducable callahan at sci dot utah dot edu
` (3 preceding siblings ...)
2005-05-02 16:36 ` callahan at sci dot utah dot edu
@ 2005-09-13 19:32 ` callahan at sci dot utah dot edu
2005-09-13 19:41 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: callahan at sci dot utah dot edu @ 2005-09-13 19:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From callahan at sci dot utah dot edu 2005-09-13 19:32 -------
Subject: Re: SSA Crash, reproducable
This still crashes for me with the latest Ubuntu g++ build.
g++ (GCC) 4.0.2 20050808 (prerelease) (Debian 4.0.1-4ubuntu6)
The error is the same, but the crash is line 4186.
Michael
On Mon, 2005-05-02 at 16:36 +0000, callahan at sci dot utah dot edu
wrote:
> ------- Additional Comments From callahan at sci dot utah dot edu 2005-05-02 16:36 -------
> I suspect that this is an x86-64 bug.
>
> I have a different computer available to me here. I get the same result as
> Dorit. Note that it appears to be the same Ubuntu beta version as the x86-64
> version. I recommend have someone run it on a recent x86-64 and if it's not a
> problem there then just close out the bug.
>
>
> callahan@carnitas:/tmp$ g++-4.0 -msse2 -O3 -ftree-vectorize
> -ftree-vectorizer-verbose=5 -c testcast.o testcast.cc
> g++-4.0: testcast.o: No such file or directory
>
> testcast.cc:11: note: Alignment of access forced using peeling.
> testcast.cc:11: note: LOOP VECTORIZED.
> testcast.cc:26: note: not vectorized: pointer access is not simple.
> testcast.cc:26: note: not vectorized: unhandled data ref: *D.1981_38 = 1.0e+0
> testcast.cc:21: note: vectorized 1 loops in function.
> callahan@carnitas:/tmp$ g++-4.0 --version
> g++-4.0 (GCC) 4.0.0 20050301 (prerelease) (Debian 4.0-0pre6ubuntu7)
> Copyright (C) 2005 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21274
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/21274] SSA Crash, reproducable
2005-04-29 4:50 [Bug c++/21274] New: SSA Crash, reproducable callahan at sci dot utah dot edu
` (4 preceding siblings ...)
2005-09-13 19:32 ` callahan at sci dot utah dot edu
@ 2005-09-13 19:41 ` pinskia at gcc dot gnu dot org
2005-09-13 19:41 ` [Bug middle-end/21274] " pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-13 19:41 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
GCC target triplet| |x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21274
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/21274] SSA Crash, reproducable
2005-04-29 4:50 [Bug c++/21274] New: SSA Crash, reproducable callahan at sci dot utah dot edu
` (5 preceding siblings ...)
2005-09-13 19:41 ` pinskia at gcc dot gnu dot org
@ 2005-09-13 19:41 ` pinskia at gcc dot gnu dot org
2005-09-13 19:45 ` [Bug tree-optimization/21274] " pinskia at gcc dot gnu dot org
2005-09-13 19:48 ` pinskia at gcc dot gnu dot org
8 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-13 19:41 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Component|c++ |middle-end
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21274
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/21274] SSA Crash, reproducable
2005-04-29 4:50 [Bug c++/21274] New: SSA Crash, reproducable callahan at sci dot utah dot edu
` (6 preceding siblings ...)
2005-09-13 19:41 ` [Bug middle-end/21274] " pinskia at gcc dot gnu dot org
@ 2005-09-13 19:45 ` pinskia at gcc dot gnu dot org
2005-09-13 19:48 ` pinskia at gcc dot gnu dot org
8 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-13 19:45 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-13 19:45 -------
Hmm, we are trying to gimplify a SCEV tree:
(<unnamed type>) ((long unsigned intD.7) {0, +, D.2009_8}_2 * 8)
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|middle-end |tree-optimization
Ever Confirmed| |1
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2005-09-13 19:45:09
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21274
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/21274] SSA Crash, reproducable
2005-04-29 4:50 [Bug c++/21274] New: SSA Crash, reproducable callahan at sci dot utah dot edu
` (7 preceding siblings ...)
2005-09-13 19:45 ` [Bug tree-optimization/21274] " pinskia at gcc dot gnu dot org
@ 2005-09-13 19:48 ` pinskia at gcc dot gnu dot org
8 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-13 19:48 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-13 19:48 -------
Fixed on the mainline and since this is not a regression closing as fixed.
Fixed with 4.1.0 20050802 and 4.1.0 20050714.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21274
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug tree-optimization/21274] SSA Crash, reproducable
[not found] <bug-21274-10530@http.gcc.gnu.org/bugzilla/>
@ 2006-06-21 16:36 ` fche at gcc dot gnu dot org
0 siblings, 0 replies; 11+ messages in thread
From: fche at gcc dot gnu dot org @ 2006-06-21 16:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from fche at gcc dot gnu dot org 2006-06-21 16:35 -------
Subject: Bug 21274
Author: fche
Date: Wed Jun 21 16:35:27 2006
New Revision: 114855
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114855
Log:
2006-06-21 Frank Ch. Eigler <fche@redhat.com>
PR 21274
mf-runtime.h installation based on ssp patch for PR 26473 from
Mark Mitchell <mark@codesourcery.com>.
* configure.ac (ACX_NONCANONICAL_TARGET): Use it.
* Makefile.am (target_noncanonical): Define.
(libsubincludedir): New variable.
(nobase_libsubinclude_HEADERS): Add mf-runtime.h.
(include_HEADERS): Remove.
* configure, aclocal.m4, config.h.in: Regenerated.
* Makefile.in, testsuite/Makefile.in: Likewise.
* mf-runtime.h: Add #ifndef protection for conflicting _REENTRANT
and _THREAD_SAFE redefinition values.
Modified:
trunk/libmudflap/ChangeLog
trunk/libmudflap/Makefile.am
trunk/libmudflap/Makefile.in
trunk/libmudflap/aclocal.m4
trunk/libmudflap/config.h.in
trunk/libmudflap/configure
trunk/libmudflap/configure.ac
trunk/libmudflap/mf-runtime.h
trunk/libmudflap/testsuite/Makefile.in
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21274
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2006-06-21 16:36 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-29 4:50 [Bug c++/21274] New: SSA Crash, reproducable callahan at sci dot utah dot edu
2005-04-29 7:14 ` [Bug c++/21274] " pinskia at gcc dot gnu dot org
2005-04-29 13:57 ` callahan at sci dot utah dot edu
2005-05-02 16:27 ` dorit at il dot ibm dot com
2005-05-02 16:36 ` callahan at sci dot utah dot edu
2005-09-13 19:32 ` callahan at sci dot utah dot edu
2005-09-13 19:41 ` pinskia at gcc dot gnu dot org
2005-09-13 19:41 ` [Bug middle-end/21274] " pinskia at gcc dot gnu dot org
2005-09-13 19:45 ` [Bug tree-optimization/21274] " pinskia at gcc dot gnu dot org
2005-09-13 19:48 ` pinskia at gcc dot gnu dot org
[not found] <bug-21274-10530@http.gcc.gnu.org/bugzilla/>
2006-06-21 16:36 ` fche 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).