[Bug fortran/43227] [4.5/4.6 Regression] ICE: segmentation fault in mio_expr

2010-04-20 Thread pault at gcc dot gnu dot org
--- Comment #23 from pault at gcc dot gnu dot org 2010-04-20 06:19 --- Created an attachment (id=20433) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20433action=view) fix for this PR and PR43266 The attached is what I intend to submit tonight, unless somebody approves it in the

[Bug c++/43812] compiling .cc file with -fwhole-program results in ICE, in ipcp_iterate_stage, at ipa-cp.c:760

2010-04-20 Thread miles at gnu dot org
--- Comment #2 from miles at gnu dot org 2010-04-20 06:52 --- Created an attachment (id=20434) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20434action=view) local-surface-pp.cc, gzipped the uncompressed version of this file was too large to attach [note that the actual source

[Bug libstdc++/43813] New: vectorT*(3, NULL) fails to compile

2010-04-20 Thread jyasskin at gmail dot com
--- #include vector std::vectordouble* v(7, 0); --- lands on the template class InputIterator vector(InputIterator first, InputIterator last, const Allocator = Allocator()); constructor instead of explicit vector(size_type n, const T value = T(), const Allocator = Allocator());

[Bug rtl-optimization/40838] gcc shouldn't assume that the stack is aligned

2010-04-20 Thread mikulas at artax dot karlin dot mff dot cuni dot cz
--- Comment #68 from mikulas at artax dot karlin dot mff dot cuni dot cz 2010-04-20 07:48 --- gcc 4.5 is affected too. It would be nice if they fixed it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40838

[Bug target/43635] [4.5/4.6 Regression] ICE in s390_emit_call, at config/s390/s390.c:9484

2010-04-20 Thread krebbel at gcc dot gnu dot org
--- Comment #7 from krebbel at gcc dot gnu dot org 2010-04-20 07:51 --- Subject: Bug 43635 Author: krebbel Date: Tue Apr 20 07:51:14 2010 New Revision: 158540 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=158540 Log: 2010-04-20 Andreas Krebbel andreas.kreb...@de.ibm.com

[Bug target/43635] [4.5/4.6 Regression] ICE in s390_emit_call, at config/s390/s390.c:9484

2010-04-20 Thread krebbel at gcc dot gnu dot org
--- Comment #8 from krebbel at gcc dot gnu dot org 2010-04-20 08:18 --- Subject: Bug 43635 Author: krebbel Date: Tue Apr 20 08:18:18 2010 New Revision: 158541 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=158541 Log: 2010-04-20 Andreas Krebbel andreas.kreb...@de.ibm.com

[Bug target/43635] [4.5/4.6 Regression] ICE in s390_emit_call, at config/s390/s390.c:9484

2010-04-20 Thread krebbel at gcc dot gnu dot org
--- Comment #9 from krebbel at gcc dot gnu dot org 2010-04-20 08:21 --- Fixed with the patch above. -- krebbel at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/43603] gcc-4.4.3 ICE on ia64 with -O3

2010-04-20 Thread abel at gcc dot gnu dot org
--- Comment #3 from abel at gcc dot gnu dot org 2010-04-20 08:36 --- The problem is in the remove_insns_that_need_bookkeeping function, which should filter out all instructions that cannot be copied but yet may require bookkeeping. An instruction with asm operands is an example of

[Bug middle-end/43337] ICE: in lookup_decl_in_outer_ctx, at omp-low.c:2103

2010-04-20 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2010-04-20 08:37 --- Subject: Bug 43337 Author: jakub Date: Tue Apr 20 08:36:45 2010 New Revision: 158544 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=158544 Log: PR middle-end/43337 * tree-nested.c

[Bug middle-end/43337] ICE: in lookup_decl_in_outer_ctx, at omp-low.c:2103

2010-04-20 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2010-04-20 08:37 --- Subject: Bug 43337 Author: jakub Date: Tue Apr 20 08:37:12 2010 New Revision: 158545 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=158545 Log: PR middle-end/43337 * tree-nested.c

[Bug fortran/43339] Incorrect output for pgm checking data sharing attributes

2010-04-20 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2010-04-20 08:41 --- Subject: Bug 43339 Author: jakub Date: Tue Apr 20 08:41:02 2010 New Revision: 158547 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=158547 Log: PR fortran/43339 * openmp.c

