public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/24686]  New: ICE when building a variation of NMSTL
@ 2005-11-05 22:33 christian dot convey at gmail dot com
  2005-11-05 22:35 ` [Bug c++/24686] " christian dot convey at gmail dot com
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: christian dot convey at gmail dot com @ 2005-11-05 22:33 UTC (permalink / raw)
  To: gcc-bugs

We have a customized version of the NMSTL library, and get an ICE when we build
it. (Sorry, I couldn't find directions on how to fill out Host triplet, Target
triplet, and Build triplet.)

I'm using Ubuntu Linux 5.10.


-- 
           Summary: ICE when building a variation of NMSTL
           Product: gcc
           Version: 4.0.2
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: christian dot convey at gmail dot com


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


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

* [Bug c++/24686] ICE when building a variation of NMSTL
  2005-11-05 22:33 [Bug c++/24686] New: ICE when building a variation of NMSTL christian dot convey at gmail dot com
@ 2005-11-05 22:35 ` christian dot convey at gmail dot com
  2005-11-05 22:37 ` christian dot convey at gmail dot com
                   ` (13 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: christian dot convey at gmail dot com @ 2005-11-05 22:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from christian dot convey at gmail dot com  2005-11-05 22:35 -------
Created an attachment (id=10155)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10155&action=view)
stdout/stderr from the build process that cause the ICE


-- 


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


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

* [Bug c++/24686] ICE when building a variation of NMSTL
  2005-11-05 22:33 [Bug c++/24686] New: ICE when building a variation of NMSTL christian dot convey at gmail dot com
  2005-11-05 22:35 ` [Bug c++/24686] " christian dot convey at gmail dot com
@ 2005-11-05 22:37 ` christian dot convey at gmail dot com
  2005-11-05 22:40 ` christian dot convey at gmail dot com
                   ` (12 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: christian dot convey at gmail dot com @ 2005-11-05 22:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from christian dot convey at gmail dot com  2005-11-05 22:37 -------
Created an attachment (id=10156)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10156&action=view)
Preprocessed output file 1


-- 


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


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

* [Bug c++/24686] ICE when building a variation of NMSTL
  2005-11-05 22:33 [Bug c++/24686] New: ICE when building a variation of NMSTL christian dot convey at gmail dot com
  2005-11-05 22:35 ` [Bug c++/24686] " christian dot convey at gmail dot com
  2005-11-05 22:37 ` christian dot convey at gmail dot com
@ 2005-11-05 22:40 ` christian dot convey at gmail dot com
  2005-11-05 22:42 ` [Bug c++/24686] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: christian dot convey at gmail dot com @ 2005-11-05 22:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from christian dot convey at gmail dot com  2005-11-05 22:40 -------
Created an attachment (id=10157)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10157&action=view)
Preprocessed output file 2


-- 


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


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

* [Bug c++/24686] [4.0/4.1 Regression] ICE when building a variation of NMSTL
  2005-11-05 22:33 [Bug c++/24686] New: ICE when building a variation of NMSTL christian dot convey at gmail dot com
                   ` (2 preceding siblings ...)
  2005-11-05 22:40 ` christian dot convey at gmail dot com
@ 2005-11-05 22:42 ` pinskia at gcc dot gnu dot org
  2005-11-05 23:46 ` pinskia at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-05 22:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2005-11-05 22:42 -------
Reducing.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE when building a         |[4.0/4.1 Regression] ICE
                   |variation of NMSTL          |when building a variation of
                   |                            |NMSTL
   Target Milestone|---                         |4.0.3


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


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

* [Bug c++/24686] [4.0/4.1 Regression] ICE when building a variation of NMSTL
  2005-11-05 22:33 [Bug c++/24686] New: ICE when building a variation of NMSTL christian dot convey at gmail dot com
                   ` (3 preceding siblings ...)
  2005-11-05 22:42 ` [Bug c++/24686] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
@ 2005-11-05 23:46 ` pinskia at gcc dot gnu dot org
  2005-11-06  0:18 ` pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-05 23:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2005-11-05 23:46 -------
As far as I can see this is valid code (the machine which was doing the
reduction crashed or something because I cannot connect to it).


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code


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


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

* [Bug c++/24686] [4.0/4.1 Regression] ICE when building a variation of NMSTL
  2005-11-05 22:33 [Bug c++/24686] New: ICE when building a variation of NMSTL christian dot convey at gmail dot com
                   ` (4 preceding siblings ...)
  2005-11-05 23:46 ` pinskia at gcc dot gnu dot org
@ 2005-11-06  0:18 ` pinskia at gcc dot gnu dot org
  2005-11-06  0:22 ` pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-06  0:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pinskia at gcc dot gnu dot org  2005-11-06 00:18 -------
