[Bug c/36867] New: i was getting the error as below when i am making

2008-07-18 Thread k dot sandyz at gmail dot com
gcc: cannot specify -o with -c or -S and multiple compilations make: *** [clicmds.def] Error 1 -- Summary: i was getting the error as below when i am making Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug bootstrap/36864] [4.4 Regression] Yet another bootstrap failure on i686-apple-darwin9

2008-07-18 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2008-07-18 06:46 --- This is due to revision 137859: 2008-07-15 Daniel Berlin [EMAIL PROTECTED] * tree-ssa-sccvn.c (expressions_equal_p): Check type equality. * tree-ssa-pre.c (pre_expr_eq): Ditto

[Bug c++/36852] [4.3/4.4 Regression] Two dimensional array in template method argument list incorrectly interpreted.

2008-07-18 Thread djh at emss dot co dot za
--- Comment #4 from djh at emss dot co dot za 2008-07-18 07:13 --- using your t.h file, the following command g++ -v -save-temps -x c++-header -c t.h -o .obj/test.gch/c++ gives the following output code Using built-in specs. Target: i686-pc-linux-gnu Configured with: ./configure

[Bug middle-end/36858] Incorrect alignment attribute on stack parameter

2008-07-18 Thread aldot at gcc dot gnu dot org
--- Comment #2 from aldot at gcc dot gnu dot org 2008-07-18 08:14 --- is this PR36450 ? -- aldot at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug c/36867] i was getting the error as below when i am making

2008-07-18 Thread aldot at gcc dot gnu dot org
--- Comment #1 from aldot at gcc dot gnu dot org 2008-07-18 08:32 --- Please read http://gcc.gnu.org/bugs.html and fill in the missing information accordingly. Note that this sounds more like a bug in the buildsystem of your application rather than a bug in gcc. --

[Bug target/36834] structure return ABI for windows targets differs from native MSVC

2008-07-18 Thread mattias at virtutech dot se
--- Comment #3 from mattias at virtutech dot se 2008-07-18 09:43 --- Thank you. Should the option be enabled by default on i686-pc-mingw32? Perhaps not, but it does make good on a previously broken ABI promise. The test case in that patch only covers the callee, not the caller. The

[Bug rtl-optimization/35281] [4.3 Regression] multiply with 0 generated for 64*32-64

2008-07-18 Thread bonzini at gnu dot org
--- Comment #19 from bonzini at gnu dot org 2008-07-18 11:45 --- bootstrapped/regtested on 4.3 branch, committed there too -- bonzini at gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/35281] [4.3 Regression] multiply with 0 generated for 64*32-64

2008-07-18 Thread bonzini at gcc dot gnu dot org
--- Comment #20 from bonzini at gnu dot org 2008-07-18 11:45 --- Subject: Bug 35281 Author: bonzini Date: Fri Jul 18 11:44:57 2008 New Revision: 137942 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=137942 Log: gcc: 2008-07-18 Paolo Bonzini [EMAIL PROTECTED] PR

[Bug middle-end/36858] Incorrect alignment attribute on stack parameter

2008-07-18 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2008-07-18 12:30 --- (In reply to comment #2) is this PR36450 ? No. PR36450 will be fixed by stack branch merge. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36858

[Bug fortran/36824] gfortran does not recognize constant array bounds in dimension attribute of type component

2008-07-18 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2008-07-18 13:18 --- Subject: Bug 36824 Author: burnus Date: Fri Jul 18 13:17:49 2008 New Revision: 137949 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=137949 Log: The new file gfortran.dg/array_4.f90 was missing from the commit

[Bug fortran/36534] Bogus: '__convert_s1_s4' at (1) is obsolescent in fortran 95

2008-07-18 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2008-07-18 13:28 --- Note: The test case parameter_array_init_4.f90 (Rev. 137950) now avoids the conversion by using kind-4 literals. However, the bug itself is still present. See example in comment #0. --

[Bug middle-end/36770] PowerPC missed autoincrement opportunity

2008-07-18 Thread bonzini at gnu dot org
--- Comment #4 from bonzini at gnu dot org 2008-07-18 13:41 --- auto-inc-dec should be taught about transforming a - b + c ... *(b + c) into a - b ... *(a += c) pre -- bonzini at gnu dot org changed: What|Removed |Added

[Bug middle-end/36770] PowerPC missed autoincrement opportunity

2008-07-18 Thread bonzini at gnu dot org
--- Comment #5 from bonzini at gnu dot org 2008-07-18 14:13 --- Hmm, even that wouldn't restore the optimization. The problem here is that there is another access via b, like a - b + c *b *(b + c) The bad placement of the first assignment (bad because doing it the other way

[Bug middle-end/36858] Incorrect alignment attribute on stack parameter

2008-07-18 Thread hjl at gcc dot gnu dot org
--- Comment #4 from hjl at gcc dot gnu dot org 2008-07-18 15:43 --- Subject: Bug 36858 Author: hjl Date: Fri Jul 18 15:42:59 2008 New Revision: 137954 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=137954 Log: gcc/ 2008-07-18 H.J. Lu [EMAIL PROTECTED] PR

[Bug middle-end/36859] Caller/callee mismatch for vararg on stack

2008-07-18 Thread hjl at gcc dot gnu dot org
--- Comment #2 from hjl at gcc dot gnu dot org 2008-07-18 15:48 --- Subject: Bug 36859 Author: hjl Date: Fri Jul 18 15:48:04 2008 New Revision: 137955 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=137955 Log: gcc/ 2008-07-18 H.J. Lu [EMAIL PROTECTED] PR

[Bug middle-end/36826] [4.4 Regression] ICE in fold_convert, at fold-const.c:2528

2008-07-18 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-07-18 16:46 --- SCCVN/PRE issue. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/36864] [4.4 Regression] Yet another bootstrap failure on i686-apple-darwin9

2008-07-18 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36864

[Bug tree-optimization/35642] [4.4 Regression] short * short multiplication not vectorized on Power

2008-07-18 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35642

[Bug testsuite/36332] [4.4 Regression] FAIL: gcc.dg/torture/type-generic-1.c execution test on powerpc-*

2008-07-18 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Keywords||wrong-code Priority|P3 |P1

[Bug fortran/36342] [4.4 Regression] Missing file name in compilation diagnostics of preprocessed fortran source

2008-07-18 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36342

[Bug fortran/36403] [4.4 Regression] Some fortran tests using eoshift fail on SH

2008-07-18 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36403

[Bug middle-end/36554] [4.4 regression] verify_flow_info ICE can not throw but has EH edges

2008-07-18 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36554

[Bug middle-end/36574] [4.4 Regression] build broken with cgraph changes

2008-07-18 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36574

[Bug tree-optimization/36630] [4.3/4.4 Regression] ICE in vect_update_ivs_after_vectorizer

2008-07-18 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36630

[Bug middle-end/36633] [4.4 Regression] warning array subscript is below array bounds on delete [] with -O2, -Wall

2008-07-18 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Keywords||diagnostic Known to work||4.3.1

[Bug preprocessor/36649] [4.3/4.4 Regression] -H option doesn't work as expected

2008-07-18 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Component|pch |preprocessor Priority|P3 |P2

[Bug debug/36668] [4.4 Regression] FAIL: g++.dg/other/PR23205.C scan-assembler .stabs.*foobar:c=i

2008-07-18 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36668

[Bug middle-end/36701] [4.4 Regression] unaligned access in gcc.c-torture/execute/complex-7.c

2008-07-18 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Keywords||wrong-code Priority|P3 |P1

[Bug bootstrap/36702] [4.4 Regression] Bootstrap fails at revision 137369 on i686-apple-darwin9

2008-07-18 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-07-18 16:57 --- Is this fixed? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/36738] [4.4 Regression] Yet another bootstrap failure at rev. 137502 on darwin9

2008-07-18 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-07-18 16:58 --- What's the status on this? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/36745] [4.4 Regression] ICE in gen_reg_rtx, at emit-rtl.c:868

2008-07-18 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2008-07-18 16:59 --- Fixed I guess. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/36758] [4.3/4.4 Regression] address addition moved out of the loop

2008-07-18 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36758

[Bug tree-optimization/36766] [4.4 Regression] natGC.cc:229: internal compiler error: Segmentation fault

2008-07-18 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2008-07-18 17:00 --- Is this fixed now? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/36574] [4.4 Regression] build broken with cgraph changes

2008-07-18 Thread hubicka at gcc dot gnu dot org
--- Comment #3 from hubicka at gcc dot gnu dot org 2008-07-18 17:00 --- I believe this is the same issue as for Darwin that was fixed shortly after GCCsummit. I am going to build cross to double check. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36574

[Bug target/36786] [4.4 Regression] ICE in extract_insn, at recog.c:1990

2008-07-18 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-07-18 17:00 --- Appearantly waiting for feedback. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/36792] [4.4 Regression] Revision 137631 causes many failures

2008-07-18 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36792

[Bug target/36806] [4.4 Regression] I/Os hang at rev. 137631 on darwin9

2008-07-18 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2008-07-18 17:02 --- What's the status here? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/36822] [4.4 Regression] ICE in subst_reloads

2008-07-18 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36822

[Bug tree-optimization/36830] [4.4 Regression] STORAGE_ERROR raised compiling s-os_lib.adb

2008-07-18 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added GCC target triplet||hppa2.0w-hp-hpux11.11 Priority|P3

[Bug c++/36865] Build of libdap 3.8.2 fails internal compiler error: in set_rhs, at tree-ssa-propagate.c

2008-07-18 Thread jhuddleston at hughes dot net
--- Comment #2 from jhuddleston at hughes dot net 2008-07-18 17:16 --- When the -O2 was removed the latest (subversion 137930) compiled it OK. Any optimization flags caused the compile to fail -- jhuddleston at hughes dot net changed: What|Removed

[Bug java/36847] [4.4 Regression]: FAIL: StackTrace2 -O3 execution - source compiled test

2008-07-18 Thread tromey at gcc dot gnu dot org
--- Comment #1 from tromey at gcc dot gnu dot org 2008-07-18 17:32 --- Just FYI -- this is known fallout from the patch to remove no-unit-at-a-time. Andrew Haley is looking into it. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/36865] Build of libdap 3.8.2 fails internal compiler error: in set_rhs, at tree-ssa-propagate.c

2008-07-18 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-07-18 18:19 --- Please attach preprocessed source which you get when appending -save-temps to the compilation command. The file will be named Structure.ii. -- rguenth at gcc dot gnu dot org changed: What

[Bug c/36868] New: -ftrapv doesn't trap

2008-07-18 Thread mrs at apple dot com
The -ftrapv doesn't seem to want to generate code that will trap on overflow with optimization. I've tried with and without -fwrapv to try and get it to work. $ cat t.c #include stdio.h int foo( int a) { if (a + 100 a) { printf(Integer overflow detected!\n); } else {

[Bug c/36868] -ftrapv doesn't trap

2008-07-18 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-07-18 18:22 --- *** This bug has been marked as a duplicate of 19020 *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/19020] libcalls are removed (-ftrapv does not work)

2008-07-18 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2008-07-18 18:22 --- *** Bug 36868 has been marked as a duplicate of this bug. *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/36806] [4.4 Regression] I/Os hang at rev. 137631 on darwin9

2008-07-18 Thread andreast at gcc dot gnu dot org
--- Comment #13 from andreast at gcc dot gnu dot org 2008-07-18 18:52 --- still hanging on x86_64-apple-darwin, rev 137959. Did I miss a patch to test ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36806

[Bug c/36869] New: OpenMP issue in gcc vs icc

2008-07-18 Thread kemalihsan dot 1 at gmail dot com
Hello all, I guess there is something wrong with gcc 4.3.1 + openmp. Here how it went with me Well on this page : http://www.kallipolis.com/openmp/1.html I tried taylor.c and taylor_mp.c compiler options as follows: gcc -O3 taylor.c -o taylor_gcc icc -O3 taylor.c -o taylor_icc gcc -O3

[Bug c++/36865] Build of libdap 3.8.2 fails internal compiler error: in set_rhs, at tree-ssa-propagate.c

2008-07-18 Thread jhuddleston at hughes dot net
--- Comment #4 from jhuddleston at hughes dot net 2008-07-18 19:27 --- Created an attachment (id=15928) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15928action=view) Output from the g++ compile of Structure.cc -v -save-temps subversion 137930 [EMAIL PROTECTED] requested that

[Bug middle-end/36574] [4.4 Regression] build broken with cgraph changes

2008-07-18 Thread hp at gcc dot gnu dot org
--- Comment #4 from hp at gcc dot gnu dot org 2008-07-18 19:41 --- Right, it was promptly fixed, details forgotten. -- hp at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/36870] New: __has_nothrow_constructor violates the ODR

2008-07-18 Thread sebor at roguewave dot com
The programs below detect an ODR violation in the libstdc++ implementation of std::has_nothrow_default_constructor and the __has_nothrow_constructor built-in compiler trait (hence I'm filing this as a bug in the c++ front end rather than libstdc++). $cat u.cpp \ g++ -c -std=gnu++0x -o 1.o

[Bug middle-end/35696] Segmentation fault

2008-07-18 Thread sam dot hendley at plymouthsystems dot com
--- Comment #4 from sam dot hendley at plymouthsystems dot com 2008-07-18 20:00 --- Created an attachment (id=15929) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15929action=view) Preprocessed file created by seg fault -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35696

[Bug target/36806] [4.4 Regression] I/Os hang at rev. 137631 on darwin9

2008-07-18 Thread andreast at gcc dot gnu dot org
--- Comment #14 from andreast at gcc dot gnu dot org 2008-07-18 20:13 --- As long as 36864 is open we can not test this one on i686-apple-darwin. -- andreast at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/36865] Build of libdap 3.8.2 fails internal compiler error: in set_rhs, at tree-ssa-propagate.c

2008-07-18 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2008-07-18 20:16 --- *** This bug has been marked as a duplicate of 36511 *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/36511] [4.4 Regression] ice for legal code with -O2

2008-07-18 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-07-18 20:16 --- *** Bug 36865 has been marked as a duplicate of this bug. *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/36407] [4.3/4.4 regression] ICE with conversion and -fpermissive

2008-07-18 Thread dodji at gcc dot gnu dot org
--- Comment #7 from dodji at gcc dot gnu dot org 2008-07-18 20:16 --- Subject: Bug 36407 Author: dodji Date: Fri Jul 18 20:15:22 2008 New Revision: 137964 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=137964 Log: 2008-07-18 Dodji Seketeli [EMAIL PROTECTED] PR

[Bug tree-optimization/36511] [4.4 Regression] ice for legal code with -O2

2008-07-18 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-07-18 20:17 --- This is fixed on the tuples branch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36511

[Bug bootstrap/36702] [4.4 Regression] Bootstrap fails at revision 137369 on i686-apple-darwin9

2008-07-18 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2008-07-18 20:22 --- Is this fixed? As far as I can tell, yes. -- dominiq at lps dot ens dot fr changed: What|Removed |Added

[Bug target/36806] [4.4 Regression] I/Os hang at rev. 137631 on darwin9

2008-07-18 Thread rguenther at suse dot de
--- Comment #15 from rguenther at suse dot de 2008-07-18 20:23 --- Subject: Re: [4.4 Regression] I/Os hang at rev. 137631 on darwin9 On Fri, 18 Jul 2008, andreast at gcc dot gnu dot org wrote: --- Comment #13 from andreast at gcc dot gnu dot org 2008-07-18 18:52 ---

[Bug c++/36407] [4.3/4.4 regression] ICE with conversion and -fpermissive

2008-07-18 Thread dodji at gcc dot gnu dot org
--- Comment #8 from dodji at gcc dot gnu dot org 2008-07-18 20:41 --- Subject: Bug 36407 Author: dodji Date: Fri Jul 18 20:40:42 2008 New Revision: 137966 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=137966 Log: 2008-07-18 Dodji Seketeli [EMAIL PROTECTED] PR

[Bug bootstrap/36738] [4.4 Regression] Yet another bootstrap failure at rev. 137502 on darwin9

2008-07-18 Thread dominiq at lps dot ens dot fr
--- Comment #3 from dominiq at lps dot ens dot fr 2008-07-18 20:47 --- I think it has been fixed on July 14th or soon after, but I cannot find any pointer. Marked as fixed, please reopen if not. -- dominiq at lps dot ens dot fr changed: What|Removed

[Bug c++/36870] __has_nothrow_constructor violates the ODR

2008-07-18 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-07-18 20:58 --- I think this is by designed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36870

[Bug target/36786] [4.4 Regression] ICE in extract_insn, at recog.c:1990

2008-07-18 Thread uros at gcc dot gnu dot org
--- Comment #5 from uros at gcc dot gnu dot org 2008-07-18 21:02 --- Subject: Bug 36786 Author: uros Date: Fri Jul 18 21:01:59 2008 New Revision: 137967 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=137967 Log: PR target/36786 * config/i386/i386.md

[Bug target/36786] [4.4 Regression] ICE in extract_insn, at recog.c:1990

2008-07-18 Thread ubizjak at gmail dot com
--- Comment #6 from ubizjak at gmail dot com 2008-07-18 21:04 --- Fixed. -- ubizjak at gmail dot com changed: What|Removed |Added URL|

[Bug bootstrap/36864] [4.4 Regression] Yet another bootstrap failure on i686-apple-darwin9

2008-07-18 Thread andreast at gcc dot gnu dot org
--- Comment #5 from andreast at gcc dot gnu dot org 2008-07-18 21:05 --- Also happens on hppa2.0w-hp-hpux11.11 -- andreast at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/36870] __has_nothrow_constructor violates the ODR

2008-07-18 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2008-07-18 21:10 --- I'm not sure ;) But I can say that probably when I was playing with testcases I noticed something going on about this issue and didn't find it meaningless... Have to think a bit more about this. Maybe Mark

[Bug c++/36870] __has_nothrow_constructor violates the ODR

