aboutsummaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
authorBob Duff <duff@adacore.com>2022-01-27 11:13:41 -0500
committerPierre-Marie de Rodat <derodat@adacore.com>2022-05-11 08:53:17 +0000
commitd7ca4dfe8dc96c7e78a8fbfedda2558fca2aa277 (patch)
tree56e2c0b0bd104a4698d319bdb3a0bd1085c20597 /libgomp
parente7d9fdf5e0ee4c34a880139254340b4165016289 (diff)
downloadgcc-d7ca4dfe8dc96c7e78a8fbfedda2558fca2aa277.zip
gcc-d7ca4dfe8dc96c7e78a8fbfedda2558fca2aa277.tar.gz
gcc-d7ca4dfe8dc96c7e78a8fbfedda2558fca2aa277.tar.bz2
[Ada] Avoid crash for -gnatR -gnatc
If the -gnatR -gnatc are both given, then the compiler crashes. This patch fixes that, and avoids printing the uncomputed sizes and alignments that were causing the crash. (Previous versions of the compiler printed incorrect values in such cases.) gcc/ada/ * repinfo.adb (List_Object_Info): Do not try to print values that have not been computed (and so are No_Uint). (Rep_Not_Constant): Reverse sense and change name to Compile_Time_Known_Rep. This makes the code at call sites a little more readable. Simplify code to a single return statement.
Diffstat (limited to 'libgomp')
0 files changed, 0 insertions, 0 deletions