[Bug objc++/51159] New: build failure with --enable-build-with-cxx in "gcc-4.6.2/gcc/objc/objc-next-runtime-abi-02.c"

2011-11-16 Thread sebastian.heg...@tu-dresden.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51159

 Bug #: 51159
   Summary: build failure with --enable-build-with-cxx in
"gcc-4.6.2/gcc/objc/objc-next-runtime-abi-02.c"
Classification: Unclassified
   Product: gcc
   Version: 4.6.2
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: objc++
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: sebastian.heg...@tu-dresden.de


Created attachment 25837
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25837
Proposed patch.

I am trying to build gcc-4.6.2 with the following flags:
./../gcc-4.6.2/configure --disable-nls --with-ppl=$GCC_BASE
--with-cloog=$GCC_BASE --prefix=$GCC_BASE --with--mpfr=$GCC_BASE
--with-gmp=$GCC_BASE --with-mpc=$GCC_BASE --with-libelf=$GCC_BASE --enable-lto
--enable-gold --enable-bootstrap --enable-build-with-cxx

Everything necessary is prepared in $GCC_BASE.

Eventually, this happens:
.././../gcc-4.6.2/gcc/objc/objc-next-runtime-abi-02.c: In function ‘const char*
newabi_append_ro(const char*)’:
.././../gcc-4.6.2/gcc/objc/objc-next-runtime-abi-02.c:1884:29: error: invalid
conversion from ‘const char*’ to ‘char*’
make[2]: *** [objc/objc-next-runtime-abi-02.o] Error 1


C++ provides the following signatures for strchr:
const char * strchr ( const char * str, int character );
  char * strchr (   char * str, int character );

Neither of these matches, making the assignment in "dollar = strchr (name,
'$');" fail. Please find the proposed patch attached (which might break
compilation with C, I don't know C as good as C++).


[Bug objc++/51159] build failure with --enable-build-with-cxx in "gcc-4.6.2/gcc/objc/objc-next-runtime-abi-02.c"

2011-11-17 Thread sebastian.heg...@tu-dresden.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51159

--- Comment #2 from sebastian.heg...@tu-dresden.de 2011-11-17 10:44:33 UTC ---
Fixed in trunk r173723, not fixed in gcc-4.6-branch. 

"--enable-build-with-cxx" is an officially supported build option, so it should
work reliably in releases.


[Bug objc++/51159] build failure with --enable-build-with-cxx in "gcc-4.6.2/gcc/objc/objc-next-runtime-abi-02.c"

2011-11-21 Thread sebastian.heg...@tu-dresden.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51159

--- Comment #5 from sebastian.heg...@tu-dresden.de 2011-11-21 09:43:23 UTC ---
Any chance of seeing the fix backported to 4.6, though?


[Bug target/48191] New: internal compiler error: in issue_nops_and_insn, at config/ia64/ia64.c:8258

2011-03-18 Thread sebastian.heg...@tu-dresden.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48191

   Summary: internal compiler error: in issue_nops_and_insn, at
config/ia64/ia64.c:8258
   Product: gcc
   Version: 4.5.2
Status: UNCONFIRMED
  Severity: blocker
  Priority: P3
 Component: target
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: sebastian.heg...@tu-dresden.de


Created attachment 23710
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23710
The preprocessed file (*.i*) that triggers the bug, generated by adding
-save-temps to the complete compilation command, compressed with gzip.

I am trying to compile the CGAL v3.7 ("www.cgal.org") library on IA-64, which
fails with: 

In file included from /scratch/build/CGAL-3.7/src/CGAL/all_files.cpp:37:0:
/scratch/build/CGAL-3.7/src/CGAL/MP_Float.cpp: In function
‘std::pair, int> CGAL::to_interval_exp(const
CGAL::MP_Float&)’:
/scratch/build/CGAL-3.7/src/CGAL/MP_Float.cpp:400:1: internal compiler error:
in issue_nops_and_insn, at config/ia64/ia64.c:8258



Continuing as per "http://gcc.gnu.org/bugs/#report";. Full Terminal output
follows here, the output from "-save-temps" comes as an attachment.



