[Bug middle-end/59420] arm: broken code generated (memset from newlib 2.0)

2013-12-07 Thread holler at ahsoftware dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59420 --- Comment #4 from Alexander Holler --- Thanks a lot for the very fast solution. I wasn't aware that gcc does such optimizations and maybe posted the bug too fast without really having examined the assembler. Using -fno-tree-loop-distribute-pat

[Bug libfortran/59419] [4.9 Regression] Failing OPEN with FILE='xxx' and IOSTAT creates the file 'xxx' after revision 196783

2013-12-07 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59419 --- Comment #3 from Jerry DeLisle --- I will take this one if you like.

[Bug c++/59300] visibility computation misses some attributes in namespaces

2013-12-07 Thread rafael.espindola at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59300 --- Comment #1 from Rafael Avila de Espindola --- clang had an even stranger behavior (http://llvm.org/bugs/show_bug.cgi?id=18174). I fixed that in a way that it now agrees with gcc on the testcase in this bug. It would still be nice to know if t

[Bug libstdc++/59421] stof(), stod() wrong result

2013-12-07 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59421 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > Do you have a full testcase that is able to compile and work? s/work/run/

[Bug libstdc++/59421] stof(), stod() wrong result

2013-12-07 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59421 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug middle-end/59420] arm: broken code generated (memset from newlib 2.0)

2013-12-07 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59420 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Component|c

[Bug c/59420] arm: broken code generated (memset from newlib 2.0)

2013-12-07 Thread rearnsha at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59420 --- Comment #2 from Richard Earnshaw --- You'll get more attention paid to this if you can describe why you think the code generated is incorrect.

[Bug libstdc++/59421] New: stof(), stod() wrong result

2013-12-07 Thread stefan.helm...@t-online.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59421 Bug ID: 59421 Summary: stof(), stod() wrong result Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ As

[Bug c/59420] arm: broken code generated (memset from newlib 2.0)

2013-12-07 Thread holler at ahsoftware dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59420 --- Comment #1 from Alexander Holler --- Created attachment 31397 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31397&action=edit memset.s

[Bug c/59420] New: arm: broken code generated (memset from newlib 2.0)

2013-12-07 Thread holler at ahsoftware dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59420 Bug ID: 59420 Summary: arm: broken code generated (memset from newlib 2.0) Product: gcc Version: 4.8.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug libfortran/59419] [4.9 Regression] Failing OPEN with FILE='xxx' and IOSTAT creates the file 'xxx' after revision 196783

2013-12-07 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59419 Tobias Burnus changed: What|Removed |Added Keywords||wrong-code Status|UNCONFIRMED

[Bug libfortran/59419] [4.9 Regression] Failing OPEN with FILE='xxx' and IOSTAT creates the file 'xxx' after revision 196783

2013-12-07 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59419 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #1

[Bug libfortran/59419] New: [4.9 Regression] Failing OPEN with FILE='xxx' and IOSTAT creates the file 'xxx' after revision 196783

2013-12-07 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59419 Bug ID: 59419 Summary: [4.9 Regression] Failing OPEN with FILE='xxx' and IOSTAT creates the file 'xxx' after revision 196783 Product: gcc Version: 4.9.0 Status: UNCONFIRME

[Bug fortran/59414] [OOP] Class array pointers: compile error on valid code (Different ranks in pointer assignment)

2013-12-07 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59414 --- Comment #11 from janus at gcc dot gnu.org --- r205785 fixes the original error (i.e. comment 1). ToDo: The ICE regression of comment 3.

[Bug fortran/59414] [OOP] Class array pointers: compile error on valid code (Different ranks in pointer assignment)

2013-12-07 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59414 --- Comment #10 from janus at gcc dot gnu.org --- Author: janus Date: Sat Dec 7 19:27:19 2013 New Revision: 205785 URL: http://gcc.gnu.org/viewcvs?rev=205785&root=gcc&view=rev Log: 2013-12-07 Janus Weil PR fortran/59414 * resolve.c (r

