Re: C++ PATCH for c++/51587 (ICE with struct/enum conflict)

2011-12-17 Thread Fabien Chêne
2011/12/17 Jason Merrill : > This testcase was aborting when we tried to check ENUM_UNDERLYING_TYPE on a > non-enum.  Fixed by checking the tree code first. Ahem ... thank you ! -- Fabien

C++ PATCH for c++/51587 (ICE with struct/enum conflict)

2011-12-17 Thread Jason Merrill
This testcase was aborting when we tried to check ENUM_UNDERLYING_TYPE on a non-enum. Fixed by checking the tree code first. Tested x86_64-pc-linux-gnu, applying to trunk. commit b01c647f6754097ac85e4ca1d7c80c1da8edc660 Author: Jason Merrill Date: Sat Dec 17 09:30:43 2011 -0500 PR c++/