[Bug fortran/56520] Syntax error causes misleading message: Invalid character in name

2015-07-07 Thread casey.webster at gmail dot com
error is still emitted: b = A(:,iter)) 1 Error: Invalid character in name at (1) This was confirmed with gcc built this morning (gcc version 6.0.0 20150707) Also, while I'll agree that Unclassifiable statement is better than Invalid character in name, it would be nicer to see

[Bug rtl-optimization/66790] Invalid uninitialized register handling in REE

2015-07-07 Thread derodat at adacore dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66790 --- Comment #1 from Pierre-Marie de Rodat derodat at adacore dot com --- Created attachment 35923 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35923action=edit Part of the reproducer

[Bug target/66791] New: Replace builtins with gcc vector extensions code

2015-07-07 Thread alalaw01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66791 Bug ID: 66791 Summary: Replace builtins with gcc vector extensions code Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/66523] the new clang-based assembler in Xcode 7 on 10.11 fails on libobjc/NXConstStr.m

2015-07-07 Thread mrs at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66523 --- Comment #9 from mrs at gcc dot gnu.org mrs at gcc dot gnu.org --- Ok. Ok for all active release branches.

[Bug tree-optimization/66642] transform_to_exit_first_loop_alt doesn't use result of low iteration count loop

2015-07-07 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66642 --- Comment #6 from vries at gcc dot gnu.org --- Author: vries Date: Tue Jul 7 16:25:22 2015 New Revision: 225521 URL: https://gcc.gnu.org/viewcvs?rev=225521root=gccview=rev Log: Add empty loop exit block in transform_to_exit_first_loop_alt

[Bug libstdc++/41861] [DR 887][C++0x] condition_variable does not use monotonic_clock

2015-07-07 Thread mac at mcrowe dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41861 --- Comment #9 from Mike Crowe mac at mcrowe dot com --- It seems that there's been lots of talk about this but no firm solution. Here's some interesting links: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2009/n2999.html

[Bug libstdc++/41861] [DR 887][C++0x] condition_variable does not use monotonic_clock

2015-07-07 Thread mac at mcrowe dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41861 --- Comment #10 from Mike Crowe mac at mcrowe dot com --- (In reply to Mike Crowe from comment #9) 3. condition_variable should support wait_until using at least steady_clock (CLOCK_MONOTONIC) and system_clock (CLOCK_REALTIME.) Relative wait

[Bug rtl-optimization/66790] New: Invalid uninitialized register handling in REE

2015-07-07 Thread derodat at adacore dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66790 Bug ID: 66790 Summary: Invalid uninitialized register handling in REE Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug rtl-optimization/66790] Invalid uninitialized register handling in REE

2015-07-07 Thread derodat at adacore dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66790 --- Comment #2 from Pierre-Marie de Rodat derodat at adacore dot com --- Created attachment 35924 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35924action=edit Part of the reproducer

[Bug rtl-optimization/66790] Invalid uninitialized register handling in REE

2015-07-07 Thread derodat at adacore dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66790 --- Comment #3 from Pierre-Marie de Rodat derodat at adacore dot com --- Created attachment 35925 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35925action=edit Part of the reproducer

[Bug libstdc++/887] libstdc++-v3 modulator setw does not work writing to a file

2015-07-07 Thread aaron at aarongraham dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=887 --- Comment #9 from Aaron Graham aaron at aarongraham dot com --- Thanks. I had already patched our gcc so that gthreads cond always gets initialized with CLOCK_MONOTONIC, then I switched __clock_t in condition_variable to steady_clock. It was a

[Bug libstdc++/66792] New: Document sort template in bits/list.tcc

2015-07-07 Thread krichter at posteo dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66792 Bug ID: 66792 Summary: Document sort template in bits/list.tcc Product: gcc Version: 5.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug middle-end/66785] New: internal compiler error in record_operand_use

2015-07-07 Thread chris_s_jones at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66785 Bug ID: 66785 Summary: internal compiler error in record_operand_use Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/66768] address space gets lost on literal pointer

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

