[Bug c/43845] New: Segfault when using __attribute__((const)), versions 4.4.3 and 4.6

2010-04-22 Thread darkshikari at gmail dot com
I was playing around with __attribute__((const)), not realizing that what I actually should have used was __attribute__((pure)). But regardless of the fact that I was using these attributes incorrectly, gcc obviously shouldn't segfault. First comment will have the preprocessed source that

[Bug c/43845] Segfault when using __attribute__((const)), versions 4.4.3 and 4.6

2010-04-22 Thread darkshikari at gmail dot com
--- Comment #1 from darkshikari at gmail dot com 2010-04-22 06:01 --- Created an attachment (id=20457) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20457action=view) Preprocessed source that produces the segfault -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43845

[Bug tree-optimization/43846] New: 4.5.0 regression, array vs members, dead code removal issues

2010-04-22 Thread tbptbp at gmail dot com
Hello, As instructed in http://gcc.gnu.org/ml/gcc/2010-04/msg00505.html i'm filing this. I've noticed gcc 4.5 has more trouble than it used to to removed dead stores when dealing with arrays, as exemplified by $ cat huh.cc struct foo_t { float x, y, z; foo_t() {}

[Bug c/43827] Intrinsic possibility: does not alias global data

2010-04-22 Thread darkshikari at gmail dot com
--- Comment #6 from darkshikari at gmail dot com 2010-04-22 06:31 --- It seems that __attribute__((pure)) can already do this for many instances of this situation--but it doesn't work for function pointers. Is this an arbitrary limitation, or would serious work be necessary to make

[Bug libfortran/43844] open(unit, status=scratch) fails to create tempporary file

2010-04-22 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2010-04-22 06:57 --- I also do not like: if (tempdir == NULL) tempdir = DEFAULT_TEMPDIR; /* This is /tmp. */ My feeling is that, e.g., on Windows this won't work; I do not know whether before the environment variables

[Bug rtl-optimization/43804] [4.5/4.6 regression] ICE in reload_cse_simplify_operands

2010-04-22 Thread maxim at codesourcery dot com
--- Comment #8 from mkuvyrkov at gcc dot gnu dot org 2010-04-22 07:09 --- Subject: Re: [4.5/4.6 regression] ICE in reload_cse_simplify_operands On 4/22/10 3:40 AM, schwab at linux-m68k dot org wrote: --- Comment #7 from schwab at linux-m68k dot org 2010-04-21 23:40 --- I

[Bug fortran/43841] Missing temporary for ELEMENTAL function call

2010-04-22 Thread anlauf at gmx dot de
--- Comment #3 from anlauf at gmx dot de 2010-04-22 07:27 --- (In reply to comment #2) PR43843 looks like a duplicate. It is. I simply reduced the program in the mail to a testcase. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43841

[Bug tree-optimization/43845] [4.4/4.5 Regression] Segfault when using __attribute__((const)), versions 4.4.3 and 4.6

2010-04-22 Thread falk at debian dot org
--- Comment #2 from falk at debian dot org 2010-04-22 07:35 --- Confirmed on x86-64, already in 4.3, but not in 4.1. Here is a testcase that gives an SSA verification error on 4.6 instead of segfaulting: typedef int __attribute__ ((const)) (*x264_pixel_cmp_t)(void); typedef struct {

[Bug libfortran/43844] open(unit, status=scratch) fails to create tempporary file

2010-04-22 Thread ktietz at gcc dot gnu dot org
--- Comment #4 from ktietz at gcc dot gnu dot org 2010-04-22 07:42 --- (In reply to comment #3) My feeling is that, e.g., on Windows this won't work; I do not know whether before the environment variables GFORTRAN_TMPDIR, TMP and TEMP are used or not, but /tmp does exist on many

[Bug c++/43818] internal compiler error: Segmentation fault

2010-04-22 Thread oberlaender at fzi dot de
--- Comment #10 from oberlaender at fzi dot de 2010-04-22 07:47 --- (In reply to comment #9) I'm still thinking it's a problem with running out of memory, PAE doesn't increase the total memory available to a single process How would I find out if that is the issue? The numbers

[Bug c++/43818] internal compiler error: Segmentation fault

2010-04-22 Thread oberlaender at fzi dot de
--- Comment #11 from oberlaender at fzi dot de 2010-04-22 07:59 --- Created an attachment (id=20458) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20458action=view) Output of strace -F -emmap2,mremap,brk,setrlimit g++ -c -O2 bugtest.ii Of course strace is pointless if I don't

