[Bug tree-optimization/26854] [4.3/4.4/4.5 Regression] Inordinate compile times on large routines

2010-03-26 Thread lucier at math dot purdue dot edu
--- Comment #115 from lucier at math dot purdue dot edu 2010-03-27 05:20 --- Created an attachment (id=20222) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20222&action=view) time/mem report compiling compiler.i with -O1 Here is the time and memory report with -O1 -fschedule-insn

[Bug tree-optimization/26854] [4.3/4.4/4.5 Regression] Inordinate compile times on large routines

2010-03-26 Thread lucier at math dot purdue dot edu
--- Comment #114 from lucier at math dot purdue dot edu 2010-03-27 04:59 --- Created an attachment (id=20221) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20221&action=view) time/mem report compiling compiler.i This is the time and detailed memory report for compiling compiler.i

[Bug tree-optimization/26854] [4.3/4.4/4.5 Regression] Inordinate compile times on large routines

2010-03-26 Thread lucier at math dot purdue dot edu
--- Comment #113 from lucier at math dot purdue dot edu 2010-03-27 04:27 --- Created an attachment (id=20220) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20220&action=view) time/mem report compiling compiler.i This is the time and detailed memory report for 20100302 compiling c

[Bug c++/43549] TR1 type_traits are much worse than C++0x type_traits

2010-03-26 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2010-03-27 02:26 --- Yes, and that it's intended. -- paolo dot carlini at oracle dot com changed: What|Removed |Added -

[Bug target/43550] New: arm missing rev16

2010-03-26 Thread astrange at ithinksw dot com
typedef unsigned short uint16_t; typedef unsigned int uint32_t; uint16_t s16(uint16_t v) { return v>>8|v<<8; } uint32_t s32(uint32_t v) { return __builtin_bswap32(v); } > gcc -O3 -mcpu=cortex-a8 -S bswap.c s16: @ args = 0, pretend = 0, frame = 0 @ frame_needed =

[Bug c++/43549] New: TR1 type_traits are much worse than C++0x type_traits

2010-03-26 Thread pogonyshev at gmx dot net
Implementation is much worse than that can be included when compiling with -std=c++0x. don't use __has_trivial_destructor() and similar helper built-ins provided by the compiler. -- Summary: TR1 type_traits are much worse than C++0x type_traits Product: gcc V

[Bug c/43381] [4.4/4.5 Regression] infinite loop in gcc.dg/parm-impl-decl-1.c with -g

2010-03-26 Thread jsm28 at gcc dot gnu dot org
--- Comment #5 from jsm28 at gcc dot gnu dot org 2010-03-26 23:52 --- Subject: Bug 43381 Author: jsm28 Date: Fri Mar 26 23:52:09 2010 New Revision: 157766 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157766 Log: PR c/43381 * c-decl.c (get_parm_info): Assert tha

[Bug target/43546] [4.4/4.5 Regression] ICE: in assign_stack_local_1, at function.c:353 with -mpreferred-stack-boundary=2 -msseregparm

2010-03-26 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2010-03-26 23:29 --- Created an attachment (id=20219) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20219&action=view) A patch to check TARGET_SSE_MATH instead of TARGET_SSE -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43546

[Bug target/43546] [4.4/4.5 Regression] ICE: in assign_stack_local_1, at function.c:353 with -mpreferred-stack-boundary=2 -msseregparm

2010-03-26 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2010-03-26 23:26 --- We are trying to store DFmode with SFmode alignment since compress_float_constant converts 1.0DF to 1.0SF. This patch works around the problem: -- diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 3

[Bug middle-end/43548] internal compiler error: in ggc_set_mark, at ggc-page.c:1338

2010-03-26 Thread James dot C dot Tilton at nasa dot gov
--- Comment #1 from James dot C dot Tilton at nasa dot gov 2010-03-26 22:25 --- You have 10 days from 03-26-2010 to download the file(s) from the following URL: https://webdrive.gsfc.nasa.gov/shortauth/james.c.tilton/nBHjD4C Please use the following to login: username = Bug43548

[Bug pch/43548] internal compiler error: in ggc_set_mark, at ggc-page.c:1338

2010-03-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|blocker |normal Component|c |pch http://g

[Bug c/43548] New: internal compiler error: in ggc_set_mark, at ggc-page.c:1338

2010-03-26 Thread James dot C dot Tilton at nasa dot gov
$ x86_64-w64-mingw32-gcc -v Using built-in specs. COLLECT_GCC=c:\mingw-w64\bin\x86_64-w64-mingw32-gcc.exe COLLECT_LTO_WRAPPER=c:/mingw-w64/bin/../libexec/gcc/x86_64-w64-mingw32/4.5.0/lto-wrapper.exe Target: x86_64-w64-mingw32 Configured with: ../../../build/gcc/gcc/configure --target=x86_64-w64-min

