public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/32096]  New: ICE (segfault) in vrp_evaluate_conditional_warnv
@ 2007-05-26 13:10 burnus at gcc dot gnu dot org
  2007-05-26 13:13 ` [Bug middle-end/32096] " burnus at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-05-26 13:10 UTC (permalink / raw)
  To: gcc-bugs

Compiling semi_empirical_int_ana.f90 of CP2k (cf. PR 29975) gives an ICE:
(with 4.3.0 20070526 on x86_64-unknown-linux-gnu)

gfortran -c -O3 -ftree-vectorize -ffast-math -march=opteron
semi_empirical_int_ana.f90
semi_empirical_int_ana.f90: In function 'dterep_ana':
semi_empirical_int_ana.f90:2321: internal compiler error: Segmentation fault

Valgrind shows:

==3451== Conditional jump or move depends on uninitialised value(s)
==3451==    at 0x7A34F8: vrp_evaluate_conditional_warnv (tree-vrp.c:4814)
==3451==    by 0x7A3B99: vrp_evaluate_conditional (tree-vrp.c:4946)
==3451==    by 0x76515B: substitute_and_fold (tree-ssa-propagate.c:1131)
==3451==    by 0x79EAD8: vrp_finalize (tree-vrp.c:5925)
==3451==    by 0x7A03BA: execute_vrp (tree-vrp.c:6011)
==3451==    by 0x609B40: execute_one_pass (passes.c:1067)
==3451==    by 0x609CFB: execute_pass_list (passes.c:1119)
==3451==    by 0x609D0D: execute_pass_list (passes.c:1120)
==3451==    by 0x6D3B27: tree_rest_of_compilation (tree-optimize.c:406)
==3451==    by 0x8129CF: cgraph_expand_function (cgraphunit.c:1086)
==3451==    by 0x814E71: cgraph_optimize (cgraphunit.c:1155)
==3451==    by 0x466F9C: gfc_be_parse_file (f95-lang.c:307)


-- 
           Summary: ICE (segfault) in vrp_evaluate_conditional_warnv
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org
OtherBugsDependingO 29975
             nThis:


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32096


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug middle-end/32096] ICE (segfault) in vrp_evaluate_conditional_warnv
  2007-05-26 13:10 [Bug middle-end/32096] New: ICE (segfault) in vrp_evaluate_conditional_warnv burnus at gcc dot gnu dot org
@ 2007-05-26 13:13 ` burnus at gcc dot gnu dot org
  2007-05-26 13:33 ` [Bug middle-end/32096] [4.3 Regression] " burnus at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-05-26 13:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from burnus at gcc dot gnu dot org  2007-05-26 13:12 -------
Created an attachment (id=13614)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13614&action=view)
test file (2540 lines)

Test case, I failed to reduce the size.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32096


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug middle-end/32096] [4.3 Regression] ICE (segfault) in vrp_evaluate_conditional_warnv
  2007-05-26 13:10 [Bug middle-end/32096] New: ICE (segfault) in vrp_evaluate_conditional_warnv burnus at gcc dot gnu dot org
  2007-05-26 13:13 ` [Bug middle-end/32096] " burnus at gcc dot gnu dot org
@ 2007-05-26 13:33 ` burnus at gcc dot gnu dot org
  2007-05-26 14:15 ` burnus at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-05-26 13:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from burnus at gcc dot gnu dot org  2007-05-26 13:33 -------
It worked with 2007-05-14-r124708 and fails with 2007-05-15-r124736.


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE (segfault) in           |[4.3 Regression] ICE
                   |vrp_evaluate_conditional_war|(segfault) in
                   |nv                          |vrp_evaluate_conditional_war
                   |                            |nv
   Target Milestone|---                         |4.3.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32096


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug middle-end/32096] [4.3 Regression] ICE (segfault) in vrp_evaluate_conditional_warnv
  2007-05-26 13:10 [Bug middle-end/32096] New: ICE (segfault) in vrp_evaluate_conditional_warnv burnus at gcc dot gnu dot org
  2007-05-26 13:13 ` [Bug middle-end/32096] " burnus at gcc dot gnu dot org
  2007-05-26 13:33 ` [Bug middle-end/32096] [4.3 Regression] " burnus at gcc dot gnu dot org
