[Bug fortran/63858] fixed form OpenACC directive ICE with -fopenacc -fopenmp

2014-11-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63858 --- Comment #3 from Jakub Jelinek --- Please also make sure to test stuff like: !$OMP PARALLEL & !$ACC& COPYIN(ARGS) and vice versa (and for free form too). Of course that is invalid, but it should have testcases and should be properly diagnosed

[Bug fortran/63858] fixed form OpenACC directive ICE with -fopenacc -fopenmp

2014-11-13 Thread cesar at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63858 --- Comment #2 from Cesar Philippidis --- Created attachment 33967 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33967&action=edit fixed-form ICE

[Bug fortran/63858] fixed form OpenACC directive ICE with -fopenacc -fopenmp

2014-11-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63858 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug tree-optimization/63841] [4.8/4.9/5 Regression] Incorrect strlen optimization after complete unroll

2014-11-13 Thread tejohnson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63841 --- Comment #7 from tejohnson at gcc dot gnu.org --- Author: tejohnson Date: Fri Nov 14 06:35:35 2014 New Revision: 217537 URL: https://gcc.gnu.org/viewcvs?rev=217537&root=gcc&view=rev Log: 2014-11-13 Teresa Johnson gcc: PR tree-optimizat

[Bug go/63812] Compilation error due to a large floating point constant truncated to integer

2014-11-13 Thread e29253 at jp dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63812 --- Comment #4 from Tatsushi Inagaki --- Ian, Thank you very much for your helpful clarification. I confirmed that the unit test passes with both of GC and GCCGO, when we modify the test from: assertEquals(t, "2.22 PB", HumanSize(2.22*PB

[Bug go/63731] Fallback to netgo does not work

2014-11-13 Thread yohei at jp dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63731 --- Comment #2 from Yohei Ueda --- I tested this issue with the latest GC trunk again, and noticed that GC always compiles programs that contains DNS lookups with dynamic linking even if -static is specified. $ go version go version devel +ae495

[Bug go/63731] Fallback to netgo does not work

2014-11-13 Thread yohei at jp dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63731 --- Comment #1 from Yohei Ueda --- Created attachment 33966 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33966&action=edit Fix the DNS lookup problem for statically linked binaries I created a patch file that fixes this problem.

[Bug middle-end/63793] -mcmodel=medium in gfortran on x86_64 emits references that are RIP relative (instead of using the GOT)

2014-11-13 Thread howarth at bromo dot med.uc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63793 --- Comment #18 from howarth at bromo dot med.uc.edu --- Another interesting section of code in gcc/config/i386/i386.c else { /* For TARGET_64BIT and MS_ABI, force pic on, in order to enable the use of rip-relative addressing

[Bug libstdc++/63860] Ill-formed std::pair::swap implementation?

2014-11-13 Thread richard-gccbugzilla at metafoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63860 Richard Smith changed: What|Removed |Added CC||richard-gccbugzilla@metafoo

[Bug libstdc++/63860] Ill-formed std::pair::swap implementation?

2014-11-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63860 --- Comment #3 from Jonathan Wakely --- Created attachment 33965 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33965&action=edit untested patch I think this makes the code valid

[Bug middle-end/63793] -mcmodel=medium in gfortran on x86_64 emits references that are RIP relative (instead of using the GOT)

2014-11-13 Thread howarth at bromo dot med.uc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63793 --- Comment #17 from howarth at bromo dot med.uc.edu --- The only other place that looks promising is... case UNSPEC_GOTOFF: /* Refuse GOTOFF in 64bit mode since it is always 64bit when used. While ABI specify also 32bit reloca

[Bug libstdc++/63860] Ill-formed std::pair::swap implementation?

2014-11-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63860 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/63793] -mcmodel=medium in gfortran on x86_64 emits references that are RIP relative (instead of using the GOT)

2014-11-13 Thread howarth at bromo dot med.uc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63793 --- Comment #16 from howarth at bromo dot med.uc.edu --- I guess we should also consider the instances of UNSPEC_GOTOFF, no? However I didn't see anything obvious which was conditional against Mach-O where it was used.

