[Bug fortran/39844] module whole-file checking disabled

2009-04-21 Thread linuxl4 at sohu dot com
--- Comment #5 from linuxl4 at sohu dot com 2009-04-22 06:44 --- of cource it is not difficult to reorder the source . I don't know any compiler can do this, I wish there are a outsmart one. -- linuxl4 at sohu dot com changed: What|Removed |Added

[Bug fortran/39844] module whole-file checking disabled

2009-04-21 Thread linuxl4 at sohu dot com
--- Comment #4 from linuxl4 at sohu dot com 2009-04-22 06:37 --- in my opiton of view , at the time a USE statement is processed, the public portions of the specified module shall be available. should not been think as about the order of units, since "This standard places no ordering r

[Bug fortran/39844] module whole-file checking disabled

2009-04-21 Thread kargl at gcc dot gnu dot org
--- Comment #3 from kargl at gcc dot gnu dot org 2009-04-22 05:52 --- (In reply to comment #2) > no quite. > but the std post on limitation on this , so I really hope gfortran support it. > > http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/f4ab93c7cece56ee/d4518a39

[Bug tree-optimization/39845] [4.5 Regression] ICE: in make_decl_rtl, at varasm.c:1304

2009-04-21 Thread hjl dot tools at gmail dot com
-- hjl dot tools at gmail dot com changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfi

[Bug tree-optimization/39845] [4.5 Regression]: cris-elf gcc.c-torture/compile/981006-1.c

2009-04-21 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2009-04-22 05:27 --- Since PR 39846 is closed, I copy its info here. This bug isn't specific to a particular target. When trunk is configured with --enable-checking=assert, I get ../../src/gcc/c-typeck.c: In function ‘build_function_c

[Bug tree-optimization/39845] [4.5 Regression]: cris-elf gcc.c-torture/compile/981006-1.c

2009-04-21 Thread hp at gcc dot gnu dot org
--- Comment #1 from hp at gcc dot gnu dot org 2009-04-22 05:18 --- *** Bug 39846 has been marked as a duplicate of this bug. *** -- hp at gcc dot gnu dot org changed: What|Removed |Added -

[Bug bootstrap/39846] [4.5 Regression] Bootstrap failed with --enable-checking=assert

2009-04-21 Thread hp at gcc dot gnu dot org
--- Comment #1 from hp at gcc dot gnu dot org 2009-04-22 05:18 --- *** This bug has been marked as a duplicate of 39845 *** -- hp at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/39846] New: [4.5 Regression] Bootstrap failed with --enable-checking=assert

2009-04-21 Thread hjl dot tools at gmail dot com
When trunk is configured with --enable-checking=assert, I get ../../src/gcc/c-typeck.c: In function ‘build_function_call_vec’: ../../src/gcc/c-typeck.c:2433: internal compiler error: in make_decl_rtl, at varasm.c:1304 Please submit a full bug report, with preprocessed source if appropriate. Se

[Bug fortran/39844] module whole-file checking disabled

2009-04-21 Thread linuxl4 at sohu dot com
--- Comment #2 from linuxl4 at sohu dot com 2009-04-22 04:32 --- no quite. but the std post on limitation on this , so I really hope gfortran support it. http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/f4ab93c7cece56ee/d4518a395a0fd4fe?hl=zh-CN#d4518a395a0fd4fe to

[Bug fortran/39844] module whole-file checking disabled

2009-04-21 Thread kargl at gcc dot gnu dot org
-- kargl at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |enhancement Priority|P3 |P5 http:/

[Bug fortran/39844] module whole-file checking disabled

2009-04-21 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2009-04-22 03:35 --- Are you sure? The module after must be available when "use after" has been reached. Can you cite the relevant part of the standard that supports your claim. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39844

[Bug tree-optimization/39845] New: [4.5 Regression]: cris-elf gcc.c-torture/compile/981006-1.c

2009-04-21 Thread hp at gcc dot gnu dot org
With revision 146515 this test passed. >From revision 146517 and on, this test has failed as follows: Running /tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.c-torture/compile/compile.exp ... FAIL: gcc.c-torture/compile/981006-1.c -O2 (internal compiler error) FAIL: gcc.c-torture/compile/981006-1.c