[Bug libfortran/43844] open(unit, status=scratch) fails to create tempporary file

2010-04-22 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2010-04-22 08:03 --- (In reply to comment #3) or not, but /tmp does exist on many Windows systems. I wanted to write: does not. (In reply to comment #4) I would use here the platform API GetTempPath. This seems to be the best

[Bug fortran/43843] Wrong-code due to missing temporary with user-defined operatator

2010-04-22 Thread dfranke at gcc dot gnu dot org
--- Comment #2 from dfranke at gcc dot gnu dot org 2010-04-22 08:25 --- *** This bug has been marked as a duplicate of 43841 *** -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/43841] Missing temporary for ELEMENTAL function call

2010-04-22 Thread dfranke at gcc dot gnu dot org
--- Comment #4 from dfranke at gcc dot gnu dot org 2010-04-22 08:25 --- *** Bug 43843 has been marked as a duplicate of this bug. *** -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/43841] Missing temporary for ELEMENTAL function call

2010-04-22 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2010-04-22 08:28 --- From PR 43843: Reported by Kyle Horne at http://gcc.gnu.org/ml/fortran/2010-04/msg00215.html There is a missing temporary for user-defined operators: type(polar_t),dimension(3)::b b = polar_t(1.0,0.5)

[Bug c++/43818] internal compiler error: Segmentation fault

2010-04-22 Thread oberlaender at fzi dot de
--- Comment #12 from oberlaender at fzi dot de 2010-04-22 08:31 --- (From update of attachment 20443) Use a better MIME type. -- oberlaender at fzi dot de changed: What|Removed |Added

[Bug fortran/43829] Scalarization of reductions

2010-04-22 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-04-22 08:34 --- Subject: Bug 43829 Author: rguenth Date: Thu Apr 22 08:34:41 2010 New Revision: 158632 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=158632 Log: 2010-04-22 Richard Guenther rguent...@suse.de PR

[Bug tree-optimization/43842] [4.6 Regression] ice in vect_create_epilog_for_reduction

2010-04-22 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-04-22 08:51 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug other/43847] New: gcc_cv_objdump pointing to wrong one in gcc/configure

2010-04-22 Thread kai dot ruottu at wippies dot com
The code in 'gcc-4.5.0/gcc/configure' : clip --- pluginlibs= if test x$enable_plugin = xyes; then { $as_echo $as_me:${as_lineno-$LINENO}: checking for exported symbols 5 $as_echo_n checking for exported symbols... 6; } echo int main()

[Bug tree-optimization/43846] [4.5 Regression] array vs members, total scalarization issues

2010-04-22 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-04-22 09:07 --- Hm, frob1 looks like _Z5frob1RK5foo_tRS_: .LFB18: movss (%rdi), %xmm3 movss 4(%rdi), %xmm2 movaps %xmm3, %xmm4 movaps %xmm2, %xmm0 mulss %xmm3, %xmm4 movss

[Bug c++/43818] internal compiler error: Segmentation fault

2010-04-22 Thread oberlaender at fzi dot de
--- Comment #13 from oberlaender at fzi dot de 2010-04-22 09:13 --- Created an attachment (id=20459) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20459action=view) Output from a gdb session on g++-4.4.3 OK, almost right. I created a debug build for gcc-4.4.3: $ g++-4.4.3 -v

[Bug tree-optimization/43845] [4.4/4.5 Regression] Segfault when using __attribute__((const)), versions 4.4.3 and 4.6

2010-04-22 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-04-22 09:13 --- Confirmed. It's (partial-)PRE, all branches have the verification error, 4.3 works ok. Mine. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/43818] internal compiler error: Segmentation fault

2010-04-22 Thread oberlaender at fzi dot de
--- Comment #14 from oberlaender at fzi dot de 2010-04-22 09:19 --- (In reply to comment #13) Oh, and another thing: at the moment of the segfault, memory usage says $ ps v -C cc1plus PID TTY STAT TIME MAJFL TRS DRS RSS %MEM COMMAND 19072 pts/2T 0:00 0

[Bug rtl-optimization/43804] [4.5/4.6 regression] ICE in reload_cse_simplify_operands

2010-04-22 Thread schwab at linux-m68k dot org
--- Comment #9 from schwab at linux-m68k dot org 2010-04-22 09:20 --- Probably the author of T didn't realise that !-mpcrel in (!-mpcrel 's') is already implied. It is already a no-op in the -mpcrel case. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43804