/home/radar-08/modules-ia64/gcc/4.5.2/bin/g++ -v -save-temps  -DCGAL_EXPORTS
-DNDEBUG -frounding-math -O3 -DNDEBUG -fPIC -I/scratch/build/CGAL-3.7/include
-I/home/h0/radar-08/modules-ia64/cgal/3.7/release/include
-I/home/radar-08/modules-ia64/cgal/3.7/release/include   -o
CMakeFiles/CGAL.dir/all_files.cpp.o -c
/scratch/build/CGAL-3.7/src/CGAL/all_files.cpp
Using built-in specs.
COLLECT_GCC=/home/radar-08/modules-ia64/gcc/4.5.2/bin/g++
COLLECT_LTO_WRAPPER=/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../libexec/gcc/ia64-unknown-linux-gnu/4.5.2/lto-wrapper
Target: ia64-unknown-linux-gnu
Configured with: ../gcc-4.5.2/configure
--prefix=/home/radar-08/modules-ia64/gcc/4.5.2
--with--mpfr=/home/radar-08/modules-ia64/gcc/4.5.2
--with-gmp=/home/radar-08/modules-ia64/gcc/4.5.2
--with-mpc=/home/radar-08/modules-ia64/gcc/4.5.2
--with-libelf=/home/radar-08/modules-ia64/gcc/4.5.2 --enable-lto --enable-gold
--enable-bootstrap
Thread model: posix
gcc version 4.5.2 (GCC) 
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-DCGAL_EXPORTS' '-DNDEBUG'
'-frounding-math' '-O3' '-DNDEBUG' '-fPIC' '-I/scratch/build/CGAL-3.7/include'
'-I/home/h0/radar-08/modules-ia64/cgal/3.7/release/include'
'-I/home/radar-08/modules-ia64/cgal/3.7/release/include' '-o'
'CMakeFiles/CGAL.dir/all_files.cpp.o' '-c' '-shared-libgcc'

/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../libexec/gcc/ia64-unknown-linux-gnu/4.5.2/cc1plus
-E -quiet -v -I/scratch/build/CGAL-3.7/include
-I/home/h0/radar-08/modules-ia64/cgal/3.7/release/include
-I/home/radar-08/modules-ia64/cgal/3.7/release/include -iprefix
/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/
-D_GNU_SOURCE -DCGAL_EXPORTS -DNDEBUG -DNDEBUG
/scratch/build/CGAL-3.7/src/CGAL/all_files.cpp -frounding-math -fPIC -O3
-fpch-preprocess -o all_files.ii
ignoring nonexistent directory
"/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../ia64-unknown-linux-gnu/include"
ignoring duplicate directory
"/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2"
ignoring duplicate directory
"/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/ia64-unknown-linux-gnu"
ignoring duplicate directory
"/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/backward"
ignoring duplicate directory
"/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/include"
ignoring duplicate directory
"/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/include-fixed"
ignoring nonexistent directory
"/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../ia64-unknown-linux-gnu/include"
ignoring duplicate directory
"/home/radar-08/modules-ia64/cgal/3.7/release/include"
#include "..." search starts here:
#include <...> search starts here:
 /scratch/build/CGAL-3.7/include
 /home/h0/radar-08/modules-ia64/cgal/3.7/release/include

/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2

/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/ia64-unknown-linux-gnu

/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia

[Bug c++/48215] New: internal compiler error: in vinsn_detach, at sel-sched-ir.c:1268 on IA-64

2011-03-21 Thread sebastian.heg...@tu-dresden.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48215

   Summary: internal compiler error: in vinsn_detach, at
sel-sched-ir.c:1268 on IA-64
   Product: gcc
   Version: 4.5.2
Status: UNCONFIRMED
  Severity: blocker
  Priority: P3
 Component: c++
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: sebastian.heg...@tu-dresden.de


Created attachment 23734
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23734
The preprocessed file (*.i*) that triggers the bug, generated by adding
-save-temps to the complete compilation command, compressed with gzip.

I am trying to compile boost v1.44.0 ("www.boost.org") library on IA-64, which
fails with: 

/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/bits/stl_algobase.h:553:2:
internal compiler error: in vinsn_detach, at sel-sched-ir.c:1268


