[Bug libstdc++/60448] swap_ranges does not use ADL correctly

2014-03-07 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60448 --- Comment #10 from Jonathan Wakely redi at gcc dot gnu.org --- (In reply to Marc Glisse from comment #6) libc++ sfinae constrains std::swap. Aha! I suppose we could do that too, but that would be an enhancement (and have to wait until after

[Bug tree-optimization/60454] Code mistakenly detected as doing bswap

2014-03-07 Thread thomas.preudhomme at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60454 --- Comment #1 from Thomas Preud'homme thomas.preudhomme at arm dot com --- Created attachment 32297 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=32297action=edit Unpreprocessed testcase for incorrect bswap detection

[Bug libstdc++/60448] swap_ranges does not use ADL correctly

2014-03-07 Thread public at alisdairm dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60448 --- Comment #11 from Alisdair Meredith public at alisdairm dot net --- Created attachment 32298 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=32298action=edit Portable test of ADL on local type Agreed, not-a-bug. For completeness, I attach

[Bug tree-optimization/60452] [4.8/4.9 Regression] wrong code at -O1 on x86_64-linux-gnu (affecting trunk and 4.8.x)

2014-03-07 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60452 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug tree-optimization/60454] [4.7/4.8/4.9 Regression] Code mistakenly detected as doing bswap

2014-03-07 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60454 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Keywords||wrong-code

[Bug tree-optimization/60452] [4.8/4.9 Regression] wrong code at -O1 on x86_64-linux-gnu (affecting trunk and 4.8.x)

2014-03-07 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60452 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Keywords||wrong-code

[Bug debug/60438] dwarf2cfi :2239 still assert,not the same cause as PR 59575

2014-03-07 Thread manjian2006 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60438 --- Comment #4 from linzj manjian2006 at gmail dot com --- Further debug show this push op is gen by sched2 pass

[Bug target/60451] X86 vectorization improve: pack instead of pshufb

2014-03-07 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60451 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target||x86_64-*-*,

[Bug lto/60449] Merging function DECLs discards leaf attribute which causes cfg verifier to fail

2014-03-07 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60449 --- Comment #5 from Richard Biener rguenth at gcc dot gnu.org --- Shouldn't fixup_cfg fix this up? Simply prefering the decl with attributes isn't enough if you attach an urelated attribute to both fns as well.

[Bug lto/60449] Merging function DECLs discards leaf attribute which causes cfg verifier to fail

2014-03-07 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60449 --- Comment #6 from Richard Biener rguenth at gcc dot gnu.org --- OTOH, why do we have to merge the decls/cgraph nodes at all? Can't we simply make them aliases if tree merging decides the decls are not equal?

[Bug debug/60438] dwarf2cfi :2239 still assert,not the same cause as PR 59575

2014-03-07 Thread manjian2006 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60438 --- Comment #5 from linzj manjian2006 at gmail dot com --- No confirm yet! (In reply to linzj from comment #4) Further debug show this push op is gen by sched2 pass

[Bug tree-optimization/60454] [4.7/4.8/4.9 Regression] Code mistakenly detected as doing bswap

2014-03-07 Thread thomas.preudhomme at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60454 --- Comment #3 from Thomas Preud'homme thomas.preudhomme at arm dot com --- Created attachment 32299 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=32299action=edit Fix_bswap_detection See in attachment for the patch I wrote to fix the issue.

[Bug libstdc++/60448] swap_ranges does not use ADL correctly

2014-03-07 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60448 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug middle-end/60418] [4.9 Regression] 435.gromacs in SPEC CPU 2006 is miscompiled

2014-03-07 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60418 --- Comment #12 from Richard Biener rguenth at gcc dot gnu.org --- (In reply to H.J. Lu from comment #8) With LTO, current_loops-state may not be set and loops_state_satisfies_p () may always be false. It's zero. It probably should be

[Bug middle-end/60418] [4.9 Regression] 435.gromacs in SPEC CPU 2006 is miscompiled

2014-03-07 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60418 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added CC||rguenth at gcc

[Bug tree-optimization/60454] [4.7/4.8/4.9 Regression] Code mistakenly detected as doing bswap