[Bug middle-end/43337] ICE: in lookup_decl_in_outer_ctx, at omp-low.c:2103

2010-04-20 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2010-04-20 08:42 --- Fixed for 4.4/4.5/4.6. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/43339] Incorrect output for pgm checking data sharing attributes

2010-04-20 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2010-04-20 08:42 --- Fixed for 4.4/4.5/4.6. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/43339] Incorrect output for pgm checking data sharing attributes

2010-04-20 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2010-04-20 08:39 --- Subject: Bug 43339 Author: jakub Date: Tue Apr 20 08:39:22 2010 New Revision: 158546 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=158546 Log: PR fortran/43339 * openmp.c

[Bug c++/43812] compiling .cc file with -fwhole-program results in ICE, in ipcp_iterate_stage, at ipa-cp.c:760

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-04-20 08:48 --- Reducing. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/43415] [4.4 Regression] Consumes large amounts of memory and time in PRE at -O3

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2010-04-20 08:51 --- *** Bug 43811 has been marked as a duplicate of this bug. *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/43811] infinite memory leak when using -O3 option

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-04-20 08:51 --- It is. *** This bug has been marked as a duplicate of 43415 *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/43810] [4.5 Regression] linking results in undefined references to _savegpr_* _restgpr_*_x

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-04-20 08:52 --- libgcc.a should provide these and libgcc.so should be a linker script. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43810

[Bug rtl-optimization/43809] ICE on unconditional divide trap

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-04-20 08:53 --- conditional traps should be control-flow instructions just like maybe throwing calls are. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43809

[Bug target/43808] [4.6 Regression] -fipa-reference -fschedule-insns -fstrict-aliasing causes two gfortran check failures

2010-04-20 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Keywords||wrong-code Target Milestone|--- |4.6.0

[Bug rtl-optimization/43804] [4.5/4.6 regression] ICE in reload_cse_simplify_operands

2010-04-20 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.5.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43804

[Bug tree-optimization/43791] [4.6 Regression] kernel/rtmutex.c:1138:1: internal compiler error: in cgraph_decide_inlining_of_small_functions, at ipa-inline.c:1009

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #14 from rguenth at gcc dot gnu dot org 2010-04-20 08:59 --- Confirmed with the testcase from comment #8 at -O2. Breakpoint 1, fancy_abort ( file=0x1196288 /space/rguenther/src/svn/trunk/gcc/ipa-inline.c, line=1009, function=0x1196720

[Bug target/43814] New: gcc failed to inline memcpy

2010-04-20 Thread carrot at google dot com
Attached is a simplified test case from dalvik VM. Compile it with options -march=armv7-a -mthumb -Os -finline-functions, gcc generates Dalvik_sun_misc_Unsafe_getObject: push{r0, r1, r2, r4, r5, lr} ldr r5, [r0, #4] mov r4, r1 movsr2, #8 add

[Bug target/43814] gcc failed to inline memcpy

2010-04-20 Thread carrot at google dot com
--- Comment #1 from carrot at google dot com 2010-04-20 09:03 --- Created an attachment (id=20435) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20435action=view) test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43814

[Bug middle-end/43796] [4.5 Regression] ICE in is_overflow_infinity (tree-vrp.c:184) with gfortran -fcheck=bounds -O2

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-04-20 09:04 --- Subject: Bug 43796 Author: rguenth Date: Tue Apr 20 09:04:05 2010 New Revision: 158548 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=158548 Log: 2010-04-20 Richard Guenther rguent...@suse.de PR

[Bug bootstrap/43795] gcc-4.5.0, pb installation

2010-04-20 Thread mikpe at it dot uu dot se
--- Comment #4 from mikpe at it dot uu dot se 2010-04-20 09:05 --- The only way I can reproduce this is if I don't actually build gcc before I attempt the 'make install'. Did you or did you not 'make' or 'make bootstrap' before 'make install'? --

[Bug middle-end/43796] [4.5 Regression] ICE in is_overflow_infinity (tree-vrp.c:184) with gfortran -fcheck=bounds -O2

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-04-20 09:05 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/43783] [4.5 Regression] -O -ftree-pre options compile libbid wrong

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2010-04-20 09:05 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/43783] [4.5 Regression] -O -ftree-pre options compile libbid wrong

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #11 from rguenth at gcc dot gnu dot org 2010-04-20 09:05 --- Subject: Bug 43783 Author: rguenth Date: Tue Apr 20 09:05:33 2010 New Revision: 158549 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=158549 Log: 2010-04-20 Richard Guenther rguent...@suse.de PR

