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

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

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

--- Comment #4 from Paul Thomas <pault at gcc dot gnu.org> ---
(In reply to Harald Anlauf from comment #3)
> I ran the testcase under gdb to see where the error is thrown.
> 
....snip....

> It appears that the error is generated rather late.  Are there any
> intermediate files it makes sense to look at, to see the effect of
> slight variations of the input?  (E.g. where the "anonymous namespace"
> comes from.)

It would be very useful if you would try to compile it with
-ftree-dump-original and post the result around the scalarization loop for 
    ! Does not compile:
    print*,str_cmp((/'aaa','bbb'/), str_aux)

In order to isolate all the code associated with a particular line, I cast it
into a contained subroutine which is then called instead of the offending line.

(I am not in a position to do it myself until tonight.)

HJ is certainly correct that r158683 is the cause - Thanks for the heads-up,
HJ.  It amazes me that this bug has not been triggered in 3 years and 9 months!

Cheers

Paul

Reply via email to