2014-03-07 Thread thomas.preudhomme at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60454 Thomas Preud'homme thomas.preudhomme at arm dot com changed: What|Removed |Added Attachment #32299|0 |1

[Bug debug/60438] dwarf2cfi :2239 still assert,not the same cause as PR 59575

2014-03-07 Thread manjian2006 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60438 --- Comment #6 from linzj manjian2006 at gmail dot com --- The push edx is gen by originally fop_sf_2_i387. (insn 180 281 288 17 (set (reg:SF 9 st(1) [orig:153 D.227396 ] [153]) (mult:SF (float:SF (reg:SI 1 dx [160])) (reg:SF

[Bug tree-optimization/60452] [4.8/4.9 Regression] wrong code at -O1 on x86_64-linux-gnu (affecting trunk and 4.8.x)

2014-03-07 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60452 --- Comment #2 from Jakub Jelinek jakub at gcc dot gnu.org --- Can be simplified into: int a; int main () { int e[2] = { 0, 0 }, f = 0; if (a == 131072) f = e[a]; return f; } which then starts to crash even starting from 4.3 or so (in

[Bug debug/60438] dwarf2cfi :2239 still assert,not the same cause as PR 59575

2014-03-07 Thread manjian2006 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60438 --- Comment #7 from linzj manjian2006 at gmail dot com --- confirm that in csa pass: (insn 288 281 289 17 (set (mem:SI (pre_dec:SI (reg/f:SI 7 sp)) [0 S4 A8]) (reg:SI 1 dx [160]))

[Bug libstdc++/60448] swap_ranges does not use ADL correctly

2014-03-07 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60448 --- Comment #13 from Marc Glisse glisse at gcc dot gnu.org --- (In reply to Jonathan Wakely from comment #10) (In reply to Marc Glisse from comment #6) libc++ sfinae constrains std::swap. Aha! I suppose we could do that too, Indeed. I

[Bug lto/60449] Merging function DECLs discards leaf attribute which causes cfg verifier to fail

2014-03-07 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60449 Martin Jambor jamborm at gcc dot gnu.org changed: What|Removed |Added CC||hubicka at gcc

[Bug debug/60438] dwarf2cfi :2239 still assert,not the same cause as PR 59575

2014-03-07 Thread manjian2006 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60438 --- Comment #8 from linzj manjian2006 at gmail dot com --- Okay let me sum it up: at first the code looks like this call xxx: .cfa 92 float ops add sp 12 .cfa 80 And then split2 splits the float ops,then it looks like this call xxx: .cfa 92 push

[Bug tree-optimization/60452] [4.8/4.9 Regression] wrong code at -O1 on x86_64-linux-gnu (affecting trunk and 4.8.x)

2014-03-07 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60452 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||ebotcazou at gcc

[Bug tree-optimization/60452] [4.8/4.9 Regression] wrong code at -O1 on x86_64-linux-gnu (affecting trunk and 4.8.x)

2014-03-07 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60452 --- Comment #4 from Jakub Jelinek jakub at gcc dot gnu.org --- Perhaps some new flag (MEM access will always fault?) or something similar.

[Bug c/60455] New: Imprecise column number of -Woverflow in array initializers

2014-03-07 Thread chengniansun at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60455 Bug ID: 60455 Summary: Imprecise column number of -Woverflow in array initializers Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/60448] swap_ranges does not use ADL correctly

2014-03-07 Thread public at alisdairm dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60448 --- Comment #14 from Alisdair Meredith public at alisdairm dot net --- Among other things, it lets fools like me write code relying on a behavior, not realizing that the code is not portable. As a user I swing between the convenience of having

[Bug tree-optimization/60454] [4.7/4.8/4.9 Regression] Code mistakenly detected as doing bswap

2014-03-07 Thread thomas.preudhomme at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60454 --- Comment #5 from Thomas Preud'homme thomas.preudhomme at arm dot com --- I have posted the patch on gcc-patches mailing list. The discussion can be followed from http://gcc.gnu.org/ml/gcc-patches/2014-03/msg00313.html.

[Bug rtl-optimization/60456] New: Uninitialized read in copy_rtx