[Bug c/66773] sign-compare warning for == and != are pretty useless

2015-07-07 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66773 --- Comment #5 from Andreas Schwab sch...@linux-m68k.org --- A cast is seldom a good solution, but even equality tests have the potential to go wrong with C's composite type rules.

[Bug target/66780] [4.9 Regression] Compiling with -fstack-protector-strong causes binary to segfault

2015-07-07 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66780 --- Comment #2 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to Kazumoto Kojima from comment #1) It turned out that the fix for PR65249 causes this problem. The codes for stack protect can be inserted after

[Bug c++/66786] New: [6 Regression] ICE: Segmentation fault

2015-07-07 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66786 Bug ID: 66786 Summary: [6 Regression] ICE: Segmentation fault Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug lto/66784] no symbol emitted for builtin with lto

2015-07-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66784 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Keywords||lto

[Bug tree-optimization/66768] address space gets lost on literal pointer

2015-07-07 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66768 --- Comment #7 from amker at gcc dot gnu.org --- (In reply to Richard Biener from comment #6) IVOPTs seems to carry address-space info on 'type' here (in fact if I amend tree dumping with address-space dumping on memory references I fail to get

[Bug tree-optimization/66739] [6 regression] FAIL: gcc.target/aarch64/subs.c scan-assembler subs\tw[0-9]

2015-07-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66739 --- Comment #8 from Richard Biener rguenth at gcc dot gnu.org --- Author: rguenth Date: Tue Jul 7 07:46:57 2015 New Revision: 225502 URL: https://gcc.gnu.org/viewcvs?rev=225502root=gccview=rev Log: 2015-07-07 Richard Biener rguent...@suse.de

[Bug target/66523] the new clang-based assembler in Xcode 7 on 10.11 fails on libobjc/NXConstStr.m

2015-07-07 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66523 Iain Sandoe iains at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug target/52144] ARM should support arm/thumb function attribute to permit different instruction sets in the same source

2015-07-07 Thread chrbr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52144 --- Comment #10 from chrbr at gcc dot gnu.org --- Author: chrbr Date: Tue Jul 7 07:56:10 2015 New Revision: 225503 URL: https://gcc.gnu.org/viewcvs?rev=225503root=gccview=rev Log: Cleanup arch file directive. PR target/52144 * config/arm/elf.h

[Bug c++/66786] [6 Regression] ICE: Segmentation fault

2015-07-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66786 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |6.0

[Bug tree-optimization/66739] [6 regression] FAIL: gcc.target/aarch64/subs.c scan-assembler subs\tw[0-9]

2015-07-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66739 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug tree-optimization/66733] [6 Regression] ICE at -Os and above on x86_64-linux-gnu

2015-07-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66733 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c++/66538] Parameter not in scope of generic lambda trailing decltype

2015-07-07 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66538 Markus Trippelsdorf trippels at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW

[Bug target/66703] [4.9/5/6] gcc.target/i386/readeflags-1.c aborts on -march=i586 or on -miamcu

2015-07-07 Thread julia.koval at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66703 --- Comment #2 from Yulia Koval julia.koval at intel dot com --- Why zero-extend with and is better than zero-extend with movz? Why it's ok to clobber the flags?

[Bug target/66523] the new clang-based assembler in Xcode 7 on 10.11 fails on libobjc/NXConstStr.m

2015-07-07 Thread mrs at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66523 --- Comment #11 from mrs at gcc dot gnu.org mrs at gcc dot gnu.org --- No, but one has to get RM approval. Should be easy enough to get that, as long as the work gets done before they make the last snapshot. Does someone have the regression

[Bug middle-end/66334] cleanup block fails to initialize EBX

2015-07-07 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66334 --- Comment #11 from Vladimir Makarov vmakarov at gcc dot gnu.org --- (In reply to H.J. Lu from comment #10) (In reply to Vladimir Makarov from comment #9) I will work on the patch and commit it on next week. Thanks. I tried this

[Bug target/66523] the new clang-based assembler in Xcode 7 on 10.11 fails on libobjc/NXConstStr.m