[Bug libfortran/43844] open(unit, status=scratch) fails to create tempporary file

2010-04-22 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2010-04-22 09:21 --- Created an attachment (id=20460) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20460action=view) Draft patch for GetTempPath; fix for mktemp (In reply to comment #2) The if and do .. while block may execute

[Bug libfortran/43844] open(unit, status=scratch) fails to create tempporary file

2010-04-22 Thread burnus at gcc dot gnu dot org
--- Comment #7 from burnus at gcc dot gnu dot org 2010-04-22 09:25 --- Side note: template = get_mem (strlen (tempdir) + 20); Can one change the 20 into 19 or 18 + 1 ? The string /gfortrantmpXX has 18 characters and '\0' has one. --

[Bug middle-end/29274] [4.3/4.4/4.5/4.6 Regression] not using mulsidi3

2010-04-22 Thread bernds at gcc dot gnu dot org
--- Comment #11 from bernds at gcc dot gnu dot org 2010-04-22 09:31 --- Subject: Bug 29274 Author: bernds Date: Thu Apr 22 09:30:27 2010 New Revision: 158633 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=158633 Log: gcc/ PR middle-end/29274 * optabs.h

[Bug fortran/43836] [4.4 Regression] ice with -fexceptions and -fopenmp

2010-04-22 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2010-04-22 09:39 --- Fixed for 4.4.4/4.5.1/4.6.0. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/43662] [4.4/4.5/4.6 Regression] ICE in insert_save with ms_abi attribute

2010-04-22 Thread jakub at gcc dot gnu dot org
--- Comment #16 from jakub at gcc dot gnu dot org 2010-04-22 09:43 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug target/42498] GCC can't use smull to compute int * int -- long long

2010-04-22 Thread bernds at codesourcery dot com
--- Comment #4 from bernds at codesourcery dot com 2010-04-22 10:01 --- Fixed now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42498

[Bug middle-end/29274] [4.3/4.4/4.5 Regression] not using mulsidi3

2010-04-22 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2010-04-22 10:11 --- Fixed for 4.6. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Known to

[Bug c++/43818] internal compiler error: Segmentation fault

2010-04-22 Thread redi at gcc dot gnu dot org
--- Comment #15 from redi at gcc dot gnu dot org 2010-04-22 10:50 --- Thanks for the extra info - I can't reproduce it, but I can't test on a real 32bit host. In the absence of any suggestions from anyone else, could you try reconfiguring with --enable-checking=all instead of

[Bug tree-optimization/43845] [4.4/4.5 Regression] Segfault when using __attribute__((const)), versions 4.4.3 and 4.6

2010-04-22 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-04-22 11:20 --- Subject: Bug 43845 Author: rguenth Date: Thu Apr 22 11:19:45 2010 New Revision: 158641 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=158641 Log: 2010-04-22 Richard Guenther rguent...@suse.de PR

[Bug tree-optimization/43845] [4.4/4.5 Regression] Segfault when using __attribute__((const)), versions 4.4.3 and 4.6

2010-04-22 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-04-22 11:20 --- Fixed on the trunk. Backports pending testing. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/43818] internal compiler error: Segmentation fault

2010-04-22 Thread rguenth at gcc dot gnu dot org
--- Comment #16 from rguenth at gcc dot gnu dot org 2010-04-22 11:25 --- This has been fixed on the 4.4 branch, I can reproduce it with 4.4.3. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/29274] [4.3/4.4/4.5 Regression] not using mulsidi3

2010-04-22 Thread bernds at gcc dot gnu dot org
--- Comment #13 from bernds at gcc dot gnu dot org 2010-04-22 11:26 --- Subject: Bug 29274 Author: bernds Date: Thu Apr 22 11:25:44 2010 New Revision: 158642 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=158642 Log: PR middle-end/29274 * gcc.target/arm/wmul-1.c:

[Bug tree-optimization/43848] New: [4.6 Regression]: can

2010-04-22 Thread hp at gcc dot gnu dot org
With revision @Y@ this test passed. From revision @Z@ and on, this test has failed as follows: @V@ With the message in the logfile being: @U@ @A@@C@ aut...@w@ of patches in suspect revision range CC:ed. -- Summary: [4.6 Regression]: can Product: gcc

[Bug middle-end/43848] [4.6 Regression]: can't build libgcc for cris-elf with r158633

