https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85549
Bug ID: 85549 Summary: [8/9 Regression] Infinite loop in ilmbase package Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: jamborm at gcc dot gnu.org, marxin at gcc dot gnu.org Target Milestone: --- Starting from r259319, I see that ilbmbase.ii is miscompiled. #1637 0x000000000042e6aa in void (anonymous namespace)::visit<Imath_2_2::Vec2<short> >(int&, int, int, std::vector<int, std::allocator< int> >&, std::vector<Imath_2_2::Vec2<short>, std::allocator<Imath_2_2::Vec2<short> > >&) [clone .constprop.47] () at ../Iex/IexBaseExc.h:154 ---Type <return> to continue, or q <return> to quit--- #1638 0x000000000042e6aa in void (anonymous namespace)::visit<Imath_2_2::Vec2<short> >(int&, int, int, std::vector<int, std::allocator< int> >&, std::vector<Imath_2_2::Vec2<short>, std::allocator<Imath_2_2::Vec2<short> > >&) [clone .constprop.47] () at ../Iex/IexBaseExc.h:154 #1639 0x000000000042e6aa in void (anonymous namespace)::visit<Imath_2_2::Vec2<short> >(int&, int, int, std::vector<int, std::allocator< int> >&, std::vector<Imath_2_2::Vec2<short>, std::allocator<Imath_2_2::Vec2<short> > >&) [clone .constprop.47] () at ../Iex/IexBaseExc.h:154 #1640 0x000000000042e6aa in void (anonymous namespace)::visit<Imath_2_2::Vec2<short> >(int&, int, int, std::vector<int, std::allocator< int> >&, std::vector<Imath_2_2::Vec2<short>, std::allocator<Imath_2_2::Vec2<short> > >&) [clone .constprop.47] () at ../Iex/IexBaseExc.h:154 #1641 0x000000000042e6aa in void (anonymous namespace)::visit<Imath_2_2::Vec2<short> >(int&, int, int, std::vector<int, std::allocator< int> >&, std::vector<Imath_2_2::Vec2<short>, std::allocator<Imath_2_2::Vec2<short> > >&) [clone .constprop.47] () at ../Iex/IexBaseExc.h:154 #1642 0x000000000042e808 in testBox() () at ../Iex/IexBaseExc.h:154 #1643 0x0000000000403664 in main (argc=<optimized out>, argv=<optimized out>) at main.cpp:67 I'll try to reduce the test-case. Can you Martin please take a look at 3 IPA CP clones that all created here?