[Bug tree-optimization/43247] [4.3/4.4 Regression] Incorrect optimization while declaring array[1]

2010-03-26 Thread thiago at kde dot org
--- Comment #6 from thiago at kde dot org 2010-03-26 21:46 --- Is this fix going to be backported to the 4.4.x line? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43247

[Bug objc++/23716] obj-c++.dg/comp-types-10.mm ICE with the GNU runtime

2010-03-26 Thread developer at sandoe-acoustics dot co dot uk
--- Comment #10 from developer at sandoe-acoustics dot co dot uk 2010-03-26 21:44 --- (In reply to comment #9) > also fails on *-*-darwin* with -fgnu-runtime. note the fail does not occur (at least on ppc darwin) with -O0 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23716

[Bug c++/43509] [4.5 regression] [C++0x] ICE in constructor_name_p, at cp/name-lookup.c:1809

2010-03-26 Thread jason at gcc dot gnu dot org
--- Comment #3 from jason at gcc dot gnu dot org 2010-03-26 21:40 --- Subject: Bug 43509 Author: jason Date: Fri Mar 26 21:39:48 2010 New Revision: 157765 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157765 Log: PR c++/43509 * parser.c (cp_parser_qualifying_ent

[Bug tree-optimization/43430] Missed vectorization: "stmt not supported: cond_expr"

2010-03-26 Thread spop at gcc dot gnu dot org
--- Comment #5 from spop at gcc dot gnu dot org 2010-03-26 21:18 --- Created an attachment (id=20218) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20218&action=view) Cleanup comparisons of types This patch replaces with types_compatible_p all the places in the vectorizer that wer

[Bug middle-end/43547] internal compiler error: in trunc_int_for_mode

2010-03-26 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2010-03-26 21:14 --- Yes this is a dup of that bug and really was not a bug in the official relase of 4.3.2, only Suse's version. Please see if SUSE has an update. Also next time please follow what is printed out: See

[Bug target/41680] [4.4/4.5 Regression] ICE in trunc_int_for_mode

2010-03-26 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2010-03-26 21:14 --- *** Bug 43547 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug middle-end/43547] internal compiler error: in trunc_int_for_mode

2010-03-26 Thread ivan at rhythm dot com
--- Comment #3 from ivan at rhythm dot com 2010-03-26 21:11 --- gcc -v Using built-in specs. Target: x86_64-suse-linux Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,

[Bug middle-end/43547] internal compiler error: in trunc_int_for_mode

2010-03-26 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2010-03-26 21:08 --- Most likely the same as PR 41680. Can you give the full output of "gcc -v"? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43547

[Bug c++/29615] Class can't be friends of itself?

2010-03-26 Thread potswa at mac dot com
--- Comment #4 from potswa at mac dot com 2010-03-26 21:08 --- The error doesn't occur if the friend is a template instance, so it really doesn't hurt anyone. But it's weird. template< int z > class F { friend class F<0>; // error only if <0> removed }; template class F<0>; --

[Bug middle-end/43547] internal compiler error: in trunc_int_for_mode

2010-03-26 Thread ivan at rhythm dot com
--- Comment #1 from ivan at rhythm dot com 2010-03-26 21:07 --- Created an attachment (id=20217) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20217&action=view) Trivial test program to replicate ICE. unix> /usr/bin/g++ -O2 gccbug.c gccbug.c: In function ‘int main()’: gccbug.c:25:

[Bug c++/43547] New: internal compiler error: in trunc_int_for_mode

2010-03-26 Thread ivan at rhythm dot com
When I run the following simple program, I get the above compiler error. /usr/bin/g++ -O2 gccbug.c gccbug.c: In function ‘int main()’: gccbug.c:25: internal compiler error: in trunc_int_for_mode, at explow.c:55 Please submit a full bug report, with preprocessed source if appropriate. See

[Bug debug/43540] ICE: vector VEC(dw_cfi_ref,heap) grow domain error, in output_cfis at dwarf2out.c:3346 or OOM-killed

2010-03-26 Thread jakub at gcc dot gnu dot org
--- Comment #9 from jakub at gcc dot gnu dot org 2010-03-26 20:54 --- Subject: Bug 43540 Author: jakub Date: Fri Mar 26 20:53:58 2010 New Revision: 157762 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157762 Log: PR debug/43540 * dwarf2out.c (reg_save): For DW_C

[Bug tree-optimization/43430] Missed vectorization: "stmt not supported: cond_expr"

2010-03-26 Thread spop at gcc dot gnu dot org
--- Comment #4 from spop at gcc dot gnu dot org 2010-03-26 20:49 --- This cleanup of vectorizable_condition allows this testcase to be vectorized: typedef int uint8_t; vsad16_c (void *c, uint8_t * s1, uint8_t * s2, int stride, int h) { int score = 0; int x, y; for (x = 0; x < 16;