2010-04-22 Thread hp at gcc dot gnu dot org
--- Comment #1 from hp at gcc dot gnu dot org 2010-04-22 11:42 --- (oops, fat-fingered the return key before filling in details properly in my bug-template) With r158630, libgcc, built. With r158633 and on, including 158639, I see: /tmp/hpautotest-gcc1/cris-elf/gccobj/./gcc/xgcc

[Bug tree-optimization/43842] [4.6 Regression] ice in vect_create_epilog_for_reduction

2010-04-22 Thread irar at il dot ibm dot com
-- irar at il dot ibm dot com changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |irar at il dot ibm dot com |dot org

[Bug middle-end/43848] [4.6 Regression]: can't build libgcc for cris-elf with r158633

2010-04-22 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2010-04-22 11:51 --- Same thing on x86_64-apple-darwin10: bootstrap fails at revision 158642 with ... /opt/gcc/p_build/./gcc/xgcc -B/opt/gcc/p_build/./gcc/ -B/opt/gcc/gcc4.6p/x86_64-apple-darwin10/bin/

[Bug middle-end/43848] [4.6 Regression]: can't build libgcc for cris-elf with r158633

2010-04-22 Thread hp at gcc dot gnu dot org
--- Comment #3 from hp at gcc dot gnu dot org 2010-04-22 11:58 --- Created an attachment (id=20461) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20461action=view) preprocessed libgcc2.i Reproduce using r158642 with ./cc1 -fpreprocessed libgcc2.i -march=v10 -O2 -o libgcc2x.s --

[Bug middle-end/43848] [4.6 Regression]: can't build libgcc for cris-elf with r158633

2010-04-22 Thread bernds at codesourcery dot com
--- Comment #4 from bernds at codesourcery dot com 2010-04-22 12:02 --- I somehow managed not to check in the optabs.h change in the first commit. Can you try again with r158643? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43848

[Bug target/43597] Move and compare with 0 can be combined

2010-04-22 Thread carrot at google dot com
--- Comment #7 from carrot at google dot com 2010-04-22 12:26 --- (In reply to comment #6) I can't see how it would hurt to allow combine to always merge insns that are known to be consecutive (ie to ignore CLASS_LIKELY_SPILLED_P if prev_nonenote_insn(consumer) == producer). I

[Bug tree-optimization/43846] [4.5 Regression] array vs members, total scalarization issues

2010-04-22 Thread jamborm at gcc dot gnu dot org
--- Comment #2 from jamborm at gcc dot gnu dot org 2010-04-22 12:35 --- (In reply to comment #1) so it doesn't consider the struct with the array for total scalarization for some reason. Martin? Well, that was a deliberate decision when fixing PR 42585 (see

[Bug middle-end/43848] [4.6 Regression]: can't build libgcc for cris-elf with r158633

2010-04-22 Thread hp at gcc dot gnu dot org
--- Comment #5 from hp at gcc dot gnu dot org 2010-04-22 12:38 --- I'd expect a missing prototype to cause a -Werror breakage rather than the built cc1 to ICE, but there you go; that did it. Closing as libgcc for cris-elf now builds, thanks for the quick turnaround. -- hp at gcc dot

[Bug fortran/43849] New: Add _gfortran_finalize function to close down the library

2010-04-22 Thread burnus at gcc dot gnu dot org
Currently, gfortran only has start up routines, cf. http://gcc.gnu.org/onlinedocs/gfortran/Non_002dFortran-Main-Program.html I think it makes sense to also add shutdown routines. Currently, _gfortran_abort calls: close_units (); Additionally, one should call: flush_all_units (); For some

[Bug lto/43850] New: ice: tree code �template_type_parm� is not supported in gimple streams

2010-04-22 Thread morandini at aero dot polimi dot it
ma...@pc-31c:~/Hmfe/Fields2 gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/home/marco/local/gcc-4.5.0/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../configure --enable-threads=posix --prefix=/home/marco/local/gcc-4.5.0

[Bug lto/43850] ice: tree code �template_type_parm� is not supported in gimple streams

2010-04-22 Thread morandini at aero dot polimi dot it
--- Comment #1 from morandini at aero dot polimi dot it 2010-04-22 12:55 --- Created an attachment (id=20462) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20462action=view) preprocessed file triggering the bug -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43850

[Bug ada/33420] Assert_Failure at atree.adb:886 on function call

2010-04-22 Thread jdgressett at hotmail dot com
--- Comment #8 from jdgressett at hotmail dot com 2010-04-22 12:56 --- This seems to be fixed in gcc 4.5.0. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33420