[Bug middle-end/63793] -mcmodel=medium in gfortran on x86_64 emits references that are RIP relative (instead of using the GOT)

2014-11-13 Thread howarth at bromo dot med.uc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63793 --- Comment #15 from howarth at bromo dot med.uc.edu --- (In reply to Iain Sandoe from comment #12) The question arises if this section... else if (TARGET_MACHO) { fprintf (file, ASM_LONG "%s%d-", LPREFIX, value); machopic_

[Bug sanitizer/63855] [5 Regression] ICE: SIGSEGV in ipa_comdats with -fsanitize=null

2014-11-13 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63855 --- Comment #2 from H.J. Lu --- It is caused by r213406.

[Bug fortran/63861] New: OpenACC coarray ICE

2014-11-13 Thread cesar at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63861 Bug ID: 63861 Summary: OpenACC coarray ICE Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: una

[Bug libstdc++/63860] Ill-formed std::pair::swap implementation?

2014-11-13 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63860 --- Comment #1 from Andrew Pinski --- Most likely because 4.8.3 did not fully implement C++11.

[Bug libstdc++/63860] New: Ill-formed std::pair::swap implementation?

2014-11-13 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63860 Bug ID: 63860 Summary: Ill-formed std::pair::swap implementation? Product: gcc Version: 4.8.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstd

[Bug ipa/63671] [5 Regression] 21% tramp3d-v4 performance hit due to -fdevirtualize

2014-11-13 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63671 --- Comment #11 from Jan Hubicka --- > > I think using sreal is fine - I expect that to be faster than using > wide_int (and smaller). > > Random inlining decisions are bad :/ (and hard to debug) Yep, this was hitting us from time to time and

[Bug fortran/63859] New: OpenACC DEVICE_RESIDENT clause

2014-11-13 Thread cesar at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63859 Bug ID: 63859 Summary: OpenACC DEVICE_RESIDENT clause Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran As

[Bug fortran/63858] New: fixed form OpenACC directive ICE with -fopenacc -fopenmp

2014-11-13 Thread cesar at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63858 Bug ID: 63858 Summary: fixed form OpenACC directive ICE with -fopenacc -fopenmp Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priorit

[Bug fortran/63857] New: fixed form OpenACC directive ICE with -fopenacc -fopenmp

2014-11-13 Thread cesar at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63857 Bug ID: 63857 Summary: fixed form OpenACC directive ICE with -fopenacc -fopenmp Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priorit

[Bug middle-end/63793] -mcmodel=medium in gfortran on x86_64 emits references that are RIP relative (instead of using the GOT)

2014-11-13 Thread howarth at bromo dot med.uc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63793 --- Comment #14 from howarth at bromo dot med.uc.edu --- (In reply to Iain Sandoe from comment #12) > caveat: I have not examined this bug… > > .. but I have the following patch in my Q (solves a problem when GAS is the > assembler). This shoul

[Bug middle-end/63793] -mcmodel=medium in gfortran on x86_64 emits references that are RIP relative (instead of using the GOT)

2014-11-13 Thread howarth at bromo dot med.uc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63793 --- Comment #13 from howarth at bromo dot med.uc.edu --- (In reply to howarth from comment #11) > FYI, the darwin linker developer had the following comments on @GOTOFF.. > > > This may be a red herring. > > > > @GOTOFF is a different concept.

[Bug middle-end/63793] -mcmodel=medium in gfortran on x86_64 emits references that are RIP relative (instead of using the GOT)

2014-11-13 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63793 --- Comment #12 from Iain Sandoe --- caveat: I have not examined this bug… .. but I have the following patch in my Q (solves a problem when GAS is the assembler). This should not fire unless the configuration says that the assembler supports g

[Bug debug/63581] undefined references in debug_info

