gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Guidance requested on narrowing down internal compiler error


From: Gaius Mulley
Subject: Re: Guidance requested on narrowing down internal compiler error
Date: Sat, 30 Mar 2024 22:31:53 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

john o goyo <jog37@riddermarkfarm.ca> writes:

> The patch does not quite work as I expected.
>
> Here is Test.mod:
>
> MODULE Test;
>
> IMPORT SYSTEM;
>
> BEGIN
> END Test.
>
> Here is the output from "gm2-git -fdebug-function-line-numbers  -c
> Test.mod" :
>
>
> /home/build/gcc/git/lib/gcc/sparc-sun-solaris2.11/14.0.1/m2/m2cor/SYSTEM.def:27:12:
> note: In definition module â: pass 2 trace
>    27 | DEFINITION MODULE SYSTEM ;
>       |            ^~~~~~
> /home/build/gcc/git/lib/gcc/sparc-sun-solaris2.11/14.0.1/m2/m2cor/SYSTEM.def:27:19:
> note: In definition module â: pass 2 trace
>    27 | DEFINITION MODULE SYSTEM ;
>       |                   ^~~~~~
> /home/build/gcc/git/lib/gcc/sparc-sun-solaris2.11/14.0.1/m2/m2cor/SYSTEM.def:27:26:
> note: pass 2 trace
>    27 | DEFINITION MODULE SYSTEM ;
>       |                          ^
> /home/build/gcc/git/lib/gcc/sparc-sun-solaris2.11/14.0.1/m2/m2cor/SYSTEM.def:34:1:
> note: pass 2 trace
>    34 | FROM COROUTINES IMPORT PROTECTION ;
> [...]
> /home/build/gcc/git/lib/gcc/sparc-sun-solaris2.11/14.0.1/m2/m2cor/SYSTEM.def:306:47:
> note: pass 2 trace
>   306 |                        RotateCount: CARDINAL) ;
>       |                                               ^
> /home/build/gcc/git/lib/gcc/sparc-sun-solaris2.11/14.0.1/m2/m2cor/SYSTEM.def:309:1:
> note: In definition module â: pass 2 trace
>   309 | END SYSTEM.
>       | ^~~
> /home/build/gcc/git/lib/gcc/sparc-sun-solaris2.11/14.0.1/m2/m2cor/SYSTEM.def:309:5:
> note: pass 2 trace
>   309 | END SYSTEM.
>       |     ^~~~~~
> /home/build/gcc/git/lib/gcc/sparc-sun-solaris2.11/14.0.1/m2/m2cor/SYSTEM.def:309:11:
> note: pass 2 trace
>   309 | END SYSTEM.
>       |           ^
> /home/build/gcc/git/lib/gcc/sparc-sun-solaris2.11/14.0.1/m2/m2cor/SYSTEM.def:310:1:
> note: In definition module â: pass 2 trace
> /home/build/gcc/git/lib/gcc/sparc-sun-solaris2.11/14.0.1/m2/m2cor/SYSTEM.def:310:1:
> error: compilation failed
>
>
> However, "gm2-git -c Test.mod" compiles without complaint.

Hi John,

ah interesting - the bug is occuring during the link phase.  I've almost
finished an improved dump token switch - which should allow for easier
tracing (either source line or token),

regards,
Gaius



reply via email to

[Prev in Thread] Current Thread [Next in Thread]