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: [PATCH] Fix PR37284


> Given your worries expressed in the PR:
> 
> > As this removal fixes up DECL_POINTER_ALIAS_SET this may even cause
> > wrong code to be emitted during RTL optimization.
> 
> ... isn't it more future-proof to hardcode -fno-strict-aliasing when not
> optimizing?

The downside of that is that it might increase the chances that some
warnings will only occur when optimizing.  Tracking what alias set
something is in may be valuable for diagnostic purposes even if we aren't
optimizing (and hence not using it).


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