2014-11-13 Thread xur at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63581 --- Comment #2 from xur at gcc dot gnu.org --- Author: xur Date: Fri Nov 14 00:30:31 2014 New Revision: 217530 URL: https://gcc.gnu.org/viewcvs?rev=217530&root=gcc&view=rev Log: 2014-11-13 Rong Xu gcc: PR debug/63581 * cfgrtl.c (emit_

[Bug middle-end/63793] -mcmodel=medium in gfortran on x86_64 emits references that are RIP relative (instead of using the GOT)

2014-11-13 Thread howarth at bromo dot med.uc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63793 --- Comment #11 from howarth at bromo dot med.uc.edu --- FYI, the darwin linker developer had the following comments on @GOTOFF.. > This may be a red herring. > > @GOTOFF is a different concept. IIRC, the ELF runtime sets of RBX to point > to

[Bug c/59984] OpenMP and Cilk Plus SIMD pragma makes loop incorrect

2014-11-13 Thread evstupac at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59984 --- Comment #12 from Stupachenko Evgeny --- Created attachment 33963 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33963&action=edit test case where pragma simd disable vectorization The following test case compiled with "-Ofast" vectoriz

[Bug ipa/63856] [5 Regression] ICE: verify_gimple failed: invalid argument to gimple call with -O2 -fPIC

2014-11-13 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63856 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug bootstrap/63853] [5.0 Regression] The use of strchrnul breaks bootstrap on x86_64-apple-darwin14.

2014-11-13 Thread iverbin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63853 --- Comment #12 from iverbin at gcc dot gnu.org --- Author: iverbin Date: Thu Nov 13 22:06:15 2014 New Revision: 217524 URL: https://gcc.gnu.org/viewcvs?rev=217524&root=gcc&view=rev Log: 2014-11-13 Dominique Dhumieres PR bootstrap/63853 g

[Bug tree-optimization/63841] [4.8/4.9/5 Regression] Incorrect strlen optimization after complete unroll

2014-11-13 Thread tejohnson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63841 --- Comment #6 from tejohnson at gcc dot gnu.org --- Author: tejohnson Date: Thu Nov 13 21:51:11 2014 New Revision: 217522 URL: https://gcc.gnu.org/viewcvs?rev=217522&root=gcc&view=rev Log: 2014-11-13 Teresa Johnson gcc: PR tree-optimizat

[Bug middle-end/63793] -mcmodel=medium in gfortran on x86_64 emits references that are RIP relative (instead of using the GOT)

2014-11-13 Thread howarth at bromo dot med.uc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63793 --- Comment #10 from howarth at bromo dot med.uc.edu --- Jakub, Do you have any insights on where the code generation for darwin would fork from linux to use %rip rather than @GOTOFF. The darwin linker developer says for large code (which I assume

[Bug middle-end/63793] -mcmodel=medium in gfortran on x86_64 emits references that are RIP relative (instead of using the GOT)

2014-11-13 Thread howarth at bromo dot med.uc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63793 --- Comment #9 from howarth at bromo dot med.uc.edu --- Created attachment 33962 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33962&action=edit assembly file for convex_kfeta.s on x86_64 linux Generated with gfortran -c -I/home/howarth

[Bug preprocessor/63831] [5 Regression] r217292 causes segfaults with -MM

2014-11-13 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63831 --- Comment #11 from Iain Sandoe --- unfortunaely, not quite (yet) complete. I tried 217505 + c#10 - on x86_64-darwin12 all langs bootstrap proceeds up to the build of Ada lib. I reverted r217292 and re-tried - bootstrap passed, so still some g

[Bug sanitizer/63855] [5 Regression] ICE: SIGSEGV in ipa_comdats with -fsanitize=null

2014-11-13 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63855 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug ipa/63856] New: [5 Regression] ICE: verify_gimple failed: invalid argument to gimple call with -O2 -fPIC

2014-11-13 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63856 Bug ID: 63856 Summary: [5 Regression] ICE: verify_gimple failed: invalid argument to gimple call with -O2 -fPIC Product: gcc Version: 5.0 Status: UNCONFIRMED Se

