------- Comment #8 from rguenth at gcc dot gnu dot org  2009-08-31 12:45 -------
Confirmed.

class QString { };
QString fixString(QString string);
static QString fixPathToLocalOS(const QString &in)                             
{ 
  return fixString(in);
}
void __attribute__((__optimize__ ("0")))
foo(void) { }
void runQMake(QString pfile)
{ 
  fixPathToLocalOS(pfile);
}


triggered by __attribute__((__optimize__ ("0"))) on the unrelated function foo.

Mike, this is yours.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gnu at the-meissners dot org
           Keywords|                            |ice-on-valid-code
      Known to fail|                            |4.4.1
      Known to work|                            |4.3.4 4.5.0
            Summary|ICE in building Qt4 src/core|[4.4 Regression] ICE in
                   |                            |building Qt4 src/core
   Target Milestone|---                         |4.4.2


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

Reply via email to