2014-03-07 Thread eugeni.stepanov at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60456 Bug ID: 60456 Summary: Uninitialized read in copy_rtx Product: gcc Version: 4.8.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization

[Bug fortran/59746] internal compiler error: Segmentation fault

2014-03-07 Thread bdavis at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59746 --- Comment #3 from Bud Davis bdavis at gcc dot gnu.org --- Not so fast... Made a test for it: !pr59746 CALL RCCFL(NVE,IR,NU3,VE(1,1,1,I)) COMMON /CCFILE/ INTG,NT1,NT2,NT3,NVM,NVE,NFRLE,NRESF,NRESL COMMON /CCFILE/

[Bug middle-end/60429] Miscompilation (aliasing) with -finline-functions

2014-03-07 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60429 --- Comment #7 from Richard Biener rguenth at gcc dot gnu.org --- (In reply to Allan Jensen from comment #6) I posted like this in case the description would be enough to make someone know where to look. If you need to debug it and dig into it,

[Bug tree-optimization/60452] [4.8/4.9 Regression] wrong code at -O1 on x86_64-linux-gnu (affecting trunk and 4.8.x)

2014-03-07 Thread mikpelinux at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60452 Mikael Pettersson mikpelinux at gmail dot com changed: What|Removed |Added CC||mikpelinux

[Bug bootstrap/58572] [4.9 regression] make bootstrap-lean leads to installation failure (doing extra rebuilds and invoking system compiler)

2014-03-07 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58572 --- Comment #9 from Jakub Jelinek jakub at gcc dot gnu.org --- Author: jakub Date: Fri Mar 7 12:58:27 2014 New Revision: 208400 URL: http://gcc.gnu.org/viewcvs?rev=208400root=gccview=rev Log: PR bootstrap/58572 * Makefile.tpl

[Bug rtl-optimization/60456] Uninitialized read in copy_rtx

2014-03-07 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60456 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot

[Bug bootstrap/58572] [4.9 regression] make bootstrap-lean leads to installation failure (doing extra rebuilds and invoking system compiler)

2014-03-07 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58572 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug rtl-optimization/60456] Uninitialized read in copy_rtx

2014-03-07 Thread eugeni.stepanov at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60456 Evgeniy Stepanov eugeni.stepanov at gmail dot com changed: What|Removed |Added Status|UNCONFIRMED

[Bug fortran/60450] [4.7/4.8 Regression] ICE with SHAPE intrinsic

2014-03-07 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60450 janus at gcc dot gnu.org changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug debug/60438] dwarf2cfi :2239 still assert,not the same cause as PR 59575

2014-03-07 Thread manjian2006 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60438 --- Comment #9 from linzj manjian2006 at gmail dot com --- I have tried to modify i386.c to make ix86_force_to_memoryix86_free_from_memory to generate frame related insn.That causes another problem.Seems the only way to go is have a look at jump2.

[Bug bootstrap/58572] [4.9 regression] make bootstrap-lean leads to installation failure (doing extra rebuilds and invoking system compiler)

2014-03-07 Thread mario.held at de dot ibm.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58572 --- Comment #11 from Mario Held mario.held at de dot ibm.com --- Checked out revision 208400 and did a make -j NUM_CPUS bootstrap-lean 1$OUTPUT 21 on s390x (IBM System z). Success, works as expected.

[Bug fortran/60450] [4.7/4.8 Regression] ICE with SHAPE intrinsic

2014-03-07 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60450 --- Comment #2 from janus at gcc dot gnu.org --- Slightly reduced test case: real, allocatable :: x(:,:) allocate (x(3,2),source=99.) print *, shape (x / 10.0) end Still works with 4.6 and trunk, but ICEs with 4.7 and 4.8.

[Bug fortran/60450] [4.7/4.8 Regression] ICE with SHAPE intrinsic

2014-03-07 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60450 janus at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug ipa/60457] New: [4.9 Regression] ICE in cgraph_get_node

2014-03-07 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60457 Bug ID: 60457 Summary: [4.9 Regression] ICE in cgraph_get_node Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa

[Bug ipa/60457] [4.9 Regression] ICE in cgraph_get_node

2014-03-07 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60457 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug ipa/60457] [4.9 Regression] ICE in cgraph_get_node