[Bug sanitizer/63855] New: [5 Regression] ICE: SIGSEGV in ipa_comdats with -fsanitize=null

2014-11-13 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63855 Bug ID: 63855 Summary: [5 Regression] ICE: SIGSEGV in ipa_comdats with -fsanitize=null Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal

[Bug bootstrap/63853] [5.0 Regression] The use of strchrnul breaks bootstrap on x86_64-apple-darwin14.

2014-11-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63853 --- Comment #11 from Jakub Jelinek --- (In reply to Dominique d'Humieres from comment #9) > I just completed a clean bootstrap of r217511 with the following patch This is ok for trunk so that we don't have bootstrap breakages for too long. That

[Bug bootstrap/63853] [5.0 Regression] The use of strchrnul breaks bootstrap on x86_64-apple-darwin14.

2014-11-13 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63853 --- Comment #10 from Andreas Schwab --- How about using strcspn?

[Bug bootstrap/63853] [5.0 Regression] The use of strchrnul breaks bootstrap on x86_64-apple-darwin14.

2014-11-13 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63853 --- Comment #9 from Dominique d'Humieres --- I just completed a clean bootstrap of r217511 with the following patch --- ../_clean/gcc/gcc.c2014-11-13 15:29:00.0 +0100 +++ gcc/gcc.c2014-11-13 17:59:47.0 +0100 @@ -3375,12 +

[Bug bootstrap/63853] [5.0 Regression] The use of strchrnul breaks bootstrap on x86_64-apple-darwin14.

2014-11-13 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63853 --- Comment #8 from Iain Sandoe --- (In reply to Jakub Jelinek from comment #4) > That is not what strchrnul does though. > If is char *p = strchr (s, c); if (p) return p; else return strchr (s, '\0'); fair enough, if that's preferred .. was ju

[Bug middle-end/63793] -mcmodel=medium in gfortran on x86_64 emits references that are RIP relative (instead of using the GOT)

2014-11-13 Thread howarth at bromo dot med.uc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63793 --- Comment #8 from howarth at bromo dot med.uc.edu --- It appears the two instances of the use of HAVE_AS_GOTOFF_IN_DATA are in gcc/config/i386/i386.c void ix86_output_addr_diff_elt (FILE *file, int value, int rel) { const char *directive = AS

[Bug bootstrap/63853] [5.0 Regression] The use of strchrnul breaks bootstrap on x86_64-apple-darwin14.

2014-11-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63853 --- Comment #7 from Jakub Jelinek --- I think it is more work than just changing the few spots.

[Bug middle-end/63793] -mcmodel=medium in gfortran on x86_64 emits references that are RIP relative (instead of using the GOT)

2014-11-13 Thread howarth at bromo dot med.uc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63793 --- Comment #7 from howarth at bromo dot med.uc.edu --- This seems to be due to the fact that on x86_64 linux, auto-host.h contains... /* Define true if the assembler supports '.long foo@GOTOFF'. */ #ifndef USED_FOR_TARGET #define HAVE_AS_GOTOFF_

[Bug jit/63854] Fix memory leaks seen in JIT

2014-11-13 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63854 --- Comment #1 from dmalcolm at gcc dot gnu.org --- Note to self: this was with r217427.

[Bug jit/63854] New: Fix memory leaks seen in JIT

2014-11-13 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63854 Bug ID: 63854 Summary: Fix memory leaks seen in JIT Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: jit Assignee

[Bug bootstrap/63853] [5.0 Regression] The use of strchrnul breaks bootstrap on x86_64-apple-darwin14.

2014-11-13 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63853 David Edelsohn changed: What|Removed |Added CC||dje at gcc dot gnu.org Ho

[Bug bootstrap/63853] [5.0 Regression] The use of strchrnul breaks bootstrap on x86_64-apple-darwin14.

2014-11-13 Thread iverbin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63853 --- Comment #5 from Ilya Verbin --- So, I'll implement strchrnul in libiberty, ok?