[Bug tree-optimization/43791] [4.6 Regression] kernel/rtmutex.c:1138:1: internal compiler error: in cgraph_decide_inlining_of_small_functions, at ipa-inline.c:1009

2010-04-20 Thread justinmattock at gmail dot com
--- Comment #15 from justinmattock at gmail dot com 2010-04-20 09:11 --- as for the crash in early boot, I have not re-built sysvinit, and libselinux with 4.6.0.. so am unsure if it makes a difference or not(will test as soon as I wake up). --

[Bug debug/40040] gfortran invalid DW_AT_location for overridable variables

2010-04-20 Thread jan dot kratochvil at redhat dot com
--- Comment #7 from jan dot kratochvil at redhat dot com 2010-04-20 09:14 --- Created an attachment (id=20436) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20436action=view) Preliminary GDB patch. Tobias, could you add DW_AT_MIPS_linkage name? You say in Comment 3 the debugger

[Bug fortran/43227] [4.5/4.6 Regression] ICE: segmentation fault in mio_expr

2010-04-20 Thread dominiq at lps dot ens dot fr
--- Comment #24 from dominiq at lps dot ens dot fr 2010-04-20 09:18 --- The patch in comment #23 works fine on my tests. Thanks for it. Also included is the fix for PR43266, which was first posted on March 27 and is very 'obvious'. Note for the record that it gives an additional

[Bug bootstrap/43795] gcc-4.5.0, pb installation

2010-04-20 Thread yves dot caniou at ens-lyon dot fr
--- Comment #5 from yves dot caniou at ens-lyon dot fr 2010-04-20 09:20 --- (In reply to comment #4) The only way I can reproduce this is if I don't actually build gcc before I attempt the 'make install'. Did you or did you not 'make' or 'make bootstrap' before 'make install'?

[Bug debug/40040] gfortran invalid DW_AT_location for overridable variables

2010-04-20 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2010-04-20 09:21 --- Please treat DW_AT_linkage_name the same as DW_AT_MIPS_linkage_name, for -gdwarf-4 the patch I've posted yesterday emits the former rather than latter. Currently the addition of DW_AT_{,MIPS_}linkage_name is guarded

[Bug c/43815] New: Internal error detected by avr-gcc.

2010-04-20 Thread philippe dot hoogvorst at neuf dot fr
Transcript: uname -a Linux pluton 2.6.32-trunk-686 #1 SMP Sun Jan 10 06:32:16 UTC 2010 i686 GNU/Linux avr-gcc -v Using built-in specs. Target: avr Configured with: ../src/configure -v --enable-languages=c,c++ --prefix=/usr/lib

[Bug fortran/43227] [4.5/4.6 Regression] ICE: segmentation fault in mio_expr

2010-04-20 Thread paul dot richard dot thomas at gmail dot com
--- Comment #25 from paul dot richard dot thomas at gmail dot com 2010-04-20 09:31 --- Subject: Re: [4.5/4.6 Regression] ICE: segmentation fault in mio_expr Dominiq, Note for the record that it gives an additional error for PR43266 instead of the ICE: pr43266.f90:37.25:

[Bug c/43815] Internal error detected by avr-gcc.

2010-04-20 Thread philippe dot hoogvorst at neuf dot fr
--- Comment #1 from philippe dot hoogvorst at neuf dot fr 2010-04-20 09:32 --- Created an attachment (id=20437) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20437action=view) Smallest file triggering the bug. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43815

[Bug target/43814] gcc failed to inline memcpy

2010-04-20 Thread mikpe at it dot uu dot se
--- Comment #2 from mikpe at it dot uu dot se 2010-04-20 09:39 --- Created an attachment (id=20438) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20438action=view) reduced test case With this reduced test case I see the missed-optimization for both ARM and Thumb modes with gcc 4.5

[Bug c/43815] Internal error detected by avr-gcc.

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-04-20 09:40 --- bug.s: Assembler messages: bug.s:2: Internal error, aborting at symbols.c line 94 in symbol_new Please report this bug. this is an assembler problem, please report it to binutils. -- rguenth at gcc dot gnu dot