2014-03-07 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60457 Marek Polacek mpolacek at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P1

[Bug ipa/60457] [4.9 Regression] ICE in cgraph_get_node

2014-03-07 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60457 --- Comment #1 from Jakub Jelinek jakub at gcc dot gnu.org --- Created attachment 32302 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=32302action=edit gcc49-pr60457.patch Perhaps something like this can fix this? From the patch description

[Bug middle-end/60429] Miscompilation (aliasing) with -finline-functions

2014-03-07 Thread linux at carewolf dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60429 --- Comment #8 from Allan Jensen linux at carewolf dot com --- Created attachment 32303 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=32303action=edit Reduced test

[Bug ipa/60457] [4.9 Regression] ICE in cgraph_get_node

2014-03-07 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60457 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||hubicka at gcc

[Bug middle-end/60429] Miscompilation (aliasing) with -finline-functions

2014-03-07 Thread linux at carewolf dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60429 --- Comment #9 from Allan Jensen linux at carewolf dot com --- Created attachment 32304 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=32304action=edit Reduced test assembler

[Bug middle-end/60429] Miscompilation (aliasing) with -finline-functions

2014-03-07 Thread linux at carewolf dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60429 --- Comment #10 from Allan Jensen linux at carewolf dot com --- I have uploaded a reduced test. Compiled with -O0 or -O1 it outputs 180, compiled with -O2 or higher it outputs 179.

[Bug middle-end/60429] Miscompilation (aliasing) with -finline-functions

2014-03-07 Thread linux at carewolf dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60429 --- Comment #11 from Allan Jensen linux at carewolf dot com --- Note that to run it, it links against Qt5Core.

[Bug fortran/60458] New: Error message on associate: deferred type parameter and requires either the pointer or allocatable attribute

2014-03-07 Thread antony at cosmologist dot info
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60458 Bug ID: 60458 Summary: Error message on associate: deferred type parameter and requires either the pointer or allocatable attribute Product: gcc Version: 4.9.0

[Bug c++/60459] New: Crash seen in _Unwind_VRS_Pop() for ARM platform

2014-03-07 Thread raghupv30 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60459 Bug ID: 60459 Summary: Crash seen in _Unwind_VRS_Pop() for ARM platform Product: gcc Version: 4.2.1 Status: UNCONFIRMED Severity: blocker Priority: P3 Component:

[Bug rtl-optimization/60159] improve code for conditional sibcall

2014-03-07 Thread law at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60159 Jeffrey A. Law law at redhat dot com changed: What|Removed |Added CC||law at redhat dot

[Bug debug/60438] dwarf2cfi :2239 still assert,not the same cause as PR 59575

2014-03-07 Thread manjian2006 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60438 --- Comment #10 from linzj manjian2006 at gmail dot com --- Adding a -fno-crossjumping compile flag stops the assertion.

[Bug fortran/60450] [4.7/4.8 Regression] ICE with SHAPE intrinsic

2014-03-07 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60450 --- Comment #4 from janus at gcc dot gnu.org --- (In reply to janus from comment #3) The following patch is sufficient to fix it on 4.8: ... and regtests cleanly.

[Bug c++/55004] [meta-bug] constexpr issues

2014-03-07 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 58609, which changed state. Bug 58609 Summary: [4.9 Regression] [c++11] ICE with uninitialized variable in constexpr http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58609 What|Removed

[Bug c++/58609] [4.9 Regression] [c++11] ICE with uninitialized variable in constexpr

2014-03-07 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58609 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c++/58609] [4.9 Regression] [c++11] ICE with uninitialized variable in constexpr

2014-03-07 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58609 --- Comment #2 from paolo at gcc dot gnu.org paolo at gcc dot gnu.org --- Author: paolo Date: Fri Mar 7 18:33:38 2014 New Revision: 208410 URL: http://gcc.gnu.org/viewcvs?rev=208410root=gccview=rev Log: /cp 2014-03-07 Paolo Carlini

[Bug target/60459] Crash seen in _Unwind_VRS_Pop() for ARM platform

2014-03-07 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60459 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Component|c++ |target

[Bug middle-end/60429] Miscompilation (aliasing) with -finline-functions

