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 rtl-optimization/69482] Writing through pointers to volatile not always preserved


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69482

wipedout at yandex dot ru changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wipedout at yandex dot ru

--- Comment #2 from wipedout at yandex dot ru ---
I also found that this code

  int x[4];
  memset_s(x, 6);

also emits no writes. Is this because of undefined behavior or is it for any
other reason?

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