2015-07-07 Thread howarth.at.gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66523 --- Comment #10 from Jack Howarth howarth.at.gcc at gmail dot com --- I assume we have missed the window for gcc 5.2.0.

[Bug fortran/56520] Syntax error causes misleading message: Invalid character in name

2015-07-07 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56520 --- Comment #8 from Steve Kargl sgk at troutmask dot apl.washington.edu --- On Tue, Jul 07, 2015 at 07:10:48PM +, casey.webster at gmail dot com wrote: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56520 --- Comment #7 from Casey Webster

[Bug jit/66779] jit segfault

2015-07-07 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66779 --- Comment #2 from David Malcolm dmalcolm at gcc dot gnu.org --- Author: dmalcolm Date: Tue Jul 7 19:22:01 2015 New Revision: 225522 URL: https://gcc.gnu.org/viewcvs?rev=225522root=gccview=rev Log: PR jit/66779: fix segfault

[Bug tree-optimization/56829] Feature request: generic builtin to support control flow in vectorized code (movemask, vec_any/all_*)

2015-07-07 Thread peter at cordes dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56829 Peter Cordes peter at cordes dot ca changed: What|Removed |Added CC||peter at cordes dot

[Bug jit/66783] No error-checking for creating structs containing opaque structs

2015-07-07 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66783 --- Comment #1 from David Malcolm dmalcolm at gcc dot gnu.org --- Author: dmalcolm Date: Tue Jul 7 19:29:58 2015 New Revision: 225523 URL: https://gcc.gnu.org/viewcvs?rev=225523root=gccview=rev Log: PR jit/66783: prevent use of opaque structs

[Bug fortran/56520] Syntax error causes misleading message: Invalid character in name

2015-07-07 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56520 --- Comment #6 from Steve Kargl sgk at troutmask dot apl.washington.edu --- On Tue, Jul 07, 2015 at 05:23:17PM +, casey.webster at gmail dot com wrote: Also, while I'll agree that Unclassifiable statement is better than Invalid character

[Bug fortran/56520] Syntax error causes misleading message: Invalid character in name

2015-07-07 Thread casey.webster at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56520 --- Comment #7 from Casey Webster casey.webster at gmail dot com --- (In reply to Steve Kargl from comment #6) On Tue, Jul 07, 2015 at 05:23:17PM +, casey.webster at gmail dot com wrote: Also, while I'll agree that Unclassifiable

[Bug tree-optimization/66794] New: ICE at -O2 and -O3 on x86_64-linux-gnu

2015-07-07 Thread su at cs dot ucdavis.edu
--enable-multilib Thread model: posix gcc version 6.0.0 20150707 (experimental) [trunk revision 225501] (GCC) $ $ gcc-trunk -Os -c small.c small.c: In function ‘fn1’: small.c:18:10: warning: function returns address of local variable [-Wreturn-local-addr] return *c; ^ small.c:12:7: note

[Bug target/66780] [4.9 Regression] Compiling with -fstack-protector-strong causes binary to segfault

2015-07-07 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66780 --- Comment #5 from Kazumoto Kojima kkojima at gcc dot gnu.org --- Author: kkojima Date: Tue Jul 7 20:39:28 2015 New Revision: 225526 URL: https://gcc.gnu.org/viewcvs?rev=225526root=gccview=rev Log: PR target/66780 * config/sh/sh.md

[Bug ipa/66793] New: ICE at -Os and above on x86_64-linux-gnu (verify_flow_info failed)

2015-07-07 Thread su at cs dot ucdavis.edu
--enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix gcc version 6.0.0 20150707 (experimental) [trunk revision 225501] (GCC) $ $ gcc-trunk -O1 small.c $ gcc-5.1 -Os small.c $ $ gcc-trunk -Os small.c small.c: In function ‘main’: small.c:18:1: error: control flow

[Bug target/66782] Unable to run 64-bit wine after MS-SYSV register changes

2015-07-07 Thread marcus at jet dot franken.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66782 --- Comment #3 from marcus at jet dot franken.de --- Created attachment 35927 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35927action=edit testcase-min.i gcc -S -fPIC -O2 -g testcase.i -o testcase.s there will be a pattern to spot the

