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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEW
           Assignee|marxin at gcc dot gnu.org          |unassigned at gcc dot 
gnu.org

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
I can with:

$ ./xgcc -v
Using built-in specs.
COLLECT_GCC=./xgcc
Target: powerpc-e300c3-linux-gnu
Configured with: ../configure --enable-languages=c,c++
--prefix=/home/marxin/bin/gcc --disable-bootstrap --disable-multilib
--target=powerpc-e300c3-linux-gnu --without-isl
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.0.0 20191029 (experimental) (GCC) 

$ ./xg++ -B. ~/Programming/testcases/pr92262.c -c -O2 -ftree-loop-distribution
-fvar-tracking-assignments -fpermissive
/home/marxin/Programming/testcases/pr92262.c:10:2: warning: ‘operator new’
takes type ‘size_t’ (‘unsigned int’) as first parameter [-fpermissive]
   10 | *operator new (long unsigned int, void *as)
      |  ^~~~~~~~
/home/marxin/Programming/testcases/pr92262.c: In function ‘int main()’:
/home/marxin/Programming/testcases/pr92262.c:124:1: error: incorrect sharing of
tree nodes
  124 | main ()
      | ^~~~
(unsigned int) &a8
# DEBUG du => (int *) (((sizetype) _5 + 4294967293 <= (sizetype) _29 ?
((((unsigned int) _29 - (unsigned int) _5) + 3) / 4 + 1) * 4 + (unsigned int)
&a8 : (unsigned int) &a8 + 4) - doloop.30_51 * 4)
/home/marxin/Programming/testcases/pr92262.c:124:1: error: incorrect sharing of
tree nodes
(unsigned int) &a8
# DEBUG D#6 => (int *) ((((sizetype) _5 + 4294967293 <= (sizetype) _29 ?
((((unsigned int) _29 - (unsigned int) _5) + 3) / 4 + 1) * 4 + (unsigned int)
&a8 : (unsigned int) &a8 + 4) - doloop.30_51 * 4) + 4)
during GIMPLE pass: ivopts
/home/marxin/Programming/testcases/pr92262.c:124:1: internal compiler error:
verify_gimple failed
0xfebd91 verify_gimple_in_cfg(function*, bool)
        ../../gcc/tree-cfg.c:5427
0xecc6bf execute_function_todo
        ../../gcc/passes.c:1983
0xecd46e execute_todo
        ../../gcc/passes.c:2037
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

Reply via email to