[Bug middle-end/59409] [4.9 Regression] 253.perlbmk in SPEC CPU 2K is miscompiled

2013-12-07 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59409 --- Comment #14 from H.J. Lu --- (In reply to H.J. Lu from comment #13) > loop in Perl_pp_aassign is miscompiled: > > 44098a: e8 91 38 05 00 callq 494220 > 44098f: 67 89 03mov%eax,(%ebx) > 440992:

[Bug middle-end/59409] [4.9 Regression] 253.perlbmk in SPEC CPU 2K is miscompiled

2013-12-07 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59409 --- Comment #13 from H.J. Lu --- loop in Perl_pp_aassign is miscompiled: 44098a: e8 91 38 05 00 callq 494220 44098f: 67 89 03mov%eax,(%ebx) 440992: 83 c3 04add$0x4,%ebx

[Bug fortran/59411] Problem with TYPE(C_PTR) constant initialization

2013-12-07 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59411 --- Comment #3 from janus at gcc dot gnu.org --- In F03, I think the relevant quotes are: R506 initialization is = initialization-expr or => null-init 7.1.7 Initialization expression An initialization expression is an expressi

[Bug fortran/59414] [OOP] Class array pointers: compile error on valid code (Different ranks in pointer assignment)

2013-12-07 Thread kargl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59414 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 Severity|blocker

[Bug fortran/59411] Problem with TYPE(C_PTR) constant initialization

2013-12-07 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59411 --- Comment #2 from janus at gcc dot gnu.org --- (In reply to janus from comment #1) > One should check the > Fortran standard for restrictions in the case of C_PTRs (which, strictly > speaking, are no actual pointers in the Fortran sense). Since

[Bug fortran/59411] Problem with TYPE(C_PTR) constant initialization

2013-12-07 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59411 janus at gcc dot gnu.org changed: What|Removed |Added CC||janus at gcc dot gnu.org --- Co

[Bug middle-end/59409] [4.9 Regression] 253.perlbmk in SPEC CPU 2K is miscompiled

2013-12-07 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59409 --- Comment #12 from H.J. Lu --- This function: SV * sv_mortalcopy(SV *oldstr) { dTHR; register SV *sv; new_SV(sv); SvANY(sv) = 0; SvREFCNT(sv) = 1; SvFLAGS(sv) = 0; sv_setsv(sv,oldstr); if (++PL_tmps_ix >= PL

[Bug debug/59418] New: ICE in maybe_record_trace_start, at dwarf2cfi.c:2221

