Re: [Bug tree-optimization/37690] typo in the example for -floop-strip-mine

2008-10-02 Thread Sebastian Pop
The patch looks good. Please install. I also have installed a similar patch in htdocs/gcc-4.4/changes.html

[Bug tree-optimization/37690] typo in the example for -floop-strip-mine

2008-10-02 Thread sebpop at gmail dot com
--- Comment #2 from sebpop at gmail dot com 2008-10-02 06:18 --- Subject: Re: typo in the example for -floop-strip-mine The patch looks good. Please install. I also have installed a similar patch in htdocs/gcc-4.4/changes.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37690

[Bug fortran/37712] New: Parent component name getting confused with structure constructor

2008-10-02 Thread w6ws at earthlink dot net
The following test module creates two derived type, with the second extending the first. Type-bound procedures for initialization are defined by both. However when the init routine for the extended derived type attempts to call the init routine in the parent type, via the parent component name,

[Bug fortran/37712] Parent component name getting confused with structure constructor

2008-10-02 Thread domob at gcc dot gnu dot org
--- Comment #1 from domob at gcc dot gnu dot org 2008-10-02 07:22 --- (In reply to comment #0) subroutine x_init (this, text, value) type(x_t) :: this character(*) :: text integer :: value call base_t%init (text) ! or... call base_init (base_t, text) I

[Bug target/37528] [4.4 Regression] boostrap failure due to configure problems

2008-10-02 Thread dannysmith at gcc dot gnu dot org
--- Comment #9 from dannysmith at gcc dot gnu dot org 2008-10-02 08:39 --- Subject: Bug 37528 Author: dannysmith Date: Thu Oct 2 08:37:36 2008 New Revision: 140830 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=140830 Log: PR target/37528 * config/i386/mingw32.h

[Bug target/37528] [4.4 Regression] boostrap failure due to configure problems

2008-10-02 Thread dannysmith at users dot sourceforge dot net
--- Comment #10 from dannysmith at users dot sourceforge dot net 2008-10-02 08:47 --- Fixed on mingw32 at revision 140803. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37528

[Bug tree-optimization/37686] [4.4 Regression] Building of CPU2000's bzip2 with peak flags with -mcpu=power4 fails with an ICE.

2008-10-02 Thread jakub at gcc dot gnu dot org
--- Comment #14 from jakub at gcc dot gnu dot org 2008-10-02 08:51 --- This is a simple buffer overflow in lambda-code.c. It is easily reproduceable everywhere with the #c12 testcase with just -O3 -ftree-loop-linear -funroll-loops if you add an assert: --- lambda-code.c.jj 2008-09-05

[Bug c/37713] New: ice for legal code with -O3 on 20080926

2008-10-02 Thread dcb314 at hotmail dot com
I just tried to compile the Suse Linux package libbtctl-0.10.0 with the new gcc version 4.4, snapshot dated 20080926. gcc said obexsdp.c: In function 'register_sdp': obexsdp.c:128: internal compiler error: in vectorizable_store, at tree-vect-transform.c:5391 Please submit a full bug report, with

[Bug c/37713] ice for legal code with -O3 on 20080926

2008-10-02 Thread dcb314 at hotmail dot com
--- Comment #1 from dcb314 at hotmail dot com 2008-10-02 09:04 --- Created an attachment (id=16450) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16450action=view) C source code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37713

[Bug tree-optimization/37686] [4.4 Regression] Building of CPU2000's bzip2 with peak flags with -mcpu=power4 fails with an ICE.

2008-10-02 Thread jakub at gcc dot gnu dot org
--- Comment #15 from jakub at gcc dot gnu dot org 2008-10-02 09:05 --- Given that the cy vector is supposed to have 3 parts, the first for ivs, the second for (optional) parameters and the last entry for constant column, and av_for_af_base adds stuff to constant column and to the

[Bug middle-end/37666] [4.4 Regression] ICE compiling newlib

2008-10-02 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2008-10-02 09:11 --- *** This bug has been marked as a duplicate of 37285 *** -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/37285] [4.4 Regression] ICE while building binutils on ppc