Important here seems to be the fact that I built GCC with
"--enable-build-with-cxx". Without that option, building my stuff fails
somewhat later on, see bug #48191.



Continuing as per "http://gcc.gnu.org/bugs/#report";. Full Terminal output
follows here, the output from "-save-temps" comes as an attachment.

$g++ -v -save-temps -ftemplate-depth-128 -O3 -finline-functions -Wno-inline
-Wall -pthread -fPIC -fvisibility=hidden -Winvalid-pch -DBOOST_ALL_NO_LIB=1
-DBOOST_BUILD_PCH_ENABLED -DBOOST_MATH_TR1_DYN_LINK=1 -DNDEBUG
-I"bin.v2/libs/math/build/gcc-4.5.2/release/threading-multi/../src/tr1" -I"."
-I"libs/math/src/tr1" -c -o
"bin.v2/libs/math/build/gcc-4.5.2/release/threading-multi/cyl_neumann.o"
"libs/math/build/../src/tr1/cyl_neumann.cpp" 
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../libexec/gcc/ia64-unknown-linux-gnu/4.5.2/lto-wrapper
Target: ia64-unknown-linux-gnu
Configured with: ../gcc-4.5.2/configure
--prefix=/home/radar-08/modules-ia64/gcc/4.5.2
--with--mpfr=/home/radar-08/modules-ia64/gcc/4.5.2
--with-gmp=/home/radar-08/modules-ia64/gcc/4.5.2
--with-mpc=/home/radar-08/modules-ia64/gcc/4.5.2
--with-libelf=/home/radar-08/modules-ia64/gcc/4.5.2 --enable-lto --enable-gold
--enable-bootstrap --enable-build-with-cxx
Thread model: posix
gcc version 4.5.2 (GCC) 
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-ftemplate-depth-128' '-O3'
'-finline-functions' '-Wno-inline' '-Wall' '-pthread' '-fPIC'
'-fvisibility=hidden' '-Winvalid-pch' '-DBOOST_ALL_NO_LIB=1'
'-DBOOST_BUILD_PCH_ENABLED' '-DBOOST_MATH_TR1_DYN_LINK=1' '-DNDEBUG'
'-Ibin.v2/libs/math/build/gcc-4.5.2/release/threading-multi/../src/tr1' '-I.'
'-Ilibs/math/src/tr1' '-c' '-o'
'bin.v2/libs/math/build/gcc-4.5.2/release/threading-multi/cyl_neumann.o'
'-shared-libgcc'

/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../libexec/gcc/ia64-unknown-linux-gnu/4.5.2/cc1plus
-E -quiet -v
-Ibin.v2/libs/math/build/gcc-4.5.2/release/threading-multi/../src/tr1 -I.
-Ilibs/math/src/tr1 -iprefix
/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/
-D_GNU_SOURCE -D_REENTRANT -DBOOST_ALL_NO_LIB=1 -DBOOST_BUILD_PCH_ENABLED
-DBOOST_MATH_TR1_DYN_LINK=1 -DNDEBUG libs/math/build/../src/tr1/cyl_neumann.cpp
-Wno-inline -Wall -Winvalid-pch -ftemplate-depth-128 -finline-functions -fPIC
-fvisibility=hidden -O3 -fpch-preprocess -o cyl_neumann.ii
ignoring nonexistent directory
"/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../ia64-unknown-linux-gnu/include"
ignoring duplicate directory
"/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2"
ignoring duplicate directory
"/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/ia64-unknown-linux-gnu"
ignoring duplicate directory
"/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/backward"
ignoring duplicate directory
"/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/include"
ignoring duplicate directory
"/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/include-fixed"
ignoring nonexistent directory
"/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../ia64-unknown-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 bin.v2/libs/math/build/gcc-4.5.2/release/threading-mu

[Bug target/48191] internal compiler error: in issue_nops_and_insn, at config/ia64/ia64.c:8258

2011-03-21 Thread sebastian.heg...@tu-dresden.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48191

