public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/36747]  New: Internal compiler error
@ 2008-07-07 13:08 gabriel dot barton at acutgmbh dot de
  2008-07-07 13:35 ` [Bug middle-end/36747] ICE in set_uids_in_ptset, at tree-ssa-structalias.c:4785 with -O burnus at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: gabriel dot barton at acutgmbh dot de @ 2008-07-07 13:08 UTC (permalink / raw)
  To: gcc-bugs

When compiling this stripped down fragment of code:

      subroutine dmnwgenod() 
      integer dmnwmaxno,dmnwmaxme
      Parameter ( dmnwmaxno = 600000,
     >            dmnwmaxme = 200 )
      integer dmnwmemli(dmnwmaxme,dmnwmaxno),
     >        dmnwnodco
      common / dmwpnodes / dmnwmemli,
     >                     dmnwnodco
      integer nodmco,nodwml(dmnwmaxme)
      integer i,mnodiid,dmvwmaiid

      do 110 i=1,nodmco
         nodwml(i) = dmvwmaiid(dmnwmemli(i,mnodiid))
 110     continue
      return
      end

c: if dmnwnodco is deleted from the integer definition and the common block,
this subroutine compiles!

Command to compile:
gfortran-4.3 -m64 -O -c -fimplicit-none -fno-underscoring -fno-automatic
-Wuninitialized error.f

System:
gfortran -v
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --with-local-prefix=/usr/local
--infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64
--libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada
--enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3
--enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/
--with-pkgversion='SUSE Linux' --disable-libgcj --with-slibdir=/lib64
--with-system-zlib --enable-__cxa_atexit--enable-libstdcxx-allocator=new
--disable-libstdcxx-pch --program-suffix=-4.3
--enable-version-specific-runtime-libs --enable-linux-futex
--without-system-libunwind --with-cpu=generic --build=x86_64-suse-linux
Thread model: posix
gcc version 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036] (SUSE
Linux)

We get following error message:
 internal compiler error: in set_uids_in_ptset, at tree-ssa-structalias.c:4785

This subroutine has always compiled successfully on g77 and gfortran 4.2
systems.


-- 
           Summary: Internal compiler error
           Product: gcc
           Version: 4.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gabriel dot barton at acutgmbh dot de
 GCC build triplet: ?
  GCC host triplet: x86_64 GNU/Linux
GCC target triplet: x86_64-suse-linux


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug middle-end/36747] ICE in set_uids_in_ptset, at tree-ssa-structalias.c:4785  with -O
  2008-07-07 13:08 [Bug fortran/36747] New: Internal compiler error gabriel dot barton at acutgmbh dot de
@ 2008-07-07 13:35 ` burnus at gcc dot gnu dot org
  2008-07-07 13:52 ` rguenth at gcc dot gnu dot org
  2008-09-17 14:35 ` rguenth at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: burnus at gcc dot gnu dot org @ 2008-07-07 13:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from burnus at gcc dot gnu dot org  2008-07-07 13:34 -------
I can reproduce this with 4.3.1 (and "-O"). It works with 4.2.1 and 4.4.0.


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|fortran                     |middle-end
           Keywords|                            |ice-on-valid-code
            Summary|Internal compiler error     |ICE in set_uids_in_ptset, at
                   |                            |tree-ssa-structalias.c:4785
                   |                            |with -O


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug middle-end/36747] ICE in set_uids_in_ptset, at tree-ssa-structalias.c:4785  with -O
  2008-07-07 13:08 [Bug fortran/36747] New: Internal compiler error gabriel dot barton at acutgmbh dot de
  2008-07-07 13:35 ` [Bug middle-end/36747] ICE in set_uids_in_ptset, at tree-ssa-structalias.c:4785 with -O burnus at gcc dot gnu dot org
@ 2008-07-07 13:52 ` rguenth at gcc dot gnu dot org
  2008-09-17 14:35 ` rguenth at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-07-07 13:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2008-07-07 13:51 -------
I think this was fixed by

2008-06-25  Richard Guenther  <rguenther@suse.de>

        * tree-ssa-structalias.c (fieldoff_compare): Make sure to
        not overflow the result type.

as I can no longer reproduce this on the branch.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.3.2


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug middle-end/36747] ICE in set_uids_in_ptset, at tree-ssa-structalias.c:4785  with -O
  2008-07-07 13:08 [Bug fortran/36747] New: Internal compiler error gabriel dot barton at acutgmbh dot de
  2008-07-07 13:35 ` [Bug middle-end/36747] ICE in set_uids_in_ptset, at tree-ssa-structalias.c:4785 with -O burnus at gcc dot gnu dot org
  2008-07-07 13:52 ` rguenth at gcc dot gnu dot org
@ 2008-09-17 14:35 ` rguenth at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-09-17 14:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2008-09-17 14:34 -------
*** Bug 37310 has been marked as a duplicate of this bug. ***


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |petermorgan at grapevine dot
                   |                            |net dot au


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-09-17 14:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-07 13:08 [Bug fortran/36747] New: Internal compiler error gabriel dot barton at acutgmbh dot de
2008-07-07 13:35 ` [Bug middle-end/36747] ICE in set_uids_in_ptset, at tree-ssa-structalias.c:4785 with -O burnus at gcc dot gnu dot org
2008-07-07 13:52 ` rguenth at gcc dot gnu dot org
2008-09-17 14:35 ` rguenth at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).