2014-03-07 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60429 --- Comment #12 from Andrew Pinski pinskia at gcc dot gnu.org --- tmpPtBlock-pts = reinterpret_castQPoint *(tmpPtBlock-data); Does this not violate C/C++ aliasing rules later on? I think data should be char array with the

[Bug middle-end/60350] Incorrect -Wmaybe-uninitialized warning with incorrect location information

2014-03-07 Thread chengniansun at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60350 --- Comment #3 from Chengnian Sun chengniansun at gmail dot com --- (In reply to Marek Polacek from comment #2) I think the maybe-used-uninitialized warning is in place here, it depends on I whether pf or pv is evaluated. The column info looks

[Bug middle-end/60429] Miscompilation (aliasing) with -finline-functions

2014-03-07 Thread linux at carewolf dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60429 --- Comment #13 from Allan Jensen linux at carewolf dot com --- (In reply to Andrew Pinski from comment #12) tmpPtBlock-pts = reinterpret_castQPoint *(tmpPtBlock-data); Does this not violate C/C++ aliasing rules later on? I

[Bug middle-end/60429] Miscompilation (aliasing) with -finline-functions

2014-03-07 Thread trippels at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60429 Markus Trippelsdorf trippels at gcc dot gnu.org changed: What|Removed |Added CC||trippels

[Bug c++/60376] [4.9 Regression] [c++1y] ICE on invalid with using declaration in template function

2014-03-07 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60376 --- Comment #6 from Volker Reichelt reichelt at gcc dot gnu.org --- Just for the record: the new bug is PR60409.

[Bug middle-end/60429] Miscompilation (aliasing) with -finline-functions

2014-03-07 Thread trippels at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60429 Markus Trippelsdorf trippels at gcc dot gnu.org changed: What|Removed |Added Attachment #32305|0 |1

[Bug ada/60411] ADA bootstrap failure on ARM

2014-03-07 Thread charlet at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60411 --- Comment #3 from Arnaud Charlet charlet at gcc dot gnu.org --- Author: charlet Date: Fri Mar 7 20:35:33 2014 New Revision: 208419 URL: http://gcc.gnu.org/viewcvs?rev=208419root=gccview=rev Log: 2014-03-07 Doug Rupp r...@adacore.com PR

[Bug fortran/60458] Error message on associate: deferred type parameter and requires either the pointer or allocatable attribute

2014-03-07 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60458 janus at gcc dot gnu.org changed: What|Removed |Added CC||janus at gcc dot gnu.org ---

[Bug ada/60411] ADA bootstrap failure on ARM

2014-03-07 Thread charlet at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60411 Arnaud Charlet charlet at gcc dot gnu.org changed: What|Removed |Added CC||charlet at gcc

[Bug c++/60437] New: [C++11] Bogus error: no matching function for call to 'X::X(brace-enclosed initializer list)'

2014-03-07 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60437 Bug ID: 60437 Summary: [C++11] Bogus error: no matching function for call to 'X::X(brace-enclosed initializer list)' Product: gcc Version: unknown Status: UNCONFIRMED

[Bug ada/60411] ADA bootstrap failure on ARM

2014-03-07 Thread bernd.edlinger at hotmail dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60411 --- Comment #5 from Bernd Edlinger bernd.edlinger at hotmail dot de --- (In reply to Arnaud Charlet from comment #4) Let me know how things go after the recent commit I made on trunk, thanks. I'll try that on monday, but how about

[Bug fortran/60392] Problem with TRANSPOSE and CONTIGUOUS dummy arguments

2014-03-07 Thread mikael at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60392 --- Comment #5 from Mikael Morin mikael at gcc dot gnu.org --- Created attachment 32307 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=32307action=edit preliminary patch This removes the difference between my_mul/my_mul_cont. However this is

[Bug fortran/60392] Problem with TRANSPOSE and CONTIGUOUS dummy arguments

2014-03-07 Thread mikael at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60392 --- Comment #6 from Mikael Morin mikael at gcc dot gnu.org --- (In reply to Mikael Morin from comment #5) This removes the difference between my_mul/my_mul_cont. However this is not yet correct, with the patch the program output is: Maybe it's