[Bug rtl-optimization/63365] [ARM] Incorrect copy propagation for vclz intrinsic

2014-11-13 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63365 Ramana Radhakrishnan changed: What|Removed |Added CC||ramana at gcc dot gnu.org Targe

[Bug bootstrap/63853] [5.0 Regression] The use of strchrnul breaks bootstrap on x86_64-apple-darwin14.

2014-11-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63853 --- Comment #4 from Jakub Jelinek --- That is not what strchrnul does though. If is char *p = strchr (s, c); if (p) return p; else return strchr (s, '\0');

[Bug bootstrap/63853] [5.0 Regression] The use of strchrnul breaks bootstrap on x86_64-apple-darwin14.

2014-11-13 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63853 --- Comment #3 from Iain Sandoe --- … does libiberty want an implementation? const char * strchrnul (const char *s, int c) { char *snew = strrchr(s, c); if (snew != NULL) return snew; return (s + strlen (s)); }

[Bug bootstrap/63853] [5.0 Regression] The use of strchrnul breaks bootstrap on x86_64-apple-darwin14.

2014-11-13 Thread iverbin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63853 Ilya Verbin changed: What|Removed |Added CC||iverbin at gmail dot com --- Comment #1 fr

[Bug bootstrap/63853] [5.0 Regression] The use of strchrnul breaks bootstrap on x86_64-apple-darwin14.

2014-11-13 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63853 Iain Sandoe changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/63828] [5 Regression] g++.dg/ipa/devirt-47.C fails for x32

2014-11-13 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63828 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug sanitizer/63802] UBSan doesn't catch misaligned access if address is 16-bytes (or more) aligned

2014-11-13 Thread y.gribov at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63802 --- Comment #3 from Yury Gribov --- Agreed, I'll cook a patch for tomorrow then.

[Bug middle-end/63793] -mcmodel=medium in gfortran on x86_64 emits references that are RIP relative (instead of using the GOT)

2014-11-13 Thread howarth at bromo dot med.uc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63793 --- Comment #6 from howarth at bromo dot med.uc.edu --- This may be where the usage of @GOTOFF was introduced for -mcmodel=medium... https://gcc.gnu.org/ml/gcc-patches/2005-07/msg00046.html https://gcc.gnu.org/ml/gcc-patches/2005-07/msg01134.html

[Bug sanitizer/63802] UBSan doesn't catch misaligned access if address is 16-bytes (or more) aligned

2014-11-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63802 --- Comment #2 from Jakub Jelinek --- Supposedly for TYPE_USER_ALIGN we could use TYPE_ALIGN_UNIT, but for other types we need to use min_align_of_type, otherwise we mishandle e.g. long long on i?86, which has TYPE_ALIGN_UNIT of 8, but when in st

[Bug bootstrap/63853] New: [5.0 Regression] The use of strchrnul breaks bootstrap on x86_64-apple-darwin14.

2014-11-13 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63853 Bug ID: 63853 Summary: [5.0 Regression] The use of strchrnul breaks bootstrap on x86_64-apple-darwin14. Product: gcc Version: 5.0 Status: UNCONFIRMED Severity:

[Bug lto/45375] [meta-bug] Issues with building Mozilla with LTO

2014-11-13 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #21

[Bug sanitizer/63802] UBSan doesn't catch misaligned access if address is 16-bytes (or more) aligned

2014-11-13 Thread y.gribov at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63802 Yury Gribov changed: What|Removed |Added CC||y.gribov at samsung dot com --- Comment #1

[Bug bootstrap/63622] [5.0 Regression] Bootstrap fails on x86_64-apple-darwin1[34] after revision r216305

2014-11-13 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63622 --- Comment #36 from Dominique d'Humieres --- > Please file test suite failures as new PR (one new PR per test failure > with a different backtrace, ideally). It's very hard to track as such > (the subject is not accurate any more, the discussion

[Bug rtl-optimization/63823] [5.0 Regression] MIPS will not build due to LRA ICE with 64 bit ABI