[Bug libstdc++/43813] [DR1234] vectorT*(3, NULL) fails to compile

2010-04-20 Thread redi at gcc dot gnu dot org
--- Comment #1 from redi at gcc dot gnu dot org 2010-04-20 09:40 --- (In reply to comment #0) Passing NULL instead of 0 makes the error depend on the build target. For example, NULL appears to be an int on x86-32 but a long on x86-64, meaning the error appears on x86-32 but not on

[Bug libstdc++/43813] [DR1234] vectorT*(3, NULL) fails to compile

2010-04-20 Thread redi at gcc dot gnu dot org
--- Comment #2 from redi at gcc dot gnu dot org 2010-04-20 09:40 --- Suspending while the issue is open -- redi at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/43814] gcc failed to inline memcpy

2010-04-20 Thread mikpe at it dot uu dot se
--- Comment #3 from mikpe at it dot uu dot se 2010-04-20 09:44 --- Created an attachment (id=20439) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20439action=view) reduced test case, corrected Oops, I attached the wrong version of the test case. -- mikpe at it dot uu dot se

[Bug c++/43812] [4.5/4.6 Regression] compiling .cc file with -fwhole-program results in ICE, in ipcp_iterate_stage, at ipa-cp.c:760

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-04-20 09:45 --- Fails at -O -fipa-cp -fwhole-program typedef float scoord_t; typedef scoord_t sdist_t; typedef sdist_t dist_t; templatetypename T class TRay { }; typedef TRaydist_t Ray; class BBox { }; class RenderContext { };

[Bug libgomp/43569] libgomp: Conditional jump or move depends on uninitialised value

2010-04-20 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-04-20 09:54 --- Created an attachment (id=20440) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20440action=view) gcc46-pr43569.patch Fix. -- jakub at gcc dot gnu dot org changed: What|Removed

[Bug libgomp/43706] scheduling two threads on one core leads to starvation

2010-04-20 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2010-04-20 10:23 --- For performance reasons libgomp uses some busy waiting, which of course works well when there are available CPUs and cycles to burn (decreases latency a lot), but if you have more threads than CPUs it can make things

[Bug libgomp/43706] scheduling two threads on one core leads to starvation

2010-04-20 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2010-04-20 10:49 --- Created an attachment (id=20441) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20441action=view) gcc46-pr43706.patch For GOMP_CPU_AFFINITY there was an issue that the number of available CPUs used to decide

[Bug middle-end/43338] ICE: in single_pred_edge, at basic-block.h:658

2010-04-20 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-04-20 11:26 --- Most likely dup of PR42866. *** This bug has been marked as a duplicate of 42866 *** -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/42866] ICE for REDUCTION with ALLOCATABLE array as variable on SECTIONS

2010-04-20 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2010-04-20 11:26 --- *** Bug 43338 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42866

[Bug tree-optimization/43607] [4.3 Regression] ICE in gimple_op, at gimple.h:1633 with -fipa-type-escape

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2010-04-20 11:29 --- WONTFIX for 4.3 - -fipa-type-escape is broken anyway. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/43712] ICE on improperly continued character constant

2010-04-20 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2010-04-20 11:33 --- Please update your gfortran. *** This bug has been marked as a duplicate of 42866 *** -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/42866] ICE for REDUCTION with ALLOCATABLE array as variable on SECTIONS

2010-04-20 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2010-04-20 11:33 --- *** Bug 43712 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42866

[Bug target/40457] use stm and ldm to access consecutive memory words

2010-04-20 Thread bernds at codesourcery dot com
--- Comment #11 from bernds at codesourcery dot com 2010-04-20 11:47 --- http://gcc.gnu.org/ml/gcc-patches/2010-04/msg01231.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40457

[Bug other/39979] [4.4/4.5/4.6 Regression] possible wrong code at all -0x levels.

2010-04-20 Thread pluto at agmk dot net
--- Comment #13 from pluto at agmk dot net 2010-04-20 12:20 --- (In reply to comment #5) (In reply to comment #4) during analysis the boost::thread::start_thread() function which causes invalid writes detected by valgrind i've noticed that gcc-4.5 generates bigger and more

[Bug fortran/43326] [OOP] dynamic dispatch with CLASS components

2010-04-20 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2010-04-20 12:21 --- Technically this PR, fixed on trunk but not on fortran-dev, is now a [fortran-dev Regression]. Could it be marked that way? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43326

