)]}'
{
  "commit": "1da280a13bd0fed8801e4bdc95dcd0e780378df7",
  "tree": "def515e869f6a079ac7b04b11b589420cfd48ec7",
  "parents": [
    "658b7eb91c99c67a94d8f23bf8693ad6be6d689f"
  ],
  "author": {
    "name": "Paul-Antoine Arras",
    "email": "parras@baylibre.com",
    "time": "Wed Aug 12 12:22:41 2026 +0200"
  },
  "committer": {
    "name": "Paul-Antoine Arras",
    "email": "parras@baylibre.com",
    "time": "Thu Aug 20 11:21:16 2026 +0200"
  },
  "message": "openmp: Turn -fopenmp-ompt{,-detailed} into a single option with argument\n\nReplace the pair of boolean options -fopenmp-ompt and -fopenmp-ompt-detailed\nwith a single -fopenmp-ompt[\u003dlevel] option, where level is one of minimal\n(the previous default, i.e. neither option given), basic (the previous\n-fopenmp-ompt), or extended (the previous -fopenmp-ompt-detailed). Plain\n-fopenmp-ompt is an alias for -fopenmp-ompt\u003dbasic.\n\nThis avoids the previous scheme in which -fopenmp-ompt-detailed silently\nimplied -fopenmp-ompt, and makes it clearer that the levels are on an\nordered scale rather than independent toggles.  There is no\n-fno-openmp-ompt, since minimal detail is always available once -fopenmp\nis in effect.\n\nAlso improve the documentation wording to emphasise the observable effect to\nthe user rather than implementation details.\n\ngcc/ChangeLog:\n\n\t* common.opt (fopenmp-ompt): Turn into an alias for\n\t-fopenmp-ompt\u003dbasic.\n\t(fopenmp-ompt\u003d): New option, replacing fopenmp-ompt{,-detailed}.\n\t* common.opt.urls: Regenerate.\n\t* doc/invoke.texi (-fopenmp-ompt): Document the new levels and\n\tdrop -fopenmp-ompt-detailed.\n\t* flag-types.h (enum omp_ompt_level): New.\n\t* omp-expand.cc (expand_omp_for_static_nochunk,\n\texpand_omp_for_static_chunk): Check flag_openmp_ompt against\n\tOMP_OMPT_LEVEL_EXTENDED instead of flag_openmp_ompt_detailed.\n\t* opts.cc (finish_options): Adjust diagnostic for the removal of\n\t-fopenmp-ompt-detailed.\n\nlibgomp/ChangeLog:\n\n\t* config/gcn/teams.c (GOMP_distribute_static_worksharing_start):\n\tUpdate comment.\n\t* config/nvptx/teams.c (GOMP_distribute_static_worksharing_start):\n\tLikewise.\n\t* loop.c (GOMP_loop_static_worksharing_start): Likewise.\n\t* teams.c (GOMP_distribute_static_worksharing_start): Likewise.\n\t* testsuite/libgomp.c-c++-common/for-static-3.c: Use\n\t-fopenmp-ompt\u003dextended instead of -fopenmp-ompt-detailed.\n\ngcc/testsuite/ChangeLog:\n\n\t* c-c++-common/gomp/for-static-3.c: Use -fopenmp-ompt\u003dextended\n\tinstead of -fopenmp-ompt-detailed.\n\t* c-c++-common/gomp/openmp-ompt-1.c: Adjust expected diagnostic.\n\t* c-c++-common/gomp/openmp-ompt-2.c: Use -fopenmp-ompt\u003dextended\n\tand adjust expected diagnostic.\n\t* c-c++-common/gomp/scan-8.c: Use -fopenmp-ompt\u003dbasic instead of\n\t-fopenmp-ompt.\n\t* c-c++-common/gomp/scope-7.c: Likewise.\n\t* c-c++-common/gomp/single2.c: Likewise.\n\t* c-c++-common/gomp/for-static-4.c: New test.\n\t* c-c++-common/gomp/openmp-ompt-3.c: New test.\n\t* c-c++-common/gomp/openmp-ompt-4.c: New test.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1c6ad3aa4e5b84e1bf304975d901be21d70bf5c6",
      "old_mode": 33188,
      "old_path": "gcc/common.opt",
      "new_id": "c5590f76ebb6a569eab337de0d94a5e7df1589c2",
      "new_mode": 33188,
      "new_path": "gcc/common.opt"
    },
    {
      "type": "modify",
      "old_id": "567a8dfc2d6a63c6ad1b5a25b6abe43be66b85e1",
      "old_mode": 33188,
      "old_path": "gcc/common.opt.urls",
      "new_id": "ab0f0bd872e8a70b4b6272f25d05051551b97bf9",
      "new_mode": 33188,
      "new_path": "gcc/common.opt.urls"
    },
    {
      "type": "modify",
      "old_id": "01925ecf30d75112456f9ec6b6ce9519ec25426d",
      "old_mode": 33188,
      "old_path": "gcc/doc/invoke.texi",
      "new_id": "8f176d200d31beecf03903b577dbe6dc6c306451",
      "new_mode": 33188,
      "new_path": "gcc/doc/invoke.texi"
    },
    {
      "type": "modify",
      "old_id": "3d182785c82449de9eab7019bebc22946023545e",
      "old_mode": 33188,
      "old_path": "gcc/flag-types.h",
      "new_id": "df983d9d947fcd162e887e785688f9b0eb8f013c",
      "new_mode": 33188,
      "new_path": "gcc/flag-types.h"
    },
    {
      "type": "modify",
      "old_id": "50b9d9817d0cf3a2ae17c43875e96612b2b1f351",
      "old_mode": 33188,
      "old_path": "gcc/omp-expand.cc",
      "new_id": "d3eb3d9fa3298e531216016a2ba9d70366f6d7dc",
      "new_mode": 33188,
      "new_path": "gcc/omp-expand.cc"
    },
    {
      "type": "modify",
      "old_id": "88d533c664177fe60d1e6ae27d70c785016ca3c4",
      "old_mode": 33188,
      "old_path": "gcc/opts.cc",
      "new_id": "7eabab9b2e12018c6d461a6c7a188162228c3394",
      "new_mode": 33188,
      "new_path": "gcc/opts.cc"
    },
    {
      "type": "modify",
      "old_id": "a5cf680a94651badc4a251340b43c46f13950792",
      "old_mode": 33188,
      "old_path": "gcc/testsuite/c-c++-common/gomp/for-static-3.c",
      "new_id": "8164c3894bf750d7454c3678a09f9bdb0fef51a9",
      "new_mode": 33188,
      "new_path": "gcc/testsuite/c-c++-common/gomp/for-static-3.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "ceed535fe1ffb6ef164c1aa2ef6aad7019b06417",
      "new_mode": 33188,
      "new_path": "gcc/testsuite/c-c++-common/gomp/for-static-4.c"
    },
    {
      "type": "modify",
      "old_id": "0a45c2bd52c939d7e6b3d97216b67056f71352b8",
      "old_mode": 33188,
      "old_path": "gcc/testsuite/c-c++-common/gomp/openmp-ompt-1.c",
      "new_id": "7231d95c50b74c626f75ebde25f1411e594b23b3",
      "new_mode": 33188,
      "new_path": "gcc/testsuite/c-c++-common/gomp/openmp-ompt-1.c"
    },
    {
      "type": "modify",
      "old_id": "f93f692032747497345a8e6fb4d9bc7ee35a5ab2",
      "old_mode": 33188,
      "old_path": "gcc/testsuite/c-c++-common/gomp/openmp-ompt-2.c",
      "new_id": "753de82a66e7cffb5c5120721d4d8e9360595e2c",
      "new_mode": 33188,
      "new_path": "gcc/testsuite/c-c++-common/gomp/openmp-ompt-2.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "66c3da6912bb337f32c585be7920d8311664da1b",
      "new_mode": 33188,
      "new_path": "gcc/testsuite/c-c++-common/gomp/openmp-ompt-3.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "86f43fdbc081850db6a62716ed7e9bd26cd9339e",
      "new_mode": 33188,
      "new_path": "gcc/testsuite/c-c++-common/gomp/openmp-ompt-4.c"
    },
    {
      "type": "modify",
      "old_id": "cff8c03b34955c2ef3c2dd83ea5a1b9889e66d4f",
      "old_mode": 33188,
      "old_path": "gcc/testsuite/c-c++-common/gomp/scan-8.c",
      "new_id": "c014e448fe0dee9de89ad32040248a161f5fbb44",
      "new_mode": 33188,
      "new_path": "gcc/testsuite/c-c++-common/gomp/scan-8.c"
    },
    {
      "type": "modify",
      "old_id": "9db2fd1053cb678cc4b7a1fa715a0476a568f2a5",
      "old_mode": 33188,
      "old_path": "gcc/testsuite/c-c++-common/gomp/scope-7.c",
      "new_id": "3a6616f5332024135a0c7729e1f177be48569fdf",
      "new_mode": 33188,
      "new_path": "gcc/testsuite/c-c++-common/gomp/scope-7.c"
    },
    {
      "type": "modify",
      "old_id": "215f0368ce4f632f302f31fd419339c49de154d6",
      "old_mode": 33188,
      "old_path": "gcc/testsuite/c-c++-common/gomp/single2.c",
      "new_id": "2622e03cef4d9e871bd28c9d104dfeeb5dc83a5f",
      "new_mode": 33188,
      "new_path": "gcc/testsuite/c-c++-common/gomp/single2.c"
    },
    {
      "type": "modify",
      "old_id": "f748d0db1a4e8ba0136a4d422e7d18bc284778eb",
      "old_mode": 33188,
      "old_path": "libgomp/config/gcn/teams.c",
      "new_id": "2bb55c1e2d81449eac2d7b76ea8dbc5442817391",
      "new_mode": 33188,
      "new_path": "libgomp/config/gcn/teams.c"
    },
    {
      "type": "modify",
      "old_id": "15a3fe5c3178a83ae8bedf41b3cb386bb58d0274",
      "old_mode": 33188,
      "old_path": "libgomp/config/nvptx/teams.c",
      "new_id": "2ff5200845fe283469260888d021ca479ce9b2b9",
      "new_mode": 33188,
      "new_path": "libgomp/config/nvptx/teams.c"
    },
    {
      "type": "modify",
      "old_id": "7474279fcd62f94b93f6891192ec1a4ce0d51057",
      "old_mode": 33188,
      "old_path": "libgomp/loop.c",
      "new_id": "ce0073966582d34a4fe1effd3a6d6a605516526c",
      "new_mode": 33188,
      "new_path": "libgomp/loop.c"
    },
    {
      "type": "modify",
      "old_id": "817d2402910680dd5ef14262ef30180b28aa0c27",
      "old_mode": 33188,
      "old_path": "libgomp/teams.c",
      "new_id": "3d7f5e9a784b55bffdfe90e6101b2ccfc90e2683",
      "new_mode": 33188,
      "new_path": "libgomp/teams.c"
    },
    {
      "type": "modify",
      "old_id": "1f6922fd22576cd779a714faada66dfe007c0d42",
      "old_mode": 33188,
      "old_path": "libgomp/testsuite/libgomp.c-c++-common/for-static-3.c",
      "new_id": "3ded366cc140854c0003cc02d7186cda242c314c",
      "new_mode": 33188,
      "new_path": "libgomp/testsuite/libgomp.c-c++-common/for-static-3.c"
    }
  ]
}