2014-11-13 Thread robert.suchanek at imgtec dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63823 --- Comment #8 from Robert Suchanek --- Yes, the patch works. Glibc built fine on mips64-linux-gnu target. Thanks Vlad.

[Bug target/63762] [ARM]GCC generates UNPREDICTABLE STR with Rn = Rt when hard-float abi is used

2014-11-13 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63762 --- Comment #4 from Ramana Radhakrishnan --- (In reply to Renlin Li from comment #2) > r278 is derived from r224 which is a VFP_LO_REGS. > > find_cost_and_classes assigns r278's class as GENERAL_REGS, and assign it > hard_reg 2. Another new pseu

[Bug ipa/63852] New: acats failures On x86_64-apple-darwin14

2014-11-13 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63852 Bug ID: 63852 Summary: acats failures On x86_64-apple-darwin14 Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa

[Bug middle-end/63793] -mcmodel=medium in gfortran on x86_64 emits references that are RIP relative (instead of using the GOT)

2014-11-13 Thread howarth at bromo dot med.uc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63793 --- Comment #5 from howarth at bromo dot med.uc.edu --- Checking this issue with current gcc trunk on x86_64 linux, I see differently handling of sumpartgrid in the emitted assembly... $ grep sumpartgrid convmix_kfeta.s movabsq$sumpartgri

[Bug ipa/63851] New: ipa-icf miscompiles gfortran.dg/assumed_rank_(8|9|10).f90 at -O2 and above

2014-11-13 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63851 Bug ID: 63851 Summary: ipa-icf miscompiles gfortran.dg/assumed_rank_(8|9|10).f90 at -O2 and above Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/63841] [4.8/4.9/5 Regression] Incorrect strlen optimization after complete unroll

2014-11-13 Thread tejohnson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63841 --- Comment #5 from tejohnson at gcc dot gnu.org --- Author: tejohnson Date: Thu Nov 13 15:36:48 2014 New Revision: 217505 URL: https://gcc.gnu.org/viewcvs?rev=217505&root=gcc&view=rev Log: 2014-11-13 Teresa Johnson gcc: PR tree-optimizat

[Bug preprocessor/63831] [5 Regression] r217292 causes segfaults with -MM

2014-11-13 Thread emsr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63831 emsr at gcc dot gnu.org changed: What|Removed |Added Attachment #33949|0 |1 is obsolete|

[Bug target/63762] [ARM]GCC generates UNPREDICTABLE STR with Rn = Rt when hard-float abi is used

2014-11-13 Thread renlin.li at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63762 --- Comment #3 from Renlin Li --- Created attachment 33957 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33957&action=edit ira dump

[Bug target/63762] [ARM]GCC generates UNPREDICTABLE STR with Rn = Rt when hard-float abi is used

2014-11-13 Thread renlin.li at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63762 --- Comment #2 from Renlin Li --- r278 is derived from r224 which is a VFP_LO_REGS. find_cost_and_classes assigns r278's class as GENERAL_REGS, and assign it hard_reg 2. Another new pseudo register r290 is created from r278, and assigned to the

[Bug preprocessor/63831] [5 Regression] r217292 causes segfaults with -MM

2014-11-13 Thread emsr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63831 --- Comment #9 from emsr at gcc dot gnu.org --- This problem exists also with my baby __has_cpp_attribute. I have to actually solve this. The real answer to this is to also give c-family/c-ppoutput.c a callback to pretty print these built-in mac

[Bug rtl-optimization/63823] [5.0 Regression] MIPS will not build due to LRA ICE with 64 bit ABI

2014-11-13 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63823 --- Comment #7 from Vladimir Makarov --- Created attachment 33956 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33956&action=edit The proposed patch Here is the proposed patch.

[Bug rtl-optimization/63823] [5.0 Regression] MIPS will not build due to LRA ICE with 64 bit ABI

