aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorGaius Mulley <gaiusmod2@gmail.com>2024-04-25 15:19:30 +0100
committerGaius Mulley <gaiusmod2@gmail.com>2024-04-25 15:19:30 +0100
commit070dd5c883ec2c0be542f448bd82d0f7f0ead390 (patch)
treecfe0fa7b73588bb86b9dc1edf7b9b1f440300ad4 /libgcc
parent59ff81835fee22a9d4c9a481a4d1814583aae945 (diff)
downloadgcc-070dd5c883ec2c0be542f448bd82d0f7f0ead390.zip
gcc-070dd5c883ec2c0be542f448bd82d0f7f0ead390.tar.gz
gcc-070dd5c883ec2c0be542f448bd82d0f7f0ead390.tar.bz2
modula2: issue the parameter incompatibility error message based on dialect
This tiny patch improves the parameter incompatibility error message by having a different message for the dialect chosen mentioning the specific violation. PIM uses assignment rules for pass by value and expression rules for pass by reference. ISO uses expression type checking for pass by value and pass by reference. gcc/m2/ChangeLog: * gm2-compiler/M2FileName.def (CalculateFileName): Remove quoted string in comment. * gm2-compiler/M2Range.mod (FoldTypeParam): Generate dialect specific parameter incompatibility error message. Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions