[Bug c/35579] __attribute__(( warn_unused_result )) warns when it shouldn't, doesn't warn when it should

2008-03-13 Thread pgut001 at cs dot auckland dot ac dot nz
--- Comment #2 from pgut001 at cs dot auckland dot ac dot nz 2008-03-14 06:55 --- >This is the design of warn_unused_result, you cannot ignore the value, >that is why casting to void does not work. Doesn't this violate a C convention going back to the 1970s? I did a fairly long web/n

[Bug testsuite/35538] FAIL: gcc.dg/tree-ssa/ssa-store-ccp-4.c scan-tree-dump-times optimized "conststaticvariable" 1

2008-03-13 Thread uros at gcc dot gnu dot org
--- Comment #10 from uros at gcc dot gnu dot org 2008-03-14 06:55 --- Subject: Bug 35538 Author: uros Date: Fri Mar 14 06:54:19 2008 New Revision: 133208 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133208 Log: PR testsuite/35538 * gcc.dg/tree-ssa/ssa-store-cc

[Bug testsuite/35406] gfortran.dg/ldist-1.f90 and gcc.dg/tree-ssa/ldist-4.c don't work

2008-03-13 Thread ubizjak at gmail dot com
--- Comment #11 from ubizjak at gmail dot com 2008-03-14 06:37 --- (In reply to comment #10) > The old gcc.dg/tree-ssa/ldist-4.c passed on Linux/ia32 and failed > on Linux/Intel64. Revision 133206 changed it to fail on Linux/ia32 > and pass on Linux/Intel64. I think you want "4|5" instea

[Bug fortran/29651] Subroutine: Kind convertion of intent(out) value: signal

2008-03-13 Thread jvdelisle at gcc dot gnu dot org
--- Comment #8 from jvdelisle at gcc dot gnu dot org 2008-03-14 05:49 --- I will give this a shot . The mention of optional dummy arguments is a place I have been. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added -

[Bug fortran/35478] [4.2 regression] internal compiler error: Segmentation fault

2008-03-13 Thread jvdelisle at gcc dot gnu dot org
--- Comment #3 from jvdelisle at gcc dot gnu dot org 2008-03-14 05:36 --- I agree we should close this. Check the gfortran wiki for binaries of the lates versions of gfortran. I will submit a test case to avoid further regressions. -- jvdelisle at gcc dot gnu dot org changed:

[Bug testsuite/35406] gfortran.dg/ldist-1.f90 and gcc.dg/tree-ssa/ldist-4.c don't work

2008-03-13 Thread hjl dot tools at gmail dot com
--- Comment #10 from hjl dot tools at gmail dot com 2008-03-14 05:20 --- The old gcc.dg/tree-ssa/ldist-4.c passed on Linux/ia32 and failed on Linux/Intel64. Revision 133206 changed it to fail on Linux/ia32 and pass on Linux/Intel64. I think you want "4|5" instead of 4 or 5. The same goe

[Bug testsuite/35406] gfortran.dg/ldist-1.f90 and gcc.dg/tree-ssa/ldist-4.c don't work

2008-03-13 Thread jvdelisle at gcc dot gnu dot org
--- Comment #9 from jvdelisle at gcc dot gnu dot org 2008-03-14 05:06 --- Closing again. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added Sta

[Bug testsuite/35406] gfortran.dg/ldist-1.f90 and gcc.dg/tree-ssa/ldist-4.c don't work

2008-03-13 Thread jvdelisle at gcc dot gnu dot org
--- Comment #8 from jvdelisle at gcc dot gnu dot org 2008-03-14 05:00 --- Subject: Bug 35406 Author: jvdelisle Date: Fri Mar 14 04:59:39 2008 New Revision: 133207 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133207 Log: 2008-03-13 Jerry DeLisle <[EMAIL PROTECTED]>

[Bug c/35579] __attribute__(( warn_unused_result )) warns when it shouldn't, doesn't warn when it should

2008-03-13 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-03-14 04:54 --- This is the design of warn_unused_result, you cannot ignore the value, that is why casting to void does not work. The warning happens in the front-end so we don't know if you really ignore the value if you don't use

[Bug c/35579] New: __attribute__(( warn_unused_result )) warns when it shouldn't, doesn't warn when it should

2008-03-13 Thread pgut001 at cs dot auckland dot ac dot nz
The handling of warn_unused_result is rather inconsistent, it warns in cases where it shouldn't and sometimes doesn't warn in cases where it should. Try the following to see this: -- Snip -- > cat > test.c #include __attribute__(( warn_unused_result )) int foo( void ) { return 1; } int

[Bug testsuite/35406] gfortran.dg/ldist-1.f90 and gcc.dg/tree-ssa/ldist-4.c don't work

2008-03-13 Thread jvdelisle at gcc dot gnu dot org
--- Comment #7 from jvdelisle at gcc dot gnu dot org 2008-03-14 04:04 --- I forgot the C case with ldist-4.c, :) -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug testsuite/35406] gfortran.dg/ldist-1.f90 and gcc.dg/tree-ssa/ldist-4.c don't work

2008-03-13 Thread jvdelisle at gcc dot gnu dot org
--- Comment #6 from jvdelisle at gcc dot gnu dot org 2008-03-14 03:50 --- Closing. Please reopen if I broke anything. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug testsuite/35406] gfortran.dg/ldist-1.f90 and gcc.dg/tree-ssa/ldist-4.c don't work

2008-03-13 Thread jvdelisle at gcc dot gnu dot org
--- Comment #5 from jvdelisle at gcc dot gnu dot org 2008-03-14 03:49 --- Subject: Bug 35406 Author: jvdelisle Date: Fri Mar 14 03:48:23 2008 New Revision: 133206 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133206 Log: 2008-03-13 Jerry DeLisle <[EMAIL PROTECTED]>

[Bug fortran/35475] [4.2 Regression] gfortran fails to compile valid code with ICE erro in fold-const.c

2008-03-13 Thread jvdelisle at gcc dot gnu dot org
--- Comment #9 from jvdelisle at gcc dot gnu dot org 2008-03-14 03:17 --- Woks on trunk. Test case committed to avoid future regression. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/35475] [4.2 Regression] gfortran fails to compile valid code with ICE erro in fold-const.c

2008-03-13 Thread jvdelisle at gcc dot gnu dot org
--- Comment #8 from jvdelisle at gcc dot gnu dot org 2008-03-14 03:14 --- Subject: Bug 35475 Author: jvdelisle Date: Fri Mar 14 03:13:17 2008 New Revision: 133205 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133205 Log: 2008-03-13 Jerry DeLisle <[EMAIL PROTECTED]>

[Bug testsuite/35558] Untested g++.dg/tls/static-1a.cc

2008-03-13 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2008-03-14 03:09 --- Fixed. -- hjl dot tools at gmail dot com changed: What|Removed |Added Status|UNCONFIRM

[Bug testsuite/35558] Untested g++.dg/tls/static-1a.cc

2008-03-13 Thread hjl at gcc dot gnu dot org
--- Comment #2 from hjl at gcc dot gnu dot org 2008-03-14 03:09 --- Subject: Bug 35558 Author: hjl Date: Fri Mar 14 03:08:29 2008 New Revision: 133204 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133204 Log: 2008-03-13 H.J. Lu <[EMAIL PROTECTED]> PR testsuite/35558

[Bug bootstrap/35577] configure: error: cannot compute suffix of object files

2008-03-13 Thread brian at dessent dot net
--- Comment #4 from brian at dessent dot net 2008-03-14 03:05 --- Subject: Re: configure: error: cannot compute suffix of object files al dot danial at gmail dot com wrote: > The error in x86_64-unknown-linux-gnu/libgcc/config.log suggests it has > trouble > loading libmpfr.so.1.

[Bug target/34484] pulls in allegedly unneeded floatingpoint exception access funcs

2008-03-13 Thread hjl dot tools at gmail dot com
--- Comment #9 from hjl dot tools at gmail dot com 2008-03-14 01:17 --- DFP needs floating point exception support. If your C library doesn't support it, you can disable DFP. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34484

balthasar

2008-03-13 Thread ewen icap
try awarealkaloid it araby

[Bug bootstrap/35577] configure: error: cannot compute suffix of object files

2008-03-13 Thread al dot danial at gmail dot com
--- Comment #3 from al dot danial at gmail dot com 2008-03-13 23:10 --- Created an attachment (id=15312) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15312&action=view) x86_64-unknown-linux-gnu/libgcc/config.log The error in x86_64-unknown-linux-gnu/libgcc/config.log suggests it

[Bug c++/35578] New: Error about misplaced 'friend' word is issued on a wrong line

2008-03-13 Thread yuri at tsoft dot com
When I compile the code below I get: x.C:3: error: 'friend' used outside of class And 'friend' word is on the line #5. === code begins === int i() { return (0); } /*here an error is reported*/ friend void x() { } -- Summary: Error about misplaced 'friend' word is issued on a wrong

[Bug c++/35548] [4.3/4.4 Regression] g++ 4.3.{0,1} miscompile this simple program

