public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/15955] ICE in make_decl_rtl, at varasm.c
       [not found] <20040612124805.15955.Mart.Rentmeester@nn-online.org>
@ 2004-06-22 14:54 ` tobi at gcc dot gnu dot org
  2004-07-03 19:05 ` gccbugs at contacts dot eelis dot net
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-06-22 14:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tobi at gcc dot gnu dot org  2004-06-22 14:54 -------
Failure here:
  /* Check that we are not being given an automatic variable.  */
  /* A weak alias has TREE_PUBLIC set but not the other bits.  */
  if (TREE_CODE (decl) == PARM_DECL
      || TREE_CODE (decl) == RESULT_DECL
      || (TREE_CODE (decl) == VAR_DECL
	  && !TREE_STATIC (decl)
	  && !TREE_PUBLIC (decl)
	  && !DECL_EXTERNAL (decl)
	  && !DECL_REGISTER (decl)))
    abort ();


-- 


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


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

* [Bug fortran/15955] ICE in make_decl_rtl, at varasm.c
       [not found] <20040612124805.15955.Mart.Rentmeester@nn-online.org>
  2004-06-22 14:54 ` [Bug fortran/15955] ICE in make_decl_rtl, at varasm.c tobi at gcc dot gnu dot org
@ 2004-07-03 19:05 ` gccbugs at contacts dot eelis dot net
  2004-07-03 19:19 ` pinskia at gcc dot gnu dot org
  2004-08-09 16:16 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: gccbugs at contacts dot eelis dot net @ 2004-07-03 19:05 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gccbugs at contacts dot eelis dot net  2004-07-03 19:05 -------
gcc 3.4.0 is also affected, here's an alternative snippet:

  struct S
  {
    double d;
    int i;
  };

  S f ()
  {
    double a = 0.0;
    S b = { a, 0 };
    return b;
  }

  void g () { f(); }


  $ g++ -O7 -c t.cpp
  t.cpp: In function `void g()':
  t.cpp:9: internal compiler error: in make_decl_rtl, at varasm.c:752
  $ g++ -v
  Reading specs from d:/mingw/bin/../lib/gcc/mingw32/3.4.0/specs
  Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as
--host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls
--enable-languages=c,c++,f77,ada,objc,java --disable-win32-registry
--disable-shared --enable-sjlj-exceptions --enable-libgcj --disable-java-awt
--without-x --enable-java-gc=boehm --disable-libgcj-debug --enable-interpreter
--enable-hash-synchronization
  Thread model: win32
  gcc version 3.4.0 (mingw special)

gcc 3.2.3 is not affected:

  eelis@s2:~$ g++ -O7 -c t.cpp
  eelis@s2:~$ g++ -v
  Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/specs
  Configured with: ../gcc-3.2.3/configure --prefix=/usr --enable-shared
--enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld
--verbose --target=i486-slackware-linux --host=i486-slackware-linux
  Thread model: posix
  gcc version 3.2.3


-- 


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


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

* [Bug fortran/15955] ICE in make_decl_rtl, at varasm.c
       [not found] <20040612124805.15955.Mart.Rentmeester@nn-online.org>
  2004-06-22 14:54 ` [Bug fortran/15955] ICE in make_decl_rtl, at varasm.c tobi at gcc dot gnu dot org
  2004-07-03 19:05 ` gccbugs at contacts dot eelis dot net
@ 2004-07-03 19:19 ` pinskia at gcc dot gnu dot org
  2004-08-09 16:16 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-03 19:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-03 19:19 -------
gccbugs@contacts.eelis.net, your bug is PR15461 and not this one, this is a bug in the new fortran 
front-end.

-- 


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


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

* [Bug fortran/15955] ICE in make_decl_rtl, at varasm.c
       [not found] <20040612124805.15955.Mart.Rentmeester@nn-online.org>
                   ` (2 preceding siblings ...)
  2004-07-03 19:19 ` pinskia at gcc dot gnu dot org
@ 2004-08-09 16:16 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-09 16:16 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-08-09 16:15 -------
Closing as a dup of bug 16609 which has a small example.

*** This bug has been marked as a duplicate of 16609 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


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


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

* [Bug fortran/15955] ICE in make_decl_rtl, at varasm.c
  2004-06-12 12:48 [Bug fortran/15955] New: " Mart dot Rentmeester at sci dot kun dot nl
@ 2004-06-12 12:55 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-12 12:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-12 12:55 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2004-06-12 12:55:15
               date|                            |


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


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

end of thread, other threads:[~2004-08-09 16:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20040612124805.15955.Mart.Rentmeester@nn-online.org>
2004-06-22 14:54 ` [Bug fortran/15955] ICE in make_decl_rtl, at varasm.c tobi at gcc dot gnu dot org
2004-07-03 19:05 ` gccbugs at contacts dot eelis dot net
2004-07-03 19:19 ` pinskia at gcc dot gnu dot org
2004-08-09 16:16 ` pinskia at gcc dot gnu dot org
2004-06-12 12:48 [Bug fortran/15955] New: " Mart dot Rentmeester at sci dot kun dot nl
2004-06-12 12:55 ` [Bug fortran/15955] " pinskia 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).