https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577

--- Comment #259 from dave.anglin at bell dot net ---
On 2021-07-19 5:00 p.m., me at larbob dot org wrote:
> I've now tried 11.1.0 almost exactly as The Written Word builds it, and still
> get:
>
> during GIMPLE pass: dce
> ../../libiberty/mkstemps.c: In function 'mkstemps':
> ../../libiberty/mkstemps.c:80:1: internal compiler error: Illegal instruction
>    80 | mkstemps (char *pattern, int suffix_len)
>       | ^~~~~~~~
The compiler being used to compile mkstemps.c is broken.  If core dumps are
enabled,
you should be able to use gdb (wdb) directly to find the illegal instruction.

If not, one can find the illegal instruction by adding "-save-temps -v" to the
compile command.
This will give the information needed to run the compilation under gdb (wdb)

If I was to guess, the illegal instruction is likely to be an out of range
branch.

I would check HP patch for HP ld.  There may be version dependent differences
in weak support.

Reply via email to