[Bug target/38671] [4.4 Regression] speed regression with sse intrinsics

2008-12-30 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-12-31 07:56 --- t.cc: In function ‘float __vector__ nova::detail::gen_one()’: t.cc:34160: warning: ‘x’ is used uninitialized in this function inline __m128 gen_one(void) { __m128i x; __m128i ones = _mm_cmpeq_epi32(x, x);

[Bug c++/38681] Internal compiler error. expr.c:6956 [Template instantiation with non-type value of member function ptr]

2008-12-30 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-12-31 07:49 --- >ulong ConnectCB(GtkWidget* pWidget, const char* sigName, > _R(_ClassType::*MemFun)(GtkWidget*, _A1)) > { >typedef CBFamily2<_ClassType, _R, GtkWidget*, _A1, MemFun> > TCallbackType; Th

[Bug target/38671] [4.4 Regression] speed regression with sse intrinsics

2008-12-30 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-12-31 07:47 --- sys_perf_counter_open always returns less than zero for me. This is with: Linux gcc13 2.6.18-6-vserver-amd64 #1 SMP Sun Feb 10 17:55:04 UTC 2008 x86_64 GNU/Linux What system call is it trying to do and why? --

[Bug c++/38681] Internal compiler error. expr.c:6956 [Template instantiation with non-type value of member function ptr]

2008-12-30 Thread juvvij at gmail dot com
--- Comment #2 from juvvij at gmail dot com 2008-12-31 07:43 --- Created an attachment (id=17018) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17018&action=view) Details of gcc from output of g++ -v -save-temps -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38681

[Bug c++/38681] Internal compiler error. expr.c:6956 [Template instantiation with non-type value of member function ptr]

2008-12-30 Thread juvvij at gmail dot com
--- Comment #1 from juvvij at gmail dot com 2008-12-31 07:42 --- Created an attachment (id=17017) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17017&action=view) Preprocessed test case that causes the compiler error. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38681

[Bug c++/38681] New: Internal compiler error. expr.c:6956 [Template instantiation with non-type value of member function ptr]

2008-12-30 Thread juvvij at gmail dot com
While trying to reinvent some suitablu smart technique for routing Gtk's static callbacks to object methods, I thought I had created a suitably brilliant solution. Gcc could not digest it. While I am looking at smarter solutions from boost or loki, I would like to see if I really was onto a workabl

[Bug middle-end/34443] The GCC manual about section variable attribute is incorrect

2008-12-30 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-12-31 03:17 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug c++/36695] [4.3/4.4 Regression] Value-initialization of reference type is allowed.

2008-12-30 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2008-12-31 01:40 --- (In reply to comment #5) > Reverting is a bad approach. We IMHO just want to check for > TREE_CODE (type) == REFERENCE_TYPE and issue diagnostics that references can't > be value-initialized. Yes that seems like a

[Bug target/38680] -masm= option might usefully define a preprocessor macro?

2008-12-30 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-31 01:35 --- The only reason why you might need this is to support headers. Also you can use the {} syntax for inline assembly to support alternative writing of the instructions. An example is: "add{q}\t{%2, %0|%0, %2}" --

[Bug inline-asm/38680] New: -masm= option might usefully define a preprocessor macro?

2008-12-30 Thread ajrh at ajrh dot net
to allow compatibility error checking, and also maybe to enable conditional ".intel_syntax" ... ".att_syntax" bracketing, it might be helpful if the -masm= switch defined a preprocessor variable to indicate the top level syntax? -- Summary: -masm= option might usefully define a prepro

[Bug c/38679] New: semantics of assignment in a return statement suspect

2008-12-30 Thread dan at math dot uiuc dot edu
extern volatile int x; extern fff(int); int f() { fff(x=1); return x=1; } #if 0 The code generated by gcc below from the source code above shows that the value of the expression x=1, when x is volatile, depends on the context, most likely violating the standard. In a return statement, the va

[Bug bootstrap/31998] Incorrect "Unreachable statement" turns off optimizing + spec file in error

2008-12-30 Thread rob1weld at aol dot com
--- Comment #3 from rob1weld at aol dot com 2008-12-31 00:49 --- Right. (In reply to comment #2) > The .java source part of the java front-end was removed in 4.3.x and above so > closing as won't fix. > (In comment #0 Rob said) >> _THIS_ bug report is only on "Unreachable statement" t

[Bug libstdc++/38678] istream::read() calls streambuf::xsgetn()

2008-12-30 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2008-12-31 00:06 --- Ok, thanks. -- paolo dot carlini at oracle dot com changed: What|Removed |Added Assi

[Bug c++/38640] [4.3 Regression] ICE with decltype of template value parameter

2008-12-30 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2008-12-30 23:55 --- Fixed on the trunk so far. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Assi

[Bug c++/38640] [4.3/4.4 Regression] ICE with decltype of template value parameter

2008-12-30 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2008-12-30 23:53 --- Subject: Bug 38640 Author: jakub Date: Tue Dec 30 23:52:06 2008 New Revision: 142973 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142973 Log: PR c++/38640 * semantics.c (finish_decltype_type)

[Bug middle-end/38505] [4.4 Regression] Revision 142061 caused ICE on __builtin_memcpy

2008-12-30 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2008-12-30 23:35 --- Subject: Bug 38505 Author: jakub Date: Tue Dec 30 23:34:28 2008 New Revision: 142972 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142972 Log: PR middle-end/38505 * tree-ssa-ccp.c (may_propaga

[Bug middle-end/38676] [4.4 Regression] ICE during regimplification of GIMPLE_SWITCH

2008-12-30 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2008-12-30 23:32 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/38676] [4.4 Regression] ICE during regimplification of GIMPLE_SWITCH

2008-12-30 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2008-12-30 23:22 --- Subject: Bug 38676 Author: jakub Date: Tue Dec 30 23:20:45 2008 New Revision: 142970 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142970 Log: PR middle-end/38676 * gimplify.c (gimple_regimpli

[Bug libstdc++/38476] SIGSEGV on istream::read() in unbuffered mode

2008-12-30 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2008-12-30 22:59 --- Ok, let's close this one. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug fortran/38536] ICE with C_LOC in resolve.c due to not properly going through expr->ref

2008-12-30 Thread mikael at gcc dot gnu dot org
--- Comment #6 from mikael at gcc dot gnu dot org 2008-12-30 22:47 --- An other failure: use iso_c_binding type t1 integer :: i(5) end type t1 type t2 type(t1) :: t(5) end type t2 character(len=2),target :: str(2) type(t2), target :: tt type(C_PTR) :

[Bug libstdc++/38678] New: istream::read() calls streambuf::xsgetn()

2008-12-30 Thread sebor at roguewave dot com
As mentioned in bug 38476, [lib.istream], p2 specifies that: Both [formatted and unformatted] input functions are described as if they obtain (or extract) input characters by calling rdbuf()->sbumpc() or rdbuf()->sgetc(). They may use other public members of istream. sgetc() is required to

[Bug c++/37093] [4.2/4.3/4.4 Regression] ICE with pointer to member template parameters

2008-12-30 Thread pinskia at gcc dot gnu dot org
--- Comment #14 from pinskia at gcc dot gnu dot org 2008-12-30 22:22 --- My patch is causing a couple of regressions: FAIL: g++.dg/template/non-dependent8.C (test for errors, line 20) FAIL: g++.dg/template/overload2.C (test for excess errors) FAIL: g++.old-deja/g++.pt/ptrmem6.C (test

[Bug fortran/38675] FAIL: gfortran.dg/parameter_array_init_3.f90 -O (internal compiler error)

2008-12-30 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #5 from dave at hiauly1 dot hia dot nrc dot ca 2008-12-30 22:21 --- Subject: Re: FAIL: gfortran.dg/parameter_array_init_3.f90 -O (internal compiler error) > > Is backporting the fix for PR fortran/35840, or just gfc_reduce_init_expr, > > that difficult? > No, it should b

[Bug fortran/38675] FAIL: gfortran.dg/parameter_array_init_3.f90 -O (internal compiler error)

2008-12-30 Thread mikael at gcc dot gnu dot org
--- Comment #4 from mikael at gcc dot gnu dot org 2008-12-30 22:12 --- (In reply to comment #3) > Is backporting the fix for PR fortran/35840, or just gfc_reduce_init_expr, > that difficult? No, it should be manageable. I gave up when the patch refused to apply. Sorry. I could try harde

[Bug middle-end/38676] [4.4 Regression] ICE during regimplification of GIMPLE_SWITCH

2008-12-30 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Known to fail||4.4.0 Known to work||4.3.2

[Bug c++/38677] New: extern template declaration accepted after explicit instantiation

2008-12-30 Thread sebor at roguewave dot com
gcc 4.3.1 fails to diagnose the following ill-formed program: template struct S { T foo (); }; template T S::foo () { return T (); } template struct S; extern template struct S; int main () { return S().foo (); } See the discussion thread below for more detail: John H. Spicer wrote: > > On

[Bug middle-end/38676] GCC 4.4 ICE on OpenMP shared

2008-12-30 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org

[Bug libgomp/38676] GCC 4.4 ICE on OpenMP shared

2008-12-30 Thread il dot basso dot buffo at gmail dot com
--- Comment #2 from il dot basso dot buffo at gmail dot com 2008-12-30 21:43 --- This is actually an ultra-condensed example of a GCC 4.4.0 build failure in ImageMagick. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38676

[Bug libgomp/38676] GCC 4.4 ICE on OpenMP shared

2008-12-30 Thread il dot basso dot buffo at gmail dot com
--enable-cld --enable-java-awt=gtk --enable-languages=c,c++,java,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion= Thread model: posix gcc version 4.4.0-pre built 20081230 (Gentoo SVN ebuild

[Bug fortran/38675] FAIL: gfortran.dg/parameter_array_init_3.f90 -O (internal compiler error)

2008-12-30 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #3 from dave at hiauly1 dot hia dot nrc dot ca 2008-12-30 21:40 --- Subject: Re: FAIL: gfortran.dg/parameter_array_init_3.f90 -O (internal compiler error) > Given the last comment. This will probably be closed with a WONTFIX. Is backporting the fix for PR fortran/35840

[Bug libgomp/38676] New: GCC 4.4 ICE on OpenMP shared

2008-12-30 Thread il dot basso dot buffo at gmail dot com
-- Summary: GCC 4.4 ICE on OpenMP shared Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgomp AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: il dot ba

[Bug bootstrap/38667] gcc 4.3.2 build fails to create/link libgcc in SLES9 32-bit platform

2008-12-30 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2008-12-30 21:26 --- Yes, but you are adjusting libdir. I have no problems with just using --prefix on alternate compilers. But well, I don't have an idea what is really going wrong. You can try passing -v to the failing command and s

[Bug tree-optimization/38645] [4.4 Regression] ICE with volatile

2008-12-30 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2008-12-30 21:21 --- Subject: Bug 38645 Author: rguenth Date: Tue Dec 30 21:20:08 2008 New Revision: 142967 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142967 Log: 2008-12-30 Richard Guenther PR tree-optimization/

[Bug tree-optimization/38645] [4.4 Regression] ICE with volatile

2008-12-30 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-12-30 21:20 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug fortran/38675] FAIL: gfortran.dg/parameter_array_init_3.f90 -O (internal compiler error)

2008-12-30 Thread kargl at gcc dot gnu dot org
--- Comment #2 from kargl at gcc dot gnu dot org 2008-12-30 21:15 --- See PR 37469 Given the last comment. This will probably be closed with a WONTFIX. -- kargl at gcc dot gnu dot org changed: What|Removed |Added -

[Bug fortran/38675] FAIL: gfortran.dg/parameter_array_init_3.f90 -O (internal compiler error)

2008-12-30 Thread danglin at gcc dot gnu dot org
--- Comment #1 from danglin at gcc dot gnu dot org 2008-12-30 21:03 --- (gdb) p *p $2 = {expr_type = EXPR_ARRAY, ts = {type = BT_INTEGER, kind = 1, derived = 0x0, cl = 0x0, is_c_interop = 0, is_iso_c = 0, f90_type = BT_UNKNOWN}, rank = 0, shape = 0x800100131b58, symtree

[Bug fortran/38675] New: FAIL: gfortran.dg/parameter_array_init_3.f90 -O (internal compiler error)

2008-12-30 Thread danglin at gcc dot gnu dot org
This bug has been around for awhile on the 4.3 branch. Not present in 4.4. Executing on host: /mnt/gnu/gcc/objdir/gcc/testsuite/gfortran/../../gfortran -B/ mnt/gnu/gcc/objdir/gcc/testsuite/gfortran/../../ /mnt/gnu/gcc/gcc/gcc/testsuite/ gfortran.dg/parameter_array_init_3.f90 -O -pedantic-erro

[Bug other/38673] [4.4 Regression] -fprofile-generate is broken on darwin

2008-12-30 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2008-12-30 20:19 --- Seongbae reverted the patch, so this is no longer broken on darwin. -- jakub at gcc dot gnu dot org changed: What|Removed |Added -

[Bug libstdc++/38476] SIGSEGV on istream::read() in unbuffered mode

2008-12-30 Thread sebor at roguewave dot com
--- Comment #3 from sebor at roguewave dot com 2008-12-30 20:08 --- Quoting [lib.istream], p2: Both [formatted and unformatted] input functions are described as if they obtain (or extract) input characters by calling rdbuf()->sbumpc() or rdbuf()->sgetc(). They may use other public

[Bug bootstrap/38667] gcc 4.3.2 build fails to create/link libgcc in SLES9 32-bit platform

2008-12-30 Thread imam dot toufique at intel dot com
--- Comment #5 from imam dot toufique at intel dot com 2008-12-30 19:52 --- (In reply to comment #3) > --libdir="${INSTALL_PREFIX}"/"${PLATFORM_LIBDIR}" > this adjusts the std search paths (as well as --prefix), so you need to put a > libc there as well. You probably want to add --with

[Bug bootstrap/38667] gcc 4.3.2 build fails to create/link libgcc in SLES9 32-bit platform

2008-12-30 Thread imam dot toufique at intel dot com
--- Comment #4 from imam dot toufique at intel dot com 2008-12-30 19:51 --- (In reply to comment #3) > --libdir="${INSTALL_PREFIX}"/"${PLATFORM_LIBDIR}" > this adjusts the std search paths (as well as --prefix), so you need to put a > libc there as well. You probably want to add --with

[Bug fortran/38669] [4.3, 4.4 Regression] Array bounds violation for arguments of elemental subroutine

2008-12-30 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38669

[Bug bootstrap/38667] gcc 4.3.2 build fails to create/link libgcc in SLES9 32-bit platform

2008-12-30 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-12-30 19:12 --- --libdir="${INSTALL_PREFIX}"/"${PLATFORM_LIBDIR}" this adjusts the std search paths (as well as --prefix), so you need to put a libc there as well. You probably want to add --with-sysroot=/ to the configure line.

[Bug bootstrap/38667] gcc 4.3.2 build fails to create/link libgcc in SLES9 32-bit platform

2008-12-30 Thread imam dot toufique at intel dot com
--- Comment #2 from imam dot toufique at intel dot com 2008-12-30 19:06 --- (In reply to comment #1) > /opt/gcc/4.3.2/i686-pc-linux-gnu/bin/ld: cannot find -lc > you are likely missing the glibc-devel package. Hi, I have the glibc-devel installed, I verified it. host> rpm -qa | grep g

[Bug bootstrap/34707] failing to build gnu c compiler on Mac OS X ver 10.4.11 darwin

2008-12-30 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-30 17:50 --- I have not built 4.2.x recently but I know the trunk works for Darwin 10.4.11. I also know 4.3.0 and above work, Can you try 4.3.2? -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug c++/34624] templated code is rejected different type in nontype template argument

2008-12-30 Thread pinskia at gcc dot gnu dot org
--- Comment #11 from pinskia at gcc dot gnu dot org 2008-12-30 17:27 --- >but I'm not quite sure if it still reproduces the original issue Yes it does, I had missed your reduced testcase before. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug c++/34624] templated code is rejected different type in nontype template argument

2008-12-30 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2008-12-30 17:25 --- Here is a reduced testcase which is rejected for both -m32 and -m64: typedef unsigned long size_t; templateclass array {}; typedef unsigned int uint; template struct my_table: array {}; template inline cons

[Bug c++/36607] [4.3/4.4 Regression] Incorrect type diagnostic on substracting casted char pointers

2008-12-30 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2008-12-30 17:13 --- I have a simple fix, the front-end should have already warned about the conversion from a pointer to a member object to an integer type. Therefor convert can handle OFFSET_TYPE just like INTEGER_TYPE and such. --

[Bug tree-optimization/38645] [4.4 Regression] ICE with volatile

2008-12-30 Thread jamborm at gcc dot gnu dot org
-- jamborm at gcc dot gnu dot org changed: What|Removed |Added CC||jamborm at gcc dot gnu dot |

[Bug tree-optimization/38645] [4.4 Regression] ICE with volatile

2008-12-30 Thread jamborm at gcc dot gnu dot org
--- Comment #3 from jamborm at gcc dot gnu dot org 2008-12-30 16:58 --- I discussed this bug with Richi on IRC and was told that we should avoid having the statement marked as volatile since it is not an access through a volatile variable in the original source code. Ins

[Bug fortran/38672] [4.3/4.4 Regression] ICE during build with versions 4.3.2 and 4.4-20081226

2008-12-30 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2008-12-30 16:50 --- Works with 4.2.1 (x86_64-suse-linux). Valgrind shows: ==27337== Invalid read of size 1 ==27337==at 0x4752E2: resolve_symbol (resolve.c:9311) ==27337==by 0x482726: traverse_ns (symbol.c:3127) ==27337==by 0

[Bug fortran/38669] [4.3, 4.4 Regression] Array bounds violation for arguments of elemental subroutine

2008-12-30 Thread mikael at gcc dot gnu dot org
--- Comment #4 from mikael at gcc dot gnu dot org 2008-12-30 16:45 --- Created an attachment (id=17016) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17016&action=view) fix Does anyone know the use of the block variable I remove in this patch? -- mikael at gcc dot gnu dot org

[Bug target/38569] SLES11: SEGV with try/throw/catch/terminate() at -q64

2008-12-30 Thread rguenther at suse dot de
--- Comment #7 from rguenther at suse dot de 2008-12-30 16:33 --- Subject: Re: SLES11: SEGV with try/throw/catch/terminate() at -q64 On Tue, 30 Dec 2008, pinskia at gcc dot gnu dot org wrote: > --- Comment #6 from pinskia at gcc dot gnu dot org 2008-12-30 16:31 > --- > (In

[Bug target/38569] SLES11: SEGV with try/throw/catch/terminate() at -q64

2008-12-30 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2008-12-30 16:31 --- (In reply to comment #5) > Yes, what I wanted to say/ask is if it is powerpc64, as there are some known > (but yet uninvestigated) EH failures on that arch. There are? I have not seen any. Could it be because of b

[Bug tree-optimization/38661] [4.4 Regression] ICE: vector VEC(constructor_elt,base) push domain error, in build_constructors at tree-switch-conversion.c:450

2008-12-30 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-12-30 16:28 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/38661] [4.4 Regression] ICE: vector VEC(constructor_elt,base) push domain error, in build_constructors at tree-switch-conversion.c:450

2008-12-30 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-12-30 16:28 --- Subject: Bug 38661 Author: pinskia Date: Tue Dec 30 16:27:29 2008 New Revision: 142964 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142964 Log: 2008-12-30 Andrew Pinski PR middle-end/38661

[Bug target/38671] [4.4 Regression] speed regression with sse intrinsics

2008-12-30 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Component|inline-asm |target GCC target triplet||i?86-*-*

[Bug other/38673] [4.4 Regression] -fprofile-generate is broken on darwin

2008-12-30 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-12-30 16:13 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug other/38673] [4.4 Regression] -fprofile-generate is broken on darwin

2008-12-30 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-12-30 16:13 --- As mentioned at http://gcc.gnu.org/ml/gcc-patches/2008-12/msg01259.html . -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38673

[Bug regression/38674] New: optimization bug.

2008-12-30 Thread gilles dot chanteperdrix at xenomai dot org
When compiling the following code with -O2: #include static unsigned long long __attribute__((noinline)) f(void *ptr, unsigned long long ull) { register unsigned long __r2 __asm__ ("r2") = (unsigned long) (&ull); __asm__ __volatile__ ("" : "+r" (__r2)); return * (unsigned

[Bug c++/38673] g++.dg/tree-prof/indir-call-prof.C compilation failure on powerpc-apple-darwin8.5.0

2008-12-30 Thread howarth at nitro dot med dot uc dot edu
--- Comment #2 from howarth at nitro dot med dot uc dot edu 2008-12-30 15:23 --- I understand Mike Stump's previous comments on this, the possible solutions are to... Another possibility, would be to split out the tls emulation package from gcc_eh. We avoid gcc_eh, so as to not pull in

[Bug fortran/38669] [4.3, 4.4 Regression] Array bounds violation for arguments of elemental subroutine

2008-12-30 Thread mikael at gcc dot gnu dot org
--- Comment #3 from mikael at gcc dot gnu dot org 2008-12-30 15:02 --- At revision 142760, there is no temporary, so there is no bug. That's something I missed in my patch, that's true. The bug is still there however. Change this: call tq_tvgh (var_f% av (k_lev:,1), p(k_lev:)) to th

[Bug tree-optimization/37194] [4.3/4.4 Regression] Autovectorization of small constant iteration loop degrades performance

2008-12-30 Thread irar at il dot ibm dot com
--- Comment #7 from irar at il dot ibm dot com 2008-12-30 14:57 --- (In reply to comment #6) > t.i:3: note: Vectorization may not be profitable. > why doesn't the cost model then disallow vectorization here? This is misleading. It only means that there exists loop bound threshold either

[Bug c++/38673] g++.dg/tree-prof/indir-call-prof.C compilation failure on powerpc-apple-darwin8.5.0

2008-12-30 Thread howarth at nitro dot med dot uc dot edu
--- Comment #1 from howarth at nitro dot med dot uc dot edu 2008-12-30 14:52 --- This is also showing up in the testresults on i686-apple-darwin9. -- howarth at nitro dot med dot uc dot edu changed: What|Removed |Added

[Bug c++/38673] New: g++.dg/tree-prof/indir-call-prof.C compilation failure on powerpc-apple-darwin8.5.0

2008-12-30 Thread howarth at nitro dot med dot uc dot edu
The g++.dg/tree-prof/indir-call-prof.C test case no longer compiles on powerpc-apple-darwin8.5.0. It now produces the error... Executing on host: /Users/regress/tbox/native/build/gcc/testsuite/g++/../../g++ -B/Users/regress/tbox/native/build/gcc/testsuite/g++/../../ /Users/regress/tbox/svn-gcc/gcc

[Bug c++/31488] va_list considered non-POD

2008-12-30 Thread ubizjak at gmail dot com
--- Comment #9 from ubizjak at gmail dot com 2008-12-30 14:45 --- Patch at http://gcc.gnu.org/ml/gcc-patches/2008-12/msg01280.html -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug rtl-optimization/38583] [4.4 Regression] ira memory explosion

2008-12-30 Thread vmakarov at redhat dot com
--- Comment #1 from vmakarov at redhat dot com 2008-12-30 14:33 --- I don't think that the problem occurred because of transition to IRA. The old register allocator (-fno-ira) uses about the same size conflict table and peak virtual memory (it is 9230MB for the old RA on this case). S

[Bug fortran/38669] [4.3, 4.4 Regression] Array bounds violation for arguments of elemental subroutine

2008-12-30 Thread mikael at gcc dot gnu dot org
--- Comment #2 from mikael at gcc dot gnu dot org 2008-12-30 14:04 --- without derived types: program gfcbu84_main ! use gfcbug84 implicit none integer :: jplev, k_lev real :: p(42) real, pointer :: q(:) jplev = 42 k_lev = 1 allocate (q(jplev)) call tq_tvgh (q(

[Bug target/35460] [4.4 Regression] undefined reference to `__builtin_stdarg_start' when compiling 2/29 snapshot on OpenBSD

2008-12-30 Thread andreast at gcc dot gnu dot org
--- Comment #3 from andreast at gcc dot gnu dot org 2008-12-30 13:41 --- Proposed patch here: http://gcc.gnu.org/ml/gcc-patches/2008-12/msg01279.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35460

[Bug middle-end/38584] [4.3/4.4 Regression] Inline heuristics run even at -O0

2008-12-30 Thread steven at gcc dot gnu dot org
--- Comment #5 from steven at gcc dot gnu dot org 2008-12-30 13:37 --- We should not use the full bin-packing algorithm for any optimization level. A simpler heuristic is called for. I'll see if I can come up with something. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38584

[Bug middle-end/38584] [4.3/4.4 Regression] Inline heuristics run even at -O0

2008-12-30 Thread steven at gcc dot gnu dot org
--- Comment #4 from steven at gcc dot gnu dot org 2008-12-30 13:36 --- Subject: Bug 38584 Author: steven Date: Tue Dec 30 13:35:00 2008 New Revision: 142963 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142963 Log: PR middle-end/38584 * ipa-inline.c (compute_inl

[Bug c++/34870] argument-dependent lookup wronly finds friend declaration

2008-12-30 Thread dragan at plusplus dot co dot yu
--- Comment #5 from dragan at plusplus dot co dot yu 2008-12-30 13:20 --- The standard says that the friend declaration should inject the name 'func' into the enclosing namespace, but in a way that it can be found only by ADL. Here is a test case without templates: struct Foo { fr

[Bug target/35460] [4.4 Regression] undefined reference to `__builtin_stdarg_start' when compiling 2/29 snapshot on OpenBSD

2008-12-30 Thread andreast at gcc dot gnu dot org
-- andreast at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |andreast at gcc dot gnu dot |dot org

[Bug fortran/38672] ICE during build with versions 4.3.2 and 4.4-20081226

2008-12-30 Thread tom dot browder at gmail dot com
--- Comment #2 from tom dot browder at gmail dot com 2008-12-30 13:11 --- Created an attachment (id=17015) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17015&action=view) Archive with files to demonstrate the bug. The Makefile has a variable at the top to pick specific (or not)

[Bug fortran/38672] ICE during build with versions 4.3.2 and 4.4-20081226

2008-12-30 Thread tom dot browder at gmail dot com
--- Comment #1 from tom dot browder at gmail dot com 2008-12-30 13:09 --- Created an attachment (id=17014) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17014&action=view) Output from gfortan -v -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38672

[Bug tree-optimization/38645] [4.4 Regression] ICE with volatile

2008-12-30 Thread jamborm at gcc dot gnu dot org
--- Comment #2 from jamborm at gcc dot gnu dot org 2008-12-30 13:08 --- Apparently, the problem is that when some expression arithmetics is folded to D.1241_18 = a[0], the statement volatile flag is not set which triggers the assert. The following simple patch makes the ICE go

[Bug fortran/38672] New: ICE during build with versions 4.3.2 and 4.4-20081226

2008-12-30 Thread tom dot browder at gmail dot com
The attached archive (Makefile, 2 source files, and output from gfortran -v) yields an ICE during build with versions 4.3.2 and 4.4-20081226 (but not version 4.1.2 20070925 (Red Hat 4.1.2-27)). -- Summary: ICE during build with versions 4.3.2 and 4.4-20081226 Product: gcc

[Bug inline-asm/38671] [4.4 Regression] speed regression with sse intrinsics

2008-12-30 Thread tim at klingt dot org
--- Comment #1 from tim at klingt dot org 2008-12-30 12:58 --- Created an attachment (id=17013) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17013&action=view) preprocessed source (gcc-4.4) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38671

[Bug inline-asm/38671] New: [4.4 Regression] speed regression with sse intrinsics

2008-12-30 Thread tim at klingt dot org
i experience some speed regressions with gcc-4.4, with sse intrinsics on a core2 (x86_64). the code is: namespace detail { /** compute x1 * (1 + x2 * amount) */ __m128 inline amp_mod4_loop(__m128 x1, __m128 x2, __m128 amount, __m128 one) { return _mm_mul_ps(x1, _mm_add_p

[Bug middle-end/38660] Pointer value changed to NULL

2008-12-30 Thread q at ping dot be
--- Comment #6 from q at ping dot be 2008-12-30 12:44 --- So are you saying that because in an unrelated part of the code there is an aliasing bug gcc can miscompile anything else, even if -fno-strict-aliasing is used? The problem is in the PLy_spi_execute_plan() function. oldcontext e

[Bug fortran/38669] [4.3, 4.4 Regression] Array bounds violation for arguments of elemental subroutine

2008-12-30 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2008-12-30 11:55 --- Maybe: r142766 | mikael | 2008-12-15 19:08:42 +0100 (Mon, 15 Dec 2008) | 14 lines Added Mikael as CC. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/37804] friend declaration leaks into global scope at template instantiation

2008-12-30 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-12-30 11:52 --- 14.6.5 [temp.inject] suggests that this is valid. EDG doesn't agree with that in strict-ansi mode. t2.C(9): error: identifier "B" is undefined B some_function(); // B should not be declared here ^ compilatio

[Bug c++/34827] Weird name-lookup error

2008-12-30 Thread rguenther at suse dot de
--- Comment #6 from rguenther at suse dot de 2008-12-30 11:46 --- Subject: Re: Weird name-lookup error On Tue, 30 Dec 2008, dragan at plusplus dot co dot yu wrote: > --- Comment #4 from dragan at plusplus dot co dot yu 2008-12-30 11:42 > --- > Please see my bug report #34870

[Bug c++/34827] Weird name-lookup error

2008-12-30 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2008-12-30 11:44 --- *** This bug has been marked as a duplicate of 34870 *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/34870] template not instantiated for argument-dependent lookup

2008-12-30 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-12-30 11:44 --- IMHO the friend declaration isn't a declaration for func. At least it shouldn't inject the name into Foo. EDG agrees with me here: icpc -S t.C -strict_ansi t.C(12): error: identifier "func" is undefined func(x)

[Bug c++/34870] template not instantiated for argument-dependent lookup

2008-12-30 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-12-30 11:44 --- *** Bug 34827 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34870

[Bug c++/34827] Weird name-lookup error

2008-12-30 Thread dragan at plusplus dot co dot yu
--- Comment #4 from dragan at plusplus dot co dot yu 2008-12-30 11:42 --- Please see my bug report #34870. There are references to discussions and other sources that show why this code is valid. Hm... Apparently, this is exactly my test case. :-D -- http://gcc.gnu.org/bugzilla/sho

[Bug fortran/38669] [4.3, 4.4 Regression] Array bounds violation for arguments of elemental subroutine

2008-12-30 Thread tkoenig at gcc dot gnu dot org
-- tkoenig at gcc dot gnu dot org changed: What|Removed |Added CC||tkoenig at gcc dot gnu dot |

[Bug libfortran/38668] advance="no": no buffering, truncate and seek

2008-12-30 Thread tkoenig at gcc dot gnu dot org
--- Comment #2 from tkoenig at gcc dot gnu dot org 2008-12-30 11:16 --- (In reply to comment #1) > Strange to say, this depends on the bittian-ness. > On x86_64-unknown-linux-gnu with -m32 and on i686-pc-linux-gnu, I get > the behavior described. > On x86_64-unknown-linux-gnu without -m3

[Bug c++/38670] [4.4 regression] g++ rejects valid c++ code

2008-12-30 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2008-12-30 11:12 --- See PR37302. Your testcase is invalid. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/37877] [4.3/4.4 Regression] Invalid "invalid use of static" error

2008-12-30 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2008-12-30 11:07 --- The patch looks good to me. Have you (or could you if not) posted it to gcc-patches for review? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37877

[Bug c++/38670] [4.4 regression] g++ rejects valid c++ code

2008-12-30 Thread tim at klingt dot org
--- Comment #3 from tim at klingt dot org 2008-12-30 10:58 --- (In reply to comment #2) > Created an attachment (id=17012) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17012&action=view) [edit] > possible reduced test case hm, i am not sure, whether this is a compiler bug, or a s

[Bug c++/38670] [4.4 regression] g++ rejects valid c++ code

2008-12-30 Thread tim at klingt dot org
--- Comment #2 from tim at klingt dot org 2008-12-30 10:56 --- Created an attachment (id=17012) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17012&action=view) possible reduced test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38670

[Bug c/38667] gcc 4.3.2 build fails to create/link libgcc in SLES9 32-bit platform

2008-12-30 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-12-30 10:45 --- /opt/gcc/4.3.2/i686-pc-linux-gnu/bin/ld: cannot find -lc you are likely missing the glibc-devel package. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38667

[Bug c++/38670] [4.4 regression] g++ rejects valid c++ code

2008-12-30 Thread tim at klingt dot org
--- Comment #1 from tim at klingt dot org 2008-12-30 10:42 --- Created an attachment (id=17011) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17011&action=view) preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38670

[Bug ada/15798] Bug box in Gigi, code=201, on legal program with tasking

2008-12-30 Thread ludovic at ludovic-brenta dot org
--- Comment #4 from ludovic at ludovic-brenta dot org 2008-12-30 10:42 --- Jörgen Tegnér reports: gnatmake test_41.adb gcc-4.3 -c test_41.adb +===GNAT BUG DETECTED==+ | 4.3.2 (i486-pc-linux-gnu) in gimplify_expr, at gimplify.c:6314

[Bug c++/34827] Weird name-lookup error

2008-12-30 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-12-30 10:42 --- EDG reports (in strict-ansi mode - otherwise the friend decl injects the name) icpc -S t.C -strict_ansi t.C(12): error: identifier "func" is undefined func(x); ^ t.C(12): error: type name is not allowed

[Bug c++/38670] New: [4.4 regression] g++ rejects valid c++ code

2008-12-30 Thread tim at klingt dot org
(sorry for not reducing the test case) gcc-4.4 fails to compile some of my code, which compiled fine with (at least) 4.2 and 4.3. the preprocessed source is attached. gcc version: Using built-in specs. Target: x86_64-linux-gnu Configured with: ../gcc-4.4-20081226/configure -v --with-bugurl=file:/

[Bug middle-end/38572] [4.4 Regression] ICE in set_value_range, at tree-vrp.c:398

2008-12-30 Thread bonzini at gnu dot org
--- Comment #24 from bonzini at gnu dot org 2008-12-30 10:39 --- patch committed -- bug may be latent on 4.3, but there is no known testcase. -- bonzini at gnu dot org changed: What|Removed |Added ---

[Bug middle-end/38572] [4.4 Regression] ICE in set_value_range, at tree-vrp.c:398

2008-12-30 Thread bonzini at gnu dot org
--- Comment #23 from bonzini at gnu dot org 2008-12-30 10:38 --- Fixed. However, you should check if the code is valid C++ at all, because out-of-range enum values are handled differently in C and C++ (the bug stemmed from the fact that op was set to a value that is beyond what the C++

  1   2   >