[Bug fortran/39844] New: module whole-file checking disabled

2009-04-21 Thread linuxl4 at sohu dot com
program main use after end program main module after end module after this is allowed by the standard, I hope gfortran support this. -- Summary: module whole-file checking disabled Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity

[Bug middle-end/39333] gcc 4.3.3 miscompiles when -finline-small-functions is used

2009-04-21 Thread galtgendo at o2 dot pl
--- Comment #23 from galtgendo at o2 dot pl 2009-04-22 01:15 --- comment 22 was of course about '-fno-guess-branch-probability', not the other one. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39333

[Bug middle-end/39333] gcc 4.3.3 miscompiles when -finline-small-functions is used

2009-04-21 Thread galtgendo at o2 dot pl
--- Comment #22 from galtgendo at o2 dot pl 2009-04-22 01:08 --- Well, gcc 4.4.0 works without '-fno-inline-small-functions' for freeciv too. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39333

[Bug middle-end/39333] gcc 4.3.3 miscompiles when -finline-small-functions is used

2009-04-21 Thread galtgendo at o2 dot pl
--- Comment #21 from galtgendo at o2 dot pl 2009-04-22 00:23 --- Well, with 4.4.0 id.c compiles correctly in both cases. Let's check the harder part. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39333

[Bug middle-end/39333] gcc 4.3.3 miscompiles when -finline-small-functions is used

2009-04-21 Thread galtgendo at o2 dot pl
--- Comment #20 from galtgendo at o2 dot pl 2009-04-22 00:04 --- Created an attachment (id=17669) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17669&action=view) prepocessed source of id.c People, I've got a result, that's either very funny or very not funny. With the same compil

[Bug c/39843] New: -funsigned-bitfields discards "aligned" attribute

2009-04-21 Thread foo at mailinator dot com
% gcc-snapshot --version gcc-snapshot (Ubuntu 20081013-0ubuntu2) 4.3.3 20081014 (prerelease) Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. % gc

[Bug c++/37093] [4.2/4.3/4.4/4.5 Regression] ICE with pointer to member template parameters

2009-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #18 from pinskia at gcc dot gnu dot org 2009-04-21 22:48 --- *** Bug 39842 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/39842] ICE in make_decl_rtl, at varasm.c:1007

2009-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-04-21 22:48 --- This code is invalid as you are using a non constant argument for an template argument. *** This bug has been marked as a duplicate of 37093 *** -- pinskia at gcc dot gnu dot org changed: What|Re

[Bug c++/39842] ICE in make_decl_rtl, at varasm.c:1007

2009-04-21 Thread gccbug at isomer dot meta dot net dot nz
--- Comment #1 from gccbug at isomer dot meta dot net dot nz 2009-04-21 22:43 --- File is too large to attach directly (~1.2MB), test case instead added to the URL field as suggested by Bugzilla. -- gccbug at isomer dot meta dot net dot nz changed: What|Removed

[Bug c++/39842] New: ICE in make_decl_rtl, at varasm.c:1007