2008-10-02 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2008-10-02 09:11 --- *** Bug 37666 has been marked as a duplicate of this bug. *** -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/35874] [4.4 Regression] Error in emit_cmp_and_jump_insn_1, at optabs.c:4425

2008-10-02 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2008-10-02 09:12 --- *** This bug has been marked as a duplicate of 37285 *** -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/37285] [4.4 Regression] ICE while building binutils on ppc

2008-10-02 Thread jakub at gcc dot gnu dot org
--- Comment #9 from jakub at gcc dot gnu dot org 2008-10-02 09:12 --- *** Bug 35874 has been marked as a duplicate of this bug. *** -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/37715] New: Different class sizes with public/private and alignments

2008-10-02 Thread adam at os dot inf dot tu-dresden dot de
I've been experiencing some (for me) rather unexpected behavior with some C++ code. The following is a very reduced test case: class A { private: void *one; } __attribute__((aligned(16))); class C {}; class L { public: class M : A { C _c; }; M m; }; L x; It's about the size of L::M. I.e. if

[Bug c/37714] New: Sign of sin(-0.0) depends on optimization level

2008-10-02 Thread dickinsm at gmail dot com
I compiled the code below with: /opt/local/bin/gcc-mp-4.3 -Wall -O3 -fno-inline main.i There were no warnings or errors from the compiler. The result of executing a.out was: z.imag is 0.00; expected -0.00 If the -O3 option is dropped, or -fno-builtin is added, then the output is as

[Bug tree-optimization/37709] [4.4 Regression] inliner gone crazy

2008-10-02 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-10-02 11:06 --- We seem to accumulate an awful huge stack of BLOCKs during inlining ... are BLOCKs shared? Maybe we can avoid copying equivalent ones. This testcase is bad, as in the end we will optimize it all away to a constant

[Bug middle-end/37710] When peeling an ordinary label off a case-table and making it a default label, strip from the end with identical labels.

2008-10-02 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-10-02 11:08 --- This basically boils down to moving optimizing case labels earlier (we do so after going out-of-ssa). -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/37713] [4.4 Regression] ice for legal code with -O3 on 20080926

2008-10-02 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-10-02 11:19 --- Confirmed. Mine. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

Re: [Bug c++/37715] New: Different class sizes with public/private and alignments

2008-10-02 Thread Andrew Thomas Pinski
Sent from my iPhone On Oct 2, 2008, at 2:09 AM, adam at os dot inf dot tu-dresden dot de [EMAIL PROTECTED] wrote: I've been experiencing some (for me) rather unexpected behavior with some C++ code. The following is a very reduced test case: This comes down to non pod vs pod and tail

[Bug c++/37715] Different class sizes with public/private and alignments

2008-10-02 Thread pinskia at gmail dot com
--- Comment #1 from pinskia at gmail dot com 2008-10-02 11:24 --- Subject: Re: New: Different class sizes with public/private and alignments Sent from my iPhone On Oct 2, 2008, at 2:09 AM, adam at os dot inf dot tu-dresden dot de [EMAIL PROTECTED] wrote: I've been experiencing

[Bug middle-end/37447] [4.4 Regression] test pr28982b.c fails execution on power4 or later with ira change

2008-10-02 Thread amonakov at gcc dot gnu dot org
--- Comment #6 from amonakov at gcc dot gnu dot org 2008-10-02 11:27 --- This patch also fixes miscompilation of vla1.f90 test on ia64 on sel-sched branch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37447

[Bug c/37714] Sign of sin(-0.0) depends on optimization level