2008-03-13 Thread hjl dot tools at gmail dot com
--- Comment #4 from hjl dot tools at gmail dot com 2008-03-13 22:11 --- Revision 129596: http://gcc.gnu.org/ml/gcc-cvs/2007-10/msg00701.html http://gcc.gnu.org/ml/gcc-patches/2007-10/msg01386.html is the cause. -- hjl dot tools at gmail dot com changed: What|Removed

[Bug bootstrap/35577] configure: error: cannot compute suffix of object files

2008-03-13 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-03-13 21:27 --- You attached the wrong config.log. We need the one in the x86_64-unknown-linux-gnu/libgcc subdirectory where configure is failing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35577

[Bug preprocessor/35322] [4.2/4.3 regression] ICE with incomplete macro

2008-03-13 Thread tromey at gcc dot gnu dot org
--- Comment #4 from tromey at gcc dot gnu dot org 2008-03-13 21:11 --- Fixed on trunk. I'm never sure if I should close these PRs or not. It is a regression on the older branches, but minor enough that I doubt anybody will want to back-port the fix. -- tromey at gcc dot gnu dot org

[Bug preprocessor/35322] [4.2/4.3/4.4 regression] ICE with incomplete macro

2008-03-13 Thread tromey at gcc dot gnu dot org
--- Comment #3 from tromey at gcc dot gnu dot org 2008-03-13 21:10 --- Subject: Bug 35322 Author: tromey Date: Thu Mar 13 21:10:07 2008 New Revision: 133195 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133195 Log: gcc/testsuite PR libcpp/35322: * gcc.dg/cpp/pr3

[Bug bootstrap/35577] configure: error: cannot compute suffix of object files

2008-03-13 Thread al dot danial at gmail dot com
--- Comment #1 from al dot danial at gmail dot com 2008-03-13 20:50 --- Created an attachment (id=15310) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15310&action=view) config.log -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35577

[Bug bootstrap/35577] New: configure: error: cannot compute suffix of object files

2008-03-13 Thread al dot danial at gmail dot com
This is on an AMD Opteron system running the 64 bit version of RHEL 4.3 (curious that it is identified as "unknown-linux-gnu"). I'm building 4.3.0 with GCC 3.4.5 20051201 (Red Hat 3.4.5-2). My configure command is ../gcc-4.3.0/configure --with-gmp=/apps/gmp/4.2.2 --with-mpfr=/apps/mpfr/2.3.0 -

[Bug testsuite/35558] Untested g++.dg/tls/static-1a.cc

2008-03-13 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2008-03-13 19:40 --- A patch is posted at http://gcc.gnu.org/ml/gcc-patches/2008-03/msg00828.html -- hjl dot tools at gmail dot com changed: What|Removed |Added ---

[Bug target/34794] build of gcc 4.2.2 fails on AIX 6.1 / libstdc++-v3/libmath/stubs.c:47

2008-03-13 Thread dje at gcc dot gnu dot org
--- Comment #21 from dje at gcc dot gnu dot org 2008-03-13 19:16 --- Backported patches to GCC 4.2 branch for GCC 4.2.4 release. -- dje at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/34794] build of gcc 4.2.2 fails on AIX 6.1 / libstdc++-v3/libmath/stubs.c:47

2008-03-13 Thread dje at gcc dot gnu dot org
--- Comment #20 from dje at gcc dot gnu dot org 2008-03-13 19:12 --- Subject: Bug 34794 Author: dje Date: Thu Mar 13 19:11:43 2008 New Revision: 133186 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133186 Log: 2008-01-26 David Edelsohn <[EMAIL PROTECTED]> PR target/3

[Bug target/34794] build of gcc 4.2.2 fails on AIX 6.1 / libstdc++-v3/libmath/stubs.c:47

2008-03-13 Thread dje at gcc dot gnu dot org
--- Comment #19 from dje at gcc dot gnu dot org 2008-03-13 19:04 --- Subject: Bug 34794 Author: dje Date: Thu Mar 13 19:03:23 2008 New Revision: 133184 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133184 Log: Backport from mainline: 2008-01-26 David Edelsohn

[Bug ada/35576] Ada HW Interrupt Task Enhancement

2008-03-13 Thread joel at gcc dot gnu dot org
--- Comment #2 from joel at gcc dot gnu dot org 2008-03-13 18:47 --- 2007-12-06 Joel Sherrill <[EMAIL PROTECTED]> * Makefile.in: Switch RTEMS and VxWorks to s-interr-hwint.adb. * s-interr-hwint.adb: New file with portable implementation. * s-interr-vxworks.adb:

[Bug ada/35576] Ada HW Interrupt Task Enhancement

2008-03-13 Thread joel at gcc dot gnu dot org
--- Comment #1 from joel at gcc dot gnu dot org 2008-03-13 18:47 --- Created an attachment (id=15309) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15309&action=view) Ada HW Interrupt Task Enhancement -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35576

