[Bug c++/68476] microblaze: compilation of btSoftBody.cpp doesn't terminate with optimisation

2019-05-22 Thread giulio.benetti at micronovasrl dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68476

Giulio Benetti  changed:

   What|Removed |Added

 CC||giulio.benetti@micronovasrl
   ||.com

--- Comment #8 from Giulio Benetti  ---
Duplicate.
It turns out that this bug behaves like 85180:
- hang on gcc version < 8.x with -O1/2/3

*** This bug has been marked as a duplicate of bug 85180 ***

[Bug c++/68476] microblaze: compilation of btSoftBody.cpp doesn't terminate with optimisation

2016-09-10 Thread arnout at mind dot be
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68476

--- Comment #7 from Arnout Vandecappelle  ---
By the way, the reason I'm coming back to this after more than a year is that
we're now encountering the same problem (compilation that doesn't terminate for
microblaze) with ffmpeg.

[Bug c++/68476] microblaze: compilation of btSoftBody.cpp doesn't terminate with optimisation

2016-09-10 Thread arnout at mind dot be
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68476

--- Comment #6 from Arnout Vandecappelle  ---
Created attachment 39599
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39599=edit
281r.vartrack intermediate output

[Bug c++/68476] microblaze: compilation of btSoftBody.cpp doesn't terminate with optimisation

2016-09-10 Thread arnout at mind dot be
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68476

--- Comment #5 from Arnout Vandecappelle  ---
Created attachment 39598
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39598=edit
280r.alignments intermediate output

[Bug c++/68476] microblaze: compilation of btSoftBody.cpp doesn't terminate with optimisation

2016-09-10 Thread arnout at mind dot be
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68476

Arnout Vandecappelle  changed:

   What|Removed |Added

  Attachment #36813|0   |1
is obsolete||

--- Comment #4 from Arnout Vandecappelle  ---
Created attachment 39597
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39597=edit
Simplified code

[Bug c++/68476] microblaze: compilation of btSoftBody.cpp doesn't terminate with optimisation

2016-09-10 Thread arnout at mind dot be
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68476

Arnout Vandecappelle  changed:

   What|Removed |Added

 CC||arnout at mind dot be
Version|5.2.1   |6.2.0

--- Comment #3 from Arnout Vandecappelle  ---
I just tried again with gcc 6.2 and the problem persists.

I've simplified the code to a minimal reproduction - it's so simple that it's
not worth attaching:


void foo (void* ptr);

struct Node
{
  int m_v[16];
  int m_leaf;
};

void setVolumeMass()
{
  extern struct Node* m_n[4];
  extern struct Node* m_nodes;
  int *ranks;
  int j;

  for(j=0;j<4;++j)
{
  ranks[(int)(m_n[j]-m_nodes)]=1;
}
  foo ((void*)( ranks ));
}



Removing one line from the code above makes it pass.


The last file that is generated when run with -da is now
btSoftBody.i.281r.vartrack. It looks to me like it's much larger than it should
be. I'll attach it, as well as the preceding btSoftBody.i.280r.alignments. When
a line is removed from the code above, the compilation continues with
btSoftBody.i.282r.mach.

[Bug c++/68476] microblaze: compilation of btSoftBody.cpp doesn't terminate with optimisation

2015-11-23 Thread arnout at mind dot be
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68476

--- Comment #2 from Arnout Vandecappelle  ---
Created attachment 36813
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36813=edit
Preprocessed source file that exposes the bug

Attached preprocessed source file.

Compilation output (with gcc 4.9.3; I also tried with 5.2.0 with the same
result):

$
../../../../host/opt/ext-toolchain/bin/microblazeel-buildroot-linux-gnu-g++.br_real
  -O1 -g -c -v btSoftBody.ii
Using built-in specs.
COLLECT_GCC=../../../../host/opt/ext-toolchain/bin/microblazeel-buildroot-linux-gnu-g++.br_real
Target: microblazeel-buildroot-linux-gnu
Configured with: ./configure
--prefix=/opt/br-microblaze-full-2015.08-647-gc356fb2/usr
--sysconfdir=/opt/br-microblaze-full-2015.08-647-gc356fb2/etc --enable-static
--target=microblazeel-buildroot-linux-gnu
--with-sysroot=/opt/br-microblaze-full-2015.08-647-gc356fb2/usr/microblazeel-buildroot-linux-gnu/sysroot
--disable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib
--with-gmp=/opt/br-microblaze-full-2015.08-647-gc356fb2/usr
--with-mpfr=/opt/br-microblaze-full-2015.08-647-gc356fb2/usr
--with-pkgversion='Buildroot 2015.11-git-00647-gc356fb2'
--with-bugurl=http://bugs.buildroot.net/ --disable-libquadmath --enable-tls
--disable-libmudflap --enable-threads
--with-mpc=/opt/br-microblaze-full-2015.08-647-gc356fb2/usr --without-isl
--without-cloog --disable-decimal-float --enable-languages=c,c++
--with-build-time-tools=/opt/br-microblaze-full-2015.08-647-gc356fb2/usr/microblazeel-buildroot-linux-gnu/bin
--enable-shared --disable-libgomp
Thread model: posix
gcc version 4.9.3 (Buildroot 2015.11-git-00647-gc356fb2) 
COLLECT_GCC_OPTIONS='-O1' '-g' '-c' '-v' '-shared-libgcc'

/gentoo/home2/arnout/br-out/bullet/host/opt/ext-toolchain/bin/../libexec/gcc/microblazeel-buildroot-linux-gnu/4.9.3/cc1plus
-fpreprocessed btSoftBody.ii -quiet -dumpbase btSoftBody.ii -auxbase btSoftBody
-g -O1 -version -o /tmp/ccHn1vcs.s
GNU C++ (Buildroot 2015.11-git-00647-gc356fb2) version 4.9.3
(microblazeel-buildroot-linux-gnu)
compiled by GNU C version 4.4.5, GMP version 6.0.0, MPFR version 3.1.3,
MPC version 1.0.3
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C++ (Buildroot 2015.11-git-00647-gc356fb2) version 4.9.3
(microblazeel-buildroot-linux-gnu)
compiled by GNU C version 4.4.5, GMP version 6.0.0, MPFR version 3.1.3,
MPC version 1.0.3
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: a3940dfdf166fdf4d5b4711c8bdc0b77

[Bug c++/68476] microblaze: compilation of btSoftBody.cpp doesn't terminate with optimisation

2015-11-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68476

Richard Biener  changed:

   What|Removed |Added

 Target||microblaze
 Status|UNCONFIRMED |WAITING
   Last reconfirmed||2015-11-23
 Ever confirmed|0   |1

--- Comment #1 from Richard Biener  ---
Waiting for at least a preprocessed source file and the compile output with -v
appended.