[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: An ICE that does not generate a full report
From: |
Gaius Mulley |
Subject: |
Re: An ICE that does not generate a full report |
Date: |
Tue, 16 Apr 2024 14:10:45 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Alice Osako <alicetrillianosako@gmail.com> writes:
> I was able to get it to update eventually, and the current version
> does fix many, many issues, and gave me the room to fix many more.
>
> However, Dictionary.mod is still causing an ICE.
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> // Target: x86_64-pc-linux-gnu
> // Configured with: /home/schol-r-lea/Deployments/gm2/gcc/configure
> --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu
> --prefix=/home/schol-r-lea/opt --bindir=/home/schol-r-lea/opt/bin
> --libdir=/home/schol-r-lea/opt/lib
> --libexecdir=/home/schol-r-lea/opt/lib --enable-threads=posix
> --enable-clocale=gnu --disable-multilib --disable-bootstrap
> --enable-checking --enable-languages=m2 : (reconfigured)
> /home/schol-r-lea/Deployments/gm2/gcc/configure
> --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu
> --prefix=/home/schol-r-lea/opt --bindir=/home/schol-r-lea/opt/bin
> --libdir=/home/schol-r-lea/opt/lib
> --libexecdir=/home/schol-r-lea/opt/lib --enable-threads=posix
> --enable-clocale=gnu --disable-multilib --disable-bootstrap
> --enable-checking --enable-languages=m2
> // Thread model: posix
> // Supported LTO compression algorithms: zlib zstd
> // gcc version 14.0.1 20240410 (experimental) (GCC)
> //
> // -quiet: internal compiler error: symbol out of bounds
> // 0x22b51d7 internal_error(char const*, ...)
> // ???:0
> // 0x969bb2 m2linemap_internal_error
> // ???:0
> // 0xa3a8cb M2Emit_InternalError
> // ???:0
> // 0x9957fe M2Error_InternalError
> // ???:0
> // 0x9fab49 SymbolTable_IsSubrange
> // ???:0
> // 0x98b184 M2Base_IsOrdinalType
> // ???:0
> // 0x9ec22e PCSymBuild_PushConstFunctionType
> // ???:0
> // 0xa27bb3 PCBuild_CompilationUnit
> // ???:0
> // 0x992bfe M2Comp_compile
> // ???:0
> // Please submit a full bug report, with preprocessed source.
> // Please include the complete backtrace with any bug report.
> // See <https://gcc.gnu.org/bugs/> for instructions.
>
> // /home/schol-r-lea/opt/lib/gcc/x86_64-pc-linux-gnu/14.0.1/cc1gm2
> -quiet -dumpdir obj/ -dumpbase Dictionary.mod -dumpbase-ext .mod
> -mtune=generic -march=x86-64 -g -fiso -freport-bug
> -fdebug-function-line-numbers -fsources -fm2-pathname=-
> -fm2-pathnameIsrc/ -fm2-pathnameI. -fscaffold-dynamic
> -flibs=m2iso,m2cor,m2pim,m2log -fm2-pathname=- -fm2-pathnameIsrc/
> -fm2-pathnameI. src/imp/Dictionary.mod -c -o - -frandom-seed=0
> -fdump-noaddr
>
> Compiling: src/imp/Dictionary.mod
> Pass 0: lexical analysis, parsing, modules and associated filenames
> Module SYSTEM :
> /home/schol-r-lea/opt/lib/gcc/x86_64-pc-linux-gnu/14.0.1/m2/m2iso/SYSTEM.def
> [m2iso]
> Module M2RTS :
> /home/schol-r-lea/opt/lib/gcc/x86_64-pc-linux-gnu/14.0.1/m2/m2iso/M2RTS.def
> [m2iso]
> Module RTExceptions :
> /home/schol-r-lea/opt/lib/gcc/x86_64-pc-linux-gnu/14.0.1/m2/m2pim/RTExceptions.def
> [m2pim]
> Module Dictionary : src/Dictionary.def
> Module Dictionary : src/imp/Dictionary.mod
> Module String : src/String.def
> Module Proc : src/Proc.def
> Module Storage :
> /home/schol-r-lea/opt/lib/gcc/x86_64-pc-linux-gnu/14.0.1/m2/m2iso/Storage.def
> [m2iso]
> Module StrBlank : src/StrBlank.def
> Pass 1: scopes, enumerated types, imports and exports
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> This seems to be a separate issue from the others previously reported.
just an update for the above bug - I've a fix which will need to the
applied to git:
$ gm2 -fiso -c -I. -I../ Dictionary.mod -fsources
Compiling: Dictionary.mod
Pass 0: lexical analysis, parsing, modules and associated filenames
Module SYSTEM :
/home/gaius/opt/lib/gcc/x86_64-pc-linux-gnu/14.0.1/m2/m2iso/SYSTEM.def [m2iso]
Module M2RTS :
/home/gaius/opt/lib/gcc/x86_64-pc-linux-gnu/14.0.1/m2/m2iso/M2RTS.def [m2iso]
Module RTExceptions :
/home/gaius/opt/lib/gcc/x86_64-pc-linux-gnu/14.0.1/m2/m2pim/RTExceptions.def
[m2pim]
Module Dictionary : ./Dictionary.def
Module Dictionary : Dictionary.mod
Module String : ../String.def
Module Proc : ./Proc.def
Module Storage :
/home/gaius/opt/lib/gcc/x86_64-pc-linux-gnu/14.0.1/m2/m2iso/Storage.def [m2iso]
Module StrBlank : ./StrBlank.def
Pass 1: scopes, enumerated types, imports and exports
Pass 2: constants and types
Pass C: aggregate constants
Pass 3: quadruple generation
Pass 4: gcc tree generation
symbols to gcc trees
statements to gcc trees
gcc trees given to the gcc backend
$
the bug highlighted about 3 bugs (or missing constant folding cases) -
thanks for the report
regards,
Gaius
- An ICE that does not generate a full report, Alice Osako, 2024/04/04
- Re: An ICE that does not generate a full report, Gaius Mulley, 2024/04/05
- Re: An ICE that does not generate a full report, Gaius Mulley, 2024/04/06
- Re: An ICE that does not generate a full report, Alice Osako, 2024/04/07
- Re: An ICE that does not generate a full report, Alice Osako, 2024/04/07
- Re: An ICE that does not generate a full report, Gaius Mulley, 2024/04/08
- Re: An ICE that does not generate a full report, Alice Osako, 2024/04/08
- Re: An ICE that does not generate a full report, Gaius Mulley, 2024/04/08
- Re: An ICE that does not generate a full report, Alice Osako, 2024/04/11
- Re: An ICE that does not generate a full report, Gaius Mulley, 2024/04/12
- Re: An ICE that does not generate a full report,
Gaius Mulley <=
- Re: An ICE that does not generate a full report, Gaius Mulley, 2024/04/16
- Re: An ICE that does not generate a full report, Alice Osako, 2024/04/17