[Bug ada/35576] New: Ada HW Interrupt Task Enhancement

2008-03-13 Thread joel at gcc dot gnu dot org
Currently VxWorks is the only target in gcc to support Ada interrupt tasks which are tied to hardware interrupt sources. The code in gcc currently is VxWorks specific. The patch attached generalizes this code by adding an adapter layer consisting of binary semaphores and interrupt management meth

[Bug target/35575] New: ICE: in function_arg_slotno, at config/sparc/sparc.c:4696

2008-03-13 Thread joel at gcc dot gnu dot org
SVN trunk. Executing on host: /home/joel/work-gnat/svn/b-gcc1-sparc/gcc/xgcc -B/home/joel/work-gnat/svn/b-gcc1-sparc/gcc/ dfprt31495.c gcc_tg.o -DSTACK_SIZE=2048 -fno-show-column -B/home/joel/work-gnat/svn/bsp-install/sparc-rtems4.9/sis/lib/ -specs bsp_specs -qrtems -mcpu=cypress /home/joel/wor

[Bug rtl-optimization/33642] unrecognizable insn for -frtl-abstract-sequences

2008-03-13 Thread joel at gcc dot gnu dot org
--- Comment #12 from joel at gcc dot gnu dot org 2008-03-13 18:01 --- Is this the same bug? sparc-rtems4.9 on SVN trunk: Executing on host: /home/joel/work-gnat/svn/b-gcc1-sparc/gcc/xgcc -B/home/joel/work-gnat/svn/b-gcc1-sparc/gcc/ /home/joel/work-gnat/svn/gcc/gcc/testsuite/gcc.c-tor

[Bug c/35574] New: ICE: pdist-3.c

2008-03-13 Thread joel at gcc dot gnu dot org
Executing on host: /home/joel/work-gnat/svn/b-gcc1-sparc/gcc/xgcc -B/home/joel/work-gnat/svn/b-gcc1-sparc/gcc/ /home/joel/work-gnat/svn/gcc/gcc/testsuite/gcc.target/sparc/pdist-3.c gcc_tg.o -mcpu=ultrasparc -mvis -O1 -DSTACK_SIZE=2048 -fno-show-column -B/home/joel/work-gnat/svn/bsp-install/sparc-

[Bug libstdc++/35566] [4.3 Regression] multiset constructor uses insert_unique instead of insert_equal!

2008-03-13 Thread pcarlini at suse dot de
--- Comment #5 from pcarlini at suse dot de 2008-03-13 17:49 --- Fixed for 4.3.1. -- pcarlini at suse dot de changed: What|Removed |Added Status|ASSIGNED

[Bug libstdc++/35566] [4.3 Regression] multiset constructor uses insert_unique instead of insert_equal!

2008-03-13 Thread paolo at gcc dot gnu dot org
--- Comment #4 from paolo at gcc dot gnu dot org 2008-03-13 17:49 --- Subject: Bug 35566 Author: paolo Date: Thu Mar 13 17:48:42 2008 New Revision: 133176 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133176 Log: 2008-03-13 Dennis Czeremin <[EMAIL PROTECTED]> PR libs

[Bug libstdc++/35566] [4.3 Regression] multiset constructor uses insert_unique instead of insert_equal!

2008-03-13 Thread paolo at gcc dot gnu dot org
--- Comment #3 from paolo at gcc dot gnu dot org 2008-03-13 17:49 --- Subject: Bug 35566 Author: paolo Date: Thu Mar 13 17:48:21 2008 New Revision: 133175 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133175 Log: 2008-03-13 Dennis Czeremin <[EMAIL PROTECTED]> PR libs

[Bug libstdc++/35541] Legal C++ program can't be compiled with -D_GLIBCXX_DEBUG

2008-03-13 Thread paolo at gcc dot gnu dot org
--- Comment #6 from paolo at gcc dot gnu dot org 2008-03-13 17:36 --- Subject: Bug 35541 Author: paolo Date: Thu Mar 13 17:36:02 2008 New Revision: 133174 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133174 Log: 2008-03-13 Paolo Carlini <[EMAIL PROTECTED]> PR libstd

[Bug libstdc++/35541] [4.3 Regression] Legal C++ program can't be compiled with -D_GLIBCXX_DEBUG

2008-03-13 Thread pcarlini at suse dot de
--- Comment #7 from pcarlini at suse dot de 2008-03-13 17:38 --- Fixed for 4.3.1. -- pcarlini at suse dot de changed: What|Removed |Added Status|ASSIGNED

[Bug libstdc++/35541] Legal C++ program can't be compiled with -D_GLIBCXX_DEBUG

