PATCH: new flag to say when things are synthesized

Gabriel Dos Reis gdr@codesourcery.com
Wed Nov 8 18:09:00 GMT 2000


Brendan Kehoe <brendan@zen.org> writes:

| Similar to the instantiation patch, this flag helps people know when various
| parts of a class have been synthesized quietly for them by the compiler.
| (And, in part, help them when they try to figure out when something they
| thought was going to be created in fact wasn't, because its base ctor was
| non-trivial or whatever...)
| 
| Ok?
| 
| 
| B
| 
| 2000-11-08  Brendan Kehoe  <brendan@zen.org>
| 
| 	* decl2.c (warn_did_synth): New variable.
| 	(lang_decode_option): Set WARN_DID_SYNTH if -Wdid-synth.
| 	* lang-options.h: Add -Wdid-synth/-Wno-did-synth.

What about -Wsynthetizations mirroring -Winstanciations?

-- Gaby
CodeSourcery, LLC                       http://www.codesourcery.com


More information about the Gcc-bugs mailing list