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++/17053] [3.5 Regression] Repo functionality partially broken on AIX


------- Additional Comments From mmitchel at gcc dot gnu dot org  2004-08-17 03:35 -------
I understand why the NOTHROW bit is changing, and, in fact, I'm not really sure
how my patch made this different.  The reason it is changing is that during the
initial build the template is not instantiated (in the hopes that some other
translation unit will instantiate it).  Because it is not instantiated, the
compiler does not know whether or not the body of the template could throw an
exception.  So, it does not set the NOTHROW bit.  When reocmpiling (from
collect2), the template will be instantiated, and so the compiler then cleverly
notices that it cannot throw an exception.

I will look into why this is causing a problem.

-- 


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


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