[Bug driver/38381] [4.3 Regression] -b option seems to be broken

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2010-04-20 12:21 --- WONTFIX on the 4.3 branch. This option has been removed for GCC 4.6. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug libgomp/43706] scheduling two threads on one core leads to starvation

2010-04-20 Thread mika dot fischer at kit dot edu
--- Comment #7 from mika dot fischer at kit dot edu 2010-04-20 12:23 --- For performance reasons libgomp uses some busy waiting, which of course works well when there are available CPUs and cycles to burn (decreases latency a lot), but if you have more threads than CPUs it can make

[Bug debug/40040] gfortran invalid DW_AT_location for overridable variables

2010-04-20 Thread jan dot kratochvil at redhat dot com
--- Comment #9 from jan dot kratochvil at redhat dot com 2010-04-20 12:24 --- (In reply to comment #8) BTW, should DW_AT_{,MIPS_}linkage_name be also present on DW_TAG_common_block? [...] for DW_AT_linkage_name to be allowed on DW_TAG_common_block. For DW_TAG_common_block: + /*

[Bug fortran/43326] [fortran-dev Regression] dynamic dispatch with CLASS components

2010-04-20 Thread janus at gcc dot gnu dot org
--- Comment #5 from janus at gcc dot gnu dot org 2010-04-20 12:26 --- (In reply to comment #4) Technically this PR, fixed on trunk but not on fortran-dev, is now a [fortran-dev Regression]. Could it be marked that way? Yes. -- janus at gcc dot gnu dot org changed:

[Bug other/43816] New: missed inline optimization for boost::shared_ptr::operator =

2010-04-20 Thread pluto at agmk dot net
please consider .einline2 and .optimized trees for the boost::thread::start_thread() function from attached testcase. the 4.3 optimize boost::shared_ptr::operator= pretty nice. the 4.5 avoid operator= inlining. moreover, the 4.5 code is bigger (152bytes vs 106bytes) and contains more atomic

[Bug other/43816] missed inline optimization for boost::shared_ptr::operator =

2010-04-20 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2010-04-20 12:36 --- Created an attachment (id=20442) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20442action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43816

[Bug other/43816] missed inline optimization for boost::shared_ptr::operator =

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-04-20 12:56 --- Well. early inlining is then just lucky in 4.3 - the functions are really too big for early inlining to inline fully. Btw, IPA inlining does inline operator= into start_thread. In 4.3 we do not inline a

[Bug tree-optimization/26069] [4.3 Regression] Runtime endian-ness check is no longer optimized out.

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #31 from rguenth at gcc dot gnu dot org 2010-04-20 13:05 --- WONTFIX for the regression on the 4.3 branch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/43814] gcc failed to inline memcpy

2010-04-20 Thread ramana at gcc dot gnu dot org
-- ramana at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |enhancement Status|UNCONFIRMED |NEW

[Bug tree-optimization/43817] New: Runtime endian-ness check is not optimized on the tree level

2010-04-20 Thread rguenth at gcc dot gnu dot org
bool tell_endian() { unsigned x = 1; return *(char*)x; } optimized on the RTL level only, split out from PR26069. -- Summary: Runtime endian-ness check is not optimized on the tree level Product: gcc Version: 4.6.0 Status:

[Bug tree-optimization/43629] [4.3 Regression] Struct to register optimization fails

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #15 from rguenth at gcc dot gnu dot org 2010-04-20 13:08 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/43629] [4.3 Regression] Struct to register optimization fails

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #16 from rguenth at gcc dot gnu dot org 2010-04-20 13:08 --- Subject: Bug 43629 Author: rguenth Date: Tue Apr 20 13:08:01 2010 New Revision: 158554 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=158554 Log: 2010-04-20 Richard Guenther rguent...@suse.de PR

[Bug rtl-optimization/43438] [4.3 Regression] possible wrong code bug

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2010-04-20 13:09 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/43438] [4.3 Regression] possible wrong code bug

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2010-04-20 13:10 --- Subject: Bug 43438 Author: rguenth Date: Tue Apr 20 13:09:42 2010 New Revision: 158555 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=158555 Log: 2010-04-20 Richard Guenther rguent...@suse.de PR

