I just updated my Git master of the Chapel repository
(af60ad09f8800dcf1602f328707f1f110ef924be) and compiled.

|> chpl --version
chpl Version 1.12.0.af60ad0

I still get a compilation fail with the a reduce intent statement, so I
thought it time to send in a formal bug report. I am assuming the
standard tests for this construct are passing and that the issue
centres on my environments.

I use Debian Sid with GCC:
        gcc version 5.2.1 20151010 (Debian 5.2.1-22)
and Fedora Rawhide with GCC:
        gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)
for compiling the Chapel compiler, which I relocate to ~/Built/bin

On the statement:
 
        forall i in 1..n with (+ reduce sum) { sum += 1.0 / (1.0 + ((i - 0.5) * 
delta) ** 2); }

I get, on both platforms, the error message:


$CHPL_HOME/modules/internal/ChapelIteratorSupport.chpl:209: internal error: 
IMP1030 chpl Version 1.12.0.af60ad0
Note: This source location is a guess.

Internal errors indicate a bug in the Chapel compiler ("It's us, not you"),
and we're sorry for the hassle.  We would appreciate your reporting this bug -- 
please see http://chapel.cray.com/bugs.html for instructions.  In the meantime,
the filename + line number above may be useful in working around the issue.


-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[email protected]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [email protected]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

Attachment: signature.asc
Description: This is a digitally signed message part

------------------------------------------------------------------------------
_______________________________________________
Chapel-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-bugs

Reply via email to