2014-11-13 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63823 --- Comment #6 from Vladimir Makarov --- (In reply to Robert Suchanek from comment #5) > It appears that enabling the debug info can trigger the ICE. In the > testcase, after the patch, an instruction 1136 gets deleted and all > references to pse

[Bug sanitizer/63850] Building TSAN for Aarch64 results in assembler Error

2014-11-13 Thread dvyukov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63850 --- Comment #3 from Dmitry Vyukov --- Sure, you can do local experimentation in gcc. Yes, gcc Makefile will need to be updated as well. But I am more concerned about shadow memory layout. Tsan mapping is somewhat different from asan.

[Bug tree-optimization/63841] [4.8/4.9/5 Regression] Incorrect strlen optimization after complete unroll

2014-11-13 Thread tejohnson at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63841 --- Comment #4 from Teresa Johnson --- On Thu, Nov 13, 2014 at 1:27 AM, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63841 > > Jakub Jelinek changed: > >What|Removed |Added >

[Bug middle-end/49721] convert_memory_address_addr_space may generate invalid new insns

2014-11-13 Thread yroux at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49721 --- Comment #36 from Yvan Roux --- Author: yroux Date: Thu Nov 13 14:00:48 2014 New Revision: 217497 URL: https://gcc.gnu.org/viewcvs?rev=217497&root=gcc&view=rev Log: 2014-11-13 Yvan Roux Backport from trunk r216229, r216230. 2014-1

[Bug rtl-optimization/63823] [5.0 Regression] MIPS will not build due to LRA ICE with 64 bit ABI

2014-11-13 Thread robert.suchanek at imgtec dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63823 --- Comment #5 from Robert Suchanek --- It appears that enabling the debug info can trigger the ICE. In the testcase, after the patch, an instruction 1136 gets deleted and all references to pseudo 704 meant to be updated. The following change in

[Bug driver/63837] [5 Regression] r217391 causes kernel build errors with GCC_COMPARE_DEBUG=1

2014-11-13 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63837 --- Comment #7 from Markus Trippelsdorf --- (In reply to Manuel López-Ibáñez from comment #6) > Thanks for the testcase. It seems that the GCC_COMPARE_DEBUG=0 uses a > temporary file > > ./cc1 -quiet -iprefix > /home/manuel/test1/217394M/build

[Bug rtl-optimization/63365] [ARM] Incorrect copy propagation for vclz intrinsic

2014-11-13 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63365 clyon at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--

[Bug driver/63837] [5 Regression] r217391 causes kernel build errors with GCC_COMPARE_DEBUG=1

2014-11-13 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63837 --- Comment #6 from Manuel López-Ibáñez --- Thanks for the testcase. It seems that the GCC_COMPARE_DEBUG=0 uses a temporary file ./cc1 -quiet -iprefix /home/manuel/test1/217394M/build/gcc/../lib/gcc/x86_64-unknown-linux-gnu/5.0.0/ -isystem ./i

[Bug sanitizer/63850] Building TSAN for Aarch64 results in assembler Error

2014-11-13 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63850 clyon at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/63828] [5 Regression] g++.dg/ipa/devirt-47.C fails for x32

2014-11-13 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63828 --- Comment #6 from hjl at gcc dot gnu.org --- Author: hjl Date: Thu Nov 13 13:08:12 2014 New Revision: 217483 URL: https://gcc.gnu.org/viewcvs?rev=217483&root=gcc&view=rev Log: Use POINTER_SIZE to check for pointer size PR tree-optimizatio

[Bug tree-optimization/63817] ICE in verify_gimple_in_cfg tree-cfg.c:5039 (arm)

2014-11-13 Thread jbg...@lug-owl.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63817 --- Comment #5 from Jan-Benedict Glaw --- Bug seems to be gone.

[Bug sanitizer/63850] Building TSAN for Aarch64 results in assembler Error

2014-11-13 Thread dvyukov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63850 Dmitry Vyukov changed: What|Removed |Added CC||dvyukov at google dot com --- Comment #1

[Bug sanitizer/63850] New: Building TSAN for Aarch64 results in assembler

