This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17053] [3.5 Regression] Repo functionality partially broken on AIX
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Aug 2004 03:35:47 -0000
- Subject: [Bug c++/17053] [3.5 Regression] Repo functionality partially broken on AIX
- References: <20040816214702.17053.dje@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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