2008-03-13 Thread paolo at gcc dot gnu dot org
--- Comment #5 from paolo at gcc dot gnu dot org 2008-03-13 17:36 --- Subject: Bug 35541 Author: paolo Date: Thu Mar 13 17:35:40 2008 New Revision: 133173 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133173 Log: 2008-03-13 Paolo Carlini <[EMAIL PROTECTED]> PR libstd

[Bug middle-end/33088] [4.1/4.2 regression] spurious exceptions with -ffloat-store

2008-03-13 Thread rguenther at suse dot de
--- Comment #16 from rguenther at suse dot de 2008-03-13 17:02 --- Subject: Re: [4.1/4.2 regression] spurious exceptions with -ffloat-store On Thu, 13 Mar 2008, pinskia at gcc dot gnu dot org wrote: > --- Comment #15 from pinskia at gcc dot gnu dot org 2008-03-13 17:00 > --

[Bug middle-end/33088] [4.1/4.2 regression] spurious exceptions with -ffloat-store

2008-03-13 Thread pinskia at gcc dot gnu dot org
--- Comment #15 from pinskia at gcc dot gnu dot org 2008-03-13 17:00 --- I think this patch causes invalid gimple to show up at -O0 . With my patches to detect invalid gimple shows that there are a lot of failures with complex and -O0. Did the definition of what is valid gimple for co

[Bug libstdc++/35566] multiset constructor uses insert_unique instead of insert_equal!

2008-03-13 Thread pcarlini at suse dot de
-- pcarlini at suse dot de changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |pcarlini at suse dot de |dot org |

[Bug middle-end/35492] ICE building kernel sk_stream_wait_connect output_operand: invalid operand for 'p' modifier

2008-03-13 Thread hp at gcc dot gnu dot org
--- Comment #2 from hp at gcc dot gnu dot org 2008-03-13 16:54 --- Also repeatable with plain "-O1", at least for cris-*-*. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35492

[Bug c++/35573] internal compiler error: in reference_to_unused, at dwarf2out.c:10010

2008-03-13 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-03-13 16:52 --- This is most likely already fixed in 4.2.3, see PR 31899. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35573

[Bug c++/35573] internal compiler error: in reference_to_unused, at dwarf2out.c:10010

2008-03-13 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |

[Bug c++/35573] New: internal compiler error: in reference_to_unused, at dwarf2out.c:10010

2008-03-13 Thread victormikhailov77 at gmail dot com
ICE when compiling valid code source - machine-generated CORBA stub, produced with TAO IDL compiler cannot copy it becouse of large size of source: 61727 lines command line caused an error: /usr/local/bin/gcc -g -fPIC -DTHREAD -DSOLARIS -DSOLARIS2_7 -I. -I/share/src/ACE_wrappers/TAO -I/shar

[Bug libstdc++/35566] multiset constructor uses insert_unique instead of insert_equal!

2008-03-13 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|major |normal Component|c++ |libstdc++ ht

[Bug c++/35548] [4.3/4.4 Regression] g++ 4.3.{0,1} miscompile this simple program

2008-03-13 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC||rguenth at gcc dot gnu dot |

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

2008-03-13 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2008-03-13 16:39 --- *** Bug 35572 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug ada/35572] POSIX complient putenv() requires its argument NOT to be free'ed

2008-03-13 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-03-13 16:39 --- *** This bug has been marked as a duplicate of 33857 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/35167] Problem with non-type template parameter and name lookup in template.

2008-03-13 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-03-13 16:38 --- *** Bug 35571 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/35571] `static function member` cannot appeat in a constant-expression.

2008-03-13 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-03-13 16:38 --- *** This bug has been marked as a duplicate of 35167 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/35571] `static function member` cannot appeat in a constant-expression.

2008-03-13 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-03-13 16:36 --- Doing: typedef X F; Fixes the error message. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35571

[Bug ada/35572] POSIX complient putenv() requires its argument NOT to be free'ed

2008-03-13 Thread bechir dot zalila at gmail dot com
--- Comment #1 from bechir dot zalila at gmail dot com 2008-03-13 16:35 --- Created an attachment (id=15308) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15308&action=view) patchfile that solves the problem -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35572

[Bug ada/35572] New: POSIX complient putenv() requires its argument NOT to be free'ed