2008-10-02 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-10-02 11:42 --- Works on Linux where it replaces it with a call to sincos. Also works with the Linux glibc if explicitly calling cexp like static my_complex c_rect(double phi) { my_complex z; z.imag = __imag cexp (I * phi);

[Bug fortran/37712] Parent component name getting confused with structure constructor

2008-10-02 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2008-10-02 12:11 --- I'm completely lost with your example. You are talking about parent component name, but you have: type x_t which has no parent component. Id had one if you used type, extends(base_t) :: x_t. Then you could use:

[Bug debug/37410] DW_TAG_imported_module is not in its DW_TAG_lexical_block

2008-10-02 Thread dodji at gcc dot gnu dot org
--- Comment #7 from dodji at gcc dot gnu dot org 2008-10-02 12:21 --- @jason: Okay, I have posted the patch that I hope should address your comments. Sorry to not have posted the patch there earlier. I was not sure about the approach and didn't want to add too much noise to gcc-patches

[Bug c++/37716] New: ice for legal C++ code with -O2 on 20080926

2008-10-02 Thread dcb314 at hotmail dot com
I just tried to compile the Suse Linux package libQtWebKit-devel-4.4.0-11 with the new gcc version 4.4, snapshot dated 20080926. gcc said puzzlewidget.cpp: In member function 'virtual void PuzzleWidget::mousePressEvent(Q MouseEvent*)': puzzlewidget.cpp:143: internal compiler error: Segmentation

[Bug c++/37716] ice for legal C++ code with -O2 on 20080926

2008-10-02 Thread dcb314 at hotmail dot com
--- Comment #1 from dcb314 at hotmail dot com 2008-10-02 12:31 --- Created an attachment (id=16451) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16451action=view) gzipped C++ source code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37716

[Bug c++/37717] New: verify_ssa failed for legal C++ with -O2

2008-10-02 Thread dcb314 at hotmail dot com
I just tried to compile the Suse Linux package libQtWebKit-devel-4.4.0-11 with the new gcc version 4.4, snapshot dated 20080926. gcc said piecesmodel.cpp: In member function 'virtual QVariant PiecesModel::data(const QModelIndex, int) const': piecesmodel.cpp:208: error: definition in block 36

[Bug c++/37716] ice for legal C++ code with -O2 on 20080926

2008-10-02 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-10-02 12:38 --- Reducing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37716

[Bug c++/37717] verify_ssa failed for legal C++ with -O2

2008-10-02 Thread dcb314 at hotmail dot com
--- Comment #1 from dcb314 at hotmail dot com 2008-10-02 12:39 --- Created an attachment (id=16452) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16452action=view) gzipped C++ source code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37717

[Bug tree-optimization/37709] [4.4 Regression] inliner gone crazy

2008-10-02 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-10-02 12:56 --- /* When we are not doing full debug info, we however can keep around only the used variables for cfgexpand's memory packing saving quite a lot of memory. */ else if (debug_info_level

[Bug tree-optimization/37709] [4.4 Regression] inliner gone crazy

2008-10-02 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2008-10-02 13:02 --- We optimize func_1 to func_1: movwg_290(%rip), %ax movl$0, g_3(%rip) cwtl ret inlining all its callees recursively ... --

[Bug fortran/37712] Parent component name getting confused with structure constructor

2008-10-02 Thread w6ws at earthlink dot net
--- Comment #3 from w6ws at earthlink dot net 2008-10-02 13:06 --- Subject: Re: Parent component name getting confused with structure constructor Yes, my example is messed up. My excuse is that it was late and I was tired. Next time I will verify against NAG first. Please close

[Bug middle-end/37713] [4.4 Regression] ice for legal code with -O3 on 20080926

2008-10-02 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-10-02 13:11 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/37713] [4.4 Regression] ice for legal code with -O3 on 20080926

2008-10-02 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-10-02 13:12 --- Subject: Bug 37713 Author: rguenth Date: Thu Oct 2 13:11:12 2008 New Revision: 140832 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=140832 Log: 2008-10-02 Richard Guenther [EMAIL PROTECTED] PR

[Bug libstdc++/34480] Argument packs treat __null oddly

2008-10-02 Thread paolo dot carlini at oracle dot com
--- Comment #6 from paolo dot carlini at oracle dot com 2008-10-02 13:52 --- The issue with vector::push_back is fixed in mainline. The issue with std::pair (per DR 767) is still there, however. Maybe Doug can add something about the latter... -- paolo dot carlini at oracle dot com

[Bug c++/28031] [4.2 regression] bogus jump to case label crosses initialization error with C99 anonymous initializers

2008-10-02 Thread cvoica at gmail dot com
--- Comment #5 from cvoica at gmail dot com 2008-10-02 13:56 --- I was trying to compile some code and got this error and thats how I found this bug. It seems strange to me that I cannot use a switch within a case branch and the use the plain std::string. Testcase: 1. This is working:

[Bug tree-optimization/37716] [4.4 Regression] ice for legal C++ code with -O2 on 20080926

2008-10-02 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-10-02 14:10 --- Confirmed. Reduced testcase: struct QListData { struct Data { int ref; int alloc, begin, end; void *array[1]; }; Data *d; inline void **at(int i) const { return d-array +

[Bug tree-optimization/37716] [4.4 Regression] ice for legal C++ code with -O2 on 20080926

2008-10-02 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-10-02 14:19 --- Indeed. ./cc1plus -quiet -O2 bug21.3.cc -fdump-tree-fre-details -fdump-tree-pre-details bug21.3.cc: In function 'void mousePressEvent(int)': bug21.3.cc:37: error: invalid operand in unary operation SR.2_12 = (long

[Bug tree-optimization/37709] [4.4 Regression] inliner gone crazy

2008-10-02 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2008-10-02 14:26 --- The difference is mainly that HEAD inlines all func_* calls, while 4.3 keeps many of them around (I see 30 call func_* insns in 4.3). The 4.4 .text is about half the size of 4.3 .text (i.e. inliner did much better

[Bug c++/28031] [4.2 regression] bogus jump to case label crosses initialization error with C99 anonymous initializers

2008-10-02 Thread mmitchel at gcc dot gnu dot org
--- Comment #6 from mmitchel at gcc dot gnu dot org 2008-10-02 14:30 --- You're getting an error because your code is invalid for the reason the error message states. The reason is that if the value of i is 1, you will end up in the case 1 part with j uninitialized. You can put the

[Bug libstdc++/34423] Reading doubles smaller than 1e-308 in gcc 4.2.2 on os x

2008-10-02 Thread paolo dot carlini at oracle dot com
--- Comment #6 from paolo dot carlini at oracle dot com 2008-10-02 14:32 --- I checked again and the issue certainly doesn't exist anymore in 4_3-branch and mainline: 9.99989e-321 can be input without underflow to zero and without error (i.e., cin.good() == 1 after the input). --

[Bug c/37714] Sign of sin(-0.0) depends on optimization level

2008-10-02 Thread dickinsm at gmail dot com
--- Comment #2 from dickinsm at gmail dot com 2008-10-02 14:34 --- Thanks for the response! It does appear to be true that cexp doesn't follow Annex G of C99, on OS X 10.5.5. I agree that this is undesirable, but I can't see why it should be considered a bug. Annex G of C99 is merely

[Bug bootstrap/37702] Stage 2- C compiler cannot create executables-recent svn

2008-10-02 Thread James dot W dot Mckelvey at jpl dot nasa dot gov
--- Comment #7 from James dot W dot Mckelvey at jpl dot nasa dot gov 2008-10-02 14:36 --- (In reply to comment #5) Subject: Re: Stage 2- C compiler cannot create executables-recent svn What does stat /cygdrive/c/jimdata/home/cvsroot/gcc-obj/./prev-gcc/cc1.exe report? $ stat

[Bug tree-optimization/37686] [4.4 Regression] Building of CPU2000's bzip2 with peak flags with -mcpu=power4 fails with an ICE.

2008-10-02 Thread jakub at gcc dot gnu dot org
--- Comment #16 from jakub at gcc dot gnu dot org 2008-10-02 15:03 --- Wonder whether just am_vector_index_for_loop shouldn't be: static inline int am_vector_index_for_loop (struct access_matrix *access_matrix, int loop_num) { int depth1 = loop_depth (get_loop (loop_num)); int

[Bug fortran/35680] [4.3/4.4 regression] ICE on invalid transfer in variable declaration

2008-10-02 Thread pault at gcc dot gnu dot org
--- Comment #10 from pault at gcc dot gnu dot org 2008-10-02 15:20 --- (In reply to comment #9) As usual, the DEC manual puts in succinctly: If MOLD is an array and SIZE is omitted, the result is a rank-one array. Its size is the smallest that is possible to hold all of SOURCE. This

[Bug c/37714] Sign of sin(-0.0) depends on optimization level

2008-10-02 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-10-02 15:37 --- Well, Darwin GCC maintainers claim that darwin /* All new versions of Darwin have C99 functions. */ #define TARGET_C99_FUNCTIONS 1 so we just rely on that. If it is not true then this is either a darwin bug or

[Bug c++/37717] verify_ssa failed for legal C++ with -O2

2008-10-02 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-10-02 15:39 --- Reducing. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug fortran/35680] [4.3/4.4 regression] ICE on invalid transfer in variable declaration

2008-10-02 Thread dominiq at lps dot ens dot fr
--- Comment #11 from dominiq at lps dot ens dot fr 2008-10-02 15:48 --- If the physical representation of the result is smaller than SOURCE, ... From the xlf manual, I read this for scalar cases, i.e., transfer(x,i) with x real(4) and i integer(8), or when size is given:

[Bug c/37714] Sign of sin(-0.0) depends on optimization level

2008-10-02 Thread dickinsm at gmail dot com
--- Comment #4 from dickinsm at gmail dot com 2008-10-02 15:53 --- Makes sense. Thanks for the explanation. I'll go and file a bug with Apple. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37714

[Bug c++/37717] [4.4 Regression] verify_ssa failed for legal C++ with -O2

2008-10-02 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-10-02 15:56 --- Btw, SRA strikes again. bug22.cc:77593: error: invalid operand in unary operation SR.1004_28 = (long unsigned int) D.159413_18-array[D.159417_23]; bug22.cc:77593: internal compiler error: verify_stmts failed

[Bug tree-optimization/37717] [4.4 Regression] verify_ssa failed for legal C++ with -O2

2008-10-02 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-10-02 16:19 --- Yep, reduced testcase looks exactly the same. *** This bug has been marked as a duplicate of 37716 *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/37716] [4.4 Regression] ice for legal C++ code with -O2 on 20080926

2008-10-02 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2008-10-02 16:19 --- *** Bug 37717 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37716

[Bug middle-end/37447] [4.4 Regression] test pr28982b.c fails execution on power4 or later with ira change

2008-10-02 Thread janis at gcc dot gnu dot org
--- Comment #7 from janis at gcc dot gnu dot org 2008-10-02 16:22 --- The patch from comment #3 passes bootstrap and regtests on powerpc64-linux. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37447

[Bug libstdc++/37718] New: Demangling of variadic functions

2008-10-02 Thread jakub at gcc dot gnu dot org
int f() { return 0; } template typename T, typename... U int f(T t, U... u) { return (t ? 1 : 0) * sizeof...(U) + f(u...); } int main() { return f(1, 1.0, 2); } has 3 mangled names, but 2 of them demangle weirdly (I'd say we should demangle U10__variadic to something containing ..., not

[Bug fortran/37712] Parent component name getting confused with structure constructor

2008-10-02 Thread w6ws at earthlink dot net
--- Comment #4 from w6ws at earthlink dot net 2008-10-02 17:18 --- I am closing this report. -- w6ws at earthlink dot net changed: What|Removed |Added

[Bug libstdc++/35569] [c++0x] std::bind result functor doesn't accept rvalues

2008-10-02 Thread paolo dot carlini at oracle dot com
-- paolo dot carlini at oracle dot com changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug c++/37719] New: incorrect type on warning of mismatched exception specification with templates

2008-10-02 Thread yacwroy at gmail dot com
= test/test.cpp == template typename T class foo { void bar() throw(int); }; template void fooint::bar() throw(float) {} = COMMAND == g++ -c -o test/test.o test/test.cpp -Wall = OUTPUT == test/test.cpp:7: error: declaration of ‘void

[Bug c++/37720] New: Copy constructors do not work with std::vector as they should

2008-10-02 Thread ivranos at freemail dot gr
The following code: #include iostream #include vector #include cstddef struct SomeClass { typedef std::vectorint TypeVector; TypeVector vec; enum { VectorSize= 10 }; public: SomeClass(); SomeClass(const SomeClass ); }; SomeClass::SomeClass():vec(VectorSize) {

[Bug c++/37720] Copy constructors do not work with std::vector as they should

2008-10-02 Thread ivranos at freemail dot gr
--- Comment #1 from ivranos at freemail dot gr 2008-10-02 18:27 --- Created an attachment (id=16453) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16453action=view) The produced .ii file The produced .ii file from code compiled with the options: g++ -ansi -pedantic-errors -Wall

[Bug c++/37720] Copy constructors do not work with std::vector as they should

2008-10-02 Thread ivranos at freemail dot gr
--- Comment #2 from ivranos at freemail dot gr 2008-10-02 18:33 --- My mistake. :-) -- ivranos at freemail dot gr changed: What|Removed |Added

[Bug c++/37720] Copy constructors do not work with std::vector as they should

2008-10-02 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-10-02 18:33 --- This is the correct behavior really. The constructor for std::vector which has a size agrument has a default argument of the type. I get the same behavior with/without the copy constructor too. -- pinskia at

[Bug fortran/37635] Fortran 2008: Support LEADZ / TRAILZ

2008-10-02 Thread steven at gcc dot gnu dot org
--- Comment #5 from steven at gcc dot gnu dot org 2008-10-02 18:52 --- . -- steven at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug fortran/37635] Fortran 2008: Support LEADZ / TRAILZ

2008-10-02 Thread steven at gcc dot gnu dot org
--- Comment #6 from steven at gcc dot gnu dot org 2008-10-02 18:52 --- Subject: Bug 37635 Author: steven Date: Thu Oct 2 18:51:12 2008 New Revision: 140837 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=140837 Log: testsuite *

[Bug c++/37721] New: Segmentation fault

2008-10-02 Thread ivranos at freemail dot gr
The following code gives segmentation fault: #include iostream #include ctime #include vector #include list #include cstddef #include algorithm class SomeClass { public: typedef std::vectorint TypeVector; TypeVector vec; enum { VectorSize= 100 }; public:

[Bug c++/37721] Segmentation fault

2008-10-02 Thread ivranos at freemail dot gr
--- Comment #1 from ivranos at freemail dot gr 2008-10-02 19:17 --- Created an attachment (id=16454) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16454action=view) The produced .ii file This is the produced main.ii file created by g++ -ansi -pedantic-errors -Wall -save-temps

[Bug c++/37719] incorrect type on warning of mismatched exception specification with templates

2008-10-02 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2008-10-02 19:18 --- Seems easy to fix in dump_function_decl. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c++/37721] Segmentation fault

2008-10-02 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |

[Bug libstdc++/37721] Segmentation fault

2008-10-02 Thread ivranos at freemail dot gr
--- Comment #2 from ivranos at freemail dot gr 2008-10-02 19:27 --- Created an attachment (id=16455) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16455action=view) The produced main.ii file The produced main.ii file by g++ -ansi -pedantic-errors -Wall -save-temps main.cc -o

[Bug tree-optimization/37716] [4.4 Regression] ice for legal C++ code with -O2 on 20080926

2008-10-02 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2008-10-02 19:31 --- SRA is doing something funny with VCEs that does not even make sense for SRA to do really. It changes: location.0 ={v} VIEW_CONVERT_EXPRconst struct QPoint(D.2240_5-array[D.2244_10]); location ={v} location.0;

[Bug inline-asm/37711] Incorrect code generated for mips inline assembly

2008-10-02 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-10-02 19:33 --- asm(SLL %[temp], %[c], 16\n\t MULT %[a], %[c]\n\t : [result]=h(result), [temp]=r(temp) : [a]r(a), [c]r(c) : lo); You need an early clobber on temp since it is

[Bug tree-optimization/37686] [4.4 Regression] Building of CPU2000's bzip2 with peak flags with -mcpu=power4 fails with an ICE.

2008-10-02 Thread jakub at gcc dot gnu dot org
--- Comment #17 from jakub at gcc dot gnu dot org 2008-10-02 19:40 --- That bootstrapped/regtested, unfortunately the = in the assert is not right. And when I've changed the = in the assert to , pr29581.f90 ICEs, it has AM_NB_INDUCTION_VARS in one particular case set to 2, and

[Bug c++/37647] [4.3/4.4 regression] ICE with invalid use of constructor

2008-10-02 Thread simartin at gcc dot gnu dot org
--- Comment #2 from simartin at gcc dot gnu dot org 2008-10-02 19:42 --- Introduced by my fix for PR29077 -- simartin at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/37721] Segmentation fault

2008-10-02 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2008-10-02 20:42 --- Building with -D_GLIBCXX_DEBUG reveals immediately at run-time that the code is invalid. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c++/37722] New: destructors not called on computed goto

2008-10-02 Thread cburger at sunysb dot edu
#include iostream struct foo { foo() { std::cout foo constructed\n; } ~foo() { std::cout foo destructed\n; } }; enum opcode { NOP, FOO, DONE }; void exec0(const opcode* o) { loop: switch (*o) { case NOP: ++o; goto loop; case FOO: { foo f; ++o; goto loop; }

[Bug c++/35483] GCC on AIX doesn't support dollar in symbols name.

2008-10-02 Thread dje at gcc dot gnu dot org
--- Comment #5 from dje at gcc dot gnu dot org 2008-10-02 20:47 --- This patch causes G++ to crash building some applications on AIX. Apparently a version of G++ including this patch is being distributed and users are reporting problems. --

[Bug middle-end/37713] [4.4 Regression] ice for legal code with -O3 on 20080926

2008-10-02 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2008-10-02 20:49 --- This testcase fails on the trunk for x86-darwin with an ICE: /Users/apinski/src/local/gcc/gcc/testsuite/gcc.c-torture/compile/pr37713.c:8: internal compiler error: in set_mem_alias_set, at emit-rtl.c:1784^M Please

[Bug libstdc++/37721] Segmentation fault

2008-10-02 Thread ivranos at freemail dot gr
--- Comment #4 from ivranos at freemail dot gr 2008-10-02 21:09 --- May you be more specific and tell what exactly is invalid? That is what is the error in the source code. -- ivranos at freemail dot gr changed: What|Removed |Added

[Bug middle-end/37722] destructors not called on computed goto

2008-10-02 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-10-02 21:22 --- EH lowering for some reason does not copy the finally part of the try before the goto. This also happens with 3.3. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug c++/35483] GCC on AIX doesn't support dollar in symbols name.

