[Bug objc/22474] Objc produces mis-match (non compatible) types in EQ_EXPR

2009-03-15 Thread ayers at gcc dot gnu dot org
--- Comment #3 from ayers at gcc dot gnu dot org 2009-03-15 07:38 --- Confirmed that this is fixed in 4.3 and the trunk. -- ayers at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/37013] gcc-4.2.1 build breaks in fortran when using --with-mpfr=

2009-03-15 Thread rob1weld at aol dot com
--- Comment #4 from rob1weld at aol dot com 2009-03-15 07:57 --- (In reply to comment #2) From ka...@gcc.gnu.org 4.2.1 is history and is completely and utterly unsupported. OK. Directory ftp://ftp.gnu.org/gnu/gcc/ says the date is 07/20/07 so it is barely over one year old. ...

[Bug target/39461] ICE in output_460, at config/rs6000/rs6000.md:11495

2009-03-15 Thread doko at ubuntu dot com
--- Comment #3 from doko at ubuntu dot com 2009-03-15 09:47 --- looks so, didn't find the ICE message before submitting. the patch in 39175 applied on the branch fixes this problem, no regressions in the testsuite. *** This bug has been marked as a duplicate of 39175 *** -- doko

[Bug target/39175] ICE while compiling qt-4.5.0-rc1

2009-03-15 Thread doko at ubuntu dot com
--- Comment #6 from doko at ubuntu dot com 2009-03-15 09:47 --- *** Bug 39461 has been marked as a duplicate of this bug. *** -- doko at ubuntu dot com changed: What|Removed |Added

[Bug c/39464] New: [4.2/4.3/4.4 Regression] Attribute may_alias causes invalid warning

2009-03-15 Thread rguenth at gcc dot gnu dot org
typedef int myint __attribute__((may_alias)); int foo(void *p) { myint *q = (int *)p; return *q; } gcc -S t.c -Wall -O2 t.c: In function ‘foo’: t.c:5: warning: pointer targets in initialization differ in signedness -- Summary: [4.2/4.3/4.4 Regression] Attribute may_alias causes

[Bug middle-end/39460] strange aliasing warnings compiling pymol under gcc 4.4

2009-03-15 Thread rguenth at gcc dot gnu dot org
--- Comment #11 from rguenth at gcc dot gnu dot org 2009-03-15 11:55 --- Huh. Weird. I can reproduce this with typedef int myint __attribute__((may_alias)); int foo(void *p) { myint *q = (int *)p; return *q; } happens since 4.0. But only for the C frontend. - PR39464. --

[Bug c/39464] [4.2/4.3/4.4 Regression] Attribute may_alias causes invalid warning

2009-03-15 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-03-15 11:55 --- Fails since GCC 4.0. Only happens with the C FE. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/39464] [4.2/4.3/4.4 Regression] Attribute may_alias causes invalid warning

2009-03-15 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-03-15 12:08 --- This is because convert_for_assignment does not know about the pointer target difference due to the may_alias attribute. Note that I think a warning is appropriate here, just the one emitted is confusing.

[Bug target/34299] [avr] ICE on function attribute syntax for main()

2009-03-15 Thread aesok at gcc dot gnu dot org
--- Comment #14 from aesok at gcc dot gnu dot org 2009-03-15 13:09 --- Subject: Bug 34299 Author: aesok Date: Sun Mar 15 13:09:44 2009 New Revision: 144870 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=144870 Log: PR target/34299 * config/avr/avr.c

[Bug target/34299] [avr] ICE on function attribute syntax for main()

2009-03-15 Thread aesok at gcc dot gnu dot org
--- Comment #15 from aesok at gcc dot gnu dot org 2009-03-15 13:14 --- Fixed. -- aesok at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug libobjc/39465] New: libobjc does not find classes of DLLs

2009-03-15 Thread gcc-bugzilla at gcc dot gnu dot org
When building a program that uses an objc library as a DLL, libobjc can't find its classes. When the program and the library are statically linked, it works. My libobjc itself is linked as a static library. Environment: System: Linux asgard.webkeks.org 2.6.28.5 #1

[Bug debug/39355] [4.4 Regression] Revision 144529 miscompiled libcpp/expr.c

2009-03-15 Thread hjl dot tools at gmail dot com
--- Comment #21 from hjl dot tools at gmail dot com 2009-03-15 17:37 --- (In reply to comment #19) I did find that the ICE doesn't occur with the following change to libcpp/expr.c: Index: expr.c === --- expr.c

[Bug debug/39355] [4.4 Regression] Revision 144529 miscompiled libcpp/expr.c

