This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/24849] New: [gomp] ICE in expand_expr_real_1

The head of the gomp branch reports an ICE when trying to compile the snippet

template<typename T> struct Healpix_Map {
  T *map;
  int npix_;

  void Import_nograde (const Healpix_Map<T> &orig) {
#pragma omp parallel
    int m;
#pragma omp for schedule (dynamic)
    for (m=0; m<npix_; ++m) map[m] =[m];

void foo(Healpix_Map<int> &a, Healpix_Map<int> &b) {

~/tmp>g++ -v -c -fopenmp
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /scratch/gompcc/configure --quiet --prefix=/scratch/ugccgomp
ortran --with-gmp=/afs/mpa/data/martin/mygmp
Thread model: posix
gcc version 4.1.0-gomp-20050608-branch 20051109 (experimental) (merged

-quiet -v -D_GNU_S
OURCE -quiet -dumpbase -mtune=pentiumpro -auxbase test -version
-fopenmp -o /tmp/ccCSV
ignoring nonexistent directory
#include "..." search starts here:
#include <...> search starts here:



End of search list.
GNU C++ version 4.1.0-gomp-20050608-branch 20051109 (experimental) (merged
20051109) (i686-pc-linux-gn
        compiled by GNU C version 4.1.0-gomp-20050608-branch 20051109
(experimental) (merged 20051109)
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: d8a8851eea700f35b0082059a490739d In member function 'void Healpix_Map<T>::Import_nograde(const
Healpix_Map<T>&) [with T = int]
': internal compiler error: in expand_expr_real_1, at expr.c:6681
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:> for instructions.

           Summary: [gomp]  ICE in expand_expr_real_1
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: martin at mpa-garching dot mpg dot de
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]