This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/57000] New: 4.8 Regression?, ICE with -Ofast and -frounding-math
- From: "vladimir.fuka at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 18 Apr 2013 19:14:02 +0000
- Subject: [Bug c++/57000] New: 4.8 Regression?, ICE with -Ofast and -frounding-math
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57000
Bug #: 57000
Summary: 4.8 Regression?, ICE with -Ofast and -frounding-math
Classification: Unclassified
Product: gcc
Version: 4.8.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: vladimir.fuka@gmail.com
The attached source file produces ICE for compilation command
g++ -c -Ofast -frounding-math -std=c++11 polyhedron-preprocessed.cc -v
Using built-in specs.
COLLECT_GCC=g++
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.8-20130411/configure --enable-languages=fortran
--prefix=/usr/local/gcc-4.8
Thread model: posix
gcc version 4.8.1 20130411 (prerelease) (GCC)
COLLECT_GCC_OPTIONS='-c' '-Ofast' '-frounding-math' '-std=c++11' '-v'
'-shared-libgcc' '-mtune=generic' '-march=x86-64'
/usr/local/gcc-4.8/libexec/gcc/x86_64-unknown-linux-gnu/4.8.1/cc1plus -quiet
-v -D_GNU_SOURCE polyhedron-preprocessed.cc -quiet -dumpbase
polyhedron-preprocessed.cc -mtune=generic -march=x86-64 -auxbase
polyhedron-preprocessed -Ofast -std=c++11 -version -frounding-math -o
/tmp/ccDOqrHe.s
GNU C++ (GCC) version 4.8.1 20130411 (prerelease) (x86_64-unknown-linux-gnu)
compiled by GNU C version 4.8.1 20130411 (prerelease), GMP version
4.3.1, MPFR version 2.4.1-p5, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory
"/usr/local/gcc-4.8/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../x86_64-unknown-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/local/gcc-4.8/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../include/c++/4.8.1
/usr/local/gcc-4.8/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../include/c++/4.8.1/x86_64-unknown-linux-gnu
/usr/local/gcc-4.8/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../include/c++/4.8.1/backward
/usr/local/gcc-4.8/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/include
/usr/local/include
/usr/local/gcc-4.8/include
/usr/local/gcc-4.8/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/include-fixed
/usr/include
End of search list.
GNU C++ (GCC) version 4.8.1 20130411 (prerelease) (x86_64-unknown-linux-gnu)
compiled by GNU C version 4.8.1 20130411 (prerelease), GMP version
4.3.1, MPFR version 2.4.1-p5, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 56fe9a649d5acfd8c75015f1b8b7dca4
In file included from /usr/local/include/CGAL/AABB_tree.h:26:0,
from cgal_polyhedra.cc:2:
/usr/local/include/CGAL/internal/AABB_tree/AABB_traversal_traits.h: In member
function âvoid
CGAL::internal::AABB_tree::Projection_traits<AABBTraits>::intersection(const
Point&, const Primitive&) [with AABBTraits =
CGAL::AABB_traits<CGAL::Simple_cartesian<double>,
CGAL::AABB_polyhedron_triangle_primitive<CGAL::Simple_cartesian<double>,
CGAL::Polyhedron_3<CGAL::Simple_cartesian<double> > > >;
CGAL::internal::AABB_tree::Projection_traits<AABBTraits>::Point =
CGAL::Point_3<CGAL::Simple_cartesian<double> >;
CGAL::internal::AABB_tree::Projection_traits<AABBTraits>::Primitive =
CGAL::AABB_polyhedron_triangle_primitive<CGAL::Simple_cartesian<double>,
CGAL::Polyhedron_3<CGAL::Simple_cartesian<double> > >]â:
/usr/local/include/CGAL/internal/AABB_tree/AABB_traversal_traits.h:299:8:
internal compiler error: NeoprÃvnÄnà pÅÃstup do pamÄti (SIGSEGV)
void intersection(const Point& query, const Primitive& primitive)
^
0x8b40bf crash_signal
../../gcc-4.8-20130411/gcc/toplev.c:332
0x92c8b2 gimple_code
../../gcc-4.8-20130411/gcc/gimple.h:1149
0x92c8b2 gimple_nop_p
../../gcc-4.8-20130411/gcc/gimple.h:4875
0x92c8b2 walk_aliased_vdefs_1
../../gcc-4.8-20130411/gcc/tree-ssa-alias.c:2202
0x92d32d walk_aliased_vdefs(ao_ref_s*, tree_node*, bool (*)(ao_ref_s*,
tree_node*, void*), void*, bitmap_head_def**)
../../gcc-4.8-20130411/gcc/tree-ssa-alias.c:2238
0x93bdfb propagate_necessity
../../gcc-4.8-20130411/gcc/tree-ssa-dce.c:908
0x93cb14 perform_tree_ssa_dce
../../gcc-4.8-20130411/gcc/tree-ssa-dce.c:1583
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
It works on another machine with GCC 4.7.2.