[Bug fortran/53035] Internal Compiler Error

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Apr 19 07:38:00 GMT 2012


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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

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

--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-04-19 07:35:31 UTC ---
(In reply to comment #0)
> I have attached a compressed archive that should allow you to reproduce an
> Internal Compiler Error.

I assume you forgot to attach the file - at least no file is attached.


> automake
> autoconf
> ./configure
> make

That looks like a rather large program. Thus some remarks.

First, comments and attached files to bug reports are publicly visible "for
ever"; thus, ensure that the license of the program permits the attachment.

Secondly, most of the time, programs can be reduces to a few lines of code.
That not only avoids license issues but is usually a prerequisite to be able to
find the compiler bug. Thus, we are always happy if bug reporters reduce the
test case themselves. (For the Fortran front ends - as a special service - we
might also do it ourselves - developers of other parts of GCC don't.)

Thirdly, the server admins are happy if the Bugzilla database doesn't contain
too many big attachments. (Thus, you could consider hosting the tar file
elsewhere.)


To reduce the test case, you could try Delta as described at
http://gcc.gnu.org/wiki/A_guide_to_testcase_reduction  It would be also
interesting to know whether it only fails with certain flags (like "-O3") or
always.


In any case, without a test case, it is very difficult to solve bugs ...

* * *

Regrading the ICE:

  f951: internal compiler error: in lhd_set_decl_assembler_name, at
  langhooks.c:158

the failing ASSERT is:

  /* The language-independent code should never use the
     DECL_ASSEMBLER_NAME for lots of DECLs.  Only FUNCTION_DECLs and
     VAR_DECLs for variables with static storage duration need a real
     DECL_ASSEMBLER_NAME.  */
  gcc_assert (TREE_CODE (decl) == FUNCTION_DECL
              || (TREE_CODE (decl) == VAR_DECL
                  && (TREE_STATIC (decl)
                      || DECL_EXTERNAL (decl)
                      || TREE_PUBLIC (decl))));



More information about the Gcc-bugs mailing list