[Bug fortran/52846] [F2008] Support submodules

2015-07-07 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52846 --- Comment #7 from Paul Thomas pault at gcc dot gnu.org --- Created attachment 35926 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35926action=edit A partially cooked patch to complete the implentation of submodules The attached is a

[Bug target/66782] Unable to run 64-bit wine after MS-SYSV register changes

2015-07-07 Thread marcus at jet dot franken.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66782 --- Comment #4 from marcus at jet dot franken.de --- (actually not sure this is the same issue that my wine colleagueds are seeing, but it also a miscompilation)

[Bug fortran/64921] [4.9/5/6 Regression] FAIL: gfortran.dg/class_allocate_18.f90

2015-07-07 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64921 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org

[Bug c/66795] New: Incorrect and missed optimizations of __builtin_frame_address

2015-07-07 Thread luto at mit dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66795 Bug ID: 66795 Summary: Incorrect and missed optimizations of __builtin_frame_address Product: gcc Version: 5.1.1 Status: UNCONFIRMED Severity: normal

[Bug testsuite/66796] New: FAIL: gcc.target/hppa/shadd-1.c scan-assembler-times sh.add 1

2015-07-07 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66796 Bug ID: 66796 Summary: FAIL: gcc.target/hppa/shadd-1.c scan-assembler-times sh.add 1 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal

[Bug c/66777] faggressive-loop-optimizations behavior.

2015-07-07 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66777 Eric Botcazou ebotcazou at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug c/66777] faggressive-loop-optimizations behavior.

2015-07-07 Thread dongkyun.s at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66777 dongkyun.s at samsung dot com changed: What|Removed |Added Status|NEW |RESOLVED

[Bug tree-optimization/66797] New: FAIL: gcc.dg/tree-ssa/pr65447.c scan-tree-dump-not ivopts \\nuse 5\\n

2015-07-07 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66797 Bug ID: 66797 Summary: FAIL: gcc.dg/tree-ssa/pr65447.c scan-tree-dump-not ivopts \\nuse 5\\n Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal

[Bug c++/66788] [4.9/5 Regression] Rejects instantiation of class std::dequelong long unsigned int with -m32

2015-07-07 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66788 --- Comment #6 from Jonathan Wakely redi at gcc dot gnu.org --- (In reply to Richard Biener from comment #3) Not sure what is correct behavior here (Jakub points out mangling ignores the over-alignment). Even ignoring the over-alignment, const

[Bug target/65249] unable to find a register to spill in class 'R0_REGS' when compiling protobuf on sh4

2015-07-07 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65249 Kazumoto Kojima kkojima at gcc dot gnu.org changed: What|Removed |Added Status|RESOLVED|REOPENED

[Bug target/64036] [SH] Evaluate re-enabling scheduling before RA

2015-07-07 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64036 --- Comment #4 from Oleg Endo olegendo at gcc dot gnu.org --- (In reply to Oleg Endo from comment #2) An example function, compiling with -O2 -m4: int test_0 (unsigned short* x, int y, int z) { return (x[0] + x[1] + x[2] + x[3] +

[Bug c++/66788] [4.9/5 Regression] Rejects instantiation of class std::dequelong long unsigned int with -m32

2015-07-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66788 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added CC||jason at gcc

[Bug c++/66788] [4.9/5 Regression] Rejects instantiation of class std::dequelong long unsigned int with -m32

2015-07-07 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66788 Markus Trippelsdorf trippels at gcc dot gnu.org changed: What|Removed |Added CC|

[Bug c++/66788] [4.9/5 Regression] Rejects instantiation of class std::dequelong long unsigned int with -m32

2015-07-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66788 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Known to work||4.8.5, 6.0

[Bug target/64036] [SH] Evaluate re-enabling scheduling before RA

2015-07-07 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64036 --- Comment #3 from Oleg Endo olegendo at gcc dot gnu.org --- I've just tried the following example on the AMS branch: float fun (float* x) { return x[0] + x[1] + x[2] + x[3]; } no AMS: mov r4,r1 add #4,r1

