This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/47850] [4.6 Regression] ICE in gfc_conv_array_initializer


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

Paul Thomas <pault at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pault at gcc dot gnu.org

--- Comment #2 from Paul Thomas <pault at gcc dot gnu.org> 2011-02-23 15:00:20 UTC ---
(In reply to comment #1)
> The problem is that for 
> 
>    integer,parameter :: C_INDEX(8) = unpack( &
>       vector = [(i,i=1,size(SENSOR_CHANNEL))], &
>       mask = [(any(SENSOR_CHANNEL(i) == NLTE_CHANNEL), &
>          i=lbound(SENSOR_CHANNEL,1),ubound(SENSOR_CHANNEL,1))], &
> 
> the mask is not regarded as gfc_is_constant_expr -> gfc_constant_ac.

I just found the same thing! That's what comes of not refreshing the page :-)

Paul


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]