Re: [PATCH] linux/fs.h - Convert debug functions declared inline __attribute__((format (printf,x,y) to statement expression macros

2008-02-28 Thread David Rientjes
On Thu, 28 Feb 2008, Jan Hubicka wrote: -static inline void __attribute__((format(printf, 1, 2))) -__simple_attr_check_format(const char *fmt, ...) It would be nice to have a testcase, but I guess it is because GCC can't inline variadic functions. The function gets identified as const

How to rebuild GCC?

2008-02-28 Thread Jaishri
Hi, I am beginner in GCC. I want to make few changes in source code. What are the steps that I need to do to get the changes in effect and to test the changes? Any help is appreciated. Thanks and Regards Jaishri

Re: [PATCH] linux/fs.h - Convert debug functions declared inline __attribute__((format (printf,x,y) to statement expression macros

2008-02-28 Thread Jakub Jelinek
On Thu, Feb 28, 2008 at 12:58:35AM +0100, Jan Hubicka wrote: We probably also can simply allow inlining variadic functions not calling va_start. I must say that this option appeared to me but I was unable to think of any sane use case. This probably is one ;) We already allow inlining

Re: How to rebuild GCC?

2008-02-28 Thread Emmanuel Fleury
Jaishri wrote: Hi, I am beginner in GCC. I want to make few changes in source code. What are the steps that I need to do to get the changes in effect and to test the changes? Any help is appreciated. I'm also a beginner, so I'll try my best but I cannot ensure you that my 'howto' is error

Re: [PATCH] linux/fs.h - Convert debug functions declared inline __attribute__((format (printf,x,y) to statement expression macros

2008-02-28 Thread Jan Hubicka
On Thu, Feb 28, 2008 at 12:58:35AM +0100, Jan Hubicka wrote: We probably also can simply allow inlining variadic functions not calling va_start. I must say that this option appeared to me but I was unable to think of any sane use case. This probably is one ;) We already allow inlining

Re: birthpoints in rtl.

2008-02-28 Thread Kenneth Zadeck
Jeff, Thanks for the quick response. As it turns out, the libcall issue will soon be gone, as bonzini will be deleting them. We have finally overcome that issue. The subregs are clearly going to be the issue, and before i dive into it i want to understand what it means to do a merge a bunch

Re: birthpoints in rtl.

2008-02-28 Thread Paolo Bonzini
Thanks for the quick response. As it turns out, the libcall issue will soon be gone, as bonzini will be deleting them. We have finally overcome that issue. Not really. There seems always to be something that prevents them from being deleted, and I have no time to spend on GCC at work

Re: birthpoints in rtl.

2008-02-28 Thread Jan Hubicka
Hi, as discussed briefly on IRC yesterday, I would be very happy to see current DU/UD infrastructure changed to FUD chains (or on side SSA form). This way it will be more symmetric to how tree level virtual operands are handled and will hopefully make whole compiler more standard and easier to

Failure to build GCC 4.2.2 for the gnuspe target

2008-02-28 Thread Sergei Poselenov
Hello all, I've tried to build gcc-4.2.2 cross to E500 target, configured with --target=powerpc-linux-gnuspe --disable-multilib --with-newlib --with-cpu=8540 --enable-cxx-flags=-mcpu=8540 --enable-e500_double but failed with the following message: ... In file included from

Re: birthpoints in rtl.

2008-02-28 Thread Andrew MacLeod
Kenneth Zadeck wrote: Birthpoints are not nearly as useful as phi-functions because the algorithms that use birthpoints do not generally leave the birthpoints in the right places when they are finished. There is a lot of value added by the operand of phi-functions. But they do solve the n**2

Re: plugin includes for MELT

2008-02-28 Thread Ralf Wildenhues
Hello Basile, A mere quick portability review: * Basile STARYNKEVITCH wrote on Thu, Feb 28, 2008 at 05:39:47PM CET: compile-basilys-defs: echo '#generated compile-basilys-defs' $@ echo 'ALL_CFLAGS=' $(ALL_CFLAGS) '' $@ echo 'ALL_CPPFLAGS=' -I$(PWD) $(ALL_CPPFLAGS) ''

Re: plugin includes for MELT

2008-02-28 Thread Basile STARYNKEVITCH
Ralf Wildenhues wrote: Hello Basile, A mere quick portability review: A big thanks * Basile STARYNKEVITCH wrote on Thu, Feb 28, 2008 at 05:39:47PM CET: compile-basilys-defs: echo '#generated compile-basilys-defs' $@ echo 'ALL_CFLAGS=' $(ALL_CFLAGS) '' $@ echo

RE: New GCC ICI v0.9.5 (bug fixes + new examples)

2008-02-28 Thread Grigori Fursin
Hi Taras, Thank you for your message! Our main work (GCC-ICI) is slightly orthogonal to plugins - our main goal at the moment is to improve or automatically tune optimization heuristic for evolving systems. However, naturally we implemented it as a plugin system and we would be happy to have a

Re: Failure to build GCC 4.2.2 for the gnuspe target

2008-02-28 Thread Joseph S. Myers
On Thu, 28 Feb 2008, Sergei Poselenov wrote: Gcc 4.2.2 release sources are patched with the Joseph S. Myers patch for E500 long double support http://gcc.gnu.org/ml/gcc-patches/2006-12/msg01388.html There are a lot of preliminary patches and followups to them and to this main patch that are

Re: plugin includes for MELT

2008-02-28 Thread Basile STARYNKEVITCH
Basile STARYNKEVITCH wrote: Ralf Wildenhues wrote: Hello Basile, A mere quick portability review: A big thanks Commited into MELT branch rev 132754. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basileatstarynkevitchdotnet mobile: +33 6 8501 2359 8, rue de la

Re: birthpoints in rtl.

2008-02-28 Thread Joern Rennecke
My real point in starting this discussion was to try to interest (sucker) one of the subreg specialists into helping me solve the issue of inserting move at the birthpoint where subregs or strict lower values are used. I don't see your problem here. Any use (as in reading) of a subreg can

Re: bootstrap failure on i686

2008-02-28 Thread Benjamin Kosnik
last 24 hrs I get this: make[2]: Entering directory `/mnt/share/bld/gcc' make[3]: Entering directory `/mnt/share/bld/gcc' rm -f stage_current make[3]: Leaving directory `/mnt/share/bld/gcc' Comparing stages 2 and 3 warning: ./cc1-checksum.o differs warning: ./cc1plus-checksum.o differs

Re: plugin includes for MELT

2008-02-28 Thread Tom Tromey
Ralf == Ralf Wildenhues [EMAIL PROTECTED] writes: [snip] Ralf Wasn't there a proposal to use depcomp in gcc a while ago? Yes. I'm planning to submit the automatic dependencies patch for real in a week or two. I'm working through my backlog of 4.4 patches and that is the last one. Tom

Re: birthpoints in rtl.

2008-02-28 Thread Steven Bosscher
On Thu, Feb 28, 2008 at 2:32 PM, Paolo Bonzini [EMAIL PROTECTED] wrote: Thanks for the quick response. As it turns out, the libcall issue will soon be gone, as bonzini will be deleting them. We have finally overcome that issue. Not really. There seems always to be something that

Re: birthpoints in rtl.

2008-02-28 Thread Kenneth Zadeck
Steven Bosscher wrote: On Thu, Feb 28, 2008 at 2:32 PM, Paolo Bonzini [EMAIL PROTECTED] wrote: Thanks for the quick response. As it turns out, the libcall issue will soon be gone, as bonzini will be deleting them. We have finally overcome that issue. Not really. There seems

Re: birthpoints in rtl.

2008-02-28 Thread Ian Lance Taylor
Steven Bosscher [EMAIL PROTECTED] writes: On Thu, Feb 28, 2008 at 2:32 PM, Paolo Bonzini [EMAIL PROTECTED] wrote: Thanks for the quick response. As it turns out, the libcall issue will soon be gone, as bonzini will be deleting them. We have finally overcome that issue. Not

Re: birthpoints in rtl.

2008-02-28 Thread Steven Bosscher
On 28 Feb 2008 12:41:30 -0800, Ian Lance Taylor [EMAIL PROTECTED] wrote: libcalls are still used for no-conflict blocks. This may be what you mean by the scheduling thing. No-conflict blocks are emitted by emit_no_conflict_block and checked in local-alloc. I thought the no-conflict blocks

Re: How to rebuild GCC?

2008-02-28 Thread Martin Jambor
On Thu, Feb 28, 2008 at 02:02:26PM +0530, Jaishri wrote: Hi, I am beginner in GCC. I want to make few changes in source code. What are the steps that I need to do to get the changes in effect and to test the changes? Any help is appreciated. It's all on the web and wiki. Configuring and

Re: birthpoints in rtl.

2008-02-28 Thread Ian Lance Taylor
Steven Bosscher [EMAIL PROTECTED] writes: On 28 Feb 2008 12:41:30 -0800, Ian Lance Taylor [EMAIL PROTECTED] wrote: libcalls are still used for no-conflict blocks. This may be what you mean by the scheduling thing. No-conflict blocks are emitted by emit_no_conflict_block and checked in

GCC loop optimizations

2008-02-28 Thread linuxkaffee
Hi, I'd like to know your experiences with the gcc loop optimizations. What loop optimizations (in your opinion) can be applied to a large number of programs and yield a (significant) improvement of the program run-time? I've tested the gcc compiler optimization loop unswitching (introduced in

Re: [PATCH] linux/fs.h - Convert debug functions declared inline __attribute__((format (printf,x,y) to statement expression macros

2008-02-28 Thread Joe Perches
On Thu, 2008-02-28 at 11:23 +0100, Jan Hubicka wrote: The call ought to be always early inlined and not seen by any optimization pass. The inlined functions don't actually appear in the generated code. Look at the code generation differences for kernel/sched.c function place_entity $ size

Successfull build of gcc 4.2.3 with MinGW 5.13 in windows XP

2008-02-28 Thread dju
platform : microsoft windowsXP(32) sp2 intel core duo i managed to build gcc-4.2.3 using MinGW-5.1.3 candidate with gcc 3.4.5 and binutils-2.17.50 in MSYS-1.0.10 ../../src/gcc-4.2.3/configure --prefix=/mingw --target=i686-pc-mingw32 --program-prefix= --with-as=/mingw/bin/as.exe

[Bug c++/35387] __PRETTY_FUNCTION__ produces inconsistent output

2008-02-28 Thread d dot frey at gmx dot de
--- Comment #6 from d dot frey at gmx dot de 2008-02-28 08:14 --- I looked at bug #99, but I am unsure whether this bug is really a dup of it. #99 is about overloads and occurs with user types, while this bug is about partial template specializations and occurs only with certain types

[Bug target/35295] 64-bit host cross compile to 32-bit target differs from 32-bit host cross compile to 32-bit target

2008-02-28 Thread benny at ammitzboell-consult dot dk
--- Comment #12 from benny at ammitzboell-consult dot dk 2008-02-28 08:18 --- We have now tried the 4.2.3 version of gcc and it generates the same assembler code (objdump -d) for the example here on both the 32-bit and the 64-bit host. The RTL is still different though, so it seems

[Bug c++/35397] New: Problem handling denormalized numbers under AIX

2008-02-28 Thread efernandez at physiomics-plc dot com
I face a problem when trying to convert string to double numbers, when the string represents a denormalized number. I use g++ 4.2.2 on powerpc-ibm-aix5.3.0.0. Example: - #include vector #include sstream #include iostream int main() { std::stringstream stream(5.6 0 0.205867 1.0809

[Bug rtl-optimization/34999] Fallthru crossing edges in partition_hot_cold_basic_blocks are not been fixed when the section ends with call insn

2008-02-28 Thread ubizjak at gmail dot com
--- Comment #4 from ubizjak at gmail dot com 2008-02-28 09:47 --- Test case fails on x86_64: Running target unix FAIL: gcc.dg/tree-prof/pr34999.c compilation, -fprofile-use -D_PROFILE_USE UNRESOLVED: gcc.dg/tree-prof/pr34999.c execution,-fprofile-use -D_PROFILE_USE

[Bug testsuite/31341] testsuite pr31041.c fails conflicting with stdint.h

2008-02-28 Thread victork at gcc dot gnu dot org
--- Comment #3 from victork at gcc dot gnu dot org 2008-02-28 09:48 --- I have no installed cygwin, could you check if this patch fixes the failure? Index: gcc/testsuite/gcc.dg/vect/pr31041.c === ---

[Bug fortran/35395] Invalid-accepted - public entity with private type should be diagnosed

2008-02-28 Thread fxcoudert at gcc dot gnu dot org
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2008-02-28 10:12 --- Confirmed on i686-apple-darwin8.10.1 with mainline. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/35381] Misleading error message with derived types: Exponent at (1) must be INTEGER for an initialization expression

2008-02-28 Thread fxcoudert at gcc dot gnu dot org
--- Comment #5 from fxcoudert at gcc dot gnu dot org 2008-02-28 10:10 --- Marking the bug as FIXED in 4.3.0 and later. Thanks for the bug report! -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/35381] Misleading error message with derived types: Exponent at (1) must be INTEGER for an initialization expression

2008-02-28 Thread thomas dot orgis at awi dot de
--- Comment #6 from thomas dot orgis at awi dot de 2008-02-28 10:40 --- Eh... one question: Does the fix in 4.3 just make the initialization with REAL exponent work (Fortran 2003, AFAIK) or does it also fix the error message when working in strict Fortran 95 mode (hm, I suppose there is

[Bug fortran/34868] ICE with -ff2c for function returning a complex number

2008-02-28 Thread fxcoudert at gcc dot gnu dot org
--- Comment #9 from fxcoudert at gcc dot gnu dot org 2008-02-28 10:42 --- (In reply to comment #8) There's more to it... using the result syntax for the function makes it fail even with my patch That's because the result symbol is not marked with attr.always_explicit, only the

[Bug testsuite/35382] Invalid gcc.dg/pr34351.c

2008-02-28 Thread ubizjak at gmail dot com
--- Comment #5 from ubizjak at gmail dot com 2008-02-28 09:55 --- (In reply to comment #3) I can only test in x86_64-unknown-linux-gnu. make -k check RUNTESTFLAGS=--target_board=unix/-m32 will run the testsuite in 32bit mode. BTW: make -j2 -k check

[Bug target/25477] builtin functions should use $LDBL128 suffix on darwin when appropriate

2008-02-28 Thread ubizjak at gmail dot com
--- Comment #65 from ubizjak at gmail dot com 2008-02-28 11:29 --- (In reply to comment #62) The first situation was clearly better, but I was at work when Dominique emailed my after my first commit, saying the new testcase FAILed, and I got confused. I think I'll revert to the old

[Bug c++/35398] New: unable to take address of template function

2008-02-28 Thread joerg dot richter at pdv-fs dot de
templateint void foo() {} void test() { foo1(); // (1) void (*func)() = foo1; // (2) foo1;// (3) void* d = (void*)foo1; // (4) } (1) and (2) are OK. (3) fails with: error: statement cannot resolve address of overloaded function

[Bug target/33963] [4.3/4.4 Regression] Dllimport attribute wrongly accepted on typedefs

2008-02-28 Thread jsm28 at gcc dot gnu dot org
--- Comment #2 from jsm28 at gcc dot gnu dot org 2008-02-28 12:35 --- Subject: Bug 33963 Author: jsm28 Date: Thu Feb 28 12:34:51 2008 New Revision: 132744 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=132744 Log: PR target/33963 * tree.c (handle_dll_attribute):

[Bug c++/11357] [DR 425] no conversion of build-in binary operator argument attempted

2008-02-28 Thread d dot frey at gmx dot de
--- Comment #20 from d dot frey at gmx dot de 2008-02-28 12:42 --- According to DR 425's proposed resolution, GCC is already doing the right thing, so I'm closing this bug report. -- d dot frey at gmx dot de changed: What|Removed |Added

[Bug fortran/34956] -fbounds-check: bounds_check_9.f90: Use of uninitialized memory

2008-02-28 Thread fxcoudert at gcc dot gnu dot org
--- Comment #1 from fxcoudert at gcc dot gnu dot org 2008-02-28 12:51 --- Reduced testcase: $ cat bounds_check_9.f90 program main call sub() contains subroutine set_optional(iopt) integer, optional :: iopt(:) end subroutine set_optional subroutine sub(ivec) integer,

[Bug rtl-optimization/34999] Fallthru crossing edges in partition_hot_cold_basic_blocks are not been fixed when the section ends with call insn

2008-02-28 Thread eres at il dot ibm dot com
--- Comment #5 from eres at il dot ibm dot com 2008-02-28 13:00 --- I can not reproduce this fail on my local x86_64-unknown-linux-gnu machine: PASS: gcc.dg/tree-prof/pr34999.c compilation, -fprofile-use -D_PROFILE_USE PASS: gcc.dg/tree-prof/pr34999.c execution,-fprofile-use

[Bug rtl-optimization/34999] Fallthru crossing edges in partition_hot_cold_basic_blocks are not been fixed when the section ends with call insn

2008-02-28 Thread ubizjak at gmail dot com
--- Comment #6 from ubizjak at gmail dot com 2008-02-28 13:26 --- (In reply to comment #5) I can not reproduce this fail on my local x86_64-unknown-linux-gnu machine: PASS: gcc.dg/tree-prof/pr34999.c compilation, -fprofile-use -D_PROFILE_USE PASS: gcc.dg/tree-prof/pr34999.c

[Bug rtl-optimization/34999] Fallthru crossing edges in partition_hot_cold_basic_blocks are not been fixed when the section ends with call insn

2008-02-28 Thread eres at il dot ibm dot com
--- Comment #7 from eres at il dot ibm dot com 2008-02-28 13:49 --- (In reply to comment #6) (In reply to comment #5) I appreciate any info on this ICE so I could try to fix it. Sometimes --enable-checking=release triggers bugs that are hidden by other --enable-checking settings.

[Bug target/25477] builtin functions should use $LDBL128 suffix on darwin when appropriate

2008-02-28 Thread howarth at nitro dot med dot uc dot edu
--- Comment #66 from howarth at nitro dot med dot uc dot edu 2008-02-28 14:39 --- I find that... ! { dg-xfail-if { *-*-freebsd* } { * } { } } ! { dg-xfail-if apple libc problems { powerpc*-apple-darwin* } {* } {-O0} } in gfortran.dg/large_real_kind_3.F90, still produces... FAIL:

[Bug target/25477] builtin functions should use $LDBL128 suffix on darwin when appropriate

2008-02-28 Thread ubizjak at gmail dot com
--- Comment #67 from ubizjak at gmail dot com 2008-02-28 14:54 --- (In reply to comment #66) in gfortran.dg/large_real_kind_3.F90, still produces... It should be in reverse: ! { dg-xfail-if libc bug { powerpc*-apple-darwin* } { -O0 } { } } -

[Bug fortran/34868] ICE with -ff2c for function returning a complex number

2008-02-28 Thread fxcoudert at gcc dot gnu dot org
--- Comment #10 from fxcoudert at gcc dot gnu dot org 2008-02-28 15:43 --- Subject: Bug 34868 Author: fxcoudert Date: Thu Feb 28 15:42:21 2008 New Revision: 132751 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=132751 Log: PR fortran/34868 * trans-expr.c

[Bug fortran/34868] ICE with -ff2c for function returning a complex number

2008-02-28 Thread fxcoudert at gcc dot gnu dot org
--- Comment #11 from fxcoudert at gcc dot gnu dot org 2008-02-28 15:44 --- Fixed on mainline. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/34955] transfer_assumed_size_1.f90: Valgrind error: invalid read of size 3

2008-02-28 Thread fxcoudert at gcc dot gnu dot org
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2008-02-28 16:01 --- Tobias, what target and options are you compiling with? I can't reproduce this on x86_64-linux... -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/34043] Missed optimization causing extra loads and stores when using x86_64 builtin function together with aggregate types.

2008-02-28 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot |dot org

[Bug middle-end/33989] Extra load/store for float with union

2008-02-28 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-02-28 16:47 --- With the patch proposed for PR34043 we get f: .LFB2: addss (%rdi), %xmm0 movd%xmm0, (%rsi) ret instead of f: .LFB2: addss (%rdi), %xmm0 movss %xmm0, -4(%rsp)

[Bug c++/35398] unable to take address of template function

2008-02-28 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-02-28 16:47 --- *** This bug has been marked as a duplicate of 11407 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/11407] [DR 115] Function cannot be resolved

2008-02-28 Thread pinskia at gcc dot gnu dot org
--- Comment #12 from pinskia at gcc dot gnu dot org 2008-02-28 16:47 --- *** Bug 35398 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/35397] Problem handling denormalized numbers under AIX

2008-02-28 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|major |normal Component|c++ |target

[Bug testsuite/31341] testsuite pr31041.c fails conflicting with stdint.h

2008-02-28 Thread tprince at computer dot org
--- Comment #4 from tprince at computer dot org 2008-02-28 17:05 --- With Victor's patch on SVN: trunk revision 132553 version 4.4.0 20080222: PASS: gcc.dg/vect/pr31041.c (test for excess errors) -- tprince at computer dot org changed: What|Removed

[Bug target/35373] [4.4 Regression] bootstraping on powerpc-apple-darwin9 fails with revision 132578

2008-02-28 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |blocker GCC build triplet|powerpc-apple-darwin9 | GCC host

[Bug c++/35380] ICE with attribute 'aligned' in template parameter

2008-02-28 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-02-28 17:10 --- With the trunk, I get the following: t.cc: In function 'int main()': t.cc:9: warning: ignoring attributes applied to class type 'Foo' outside of definition -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35380

[Bug c++/99] Bug in template type in error message.

2008-02-28 Thread pinskia at gcc dot gnu dot org
--- Comment #16 from pinskia at gcc dot gnu dot org 2008-02-28 17:07 --- *** Bug 35387 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/35387] __PRETTY_FUNCTION__ produces inconsistent output

2008-02-28 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2008-02-28 17:07 --- No, bug 99 has specialization too: templateunsigned int n, unsigned int m double ch(dummyn, dummym); templateunsigned int n double ch(dummyn, dummy0); templateunsigned int m double ch(dummy0, dummym);

[Bug fortran/33197] Fortran 2008: gamma() and other small changes

2008-02-28 Thread fxcoudert at gcc dot gnu dot org
--- Comment #7 from fxcoudert at gcc dot gnu dot org 2008-02-28 17:57 --- One more remark: checking of intrinsics and compliance to the -std option specified is lacking, and this is a generic issue of gfortran. Maybe there's a PR open about it? --

[Bug rtl-optimization/34999] Fallthru crossing edges in partition_hot_cold_basic_blocks are not been fixed when the section ends with call insn

2008-02-28 Thread ubizjak at gmail dot com
--- Comment #8 from ubizjak at gmail dot com 2008-02-28 18:34 --- (In reply to comment #7) Thanks, unfortunately I still can not reproduce the fail. Probably you need newer binutils: GNU ld (GNU Binutils) 2.18 Executing on host: /home/uros/gcc-build/gcc/xgcc

[Bug rtl-optimization/34999] Fallthru crossing edges in partition_hot_cold_basic_blocks are not been fixed when the section ends with call insn

2008-02-28 Thread ubizjak at gmail dot com
--- Comment #9 from ubizjak at gmail dot com 2008-02-28 19:12 --- Created an attachment (id=15241) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15241action=view) asm that crashes linker gcc pr34999.s

[Bug target/35399] New: [4.3 regression] bootstrap error, ICE in free_list, at lists.c:52

2008-02-28 Thread debian-gcc at lists dot debian dot org
gcc is configured with: --with-pkgversion='Debian 4.3-20080227-1' --with-bugurl='file:///usr/share/doc/gcc-4.3/README.Bugs' --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext

[Bug middle-end/35400] New: [4.4 regression] -Wtype-limits -O2 causes ICE tree check: expected ssa_name, have addr_expr in get_value_range, at tree-vrp.c:469

2008-02-28 Thread gerald at pfeifer dot com
This is a regression probably introduced roughly three or four days ago, unless it's due to a change in the codebase I'm building (which is Wine): ...gcc -Wtype-limits -O2 action.i action.c: In function 'move_files_wildcard': action.c:5232: internal compiler error: tree check: expected ssa_name,

[Bug fortran/33950] Warning missing for function result not set

2008-02-28 Thread dfranke at gcc dot gnu dot org
--- Comment #2 from dfranke at gcc dot gnu dot org 2008-02-28 20:23 --- Subject: Bug 33950 Author: dfranke Date: Thu Feb 28 20:22:55 2008 New Revision: 132756 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=132756 Log: gcc/fortran: 2008-02-28 Daniel Franke [EMAIL PROTECTED]

[Bug fortran/31463] [patch] inconsistent warnings if function return value is not set

2008-02-28 Thread dfranke at gcc dot gnu dot org
--- Comment #6 from dfranke at gcc dot gnu dot org 2008-02-28 20:23 --- Subject: Bug 31463 Author: dfranke Date: Thu Feb 28 20:22:55 2008 New Revision: 132756 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=132756 Log: gcc/fortran: 2008-02-28 Daniel Franke [EMAIL PROTECTED]

[Bug fortran/34296] Intent(out) and character functions with RESULT: Value-not-set warning

2008-02-28 Thread dfranke at gcc dot gnu dot org
--- Comment #3 from dfranke at gcc dot gnu dot org 2008-02-28 20:23 --- Subject: Bug 34296 Author: dfranke Date: Thu Feb 28 20:22:55 2008 New Revision: 132756 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=132756 Log: gcc/fortran: 2008-02-28 Daniel Franke [EMAIL PROTECTED]

[Bug fortran/31463] [patch] inconsistent warnings if function return value is not set

2008-02-28 Thread dfranke at gcc dot gnu dot org
--- Comment #7 from dfranke at gcc dot gnu dot org 2008-02-28 20:25 --- Fixed in trunk. Closing. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/35400] [4.4 regression] -Wtype-limits -O2 causes ICE tree check: expected ssa_name, have addr_expr in get_value_range, at tree-vrp.c:469

2008-02-28 Thread gerald at pfeifer dot com
--- Comment #1 from gerald at pfeifer dot com 2008-02-28 20:25 --- Created an attachment (id=15242) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15242action=view) Testcase to reproduce -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35400

[Bug fortran/33950] Warning missing for function result not set

2008-02-28 Thread dfranke at gcc dot gnu dot org
--- Comment #3 from dfranke at gcc dot gnu dot org 2008-02-28 20:25 --- Fixed in trunk. Closing. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/34296] Intent(out) and character functions with RESULT: Value-not-set warning

2008-02-28 Thread dfranke at gcc dot gnu dot org
--- Comment #4 from dfranke at gcc dot gnu dot org 2008-02-28 20:27 --- Both issues fixed in trunk. Closing. [The second issue, INTENT(out) not set, was already fixed earlier.] -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/33950] Warning missing for function result not set

2008-02-28 Thread dfranke at gcc dot gnu dot org
-- dfranke at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33950

[Bug middle-end/35400] [4.4 Regression] -Wtype-limits -O2 causes ICE tree check: expected ssa_name, have addr_expr in get_value_range, at tree-vrp.c:469

2008-02-28 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Keywords||ice-on-valid-code Summary|[4.4 regression] -Wtype-

[Bug c++/35401] New: libstdc++ linked to system /usr/lib/libgcc_s.1.dylib not new gcc4.3 libgcc_s.1.dylib

2008-02-28 Thread agn at noc dot soton dot ac dot uk
I installed gcc4.3 20080221 onto an intel mac, core 2 duo, os x10.5.2 using macports The configure arguments (with prefix = /opt/local) are: 47 configure.args --enable-languages=c,c++,objc,obj-c++ \ 48 --libdir=${prefix}/lib/${name} \ 49

[Bug testsuite/31341] testsuite pr31041.c fails conflicting with stdint.h

2008-02-28 Thread tprince at computer dot org
--- Comment #5 from tprince at computer dot org 2008-02-28 21:07 --- (In reply to comment #3) I have no installed cygwin, could you check if this patch fixes the failure? Index: gcc/testsuite/gcc.dg/vect/pr31041.c

[Bug tree-optimization/35402] New: Store CCP will not inline static const variable which is default initialized

2008-02-28 Thread pinskia at gcc dot gnu dot org
Testcase: /* { dg-do compile } */ /* { dg-options -O2 -fdump-tree-optimized } */ static const int conststaticvariable; int f(void) { return conststaticvariable; } /* There should be no reference to conststaticvariable as we should have inlined the 0. */ /* { dg-final { scan-tree-dump-times

[Bug tree-optimization/35402] Store CCP will not inline static const variable which is default initialized

2008-02-28 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-02-28 22:08 --- Mine. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/35402] Store CCP will not inline static const variable which is default initialized

2008-02-28 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-02-28 22:26 --- /* { dg-final { scan-tree-dump-times conststaticvariable o optimized} } */ that should be: /* { dg-final { scan-tree-dump-times conststaticvariable 0 optimized} } */ :) --

[Bug tree-optimization/35403] New: ipa-reference.c does not change a default initialized static variable to be readonly

2008-02-28 Thread pinskia at gcc dot gnu dot org
Testcase: /* { dg-do compile } */ /* { dg-options -O2 -fdump-tree-optimized } */ static int conststaticvariable; int f(void) { return conststaticvariable; } /* There should be no reference to conststaticvariable as we should have inlined the 0 as IPA reference should have marked the

[Bug tree-optimization/35402] Store CCP will not inline static const variable which is default initialized

2008-02-28 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |enhancement http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35402

[Bug tree-optimization/35403] ipa-reference.c does not change a default initialized static variable to be readonly

2008-02-28 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-02-28 22:26 --- Mine. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/35404] New: ra-conflict does not handle subregs optimally

2008-02-28 Thread ian at airs dot com
I'm reporting this as an enhancement request to record a case where libcalls are still used in the compiler. Consider this test case: extern long long bar(); long long foo () { return bar () | bar (); } Compile it with -O2 -fno-wide-types. I'm using -fno-wide-types to permit using a simple

[Bug rtl-optimization/35404] ra-conflict does not handle subregs optimally

2008-02-28 Thread ian at airs dot com
--- Comment #1 from ian at airs dot com 2008-02-28 22:59 --- Created an attachment (id=15244) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15244action=view) Old patch for this issue -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35404

[Bug fortran/35009] error on valid with -std=f95 (character arrays in format tags)

2008-02-28 Thread fxcoudert at gcc dot gnu dot org
--- Comment #7 from fxcoudert at gcc dot gnu dot org 2008-02-28 23:08 --- (In reply to comment #6) I knew I was missing something :) I try again... this time, with less ambition, just fix the case at hand... this should not break anything (but... I can't regtest right now). Index:

[Bug middle-end/35400] [4.4 Regression] -Wtype-limits -O2 causes ICE tree check: expected ssa_name, have addr_expr in get_value_range, at tree-vrp.c:469

2008-02-28 Thread manu at gcc dot gnu dot org
--- Comment #2 from manu at gcc dot gnu dot org 2008-02-29 00:12 --- (In reply to comment #0) This is a regression probably introduced roughly three or four days ago, unless it's due to a change in the codebase I'm building (which is Wine): ...gcc -Wtype-limits -O2 action.i

[Bug middle-end/35400] [4.4 Regression] -Wtype-limits -O2 causes ICE tree check: expected ssa_name, have addr_expr in get_value_range, at tree-vrp.c:469

2008-02-28 Thread gerald at pfeifer dot com
--- Comment #3 from gerald at pfeifer dot com 2008-02-29 00:20 --- The last one that I tested was 132756, and that one was broken. Or do you mean 132591 might be the culprit? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35400

[Bug c++/35405] New: Internal compiler error

2008-02-28 Thread carlo at gcc dot gnu dot org
~g++-svn-4.3 troep.cc troep.cc: In instantiation of ‘checkint, Saveable’: troep.cc:38: instantiated from here troep.cc:14: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html for instructions.

[Bug c++/35401] libstdc++ linked to system /usr/lib/libgcc_s.1.dylib not new gcc4.3 libgcc_s.1.dylib

2008-02-28 Thread howarth at nitro dot med dot uc dot edu
--- Comment #1 from howarth at nitro dot med dot uc dot edu 2008-02-29 02:52 --- This problem isn't just limited to libstdc++. I find that all of the shared libraries created for gcc 4.3.0 are linked to the system libgcc. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35401

[Bug ada/33857] Cannot bootstrap Ada with host gnatmake-4.2

2008-02-28 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #7 from dave at hiauly1 dot hia dot nrc dot ca 2008-02-29 04:47 --- Subject: Re: Cannot bootstrap Ada with host gnatmake-4.2 I tried the setenv change with 4.2.3. Had to apply the -larg -lgcc_eh hack to Make-lang.in to do an initial bootstrap. After installing this

[Bug fortran/35009] error on valid with -std=f95 (character arrays in format tags)

2008-02-28 Thread jvdelisle at gcc dot gnu dot org
--- Comment #8 from jvdelisle at gcc dot gnu dot org 2008-02-29 04:52 --- Need to update hollerith.f90 and hollerith_f95.f90, otherwise OK. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35009

[Bug rtl-optimization/34999] Fallthru crossing edges in partition_hot_cold_basic_blocks are not been fixed when the section ends with call insn

2008-02-28 Thread eres at il dot ibm dot com
--- Comment #10 from eres at il dot ibm dot com 2008-02-29 05:23 --- (In reply to comment #8) (In reply to comment #7) Thanks, unfortunately I still can not reproduce the fail. Probably you need newer binutils: GNU ld (GNU Binutils) 2.18 Yes, using a newer binutils the fail is

[Bug rtl-optimization/34999] Fallthru crossing edges in partition_hot_cold_basic_blocks are not been fixed when the section ends with call insn

2008-02-28 Thread hjl dot tools at gmail dot com
--- Comment #11 from hjl dot tools at gmail dot com 2008-02-29 05:54 --- I don't think it is a linker bug. This bug looks very similar to PR 34249. Uros, you fixed PR 34249. Maybe there is another similar problem elsewhere in dwarf2.out.c. --

[Bug rtl-optimization/34999] Fallthru crossing edges in partition_hot_cold_basic_blocks are not been fixed when the section ends with call insn

2008-02-28 Thread ubizjak at gmail dot com
--- Comment #12 from ubizjak at gmail dot com 2008-02-29 06:07 --- (In reply to comment #11) I don't think it is a linker bug. This bug looks very similar to PR 34249. Uros, you fixed PR 34249. Maybe there is another similar problem elsewhere in dwarf2.out.c. The problem is in this

[Bug rtl-optimization/34999] Fallthru crossing edges in partition_hot_cold_basic_blocks are not been fixed when the section ends with call insn

2008-02-28 Thread ubizjak at gmail dot com
--- Comment #14 from ubizjak at gmail dot com 2008-02-29 06:47 --- CC Jakub, perhaps he can give us a clue what goes wrong here. -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug rtl-optimization/34999] Fallthru crossing edges in partition_hot_cold_basic_blocks are not been fixed when the section ends with call insn

2008-02-28 Thread ubizjak at gmail dot com
--- Comment #13 from ubizjak at gmail dot com 2008-02-29 06:32 --- (In reply to comment #12) If the marked line is changed to .long .LCOLDB2-.LCOLDB2 (or ..E2 - ..E2) the compilation succeeds. However, looking through asm, it looks correct to me. That is, the frame and label

[Bug target/35373] [4.4 Regression] bootstraping on powerpc-apple-darwin9 fails with revision 132578

2008-02-28 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-02-29 07:26 --- Because I am lazy and I don't have access right now to my ppc box, could someone attach the preprocessed source? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added