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++ gnu_inline] fix ICE inlining after definition and redeclaration


On Mon, Oct 01, 2007 at 04:52:46PM -0300, Alexandre Oliva wrote:
> Jakub found an error in my earlier patch.  If a gnu_inline function
> was redeclared without a new definition, and then called, we'd ICE
> when inlining it.  Here's a patch that fixes it, by arranging for the
> linkage flags to not be affected by mere redeclarations, only by
> actual redefinitions.
> 
> Jakub offered to test it, so I haven't, other than by compiling by
> hand the test included in the patch.  Ok to install after Jakub
> completes testing it?

Bootstrapped/regtested on x86_64-linux.

	Jakub


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