[Bug c++/38424] New: ice: segmentation fault

2008-12-05 Thread gcc at spatium dot org
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 2da4f0dcc1f61df8b81fc3e08947333a
puzzlewidget.cpp: In member function 'virtual void
PuzzleWidget::mousePressEvent(QMouseEvent*)':
puzzlewidget.cpp:137: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

.ii file follows...


-- 
   Summary: ice: segmentation fault
   Product: gcc
   Version: 4.4.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gcc at spatium dot org
  GCC host triplet: x86_64-unknown-linux-gnu


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



[Bug c++/38424] ice: segmentation fault

2008-12-05 Thread gcc at spatium dot org


--- Comment #1 from gcc at spatium dot org  2008-12-06 07:30 ---
Created an attachment (id=16838)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16838&action=view)
the .ii file, bzipped


-- 


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



[Bug c++/38485] New: possible regression: expected primary-expression at end of input

2008-12-11 Thread gcc at spatium dot org
Compressed .ii file goes as attachment.

gcc 4.3.2: (reports no errors)

my gcc:

g++ -c kded_kephal_automoc.ii

In file included from
/src/a/kde/4.1.80/o/kdebase-workplace/libs/kephal/kded_kephal/moc_xmlconfigurations.cpp:11,
 from
/src/a/kde/4.1.80/o/kdebase-workplace/libs/kephal/kded_kephal/kded_kephal_automoc.cpp:6:
/src/a/kde/4.1.80/o/kdebase-workplace/libs/kephal/kded_kephal/../../../../../kdebase-workspace-4.1.80/libs/kephal/configurations/xml/xmlconfigurations.h:104:
error: expected primary-expression at end of input

g++ -v

Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../svn/configure --prefix=/usr --enable-threads
--enable-shared --enable-languages=c,c++ --host=x86_64-unknown-linux-gnu
--with-system-zlib --with-x --enable-java-awt=gtk
--enable-targets=x86_64-unknown-linux-gnu --with-arch=athlon64
--with-tune=athlon64 --with-cpu=athlon64 --disable-multilib
--enable-__cxa_atexit --enable-libada --enable-gtk-cairo
--enable-libgcj-multifile --with-long-double-128 --disable-nls
Thread model: posix
gcc version 4.4.0 20081211 (experimental) (GCC) 

The problem is at line 9355 of the .ii: (comment it out and it works)

void translateToOther(QMap & layout, Output * base, QMap
 match = (QMap()));

...and from what I could figure out, it is the right-side of the '=' default
parameter assignment.

>From my understanding, the code sould be equivalent to this small test case:

template  class blah {
T1 whatever1;
T2 whatever2;
public:
inline blah() {}
inline T1 get1() { return whatever1; }
};

int foo(blah  bar = (blah  ())) {
return bar.get1();
}

int main(void) {
return foo();
}

However, this code compiles and runs perfectly on my gcc.


-- 
   Summary: possible regression: expected primary-expression at end
of input
   Product: gcc
   Version: 4.4.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gcc at spatium dot org
  GCC host triplet: x86_64-unknown-linux-gnu


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



[Bug c++/38485] possible regression: expected primary-expression at end of input

2008-12-11 Thread gcc at spatium dot org


--- Comment #1 from gcc at spatium dot org  2008-12-11 12:35 ---
Created an attachment (id=16883)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16883&action=view)
the faulty .ii file


-- 


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



[Bug middle-end/36359] missed optimization in some cases with PRE VRP and other passes combined together

2009-01-25 Thread gcc at spatium dot org


--- Comment #19 from gcc at spatium dot org  2009-01-25 19:25 ---
This thing still exists in 2.6.28.2; what do you suggest should be changed in
the kernel to let it compile again?


-- 

gcc at spatium dot org changed:

   What|Removed |Added

 CC||gcc at spatium dot org


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



[Bug ada/37601] New: gcc-4.4-20080919 ada build failure