[Bug fortran/43539] internal compiler error: in gfc_typenode_for_spec, at fortran/trans-types.c:995

2010-03-26 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2010-03-26 20:35 --- Reduced test program sizetest1 use ISO_C_BINDING implicit none type contains_pointer integer data type(contains_pointer), pointer :: next end type contains_pointer type(contains_poin

[Bug tree-optimization/43430] Missed vectorization: "stmt not supported: cond_expr"

2010-03-26 Thread spop at gcc dot gnu dot org
--- Comment #3 from spop at gcc dot gnu dot org 2010-03-26 20:26 --- vectorizable_condition has to be cleaned up of this condition: /* We do not handle two different vector types for the condition and the values. */ if (TREE_TYPE (TREE_OPERAND (cond_expr, 0)) != TREE_TYPE (vec

[Bug tree-optimization/43430] Missed vectorization: "stmt not supported: cond_expr"

2010-03-26 Thread spop at gcc dot gnu dot org
--- Comment #2 from spop at gcc dot gnu dot org 2010-03-26 20:13 --- Reduced testcase, for which ncopies is 4. typedef unsigned char uint8_t; vsad16_c (void *c, uint8_t * s1, uint8_t * s2, int stride, int h) { int score = 0; int x, y; for (x = 0; x < 16; x++) score += ((s1[x]

[Bug objc++/23716] obj-c++.dg/comp-types-10.mm ICE with the GNU runtime

2010-03-26 Thread developer at sandoe-acoustics dot co dot uk
--- Comment #9 from developer at sandoe-acoustics dot co dot uk 2010-03-26 20:09 --- also fails on *-*-darwin* with -fgnu-runtime. -- developer at sandoe-acoustics dot co dot uk changed: What|Removed |Added

[Bug tree-optimization/43430] Missed vectorization: "stmt not supported: cond_expr"

2010-03-26 Thread spop at gcc dot gnu dot org
--- Comment #1 from spop at gcc dot gnu dot org 2010-03-26 20:08 --- Due to the "FORNOW" fail in vectorizable_condition: int nunits = TYPE_VECTOR_SUBPARTS (vectype); int ncopies = LOOP_VINFO_VECT_FACTOR (loop_vinfo) / nunits; if (ncopies > 1) return false; /* FORNOW */ --

[Bug lto/43542] LTO segfault with object referencing __gnu_lto_v1

2010-03-26 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-03-26 19:45 --- Confirmed. Note that I think libtool also strips -flto from the linker commandline. The proper way to fix this bug is to stop emitting this artificial symbol but instead use another way to identify object files with

[Bug tree-optimization/43544] TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION can misoptimize when MD builtins overlap with standard builtins

2010-03-26 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-03-26 19:41 --- Looks good, it's pre-approved for trunk if it passes bootstrap & regtest. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/43545] OpenMP ICE (segfault) in conditional break

2010-03-26 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-03-26 19:38 --- Fixed in GCC 4.4.3. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Sta

[Bug target/43546] [4.4/4.5 Regression] ICE: in assign_stack_local_1, at function.c:353 with -mpreferred-stack-boundary=2 -msseregparm

2010-03-26 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-03-26 19:37 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug target/43546] New: ICE: in assign_stack_local_1, at function.c:353 with -mpreferred-stack-boundary=2 -msseregparm

2010-03-26 Thread zsojka at seznam dot cz
Command line: gcc -O1 -m32 -mpreferred-stack-boundary=2 -msseregparm -msse testcase.c -- testcase.c -- extern void bar(double); void foo() { bar(1.0); } Tested revisions: r157723 - crash alpha20100318 - segfault (without checking) r153685 - crash 4.4 r153668 - cra

[Bug c++/43545] New: OpenMP ICE (segfault) in conditional break

2010-03-26 Thread sjackman at gmail dot com
The following test case causes g++ 4.4.0 to crash. $ g++ --version g++ (GCC) 4.4.0 20090514 (Red Hat 4.4.0-6) #include int main() { std::vector m; std::vector::const_iterator it = m.begin(); #pragma omp parallel for (;;) { if (it == m.end())

[Bug tree-optimization/43247] [4.3/4.4 Regression] Incorrect optimization while declaring array[1]

2010-03-26 Thread hjl dot tools at gmail dot com
--- Comment #5 from hjl dot tools at gmail dot com 2010-03-26 18:54 --- This is fixed by revision 151360: http://gcc.gnu.org/ml/gcc-cvs/2009-09/msg00106.html and was introduced by revision 118729: http://gcc.gnu.org/ml/gcc-cvs/2006-11/msg00380.html -- http://gcc.gnu.org/bugzilla/

[Bug tree-optimization/43537] [4.3/4.4 Regression] c++ -O2 optimizes away a branch inside a loop (-ftree-vrp maybe)