2013-12-07 Thread rmansfield at qnx dot com
-threads=posix --enable-symvers=gnu --enable-c99 --enable-long-long --enable-target-optspace target_alias=arm-unknown-linux-gnueabi --enable-languages=c++ --disable-shared --disable-libmudflap --disable-libssp --enable-checking Thread model: posix gcc version 4.9.0 20131207 (experimental) [trunk

[Bug middle-end/59409] [4.9 Regression] 253.perlbmk in SPEC CPU 2K is miscompiled

2013-12-07 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59409 --- Comment #11 from H.J. Lu --- latch execution count can be an expression like "if (b)" in gcc.dg/torture/pr59058.c. Will such an expression be possible negative at run-time?

[Bug middle-end/59409] [4.9 Regression] 253.perlbmk in SPEC CPU 2K is miscompiled

2013-12-07 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59409 --- Comment #10 from H.J. Lu --- (In reply to rguent...@suse.de from comment #9) > > > >Is that ever possible to have latch execution count < 0 > >and FIRST_NITERS == 0? It happens in x32 253.perlbmk. > > That should be impossible. > That is wh

[Bug middle-end/59409] [4.9 Regression] 253.perlbmk in SPEC CPU 2K is miscompiled

2013-12-07 Thread rguenther at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59409 --- Comment #9 from rguenther at suse dot de --- "hjl.tools at gmail dot com" wrote: >http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59409 > >--- Comment #8 from H.J. Lu --- >(In reply to rguent...@suse.de from comment #7) >> "hjl.tools at gmail do

[Bug target/58864] [4.8/4.9 regression] ICE in connect_traces, at dwarf2cfi.c:NNNN

2013-12-07 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58864 --- Comment #10 from Jakub Jelinek --- Author: jakub Date: Sat Dec 7 15:43:48 2013 New Revision: 205784 URL: http://gcc.gnu.org/viewcvs?rev=205784&root=gcc&view=rev Log: PR target/58864 * optabs.c (emit_conditional_move): Save and restor

[Bug middle-end/59011] [4.7 Regression] ICE in make_decl_rtl, at varasm.c:1147

2013-12-07 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59011 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Sat Dec 7 15:43:05 2013 New Revision: 205783 URL: http://gcc.gnu.org/viewcvs?rev=205783&root=gcc&view=rev Log: PR middle-end/59011 * gimplify.c (nonlocal_vla_vars): New variable.

[Bug fortran/59414] [OOP] Class array pointers: compile error on valid code (Different ranks in pointer assignment)

2013-12-07 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59414 janus at gcc dot gnu.org changed: What|Removed |Added CC||pault at gcc dot gnu.org --- Co

[Bug middle-end/59011] [4.7 Regression] ICE in make_decl_rtl, at varasm.c:1147

2013-12-07 Thread mikpelinux at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59011 --- Comment #7 from Mikael Pettersson --- It appears the test case wasn't added to 4.8 branch.

[Bug fortran/59414] [OOP] Class array pointers: compile error on valid code (Different ranks in pointer assignment)

2013-12-07 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59414 --- Comment #8 from janus at gcc dot gnu.org --- The patch in comment 2 regtests cleanly.

[Bug fortran/44672] [F08] ALLOCATE with SOURCE and no array-spec

2013-12-07 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44672 janus at gcc dot gnu.org changed: What|Removed |Added Keywords||rejects-valid Summar

[Bug fortran/59414] [OOP] Class array pointers: compile error on valid code (Different ranks in pointer assignment)

2013-12-07 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59414 --- Comment #7 from Dominique d'Humieres --- The issue of comment 3 appeared between revisions 187190 (2012-05-05) and 187198 (actually 187193 and I'ld bet for 187192).

[Bug tree-optimization/59417] ICE in determine_value_range, at tree-ssa-loop-niter.c:176

2013-12-07 Thread octoploid at yandex dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59417 Markus Trippelsdorf changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug tree-optimization/59417] New: ICE in determine_value_range, at tree-ssa-loop-niter.c:176

2013-12-07 Thread antoine.balestrat at gmail dot com
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: antoine.balestrat at gmail dot com Hi ! I'm using GCC 4.9 20131207. $ cat deter.c int a, b, d; short c; void f(void) { if(b) { int *e;

[Bug fortran/59414] [OOP] Class array pointers: compile error on valid code (Different ranks in pointer assignment)

2013-12-07 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59414 --- Comment #6 from janus at gcc dot gnu.org --- (In reply to Antony Lewis from comment #5) > The sourced allocate errors crop up in various places in the full code, and > already seem to be known in several bug reports, e.g. > http://gcc.gnu.org/b

[Bug fortran/59414] [OOP] Class array pointers: compile error on valid code (Different ranks in pointer assignment)

2013-12-07 Thread antony at cosmologist dot info
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59414 --- Comment #5 from Antony Lewis --- Thanks for the quick fix! The sourced allocate errors crop up in various places in the full code, and already seem to be known in several bug reports, e.g. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44672 Fo

[Bug fortran/59414] [OOP] Class array pointers: compile error on valid code (Different ranks in pointer assignment)

2013-12-07 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59414 --- Comment #4 from janus at gcc dot gnu.org --- Btw, when using the second (commented-out) version of 'AddArray' (which apparently crashes with ifort), the full code in comment 0 compiles cleanly with gfortran trunk plus the patch in comment 2.

[Bug fortran/59414] [OOP] Class array pointers: compile error on valid code (Different ranks in pointer assignment)

