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

Paul Hua <paul.hua.gm at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paul.hua.gm at gmail dot com

--- Comment #7 from Paul Hua <paul.hua.gm at gmail dot com> ---
(In reply to Richard Biener from comment #4)
> I can't reproduce on x86_64-linux btw.  Can you be more specific as to what
> selftest fails?  Please use gdb to get at least a backtrace from the failing
> cc1 command.

FYI.

cc1 comand:
/home/xuchenghua/GCC/x86/gcc-r247089_obj/./gcc/cc1 -E -quiet -nostdinc -v
-iprefix
/home/xuchenghua/GCC/x86/gcc-r247089_obj/gcc/../lib/gcc/x86_64-linux-gnu/8.0.0/
-isy
stem /home/xuchenghua/GCC/x86/gcc-r247089_obj/./gcc/include -isystem
/home/xuchenghua/GCC/x86/gcc-r247089_obj/./gcc/include-fixed /dev/null
-mtune=generic -march=x86-64 -fself-test=../../../gcc_git
_trunk/gcc/testsuite/selftests -fpch-preprocess -o null.i

configure with:
xuchenghua@C65-x86:50: gcc $ /home/xuchenghua/GCC/x86/gcc-r247089_obj/gcc/xgcc 
-v
Using built-in specs.
COLLECT_GCC=/home/xuchenghua/GCC/x86/gcc-r247089_obj/gcc/xgcc
Target: x86_64-linux-gnu
Configured with: ../../gcc_git_trunk/configure
--prefix=/home/xuchenghua/toolchain/gcc-r247089 --enable-bootstrap
--enable-shared --enable-threads=posix --enable-checking=release
--enable-multilib--with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-linker-build-id --enable-languages=c,c++,fortran --enable-plugin
--enable-initfini-array --disable-libgcj --enable-gnu-indirect-function
--with-long-double-128 --build=x86_64-linux-gnu --with-pkgversion='gcc trunk
r247089' --with-gmp=/opt/gcc-infrastructure --with-mpfr=/opt/gcc-infrastructure
--with-mpc=/opt/gcc-infrastructure
Thread model: posix
gcc version 8.0.0 20170424 (experimental) (gcc trunk r247089)

gdb backtrace:

xuchenghua@C65-x86:50: gcc $ gdb
/home/xuchenghua/GCC/x86/gcc-r247089_obj/./gcc/cc1
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/xuchenghua/GCC/x86/gcc-r247089_obj/gcc/cc1...done.
warning: File "/home/xuchenghua/GCC/x86/gcc-r247089_obj/gcc/.gdbinit"
auto-loading has been declined by your `auto-load safe-path' set to
"/usr/share/gdb/auto-load:/usr/lib/debug:/usr/bin/mono-gdb.py".
To enable execution of this file add
        add-auto-load-safe-path
/home/xuchenghua/GCC/x86/gcc-r247089_obj/gcc/.gdbinit
line to your configuration file "/home/xuchenghua/.gdbinit".
To completely disable this security protection add
        set auto-load safe-path /
line to your configuration file "/home/xuchenghua/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual.  E.g., run from the shell:
        info "(gdb)Auto-loading safe path"
(gdb) r -E -quiet -nostdinc -v -iprefix
/home/xuchenghua/GCC/x86/gcc-r247089_obj/gcc/../lib/gcc/x86_64-linux-gnu/8.0.0/
-isystem /home/xuchenghua/GCC/x86/gcc-r247089_obj/./gcc/include -isystem
/home/xuchenghua/GCC/x86/gcc-r247089_obj/./gcc/include-fixed /dev/null
-mtune=generic -march=x86-64
-fself-test=../../../gcc_git_trunk/gcc/testsuite/selftests -fpch-preprocess -o
null.i
Starting program: /home/xuchenghua/GCC/x86/gcc-r247089_obj/gcc/cc1 -E -quiet
-nostdinc -v -iprefix
/home/xuchenghua/GCC/x86/gcc-r247089_obj/gcc/../lib/gcc/x86_64-linux-gnu/8.0.0/
-isystem /home/xuchenghua/GCC/x86/gcc-r247089_obj/./gcc/include -isystem
/home/xuchenghua/GCC/x86/gcc-r247089_obj/./gcc/include-fixed /dev/null
-mtune=generic -march=x86-64
-fself-test=../../../gcc_git_trunk/gcc/testsuite/selftests -fpch-preprocess -o
null.i

Program received signal SIGSEGV, Segmentation fault.
0x0000000000c8f426 in
simple_hashmap_traits<default_hash_traits<nofree_string_hash>,
opt_pass*>::is_empty<hash_map<nofree_string_hash, opt_pass*,
simple_hashmap_traits<default_hash_traits<nofree_string_hash>, opt_pass*>
>::hash_entry> (entry=...) at ../../../gcc_git_trunk/gcc/hash-map-traits.h:73
73        return H::is_empty (entry.m_key);
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.132.el6.x86_64
libgcc-4.4.7-4.el6.x86_64 libstdc++-4.4.7-4.el6.x86_64
(gdb) bt
#0  0x0000000000c8f426 in
simple_hashmap_traits<default_hash_traits<nofree_string_hash>,
opt_pass*>::is_empty<hash_map<nofree_string_hash, opt_pass*,
simple_hashmap_traits<default_hash_traits<nofree_string_hash>, opt_pass*>
>::hash_entry> (entry=...) at ../../../gcc_git_trunk/gcc/hash-map-traits.h:73
#1  0x0000000000c8f676 in hash_map<nofree_string_hash, opt_pass*,
simple_hashmap_traits<default_hash_traits<nofree_string_hash>, opt_pass*>
>::hash_entry::is_empty (e=...)
    at ../../../gcc_git_trunk/gcc/hash-map.h:57
#2  0x0000000000c8f949 in hash_table<hash_map<nofree_string_hash, opt_pass*,
simple_hashmap_traits<default_hash_traits<nofree_string_hash>, opt_pass*>
>::hash_entry, xcallocator>::is_empty (v=...)
    at ../../../gcc_git_trunk/gcc/hash-table.h:515
#3  0x0000000000c8f325 in hash_table<hash_map<nofree_string_hash, opt_pass*,
simple_hashmap_traits<default_hash_traits<nofree_string_hash>, opt_pass*>
>::hash_entry, xcallocator>::find_with_hash (
    this=0x31a898e860, comparable=@0x7fffffffd5c8, hash=1802803413) at
../../../gcc_git_trunk/gcc/hash-table.h:842
#4  0x0000000000c8ef27 in hash_map<nofree_string_hash, opt_pass*,
simple_hashmap_traits<default_hash_traits<nofree_string_hash>, opt_pass*>
>::get (this=0x31a898e860, k=@0x7fffffffd5c8)
    at ../../../gcc_git_trunk/gcc/hash-map.h:150
#5  0x0000000000c7cba5 in gcc::pass_manager::register_pass_name
(this=0x26abc00, pass=0x26ac7c0, name=0x26a1970 "tree-omplower") at
../../../gcc_git_trunk/gcc/passes.c:857
#6  0x0000000000c7caa5 in gcc::pass_manager::register_one_dump_file
(this=0x26abc00, pass=0x26ac7c0) at ../../../gcc_git_trunk/gcc/passes.c:827
#7  0x0000000000c7cafb in gcc::pass_manager::register_dump_files
(this=0x26abc00, pass=0x26ac7c0) at ../../../gcc_git_trunk/gcc/passes.c:839
#8  0x0000000000c8b3b6 in gcc::pass_manager::pass_manager (this=0x26abc00,
ctxt=0x2688b40) at ../../../gcc_git_trunk/gcc/passes.c:1607
#9  0x00000000008f1fba in gcc::context::context (this=0x2688b40) at
../../../gcc_git_trunk/gcc/context.c:39
#10 0x0000000000dabcb8 in general_init (argv0=0x7fffffffdd98
"/home/xuchenghua/GCC/x86/gcc-r247089_obj/gcc/cc1", init_signals=true) at
../../../gcc_git_trunk/gcc/toplev.c:1159
#11 0x0000000000dad20f in toplev::main (this=0x7fffffffd8c0, argc=18,
argv=0x7fffffffd9c8) at ../../../gcc_git_trunk/gcc/toplev.c:2089
#12 0x00000000018a4aeb in main (argc=18, argv=0x7fffffffd9c8) at
../../../gcc_git_trunk/gcc/main.c:39
(gdb)

Reply via email to