2008-07-18 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-07-18 21:17 --- (In reply to comment #1) I think this is by designed. See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26099 in fact I knew we tested this too ... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36870

[Bug c++/36870] __has_nothrow_constructor violates the ODR

2008-07-18 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2008-07-18 21:31 --- gosh, my memory vanishes. Yes, Andrew is right, we have already discussed this. In my reading of the specifications (I don't think there are important news here) the compiler may or may not be able to figure

[Bug c++/36870] __has_nothrow_constructor violates the ODR

2008-07-18 Thread sebor at roguewave dot com
--- Comment #5 from sebor at roguewave dot com 2008-07-18 21:47 --- (In reply to comment #4) The ODR is important from an ABI standpoint -- imagine a function template that uses SFINAE and std::has_nothrow_default_constructorT::type. Simply rearranging code or even compiling multiple

[Bug c++/36870] __has_nothrow_constructor violates the ODR

2008-07-18 Thread paolo dot carlini at oracle dot com
--- Comment #6 from paolo dot carlini at oracle dot com 2008-07-18 21:56 --- In any case I remain unconvinced that known not to throw any exceptions is the proper way to enforce the requirement. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36870

[Bug c++/36407] [4.3/4.4 regression] ICE with conversion and -fpermissive

2008-07-18 Thread dodji at gcc dot gnu dot org
--- Comment #9 from dodji at gcc dot gnu dot org 2008-07-18 22:05 --- Fixed, applied to trunk and in gcc-4_3-branch. -- dodji at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/36870] __has_nothrow_constructor violates the ODR

2008-07-18 Thread sebor at roguewave dot com
--- Comment #7 from sebor at roguewave dot com 2008-07-18 22:11 --- FYI: I discussed the wording briefly with Daveed (eccp returns true if and only if the class has a trivial ctor or the ctor has a throw() spec on it, for just this reason). We agree that the wording is unclear and

[Bug c++/36870] __has_nothrow_constructor violates the ODR

2008-07-18 Thread paolo dot carlini at oracle dot com
--- Comment #8 from paolo dot carlini at oracle dot com 2008-07-18 22:13 --- I think we can easily fix the issue by checking TYPE_RAISES_EXCEPTIONS (TREE_TYPE (t)) instead of TREE_NOTHROW (t) -- paolo dot carlini at oracle dot com changed: What|Removed

[Bug c++/36870] __has_nothrow_constructor violates the ODR

2008-07-18 Thread paolo dot carlini at oracle dot com
--- Comment #9 from paolo dot carlini at oracle dot com 2008-07-18 22:17 --- Thanks Martin. In fact, I think Mark agrees with Daveed on this, I clearly remember he was unimpressed by the current wording. If Mark confirms that my Comment #8 is by and large correct I can implement a

[Bug c/36845] The compiler fails to build the support libraries and generates incorrect code for a target

2008-07-18 Thread wvangulik at xs4all dot nl
--- Comment #1 from wvangulik at xs4all dot nl 2008-07-18 22:31 --- This is because binutils 2.18 does not support architecture 35. Please update to 2.18.5 (dev snapshot) ftp://sourceware.org/pub/binutils/snapshots. Search the avr-gcc list for more info. --

[Bug c++/36870] __has_nothrow_constructor violates the ODR

2008-07-18 Thread paolo dot carlini at oracle dot com
--- Comment #10 from paolo dot carlini at oracle dot com 2008-07-18 22:31 --- More exactly, the idea is replacing: TREE_NOTHROW (t) with TYPE_NOTHROW_P (TREE_TYPE (t)) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36870

[Bug c++/36870] __has_nothrow_constructor violates the ODR

2008-07-18 Thread mmitchel at gcc dot gnu dot org
--- Comment #11 from mmitchel at gcc dot gnu dot org 2008-07-18 22:52 --- Paolo -- I agree; that seems the right fix. I don't think this should depend on what the compiler happens to be able to prove about the body of the function; it's way too unstable in the face of optimization,

[Bug libstdc++/30085] switch debug mode hash containers from ext to tr1

2008-07-18 Thread paolo dot carlini at oracle dot com
--- Comment #7 from paolo dot carlini at oracle dot com 2008-07-19 00:26 --- Benjamin, the problem is that _Safe_association doesn't inherit from _Safe_sequence: everything in _Safe_association having to do with safe iterator construction (eg., simply in begin()) breaks because the

[Bug c++/36870] __has_nothrow_constructor violates the ODR

2008-07-18 Thread paolo dot carlini at oracle dot com
--- Comment #12 from paolo dot carlini at oracle dot com 2008-07-19 00:29 --- Thanks Mark, will do and submit. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36870

[Bug c++/36871] New: __has_nothrow_copy(T) false for T with a template ctor

2008-07-18 Thread sebor at roguewave dot com
The program below is expected to run with no assertions (template ctor is not a copy ctor). Instead, when compiled with gcc 4.3.0, it aborts. $ cat u.cpp g++ u.cpp -std=c++0x ./a.out #include cassert #include type_traits struct A { template class T A (T) throw (int); }; struct B { B (B) throw

[Bug c++/36871] __has_nothrow_copy(T) false for T with a template ctor

2008-07-18 Thread sebor at roguewave dot com
--- Comment #1 from sebor at roguewave dot com 2008-07-19 00:44 --- This also fails. Seems that the combination of a copy ctor and template ctor (even non-throwing) trips the compiler up. $ cat u.cpp g++ u.cpp -std=c++0x ./a.out #include cassert #include type_traits struct F {

[Bug c++/36871] __has_nothrow_copy(T) false for T with a template ctor

2008-07-18 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2008-07-19 00:48 --- Yes, ok... -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c++/36872] New: __has_nothrow_copy(T) false for T with a throwing vararg ctor

2008-07-18 Thread sebor at roguewave dot com
Similarly to (but not exactly the same as) the template ctor in bug 36871, gcc 4.3.0 trips up on class with a throwing vararg ctor (regardless of the number of arguments): $ cat u.cpp g++ u.cpp -std=c++0x ./a.out #include cassert #include type_traits struct S { S (const S) throw (); S

[Bug c++/36872] __has_nothrow_copy(T) false for T with a throwing vararg ctor

2008-07-18 Thread sebor at roguewave dot com
--- Comment #1 from sebor at roguewave dot com 2008-07-19 00:53 --- Or any other throwing ctor, for that matter: $ cat u.cpp g++ u.cpp -std=c++0x ./a.out #include cassert struct S { S (const S) throw (); S (int) throw (int); }; int main () { assert (__has_nothrow_copy

[Bug c++/36872] __has_nothrow_copy(T) false for T with a throwing vararg ctor

2008-07-18 Thread paolo dot carlini at oracle dot com
-- paolo dot carlini at oracle dot com changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |paolo dot carlini at oracle |dot org

[Bug c++/36872] __has_nothrow_copy(T) false for T with a throwing vararg ctor

2008-07-18 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2008-07-19 00:57 --- Martin, Ok. I know where the problem is for __has_nothrow_copy and assign. Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36872