Confirmed, reduced testcase:
struct string {
   struct _Alloc_hider {
   ~_Alloc_hider();
  };
    mutable _Alloc_hider _M_dataplus;
  };
  template<class T> string to_string(const T& t);
  struct debug_msg {
    debug_msg(int);
    template<class T>  debug_msg& operator << (const T& t);
  };
  struct debug {
    static debug& get() {
}
    bool operator ^ (const debug_msg& msg);
  };
  int f();
  int i;
  void set_handler(int fd) {
    (i >= 1)&& debug::get() ^ debug_msg(({
 static int l = f();
 l;
}
 ))  << to_string(1);
  }


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-11-06 00:18:05
               date|                            |


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


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

* [Bug c++/24686] [4.0/4.1 Regression] ICE when building a variation of NMSTL
  2005-11-05 22:33 [Bug c++/24686] New: ICE when building a variation of NMSTL christian dot convey at gmail dot com
                   ` (5 preceding siblings ...)
  2005-11-06  0:18 ` pinskia at gcc dot gnu dot org
@ 2005-11-06  0:22 ` pinskia at gcc dot gnu dot org
  2005-11-06 19:59 ` mmitchel at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-06  0:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from pinskia at gcc dot gnu dot org  2005-11-06 00:22 -------
Note -fno-threadsafe-statics makes this works.


-- 


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


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

* [Bug c++/24686] [4.0/4.1 Regression] ICE when building a variation of NMSTL
  2005-11-05 22:33 [Bug c++/24686] New: ICE when building a variation of NMSTL christian dot convey at gmail dot com
                   ` (6 preceding siblings ...)
  2005-11-06  0:22 ` pinskia at gcc dot gnu dot org
@ 2005-11-06 19:59 ` mmitchel at gcc dot gnu dot org
  2005-11-10 21:55 ` jason at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-11-06 19:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from mmitchel at gcc dot gnu dot org  2005-11-06 19:59 -------
Showstopper; crash on valid code.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


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


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

* [Bug c++/24686] [4.0/4.1 Regression] ICE when building a variation of NMSTL
  2005-11-05 22:33 [Bug c++/24686] New: ICE when building a variation of NMSTL christian dot convey at gmail dot com
                   ` (7 preceding siblings ...)
  2005-11-06 19:59 ` mmitchel at gcc dot gnu dot org
@ 2005-11-10 21:55 ` jason at gcc dot gnu dot org
  2005-11-11 15:19 ` jason at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: jason at gcc dot gnu dot org @ 2005-11-10 21:55 UTC (permalink / raw)
  To: gcc-bugs



-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jason at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2005-11-06 00:18:05         |2005-11-10 21:55:37
               date|                            |


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


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

* [Bug c++/24686] [4.0/4.1 Regression] ICE when building a variation of NMSTL
  2005-11-05 22:33 [Bug c++/24686] New: ICE when building a variation of NMSTL christian dot convey at gmail dot com
                   ` (8 preceding siblings ...)
  2005-11-10 21:55 ` jason at gcc dot gnu dot org
@ 2005-11-11 15:19 ` jason at gcc dot gnu dot org
  2005-11-11 17:15 ` jason at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: jason at gcc dot gnu dot org @ 2005-11-11 15:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from jason at gcc dot gnu dot org  2005-11-11 15:19 -------
Further reduced:

struct A
{
  ~A();
};
bool h(int, const A&);
int f();
int i;
void g()
{
  i && h (({ static int l = f(); l; }),
          A());
}


-- 


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


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

* [Bug c++/24686] [4.0/4.1 Regression] ICE when building a variation of NMSTL
  2005-11-05 22:33 [Bug c++/24686] New: ICE when building a variation of NMSTL christian dot convey at gmail dot com
                   ` (9 preceding siblings ...)
  2005-11-11 15:19 ` jason at gcc dot gnu dot org
@ 2005-11-11 17:15 ` jason at gcc dot gnu dot org
  2005-11-11 17:15 ` jason at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: jason at gcc dot gnu dot org @ 2005-11-11 17:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from jason at gcc dot gnu dot org  2005-11-11 17:15 -------
Subject: Bug 24686

Author: jason
Date: Fri Nov 11 17:14:49 2005
New Revision: 106786

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106786
Log:
        PR c++/24686
        * gimplify.c (gimplify_cleanup_point_expr): Also save and restore
        the cleanup list.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimplify.c


-- 


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


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

* [Bug c++/24686] [4.0/4.1 Regression] ICE when building a variation of NMSTL
  2005-11-05 22:33 [Bug c++/24686] New: ICE when building a variation of NMSTL christian dot convey at gmail dot com
                   ` (10 preceding siblings ...)
  2005-11-11 17:15 ` jason at gcc dot gnu dot org