2014-11-13 Thread venkataramanan.kumar at amd dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63850 Bug ID: 63850 Summary: Building TSAN for Aarch64 results in assembler Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug libfortran/60324] Handle arbitrarily long path names

2014-11-13 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60324 Janne Blomqvist changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug sanitizer/63846] c-c++-common/asan/misalign-[12].c fails on i?86 with -fpic

2014-11-13 Thread izamyatin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63846 Igor Zamyatin changed: What|Removed |Added CC||izamyatin at gmail dot com --- Comment #

[Bug libfortran/60324] Handle arbitrarily long path names

2014-11-13 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60324 --- Comment #8 from Janne Blomqvist --- Author: jb Date: Thu Nov 13 12:05:01 2014 New Revision: 217480 URL: https://gcc.gnu.org/viewcvs?rev=217480&root=gcc&view=rev Log: PR 60324 Unbounded stack allocations in libgfortran. 2014-11-13 Janne Blo

[Bug sanitizer/63806] #UBSAN ignores signed char possible overflow

2014-11-13 Thread y.gribov at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63806 --- Comment #5 from Yury Gribov --- I've posted feature request upstream: http://llvm.org/bugs/show_bug.cgi?id=21530

[Bug c++/63849] New: [4.9/5.0 Regression] ICE on variadic alias template with wrappers

2014-11-13 Thread reagentoo at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63849 Bug ID: 63849 Summary: [4.9/5.0 Regression] ICE on variadic alias template with wrappers Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal

[Bug driver/63837] [5 Regression] r217391 causes kernel build errors with GCC_COMPARE_DEBUG=1

2014-11-13 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63837 Markus Trippelsdorf changed: What|Removed |Added Status|WAITING |NEW --- Comment #5 from Markus Tri

[Bug sanitizer/63839] ICE: tree check: expected ssa_name, have var_decl in simplify_builtin_call, at tree-ssa-forwprop.c:1441 with -fsanitize=unreachable

2014-11-13 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63839 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org As

[Bug sanitizer/63839] ICE: tree check: expected ssa_name, have var_decl in simplify_builtin_call, at tree-ssa-forwprop.c:1441 with -fsanitize=unreachable

2014-11-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63839 --- Comment #3 from Richard Biener --- Ok, so inlining introduces __builtin_unreachable () during inlining of a noreturn call. Then at some point somebody folds that statement (forwprop) and ubsan instrumentation triggers via fold_builtin_0. No

[Bug ipa/63814] g++.dg/ipa/pr61160-1.C fails with -m32 on darwin14

2014-11-13 Thread izamyatin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63814 --- Comment #11 from Igor Zamyatin --- Will take a look. Thanks!

[Bug tree-optimization/63800] [5 Regression] ICE on valid code at -O3 on x86_64-linux-gnu

2014-11-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63800 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/63841] [4.8/4.9/5 Regression] Incorrect strlen optimization after complete unroll

2014-11-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63841 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug ipa/63814] g++.dg/ipa/pr61160-1.C fails with -m32 on darwin14

2014-11-13 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63814 --- Comment #10 from Uroš Bizjak --- (In reply to Uroš Bizjak from comment #9) > (In reply to Igor Zamyatin from comment #7) > > So, is this compile time failure or runtime failure (or both for two tests)? > > You can run the testsuite with "-m3

[Bug driver/63837] [5 Regression] r217391 causes kernel build errors with GCC_COMPARE_DEBUG=1

2014-11-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63837 Richard Biener changed: What|Removed |Added Status|NEW |WAITING Target Milestone|---

[Bug sanitizer/63839] ICE: tree check: expected ssa_name, have var_decl in simplify_builtin_call, at tree-ssa-forwprop.c:1441 with -fsanitize=unreachable

2014-11-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63839 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/63841] Incorrect strlen optimization after complete unroll

2014-11-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63841 Richard Biener changed: What|Removed |Added Keywords||wrong-code Status|UNCONFIRM

  1   2   >