[Bug middle-end/60429] [4.7/4.8/4.9 Regression] Miscompilation (aliasing) with -finline-functions

2014-03-07 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60429 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |NEW

[Bug c++/60460] New: warn_unused_result doesn't warn on unused result when std::pair return type

2014-03-07 Thread mdennis at merfer dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60460 Bug ID: 60460 Summary: warn_unused_result doesn't warn on unused result when std::pair return type Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity:

[Bug c++/60460] warn_unused_result doesn't warn on unused result when std::pair return type

2014-03-07 Thread mdennis at merfer dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60460 --- Comment #1 from Matthew Dennis mdennis at merfer dot net --- Created attachment 32308 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=32308action=edit reproduction of warn_unused_result problem

[Bug middle-end/60418] [4.9 Regression] 435.gromacs in SPEC CPU 2006 is miscompiled

2014-03-07 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60418 --- Comment #14 from H.J. Lu hjl.tools at gmail dot com --- (In reply to Richard Biener from comment #13) Huh, adding a pre-header should _never_ do sth like that. Can you produce a small testcase that exhibits these kind of changes with

[Bug debug/60438] dwarf2cfi :2239 still assert,not the same cause as PR 59575

2014-03-07 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60438 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug debug/60438] [4.9 Regression] dwarf2cfi :2239 still assert,not the same cause as PR 59575

2014-03-07 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60438 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.9.0

[Bug middle-end/60418] [4.9 Regression] 435.gromacs in SPEC CPU 2006 is miscompiled

2014-03-07 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60418 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot

[Bug c++/38172] warn_unused_result does not work with structs not containing a copy constructor

2014-03-07 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38172 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Status|RESOLVED|NEW Last

[Bug c++/38172] warn_unused_result does not work with structs not containing a copy constructor

2014-03-07 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38172 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added CC||mdennis at

[Bug c++/60460] warn_unused_result doesn't warn on unused result when std::pair return type

2014-03-07 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60460 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug fortran/60450] [4.7/4.8 Regression] ICE with SHAPE intrinsic

2014-03-07 Thread dave.allured at noaa dot gov
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60450 --- Comment #5 from Dave Allured dave.allured at noaa dot gov --- Janus, thank you! --Dave

[Bug lto/60461] New: LTO linking error at -Os (and above) on x86_64-linux-gnu

2014-03-07 Thread su at cs dot ucdavis.edu
-trunk/configure --prefix=/usr/local/gcc-trunk --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix gcc version 4.9.0 20140307 (experimental) [trunk revision 208393] (GCC) $ $ gcc-trunk -Os small.c; a.out $ gcc-trunk -flto -O1 small.c; a.out $ gcc-4.8.2 -flto -Os small.c

[Bug fortran/60462] New: get_command returns more than it should

2014-03-07 Thread fkrogh#gcc at mathalacarte dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60462 Bug ID: 60462 Summary: get_command returns more than it should Product: gcc Version: 4.8.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug middle-end/60418] [4.9 Regression] 435.gromacs in SPEC CPU 2006 is miscompiled

2014-03-07 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60418 --- Comment #16 from H.J. Lu hjl.tools at gmail dot com --- This patch: diff --git a/gcc/tree-ssanames.c b/gcc/tree-ssanames.c index 2fc8220..56160bd 100644 --- a/gcc/tree-ssanames.c +++ b/gcc/tree-ssanames.c @@ -136,7 +136,7 @@ make_ssa_name_fn

[Bug fortran/60462] get_command returns more than it should

2014-03-07 Thread fkrogh#gcc at mathalacarte dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60462 --- Comment #1 from Fred Krogh fkrogh#gcc at mathalacarte dot com --- With this command line ./tapt -u ./mps afiro it gives /home/m/math77/lin/cons/anypoint/tapt ./tapt -u ./mps afiro The standard makes no mention of providing the first part

[Bug fortran/60462] get_command returns more than it should

2014-03-07 Thread kargl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60462 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug c++/60463] New: Lambda function can call a non-const member function with const this

