ARudik / feelpp

Automatically exported from code.google.com/p/feelpp
0 stars 0 forks source link

Segfault in the language with g++ 4.7 #26

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. compile feel_doc_laplacian or feel_doc_myfunctionspace
2. execute

It seems that with g++ 4.7 something is fishy with the code generation of 
Cst<>. Somehow when
evaluating expression (e.g. in project() ) they have become dangling references.
With gcc 4.5, 4.6 and clang 3.1, no problem. There is a good change that this 
is a bug in g++ 4.7.
This is however very unfortunate because it makes 4.7 unusable for now.

This behavior is also consistent across platforms, ie. Linux and OSX.

Original issue reported on code.google.com by christop...@feelpp.org on 20 May 2012 at 10:54

GoogleCodeExporter commented 9 years ago

Original comment by christop...@feelpp.org on 27 May 2012 at 9:49