public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/24228] New: Segfault in chrec_contains_undetermined () at tree-chrec.c:871
@ 2005-10-06 9:12 uros at kss-loka dot si
2005-10-06 9:14 ` [Bug c++/24228] " uros at kss-loka dot si
2005-10-06 12:46 ` [Bug tree-optimization/24228] " pinskia at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: uros at kss-loka dot si @ 2005-10-06 9:12 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1536 bytes --]
Attached testcase segfaults when compiled with gcc version 4.1.0 20051006:
~/gcc-build/gcc/cc1plus -O3 -ftree-vectorize -fdump-tree-vect-all -quiet
-march=pentium4 express.ii
express.cpp: In function âvoid pov::Parse_Num_Factor(double*, int*)â:
express.cpp:1040: warning: converting to âintâ from âdoubleâ
express.cpp: In function âvoid pov::Parse_Num_Term(double*, int*)â:
express.cpp:1520: internal compiler error: Segmentation fault
Backtrace:
#4 0x0826c4fa in tree_complete_unroll () at tree-ssa-loop.c:376
#3 0x0828f1a7 in tree_unroll_loops_completely () at
tree-ssa-loop-ivcanon.c:381
#2 0x0828efb1 in canonicalize_loop_induction_variables () at
tree-ssa-loop-ivcanon.c:309
#1 0x0860faf7 in chrec_contains_undetermined () at tree-chrec.c:878
#0 0x0860f926 in chrec_contains_undetermined () at tree-chrec.c:871
This is the exact place of the segfault:
871 switch (TREE_CODE_LENGTH (TREE_CODE (chrec)))
872 {
873 case 3:
chrec value is 0xa5a5a5a5, which is rather suspicious.
--
Summary: Segfault in chrec_contains_undetermined () at tree-
chrec.c:871
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: uros at kss-loka dot si
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24228
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/24228] Segfault in chrec_contains_undetermined () at tree-chrec.c:871
2005-10-06 9:12 [Bug c++/24228] New: Segfault in chrec_contains_undetermined () at tree-chrec.c:871 uros at kss-loka dot si
@ 2005-10-06 9:14 ` uros at kss-loka dot si
2005-10-06 12:46 ` [Bug tree-optimization/24228] " pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: uros at kss-loka dot si @ 2005-10-06 9:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from uros at kss-loka dot si 2005-10-06 09:14 -------
Created an attachment (id=9903)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9903&action=view)
Preprocessed source
Compile this with ~/gcc-build/gcc/cc1plus -O3 -ftree-vectorize
-fdump-tree-vect-all -quiet -march=pentium4 express.ii
(Sorry for big testcase, but delta was not able to minimize it.)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24228
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug tree-optimization/24228] Segfault in chrec_contains_undetermined () at tree-chrec.c:871
2005-10-06 9:12 [Bug c++/24228] New: Segfault in chrec_contains_undetermined () at tree-chrec.c:871 uros at kss-loka dot si
2005-10-06 9:14 ` [Bug c++/24228] " uros at kss-loka dot si
@ 2005-10-06 12:46 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-06 12:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2005-10-06 12:46 -------
This is a dup of bug 24049. It is a GC issue with scev but it has been worked
around.
*** This bug has been marked as a duplicate of 24049 ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24228
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-10-06 12:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-06 9:12 [Bug c++/24228] New: Segfault in chrec_contains_undetermined () at tree-chrec.c:871 uros at kss-loka dot si
2005-10-06 9:14 ` [Bug c++/24228] " uros at kss-loka dot si
2005-10-06 12:46 ` [Bug tree-optimization/24228] " 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).