2014-03-07 Thread topi.musto at gmail dot com
{ [this]() { g(); }(); } }; Yet it compiles with g++ -std=c++11 -Wall -Wextra Tested with g++ (Ubuntu/Linaro 4.8.1-10ubuntu9) 4.8.1, and g++ (GCC) 4.9.0 20140307 (experimental) Note that calling the function with this-g(); gives the expected error message: error: passing ‘const

[Bug fortran/60450] [4.7/4.8 Regression] ICE with SHAPE intrinsic

2014-03-07 Thread kargl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60450 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug c++/2316] g++ fails to overload on language linkage

2014-03-07 Thread harald at gigawatt dot nl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2316 --- Comment #51 from Harald van Dijk harald at gigawatt dot nl --- (In reply to Marc Glisse from comment #49) Fixing this particular issue should not be too hard, there must be a place in the compiler that merges a number of properties from the

[Bug libgcc/60464] New: [arm] ARM -mthumb version of libgcc contains ARM (non-thumb) code; not safe for thumb-only architectures

2014-03-07 Thread jeremygccb at baymoo dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60464 Bug ID: 60464 Summary: [arm] ARM -mthumb version of libgcc contains ARM (non-thumb) code; not safe for thumb-only architectures Product: gcc Version: unknown

[Bug libgcc/60464] [arm] ARM -mthumb version of libgcc contains ARM (non-thumb) code; not safe for thumb-only architectures

2014-03-07 Thread jeremygccb at baymoo dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60464 --- Comment #1 from Jeremy Cooper jeremygccb at baymoo dot org --- Seeing as this could be an assembler bug, my arm-none-eabi-as is: $ arm-none-eabi-as -v GNU assembler version 2.23.2 (arm-none-eabi) using BFD version (GNU Binutils) 2.23.2

[Bug debug/60438] [4.9 Regression] dwarf2cfi :2239 still assert,not the same cause as PR 59575

2014-03-07 Thread manjian2006 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60438 --- Comment #12 from linzj manjian2006 at gmail dot com --- I have never known that regression is such a useful resort. (In reply to Jakub Jelinek from comment #11) Reduced testcase for -Os -m32 -fomit-frame-pointer: struct A { int a; };

[Bug libgcc/60464] [arm] ARM -mthumb version of libgcc contains ARM (non-thumb) code; not safe for thumb-only architectures

2014-03-07 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60464 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/53492] [4.7/4.8/4.9 Regression] ICE in retrieve_specialization, at cp/pt.c:985

2014-03-07 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53492 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug libgcc/60464] [arm] ARM -mthumb version of libgcc contains ARM (non-thumb) code; not safe for thumb-only architectures

2014-03-07 Thread jeremygccb at baymoo dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60464 Jeremy Cooper jeremygccb at baymoo dot org changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED

[Bug libgcc/60464] [arm] ARM -mthumb version of libgcc contains ARM (non-thumb) code; not safe for thumb-only architectures

2014-03-07 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60464 --- Comment #4 from Andrew Pinski pinskia at gcc dot gnu.org --- Can you configure with --with-arch=armv7-m and try again? You might need to edit config/arm/t-arm-elf to enable only the multi-lib that you need. armv7m-none-eabi Does nothing

[Bug libgcc/60464] [arm] ARM -mthumb version of libgcc contains ARM (non-thumb) code; not safe for thumb-only architectures

2014-03-07 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60464 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug fortran/60128] [4.8/4.9 Regression] Wrong ouput using en edit descriptor

2014-03-07 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60128 --- Comment #10 from Jerry DeLisle jvdelisle at gcc dot gnu.org --- Author: jvdelisle Date: Sat Mar 8 06:04:34 2014 New Revision: 208423 URL: http://gcc.gnu.org/viewcvs?rev=208423root=gccview=rev Log: 2014-03-08 Dominique d'Humieres

[Bug debug/60438] [4.9 Regression] dwarf2cfi :2239 still assert,not the same cause as PR 59575

2014-03-07 Thread manjian2006 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60438 --- Comment #13 from linzj manjian2006 at gmail dot com --- Thank Jakub for the short test case and the revision. Before revision 205498,the prologue is: (insn/f:TI 77 78 79 2 (parallel [ (set (reg/f:SI 7 sp) (plus:SI

  1   2   >