RE: [PATCH - C++] Avoid crashing on erroneous static_assert usage

2012-08-06 Thread Jason Merrill
Ok. Original Message From: Dodji Seketeli Sent: Mon, Aug 6, 2012 10:49 AM To: Jason Merrill CC: GCC Patches Subject: [PATCH - C++] Avoid crashing on erroneous static_assert usage When working on something else, I noticed that failing to provide the second argument to

[PATCH - C++] Avoid crashing on erroneous static_assert usage

2012-08-06 Thread Dodji Seketeli
When working on something else, I noticed that failing to provide the second argument to the static_assert operator would lead to an ICE. Fixed thus, and tested against trunk on x86_64-unknown-linux-gnu. gcc/cp/ * semantics.c (finish_static_assert): Don't crash on erroneous messa