[Bug c++/26256] ignores using declaration

2010-04-22 Thread fabien dot chene at gmail dot com
--- Comment #2 from fabien dot chene at gmail dot com 2010-04-22 13:16 --- Mine... -- fabien dot chene at gmail dot com changed: What|Removed |Added CC|

[Bug fortran/43849] Add _gfortran_finalize function to close down the library

2010-04-22 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2010-04-22 13:19 --- Thus: a) Create a function named, e.g., _gfortran_shutdown/_gfortran_finalize, which calls flush_all_units (); close_units (); b) Call it from: _gfortran_abort _gfortran_stop_numeric;

[Bug fortran/43851] New: Add _gfortran_error_stop_numeric

2010-04-22 Thread burnus at gcc dot gnu dot org
There are two STOP statements in Fortran: STOP constant default-integer-expr or constant string-expr ERROR STOP constant default-integer-expr or constant string-expr The first one is for normal stopping of the program, the second one for error abort. This works in so far that ERROR STOP

[Bug fortran/43849] Add _gfortran_finalize function to close down the library

2010-04-22 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2010-04-22 13:29 --- Forgot to mention that one can then also print the exception status: 8.4 STOP and ERROR STOP statements (F2008 FDIS): If any exception (cf. 14 Exceptions and IEEE arithmetic) is signaling on that image, the

[Bug fortran/43851] Add _gfortran_error_stop_numeric

2010-04-22 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2010-04-22 13:30 --- Additionally, the (ERROR) STOP output should be printed to STDERR and not to STDOUT per: 8.4 STOP and ERROR STOP statements (F2008 FDIS): If any exception (cf. 14 Exceptions and IEEE arithmetic) is signaling on

[Bug middle-end/43740] [4.5/4.6 Regression] FAIL: gcc.dg/tree-ssa/20031015-1.c (internal compiler error)

2010-04-22 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #6 from dave at hiauly1 dot hia dot nrc dot ca 2010-04-22 13:42 --- Subject: Re: [4.5/4.6 Regression] FAIL: gcc.dg/tree-ssa/20031015-1.c (internal compiler error) The same failures are present on trunk with --enable-checking=release. Dave --

[Bug libfortran/43844] open(unit, status=scratch) fails to create tempporary file

2010-04-22 Thread jvdelisle at gcc dot gnu dot org
--- Comment #8 from jvdelisle at gcc dot gnu dot org 2010-04-22 13:52 --- I will fix all this on trunk tonight and if we get good test results I will port it back. Thanks Kai. My eye was telling me something was not right there. Thanks Tobias too. I have a mingw build mostly

[Bug fortran/43829] Scalarization of reductions

2010-04-22 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-04-22 14:00 --- Now onto subroutine test1(esss,Ix,Iyz) real(kind=kind(1.0d0)), dimension(:), intent(out) :: esss real(kind=kind(1.0d0)), dimension(:,:) :: Ix,Iyz esss = sum(Ix * Iyz, 1) end subroutine noting that

[Bug c++/43852] New: Embedded systems friendly libstdc++

2010-04-22 Thread sebastian dot huber at embedded-brains dot de
You can configure the standard C++ library in two ways to reduce the code size and dependencies on external libraries: 1. --enable-cxx-flags=-fno-exceptions This does currently not work, due to an error in guard.cc which defines recursive_init_error::~recursive_init_error() and this results in a

[Bug c++/43852] Embedded systems friendly libstdc++

2010-04-22 Thread sebastian dot huber at embedded-brains dot de
--- Comment #1 from sebastian dot huber at embedded-brains dot de 2010-04-22 14:25 --- Created an attachment (id=20463) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20463action=view) Example how to implement it -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43852

[Bug libstdc++/43852] Embedded systems friendly libstdc++

2010-04-22 Thread redi at gcc dot gnu dot org
--- Comment #2 from redi at gcc dot gnu dot org 2010-04-22 14:51 --- So this should be three bugs, one for each of the build problems and one enhancement request for a semi-hosted environment. I don't think verbose is a good name for the default case, I would prefer something like

[Bug target/39105] Warning about unused libgcc.a when using SGI linker

2010-04-22 Thread ro at gcc dot gnu dot org
--- Comment #2 from ro at gcc dot gnu dot org 2010-04-22 15:04 --- Mine. -- ro at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc

[Bug target/39105] Warning about unused libgcc.a when using SGI linker