2008-09-20 Thread gcc at spatium dot org
$ ../gcc-4.4-20080919/configure --prefix=/usr --enable-threads --enable-shared
--enable-languages=c,c++,ada --host=x86_64-unknown-linux-gnu --with-system-zlib
--with-x --enable-java-awt=gtk --enable-targets=x86_64-unknown-linux-gnu
--with-arch=athlon64 --with-tune=athlon64 --with-cpu=athlon64
--disable-multilib --enable-__cxa_atexit --enable-libada --enable-gtk-cairo
--enable-libgcj-multifile --with-long-double-128 --disable-nls
$ make profiledbootstrap
[...]
make[3]: Entering directory `/src/a/gcc/o-4.4/gcc'
/src/a/gcc/o-4.4/./prev-gcc/xgcc -B/src/a/gcc/o-4.4/./prev-gcc/
-B/usr/x86_64-unknown-linux-gnu/bin/ -c -g -O2 -fprofile-generate  -gnatpg
-gnata -nostdinc -I- -I. -Iada -I../../gcc-4.4-20080919/gcc/ada
-I../../gcc-4.4-20080919/gcc/ada/gcc-interface
../../gcc-4.4-20080919/gcc/ada/checks.adb -o ada/checks.o

raised STORAGE_ERROR : stack overflow (or erroneous memory access)
make[3]: *** [ada/checks.o] Error 1
$ ulimit -s
10


-- 
   Summary: gcc-4.4-20080919 ada build failure
   Product: gcc
   Version: 4.4.0
Status: UNCONFIRMED
  Severity: blocker
  Priority: P3
 Component: ada
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gcc at spatium dot org
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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



[Bug ada/37601] gcc-4.4-20080919 ada build failure

2008-09-20 Thread gcc at spatium dot org


--- Comment #1 from gcc at spatium dot org  2008-09-20 18:57 ---
(In reply to comment #0)
current gcc ver.: 4.3.1


-- 

gcc at spatium dot org changed:

   What|Removed |Added

Summary|gcc-4.4-20080919 ada build  |gcc-4.4-20080919 ada build
   |failure |failure


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



[Bug middle-end/37601] [4.4 Regression] gcc-4.4-20080919 ada build failure

2008-09-24 Thread gcc at spatium dot org


--- Comment #3 from gcc at spatium dot org  2008-09-24 09:37 ---
Subject: Re:  [4.4 Regression] gcc-4.4-20080919 ada build failure

pinskia at gcc dot gnu dot org wrote 767 bytes:
> Can you try this again?

same thing with latest trunk.


-- 


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



[Bug middle-end/37601] [4.4 Regression] gcc-4.4-20080919 ada build failure

2008-09-28 Thread gcc at spatium dot org


--- Comment #5 from gcc at spatium dot org  2008-09-28 17:27 ---
Subject: Re:  [4.4 Regression] gcc-4.4-20080919 ada build failure

> What happens if you don't use profiledbootstrap but instead bootstrap?

I did make bootstrap in the very same directory and it built everything
okay. However, note that I'd like very much to be able to profiledboot,
especially since another profiledbootstrap bug was fixed only recently.


-- 


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



[Bug ada/35537] New: gnat bug while compiling 4.3.0

2008-03-11 Thread gcc at spatium dot org
biberty/testsuite'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/src/a/gcc/o/libiberty/testsuite'
make[3]: Leaving directory `/src/a/gcc/o/libiberty'
make[3]: Entering directory `/src/a/gcc/o/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/src/a/gcc/o/intl'
make[3]: Entering directory
`/src/a/gcc/o/build-x86_64-unknown-linux-gnu/libiberty'
make[4]: Entering directory
`/src/a/gcc/o/build-x86_64-unknown-linux-gnu/libiberty/testsuite'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory
`/src/a/gcc/o/build-x86_64-unknown-linux-gnu/libiberty/testsuite'
make[3]: Leaving directory
`/src/a/gcc/o/build-x86_64-unknown-linux-gnu/libiberty'
make[3]: Entering directory
`/src/a/gcc/o/build-x86_64-unknown-linux-gnu/fixincludes'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/src/a/gcc/o/build-x86_64-unknown-linux-gnu/fixincludes'
make[3]: Entering directory `/src/a/gcc/o/zlib'
true "AR_FLAGS=rc" "CC_FOR_BUILD=/src/a/gcc/o/./prev-gcc/xgcc
-B/src/a/gcc/o/./prev-gcc/ -B/usr/x86_64-unknown-linux-gnu/bin/" "CFLAGS=-g -O2
-fprofile-generate" "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=-g -O2"
"CFLAGS_FOR_TARGET=-O2 -g -g -O2  " "INSTALL=/usr/bin/install -c"
"INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c"
"INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-g -O2
-fprofile-generate" "LIBCFLAGS_FOR_TARGET=-O2 -g -g -O2  " "MAKE=make"
"MAKEINFO=makeinfo --split-size=500 --split-size=500
--split-size=500 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh"
"EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/usr"
"infodir=/usr/info" "libdir=/usr/lib" "prefix=/usr"
"tooldir=/usr/x86_64-unknown-linux-gnu" "AR=ar" "AS=as"
"CC=/src/a/gcc/o/./prev-gcc/xgcc -B/src/a/gcc/o/./prev-gcc/
-B/usr/x86_64-unknown-linux-gnu/bin/" "CXX=g++ -march=athlon64 -pipe"
"LD=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.2.3/../../../../x86_64-unknown-linux-gnu/bin/ld"
"LIBCFLAGS=-g -O2 -fprofile-generate" "NM=nm" "PICFLAG=" "RANLIB=ranlib"
"DESTDIR=" DO=all multi-do # make
make[3]: Leaving directory `/src/a/gcc/o/zlib'
make[3]: Entering directory `/src/a/gcc/o/libcpp'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/src/a/gcc/o/libcpp'
make[3]: Entering directory `/src/a/gcc/o/libdecnumber'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/src/a/gcc/o/libdecnumber'
make[3]: Entering directory `/src/a/gcc/o/gcc'
/src/a/gcc/o/./prev-gcc/xgcc -B/src/a/gcc/o/./prev-gcc/
-B/usr/x86_64-unknown-linux-gnu/bin/ -c -g -O2 -fprofile-generate  -gnatpg
-gnata -g -O1 -fno-inline \
 -nostdinc -I- -I. -Iada -I../../gcc-4.3.0/gcc/ada
../../gcc-4.3.0/gcc/ada/a-except.adb -o ada/a-except.o
../../gcc-4.3.0/gcc/ada/a-except.adb: In function
'Ada.Exceptions.Raise_From_Controlled_Operation':
../../gcc-4.3.0/gcc/ada/a-except.adb:1305: error: control flow in the middle of
basic block 20
../../gcc-4.3.0/gcc/ada/a-except.adb:1305: error: control flow in the middle of
basic block 20
../../gcc-4.3.0/gcc/ada/a-except.adb:1305: error: control flow in the middle of
basic block 20
../../gcc-4.3.0/gcc/ada/a-except.adb:1305: error: control flow in the middle of
basic block 20
+===GNAT BUG DETECTED==+
| 4.3.0 (x86_64-unknown-linux-gnu) verify_flow_info failed |
| Error detected around ../../gcc-4.3.0/gcc/ada/a-except.adb:1305  |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.|
| Use a subject line meaningful to you and us to track the bug.|
| Include the entire contents of this bug box in the report.   |
| Include the exact gcc or gnatmake command that you entered.  |
| Also include sources listed below in gnatchop format |
| (concatenated together with no headers between files).   |
+==+

Please include these source files with error report
Note that list may not be accurate in some cases,
so please double check that the problem can still
be reproduced with the set of files listed.



raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:398
make[3]: *** [ada/a-except.o] Error 1
make[3]: Leaving directory `/src/a/gcc/o/gcc'
make[2]: *** [all-stageprofile-gcc] Error 2
make[2]: Leaving directory `/src/a/gcc/o'
make[1]: *** [stageprofile-bubble] Error 2
make[1]: Leaving directory `/src/a/gcc/o'
make: *** [profiledbootstrap] Error 2


-- 
   Summary: gnat bug while compiling 4.3.0
   Product: gcc
   Version: 4.3.0
Status: UNCONFIRMED
  Severity: blocker
  Priority: P3
 Component: ada
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gcc at spatium dot org
  GCC host triplet: x86_64-unknown-linux-gnu


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



[Bug middle-end/32581] make profiledbootstrap - stageprofile - gcc/ada/a-except.adb:1301: error: control flow in the middle of basic block 20

2008-03-11 Thread gcc at spatium dot org


--- Comment #7 from gcc at spatium dot org  2008-03-11 18:46 ---
(In reply to comment #6)
> *** Bug 35537 has been marked as a duplicate of this bug. ***
> 

this bug seems to appear only with profiledbootstrap. i'm able to do normal
bootstrap without running into the problem.


-- 


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