2010-03-26 Thread pinskia at gcc dot gnu dot org
--- Comment #12 from pinskia at gcc dot gnu dot org 2010-03-26 18:46 --- *** This bug has been marked as a duplicate of 43247 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/43247] [4.3/4.4 Regression] Incorrect optimization while declaring array[1]

2010-03-26 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2010-03-26 18:46 --- *** Bug 43537 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug target/42113] [4.3/4.4/4.5 Regression] Internal Compiler error with -O3, breaking commit known

2010-03-26 Thread uros at gcc dot gnu dot org
--- Comment #14 from uros at gcc dot gnu dot org 2010-03-26 18:46 --- Subject: Bug 42113 Author: uros Date: Fri Mar 26 18:45:56 2010 New Revision: 157759 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157759 Log: PR target/42113 * config/alpha/alpha.md (*cmp_sadd

[Bug tree-optimization/43537] [4.3/4.4 Regression] c++ -O2 optimizes away a branch inside a loop (-ftree-vrp maybe)

2010-03-26 Thread hjl dot tools at gmail dot com
--- Comment #11 from hjl dot tools at gmail dot com 2010-03-26 18:43 --- This regression was introduced by revision 118729: http://gcc.gnu.org/ml/gcc-cvs/2006-11/msg00380.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43537

[Bug tree-optimization/43544] TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION can misoptimize when MD builtins overlap with standard builtins

2010-03-26 Thread meissner at gcc dot gnu dot org
--- Comment #1 from meissner at gcc dot gnu dot org 2010-03-26 18:37 --- Created an attachment (id=20216) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20216&action=view) Patch to change hook to take tree as argument, not integer. This patch fixes the hook to take a tree, and fix

[Bug tree-optimization/43544] New: TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION can misoptimize when MD builtins overlap with standard builtins

2010-03-26 Thread meissner at gcc dot gnu dot org
I was looking at the rs6000_builtin_vectorized_function and noticed that it takes an integer that gives the builtin function index. Unfortunately on the powerpc and cell architectures, the builtin function id overlaps with the system builtins, and you need to look at the builtin class before using

[Bug target/43524] ICE: in ix86_expand_prologue, at config/i386/i386.c:8636 with -mstack-arg-probe on x86_64-linux

2010-03-26 Thread uros at gcc dot gnu dot org
--- Comment #3 from uros at gcc dot gnu dot org 2010-03-26 18:22 --- Subject: Bug 43524 Author: uros Date: Fri Mar 26 18:22:37 2010 New Revision: 157757 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157757 Log: PR target/43524 * config/i386/i386.c (ix86_expand_p

[Bug objc/35996] ICE while building simple ObjC code with -fobjc-gc

2010-03-26 Thread developer at sandoe-acoustics dot co dot uk
--- Comment #5 from developer at sandoe-acoustics dot co dot uk 2010-03-26 18:20 --- Created an attachment (id=20215) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20215&action=view) warn that -fobjc-gc is ignored for -fgnu-runtime and set flag_objc_gc to 0 a warning seems enough

[Bug tree-optimization/43543] New: Reorder the statements in the loop can vectorize it

2010-03-26 Thread changpeng dot fang at amd dot com
int a[100], b[100], c[100], d[100]; void foo () { int i; for(i=1; i< 99; i++) { a[i] = b[i-1] + c[i]; b[i] = b[i+1] + d[i]; } } gcc -O3 -ffast-math -ftree-vectorizer-verbose=2 -c foo.c foo.c:6: note: not vectorized, possible dependence between data-refs b[D.2728_3] and b[i_17] fo

[Bug tree-optimization/26854] [4.3/4.4/4.5 Regression] Inordinate compile times on large routines

2010-03-26 Thread howarth at nitro dot med dot uc dot edu
--- Comment #112 from howarth at nitro dot med dot uc dot edu 2010-03-26 17:44 --- What is the status of this bug? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26854

[Bug objc/35996] ICE while building simple ObjC code with -fobjc-gc

2010-03-26 Thread howarth at nitro dot med dot uc dot edu
--- Comment #4 from howarth at nitro dot med dot uc dot edu 2010-03-26 17:40 --- *** Bug 43535 has been marked as a duplicate of this bug. *** -- howarth at nitro dot med dot uc dot edu changed: What|Removed |Added

[Bug objc/43535] ICE on objc.dg/objc-gc-4.m -fgnu-runtime

2010-03-26 Thread howarth at nitro dot med dot uc dot edu
--- Comment #5 from howarth at nitro dot med dot uc dot edu 2010-03-26 17:40 --- *** This bug has been marked as a duplicate of 35996 *** -- howarth at nitro dot med dot uc dot edu changed: What|Removed |Added ---

[Bug lto/43542] New: LTO segfault with object referencing __gnu_lto_v1