--- Comment #4 from sebastian.heg...@tu-dresden.de 2011-03-21 13:54:55 UTC ---
(In reply to comment #3)
> It looks like this is the same problem as PR 43603 (but with a different error
> result).  I can reproduce it on the trunk at r167587, but it is fixed at
> r167588.
Confirming fixed in r167588. Should we mark this one as a duplicate of PR
43603?


[Bug rtl-optimization/48215] internal compiler error: in vinsn_detach, at sel-sched-ir.c:1268 on IA-64

2011-03-21 Thread sebastian.heg...@tu-dresden.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48215

--- Comment #1 from sebastian.heg...@tu-dresden.de 2011-03-21 14:46:07 UTC ---
There's actually a plethora of ICEs popping up when using a gcc compiled with
"--enable-build-with-cxx".

I'll file separate reports on those, and mention them here when I'm done.


[Bug target/48218] New: internal compiler error: in verify_target_availability, at sel-sched.c:1598 on IA-64

2011-03-21 Thread sebastian.heg...@tu-dresden.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48218

   Summary: internal compiler error: in
verify_target_availability, at sel-sched.c:1598 on
IA-64
   Product: gcc
   Version: 4.5.2
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: sebastian.heg...@tu-dresden.de
  Host: ia64-unknown-linux-gnu
Target: ia64-unknown-linux-gnu
 Build: ia64-unknown-linux-gnu


Created attachment 23735
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23735
The preprocessed file (*.i*) that triggers the bug, generated by adding
-save-temps to the complete compilation command, compressed with gzip.

I am trying to compile boost v1.44.0 ("www.boost.org") library on IA-64, which
fails with: 

libs/serialization/src/extended_type_info.cpp: In member function ‘void
boost::serialization::extended_type_info::key_register() const’:
libs/serialization/src/extended_type_info.cpp:118:1: internal compiler error:
in verify_target_availability, at sel-sched.c:1598


Important here seems to be the fact that I built GCC with
"--enable-build-with-cxx".


Continuing as per "http://gcc.gnu.org/bugs/#report";. Full Terminal output
follows here, the output from "-save-temps" comes as an attachment.

Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../libexec/gcc/ia64-unknown-linux-gnu/4.5.2/lto-wrapper
Target: ia64-unknown-linux-gnu
Configured with: ../gcc-4.5.2/configure
--prefix=/home/radar-08/modules-ia64/gcc/4.5.2
--with--mpfr=/home/radar-08/modules-ia64/gcc/4.5.2
--with-gmp=/home/radar-08/modules-ia64/gcc/4.5.2
--with-mpc=/home/radar-08/modules-ia64/gcc/4.5.2
--with-libelf=/home/radar-08/modules-ia64/gcc/4.5.2 --enable-lto --enable-gold
--enable-bootstrap --enable-build-with-cxx
Thread model: posix
gcc version 4.5.2 (GCC) 
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-ftemplate-depth-128' '-O3'
'-finline-functions' '-Wno-inline' '-Wall' '-pthread' '-fPIC'
'-DBOOST_ALL_NO_LIB=1' '-DBOOST_SERIALIZATION_DYN_LINK=1' '-DNDEBUG' '-I.' '-c'
'-o'
'bin.v2/libs/serialization/build/gcc-4.5.2/release/threading-multi/extended_type_info.o'
'-shared-libgcc'

/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../libexec/gcc/ia64-unknown-linux-gnu/4.5.2/cc1plus
-E -quiet -v -I. -iprefix
/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/
-D_GNU_SOURCE -D_REENTRANT -DBOOST_ALL_NO_LIB=1
-DBOOST_SERIALIZATION_DYN_LINK=1 -DNDEBUG
libs/serialization/src/extended_type_info.cpp -Wno-inline -Wall
-ftemplate-depth-128 -finline-functions -fPIC -O3 -fpch-preprocess -o
extended_type_info.ii
ignoring nonexistent directory
"/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../ia64-unknown-linux-gnu/include"
ignoring duplicate directory
"/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2"
ignoring duplicate directory
"/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/ia64-unknown-linux-gnu"
ignoring duplicate directory
"/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/backward"
ignoring duplicate directory
"/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/include"
ignoring duplicate directory
"/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/include-fixed"
ignoring nonexistent directory
"/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../ia64-unknown-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 .

/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2

/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/ia64-unknown-linux-gnu

/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/backward

/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/include

/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/include-fixed
 /usr/local/include
 /home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../include
 /usr/include
End of search list.
COLLECT_GCC_OPTIONS='-v

[Bug target/48218] internal compiler error: in verify_target_availability, at sel-sched.c:1598 on IA-64

2011-03-21 Thread sebastian.heg...@tu-dresden.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48218

--- Comment #1 from sebastian.heg...@tu-dresden.de 2011-03-21 15:02:42 UTC ---
Created attachment 23736
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23736
Preprocessed file of the same ICE in another code location, compressed with
gzip.


[Bug target/48218] internal compiler error: in verify_target_availability, at sel-sched.c:1598 on IA-64

2011-03-21 Thread sebastian.heg...@tu-dresden.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48218

--- Comment #2 from sebastian.heg...@tu-dresden.de 2011-03-21 15:04:54 UTC ---
Created attachment 23737
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23737
Terminal output of the other failure location.


[Bug target/48218] internal compiler error: in verify_target_availability, at sel-sched.c:1598 on IA-64

2011-03-21 Thread sebastian.heg...@tu-dresden.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48218

--- Comment #3 from sebastian.heg...@tu-dresden.de 2011-03-21 15:09:33 UTC ---
Attachment #23737 and attachment #23736 belong to the same file, which is
different from the original one (and also from the boost 1.44.0 library), but
triggers the same ICE. I hope that helps.


[Bug target/48219] New: internal compiler error: Segmentation fault on IA-64

2011-03-21 Thread sebastian.heg...@tu-dresden.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48219

   Summary: internal compiler error: Segmentation fault on IA-64
   Product: gcc
   Version: 4.5.2
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: sebastian.heg...@tu-dresden.de
  Host: ia64-unknown-linux-gnu
Target: ia64-unknown-linux-gnu
 Build: ia64-unknown-linux-gnu


Created attachment 23738
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23738
The preprocessed file (*.i*) that triggers the bug, generated by adding
-save-temps to the complete compilation command, compressed with gzip.

I am trying to compile boost v1.44.0 ("www.boost.org") library on IA-64, which
fails with: 

./boost/test/utils/runtime/cla/id_policy.hpp: In member function ‘bool
boost::runtime::cla::dual_id_policy::matching(const boost::runtime::cla::parameter&,
boost::runtime::cla::argv_traverser&, bool) const [with MostDerived =
boost::runtime::cla::dual_name_policy, PrimaryId =
boost::runtime::cla::string_name_policy, SecondId =
boost::runtime::cla::char_name_policy]’:
./boost/test/utils/runtime/cla/id_policy.hpp:114:5: internal compiler error:
Segmentation fault

Important here seems to be the fact that I built GCC with
"--enable-build-with-cxx".

Continuing as per "http://gcc.gnu.org/bugs/#report";. Full Terminal output
follows here, the output from "-save-temps" comes as an attachment.

Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../libexec/gcc/ia64-unknown-linux-gnu/4.5.2/lto-wrapper
Target: ia64-unknown-linux-gnu
Configured with: ../gcc-4.5.2/configure
--prefix=/home/radar-08/modules-ia64/gcc/4.5.2
--with--mpfr=/home/radar-08/modules-ia64/gcc/4.5.2
--with-gmp=/home/radar-08/modules-ia64/gcc/4.5.2
--with-mpc=/home/radar-08/modules-ia64/gcc/4.5.2
--with-libelf=/home/radar-08/modules-ia64/gcc/4.5.2 --enable-lto --enable-gold
--enable-bootstrap --enable-build-with-cxx
Thread model: posix
gcc version 4.5.2 (GCC) 
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-ftemplate-depth-128' '-O3'
'-finline-functions' '-Wno-inline' '-Wall' '-pedantic' '-pthread'
'-DBOOST_ALL_NO_LIB=1' '-DNDEBUG' '-I.' '-c' '-o'
'bin.v2/libs/test/build/gcc-4.5.2/release/link-static/threading-multi/unit_test_parameters.o'
'-shared-libgcc'

/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../libexec/gcc/ia64-unknown-linux-gnu/4.5.2/cc1plus
-E -quiet -v -I. -iprefix
/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/
-D_GNU_SOURCE -D_REENTRANT -DBOOST_ALL_NO_LIB=1 -DNDEBUG
libs/test/src/unit_test_parameters.cpp -Wno-inline -Wall -pedantic
-ftemplate-depth-128 -finline-functions -O3 -fpch-preprocess -o
unit_test_parameters.ii
ignoring nonexistent directory
"/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../ia64-unknown-linux-gnu/include"
ignoring duplicate directory
"/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2"
ignoring duplicate directory
"/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/ia64-unknown-linux-gnu"
ignoring duplicate directory
"/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/backward"
ignoring duplicate directory
"/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/include"
ignoring duplicate directory
"/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/include-fixed"
ignoring nonexistent directory
"/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../ia64-unknown-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 .

/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2

/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/ia64-unknown-linux-gnu

/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/backward

/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/include

/home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/ia64-unknown-linux-gnu/4.5.2/include-fixed
 /usr/local/include
 /home/h0/radar-08/modules-ia64/gcc/4.5.2/bin/../lib/gcc/../.

[Bug rtl-optimization/48215] internal compiler error: in vinsn_detach, at sel-sched-ir.c:1268 on IA-64

2011-03-21 Thread sebastian.heg...@tu-dresden.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48215

--- Comment #2 from sebastian.heg...@tu-dresden.de 2011-03-21 15:23:52 UTC ---
I have now submitted PR 48218 and PR 48219, which may or may not be related to
this issue. 

What these three have in common is that they only appear when gcc is built with
"--enable-build-with-cxx".


[Bug target/48219] internal compiler error: Segmentation fault on IA-64

2011-03-21 Thread sebastian.heg...@tu-dresden.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48219

sebastian.heg...@tu-dresden.de changed:

   What|Removed |Added

   Severity|normal  |blocker


[Bug target/48218] internal compiler error: in verify_target_availability, at sel-sched.c:1598 on IA-64

2011-03-21 Thread sebastian.heg...@tu-dresden.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48218

sebastian.heg...@tu-dresden.de changed:

   What|Removed |Added

   Severity|normal  |blocker


[Bug rtl-optimization/48215] internal compiler error: in vinsn_detach, at sel-sched-ir.c:1268 on IA-64

2011-03-22 Thread sebastian.heg...@tu-dresden.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48215

--- Comment #4 from sebastian.heg...@tu-dresden.de 2011-03-22 12:06:17 UTC ---
(In reply to comment #3)
> Looks like PR 46518 (the fix was not propagated from trunk to 4.5-branch). 
> Can you please check whether below patch fixes these problems?
Yes, this fixes this one, and also the other two (PR 48218 and PR 48219). 

Thanks!


[Bug rtl-optimization/48215] internal compiler error: in vinsn_detach, at sel-sched-ir.c:1268 on IA-64

2011-03-22 Thread sebastian.heg...@tu-dresden.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48215

--- Comment #5 from sebastian.heg...@tu-dresden.de 2011-03-22 12:07:01 UTC ---
*** Bug 48218 has been marked as a duplicate of this bug. ***


[Bug target/48218] internal compiler error: in verify_target_availability, at sel-sched.c:1598 on IA-64

2011-03-22 Thread sebastian.heg...@tu-dresden.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48218

sebastian.heg...@tu-dresden.de changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||DUPLICATE

--- Comment #4 from sebastian.heg...@tu-dresden.de 2011-03-22 12:07:01 UTC ---
Duplicate of PR 48215.

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


[Bug target/48219] internal compiler error: Segmentation fault on IA-64

2011-03-22 Thread sebastian.heg...@tu-dresden.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48219

sebastian.heg...@tu-dresden.de changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||DUPLICATE

--- Comment #1 from sebastian.heg...@tu-dresden.de 2011-03-22 12:07:12 UTC ---
Duplicate of PR 48215.

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


[Bug rtl-optimization/48215] internal compiler error: in vinsn_detach, at sel-sched-ir.c:1268 on IA-64

2011-03-22 Thread sebastian.heg...@tu-dresden.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48215

--- Comment #6 from sebastian.heg...@tu-dresden.de 2011-03-22 12:07:13 UTC ---
*** Bug 48219 has been marked as a duplicate of this bug. ***


[Bug middle-end/48272] New: internal compiler error: in setup_insn_reg_pressure_info, at haifa-sched.c:1124

2011-03-24 Thread sebastian.heg...@tu-dresden.de

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48272

   Summary: internal compiler error: in
setup_insn_reg_pressure_info, at haifa-sched.c:1124
   Product: gcc
   Version: 4.5.2
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: middle-end
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: sebastian.heg...@tu-dresden.de
  Host: ia64-unknown-linux-gnu
Target: ia64-unknown-linux-gnu
 Build: ia64-unknown-linux-gnu


Created attachment 23768
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23768
The preprocessed file (*.i*) that triggers the bug, generated by adding
-save-temps to the complete compilation command, compressed with gzip.

I am trying to compile boost v1.44.0 ("www.boost.org") library on IA-64, which
fails with:

libs/iostreams/src/zlib.cpp: In member function
‘boost::iostreams::zlib_error::zlib_error(int)’:
libs/iostreams/src/zlib.cpp:72:7: internal compiler error: in
setup_insn_reg_pressure_info, at haifa-sched.c:1124

I'm seeing this popping up several times, so I'll only report the first
occurence.


Terminal output:
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/home/h0/radar-08/modules-ia64/gcc/4.6.0/bin/../libexec/gcc/ia64-unknown-linux-gnu/4.6.0/lto-wrapper
Target: ia64-unknown-linux-gnu
Configured with: ../gcc-4.6.0/configure
--prefix=/home/radar-08/modules-ia64/gcc/4.6.0
--with--mpfr=/home/radar-08/modules-ia64/gcc/4.6.0
--with-gmp=/home/radar-08/modules-ia64/gcc/4.6.0
--with-mpc=/home/radar-08/modules-ia64/gcc/4.6.0
--with-libelf=/home/radar-08/modules-ia64/gcc/4.6.0 --enable-lto --enable-gold
--enable-bootstrap --enable-build-with-cxx
Thread model: posix
gcc version 4.6.0 20110323 (prerelease) (GCC) 
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-ftemplate-depth=128' '-O3' '-fopenmp'
'-O3' '-fno-signed-zeros' '-fno-trapping-math' '-fassociative-math'
'-freciprocal-math' '-fpeel-loops' '-fipa-pta' '-flto' '-fsched-pressure'
'-fgcse-sm' '-fgcse-las' '-fgcse-after-reload' '-falign-functions=16'
'-fgraphite-identity' '-fivopts' '-ftree-sra' '-ftracer' '-funroll-loops'
'-fvariable-expansion-in-unroller' '-ftree-loop-ivcanon'
'-ftree-loop-distribution' '-floop-interchange' '-floop-strip-mine'
'-floop-block' '-ftree-loop-im' '-ftree-vectorize' '-ftree-slp-vectorize'
'-ftree-vectorizer-verbose=1' '-finline' '-fearly-inlining'
'-findirect-inlining' '-finline-functions-called-once' '-finline-limit=10'
'--param' 'large-function-growth=1' '--param' 'inline-unit-growth=1'
'-finline-functions' '-Wno-inline' '-Wall' '-pthread' '-fPIC' '-D'
'BOOST_ALL_NO_LIB=1' '-D' 'BOOST_IOSTREAMS_DYN_LINK=1' '-D'
'BOOST_IOSTREAMS_USE_DEPRECATED' '-D' 'NDEBUG' '-I' '.' '-c' '-o'
'bin.v2/libs/iostreams/build/gcc-4.6.0/release/threading-multi/zlib.o'
'-shared-libgcc' '-pthread'

/home/h0/radar-08/modules-ia64/gcc/4.6.0/bin/../libexec/gcc/ia64-unknown-linux-gnu/4.6.0/cc1plus
-E -quiet -v -I . -iprefix
/home/h0/radar-08/modules-ia64/gcc/4.6.0/bin/../lib/gcc/ia64-unknown-linux-gnu/4.6.0/
-D_GNU_SOURCE -D_REENTRANT -D BOOST_ALL_NO_LIB=1 -D BOOST_IOSTREAMS_DYN_LINK=1
-D BOOST_IOSTREAMS_USE_DEPRECATED -D NDEBUG libs/iostreams/src/zlib.cpp
-Wno-inline -Wall -ftemplate-depth=128 -fopenmp -fno-signed-zeros
-fno-trapping-math -fassociative-math -freciprocal-math -fpeel-loops -fipa-pta
-flto -fsched-pressure -fgcse-sm -fgcse-las -fgcse-after-reload
-falign-functions=16 -fgraphite-identity -fivopts -ftree-sra -ftracer
-funroll-loops -fvariable-expansion-in-unroller -ftree-loop-ivcanon
-ftree-loop-distribution -floop-interchange -floop-strip-mine -floop-block
-ftree-loop-im -ftree-vectorize -ftree-slp-vectorize
-ftree-vectorizer-verbose=1 -finline -fearly-inlining -findirect-inlining
-finline-functions-called-once -finline-limit=10 -finline-functions -fPIC
-O3 -O3 -fpch-preprocess -o zlib.ii
ignoring nonexistent directory
"/home/h0/radar-08/modules-ia64/gcc/4.6.0/bin/../lib/gcc/ia64-unknown-linux-gnu/4.6.0/../../../../ia64-unknown-linux-gnu/include"
ignoring duplicate directory
"/home/h0/radar-08/modules-ia64/gcc/4.6.0/bin/../lib/gcc/../../lib/gcc/ia64-unknown-linux-gnu/4.6.0/../../../../include/c++/4.6.0"
ignoring duplicate directory
"/home/h0/radar-08/modules-ia64/gcc/4.6.0/bin/../lib/gcc/../../lib/

[Bug middle-end/48272] internal compiler error: in setup_insn_reg_pressure_info, at haifa-sched.c:1124

2011-03-24 Thread sebastian.heg...@tu-dresden.de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48272



--- Comment #1 from sebastian.heg...@tu-dresden.de 2011-03-24 12:46:54 UTC ---

Compiles fine when leaving out "-fsched-pressure"


[Bug tree-optimization/37021] Fortran Complex reduction / multiplication not vectorized

2011-03-25 Thread sebastian.heg...@tu-dresden.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37021

sebastian.heg...@tu-dresden.de changed:

   What|Removed |Added

 CC||sebastian.hegler@tu-dresden
   ||.de

--- Comment #10 from sebastian.heg...@tu-dresden.de 2011-03-25 10:45:47 UTC ---
This one, as well as PR 33133, should be handled by "-floop-interchange". 

Fortran is row-major, so interchanging inner and outer loop would allow the
loops to be coalesced into one, which in turn should be easily vectorized (if
complex numbers can be vectorized, see PR 40770). 

Can you please give me some hints on how to find out if "-floop-interchange"
actually does that? Thanks!


[Bug tree-optimization/37021] Fortran Complex reduction / multiplication not vectorized

2011-03-25 Thread sebastian.heg...@tu-dresden.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37021

--- Comment #11 from sebastian.heg...@tu-dresden.de 2011-03-25 11:38:37 UTC ---
Forget that about folding stuff into one loop, I didn't have my morning coffee
yet. However, the rest still applies. 

I'm looking forward to some help in that regard.

Thanks.


[Bug c++/60873] New: C++11: template class with const member and default ctor should fail to compile?

2014-04-17 Thread sebastian.heg...@tu-dresden.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60873

Bug ID: 60873
   Summary: C++11: template class with const member and default
ctor should fail to compile?
   Product: gcc
   Version: 4.8.2
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
  Assignee: unassigned at gcc dot gnu.org
  Reporter: sebastian.heg...@tu-dresden.de

Consider this minimal example:

template 
struct A {
const T s_;
A() = default;
A(const T& s) : s_(s) {};
};


int main() {
A b(true);
};

Now, A has a default ctor which isn't used, but AFAIK simply defining it as
default violates the standard, so clearly, my code is buggy. 

I wonder, however, if gcc should reject the code, as ICC 2013 does:
error #409: "A::A() [with T=bool]" provides no initializer for:
const member "A::s_ [with T=bool]"
  A b(true);


Thanks!


[Bug c++/60873] C++11: template class with const member and default ctor should fail to compile?

2014-04-17 Thread sebastian.heg...@tu-dresden.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60873

--- Comment #2 from sebastian.heg...@tu-dresden.de ---
Thanks!