This is the mail archive of the gcc-patches@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]

Re: C++ PATCH: Improve exceptions/inlining compile-time performance


>>>>> Mark Mitchell writes:

Mark> Aha!  What that means is that your compiler is actually *better* than
Mark> expected.  The "bailing out" message is what happens when a SEGV occurs;
Mark> your compiler is not crashing.  There are no expected error messages in
Mark> the testsuite for line 6 because we expect the compiler to crash on line
Mark> 5.

	I am not sure about HP/UX, but AIX maps address 0 so compilers can
produce code to hoist loads before NULL pointer checks.  If some data
structure within G++ contains a NULL pointer, it would SEGV on other
systems but not on AIX.  That is one guess about why the compiler bails
out on Linux, but not AIX.

David


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