2009-03-15 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #22 from dave at hiauly1 dot hia dot nrc dot ca 2009-03-15 18:07 --- Subject: Re: [4.4 Regression] Revision 144529 miscompiled libcpp/expr.c Since revision 144529: http://gcc.gnu.org/ml/gcc-patches/2009-03/msg0.html is the cause and it is inline related, I

[Bug debug/39355] [4.4 Regression] Revision 144529 miscompiled libcpp/expr.c

2009-03-15 Thread hjl dot tools at gmail dot com
--- Comment #23 from hjl dot tools at gmail dot com 2009-03-15 18:47 --- (In reply to comment #22) Subject: Re: [4.4 Regression] Revision 144529 miscompiled libcpp/expr.c Since revision 144529: http://gcc.gnu.org/ml/gcc-patches/2009-03/msg0.html is the cause and it

[Bug debug/39355] [4.4 Regression] Revision 144529 miscompiled libcpp/expr.c

2009-03-15 Thread rguenth at gcc dot gnu dot org
--- Comment #24 from rguenth at gcc dot gnu dot org 2009-03-15 19:51 --- Well, that change cannot possibly cause a miscompilation. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39355

[Bug driver/39356] assembler isn't called

2009-03-15 Thread ktietz at gcc dot gnu dot org
--- Comment #6 from ktietz at gcc dot gnu dot org 2009-03-15 20:08 --- This bug was reasoned by duplicate existance of function __chkstk. For targets mingw/cygwin this symbol allocates and probes stack (see /gcc/config/i386/cygwin.asm). The VC variant export the same symbol name in

[Bug driver/39356] assembler isn't called

2009-03-15 Thread ktietz at gcc dot gnu dot org
--- Comment #7 from ktietz at gcc dot gnu dot org 2009-03-15 20:13 --- The following patch solves this problem and prevents the name collision for 32 and 64 bits win32 systems. ChangeLog * config/i386/i386.md (allocate_stack_worker_32): Use ___gnu_chkstk.

[Bug libfortran/39467] New: [4.4 regression] __iso_c_binding_c_f_procpoin...@gfortran_1.0 missing in libgfortran

2009-03-15 Thread doko at ubuntu dot com
The shared library libgfortran.so.3 in 4.3.x has the __iso_c_binding_c_f_procpoin...@gfortran_1.0 symbol exported. This symbol is missing in 4.4.0 20090315. -- Summary: [4.4 regression] __iso_c_binding_c_f_procpoin...@gfortran_1.0 missing

[Bug c++/39466] frepo relinking causes error - object in .o but not in .rpo or vice versa

2009-03-15 Thread spojenie at o2 dot pl
--- Comment #1 from spojenie at o2 dot pl 2009-03-15 21:04 --- Created an attachment (id=17466) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17466action=view) The .ii file generated from hairy templates that seem to cause the problem --

[Bug libfortran/39467] [4.4 regression] __iso_c_binding_c_f_procpoin...@gfortran_1.0 missing in libgfortran

2009-03-15 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2009-03-15 21:12 --- *** This bug has been marked as a duplicate of 38871 *** -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug libfortran/38871] [4.4 Regression] libgfortran.so.3 dropped __iso_c_binding_c_f_procpointer@@GFORTRAN_1.0

2009-03-15 Thread hjl dot tools at gmail dot com
--- Comment #13 from hjl dot tools at gmail dot com 2009-03-15 21:12 --- *** Bug 39467 has been marked as a duplicate of this bug. *** -- hjl dot tools at gmail dot com changed: What|Removed |Added

Re: [Bug libfortran/39467] New: [4.4 regression] __iso_c_binding_c_f_procpoin...@gfortran_1.0 missing in libgfortran

2009-03-15 Thread Andrew Thomas Pinski
Sent from my iPhone On Mar 15, 2009, at 2:02 PM, doko at ubuntu dot com gcc-bugzi...@gcc.gnu.org wrote: The shared library libgfortran.so.3 in 4.3.x has the __iso_c_binding_c_f_procpoin...@gfortran_1.0 symbol exported. This symbol is missing in 4.4.0 20090315. I think this symbol

[Bug libfortran/39467] [4.4 regression] __iso_c_binding_c_f_procpoin...@gfortran_1.0 missing in libgfortran

2009-03-15 Thread pinskia at gmail dot com
: The shared library libgfortran.so.3 in 4.3.x has the __iso_c_binding_c_f_procpoin...@gfortran_1.0 symbol exported. This symbol is missing in 4.4.0 20090315. I think this symbol was never used (from the fortran front-end) so removing is ok. Also I think there is a duplicated bug about