[Bug lto/65991] maybe-unitialized - false positive

2015-07-07 Thread dilyan.palauzov at aegee dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65991 --- Comment #5 from Дилян Палаузов dilyan.palauzov at aegee dot org --- The problem does not appear anymore, since I upgraded gcc 4.9.2 - 4.9.3 .

[Bug pch/14940] PCH largefile test fails on various platforms

2015-07-07 Thread xricht17 at stud dot fit.vutbr.cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14940 --- Comment #49 from Martin Richter xricht17 at stud dot fit.vutbr.cz --- (In reply to Martin Richter from comment #47) My apologies, that patch is incorrect - `VirtualAlloc` still uses `pch_VA_max_size` instead of `size`. Some discussion about

[Bug fortran/66578] [F2008] Invalid free on allocate(...,source=a(:)) in block

2015-07-07 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66578 --- Comment #18 from vehre at gcc dot gnu.org --- Author: vehre Date: Tue Jul 7 11:10:12 2015 New Revision: 225507 URL: https://gcc.gnu.org/viewcvs?rev=225507root=gccview=rev Log: gcc/testsuite/ChangeLog: 2015-07-07 Andre Vehreschild

[Bug c++/66787] gcc fails tail call elimination

2015-07-07 Thread denmark114 at naver dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66787 --- Comment #1 from Minjae Kim denmark114 at naver dot com --- Oops, I swapped `create` and `print`. gcc does tail call elimination on `create` but it doesn't on `print`.

[Bug tree-optimization/66768] address space gets lost on literal pointer

2015-07-07 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66768 --- Comment #9 from rguenther at suse dot de rguenther at suse dot de --- On Tue, 7 Jul 2015, amker at gcc dot gnu.org wrote: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66768 --- Comment #8 from amker at gcc dot gnu.org --- So address

[Bug target/66780] [4.9 Regression] Compiling with -fstack-protector-strong causes binary to segfault

2015-07-07 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66780 --- Comment #4 from Kazumoto Kojima kkojima at gcc dot gnu.org --- (In reply to John Paul Adrian Glaubitz from comment #2) Could this also be the cause for PR66312 and PR66563 after all? My 2 cents. I've just revert the problematic part on

[Bug libstdc++/66788] [4.9/5 Regression] Rejects instantiation of class std::dequelong long unsigned int with -m32

2015-07-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66788 --- Comment #2 from Richard Biener rguenth at gcc dot gnu.org --- Reduced testcase: #include cstdint #include deque typedef uint64_t cl_ulong __attribute__((aligned(8))); std::dequecl_ulong args_qualifier;

[Bug target/66780] [4.9 Regression] Compiling with -fstack-protector-strong causes binary to segfault

2015-07-07 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66780 --- Comment #3 from Kazumoto Kojima kkojima at gcc dot gnu.org --- Author: kkojima Date: Tue Jul 7 12:29:16 2015 New Revision: 225512 URL: https://gcc.gnu.org/viewcvs?rev=225512root=gccview=rev Log: PR target/66780 * config/sh/sh.md

[Bug middle-end/66770] [6 Regression] 252.eon in SPEC CPU 2000 failed to build

2015-07-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66770 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug tree-optimization/66759] [6 Regression] ICE in generic-match.c on 456.hmmer

2015-07-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66759 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added CC||hjl.tools at

[Bug c++/66788] New: [5 Regression] Rejects instantiation of class std::dequelong long unsigned int with -m32

2015-07-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66788 Bug ID: 66788 Summary: [5 Regression] Rejects instantiation of class std::dequelong long unsigned int with -m32 Product: gcc Version: 5.1.1 Status: UNCONFIRMED

[Bug c++/66787] New: gcc fails tail call elimination

2015-07-07 Thread denmark114 at naver dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66787 Bug ID: 66787 Summary: gcc fails tail call elimination Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug libstdc++/66788] [4.9/5 Regression] Rejects instantiation of class std::dequelong long unsigned int with -m32