2008-10-02 Thread dje at gcc dot gnu dot org
--- Comment #6 from dje at gcc dot gnu dot org 2008-10-02 21:30 --- + strip = (char *)ggc_alloc_string (name, len); + + for (len = 0; name[len]; len++) +if (name[len] == '$') + strip[len] = '_'; +else + strip[len] = name[len]; + strip[len] = 0; + + return strip;

[Bug middle-end/37713] [4.4 Regression] ice for legal code with -O3 on 20080926

2008-10-02 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2008-10-02 21:32 --- Looks like expansion creates some weirdo MEM_ALIAS_SET for the target. Some RTL problem, not mine to investigate right now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37713

[Bug tree-optimization/37692] [alias-improvements-branch] can't alias fortran function arguments

2008-10-02 Thread kargl at gcc dot gnu dot org
--- Comment #2 from kargl at gcc dot gnu dot org 2008-10-02 21:47 --- (In reply to comment #1) Mine. The alias-oracle doesn't use PTA information yet. Richard, I'm not sure how familiar you are with the Fortran standard, so I'll just give a quick note. The standard forbids the

[Bug fortran/37723] New: wrong result for left-right hand side array overlap and (possibly) negative strides

2008-10-02 Thread dick dot hendrickson at gmail dot com
Thee following program gives wrong results for some of the array elements in an assignment when there is an overlap between the left hand and right hand arrays. The errors sometimes move around as I modified the code (although I've changed enough things that I can't reproduce different failures.

[Bug libstdc++/37721] Segmentation fault

2008-10-02 Thread paolo dot carlini at oracle dot com
--- Comment #5 from paolo dot carlini at oracle dot com 2008-10-02 22:18 --- Why should I do this work for you? This is not an help line, the only purpose of Bugzilla is tracking and fixing bugs, I'm maintaining the library and given the diagnostic provided by debug-mode (which exists

[Bug middle-end/37485] [graphite] Disconnecting exit edge in process of code generation

2008-10-02 Thread spop at gcc dot gnu dot org
--- Comment #10 from spop at gcc dot gnu dot org 2008-10-02 22:50 --- Subject: Bug 37485 Author: spop Date: Thu Oct 2 22:48:46 2008 New Revision: 140844 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=140844 Log: 2008-10-02 Jan Sjodin [EMAIL PROTECTED] Harsha

[Bug ada/37309] Ada tasking is not implemented on NetBSD

2008-10-02 Thread aran at 100acres dot us
--- Comment #4 from aran at 100acres dot us 2008-10-02 23:06 --- Created an attachment (id=16456) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16456action=view) NetBSD patch for SVN trunk Obsoletes both prior patches. Patch for SVN trunk. Adds other NetBSD support (e.g.,

[Bug libstdc++/37721] Segmentation fault

2008-10-02 Thread ivranos at freemail dot gr
--- Comment #6 from ivranos at freemail dot gr 2008-10-02 23:34 --- The bug can easily be in the library. -- ivranos at freemail dot gr changed: What|Removed |Added

[Bug libstdc++/37721] Segmentation fault

2008-10-02 Thread ivranos at freemail dot gr
--- Comment #7 from ivranos at freemail dot gr 2008-10-02 23:37 --- To be more precise: I believe the bug is in the library. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37721

[Bug libstdc++/37721] Segmentation fault

2008-10-02 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2008-10-03 00:09 --- Nope, your copy constructor causes the crash. It is not really doing a copy of the struct but causing a random placement to happen so operator will return different result when we do a copy between values and such.

[Bug ada/37309] Ada tasking is not implemented on NetBSD

2008-10-02 Thread aran at 100acres dot us
--- Comment #5 from aran at 100acres dot us 2008-10-03 01:51 --- Created an attachment (id=16457) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16457action=view) Same fixes, but work Final fixes. Sorry for the repeated posts. -- aran at 100acres dot us changed:

[Bug libstdc++/37718] Demangling of variadic functions

2008-10-02 Thread jason at redhat dot com
--- Comment #1 from jason at redhat dot com 2008-10-03 02:27 --- Subject: Re: New: Demangling of variadic functions I've been working on a bunch of mangling/demangling issues lately, this among them. Jason -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37718

[Bug c++/37647] [4.3/4.4 regression] ICE with invalid use of constructor

2008-10-02 Thread simartin at gcc dot gnu dot org
--- Comment #3 from simartin at gcc dot gnu dot org 2008-10-03 03:38 --- Patch submitted here http://gcc.gnu.org/ml/gcc-patches/2008-10/msg00079.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37647

[Bug c/37724] New: initialization from incompatible pointer type does not say which field is being initialized

2008-10-02 Thread pinskia at gcc dot gnu dot org
When I was upgrading the PS3 toolchain I found it would have been useful to figure out which field of a struct was being initialized with this warning turned on. Take: struct f { int *a; }; char b[10]; struct f g = {b}; --- CUT --- Currently we just get: t.c:7: warning: initialization from

[Bug c/37724] initialization from incompatible pointer type does not say which field is being initialized

2008-10-02 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-10-03 05:39 --- I wonder why error_init/pedwarn_init/warning_init are not used in WARN_FOR_ASSIGNMENT. This would fix the issue ... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37724