2010-03-26 Thread rwild at gcc dot gnu dot org
Current libtool does not yet work with lto. When generating symbol lists, it does not grep out __gnu_lto_v1 (BTW, which would be the right pattern to grep out?) Anyway, that can cause something like this to happen: cat >a.c <<'EOF' extern char __gnu_lto_v1; const struct { const char *name;

[Bug debug/43540] ICE: vector VEC(dw_cfi_ref,heap) grow domain error, in output_cfis at dwarf2out.c:3346 or OOM-killed

2010-03-26 Thread zsojka at seznam dot cz
--- Comment #8 from zsojka at seznam dot cz 2010-03-26 17:12 --- Patch from comment #7 seems to solve the isue even for the nonreduced testcase. Thanks -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43540

[Bug target/32192] Assembler errors compiling g++

2010-03-26 Thread mckelvey at maskull dot com
--- Comment #3 from mckelvey at maskull dot com 2010-03-26 16:51 --- (In reply to comment #2) > James, you reported this against 4.3.0. I've just tried your testcase against > both 4.3.4 and HEAD, neither of which had any problem; can you see if you > still > get it at all, or if we ca

[Bug bootstrap/43541] Warning Treated as Error

2010-03-26 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-03-26 16:49 --- This has been fixed already. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/42529] Stage 1 compiler cannot compile

2010-03-26 Thread mckelvey at maskull dot com
--- Comment #17 from mckelvey at maskull dot com 2010-03-26 16:48 --- (In reply to comment #16) > (In reply to comment #15) > > (In reply to comment #14) > > > > So I guess that the build and install recreates those rogue dlls. > > > > > > > My project compiles and links, but cannot r

[Bug tree-optimization/43528] ICE: in tree_low_cst, at tree.c:6198 with -mms-bitfields at x86_64-linux

2010-03-26 Thread ubizjak at gmail dot com
--- Comment #8 from ubizjak at gmail dot com 2010-03-26 16:47 --- (In reply to comment #7) > > Yep, that's the right version. > > Well, but negative sizes do not make much sense, so I think ,1 makes more > sense (with unsigned HOST_WIDE_INT then). Eh, what now? -- http://gcc.gnu.

[Bug tree-optimization/43537] [4.3/4.4 Regression] c++ -O2 optimizes away a branch inside a loop (-ftree-vrp maybe)

2010-03-26 Thread hjl dot tools at gmail dot com
--- Comment #10 from hjl dot tools at gmail dot com 2010-03-26 16:39 --- The original testcase was fixed by revision 151360: http://gcc.gnu.org/ml/gcc-cvs/2009-09/msg00106.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43537

[Bug objc/43535] ICE on objc.dg/objc-gc-4.m -fgnu-runtime

2010-03-26 Thread developer at sandoe-acoustics dot co dot uk
--- Comment #4 from developer at sandoe-acoustics dot co dot uk 2010-03-26 16:36 --- (In reply to comment #3) > Subject: Re: ICE on objc.dg/objc-gc-4.m -fgnu-runtime > This option should not be supported or a nop there. if gc is incompatible with gnu runtime then that should be throw

[Bug bootstrap/43541] New: Warning Treated as Error

2010-03-26 Thread mckelvey at maskull dot com
This one just needs a couple of casts: /cygdrive/j/Home/cvsroot/gcc-obj/./prev-gcc/xgcc -B/cygdrive/j/Home/cvsroot/gcc-obj/./prev-gcc/ -B/usr/local/i686-pc-cygwin/bin/ -B/usr/local/i686-pc-cygwin/bin/ -B/usr/local/i686-pc-cygwin/lib/ -isystem /usr/local/i686-pc-cygwin/include -isystem /usr/local/i

[Bug debug/43516] [4.5 Regression] "-fcompare-debug failure" at -O2

2010-03-26 Thread jakub at gcc dot gnu dot org
--- Comment #17 from jakub at gcc dot gnu dot org 2010-03-26 16:19 --- Subject: Bug 43516 Author: jakub Date: Fri Mar 26 16:18:51 2010 New Revision: 157753 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157753 Log: PR debug/43516 * flags.h (final_insns_dump_p): N

[Bug objc/43535] ICE on objc.dg/objc-gc-4.m -fgnu-runtime

2010-03-26 Thread pinskia at gmail dot com
--- Comment #3 from pinskia at gmail dot com 2010-03-26 16:14 --- Subject: Re: ICE on objc.dg/objc-gc-4.m -fgnu-runtime I think there is an already filed bug about this option with the gnu runtime also. This option should not be supported or a nop there. Sent from my iPhone On Mar

Re: [Bug objc/43535] ICE on objc.dg/objc-gc-4.m -fgnu-runtime

2010-03-26 Thread Andrew Pinski
I think there is an already filed bug about this option with the gnu runtime also. This option should not be supported or a nop there. Sent from my iPhone On Mar 26, 2010, at 5:16 AM, "developer at sandoe-acoustics dot co dot uk" wrote: --- Comment #1 from developer at sandoe-acous

