[Bug tree-optimization/48613] [4.6/4.7 Regression] ICE: vector VEC(ipa_node_params_t,base) index domain error with -O0 -flto -findirect-inlining

2011-06-16 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48613

--- Comment #7 from Martin Jambor jamborm at gcc dot gnu.org 2011-06-16 
19:37:44 UTC ---
Author: jamborm
Date: Thu Jun 16 19:37:37 2011
New Revision: 175109

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=175109
Log:
2011-06-16  Martin Jambor  mjam...@suse.cz

PR tree-optimization/48613
* ipa-prop.c (ipa_prop_write_jump_functions): Return immediately if
ipa_node_params_vector is NULL.


Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/ipa-prop.c


[Bug tree-optimization/48613] [4.6/4.7 Regression] ICE: vector VEC(ipa_node_params_t,base) index domain error with -O0 -flto -findirect-inlining

2011-06-16 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48613

Martin Jambor jamborm at gcc dot gnu.org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #8 from Martin Jambor jamborm at gcc dot gnu.org 2011-06-16 
20:29:02 UTC ---
Fixed.


[Bug tree-optimization/48613] [4.6/4.7 Regression] ICE: vector VEC(ipa_node_params_t,base) index domain error with -O0 -flto -findirect-inlining

2011-06-15 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48613

--- Comment #6 from Martin Jambor jamborm at gcc dot gnu.org 2011-06-15 
11:22:38 UTC ---
Author: jamborm
Date: Wed Jun 15 11:22:35 2011
New Revision: 175077

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=175077
Log:
2011-06-15  Martin Jambor  mjam...@suse.cz

PR tree-optimization/48613
* ipa-prop.c (ipa_prop_write_jump_functions): Return immediately if
ipa_node_params_vector is NULL.


Modified:
trunk/gcc/ChangeLog
trunk/gcc/ipa-prop.c


[Bug tree-optimization/48613] [4.6/4.7 Regression] ICE: vector VEC(ipa_node_params_t,base) index domain error with -O0 -flto -findirect-inlining

2011-06-14 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48613

--- Comment #5 from Martin Jambor jamborm at gcc dot gnu.org 2011-06-14 
20:51:53 UTC ---
Patch posted to mailing list:

http://gcc.gnu.org/ml/gcc-patches/2011-06/msg01108.html


[Bug tree-optimization/48613] [4.6/4.7 Regression] ICE: vector VEC(ipa_node_params_t,base) index domain error with -O0 -flto -findirect-inlining

2011-06-13 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48613

Martin Jambor jamborm at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |ASSIGNED

--- Comment #4 from Martin Jambor jamborm at gcc dot gnu.org 2011-06-13 
12:59:09 UTC ---
Confirmed. I'll take care of this.


[Bug tree-optimization/48613] [4.6/4.7 Regression] ICE: vector VEC(ipa_node_params_t,base) index domain error with -O0 -flto -findirect-inlining

2011-06-12 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48613

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P2
 CC||jamborm at gcc dot gnu.org

--- Comment #3 from Richard Guenther rguenth at gcc dot gnu.org 2011-06-12 
13:05:06 UTC ---
Martin?


[Bug tree-optimization/48613] [4.6/4.7 Regression] ICE: vector VEC(ipa_node_params_t,base) index domain error with -O0 -flto -findirect-inlining

2011-04-21 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48613

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2011.04.21 12:51:31
 CC||jakub at gcc dot gnu.org
 Ever Confirmed|0   |1

--- Comment #2 from Jakub Jelinek jakub at gcc dot gnu.org 2011-04-21 
12:51:31 UTC ---
-findirect-inlining with -O0 makes no sense, we should clear
flag_indirect_inlining when -O0 or guard all flag_indirect_inlining uses with
 optimize (currently it is done that way only in one place, which is the
reason why this ICEs).


[Bug tree-optimization/48613] [4.6/4.7 Regression] ICE: vector VEC(ipa_node_params_t,base) index domain error with -O0 -flto -findirect-inlining

2011-04-15 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48613

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.1


[Bug tree-optimization/48613] [4.6/4.7 Regression] ICE: vector VEC(ipa_node_params_t,base) index domain error with -O0 -flto -findirect-inlining

2011-04-14 Thread zsojka at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48613

Zdenek Sojka zsojka at seznam dot cz changed:

   What|Removed |Added

   Keywords||ice-on-valid-code, lto
  Known to work||4.5.3
Summary|[4.6/4.7 Regression |[4.6/4.7 Regression] ICE:
   ||vector
   ||VEC(ipa_node_params_t,base)
   ||index domain error with -O0
   ||-flto -findirect-inlining
  Known to fail||4.6.1, 4.7.0

--- Comment #1 from Zdenek Sojka zsojka at seznam dot cz 2011-04-14 21:05:56 
UTC ---
- testcase.c -
void foo () {}
--

Compiler output:
$ gcc -flto -findirect-inlining testcase.c
testcase.c:1:1: internal compiler error: vector VEC(ipa_node_params_t,base)
index domain error, in ipa_prop_write_jump_functions at ipa-prop.c:2842
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html for instructions.

Tested revisions:
r172439 - crash
4.6 r172337 - crash
4.5 r172337 - OK