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: Volatile MEMs in statement expressions and functions inlined as trees


Richard Almquist <ralmquist@ssi-corp.com> writes:

[...]

| I do think that we should document what GCC is doing once a decision
| has been made.

Completely agreed.  The subtile difference C vs. C++ should also
documented. 

| I also think we might want to issue a warning when volatile variables 
| are used in an assingment chain because the result might not be what is
| expected or intended.

Also agreed.

-- Gaby


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