@ 2005-11-11 17:15 ` jason at gcc dot gnu dot org
  2005-11-11 17:42 ` [Bug c++/24686] [4.0 " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: jason at gcc dot gnu dot org @ 2005-11-11 17:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from jason at gcc dot gnu dot org  2005-11-11 17:15 -------
Subject: Bug 24686

Author: jason
Date: Fri Nov 11 17:15:48 2005
New Revision: 106787

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106787
Log:
        PR c++/24686
        * gimplify.c (gimplify_cleanup_point_expr): Also save and restore
        the cleanup list.

Added:
    trunk/gcc/testsuite/g++.dg/ext/stmtexpr7.C


-- 


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


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

* [Bug c++/24686] [4.0 Regression] ICE when building a variation of NMSTL
  2005-11-05 22:33 [Bug c++/24686] New: ICE when building a variation of NMSTL christian dot convey at gmail dot com
                   ` (11 preceding siblings ...)
  2005-11-11 17:15 ` jason at gcc dot gnu dot org
@ 2005-11-11 17:42 ` pinskia at gcc dot gnu dot org
  2005-11-11 18:17 ` jason at gcc dot gnu dot org
  2005-11-11 18:24 ` pinskia at gcc dot gnu dot org
  14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-11 17:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from pinskia at gcc dot gnu dot org  2005-11-11 17:42 -------
Fixed at least on the mainline.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.0.0
      Known to work|                            |3.4.0 4.1.0
            Summary|[4.0/4.1 Regression] ICE    |[4.0 Regression] ICE when
                   |when building a variation of|building a variation of
                   |NMSTL                       |NMSTL


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


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

* [Bug c++/24686] [4.0 Regression] ICE when building a variation of NMSTL
  2005-11-05 22:33 [Bug c++/24686] New: ICE when building a variation of NMSTL christian dot convey at gmail dot com
                   ` (12 preceding siblings ...)
  2005-11-11 17:42 ` [Bug c++/24686] [4.0 " pinskia at gcc dot gnu dot org
@ 2005-11-11 18:17 ` jason at gcc dot gnu dot org
  2005-11-11 18:24 ` pinskia at gcc dot gnu dot org
  14 siblings, 0 replies; 16+ messages in thread
From: jason at gcc dot gnu dot org @ 2005-11-11 18:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from jason at gcc dot gnu dot org  2005-11-11 18:17 -------
Subject: Bug 24686

Author: jason
Date: Fri Nov 11 18:17:25 2005
New Revision: 106794

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106794
Log:
        PR c++/24686
        * gimplify.c (gimplify_cleanup_point_expr): Also save and restore
        the cleanup list.

Added:
    branches/gcc-4_0-branch/gcc/testsuite/g++.dg/ext/stmtexpr7.C
      - copied unchanged from r106788,
trunk/gcc/testsuite/g++.dg/ext/stmtexpr7.C
Modified:
    branches/gcc-4_0-branch/gcc/ChangeLog
    branches/gcc-4_0-branch/gcc/gimplify.c


-- 


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


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

* [Bug c++/24686] [4.0 Regression] ICE when building a variation of NMSTL
  2005-11-05 22:33 [Bug c++/24686] New: ICE when building a variation of NMSTL christian dot convey at gmail dot com
                   ` (13 preceding siblings ...)
  2005-11-11 18:17 ` jason at gcc dot gnu dot org
@ 2005-11-11 18:24 ` pinskia at gcc dot gnu dot org
  14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-11 18:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from pinskia at gcc dot gnu dot org  2005-11-11 18:24 -------
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2005-11-11 18:24 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-05 22:33 [Bug c++/24686] New: ICE when building a variation of NMSTL christian dot convey at gmail dot com
2005-11-05 22:35 ` [Bug c++/24686] " christian dot convey at gmail dot com
2005-11-05 22:37 ` christian dot convey at gmail dot com
2005-11-05 22:40 ` christian dot convey at gmail dot com
2005-11-05 22:42 ` [Bug c++/24686] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
2005-11-05 23:46 ` pinskia at gcc dot gnu dot org
2005-11-06  0:18 ` pinskia at gcc dot gnu dot org
2005-11-06  0:22 ` pinskia at gcc dot gnu dot org
2005-11-06 19:59 ` mmitchel at gcc dot gnu dot org
2005-11-10 21:55 ` jason at gcc dot gnu dot org
2005-11-11 15:19 ` jason at gcc dot gnu dot org
2005-11-11 17:15 ` jason at gcc dot gnu dot org
2005-11-11 17:15 ` jason at gcc dot gnu dot org
2005-11-11 17:42 ` [Bug c++/24686] [4.0 " pinskia at gcc dot gnu dot org
2005-11-11 18:17 ` jason at gcc dot gnu dot org
2005-11-11 18:24 ` 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).