This is the mail archive of the gcc-bugs@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]

[Bug middle-end/24900] [4.1 Regression] new "value computed is not used" warning in gcc 4.1



------- Comment #7 from aldyh at gcc dot gnu dot org  2005-11-17 21:12 -------
We used to allow this, but have now made the warning stricter.  This behavior
was done deliberately.  See:

http://gcc.gnu.org/ml/gcc-patches/2005-08/msg00275.html

As is explained in the thread, you can modify the macro to use statement
expressions and avoid the warning.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24900


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