This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Add test case from PR c++/29571 in the test suite


Hello Simon,

Simon Martin <simon-l.martin@laposte.net> a Ãcrit:


> The test case from this PR used to trigger an ICE in 2006, but does
> not anymore now:
>
> ===
> struct A
> {
>    static const int i = 0/0 + "";
>    static const int j = int(i);
> };
> ===
>
> The attached patch therefore adds the case into the regression. Is it
> OK for trunk?

I am not a maintainer but I believe this is obvious. So I think you can
just go ahead and commit it.

Thanks.

-- 
	Dodji


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]