public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/22008] New: ICE on valid code
@ 2005-06-10 18:18 ppluzhnikov at charter dot net
  2005-06-10 18:56 ` [Bug c++/22008] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: ppluzhnikov at charter dot net @ 2005-06-10 18:18 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1116 bytes --]

The test was reduced from PlumHall test X_132p92:

$ cat x_132p92.cc
struct X_132p92
{
    static int k;                   // [1]
    X_132p92(const X_132p92 &x);    // [2]
};
void f_132p92(volatile X_132p92 x)  // [3]
{
    bool b = x.k >= 1;
}

$ g++4 -c x_132p92.cc
x_132p92.cc: In function â:
x_132p92.cc:8: internal compiler error: in create_tmp_var, at gimplify.c:368
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Commenting out "static" at [1], copy-ctor at [2], or volatile at [3]
"cures" the bug.

-- 
           Summary: ICE on valid code
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ppluzhnikov at charter dot net
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: same
  GCC host triplet: i386-redhat-linux, x86_64-unknown-linux-gnu
GCC target triplet: same


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


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

* [Bug c++/22008] [4.0/4.1 Regression] ICE on valid code
  2005-06-10 18:18 [Bug c++/22008] New: ICE on valid code ppluzhnikov at charter dot net
@ 2005-06-10 18:56 ` pinskia at gcc dot gnu dot org
  2005-07-01 19:59 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-10 18:56 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-10 18:56 -------
Confirmed, reduced testcase:
struct a
{
    static int k;
    a(const a &x);
};
void f(volatile a x) { x.k; }

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
  GCC build triplet|same                        |
   GCC host triplet|i386-redhat-linux, x86_64-  |
                   |unknown-linux-gnu           |
 GCC target triplet|same                        |
           Keywords|                            |ice-on-valid-code
      Known to fail|                            |4.0.0 4.1.0
      Known to work|                            |3.4.0
   Last reconfirmed|0000-00-00 00:00:00         |2005-06-10 18:56:08
               date|                            |
            Summary|ICE on valid code           |[4.0/4.1 Regression] ICE on
                   |                            |valid code
   Target Milestone|---                         |4.0.1


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


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

* [Bug c++/22008] [4.0/4.1 Regression] ICE on valid code
  2005-06-10 18:18 [Bug c++/22008] New: ICE on valid code ppluzhnikov at charter dot net
  2005-06-10 18:56 ` [Bug c++/22008] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
@ 2005-07-01 19:59 ` pinskia at gcc dot gnu dot org
  2005-07-06 17:04 ` mmitchel at gcc dot gnu dot org
  2005-09-02 15:41 ` [Bug c++/22008] [4.0/4.1 Regression] ICE on valid code, create_tmp_var mmitchel at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-01 19:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-01 19:59 -------
: Search converges between 2004-05-11-trunk (#454) and 2004-05-14-trunk (#455).\
: Search converges between 2003-06-25-ssa (#14) and 2003-06-26-ssa (#15).


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2005-06-10 18:56:08         |2005-07-01 19:59:04
               date|                            |


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


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

* [Bug c++/22008] [4.0/4.1 Regression] ICE on valid code
  2005-06-10 18:18 [Bug c++/22008] New: ICE on valid code ppluzhnikov at charter dot net
  2005-06-10 18:56 ` [Bug c++/22008] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
  2005-07-01 19:59 ` pinskia at gcc dot gnu dot org
@ 2005-07-06 17:04 ` mmitchel at gcc dot gnu dot org
  2005-09-02 15:41 ` [Bug c++/22008] [4.0/4.1 Regression] ICE on valid code, create_tmp_var mmitchel at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-07-06 17:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2005-07-06 17:02 -------
Postponed until 4.0.2.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.1                       |4.0.2


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


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

* [Bug c++/22008] [4.0/4.1 Regression] ICE on valid code, create_tmp_var
  2005-06-10 18:18 [Bug c++/22008] New: ICE on valid code ppluzhnikov at charter dot net
                   ` (2 preceding siblings ...)
  2005-07-06 17:04 ` mmitchel at gcc dot gnu dot org
@ 2005-09-02 15:41 ` mmitchel at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-09-02 15:41 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2005-09-02 15:39 -------


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

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


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


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

end of thread, other threads:[~2005-09-02 15:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-10 18:18 [Bug c++/22008] New: ICE on valid code ppluzhnikov at charter dot net
2005-06-10 18:56 ` [Bug c++/22008] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
2005-07-01 19:59 ` pinskia at gcc dot gnu dot org
2005-07-06 17:04 ` mmitchel at gcc dot gnu dot org
2005-09-02 15:41 ` [Bug c++/22008] [4.0/4.1 Regression] ICE on valid code, create_tmp_var mmitchel 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).