2009-04-21 Thread gccbug at isomer dot meta dot net dot nz
While compiling some heavily templated code using member variable pointers, g++ crashes. g++ is standard version installed with ubuntu hardy. Changing line 49159 of js.ii from (self->*func)(a1, a2, a3); to self->*func(a1, a2, a3); removes the ICE (however due to an (unresolved) bug in my progra

[Bug testsuite/39831] gcc.target/i386/excess-precision-*.c assume the default -mfp-math does not include SSE

2009-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-04-21 22:28 --- (In reply to comment #1) > Probably all six excess precision tests should have explicit -mfpmath=387. Yes and I will test this on Darwin and GNU/Linux. -- pinskia at gcc dot gnu dot org changed: What

[Bug middle-end/39840] Non-optimal (or wrong) implementation of SSE intrinsics

2009-04-21 Thread hjl dot tools at gmail dot com
--- Comment #6 from hjl dot tools at gmail dot com 2009-04-21 21:56 --- Created an attachment (id=17668) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17668&action=view) An eample Here is an example for gcc 4.4. If function level optimization works, we don't need separate files fo

[Bug c/39841] -Wall on 'signed char' array subscript

2009-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-04-21 21:53 --- The reasoning behind signed char not giving a warning is because in C/C++, char can either be unsigned or signed depending on the target so the warning is only for char and not for the specific marked signed characte

[Bug c/39841] New: -Wall on 'signed char' array subscript

2009-04-21 Thread ebb9 at byu dot net
I appreciate the fact that gcc is able to warn about misuse of macros when they are written as an array access, when the programmer mistakenly uses 'char' (under -fsigned-char) instead of the standard-mandated int containing an unsigned char value (there is discussion right now on the newlib list

[Bug middle-end/39809] emit-rtl.c:608(-> gen_rtx_REG): warning: array subscript is above array bounds

2009-04-21 Thread jbglaw at lug-owl dot de
--- Comment #2 from jbglaw at lug-owl dot de 2009-04-21 21:32 --- This is SVN trunk, fetched via GIT. With my last build, it was SVN rev 146349 which produces the warnings. At this point I also just realize that it might be a nice thing to actually print out the array bounds as well as t

[Bug libstdc++/39491] [4.4/4.5 regression] symbol __signb...@glibcxx_3.4 in libstdc++ not exported anymore

2009-04-21 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #12 from dave at hiauly1 dot hia dot nrc dot ca 2009-04-21 21:01 --- Subject: Re: [4.4/4.5 regression] symbol __signb...@glibcxx_3.4 in libstdc++ not exported anymore > At present glibc does not create an long double alias for the double __signbit > function, but for the s

[Bug middle-end/39840] Non-optimal (or wrong) implementation of SSE intrinsics

2009-04-21 Thread hjl dot tools at gmail dot com
--- Comment #5 from hjl dot tools at gmail dot com 2009-04-21 20:34 --- Created an attachment (id=17667) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17667&action=view) An example I am enclosing a modified example which can be compiled with both icc and gcc. I also included assem

[Bug libstdc++/39802] std::num_get fails to parse negative zero input correctly

2009-04-21 Thread paolo dot carlini at oracle dot com
--- Comment #5 from paolo dot carlini at oracle dot com 2009-04-21 20:27 --- Fixed. -- paolo dot carlini at oracle dot com changed: What|Removed |Added Statu

[Bug libstdc++/39802] std::num_get fails to parse negative zero input correctly

2009-04-21 Thread paolo at gcc dot gnu dot org
--- Comment #4 from paolo at gcc dot gnu dot org 2009-04-21 20:27 --- Subject: Bug 39802 Author: paolo Date: Tue Apr 21 20:26:46 2009 New Revision: 146538 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146538 Log: 2009-04-21 Paolo Carlini PR libstdc++/39802 *

[Bug libstdc++/39491] [4.4/4.5 regression] symbol __signb...@glibcxx_3.4 in libstdc++ not exported anymore

2009-04-21 Thread carlos at codesourcery dot com
--- Comment #11 from carlos at codesourcery dot com 2009-04-21 20:16 --- Yes, if gcc does not determine that "sizeof (x) == sizeof (double)" then it would have to emit code for the if-then-else statement and this would create a reference to an undefined __signbitl. Has this ever happene

[Bug c++/35711] bad text in -Wcast-qual warning (forgets volatile)

2009-04-21 Thread manu at gcc dot gnu dot org
--- Comment #14 from manu at gcc dot gnu dot org 2009-04-21 19:53 --- I am going to mark this as FIXED for GCC 4.5. A possible enhancement could be to mention which qualifiers are casted away. However, this is not trivial and the warning already mentions the types, so perhaps it is unne

[Bug middle-end/39840] Non-optimal (or wrong) implementation of SSE intrinsics

2009-04-21 Thread drepper at redhat dot com
--- Comment #4 from drepper at redhat dot com 2009-04-21 19:51 --- (In reply to comment #3) > Gcc 4.4 and above supports different target options on the function > level but not on a basic block level. So you can create an interneral > version for AVX. This doesn't work either. Asi

[Bug c++/35711] bad text in -Wcast-qual warning (forgets volatile)

2009-04-21 Thread manu at gcc dot gnu dot org
--- Comment #13 from manu at gcc dot gnu dot org 2009-04-21 19:49 --- Subject: Bug 35711 Author: manu Date: Tue Apr 21 19:49:23 2009 New Revision: 146537 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146537 Log: 2009-04-21 Manuel Lopez-Ibanez PR c++/35711 cp/

[Bug libstdc++/39491] [4.4/4.5 regression] symbol __signb...@glibcxx_3.4 in libstdc++ not exported anymore

2009-04-21 Thread danglin at gcc dot gnu dot org
--- Comment #10 from danglin at gcc dot gnu dot org 2009-04-21 19:49 --- Gcc always seems to optimize the signbit macro. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39491

[Bug middle-end/39840] Non-optimal (or wrong) implementation of SSE intrinsics

2009-04-21 Thread pinskia at gmail dot com
--- Comment #3 from pinskia at gmail dot com 2009-04-21 19:41 --- Subject: Re: Non-optimal (or wrong) implementation of SSE intrinsics Gcc 4.4 and above supports different target options on the function level but not on a basic block level. So you can create an interneral version f

Re: [Bug middle-end/39840] Non-optimal (or wrong) implementation of SSE intrinsics

2009-04-21 Thread Andrew Thomas Pinski
Gcc 4.4 and above supports different target options on the function level but not on a basic block level. So you can create an interneral version for AVX. Sent from my iPhone On Apr 21, 2009, at 12:37 PM, "drepper at redhat dot com" > wrote: --- Comment #2 from drepper at redhat dot

[Bug middle-end/39840] Non-optimal (or wrong) implementation of SSE intrinsics

2009-04-21 Thread drepper at redhat dot com
--- Comment #2 from drepper at redhat dot com 2009-04-21 19:37 --- [I couldn't attach the code as an attachment, bugzilla has a bug.] The program below has to be compiled with -mavx to allow the AVX intrinsics being used. But this also triggers using the use of the vmovss instruction t

[Bug other/39785] LD_RUN_PATH ignored

2009-04-21 Thread floris dot bruynooghe at gmail dot com
--- Comment #4 from floris dot bruynooghe at gmail dot com 2009-04-21 19:22 --- Sure, that's why you should always use it together with --enable-new-dtags when using GNU ld so you get a RUNPATH (note that for Solaris ld this is not needed, you get a RUNPATH automatically if you use -R t

[Bug middle-end/39840] Non-optimal (or wrong) implementation of SSE intrinsics

2009-04-21 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2009-04-21 19:07 --- Please provide some sample code which can be compiled. -- hjl dot tools at gmail dot com changed: What|Removed |Added --

[Bug middle-end/39840] New: Non-optimal (or wrong) implementation of SSE intrinsics

2009-04-21 Thread drepper at redhat dot com
The implementations of the SSE intrinsics for x86 and x86-64 in gcc is tied to the use of an appropriate -m option, such as -mssse3 or -mavx. This is different from what icc does and it prevents code from being written in the most natural form. This is nothing new in gcc 4.4, it has been the beha

[Bug regression/39838] [4.3/4.4/4.5 regression] unoptimal code for two simple loops

2009-04-21 Thread alexvod at google dot com
--- Comment #2 from alexvod at google dot com 2009-04-21 18:37 --- (In reply to comment #1) > This is IV-opts messing way up as far as I can tell. Pointer Plus just helped > out PRE and code motion passes which confuses the hell out of IV-opts. > I tried to use -fno-ivopts flag, but it

[Bug regression/39839] New: [4.3/4.4/4.5 regression] loop invariant motion causes stack spill

2009-04-21 Thread alexvod at google dot com
The following code: struct S { int count; char *addr; }; void func(const char*, const char*, int, const char*); void test(struct S *p) { int off = p->count; while (p->count >= 0) { const char *s = "xyz"; if (*p->addr) s = "pqr"; func("abcde", p->addr + off, off, s);

[Bug other/39785] LD_RUN_PATH ignored

2009-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-04-21 18:24 --- Well RPATH cannot be overridden by ld.so which is the biggest reason why it is bad. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39785

[Bug other/39785] LD_RUN_PATH ignored

2009-04-21 Thread floris dot bruynooghe at gmail dot com
--- Comment #2 from floris dot bruynooghe at gmail dot com 2009-04-21 18:23 --- Could you refer to documentation that explains what to use instead then? The manpage for ld does not say anything about --rpath being a bad way (the default behaviour of GNU ld of only adding RPATH and requ

[Bug c++/39798] would like flag to disable constructors for built-in types

2009-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2009-04-21 18:14 --- As mentioned this is just going to break more things than it can help. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug preprocessor/39818] cpp_macro_definition should preserve # and ## spelling and whitespace

2009-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-04-21 18:07 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug debug/39814] GCC does not emit debug info for a called function

2009-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-04-21 18:07 --- Oh because constant folding of asin, we remove the reference to asin so no debugging info for asin is going to be emitted because there is no call left for asin. Maybe -fbuiltins should not be enabled at -O0. --

[Bug bootstrap/39810] [melt] - revision 146327 - compiler-probe.c:106: undefined reference to `unlikely'

2009-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-04-21 18:03 --- unlikely should be a define to __builtin_expect . -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39810

[Bug middle-end/39809] emit-rtl.c:608(-> gen_rtx_REG): warning: array subscript is above array bounds

2009-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-04-21 18:02 --- This warning is correct but incorrect as this code can never be invoked unless there is a huge bug inside GCC but GCC's warning system does not know that. What version of GCC are you using to build the cross compile

[Bug tree-optimization/39806] incorrect pointer hashing in ipa-struct-reorg.c

2009-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-04-21 18:00 --- new_var_hash should be changed to use DECL_UID since we know that these are all going to be decls. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39806

[Bug c/39808] warn_unused_result fails to produce warning

2009-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-04-21 17:59 --- I think neither of these cases should be warned about since you are using it with a statement expression. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug regression/39838] [4.3/4.4/4.5 regression] unoptimal code for two simple loops

2009-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-04-21 17:56 --- This is IV-opts messing way up as far as I can tell. Pointer Plus just helped out PRE and code motion passes which confuses the hell out of IV-opts. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39838

[Bug regression/39838] New: [4.3/4.4/4.5 regression] unoptimal code for two simple loops

2009-04-21 Thread alexvod at google dot com
The following code: struct A { int count; int *data; }; void func(int, int); void test (struct A* p, const void **ptrArray, int count) { int i, j; for (i = 0; i < p->count; i++) { for (j = 0; j < count; j++) { func (p->data[i], p->data[i + 1]); } } }

[Bug c++/39778] Using DJGPP to compile CPP file and get failure

2009-04-21 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39778

[Bug middle-end/39801] Builtins are assumed not to throw exceptions, even with -fnon-call-exceptions

2009-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-04-21 17:47 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug fortran/39795] Support round-to-zero in Fortran front-end

2009-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-04-21 17:46 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug fortran/39791] [4.3 Regression] Bad Dwarf debug information from gfortran for a character string.

2009-04-21 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Keywords||wrong-debug Summary|Bad Dwarf debug information |[4.3 Regr

[Bug target/39787] ICE with #pragma GCC target

2009-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-04-21 17:42 --- Here is one reduced testcase (an seg fault); typedef double __m256d __attribute__ ((__vector_size__ (32) )); static inline __m256d __attribute__((__always_inline__)) c(){} #pragma GCC target ("no-avx") __m256d a, b;

[Bug libstdc++/39491] [4.4/4.5 regression] symbol __signb...@glibcxx_3.4 in libstdc++ not exported anymore

2009-04-21 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #9 from dave at hiauly1 dot hia dot nrc dot ca 2009-04-21 17:28 --- Subject: Re: [4.4/4.5 regression] symbol __signb...@glibcxx_3.4 in libstdc++ not exported anymore > > I believe the problem is the symbol was exported when it shouldn't have > > been. > > How? This is p

[Bug middle-end/39794] [4.4/4.5 Regression] Miscompile with -O2 -funroll-loops

2009-04-21 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2009-04-21 17:23 --- Created an attachment (id=17666) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17666&action=view) gcc44-pr39794.patch Updated patch that successfully bootstrapped/regtested on x86_64-linux on 4.4 branch. --

[Bug target/39787] ICE with #pragma GCC target

2009-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-04-21 17:22 --- It also ICEs at -O0 on the trunk: Either: t.c: In function ‘avx_routine’: t.c:11: internal compiler error: in emit_move_insn, at expr.c:3386 Please submit a full bug report, with preprocessed source if appropriate.

[Bug other/39785] LD_RUN_PATH ignored

2009-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-04-21 17:20 --- This is not a bug in GCC, this is a feature. LD_RUN_PATH/-rpath are broken really. They cannot be used for relocating libraries. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug testsuite/39776] FAIL: g++.dg/ext/altivec-15.C

2009-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-04-21 17:15 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug rtl-optimization/39836] [4.4/4.5 regression] unoptimal code generated

2009-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-04-21 17:07 --- So it is using stack space instead of r3 for something that is alive across the function call. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39836

[Bug bootstrap/38523] [4.4/4.5 regression] arm build fails to link cc1-dummy

2009-04-21 Thread laurent at guerby dot net
--- Comment #19 from laurent at guerby dot net 2009-04-21 17:05 --- I believe current binutils is very near to have this issue fixed, I'm pinging on the binutils bugzilla. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38523

[Bug testsuite/39632] Revision 145497 caused extra failures on Linux/ia64

2009-04-21 Thread sje at cup dot hp dot com
--- Comment #1 from sje at cup dot hp dot com 2009-04-21 16:58 --- There is a patch for one of the failures (no-vfa-vect-43.c at http://gcc.gnu.org/ml/gcc-patches/2009-04/msg01653.html -- sje at cup dot hp dot com changed: What|Removed |Added -

[Bug rtl-optimization/39837] [4.3/4.4/4.5 regression] unoptimal code generated

2009-04-21 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-04-21 16:49 --- mov r5, r4 add r5, r5, #8 .L2: ldr r2, [r4, #8] mov r1, r5 Wait, r4+8 is the same as r5 here so loop invariant should have used it. -- pinskia at gcc dot gnu dot org c

[Bug rtl-optimization/39837] [4.3/4.4/4.5 regression] unoptimal code generated

2009-04-21 Thread alexvod at google dot com
--- Comment #2 from alexvod at google dot com 2009-04-21 16:47 --- Created an attachment (id=17665) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17665&action=view) gcc-rev123919.regr.c.139r.loop2_invariant A dump of loop2_invariant phase from gcc rev123919 -- http://gcc.gnu.

[Bug rtl-optimization/39837] [4.3/4.4/4.5 regression] unoptimal code generated

2009-04-21 Thread alexvod at google dot com
--- Comment #1 from alexvod at google dot com 2009-04-21 16:45 --- Created an attachment (id=17664) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17664&action=view) gcc-rev123918.regr.c.139r.loop2_invariant A dump of loop2_invariant phase with gcc rev123918 -- http://gcc.gnu.

[Bug rtl-optimization/39837] New: [4.3/4.4/4.5 regression] unoptimal code generated

2009-04-21 Thread alexvod at google dot com
The following code struct Glob { int f1, f2; int x; }; extern struct Glob g; int func(int, int*, int); void test() { int a = 0; int* b = &g.x; do { a = *b; } while (func(a, b, a) != 0); } // compilation options: -march=armv5te -fpic -mthumb-interwork -mthumb -Os is compi

[Bug bootstrap/38523] [4.4/4.5 regression] arm build fails to link cc1-dummy

2009-04-21 Thread rearnsha at gcc dot gnu dot org
--- Comment #18 from rearnsha at gcc dot gnu dot org 2009-04-21 16:40 --- (In reply to comment #14) > Something like that? (untested) > > Index: configure.ac > === > --- configure.ac(revision 143046) > +++ configur

[Bug middle-end/38934] [4.3 Regression] ICE in set_value_range, at tree-vrp.c:398

2009-04-21 Thread bonzini at gnu dot org
-- bonzini at gnu dot org changed: What|Removed |Added Target Milestone|4.4.1 |4.3.4 Version|4.4.0 |4.3.3 http://gcc.gnu.

[Bug rtl-optimization/39836] [4.4/4.5 regression] unoptimal code generated

2009-04-21 Thread alexvod at google dot com
--- Comment #1 from alexvod at google dot com 2009-04-21 16:08 --- Compilation options: -march=armv5te -fpic -mthumb-interwork -Os -mthumb -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39836

[Bug middle-end/39794] [4.4/4.5 Regression] Miscompile with -O2 -funroll-loops

2009-04-21 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.0 |4.4.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39794

[Bug rtl-optimization/39762] [4.4 Regression] IRA ICE with -msoft-float

2009-04-21 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.0 |4.4.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39762

[Bug libgcj/39747] [4.5/4.5 Regression] libjavamath is linking against libgmp

2009-04-21 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.0 |4.4.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39747

[Bug middle-end/39514] [4.4/4.5 Regression] unreported change to packed bitfields

2009-04-21 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.0 |4.4.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39514

[Bug inline-asm/39543] [4.4/4.5 Regression] Reload failure on mplayer from SVN

2009-04-21 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.0 |4.4.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39543

[Bug tree-optimization/39390] [4.4/4.5 Regression] Bogus aliasing warning with std::set

2009-04-21 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.0 |4.4.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39390

[Bug tree-optimization/39355] [4.4/4.5 Regression] Revision 144529: ICE due to missing or incorrectly relocated DECL_VALUE_EXPR in PCH header for PARM_DECL

2009-04-21 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.0 |4.4.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39355

[Bug c++/39219] attribute doesn't work with enums properly

2009-04-21 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.0 |4.4.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39219

[Bug middle-end/39254] [4.4/4.5 Regression] gcc.c-torture/execute/va-arg-trap-1.c ICEs on powerpc-apple-darwin9

2009-04-21 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.0 |4.4.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39254

[Bug rtl-optimization/38603] [4.4/4.5 Regression] IRA does not accommodate LOAD_EXTEND_OP transformations done by combine

2009-04-21 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.0 |4.4.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38603

[Bug middle-end/38878] [4.4/4.5 Regression] gcc.dg/tree-ssa/foldaddr-1.c XFAILed

2009-04-21 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.0 |4.4.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38878

[Bug testsuite/38946] [4.4/4.5 Regression] gcc trunk 143562 - Testsuite - gfortran failing tests that worked previously

2009-04-21 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.0 |4.4.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38946

[Bug middle-end/38671] [4.4/4.5 Regression] extra code for setting up loops (IV-opts and 32bits vs 64bits)

2009-04-21 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.0 |4.4.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38671

[Bug target/38384] shared link/execute fails for cross gcc from linux to target hppa64-hp-hpux11.00

2009-04-21 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.0 |4.4.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38384

[Bug bootstrap/38523] [4.4/4.5 regression] arm build fails to link cc1-dummy

2009-04-21 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.0 |4.4.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38523

[Bug c++/38522] -Wconversion does not handle complex bitwise expressions

2009-04-21 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.0 |4.4.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38522

[Bug target/38306] [4.4/4.5 Regression] 15% slowdown w.r.t. 4.3 of computational kernel on some architectures

2009-04-21 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.0 |4.4.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38306

[Bug target/38293] [4.4/4.5 regression] libgfortran build failure on spu-elf

2009-04-21 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.0 |4.4.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38293

[Bug middle-end/38059] [4.4/4.5 Regression] Compile time regression for gcc.dg/20020425-1.c

2009-04-21 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.0 |4.4.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38059

[Bug target/38134] [4.4/4.5 Regression] speed regression with many loop invariants

2009-04-21 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.0 |4.4.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38134

[Bug testsuite/38036] [4.4/4.5 Regression][AVR] FAIL: gcc.c-torture/execute/pr37573.c execution

2009-04-21 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.0 |4.4.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38036

[Bug target/37942] [4.4/4.5 Regression] FAIL: gcc.c-torture/compile/930618-1.c

2009-04-21 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.0 |4.4.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37942

[Bug libfortran/37754] [4.4 Regression] READ I/O Performance regression from 4.3 to 4.4/4.5

2009-04-21 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.0 |4.4.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37754

[Bug ada/37440] [4.4/4.5 Regression] GNAT Bug Box a-ngcefu.adb:397

2009-04-21 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.0 |4.4.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37440

[Bug target/37633] [4.4/4.5 Regression] wrong register use on sh64

2009-04-21 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.0 |4.4.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37633

  1   2   >