[Bug debug/43540] ICE: vector VEC(dw_cfi_ref,heap) grow domain error, in output_cfis at dwarf2out.c:3346 or OOM-killed

2010-03-26 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2010-03-26 15:51 --- Created an attachment (id=20214) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20214&action=view) gcc45-pr43540.patch Ah, finally managed to reproduce it. The problem seems to be in confusion about the operand

[Bug tree-optimization/43537] [4.3/4.4 Regression] c++ -O2 optimizes away a branch inside a loop (-ftree-vrp maybe)

2010-03-26 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2010-03-26 15:44 --- I think it is SCEV leading to false D.2100_10: [4294967293, +INF] as it assumes D.2100_10 = i.2_9 + 4294967293; if (D.2100_10 <= 1) doesn't wrap. Probably fixed on the trunk by the patch that restricts asking

[Bug tree-optimization/43537] [4.3/4.4 Regression] c++ -O2 optimizes away a branch inside a loop (-ftree-vrp maybe)

2010-03-26 Thread falk at debian dot org
--- Comment #8 from falk at debian dot org 2010-03-26 15:30 --- This seems to be a problem with the struct hack in QVector. Here is a test case: extern "C" { void *memset(void *s, int c, __SIZE_TYPE__ n); void *malloc(__SIZE_TYPE__ size); int printf(const char *format, ...);

[Bug tree-optimization/43537] [4.3/4.4 Regression] c++ -O2 optimizes away a branch inside a loop (-ftree-vrp maybe)

2010-03-26 Thread juha dot kallioinen at nokia dot com
--- Comment #7 from juha dot kallioinen at nokia dot com 2010-03-26 15:24 --- Created an attachment (id=20213) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20213&action=view) source files Here are the source files to reproduce the bug, just untar and 'make'. -- http://gcc.g

[Bug debug/43540] ICE: vector VEC(dw_cfi_ref,heap) grow domain error, in output_cfis at dwarf2out.c:3346 or OOM-killed

2010-03-26 Thread zsojka at seznam dot cz
--- Comment #6 from zsojka at seznam dot cz 2010-03-26 15:17 --- (From update of attachment 20212) The testcase is invalid -- zsojka at seznam dot cz changed: What|Removed |Added -

[Bug tree-optimization/43505] [4.5 Regression] type mismatch between an SSA_NAME and its symbol with -O3

2010-03-26 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2010-03-26 15:10 --- *** Bug 41056 has been marked as a duplicate of this bug. *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug fortran/41056] ICE with -finline-limit=600 and -fwhole-file: type mismatch between an SSA_NAME and its symbol

2010-03-26 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2010-03-26 15:10 --- PR43505 has a smaller testcase and analysis. The unreduced testcase from this bug also passes with -fno-ipa-cp. *** This bug has been marked as a duplicate of 43505 *** -- rguenth at gcc dot gnu dot org chang

[Bug debug/43540] ICE: vector VEC(dw_cfi_ref,heap) grow domain error, in output_cfis at dwarf2out.c:3346 or OOM-killed

2010-03-26 Thread zsojka at seznam dot cz
--- Comment #5 from zsojka at seznam dot cz 2010-03-26 15:07 --- Created an attachment (id=20212) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20212&action=view) reduced executable testcase This testcase aborts for me when compiled with -fprofile-use, but works with -fprofile-arc

[Bug target/43469] [4.5 Regression] ICE trying to compile glibc for ARM thumb2

2010-03-26 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43469

[Bug target/43358] [4.5 Regression] IRA: internal compiler error: in pool_free, at alloc-pool.c:335

2010-03-26 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43358

[Bug tree-optimization/43537] [4.3/4.4 Regression] c++ -O2 optimizes away a branch inside a loop (-ftree-vrp maybe)

2010-03-26 Thread hjl dot tools at gmail dot com
--- Comment #6 from hjl dot tools at gmail dot com 2010-03-26 15:06 --- (In reply to comment #4) > (In reply to comment #3) > > It will be easier to debug if you provide a run-time testcase. > > That qvector.ii contains a main() function that executes test1() and test2(). > If you want

[Bug target/43196] [4.5 regression] ICE in dwarf2out_frame_debug_expr

2010-03-26 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-03-26 15:06 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|SUSPENDED

[Bug middle-end/43391] [4.5 Regression] make_decl_rtl failure for C++ on AIX and HPUX

2010-03-26 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-03-26 15:04 --- Honza - ping. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43391

[Bug debug/43540] ICE: vector VEC(dw_cfi_ref,heap) grow domain error, in output_cfis at dwarf2out.c:3346 or OOM-killed

2010-03-26 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-03-26 14:58 --- I can't reproduce this either but regs seems to leak in that function. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43540

[Bug debug/43540] ICE: vector VEC(dw_cfi_ref,heap) grow domain error, in output_cfis at dwarf2out.c:3346 or OOM-killed

