GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Hailey (hailey@hails.org)'s status on Sunday, 24-Mar-2024 23:03:58 JST Hailey Hailey

    what on earth is going on over at C++

    are they ok

    In conversation Sunday, 24-Mar-2024 23:03:58 JST from hails.org permalink

    Attachments


    1. https://hails.org/system/media_attachments/files/112/147/778/634/127/097/original/15ca4b19581a4d30.png
    • Haelwenn /элвэн/ :triskell: and :blobcathug: like this.
    • GreenSkyOverMe (Monika) repeated this.
    • Embed this notice
      Hailey (hailey@hails.org)'s status on Sunday, 24-Mar-2024 23:08:21 JST Hailey Hailey
      in reply to

      from https://isocpp.org/files/papers/P2809R3.html where the C++ committee has just adopted a proposal to make some infinite loops not UB

      In conversation Sunday, 24-Mar-2024 23:08:21 JST permalink

      Attachments

      1. No result found on File_thumbnail lookup.
        P2809R3: Trivial infinite loops are not Undefined Behavior
      GreenSkyOverMe (Monika) repeated this.
    • Embed this notice
      Doughnut Lollipop 【記録係】:blobfoxgooglymlem: (tk@bbs.kawa-kun.com)'s status on Sunday, 24-Mar-2024 23:08:21 JST Doughnut Lollipop 【記録係】:blobfoxgooglymlem: Doughnut Lollipop 【記録係】:blobfoxgooglymlem:
      in reply to
      @hailey This just makes me want to stick with C. :blobfoxgoogly:
      In conversation Sunday, 24-Mar-2024 23:08:21 JST permalink
    • Embed this notice
      djsumdog (djsumdog@djsumdog.com)'s status on Tuesday, 26-Mar-2024 23:06:22 JST djsumdog djsumdog
      in reply to
      • JordiGH
      • PerryPeak

      ah yes, that did it:

      ❯ clang++ main.cpp -O -o main cassius in 🌐 ellie in /tmp ❯ ./main Hello world!

      of course it would be an optimization flag :blobcatfacepalm:

      In conversation Tuesday, 26-Mar-2024 23:06:22 JST permalink
    • Embed this notice
      PerryPeak (perrypeak@noc.social)'s status on Tuesday, 26-Mar-2024 23:06:24 JST PerryPeak PerryPeak
      in reply to
      • djsumdog
      • JordiGH

      @djsumdog @JordiGH looks like you have to use -O

      In conversation Tuesday, 26-Mar-2024 23:06:24 JST permalink
    • Embed this notice
      djsumdog (djsumdog@djsumdog.com)'s status on Tuesday, 26-Mar-2024 23:06:26 JST djsumdog djsumdog
      in reply to
      • JordiGH
      Sorry I meant it loops as expected with clang 16 (no output; have to ctrl+c to exit). Looks like my machine upgraded to clan 17.0.6 over the weekend ... and it does the same thing. So I guess this "optimization" started in clang 18?
      In conversation Tuesday, 26-Mar-2024 23:06:26 JST permalink

      Attachments


      1. https://djsumdog.com/media/33cd300002d0bf5667df86248c87219db186deaf84dcc46f2891471c48f234d5.png
    • Embed this notice
      JordiGH (jordigh@mathstodon.xyz)'s status on Tuesday, 26-Mar-2024 23:06:27 JST JordiGH JordiGH
      in reply to
      • djsumdog

      @djsumdog Why the heck are you expecting this to terminate?

      In conversation Tuesday, 26-Mar-2024 23:06:27 JST permalink
    • Embed this notice
      djsumdog (djsumdog@djsumdog.com)'s status on Tuesday, 26-Mar-2024 23:06:28 JST djsumdog djsumdog
      in reply to
      What is a "recent version?" This terminates as expected for me in clang 16.0.6 / x86_64-pc-linux-gnu
      In conversation Tuesday, 26-Mar-2024 23:06:28 JST permalink
    • Embed this notice
      Simon Harris (haruki_zaemon@social.harukizaemon.com)'s status on Monday, 01-Apr-2024 19:15:16 JST Simon Harris Simon Harris
      in reply to

      @hailey exchanging one UB (unbounded) for another (unexpected behaviour).

      In conversation Monday, 01-Apr-2024 19:15:16 JST permalink
    • Embed this notice
      hot metal oxide (cda@malt.social)'s status on Monday, 01-Apr-2024 19:19:41 JST hot metal oxide hot metal oxide
      in reply to

      @hailey they are, in fact, not ok.

      In conversation Monday, 01-Apr-2024 19:19:41 JST permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.