[Bug tree-optimization/39468] New: Constant propagation in a number of tree passes does not take into account machine costs.

2009-03-15 Thread ramana dot r at gmail dot com
As reported at the thread in http://gcc.gnu.org/ml/gcc/2009-03/msg00369.html Using 4.4.0 gcc, I compiled a function and found it a tad long. The command line is: gcc -Os -mcpu=arm7tdmi-s -S func.c although the output is pretty much the same with -O2 or -O3 as well (only a few instructions

[Bug tree-optimization/39468] Constant propagation in a number of tree passes does not take into account machine costs.

2009-03-15 Thread ramana dot r at gmail dot com
--- Comment #1 from ramana dot r at gmail dot com 2009-03-15 22:20 --- I took a look at this for some time on Friday and I found that the conditional constant propagation pass has pushed down the value (tree-ssa-ccp.c). This is done by the CCP pass up in the optimization pipeline

[Bug tree-optimization/39468] Constant propagation in a number of tree passes does not take into account machine costs.

2009-03-15 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-03-15 22:25 --- Trying to deal with this on the tree level will certainly be the wrong thing. A target dependent pass should instead try to re-materialize code to generate constants from existing ones. -- rguenth at gcc dot

[Bug c/39469] New: Calculated values replaced with constants even if he constants cost more than the calculations

2009-03-15 Thread zoltan at bendor dot com dot au
On ARM target when the compiler can deduce that the result of a calculation is a constant, it always substitutes the calculation with the constant, even if loading the constant is more expensive (both in code size and execution time) than the actual calculation. I attach a file that contains two

[Bug c/39469] Calculated values replaced with constants even if he constants cost more than the calculations

2009-03-15 Thread zoltan at bendor dot com dot au
--- Comment #1 from zoltan at bendor dot com dot au 2009-03-15 22:51 --- Created an attachment (id=17467) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17467action=view) Demonstrates the constant loading cost problem -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39469

[Bug bootstrap/39470] New: [melt] - lrand48_r() and srand48_r() are GNU extensions and are not portable

2009-03-15 Thread rob1weld at aol dot com
The files ../melt-branch/gcc/compiler-probe.c and ../melt-branch/gcc/basilys.c both use the GNU extensions lrand48_r() and srand48_r() and are not portable. srand48_r(3) - Linux man page http://linux.die.net/man/3/srand48_r or The GNU C Library

[Bug tree-optimization/39468] Constant propagation in a number of tree passes does not take into account machine costs.

2009-03-15 Thread zoltan at bendor dot com dot au
--- Comment #4 from zoltan at bendor dot com dot au 2009-03-15 23:21 --- Subject: Re: Constant propagation in a number of tree passes does not take into account machine costs. I have also filed a bug report, 39469, with a much simpler and clearer test code. Maybe the two should be

[Bug rtl-optimization/30065] Could use indexed addressing to reduce const costs

2009-03-15 Thread steven at gcc dot gnu dot org
--- Comment #3 from steven at gcc dot gnu dot org 2009-03-15 23:35 --- Is there a test case for this PR? -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/39469] Calculated values replaced with constants even if the constants cost more than the calculations

2009-03-15 Thread steven at gcc dot gnu dot org
-- steven at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug c/39469] Calculated values replaced with constants even if the constants cost more than the calculations

2009-03-15 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2009-03-15 23:43 --- *** Bug 39468 has been marked as a duplicate of this bug. *** -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/39468] Constant propagation in a number of tree passes does not take into account machine costs.

2009-03-15 Thread steven at gcc dot gnu dot org
--- Comment #5 from steven at gcc dot gnu dot org 2009-03-15 23:43 --- *** This bug has been marked as a duplicate of 39469 *** -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/39469] Calculated values replaced with constants even if the constants cost more than the calculations

2009-03-15 Thread steven at gcc dot gnu dot org
--- Comment #3 from steven at gcc dot gnu dot org 2009-03-15 23:45 --- Related to Bug PR20211, too. It's all the same problem, basically: Undoing constant propagation and discovering how to re-create constant values using cheap arithmetic on live values in registers... --

[Bug driver/39356] assembler isn't called

2009-03-15 Thread dannysmith at users dot sourceforge dot net
--- Comment #8 from dannysmith at users dot sourceforge dot net 2009-03-16 02:13 --- (In reply to comment #7) The following patch solves this problem and prevents the name collision for 32 and 64 bits win32 systems. ChangeLog * config/i386/i386.md