[Bug tree-optimization/27004] [4.3 Regression] Insane amount of memory needed at -O1 and above because of salias and large switch

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2010-04-20 13:22 --- WONTFIX on the branch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/28879] [4.3 Regression] ICE with VLA in template function

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #17 from rguenth at gcc dot gnu dot org 2010-04-20 13:24 --- WONTFIX for 4.3 as of comment #14. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/29215] [4.3 Regression] extra store for memcpy

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #21 from rguenth at gcc dot gnu dot org 2010-04-20 13:26 --- WONTFIX on the 4.3 branch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/30930] [4.3 Regression] vector can cause to create an extra variable, DECL_GIMPLE_REG_P not recomputed

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #18 from rguenth at gcc dot gnu dot org 2010-04-20 13:27 --- WONTFIX on the 4.3 branch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug objc++/31032] [4.3 Regression] expected tree that contains 'decl with RTL' structure, have 'field_decl' in assemble_external_real, at varasm.c:2225

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #17 from rguenth at gcc dot gnu dot org 2010-04-20 13:27 --- WONTFIX on the 4.3 branch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug inline-asm/43518] ARM register constraint for ldrd and strd instructions

2010-04-20 Thread paulius dot zaleckas at gmail dot com
--- Comment #2 from paulius dot zaleckas at gmail dot com 2010-04-20 13:39 --- (In reply to comment #1) Please supply a full testcase, and explain precisely the problem you are seeing. I cannot determine from your initial post what problem you are seeing. Currently I am extremely

[Bug c++/35335] [4.3 regression] Broken diagnostic: 'expr_stmt' not supported by dump_expr

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2010-04-20 13:39 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug c++/35335] [4.3 regression] Broken diagnostic: 'expr_stmt' not supported by dump_expr

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2010-04-20 13:40 --- Subject: Bug 35335 Author: rguenth Date: Tue Apr 20 13:39:44 2010 New Revision: 158556 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=158556 Log: 2010-04-20 Richard Guenther rguent...@suse.de

[Bug tree-optimization/35428] [4.3 regression] ICE with -ftrapv

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #19 from rguenth at gcc dot gnu dot org 2010-04-20 13:40 --- WONTFIX on the 4.3 branch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/35430] [4.3 regression] ICE with complex arithmetic

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2010-04-20 13:42 --- WONTFIX on the 4.3 branch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug other/43816] missed inline optimization for boost::shared_ptr::operator =

2010-04-20 Thread pluto at agmk dot net
--- Comment #3 from pluto at agmk dot net 2010-04-20 13:47 --- so it's an invalid PR. -- pluto at agmk dot net changed: What|Removed |Added

[Bug c/35443] [4.2/4.3/4.4 regression] Completely broken diagnostic with bind_expr

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-04-20 13:51 --- Subject: Bug 35443 Author: rguenth Date: Tue Apr 20 13:51:24 2010 New Revision: 158557 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=158557 Log: 2010-04-20 Richard Guenther rguent...@suse.de

[Bug c/35742] [4.3 regression] Broken diagnostic: 'goto_expr' not supported by pp_c_expression

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2010-04-20 13:51 --- Subject: Bug 35742 Author: rguenth Date: Tue Apr 20 13:51:24 2010 New Revision: 158557 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=158557 Log: 2010-04-20 Richard Guenther rguent...@suse.de

[Bug c/35443] [4.2/4.3/4.4 regression] Completely broken diagnostic with bind_expr

2010-04-20 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Known to fail||4.3.4 Target Milestone|4.2.5 |4.3.5

[Bug c/35742] [4.3 regression] Broken diagnostic: 'goto_expr' not supported by pp_c_expression

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2010-04-20 13:52 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug c++/43800] [4.6 regression] FAIL: libgomp.c++/for-4.C

2010-04-20 Thread dodji at gcc dot gnu dot org
--- Comment #2 from dodji at gcc dot gnu dot org 2010-04-20 13:58 --- ... patch posted to http://gcc.gnu.org/ml/gcc-patches/2010-04/msg01241.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43800

[Bug middle-end/39154] Miscompilation of VLAs in nested parallel regions

2010-04-20 Thread singler at kit dot edu
--- Comment #3 from singler at kit dot edu 2010-04-20 14:04 --- Can this old bug be closed? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39154

[Bug c++/43818] New: internal compiler error: Segmentation fault