2013-12-07 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59414 --- Comment #3 from janus at gcc dot gnu.org --- (In reply to janus from comment #2) > With the patch the reduced test case in comment 1 compiles cleanly, but the > full code in comment 0 then gives an ICE on a different location: > > ObjectLists.

[Bug c++/59416] New: A nested template reusing the template arguments of the enclosing type in a template template argument not working

2013-12-07 Thread ville.voutilainen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59416 Bug ID: 59416 Summary: A nested template reusing the template arguments of the enclosing type in a template template argument not working Product: gcc Version: 4.9

[Bug fortran/59414] [OOP] Class array pointers: compile error on valid code (Different ranks in pointer assignment)

2013-12-07 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59414 --- Comment #2 from janus at gcc dot gnu.org --- This draft patch fixes the error (but has not been regtested yet): Index: gcc/fortran/resolve.c === --- gcc/fortran/resolve.c(revi

[Bug preprocessor/56686] gcc cannot find include header file

2013-12-07 Thread ktietz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56686 Kai Tietz changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug sanitizer/59410] tsan tests fail with address randomization disabled

2013-12-07 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59410 --- Comment #26 from H.J. Lu --- (In reply to Kostya Serebryany from comment #25) > > https://bugzilla.kernel.org/show_bug.cgi?id=66721 > > Good! Looking forward for a fix and hoping to have it in the next Ubuntu LTS. > Any chance? > Is there an

[Bug target/19970] Java Disabled for MinGW

2013-12-07 Thread ktietz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19970 Kai Tietz changed: What|Removed |Added Status|NEW |WAITING CC|

[Bug middle-end/59409] [4.9 Regression] 253.perlbmk in SPEC CPU 2K is miscompiled

2013-12-07 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59409 --- Comment #8 from H.J. Lu --- (In reply to rguent...@suse.de from comment #7) > "hjl.tools at gmail dot com" wrote: > >http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59409 > > > >--- Comment #3 from H.J. Lu --- > >slpeel_tree_peel_loop_to_edge ha

[Bug fortran/59414] [OOP] Class array pointers: compile error on valid code (Different ranks in pointer assignment)

2013-12-07 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59414 janus at gcc dot gnu.org changed: What|Removed |Added Keywords||rejects-valid Statu

[Bug target/18649] terminate called after throwing - IOT/Abort trap (core dumped)

2013-12-07 Thread ktietz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18649 --- Comment #10 from Kai Tietz --- For mingw-code this bug is fixed. It was caused by a bug in SjLj catch-reason. Issue is fixed for 32-bit and 64-bit mingw targets for all open branches. As report was for different targets, it would be good if

[Bug target/52898] SH Target: Inefficient DImode comparisons

2013-12-07 Thread kkojima at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52898 --- Comment #8 from Kazumoto Kojima --- I'm OK with it.

[Bug middle-end/59409] [4.9 Regression] 253.perlbmk in SPEC CPU 2K is miscompiled

2013-12-07 Thread rguenther at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59409 --- Comment #7 from rguenther at suse dot de --- "hjl.tools at gmail dot com" wrote: >http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59409 > >--- Comment #3 from H.J. Lu --- >slpeel_tree_peel_loop_to_edge has comments: > > The first guard is: >

[Bug target/52898] SH Target: Inefficient DImode comparisons

2013-12-07 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52898 --- Comment #7 from Oleg Endo --- Kaz, I'd like to deprecate the mcbranchdi and mcmpeqdi options in 4.9 and make the current default values fixed as follows: mcbranchdi is usually enabled (it gets disabled in some SH5 case in sh_option_override).

[Bug sanitizer/59410] tsan tests fail with address randomization disabled

2013-12-07 Thread kcc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59410 --- Comment #25 from Kostya Serebryany --- > https://bugzilla.kernel.org/show_bug.cgi?id=66721 Good! Looking forward for a fix and hoping to have it in the next Ubuntu LTS. Any chance? Is there anything else we could do with this tsan issue? (gi