2010-03-26 Thread zsojka at seznam dot cz
--- Comment #3 from zsojka at seznam dot cz 2010-03-26 14:56 --- Created an attachment (id=20211) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20211&action=view) generated profile data It can be reproduced only when compiled as C++ code. With this profile file and file from comm

[Bug lto/42757] lto1 does not emit common symbols with -fuse-linker-plugin

2010-03-26 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2010-03-26 14:40 --- Cary, can you give advice and/or fix gold and/or the linker plugin? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42757

[Bug debug/43540] ICE: vector VEC(dw_cfi_ref,heap) grow domain error, in output_cfis at dwarf2out.c:3346 or OOM-killed

2010-03-26 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-03-26 14:39 --- Can't reproduce this (ran cc1plus in a loop, still haven't reproduced after several minutes). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43540

[Bug c++/43024] [4.4 Regression] ICE on template code with -O2 or -O3, regression from 4.4.2

2010-03-26 Thread jiez at gcc dot gnu dot org
--- Comment #13 from jiez at gcc dot gnu dot org 2010-03-26 14:31 --- Subject: Bug 43024 Author: jiez Date: Fri Mar 26 14:30:49 2010 New Revision: 157750 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157750 Log: 2010-03-26 Volker Reichelt PR c++/43024 * g++.

[Bug tree-optimization/43537] [4.3/4.4 Regression] c++ -O2 optimizes away a branch inside a loop (-ftree-vrp maybe)

2010-03-26 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-03-26 14:06 --- Confirmed. Works on trunk. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug lto/42453] Assertion `syms' failed in lto-plugin

2010-03-26 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-03-26 13:58 --- Which means that we should probably stop optimizing right after writing out LTO IL and simply expand to RTL and assembly at that point. -- rguenth at gcc dot gnu dot org changed: What|Removed

[Bug lto/42453] Assertion `syms' failed in lto-plugin

2010-03-26 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-03-26 13:58 --- Usually this happens when we after writing out LTO IL drop some symbols because we keep optimizing. But we use the final set of symbols in the object files for doing linker resolution - that's possibly a different s

[Bug debug/43540] ICE: vector VEC(dw_cfi_ref,heap) grow domain error, in output_cfis at dwarf2out.c:3346 or OOM-killed

2010-03-26 Thread zsojka at seznam dot cz
--- Comment #1 from zsojka at seznam dot cz 2010-03-26 13:55 --- Created an attachment (id=20210) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20210&action=view) reduced testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43540

[Bug debug/43540] New: ICE: vector VEC(dw_cfi_ref,heap) grow domain error, in output_cfis at dwarf2out.c:3346 or OOM-killed

2010-03-26 Thread zsojka at seznam dot cz
Command line: $ CXX="/mnt/svn/gcc-trunk/binary-157723-lto/bin/g++" $ FLAGS="-O1 -freorder-blocks-and-partition -ftree-vectorize -fgraphite-identity -m32 -mstackrealign" $ $CXX -fprofile-arcs $FLAGS testcase.c $ ./a.out $ $CXX -fprofile-use $FLAGS testcase.c testcase.c: In function 'int test_for2(in

[Bug objc/35165] Massive failures of objc on i686-apple-darwin9

2010-03-26 Thread dominiq at lps dot ens dot fr
--- Comment #13 from dominiq at lps dot ens dot fr 2010-03-26 13:53 --- (In reply to comment #12) > > Is there any plan to backport the patches to 4.4? > > I'll look at that in the next couple of weeks. If this a sort of "yes", I am leaving the PR open. If at some point you decide it is

[Bug tree-optimization/43537] c++ -O2 optimizes away a branch inside a loop (-ftree-vrp maybe)

2010-03-26 Thread juha dot kallioinen at nokia dot com
--- Comment #4 from juha dot kallioinen at nokia dot com 2010-03-26 13:52 --- (In reply to comment #3) > It will be easier to debug if you provide a run-time testcase. That qvector.ii contains a main() function that executes test1() and test2(). If you want all the source files, I can

[Bug tree-optimization/43537] c++ -O2 optimizes away a branch inside a loop (-ftree-vrp maybe)

2010-03-26 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2010-03-26 13:50 --- It will be easier to debug if you provide a run-time testcase. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43537

[Bug fortran/43539] New: internal compiler error: in gfc_typenode_for_spec, at fortran/trans-types.c:995