2008-03-13 Thread bechir dot zalila at gmail dot com
In Darwin9 (Mac OS X Leopard), the new implementation of putenv() does not duplicate its argument. Thus, this argument must not be deallocate in gcc/ada/env.c (__gnat_setenv()) Deallocating this argument will corrupt the environment memory causing several program (gnatmake will be unable to locate

[Bug preprocessor/35326] [4.2/4.3/4.4 regression] ICE with stray digraph token

2008-03-13 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2008-03-13 15:53 --- I tried this but was unable to see the ICE. I used trunk, both gcc and g++. What options did you use? Anything special? If you still see an ICE, could you perhaps append a stack trace from cc1? That might help. --

[Bug preprocessor/35322] [4.2/4.3/4.4 regression] ICE with incomplete macro

2008-03-13 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2008-03-13 15:48 --- Testing a patch. -- tromey at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|u

[Bug ada/35567] spurious character in array definition generates gnat error rather than syntax error

2008-03-13 Thread sam at gcc dot gnu dot org
--- Comment #2 from sam at gcc dot gnu dot org 2008-03-13 15:47 --- Confirmed on trunk: GNAT 4.4.0 20080311 (experimental) Copyright 1992-2007, Free Software Foundation, Inc. +===GNAT BUG DETECTED==+ | 4.4.0 20080311 (experimental) (i6

[Bug middle-end/35041] ICE in tree-ssa-ccp.c with -fipa-struct-reorg

2008-03-13 Thread olga at gcc dot gnu dot org
--- Comment #5 from olga at gcc dot gnu dot org 2008-03-13 15:40 --- Subject: Bug 35041 Author: olga Date: Thu Mar 13 15:40:09 2008 New Revision: 133171 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133171 Log: 2008-02-19 Alon Dayan <[EMAIL PROTECTED]> Olga Golova

[Bug c++/35571] `static function member` cannot appeat in a constant-expression.

2008-03-13 Thread pluto at agmk dot net
--- Comment #2 from pluto at agmk dot net 2008-03-13 15:35 --- 4.1.3, msvc8 and comeau accept this code. -- pluto at agmk dot net changed: What|Removed |Added K

[Bug c++/35571] `static function member` cannot appeat in a constant-expression.

2008-03-13 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2008-03-13 15:33 --- *** Bug 35570 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35571

[Bug c++/35570] static functionclass member

2008-03-13 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2008-03-13 15:33 --- sorry, accidental submit. *** This bug has been marked as a duplicate of 35571 *** -- pluto at agmk dot net changed: What|Removed |Added ---

[Bug c++/35571] New: `static function member` cannot appeat in a constant-expression.

2008-03-13 Thread pluto at agmk dot net
template < void ( *F )() > struct X { }; template < typename T > struct Y { static void f() { } typedef X< f > F; }; Y< void > test; $ g++ 0.cpp -c 0.cpp: In instantiation of ‘Y’: 0.cpp:9: instantiated from here 0.cpp:7: error: ‘static void Y::f() [with T = void]’ cannot appear

[Bug c++/35570] New: static functionclass member

2008-03-13 Thread pluto at agmk dot net
template < void ( *F )() > struct X { }; template < typename T > struct Y { static void f() { } typedef X< f > F; }; Y< void > test; $ g++ 0.cpp -c 0.cpp: In instantiation of ‘Y’: 0.cpp:9: instantiated from here 0.cpp:7: error: ‘static void Y::f() [with T = void]’ cannot appear

[Bug libstdc++/35569] New: std::[tr1::]bind result functor doesn't accept rvalues

2008-03-13 Thread rodolfo at rodsoft dot org
The following code doesn't compile with gcc-4.3.0 on c++0x mode: using std; using std::placeholders; bind(multiplies(),4,_1)(5); g++ outputs: teste.cpp:2: error: no match for call to ‘(std::_Bind ()(st d::_Placeholder<1>, int)>) (int)’ /usr/local/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../../inclu

[Bug fortran/33845] Namespace memory cleanup needed

2008-03-13 Thread fxcoudert at gcc dot gnu dot org
--- Comment #1 from fxcoudert at gcc dot gnu dot org 2008-03-13 14:46 --- Reduced testcase: subroutine ouch end ==29512== 2,864 (2,416 direct, 448 indirect) bytes in 13 blocks are definitely lost in loss record 3 of 7 ==29512==at 0x4A1B858: malloc (vg_replace_malloc.c:149) ==29512

[Bug gcov-profile/35568] New: missing gcov data spoils other files.

2008-03-13 Thread ratmice at gmail dot com
gcc version 4.3.0 20080307 (Red Hat 4.3.0-2) (GCC) $ cat foo.sh #!/bin/sh cat >gcov_test.c

[Bug libfortran/35563] [4.4 Regression] Unsatisfied symbols "truncl" and "expl"

2008-03-13 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #3 from dave at hiauly1 dot hia dot nrc dot ca 2008-03-13 14:41 --- Subject: Re: [4.4 Regression] Unsatisfied symbols "truncl" and "expl" > Yes, I'm pretty confident it was fixed. What is the revision number of your > build? PR35524 was fixed with revision 133138. I'm not

[Bug ada/35567] spurious character in array definition generates gnat error rather than syntax error

2008-03-13 Thread jwise at draga dot com
--- Comment #1 from jwise at draga dot com 2008-03-13 14:39 --- Full gcc -v output is as follows, by the way: besaid:~/proj jwise$ /usr/local/ada-4.3/bin/gcc -v Using built-in specs. Target: i686-apple-darwin8 Configured with: /Volumes/FireLite/Shared/Developer/Compiler/gcc-head/configu

[Bug ada/35567] New: spurious character in array definition generates gnat error rather than syntax error

2008-03-13 Thread jwise at draga dot com
Given the following source file (excuse the ada style -- this is reduced to just the error-causing but of a much longer source file in an ongoing translation of a long-standing C program to Ada), the compiler generates the compiler error shown below. Removing the spurious 'I' in the array definiti

[Bug fortran/32600] [ISO Bind C] C_F_POINTER w/o SHAPE should not be a library function

2008-03-13 Thread fxcoudert at gcc dot gnu dot org
-- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |fxcoudert at gcc dot gnu dot |dot org

[Bug fortran/34527] Declaring a variable twice with different characteristics

2008-03-13 Thread fxcoudert at gcc dot gnu dot org
-- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last recon

[Bug libfortran/35563] [4.4 Regression] Unsatisfied symbols "truncl" and "expl"

2008-03-13 Thread fxcoudert at gcc dot gnu dot org
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2008-03-13 14:22 --- Yes, I'm pretty confident it was fixed. What is the revision number of your build? PR35524 was fixed with revision 133138. -- fxcoudert at gcc dot gnu dot org changed: What|Removed

[Bug target/34000] GCC pedwarns about use of static inline functions from system headers in extern inline functions

2008-03-13 Thread uros at gcc dot gnu dot org
--- Comment #19 from uros at gcc dot gnu dot org 2008-03-13 13:34 --- Subject: Bug 34000 Author: uros Date: Thu Mar 13 13:33:47 2008 New Revision: 133169 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133169 Log: PR target/34000 PR target/35553 * config/i

[Bug c++/35553] -fkeep-inline-functions and -O errors out in SSE headers

2008-03-13 Thread uros at gcc dot gnu dot org
--- Comment #4 from uros at gcc dot gnu dot org 2008-03-13 13:34 --- Subject: Bug 35553 Author: uros Date: Thu Mar 13 13:33:47 2008 New Revision: 133169 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133169 Log: PR target/34000 PR target/35553 * config/i3

[Bug c++/35566] multiset constructor uses insert_unique instead of insert_equal!

2008-03-13 Thread dennis dot czeremin at smiths-heimann dot com
--- Comment #2 from dennis dot czeremin at smiths-heimann dot com 2008-03-13 12:28 --- Bug in /trunk/libstdc++-v3/include/bits/stl_multimap.h was introduced with Revision 129013 Modified Thu Oct 4 15:12:34 2007 UTC (5 months, 1 week ago) by paolo No hint about changes. Seems to be a

[Bug c++/35548] g++ 4.3.{0,1} miscompile this simple program

2008-03-13 Thread varg at theor dot jinr dot ru
--- Comment #3 from varg at theor dot jinr dot ru 2008-03-13 11:17 --- Even more simple program: template class ptr { T* p; public: ptr(T* t) throw() : p(t) { p->set_refcount(1); } explicit ptr(T& t) throw() : p(&t) {

[Bug target/35366] [4.4 Regression] gfortran.dg/equiv_7.f90 fails with -m64 -Os on powerpc-apple-darwin9

2008-03-13 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2008-03-13 11:07 --- If I revert the patch of revision 132566, the failure disappears. It seems that the condition "(STRICT_ALIGNMENT || !optimize_size)" should be tune to handle the -m64 option. -- http://gcc.gnu.org/bugzilla/show_b

[Bug c++/35566] multiset constructor uses insert_unique instead of insert_equal!

2008-03-13 Thread dennis dot czeremin at smiths-heimann dot com
--- Comment #1 from dennis dot czeremin at smiths-heimann dot com 2008-03-13 10:48 --- Created an attachment (id=15307) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15307&action=view) Testcase to reproduce bug [EMAIL PROTECTED] test]$g++ -v -save-temps -O0 -ggdb -Wall -Wextra -p

[Bug c++/35566] New: multiset constructor uses insert_unique instead of insert_equal!

2008-03-13 Thread dennis dot czeremin at smiths-heimann dot com
Using the constructor of a multimap with 2 input iterators does not insert multible keys any longer (gcc-4.2.3 had done it) fix: Replace insert_unique with insert_equal in /usr/local/gcc-4.3.0/include/c++/4.3.0/bits/stl_multimap.h: 190- * @param first An input iterator. 191- * @pa

[Bug testsuite/35565] ERROR: (DejaGnu) proc "sd" does not exist.

2008-03-13 Thread bonzini at gnu dot org
--- Comment #1 from bonzini at gnu dot org 2008-03-13 10:46 --- has already been reported and fixed -- bonzini at gnu dot org changed: What|Removed |Added Sta

[Bug testsuite/35565] New: ERROR: (DejaGnu) proc "sd" does not exist.

2008-03-13 Thread dominiq at lps dot ens dot fr
The gcc testsuite aborts on i686-* targets with: ERROR: (DejaGnu) proc "sd" does not exist. This happens since revision 133144: http://gcc.gnu.org/ml/gcc-testresults/2008-03/msg00907.html Revision: 133143 === gcc tests === Running target unix FAIL: gcc.dg/torture/builtin-math-4.c -O0 (test

[Bug middle-end/35185] ICE using openmp with g++-4.2

2008-03-13 Thread jakub at gcc dot gnu dot org
--- Comment #11 from jakub at gcc dot gnu dot org 2008-03-13 09:59 --- Fixed for 4.3.1 and later. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/35185] ICE using openmp with g++-4.2

2008-03-13 Thread jakub at gcc dot gnu dot org
--- Comment #10 from jakub at gcc dot gnu dot org 2008-03-13 09:58 --- Subject: Bug 35185 Author: jakub Date: Thu Mar 13 09:57:34 2008 New Revision: 133165 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133165 Log: PR middle-end/35185 * omp-low.c (lower_regimplif

[Bug c++/35553] -fkeep-inline-functions and -O errors out in SSE headers

2008-03-13 Thread uros at gcc dot gnu dot org
--- Comment #3 from uros at gcc dot gnu dot org 2008-03-13 09:50 --- Subject: Bug 35553 Author: uros Date: Thu Mar 13 09:49:43 2008 New Revision: 133164 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133164 Log: PR target/35553 * config/i386/i386.h (TARGET_CPU_CP

[Bug c++/35469] [4.3/4.4 Regression] Rejects JArray

2008-03-13 Thread rguenth at gcc dot gnu dot org
--- Comment #11 from rguenth at gcc dot gnu dot org 2008-03-13 09:34 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Known to fail|

[Bug c++/20140] template function complains about "char-array initialized from wide string"

2008-03-13 Thread rwxr-xr-x at gmx dot de
--- Comment #2 from rwxr-xr-x at gmx dot de 2008-03-13 09:28 --- Heh, this "new" bug still exists in 4.3.0. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20140

[Bug middle-end/35185] ICE using openmp with g++-4.2

2008-03-13 Thread jakub at gcc dot gnu dot org
--- Comment #9 from jakub at gcc dot gnu dot org 2008-03-13 09:27 --- Subject: Bug 35185 Author: jakub Date: Thu Mar 13 09:26:25 2008 New Revision: 133162 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133162 Log: PR middle-end/35185 * omp-low.c (lower_regimplify

[Bug tree-optimization/33361] ICE in find_outermost_region_in_block, at tree-cfg.c:4803

2008-03-13 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33361

[Bug middle-end/35099] [4.3/4.4 Regression] ICE in remove_unreachable_regions with -O -fopenmp

2008-03-13 Thread reichelt at gcc dot gnu dot org
--- Comment #9 from reichelt at gcc dot gnu dot org 2008-03-13 08:17 --- Fixed by Jakub's patch. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/35439] ICE using threadprivate for broken variable

2008-03-13 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35439

[Bug c/35438] ICE with invalid use of threadprivate

2008-03-13 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35438

[Bug c++/35328] ICE with firstprivate variable with invalid destructor

2008-03-13 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35328

[Bug target/35054] No documentation of #pragma push_macro("macro_name")

2008-03-13 Thread dannysmith at users dot sourceforge dot net
--- Comment #3 from dannysmith at users dot sourceforge dot net 2008-03-13 07:08 --- Fixed for 4.4.0 -- dannysmith at users dot sourceforge dot net changed: What|Removed |Added --

[Bug target/35054] No documentation of #pragma push_macro("macro_name")

2008-03-13 Thread dannysmith at gcc dot gnu dot org
--- Comment #2 from dannysmith at gcc dot gnu dot org 2008-03-13 07:07 --- Subject: Bug 35054 Author: dannysmith Date: Thu Mar 13 07:06:30 2008 New Revision: 133161 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133161 Log: PR 35054 * doc/extend.texi (Structure-

  1   2   >