2010-04-22 Thread ro at gcc dot gnu dot org
--- Comment #3 from ro at gcc dot gnu dot org 2010-04-22 15:07 --- Discovered independently and fixed for 4.5.0. -- ro at gcc dot gnu dot org changed: What|Removed |Added

[Bug debug/40462] [4.5/4.6 Regression] ICE in dwarf2out_begin_epilogue, at dwarf2out.c:2773 while compiling mlib-tgt.adb

2010-04-22 Thread ro at gcc dot gnu dot org
--- Comment #11 from ro at gcc dot gnu dot org 2010-04-22 15:09 --- Not an IRIX issue any longer. -- ro at gcc dot gnu dot org changed: What|Removed |Added GCC build

[Bug bootstrap/40522] IRIX 6.5 bootstrap fails: size of array 'test_real_width' is negative

2010-04-22 Thread ro at gcc dot gnu dot org
--- Comment #1 from ro at gcc dot gnu dot org 2010-04-22 15:10 --- Long fixed. -- ro at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED

[Bug lto/43850] ice: tree code �template_type_parm� is not supported in gimple streams

2010-04-22 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-04-22 15:17 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug lto/43850] ice: tree code �template_type_parm� is not supported in gimple streams

2010-04-22 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-04-22 15:17 --- I will have a looksee. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/41996] lto-elf.c fails to compile on IRIX 6.5

2010-04-22 Thread ro at gcc dot gnu dot org
--- Comment #5 from ro at gcc dot gnu dot org 2010-04-22 15:18 --- Fixed for 4.5.0. -- ro at gcc dot gnu dot org changed: What|Removed |Added

[Bug lto/43850] ice: tree code �template_type_parm� is not supported in gimple streams

2010-04-22 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-04-22 15:22 --- It's TYPE_ARG_TYPES of a FUNCTION_TYPE when writing the FUNCTION_DECL of void_cast_register which isn't instantiated. Reducing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43850

[Bug libstdc++/43738] basic_file_stdio.cc uses ioctl on a fd, but not available on mingw32

2010-04-22 Thread sherpya at netfarm dot it
--- Comment #13 from sherpya at netfarm dot it 2010-04-22 15:31 --- I can build 4.5.0 without problems, I think here no source is pulling in winsock header -- sherpya at netfarm dot it changed: What|Removed |Added

[Bug tree-optimization/43842] [4.6 Regression] ice in vect_create_epilog_for_reduction

2010-04-22 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2010-04-22 15:38 --- It is caused by revision 158506: http://gcc.gnu.org/ml/gcc-cvs/2010-04/msg00612.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43842

[Bug fortran/43829] Scalarization of reductions

2010-04-22 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-04-22 15:39 --- Reduced testcase: template class T void void_cast_register(T *) __attribute__ ((used)); template class T void void_cast_register(T *) { } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43829

[Bug lto/43850] ice: tree code �template_type_parm� is not supported in gimple streams

2010-04-22 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-04-22 15:40 --- Reduced testcase: template class T void void_cast_register(T *) __attribute__ ((used)); template class T void void_cast_register(T *) { } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43850

[Bug c++/43850] ice: tree code �template_type_parm� is not supported in gimple streams

2010-04-22 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-04-22 15:41 --- Frontend bug. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/43818] internal compiler error: Segmentation fault

2010-04-22 Thread oberlaender at fzi dot de
--- Comment #17 from oberlaender at fzi dot de 2010-04-22 15:48 --- (In reply to comment #16) This has been fixed on the 4.4 branch, I can reproduce it with 4.4.3. OK, thanks for the information. I'm currently compiling gcc from the 4.4 branch in svn to verify. --

[Bug libgcj/40860] [4.4/4.5/4.6 regression] regressions in libjava testsuite on arm-linux

2010-04-22 Thread aph at gcc dot gnu dot org
--- Comment #41 from aph at gcc dot gnu dot org 2010-04-22 16:07 --- Subject: Bug 40860 Author: aph Date: Thu Apr 22 16:06:39 2010 New Revision: 158648 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=158648 Log: 2010-04-19 Andrew Haley a...@redhat.com PR libgcj/40860

[Bug libgcj/40860] [4.4/4.5/4.6 regression] regressions in libjava testsuite on arm-linux

2010-04-22 Thread aph at gcc dot gnu dot org
--- Comment #42 from aph at gcc dot gnu dot org 2010-04-22 16:08 --- Fixed. -- aph at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED

[Bug bootstrap/20488] Makefile: Must be a separator on line 774. Stop.

2010-04-22 Thread ro at gcc dot gnu dot org
--- Comment #13 from ro at gcc dot gnu dot org 2010-04-22 16:09 --- Reopened ... -- ro at gcc dot gnu dot org changed: What|Removed |Added Status|VERIFIED

[Bug bootstrap/20488] Makefile: Must be a separator on line 774. Stop.

2010-04-22 Thread ro at gcc dot gnu dot org
--- Comment #14 from ro at gcc dot gnu dot org 2010-04-22 16:09 --- ... to close as fixed. -- ro at gcc dot gnu dot org changed: What|Removed |Added

[Bug testsuite/21954] gcc.dg/compat/struct-layout-1 fails to link on Tru64 UNIX V4.0F

2010-04-22 Thread ro at gcc dot gnu dot org
--- Comment #1 from ro at gcc dot gnu dot org 2010-04-22 16:12 --- IRIX 5.3 is affected as well, as would be any target without snprintf. -- ro at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/22007] Stack overflow in g++.dg/eh/cleanup1.C

2010-04-22 Thread ro at gcc dot gnu dot org
--- Comment #4 from ro at gcc dot gnu dot org 2010-04-22 16:18 --- Works on both alpha-dec-osf4.0f and alpha-dec-osf5.1b as of 20100330, so removing Tru64 UNIX target. -- ro at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/22224] Several Tru64 UNIX testsuite failures: Length of .lcomm was less than 1

2010-04-22 Thread ro at gcc dot gnu dot org
--- Comment #1 from ro at gcc dot gnu dot org 2010-04-22 16:32 --- Mine. -- ro at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc

[Bug target/22224] Several Tru64 UNIX testsuite failures: Length of .lcomm was less than 1

2010-04-22 Thread ro at gcc dot gnu dot org
--- Comment #2 from ro at gcc dot gnu dot org 2010-04-22 16:34 --- Patch posted. -- ro at gcc dot gnu dot org changed: What|Removed |Added URL|

[Bug libobjc/26402] thr-objc.c might define _XOPEN_SOURCE unnecessarily

2010-04-22 Thread ro at gcc dot gnu dot org
--- Comment #2 from ro at gcc dot gnu dot org 2010-04-22 16:37 --- Long fixed. -- ro at gcc dot gnu dot org changed: What|Removed |Added URL|

[Bug target/38706] [4.4 Regression] ../../../../src/libstdc++-v3/src/strstream.cc:419: internal compiler error: Segmentation fault

2010-04-22 Thread ro at gcc dot gnu dot org
--- Comment #14 from ro at gcc dot gnu dot org 2010-04-22 16:44 --- *** Bug 36851 has been marked as a duplicate of this bug. *** -- ro at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/36851] [4.4/4.5/4.6 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX

2010-04-22 Thread ro at gcc dot gnu dot org
--- Comment #15 from ro at gcc dot gnu dot org 2010-04-22 16:44 --- Long fixed. *** This bug has been marked as a duplicate of 38706 *** -- ro at gcc dot gnu dot org changed: What|Removed |Added

[Bug ada/40346] Many Ada tests fail on Tru64 UNIX V4.0F/V5.1B

2010-04-22 Thread ro at gcc dot gnu dot org
--- Comment #3 from ro at gcc dot gnu dot org 2010-04-22 16:46 --- Long fixed. -- ro at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED

[Bug libffi/40701] [4.5/4.6 regression] Many libffi tests fail to compile on Tru64 UNIX

2010-04-22 Thread ro at gcc dot gnu dot org
--- Comment #4 from ro at gcc dot gnu dot org 2010-04-22 16:47 --- Mine. -- ro at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc

[Bug libffi/40701] [4.5/4.6 regression] Many libffi tests fail to compile on Tru64 UNIX

2010-04-22 Thread ro at gcc dot gnu dot org
--- Comment #5 from ro at gcc dot gnu dot org 2010-04-22 16:48 --- Fixed by patch above. -- ro at gcc dot gnu dot org changed: What|Removed |Added URL|

[Bug bootstrap/41465] bootstrap failed - ../libdecnumber/gstdint.h:80: error: two or more data types in declaration specifiers

2010-04-22 Thread ro at gcc dot gnu dot org
--- Comment #3 from ro at gcc dot gnu dot org 2010-04-22 16:51 --- Already fixed for 4.5.0. -- ro at gcc dot gnu dot org changed: What|Removed |Added URL|

