CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
32 lines
1.3 KiB
C
32 lines
1.3 KiB
C
/* The following is written to tickle a specific bug in the macro
|
|
table code (now hopefully fixed), which doesn't insert new included
|
|
files in the #including file's list in the proper place. They
|
|
should be sorted by the number of the line which #included them, in
|
|
increasing order, but the sense of the comparison was reversed, so
|
|
the list ends up being built backwards. This isn't a problem by
|
|
itself, but the code to pick new, non-conflicting line numbers for
|
|
headers alleged to be #included at the same line as some other
|
|
header assumes that the list's line numbers are in ascending order.
|
|
|
|
So, given the following input, lineinc1.h gets added to lineinc.c's
|
|
#inclusion list first, at line 10. When the debug info reader
|
|
tries to add lineinc2.h at line 10 as well, the code will notice the
|
|
duplication --- since there's only one extant element in the list,
|
|
it'll find it --- and insert it after lineinc1.h, with line 11.
|
|
Since the code is putting the list in order of descending
|
|
#inclusion line number, the list is now out of order. When we try
|
|
to #include lineinc3.h at line 11, we won't notice the duplication. */
|
|
|
|
#line 10
|
|
#include "lineinc1.h"
|
|
#line 10
|
|
#include "lineinc2.h"
|
|
#line 11
|
|
#include "lineinc3.h"
|
|
|
|
int
|
|
main (int argc, char **argv)
|
|
{
|
|
return 0;
|
|
}
|