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: Fix compiler crash with large Objective-C and __FLT_MAX__ (it may affect C++ too)



On 24 Dec 2010, at 23:33, Mike Stump wrote:


On Dec 23, 2010, at 7:32 PM, "Nicola Pero" <nicola.pero@meta-innovation.com > wrote:
This patch fixes a compiler segmentation fault when compiling a large Objective-C
file and encountering __FLT_MAX__.

Ok.


Thanks Mike

Can someone approve the change to C++'s config-lang.in too ? Here it is again.

I suppose it could be considered obvious ? gtfiles contains the list of gt files,
and this patch adds one which is missing.


Thanks

Index: cp/ChangeLog
===================================================================
--- cp/ChangeLog        (revision 168215)
+++ cp/ChangeLog        (working copy)
@@ -1,3 +1,7 @@
+2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       * config-lang.in (gtfiles): Added c-family/c-cppbuiltin.c.
+
2010-12-22  Nathan Froyd  <froydnj@codesourcery.com>

       * decl.c (decls_match, duplicate_decls): Use prototype_p.
Index: cp/config-lang.in
===================================================================
--- cp/config-lang.in   (revision 168215)
+++ cp/config-lang.in   (working copy)
@@ -30,4 +30,4 @@

target_libs="target-libstdc++-v3"

-gtfiles="\$(srcdir)/cp/rtti.c \$(srcdir)/cp/mangle.c \$(srcdir)/cp/ name-lookup.h \$(srcdir)/cp/name-lookup.c \$(srcdir)/cp/cp-tree.h \$ (srcdir)/cp/decl.h \$(srcdir)/cp/call.c \$(srcdir)/cp/decl.c \$ (srcdir)/cp/decl2.c \$(srcdir)/cp/pt.c \$(srcdir)/cp/repo.c \$(srcdir)/ cp/semantics.c \$(srcdir)/cp/tree.c \$(srcdir)/cp/parser.c \$(srcdir)/ cp/method.c \$(srcdir)/cp/typeck2.c \$(srcdir)/c-family/c-common.c \$ (srcdir)/c-family/c-common.h \$(srcdir)/c-family/c-objc.h \$(srcdir)/c- family/c-lex.c \$(srcdir)/c-family/c-pragma.h \$(srcdir)/c-family/c- pragma.c \$(srcdir)/cp/class.c \$(srcdir)/cp/cp-objcp-common.c \$ (srcdir)/cp/cp-lang.c"
+gtfiles="\$(srcdir)/cp/rtti.c \$(srcdir)/cp/mangle.c \$(srcdir)/cp/ name-lookup.h \$(srcdir)/cp/name-lookup.c \$(srcdir)/cp/cp-tree.h \$ (srcdir)/cp/decl.h \$(srcdir)/cp/call.c \$(srcdir)/cp/decl.c \$ (srcdir)/cp/decl2.c \$(srcdir)/cp/pt.c \$(srcdir)/cp/repo.c \$(srcdir)/ cp/semantics.c \$(srcdir)/cp/tree.c \$(srcdir)/cp/parser.c \$(srcdir)/ cp/method.c \$(srcdir)/cp/typeck2.c \$(srcdir)/c-family/c-common.c \$ (srcdir)/c-family/c-common.h \$(srcdir)/c-family/c-objc.h \$(srcdir)/c- family/c-lex.c \$(srcdir)/c-family/c-cppbuiltin.c \$(srcdir)/c-family/ c-pragma.h \$(srcdir)/c-family/c-pragma.c \$(srcdir)/cp/class.c \$ (srcdir)/cp/cp-objcp-common.c \$(srcdir)/cp/cp-lang.c"



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