public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/38355] ICE with -fipa-struct-reorg
       [not found] <bug-38355-4@http.gcc.gnu.org/bugzilla/>
@ 2012-01-19  5:13 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-01-19  5:13 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX
   Target Milestone|---                         |4.7.0
      Known to fail|                            |

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-19 04:56:06 UTC ---
The pass was removed by:
2011-03-23  Richard Guenther  <rguenther@suse.de>

        * Makefile.in (IPA_TYPE_ESCAPE_H): Remove.
        (OBJS-archive): Remove ipa-struct-reorg.o and ipa-type-escape.o.
        (tree-ssa-alias.o): Do not depend on IPA_TYPE_ESCAPE_H.
        (alias.o): Likewise.
        (ipa-type-escape.o): Remove.
        (ipa-struct-reorg.o): Likewise.
        (GTFILES): Remove ipa-struct-reorg.c.
        * alias.c: Do not include ipa-type-escape.h.
        * tree-ssa-alias.c: Likewise.
        * common.opt (fipa-struct-reorg): Preserve for backward compatibility.
        * opts.c (finish_options): Do not reset flag_ipa_struct_reorg.
        * passes.c (init_optimization_passes): Remove ipa-struct-reorg
        and ipa-type-escape passes.
        * tree-pass.h (pass_ipa_type_escape): Remove.
        (pass_ipa_struct_reorg): Likewise.

So closing as won't fix.


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

* [Bug tree-optimization/38355] ICE with -fipa-struct-reorg
  2008-12-01 22:51 [Bug tree-optimization/38355] New: ICE with -fipa-struct-reorg / -fipa-pta debian-gcc at lists dot debian dot org
  2008-12-02 11:08 ` [Bug tree-optimization/38355] ICE with -fipa-struct-reorg rguenth at gcc dot gnu dot org
@ 2009-11-14 21:21 ` reichelt at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2009-11-14 21:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from reichelt at gcc dot gnu dot org  2009-11-14 21:21 -------
Confirmed.
Reduced testcase (crashes with "-O2 -fwhole-program -fipa-struct-reorg"):

=========================================================
template<int> struct A
{
  char c;
  void foo(int);
  void bar(int i) { foo(i+1); }
};

template<int> struct B : virtual A<0> {};

template<int T> inline void baz(B<T>& b, int i)
{
  if (i) b.bar(0);
}

extern template class A<0>;
extern template void baz(B<0>&, int);

int main()
{
  B<0> b;
  baz(b, 0);
  return 0;
}
=========================================================

GCC 4.3.x and 4.4.x segfault, while trunk produced the following ICE:

bug.cc:23:1: internal compiler error: in build_data_structure, at
ipa-struct-reorg.c:3387
Please submit a full bug report, [etc.]


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code, monitored
   Last reconfirmed|0000-00-00 00:00:00         |2009-11-14 21:21:13
               date|                            |


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


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

* [Bug tree-optimization/38355] ICE with -fipa-struct-reorg
  2008-12-01 22:51 [Bug tree-optimization/38355] New: ICE with -fipa-struct-reorg / -fipa-pta debian-gcc at lists dot debian dot org
@ 2008-12-02 11:08 ` rguenth at gcc dot gnu dot org
  2009-11-14 21:21 ` reichelt at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-12-02 11:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2008-12-02 11:05 -------
Re-opening as the -fipa-struct-reorg case.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |olga at il dot ibm dot com
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|DUPLICATE                   |
            Summary|ICE with -fipa-struct-reorg |ICE with -fipa-struct-reorg
                   |/ -fipa-pta                 |


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


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

end of thread, other threads:[~2012-01-19  4:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-38355-4@http.gcc.gnu.org/bugzilla/>
2012-01-19  5:13 ` [Bug tree-optimization/38355] ICE with -fipa-struct-reorg pinskia at gcc dot gnu.org
2008-12-01 22:51 [Bug tree-optimization/38355] New: ICE with -fipa-struct-reorg / -fipa-pta debian-gcc at lists dot debian dot org
2008-12-02 11:08 ` [Bug tree-optimization/38355] ICE with -fipa-struct-reorg rguenth at gcc dot gnu dot org
2009-11-14 21:21 ` reichelt 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).