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: [C++] Fix PR middle-end/44100




Sent from my iPhone

On May 17, 2010, at 12:48 PM, Eric Botcazou <ebotcazou@adacore.com> wrote:

Well this is not a constant intergal expression so it should be
rejected with -pedantic-errors. Well and maybe even by default for C ++
front-end. This is what that test is testing I think.

No, it is testing the absence of ICE, see PR c/25682.

Well maybe I should rephrase my comment. Does -pedantic-error still errors with that construct? If so is there a testcase for that case?


Thanks,
Andrew Pinski



-- Eric Botcazou


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