2015-07-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66788 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|5.2 |4.9.4

[Bug target/66780] [4.9 Regression] Compiling with -fstack-protector-strong causes binary to segfault

2015-07-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66780 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.9.4

[Bug libstdc++/66788] [5 Regression] Rejects instantiation of class std::dequelong long unsigned int with -m32

2015-07-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66788 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |5.2

[Bug tree-optimization/66768] address space gets lost on literal pointer

2015-07-07 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66768 --- Comment #8 from amker at gcc dot gnu.org --- So address space info is kept and checked in base object's type of MEM_REF. As in function expand_expr_real_1: case TARGET_MEM_REF: { addr_space_t as = TYPE_ADDR_SPACE

[Bug libstdc++/66788] [5 Regression] Rejects instantiation of class std::dequelong long unsigned int with -m32

2015-07-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66788 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Component|c++ |libstdc++

[Bug target/58493] loop is not correctly optimized with O3 and AVX

2015-07-07 Thread vgrebinski at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58493 --- Comment #5 from vgrebinski at gmail dot com vgrebinski at gmail dot com --- (In reply to Mikael Pettersson from comment #4) Checked that this works with current gcc-6/5/4.9. Can this be closed now? I'm fine to close it since the bug is

[Bug bootstrap/65988] Trying to compile GCC 5.1 in my (customized) Solaris 10/x86-64 fails with GMP errors

2015-07-07 Thread jcea at jcea dot es
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65988 Jesus Cea jcea at jcea dot es changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug fortran/56520] Syntax error causes misleading message: Invalid character in name

2015-07-07 Thread casey.webster at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56520 --- Comment #9 from Casey Webster casey.webster at gmail dot com --- (In reply to Steve Kargl from comment #8) On Tue, Jul 07, 2015 at 07:10:48PM +, casey.webster at gmail dot com wrote: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56520

[Bug go/66303] runtime.Caller() returns infinitely deep stack frames on s390x

2015-07-07 Thread stli at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66303 --- Comment #12 from stli at linux dot vnet.ibm.com stli at linux dot vnet.ibm.com --- The glibc bug https://sourceware.org/bugzilla/show_bug.cgi?id=18508 is fixed upstream with commit

[Bug target/64036] [SH] Evaluate re-enabling scheduling before RA

2015-07-07 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64036 --- Comment #5 from Kazumoto Kojima kkojima at gcc dot gnu.org --- (In reply to Oleg Endo from comment #3) else if (flag_exceptions) { if (flag_schedule_insns global_options_set.x_flag_schedule_insns) warning

[Bug target/66703] [4.9/5/6] gcc.target/i386/readeflags-1.c aborts on -march=i586 or on -miamcu

2015-07-07 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66703 --- Comment #3 from H.J. Lu hjl.tools at gmail dot com --- (In reply to Yulia Koval from comment #2) Why zero-extend with and is better than zero-extend with movz? Why it's ok to clobber the flags? According to Intel Pentium optimization

[Bug c++/66787] gcc fails tail call elimination

2015-07-07 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66787 --- Comment #2 from Andrew Pinski pinskia at gcc dot gnu.org --- 5 words: temporary whose address is taken Due to c++ references.

[Bug libstdc++/66789] New: FAIL: tr1/8_c_compatibility/complex/50880.cc (test for excess errors) on bare-metal targets

2015-07-07 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66789 Bug ID: 66789 Summary: FAIL: tr1/8_c_compatibility/complex/50880.cc (test for excess errors) on bare-metal targets Product: gcc Version: 6.0 Status: UNCONFIRMED

[Bug libstdc++/66789] FAIL: tr1/8_c_compatibility/complex/50880.cc (test for excess errors) on bare-metal targets

2015-07-07 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66789 --- Comment #1 from ktkachov at gcc dot gnu.org --- Forgot to mention, bisection showed that it started with: Author: redi redi@138bc75d-0d04-0410-961f-82ee72b054a4 Date: Mon Jan 26 23:42:39 2015 + PR libstdc++/64368 *