2010-04-20 Thread oberlaender at fzi dot de
Hi, unfortunately it's hard for me to tell whether this is the same as any of the other segfault bugs, so I'll have to ask you to determine that for yourselves. $ g++ -v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.1-4ubuntu9'

[Bug c++/43818] internal compiler error: Segmentation fault

2010-04-20 Thread oberlaender at fzi dot de
--- Comment #1 from oberlaender at fzi dot de 2010-04-20 14:08 --- Created an attachment (id=20443) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20443action=view) bugtest.ii to reproduce the segfault. This is the preprocessed source file leading to the segfault, created using g++

[Bug c/38957] [4.3 Regression] return of local variable pointer

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2010-04-20 14:10 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c/38957] [4.3 Regression] return of local variable pointer

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2010-04-20 14:10 --- Subject: Bug 38957 Author: rguenth Date: Tue Apr 20 14:09:52 2010 New Revision: 158559 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=158559 Log: 2010-04-20 Richard Guenther rguent...@suse.de

[Bug c++/43818] internal compiler error: Segmentation fault

2010-04-20 Thread oberlaender at fzi dot de
--- Comment #2 from oberlaender at fzi dot de 2010-04-20 14:14 --- The following is a list of changes to the code, each of which makes the segfault disappear: - Remove the max_len parameter from tBspTree2D::Intersect() and replace its use by a constant - Remove lines 44931 through

[Bug middle-end/39154] Miscompilation of VLAs in nested parallel regions

2010-04-20 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2010-04-20 14:15 --- Fixed for 4.4+. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/39417] [4.3 Regression] Incorrect values computed with -ftree-copy-prop

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2010-04-20 14:18 --- Subject: Bug 39417 Author: rguenth Date: Tue Apr 20 14:18:35 2010 New Revision: 158560 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=158560 Log: 2010-04-20 Richard Guenther rguent...@suse.de PR

[Bug fortran/41023] Inconsistent error locations for wrong interfaces with overloaded operators

2010-04-20 Thread mikael at gcc dot gnu dot org
--- Comment #5 from mikael at gcc dot gnu dot org 2010-04-20 14:21 --- Created an attachment (id=20444) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20444action=view) patch This produces : pr41023.f90:9.21: MODULE PROCEDURE myplus 1 Error: Operator

[Bug tree-optimization/43220] [4.3 Regression] Paritially optimized __builtin_save_stack/__builtin_restore_stack causes segmentation fault

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2010-04-20 14:24 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/38360] [4.3 Regression] ICE in gimple_op, at gimple.h:1636

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #11 from rguenth at gcc dot gnu dot org 2010-04-20 14:24 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/43220] [4.3 Regression] Paritially optimized __builtin_save_stack/__builtin_restore_stack causes segmentation fault

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2010-04-20 14:25 --- Subject: Bug 43220 Author: rguenth Date: Tue Apr 20 14:24:39 2010 New Revision: 158561 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=158561 Log: 2010-04-20 Richard Guenther rguent...@suse.de

[Bug middle-end/38360] [4.3 Regression] ICE in gimple_op, at gimple.h:1636

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2010-04-20 14:25 --- Subject: Bug 38360 Author: rguenth Date: Tue Apr 20 14:24:39 2010 New Revision: 158561 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=158561 Log: 2010-04-20 Richard Guenther rguent...@suse.de

[Bug tree-optimization/38844] [4.3 Regression] deadlock with __attribute__((always_inline)) at -O1 and above

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #16 from rguenth at gcc dot gnu dot org 2010-04-20 14:30 --- Backporting the fix causes FAIL: gcc.c-torture/compile/pr32482.c -O0 (test for excess errors) Excess errors: /abuild/rguenther/gcc-4_3-branch/gcc/testsuite/gcc.c-torture/compile/pr32482.c:4: sorry,

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

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #17 from rguenth at gcc dot gnu dot org 2010-04-20 14:32 --- Subject: Bug 38584 Author: rguenth Date: Tue Apr 20 14:31:47 2010 New Revision: 158562 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=158562 Log: 2010-04-20 Richard Guenther rguent...@suse.de

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

2010-04-20 Thread rguenth at gcc dot gnu dot org
--- Comment #18 from rguenth at gcc dot gnu dot org 2010-04-20 14:32 --- Backported the fix for the $summary. WONTFIX for the cfgexpand slowness. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

  1   2   >