Bug 21851 - [4.1 regression] segfault with -ftree-vectorize
Summary: [4.1 regression] segfault with -ftree-vectorize
Status: RESOLVED DUPLICATE of bug 21734
Alias: None
Product: gcc
Classification: Unclassified
Component: tree-optimization (show other bugs)
Version: 4.1.0
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: ice-on-valid-code
Depends on:
Blocks:
 
Reported: 2005-05-31 23:20 UTC by Wolfgang Bangerth
Modified: 2005-07-23 22:49 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
Preprocessed source (95.41 KB, application/x-gzip)
2005-05-31 23:21 UTC, Wolfgang Bangerth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfgang Bangerth 2005-05-31 23:20:33 UTC
With attached code, I get a segmentation fault: 
 
spec/src> c++ -c -O -march=pentium4m -ftree-vectorize 
auto_derivative_function.ii 
auto_derivative_function.ii:6859: warning: ‘__malloc__’ attribute ignored 
auto_derivative_function.ii: In member function &#8216;Tensor<1, dim> 
AutoDerivativeFunction<dim>::gradient(const Point<dim>&, unsigned int) const 
[with int dim = 3]&#8217;: 
auto_derivative_function.ii:32007: internal compiler error: Segmentation fault 
Please submit a full bug report, 
with preprocessed source if appropriate. 
See <URL:http://gcc.gnu.org/bugs.html> for instructions. 
 
Unfortunately, I have no time right now to reduce this code further :-( 
 
W.
Comment 1 Wolfgang Bangerth 2005-05-31 23:21:40 UTC
Created attachment 9004 [details]
Preprocessed source
Comment 2 Andrew Pinski 2005-05-31 23:28:50 UTC
This is a dup of bug 21734.

*** This bug has been marked as a duplicate of 21734 ***