[Bug bootstrap/43847] test for plugin is using wrong objdump for host != target

2010-04-22 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-04-22 16:54 --- Actually gcc_cv_objdump is correct for the rest of configure.ac; just we are using the incorrect one for the plugin test. Also note we need to use the one for built for the build for the host. (for Canadian

[Bug libstdc++/43852] Embedded systems friendly libstdc++

2010-04-22 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2010-04-22 17:02 --- Good point about splitting to two or three bugs, because the build issues can probably be fixed in the 4_5-branch too. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43852

[Bug tree-optimization/43846] [4.5 Regression] array vs members, total scalarization issues

2010-04-22 Thread davidxl at gcc dot gnu dot org
--- Comment #3 from davidxl at gcc dot gnu dot org 2010-04-22 17:04 --- (In reply to comment #2) (In reply to comment #1) so it doesn't consider the struct with the array for total scalarization for some reason. Martin? Well, that was a deliberate decision when fixing PR

[Bug tree-optimization/43846] [4.5 Regression] array vs members, total scalarization issues

2010-04-22 Thread jamborm at gcc dot gnu dot org
--- Comment #4 from jamborm at gcc dot gnu dot org 2010-04-22 17:18 --- Created an attachment (id=20464) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20464action=view) Proposed fix I'm currently testing this patch and will submit it tomorrow if everything goes OK. --

[Bug middle-end/43853] New: [4.6 Regression] FAIL: gcc.dg/lto/20090126-1 c_lto_20090126-1_0.o-c_lto_20090126-1_0.o

2010-04-22 Thread hjl dot tools at gmail dot com
On Linux/x86, revision 158610 gave FAIL: gcc.dg/lto/20090126-1 c_lto_20090126-1_0.o-c_lto_20090126-1_0.o link, (internal compiler error) Revision 158595 is OK. -- Summary: [4.6 Regression] FAIL: gcc.dg/lto/20090126-1 c_lto_20090126-1_0.o-c_lto_20090126-1_0.o

[Bug middle-end/43835] [4.5 Regression] IPA-SRA doesn't rewrite attributes

2010-04-22 Thread jamborm at gcc dot gnu dot org
--- Comment #4 from jamborm at gcc dot gnu dot org 2010-04-22 17:30 --- A fix has been submitted to the mailing list: http://gcc.gnu.org/ml/gcc-patches/2010-04/msg01400.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43835

[Bug lto/43823] [lto] ICE during linking in testsuite

2010-04-22 Thread sgk at troutmask dot apl dot washington dot edu
--- Comment #6 from sgk at troutmask dot apl dot washington dot edu 2010-04-22 17:38 --- Subject: Re: [lto] ICE during linking in testsuite On Wed, Apr 21, 2010 at 08:22:26PM -, rguenth at gcc dot gnu dot org wrote: I guess you have to debug it - I do not have a freebsd system

[Bug testsuite/43482] Fix *.log tests merged output containing ===

2010-04-22 Thread irar at gcc dot gnu dot org
--- Comment #3 from irar at gcc dot gnu dot org 2010-04-22 18:03 --- Subject: Bug 43482 Author: irar Date: Thu Apr 22 18:03:01 2010 New Revision: 158650 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=158650 Log: PR tree-optimization/43482 * tree-vect-loop.c

[Bug tree-optimization/43842] [4.6 Regression] ice in vect_create_epilog_for_reduction

2010-04-22 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2010-04-22 18:07 --- I think revision 158650: http://gcc.gnu.org/ml/gcc-cvs/2010-04/msg00756.html is the fix for this bug. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43842

[Bug testsuite/43482] Fix *.log tests merged output containing ===

2010-04-22 Thread jan dot kratochvil at redhat dot com
--- Comment #4 from jan dot kratochvil at redhat dot com 2010-04-22 18:09 --- Comment 3 has a typo, it should have been for: PR tree-optimization/43842 -- jan dot kratochvil at redhat dot com changed: What|Removed |Added

[Bug tree-optimization/43854] New: names for compiler generated temporaries are too long

2010-04-22 Thread dann at godzilla dot ics dot uci dot edu
Looking at tree dumps, most variables used are compiler generated temporaries and they have names like pretmp.DECIMAL_NUMBER If instead of DECIMAL_NUMBER the same number bug in hex was used, this would reduce the memory used for those temporary names. This simple patch (that does not take care

  1   2   >