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++ Patch] Fix for PR c++/19076 and PR c++/6628


Paolo Carlini wrote:

Actually, I have a 3.0.4 around which emits the warning for Doug's testcase, don't
know whether the generated code is actually different, however.

But seems broken:


doug.cc:2: `void ()()' cannot be `const'-, `volatile'-, or `restrict'-qualified
doug.cc: In function `void fatal()':
doug.cc:7: warning: function declared `noreturn' has a `return' statement
doug.cc:8: warning: `noreturn' function does return


Then, probably saying recent releases, or 3.x would do...

Paolo.


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