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

new operator in gcc-3.4


I have tried to compile 
####...
double ***v;
v = new double **[1000000];
####...
in different classes. Sometimes the program shows a sigsegv at the new
operator. Using gdb the code has called the following functions:
operator new[]() -> operator new() -> malloc () -> _int_malloc()

Is this a g++-3.4 bug? Is it not possible to use the previous statement in
constructors in header files? Is there any workaround for threedimensional
arrays - except vector<vector<vector<...  statements that are not fast?

Thanx in advance,
   Lars


 

-- 
10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail
+++ GMX - die erste Adresse für Mail, Message, More +++


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