2010-03-26 Thread dominiq at lps dot ens dot fr
Playing with the following test case (see http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/83b587a930639741# ): program sizetest1 use ISO_C_BINDING implicit none type contains_pointer integer data type(contains_pointer), pointer :: next end type c

[Bug testsuite/41609] Torture tests do not check "trivial.{m,mm}" for each run case.

2010-03-26 Thread developer at sandoe-acoustics dot co dot uk
--- Comment #4 from developer at sandoe-acoustics dot co dot uk 2010-03-26 13:48 --- I think this is now OK following the patches and no new issues appear to have arisen elsewhere. -- developer at sandoe-acoustics dot co dot uk changed: What|Removed

[Bug objc/35165] Massive failures of objc on i686-apple-darwin9

2010-03-26 Thread developer at sandoe-acoustics dot co dot uk
--- Comment #12 from developer at sandoe-acoustics dot co dot uk 2010-03-26 13:42 --- (In reply to comment #10) > Is there any plan to backport the patches to 4.4? I'll look at that in the next couple of weeks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35165

[Bug objc/35165] Massive failures of objc on i686-apple-darwin9

2010-03-26 Thread developer at sandoe-acoustics dot co dot uk
--- Comment #11 from developer at sandoe-acoustics dot co dot uk 2010-03-26 13:42 --- (In reply to comment #9) > Should I close this PR as fixed, leaving people fill new PRs for the remaining > failures, or should I leave it open? IMO this should be closed - it clears the faults that a

[Bug target/39254] [4.4 Regression] gcc.c-torture/execute/va-arg-trap-1.c ICEs on powerpc-apple-darwin9

2010-03-26 Thread dominiq at lps dot ens dot fr
--- Comment #24 from dominiq at lps dot ens dot fr 2010-03-26 13:38 --- The result of regression testing for all languages but ADA on powerpc-apple-darwin9 with -m32 and -m64 with the patch committed on trunk at revision 148568 posted at http://gcc.gnu.org/ml/gcc-testresults/2010-03/msg

[Bug debug/43516] [4.5 Regression] "-fcompare-debug failure" at -O2

2010-03-26 Thread rguenth at gcc dot gnu dot org
--- Comment #16 from rguenth at gcc dot gnu dot org 2010-03-26 13:36 --- (In reply to comment #14) > Created an attachment (id=20209) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20209&action=view) [edit] > gcc45-pr43516-2.patch > > Another possible patch, this one speeds up bui

[Bug objc/35165] Massive failures of objc on i686-apple-darwin9

2010-03-26 Thread dominiq at lps dot ens dot fr
--- Comment #10 from dominiq at lps dot ens dot fr 2010-03-26 13:35 --- Is there any plan to backport the patches to 4.4? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35165

[Bug debug/43516] [4.5 Regression] "-fcompare-debug failure" at -O2

2010-03-26 Thread rguenth at gcc dot gnu dot org
--- Comment #15 from rguenth at gcc dot gnu dot org 2010-03-26 13:33 --- (In reply to comment #13) > Created an attachment (id=20208) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20208&action=view) [edit] > gcc45-pr43516-1.patch > > One possible fix, just don't print MEM alias s

[Bug objc/35165] Massive failures of objc on i686-apple-darwin9

2010-03-26 Thread dominiq at lps dot ens dot fr
--- Comment #9 from dominiq at lps dot ens dot fr 2010-03-26 13:29 --- Following revision 157731 the number of failures for the objc and obj-c++ testsuite on *-apple-darwin* has drastically decreased. Iain, thanks a lot for the hard work. Should I close this PR as fixed, leaving people

[Bug debug/43516] [4.5 Regression] "-fcompare-debug failure" at -O2

2010-03-26 Thread jakub at gcc dot gnu dot org
--- Comment #14 from jakub at gcc dot gnu dot org 2010-03-26 13:15 --- Created an attachment (id=20209) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20209&action=view) gcc45-pr43516-2.patch Another possible patch, this one speeds up build_nonstandard_integer (e.g. on the #c1 test

[Bug debug/43516] [4.5 Regression] "-fcompare-debug failure" at -O2

2010-03-26 Thread jakub at gcc dot gnu dot org
--- Comment #13 from jakub at gcc dot gnu dot org 2010-03-26 13:13 --- Created an attachment (id=20208) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20208&action=view) gcc45-pr43516-1.patch One possible fix, just don't print MEM alias sets in -fdump-final-insns= dump. -- htt

[Bug target/43514] use of SSE shift intrinsics introduces unnecessary moves to the stack and back

2010-03-26 Thread kretz at kde dot org
--- Comment #2 from kretz at kde dot org 2010-03-26 13:13 --- BTW, I think you should consider this as a bug, not enhancement. Because if the shift argument is >= (1 << 32) the result of _mm_sll_epi64 differs from the expected result. Thus the code GCC generates could potentially hide a

[Bug testsuite/43512] [4.5 regression] Many objc test failures

2010-03-26 Thread hjl dot tools at gmail dot com
--- Comment #10 from hjl dot tools at gmail dot com 2010-03-26 13:08 --- (In reply to comment #9) > > > > Do they have to be executable? > > No. > Fixed. -- hjl dot tools at gmail dot com changed: What|Removed |Added --

  1   2   >