@ 2007-05-26 14:15 ` burnus at gcc dot gnu dot org
  2007-05-27 10:36 ` rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-05-26 14:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from burnus at gcc dot gnu dot org  2007-05-26 14:15 -------
The patch causing (or exposing) the ICE is:

r124727 | rakdver | 2007-05-14 23:58:42 +0200 (Mon, 14 May 2007) | 46 lines
http://gcc.gnu.org/ml/gcc-cvs/2007-05/msg00425.html

Zdenek, could you have a look?


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rakdver at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32096


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug middle-end/32096] [4.3 Regression] ICE (segfault) in vrp_evaluate_conditional_warnv
  2007-05-26 13:10 [Bug middle-end/32096] New: ICE (segfault) in vrp_evaluate_conditional_warnv burnus at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2007-05-26 14:15 ` burnus at gcc dot gnu dot org
@ 2007-05-27 10:36 ` rguenth at gcc dot gnu dot org
  2007-05-30 19:41 ` ian at airs dot com
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-05-27 10:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2007-05-27 10:36 -------
I'd think this looks like sth for ian.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ian at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32096


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug middle-end/32096] [4.3 Regression] ICE (segfault) in vrp_evaluate_conditional_warnv
  2007-05-26 13:10 [Bug middle-end/32096] New: ICE (segfault) in vrp_evaluate_conditional_warnv burnus at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2007-05-27 10:36 ` rguenth at gcc dot gnu dot org
@ 2007-05-30 19:41 ` ian at airs dot com
  2007-05-30 23:06 ` ian at airs dot com
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ian at airs dot com @ 2007-05-30 19:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from ian at airs dot com  2007-05-30 19:41 -------
I think this is fixed by this patch:

http://gcc.gnu.org/ml/gcc-patches/2007-05/msg01079.html

I am currently testing that patch.


-- 

ian at airs dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|ian at gcc dot gnu dot org  |ian at airs dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32096


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug middle-end/32096] [4.3 Regression] ICE (segfault) in vrp_evaluate_conditional_warnv
  2007-05-26 13:10 [Bug middle-end/32096] New: ICE (segfault) in vrp_evaluate_conditional_warnv burnus at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2007-05-30 19:41 ` ian at airs dot com
@ 2007-05-30 23:06 ` ian at airs dot com
  2007-06-27 18:53 ` pinskia at gcc dot gnu dot org
  2007-06-27 18:54 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: ian at airs dot com @ 2007-05-30 23:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from ian at airs dot com  2007-05-30 23:06 -------
Patch committed to mainline as revision 12503.  The test case works for me.


-- 

ian at airs dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32096


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug middle-end/32096] [4.3 Regression] ICE (segfault) in vrp_evaluate_conditional_warnv
  2007-05-26 13:10 [Bug middle-end/32096] New: ICE (segfault) in vrp_evaluate_conditional_warnv burnus at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2007-05-30 23:06 ` ian at airs dot com
@ 2007-06-27 18:53 ` pinskia at gcc dot gnu dot org
  2007-06-27 18:54 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-06-27 18:53 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.0                       |4.2.1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32096


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug middle-end/32096] [4.3 Regression] ICE (segfault) in vrp_evaluate_conditional_warnv
  2007-05-26 13:10 [Bug middle-end/32096] New: ICE (segfault) in vrp_evaluate_conditional_warnv burnus at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2007-06-27 18:53 ` pinskia at gcc dot gnu dot org
@ 2007-06-27 18:54 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-06-27 18:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from pinskia at gcc dot gnu dot org  2007-06-27 18:54 -------
*** Bug 32521 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jv244 at cam dot ac dot uk


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32096


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-06-27 18:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-26 13:10 [Bug middle-end/32096] New: ICE (segfault) in vrp_evaluate_conditional_warnv burnus at gcc dot gnu dot org
2007-05-26 13:13 ` [Bug middle-end/32096] " burnus at gcc dot gnu dot org
2007-05-26 13:33 ` [Bug middle-end/32096] [4.3 Regression] " burnus at gcc dot gnu dot org
2007-05-26 14:15 ` burnus at gcc dot gnu dot org
2007-05-27 10:36 ` rguenth at gcc dot gnu dot org
2007-05-30 19:41 ` ian at airs dot com
2007-05-30 23:06 ` ian at airs dot com
2007-06-27 18:53 ` pinskia at gcc dot gnu dot org
2007-06-27 18:54 ` 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).