This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/20721] [3.4/4.0/4.1 Regression] crossing of a initialization left undetected on goto


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-01 21:57 -------
Reduced testcase for the accepts invalid, I will then reduce the ICE on the mainline soon (note you have 
some other invalid code in there):
bool f();
void g(int i)
{
  if (i) goto bad;
  bool a = f();
  bad:
  ;
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |accepts-invalid
      Known to fail|                            |3.4.3 4.0.0
      Known to work|                            |3.4.0 3.4.2
   Last reconfirmed|0000-00-00 00:00:00         |2005-04-01 21:57:11
               date|                            |
            Summary|[regression from 3.4.2 to   |[3.4/4.0/4.1 Regression]
                   |3.4.3] crossing of a        |crossing of a initialization
                   |initialization left         |left undetected on goto
                   |undetected on goto          |
   Target Milestone|---                         |3.4.4


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]