------- Comment #6 from rguenth at gcc dot gnu dot org 2010-06-09 12:08 -------
(In reply to comment #4)
> I was told that the whopr link step would inherit the optimization
> flags from the build step. Is that not true?
That's not true.
> Here's a reduced test case with only a single input file (reduced too)
>
> gcc46 -O2 -fwhopr -c igmp.mini.i
> gcc46 -r -fwhopr igmp.mini.o
Thanks.
Confirmed (also with -flto).
Program received signal SIGSEGV, Segmentation fault.
0x0000000000a196e8 in var_map_base_init (map=0x16479c0)
at /space/rguenther/src/svn/trunk/gcc/tree-ssa-live.c:87
87 if (!ann->base_var_processed)
(gdb) p ann
$1 = (var_ann_t) 0x0
probably not too hard to track down. The decl is a PARM_DECL and not
registered with referenced vars.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-06-09 12:08:51
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44464