[Bug debug/34249] [4.3 Regression] FAIL: gcc.dg/tree-prof/bb-reorg.c compilation, -fprofile-use -D_PROFILE_USE

2008-01-15 Thread ubizjak at gmail dot com
-- ubizjak at gmail dot com changed: What|Removed |Added Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34249

[Bug fortran/34805] defined assignment not allowed to vector subscripted array

2008-01-15 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2008-01-16 07:23 --- The error message is strange, but an error is not necessarily wrong. Other compilers show the following messages: NAG f95 shows the error: Error: line 29: Argument T (no. 1) of C_U_TO_T is OUT or INOUT but is not a

[Bug fortran/34796] [4.3 Regression] Too strict error checking for assumed-shaped array

2008-01-15 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2008-01-16 07:13 --- Fixed on the trunk (4.3.0). -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/34796] [4.3 Regression] Too strict error checking for assumed-shaped array

2008-01-15 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2008-01-16 07:12 --- Subject: Bug 34796 Author: burnus Date: Wed Jan 16 07:12:00 2008 New Revision: 131566 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131566 Log: 2008-01-16 Tobias Burnus <[EMAIL PROTECTED]> PR fort

[Bug fortran/34795] inquire statement , direct= specifier incorrectly returns YES

2008-01-15 Thread jvdelisle at gcc dot gnu dot org
-- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jvdelisle at gcc dot gnu dot |dot org

[Bug fortran/34795] inquire statement , direct= specifier incorrectly returns YES

2008-01-15 Thread jvdelisle at gcc dot gnu dot org
--- Comment #4 from jvdelisle at gcc dot gnu dot org 2008-01-16 05:32 --- I am not making a decision here yet. I will keep this PR open until I fix another minor issue I have found. I would like to comment that to do what you want to do here without any ambiguity your code should be u

[Bug middle-end/34483] wo_prof_two_strs.c:56: internal compiler error: in find_new_var_of_type, at ipa-struct-reorg.c:605

2008-01-15 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #33 from dave at hiauly1 dot hia dot nrc dot ca 2008-01-16 02:33 --- Subject: Re: wo_prof_two_strs.c:56: internal compiler error: in find_new_var_of_type, at ipa-struct-reorg.c:605 > I gave it another push. The following is a patch solving inconsistency of the > data struc

[Bug rtl-optimization/25609] too agressive printf optimization

2008-01-15 Thread gustavodn at gmail dot com
--- Comment #21 from gustavodn at gmail dot com 2008-01-16 01:52 --- (In reply to comment #20) > Anyway, if you really want to believe that printf("%s\n",s) and puts(s) should > not have the same effect for defined behaviour, then we will have to agree to > disagree. That's confused, wh

[Bug middle-end/28690] [4.2 Regression] Performace problem with indexed load/stores on powerpc

2008-01-15 Thread bergner at gcc dot gnu dot org
--- Comment #46 from bergner at gcc dot gnu dot org 2008-01-16 01:51 --- This is fixed on mainline and we're not going to backport it to 4.2, so I'm changing the target milestone. -- bergner at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/34795] inquire statement , direct= specifier incorrectly returns YES

2008-01-15 Thread jvdelisle at gcc dot gnu dot org
--- Comment #3 from jvdelisle at gcc dot gnu dot org 2008-01-16 01:48 --- I will investigate this further. This has come up before in other previous reports. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34795

[Bug fortran/34795] inquire statement , direct= specifier incorrectly returns YES

2008-01-15 Thread kendrick dot killian at colostate dot edu
--- Comment #2 from kendrick dot killian at colostate dot edu 2008-01-16 00:50 --- Subject: Re: inquire statement , direct= specifier incorrectly returns YES There is a three part definition of correct answer that mirrors arguments in the formatted/unformatted thread. Noting that the

[Bug c/34803] wrong code for dereferencing type-punned pointer

2008-01-15 Thread gin at mo dot msk dot ru
--- Comment #3 from gin at mo dot msk dot ru 2008-01-16 00:49 --- Subject: Re: wrong code for dereferencing type-punned pointer > obviously violating c aliasing rules here. Certainly. Was quite explicit about that: That is, `-fno-strict-aliasing' no longer disables optimizations

[Bug middle-end/31309] [4.1/4.2 regression] reads/writes past end of structure

2008-01-15 Thread peeterj at ca dot ibm dot com
--- Comment #22 from peeterj at ca dot ibm dot com 2008-01-16 00:04 --- re: Fixed on the mainline. I'm not sure we want to put this on the other branches. Not knowing the gcc code in question, I can't comment on how much potential regression risk this fix will introduce. Assuming it's

[Bug fortran/34804] Porting aid: flag to disable BYTE, INTEGER*1 and INTEGER(KIND=1)

2008-01-15 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-01-15 23:02 --- I don't think you can disable these types. If your target does not support them, something is wrong. How is char defined for your target? sizeof(char) needs to be 1 to be complaint to C. -- pinskia at gcc do

[Bug c++/34806] gcc/cp/parser.c:9411: error: ISO C90 forbids mixed declarations and code

2008-01-15 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-01-15 23:03 --- Flixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIR

[Bug c/34803] wrong code for dereferencing type-punned pointer

2008-01-15 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-01-15 22:47 --- unsigned char *extptr; ((aliasing_u) &extptr)->p = c; Well you are obviously violating c aliasing rules here. the warning does not happen is a different issue. -- pinskia at gcc dot gnu dot org chang

[Bug c++/34806] New: gcc/cp/parser.c:9411: error: ISO C90 forbids mixed declarations and code

2008-01-15 Thread dominiq at lps dot ens dot fr
Building c++ fails with: ... /opt/gcc/i686-darwin/./prev-gcc/xgcc -B/opt/gcc/i686-darwin/./prev-gcc/ -B/opt/gcc/gcc4.3w/i686-apple-darwin9/bin/ -c -g -O2 -fomit-frame-pointer -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attr

[Bug fortran/34805] New: defined assignment not allowed to vector subscripted array

2008-01-15 Thread dick dot hendrickson at gmail dot com
The test program gives the message: c_tests_cg0018.f:28.20: TLA1L(NFV1) = UDA1R 1 Error: Can't convert TYPE(seq) to TYPE(unseq) at (1) Where NFV1 is an integer scalar array. I believe the error is incorrect. This is from the SHAPE95 test suite. This test was contentious

[Bug rtl-optimization/25609] too agressive printf optimization

2008-01-15 Thread manu at gcc dot gnu dot org
--- Comment #20 from manu at gcc dot gnu dot org 2008-01-15 21:49 --- (In reply to comment #19) > (In reply to comment #17) > > This will be fixed yesterday if printf("%s\n", s) were equivalent to > > puts(s) in > > glibc. > > [+] The standard requires them to be equivalent? Per standa

[Bug fortran/34804] New: Porting aid: flag to disable BYTE, INTEGER*1 and INTEGER(KIND=1)

2008-01-15 Thread anlauf at gmx dot de
I am currently having fun porting code to the NEC SX-6 vector processor. The native compiler on that platform (as well as NEC's cross compiler) does not support INTEGER*1. It would be useful to have a flag to mimic this behavior by disabling the above mentioned types for declarations, along with t

[Bug c/34803] wrong code for dereferencing type-punned pointer

2008-01-15 Thread gin at mo dot msk dot ru
--- Comment #1 from gin at mo dot msk dot ru 2008-01-15 21:41 --- Created an attachment (id=14944) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14944&action=view) preprocessed code in question Instead of `extptr', uninitialized value is passed to `handle_out_external'. -- ht

[Bug c/34803] New: wrong code for dereferencing type-punned pointer

2008-01-15 Thread gin at mo dot msk dot ru
No simpler C code is (yet) known to hit this. On request will describe actual package where similar code occurs. In the attached preprocessed code, incorrect arg 3, `%rdx', is passed to `handle_out_external'. Code expects this value, `extlen', to be the same as value that is returned from `__bui

[Bug libfortran/34671] any(kind=1) and all(kind=1)

2008-01-15 Thread tkoenig at gcc dot gnu dot org
--- Comment #5 from tkoenig at gcc dot gnu dot org 2008-01-15 21:24 --- Fixed on trunk. Closing. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug libfortran/34671] any(kind=1) and all(kind=1)

2008-01-15 Thread tkoenig at gcc dot gnu dot org
--- Comment #4 from tkoenig at gcc dot gnu dot org 2008-01-15 21:22 --- Subject: Bug 34671 Author: tkoenig Date: Tue Jan 15 21:22:07 2008 New Revision: 131553 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131553 Log: 2008-01-15 Thomas Koenig <[EMAIL PROTECTED]> PR li

[Bug fortran/34802] New: Unknown symbol name should be included in Error message

2008-01-15 Thread harry dot rockefeller at gmail dot com
gcc-3.x gives this information but gcc-4.2 does not. In the shell snippit below, the unknown symbol name should be embedded in the gcc-4.2 error lines as it is done in gcc-3.4. $ gcc-3.4 foo.f undeclared_variable(index)=0.0 ^ Invalid declaration of ... 'undeclare

[Bug rtl-optimization/25609] too agressive printf optimization

2008-01-15 Thread gustavodn at gmail dot com
--- Comment #19 from gustavodn at gmail dot com 2008-01-15 21:08 --- (In reply to comment #17) > This will be fixed yesterday if printf("%s\n", s) were equivalent to puts(s) > in > glibc. [+] The standard requires them to be equivalent? Per standard, they can't be equivalent if both ar

[Bug c++/34399] [4.3 regression] ICE on invalid friend declaration of variadic template

2008-01-15 Thread dgregor at gcc dot gnu dot org
--- Comment #7 from dgregor at gcc dot gnu dot org 2008-01-15 20:59 --- Fixed in mainline -- dgregor at gcc dot gnu dot org changed: What|Removed |Added Statu

[Bug c++/34399] [4.3 regression] ICE on invalid friend declaration of variadic template

2008-01-15 Thread dgregor at gcc dot gnu dot org
--- Comment #6 from dgregor at gcc dot gnu dot org 2008-01-15 20:57 --- Subject: Bug 34399 Author: dgregor Date: Tue Jan 15 20:56:55 2008 New Revision: 131552 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131552 Log: 2008-01-15 Douglas Gregor <[EMAIL PROTECTED]> PR c

[Bug fortran/34784] implicit character(s) hides type of selected_int_kind intrinsic

2008-01-15 Thread dick dot hendrickson at gmail dot com
--- Comment #1 from dick dot hendrickson at gmail dot com 2008-01-15 20:49 --- Another example in executable code MODULE s_TESTS IMPLICIT CHARACTER (P) CONTAINS subroutine simple (u,j1) optional :: j1 if (present (j1)) stop end subroutine

[Bug rtl-optimization/25609] too agressive printf optimization

2008-01-15 Thread manu at gcc dot gnu dot org
--- Comment #18 from manu at gcc dot gnu dot org 2008-01-15 20:48 --- There is an explanation for the optimisation, a potential fix [*] and there is a workaround. [*] http://sourceware.org/bugzilla/show_bug.cgi?id=5618 -- manu at gcc dot gnu dot org changed: What|Rem

[Bug regression/34801] New: FAIL: gcc.dg/Warray-bounds.c

2008-01-15 Thread dominiq at lps dot ens dot fr
This should have already been reported, but I cannot find any trace of it. gcc.dg/Warray-bounds.c fails on all the platforms I have looked at: FAIL: gcc.dg/Warray-bounds.c (test for warnings, line 59) FAIL: gcc.dg/Warray-bounds.c (test for warnings, line 65) FAIL: gcc.dg/Warray-bounds.c (test

[Bug c++/34774] [4.1/4.2/4.3 Regression] templates, enumerations, overflow, ice

2008-01-15 Thread tbptbp at gmail dot com
--- Comment #14 from tbptbp at gmail dot com 2008-01-15 20:07 --- I keep bumping into this issue and i'd really appreciate a clue about how to workaround for the time being. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34774

[Bug middle-end/34483] wo_prof_two_strs.c:56: internal compiler error: in find_new_var_of_type, at ipa-struct-reorg.c:605

2008-01-15 Thread dominiq at lps dot ens dot fr
--- Comment #32 from dominiq at lps dot ens dot fr 2008-01-15 20:03 --- With the patches in comments #11 and 31, the error disappears in 32 bit mode on Intel Darwin9 (as with #11 alone), now appears in 64 bit mode with the other errors already reported: FAIL: gcc.dg/struct/wo_prof_globa

[Bug fortran/34796] [4.3 Regression] Too strict error checking for assumed-shaped array

2008-01-15 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2008-01-15 19:30 --- *** Bug 34788 has been marked as a duplicate of this bug. *** -- burnus at gcc dot gnu dot org changed: What|Removed |Added -

[Bug fortran/34788] Error diagnostic issued passing array element to explicit shape dummy argument

2008-01-15 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2008-01-15 19:30 --- Confirmed. Your bugreport was there even before mine, but since my contains a link to the patch I mark yours as duplicate. Thanks for finding the bug. > This diagnostic is (a) misleading - b is NOT an assumed-shape

[Bug c++/34050] [4.3 regression] ICE derived classes and variadic templates

2008-01-15 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2008-01-15 19:19 --- (In reply to comment #5) > This is an ice-on-valid, so it should probably be a P2. Well it is both depending on -std= settings. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug fortran/34795] inquire statement , direct= specifier incorrectly returns YES

2008-01-15 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2008-01-15 19:12 --- | correct output (produced by g77) | default open drct=NO opened= T access=SEQUENTIAL | Sequent open drct=NO opened= T access=SEQUENTIAL | direct open drct=YES opened= T access=DIRECT How do you know which

[Bug rtl-optimization/25609] too agressive printf optimization

2008-01-15 Thread manu at gcc dot gnu dot org
--- Comment #17 from manu at gcc dot gnu dot org 2008-01-15 18:51 --- This will be fixed yesterday if printf("%s\n", s) were equivalent to puts(s) in glibc. Also there is a way to disable the optimization: "-fno-builtin-printf". People that don't rely on undefined behaviour don't deser

[Bug c++/34751] [4.3 regression] ICE with pointer to member and variadic templates

2008-01-15 Thread dgregor at gcc dot gnu dot org
--- Comment #5 from dgregor at gcc dot gnu dot org 2008-01-15 18:50 --- Subject: Bug 34751 Author: dgregor Date: Tue Jan 15 18:49:47 2008 New Revision: 131548 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131548 Log: 2008-01-15 Douglas Gregor <[EMAIL PROTECTED]> PR c

[Bug c++/34751] [4.3 regression] ICE with pointer to member and variadic templates

2008-01-15 Thread dgregor at gcc dot gnu dot org
--- Comment #4 from dgregor at gcc dot gnu dot org 2008-01-15 18:50 --- Fixed in mainline -- dgregor at gcc dot gnu dot org changed: What|Removed |Added Statu

[Bug middle-end/28755] [4.0/4.1/4.2 Regression] duplicate members of arrays

2008-01-15 Thread alexandre dot nunes at gmail dot com
--- Comment #9 from alexandre dot nunes at gmail dot com 2008-01-15 18:12 --- (In reply to comment #8) > Fixed on the trunk. > For anyone else wondering, this is still reproductible on vanilla gcc 4.2.2. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28755

[Bug c++/34103] [4.3 regression] ICE with invalid variadic template functions

2008-01-15 Thread dgregor at gcc dot gnu dot org
--- Comment #6 from dgregor at gcc dot gnu dot org 2008-01-15 18:09 --- Fixed in mainline -- dgregor at gcc dot gnu dot org changed: What|Removed |Added Statu

[Bug c++/34102] [4.3 regression] ICE with invalid inheritance of variadic templates

2008-01-15 Thread dgregor at gcc dot gnu dot org
--- Comment #5 from dgregor at gcc dot gnu dot org 2008-01-15 18:09 --- Fixed in mainline -- dgregor at gcc dot gnu dot org changed: What|Removed |Added Statu

[Bug c++/34055] [4.3 regression] ICE with invalid specialization of variadic template

2008-01-15 Thread dgregor at gcc dot gnu dot org
--- Comment #5 from dgregor at gcc dot gnu dot org 2008-01-15 18:09 --- Fixed in mainline -- dgregor at gcc dot gnu dot org changed: What|Removed |Added Statu

[Bug c++/34102] [4.3 regression] ICE with invalid inheritance of variadic templates

2008-01-15 Thread dgregor at gcc dot gnu dot org
--- Comment #4 from dgregor at gcc dot gnu dot org 2008-01-15 18:08 --- Subject: Bug 34102 Author: dgregor Date: Tue Jan 15 18:08:00 2008 New Revision: 131547 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131547 Log: 2008-01-15 Douglas Gregor <[EMAIL PROTECTED]> PR c

[Bug c++/34103] [4.3 regression] ICE with invalid variadic template functions

2008-01-15 Thread dgregor at gcc dot gnu dot org
--- Comment #5 from dgregor at gcc dot gnu dot org 2008-01-15 18:08 --- Subject: Bug 34103 Author: dgregor Date: Tue Jan 15 18:08:00 2008 New Revision: 131547 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131547 Log: 2008-01-15 Douglas Gregor <[EMAIL PROTECTED]> PR c

[Bug c++/34051] [4.3 regression] ICE in dependent_type_p with variadic templates

2008-01-15 Thread dgregor at gcc dot gnu dot org
--- Comment #9 from dgregor at gcc dot gnu dot org 2008-01-15 18:08 --- Subject: Bug 34051 Author: dgregor Date: Tue Jan 15 18:08:00 2008 New Revision: 131547 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131547 Log: 2008-01-15 Douglas Gregor <[EMAIL PROTECTED]> PR c

[Bug c++/34055] [4.3 regression] ICE with invalid specialization of variadic template

2008-01-15 Thread dgregor at gcc dot gnu dot org
--- Comment #4 from dgregor at gcc dot gnu dot org 2008-01-15 18:08 --- Subject: Bug 34055 Author: dgregor Date: Tue Jan 15 18:08:00 2008 New Revision: 131547 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131547 Log: 2008-01-15 Douglas Gregor <[EMAIL PROTECTED]> PR c

[Bug c++/34051] [4.3 regression] ICE in dependent_type_p with variadic templates

2008-01-15 Thread dgregor at gcc dot gnu dot org
--- Comment #8 from dgregor at gcc dot gnu dot org 2008-01-15 18:08 --- Fixed in mainline -- dgregor at gcc dot gnu dot org changed: What|Removed |Added Statu

[Bug c++/34314] [4.3 Regression] ICE on invalid code (with variadic templates): tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in template_class_depth

2008-01-15 Thread dgregor at gcc dot gnu dot org
--- Comment #6 from dgregor at gcc dot gnu dot org 2008-01-15 18:05 --- Fixed on mainline -- dgregor at gcc dot gnu dot org changed: What|Removed |Added Statu

[Bug c/28744] externally_visible attribute not effective with prior declaration of symbol.

2008-01-15 Thread alexandre dot nunes at gmail dot com
--- Comment #16 from alexandre dot nunes at gmail dot com 2008-01-15 18:03 --- vanilla gcc 4.2.2 seems to compile this testcase ok (all five symbols are emmited and externally visible, no warnings) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28744

[Bug fortran/34796] [4.3 Regression] Too strict error checking for assumed-shaped array

2008-01-15 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2008-01-15 18:00 --- Patch: http://gcc.gnu.org/ml/gcc-patches/2008-01/msg00656.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34796

[Bug c++/34314] [4.3 Regression] ICE on invalid code (with variadic templates): tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in template_class_depth

2008-01-15 Thread dgregor at gcc dot gnu dot org
--- Comment #5 from dgregor at gcc dot gnu dot org 2008-01-15 18:00 --- Subject: Bug 34314 Author: dgregor Date: Tue Jan 15 17:59:44 2008 New Revision: 131546 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131546 Log: 2008-01-15 Douglas Gregor <[EMAIL PROTECTED]> PR c+

[Bug c/28712] [4.0/4.1 Regression] Compile failure with --combine and packed structures.

2008-01-15 Thread alexandre dot nunes at gmail dot com
--- Comment #5 from alexandre dot nunes at gmail dot com 2008-01-15 17:58 --- (In reply to comment #4) > won't fix in GCC-4.0.x. Adjusting milestone. > For anyone interested, I think this is fixed for at least gcc 4.2.2; I couldn't reproduce it. -- alexandre dot nunes at gmail do

[Bug c/28706] [4.1 Regression] Compile failure with --combine and explicitly aligned structures

2008-01-15 Thread alexandre dot nunes at gmail dot com
--- Comment #7 from alexandre dot nunes at gmail dot com 2008-01-15 17:55 --- (In reply to comment #6) > This seems to work as of gcc 4.2.2 (vanilla), using the original commands to > reproduce. Anyone denies/confirms this? > ... and please see bug 34800 . -- http://gcc.gnu.org/b

[Bug c/34800] New: Compile failure with --combine and a union with an anonymous struct

2008-01-15 Thread alexandre dot nunes at gmail dot com
$ cat pqp.c typedef union { struct { unsigned char d; }; unsigned char a, b; } test_type; extern test_type whatever; $ gcc -c pqp.c $ gcc --combine -c pqp.c pqp.c pqp.c:9: error: conflicting types for ‘whatever’ pqp.c:9: error: previous declaration of ‘whatever’ was here T

[Bug c/28706] [4.1 Regression] Compile failure with --combine and explicitly aligned structures

2008-01-15 Thread alexandre dot nunes at gmail dot com
--- Comment #6 from alexandre dot nunes at gmail dot com 2008-01-15 17:40 --- This seems to work as of gcc 4.2.2 (vanilla), using the original commands to reproduce. Anyone denies/confirms this? -- alexandre dot nunes at gmail dot com changed: What|Removed

[Bug rtl-optimization/25609] too agressive printf optimization

2008-01-15 Thread gustavodn at gmail dot com
--- Comment #16 from gustavodn at gmail dot com 2008-01-15 17:20 --- "Glibc being Linux being the world" is not really relevant, IMHO. What is relevant is printf() (or any function) is, fundamentally, implemented by library, not by compiler, so compiler should not prevent library from de

[Bug c++/34103] [4.3 regression] ICE with invalid variadic template functions

2008-01-15 Thread dgregor at gcc dot gnu dot org
--- Comment #4 from dgregor at gcc dot gnu dot org 2008-01-15 16:59 --- Patch here: http://gcc.gnu.org/ml/gcc-patches/2008-01/msg00650.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34103

[Bug c++/34102] [4.3 regression] ICE with invalid inheritance of variadic templates

2008-01-15 Thread dgregor at gcc dot gnu dot org
--- Comment #3 from dgregor at gcc dot gnu dot org 2008-01-15 16:59 --- Patch here: http://gcc.gnu.org/ml/gcc-patches/2008-01/msg00650.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34102

[Bug c++/34055] [4.3 regression] ICE with invalid specialization of variadic template

2008-01-15 Thread dgregor at gcc dot gnu dot org
--- Comment #3 from dgregor at gcc dot gnu dot org 2008-01-15 16:59 --- Patch here: http://gcc.gnu.org/ml/gcc-patches/2008-01/msg00650.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34055

[Bug middle-end/18071] [4.0/4.1/4.2/4.3 Regression] -Winline does not respect -fno-default-inline

2008-01-15 Thread manu at gcc dot gnu dot org
--- Comment #35 from manu at gcc dot gnu dot org 2008-01-15 16:44 --- (In reply to comment #33) > Yes, this is what I understand. I think we need a new flag specifying > if in the source the 'inline' keyword was used and solely use that for > inline warning purposes. (That is, I would

[Bug c++/34050] [4.3 regression] ICE derived classes and variadic templates

2008-01-15 Thread dgregor at gcc dot gnu dot org
--- Comment #5 from dgregor at gcc dot gnu dot org 2008-01-15 16:40 --- This is an ice-on-valid, so it should probably be a P2. -- dgregor at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/34752] pointer to member rejected in variadic template

2008-01-15 Thread dgregor at gcc dot gnu dot org
-- dgregor at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |dgregor at gcc dot gnu dot |dot org

[Bug c++/34753] [4.3 regression] ICE with invalid template parameter in variadic template

2008-01-15 Thread dgregor at gcc dot gnu dot org
-- dgregor at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |dgregor at gcc dot gnu dot |dot org

[Bug c++/34754] [4.3 regression] ICE with invalid function arguments in variadic template

2008-01-15 Thread dgregor at gcc dot gnu dot org
-- dgregor at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |dgregor at gcc dot gnu dot |dot org

[Bug c++/34757] [4.3 regression] ICE with invalid parameters in variadic template

2008-01-15 Thread dgregor at gcc dot gnu dot org
-- dgregor at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |dgregor at gcc dot gnu dot |dot org

[Bug c++/34755] [4.3 regression] ICE with invalid argument in variadic template function

2008-01-15 Thread dgregor at gcc dot gnu dot org
-- dgregor at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |dgregor at gcc dot gnu dot |dot org

[Bug c++/34756] [4.3 regression] ICE with broken specialization of variadic template

2008-01-15 Thread dgregor at gcc dot gnu dot org
-- dgregor at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |dgregor at gcc dot gnu dot |dot org

[Bug c++/33964] [4.3 Regression] internal compiler error: in dependent_type_p, at cp/pt.c:15319 (vararg templates)

2008-01-15 Thread dgregor at gcc dot gnu dot org
--- Comment #7 from dgregor at gcc dot gnu dot org 2008-01-15 16:10 --- Subject: Bug 33964 Author: dgregor Date: Tue Jan 15 16:09:28 2008 New Revision: 131544 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131544 Log: 2008-01-15 Douglas Gregor <[EMAIL PROTECTED]> PR c+

[Bug c++/33964] [4.3 Regression] internal compiler error: in dependent_type_p, at cp/pt.c:15319 (vararg templates)

2008-01-15 Thread dgregor at gcc dot gnu dot org
--- Comment #6 from dgregor at gcc dot gnu dot org 2008-01-15 16:09 --- Fixed on mainline -- dgregor at gcc dot gnu dot org changed: What|Removed |Added Statu

[Bug c++/34052] [4.3 regression] Trouble with variadic templates as template-template parameter

2008-01-15 Thread dgregor at gcc dot gnu dot org
--- Comment #9 from dgregor at gcc dot gnu dot org 2008-01-15 16:07 --- Fixed in mainline -- dgregor at gcc dot gnu dot org changed: What|Removed |Added Statu

[Bug c++/34052] [4.3 regression] Trouble with variadic templates as template-template parameter

2008-01-15 Thread dgregor at gcc dot gnu dot org
--- Comment #8 from dgregor at gcc dot gnu dot org 2008-01-15 16:07 --- Subject: Bug 34052 Author: dgregor Date: Tue Jan 15 16:06:48 2008 New Revision: 131543 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131543 Log: 2008-01-15 Douglas Gregor <[EMAIL PROTECTED]> PR c+

[Bug middle-end/18071] [4.0/4.1/4.2/4.3 Regression] -Winline does not respect -fno-default-inline

2008-01-15 Thread hubicka at ucw dot cz
--- Comment #34 from hubicka at ucw dot cz 2008-01-15 15:59 --- Subject: Re: [4.0/4.1/4.2/4.3 Regression] -Winline does not respect -fno-default-inline > Yes, this is what I understand. I think we need a new flag specifying > if in the source the 'inline' keyword was used and solely u

[Bug middle-end/18071] [4.0/4.1/4.2/4.3 Regression] -Winline does not respect -fno-default-inline

2008-01-15 Thread rguenther at suse dot de
--- Comment #33 from rguenther at suse dot de 2008-01-15 15:54 --- Subject: Re: [4.0/4.1/4.2/4.3 Regression] -Winline does not respect -fno-default-inline On Tue, 15 Jan 2008, hubicka at gcc dot gnu dot org wrote: > --- Comment #32 from hubicka at gcc dot gnu dot org 2008-01-15

[Bug middle-end/18071] [4.0/4.1/4.2/4.3 Regression] -Winline does not respect -fno-default-inline

2008-01-15 Thread hubicka at gcc dot gnu dot org
--- Comment #32 from hubicka at gcc dot gnu dot org 2008-01-15 15:47 --- I am bit confused by logic of code here. Middle end now ingore DECL_INLINE consistently, it is still arround since it affect some instantiation decisions in C++ FE. Does fno-default-inline work? I think only way

[Bug java/33639] gcj generates assembler errors

2008-01-15 Thread aph at gcc dot gnu dot org
--- Comment #3 from aph at gcc dot gnu dot org 2008-01-15 15:32 --- *** Bug 32484 has been marked as a duplicate of this bug. *** -- aph at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug java/32484] build of junit 4.3.1 native lib fails

2008-01-15 Thread aph at gcc dot gnu dot org
--- Comment #5 from aph at gcc dot gnu dot org 2008-01-15 15:32 --- *** This bug has been marked as a duplicate of 33639 *** -- aph at gcc dot gnu dot org changed: What|Removed |Added --

[Bug java/32484] build of junit 4.3.1 native lib fails

2008-01-15 Thread aph at gcc dot gnu dot org
--- Comment #4 from aph at gcc dot gnu dot org 2008-01-15 15:32 --- . -- aph at gcc dot gnu dot org changed: What|Removed |Added Status|RESOLVED

[Bug ada/34799] New: [Ada] Assertion fails when no component clause is given for generic record member

2008-01-15 Thread markus dot heichel at comsoft dot de
In the example below gcc reports an assertion failure, when warnings are switched on. > gcc -c -gnatwa status.ads fails, while > gcc -c status.ads is working. The snapshot 4.3.0 20070921 is correctly warning 'no component clause given for "C" declared at line 12' while later snapshots (e.g. 4.

[Bug middle-end/18071] [4.0/4.1/4.2/4.3 Regression] -Winline does not respect -fno-default-inline

2008-01-15 Thread rguenth at gcc dot gnu dot org
--- Comment #31 from rguenth at gcc dot gnu dot org 2008-01-15 15:22 --- Created an attachment (id=14943) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14943&action=view) other approach to supress the warnings -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18071

[Bug fortran/31298] F2003: use mod, operator(+) => operator(.userOp.) not supported

2008-01-15 Thread burnus at gcc dot gnu dot org
--- Comment #14 from burnus at gcc dot gnu dot org 2008-01-15 15:21 --- Check that the renamed imported operator is not imported again, see PR 33541. If I recall correctly, this part is missing for the patch in PR 33541 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31298

[Bug middle-end/18071] [4.0/4.1/4.2/4.3 Regression] -Winline does not respect -fno-default-inline

2008-01-15 Thread rguenth at gcc dot gnu dot org
--- Comment #30 from rguenth at gcc dot gnu dot org 2008-01-15 15:21 --- I suggest to tag the DECL with TREE_NO_WARNING if -fno-default-inline is set and check this. On the trunk the functions are inlined anyway, because we inline small functions by default (and the functions are pure

[Bug java/32484] build of junit 4.3.1 native lib fails

2008-01-15 Thread aph at gcc dot gnu dot org
--- Comment #3 from aph at gcc dot gnu dot org 2008-01-15 15:13 --- Fixed in trunk. Tested: zorro:~ $ ~/gcc/trunk/install/bin/gcj -shared -Wl,-Bsymbolic -fPIC -findirect-dispatch -fjni -g0 -O0 -mtune=nocona -march=nocona -pipe -w -save-temps -o libjunit.jar.so junit.jar gcj: warning: -

[Bug middle-end/33699] [4.1/4.2/4.3 regression], missing optimization on const addr area store

2008-01-15 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Severity|enhancement |normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33699

[Bug c/32455] [4.1/4.2/4.3 regression] ICE with modified va_list, allows declaration of __builtin_*

2008-01-15 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-01-15 15:01 --- I think the frontend should reject identifiers in declarations that touch the __builtin_ namespace. The regression status is dubious (it probably 'regressed' at the point the builtin was introduced). -- rguenth

[Bug java/32484] build of junit 4.3.1 native lib fails

2008-01-15 Thread debian-gcc at lists dot debian dot org
--- Comment #2 from debian-gcc at lists dot debian dot org 2008-01-15 14:54 --- confirmed. Matthias -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32484

[Bug middle-end/34793] warning: 'areg' may be used uninitialized in this function

2008-01-15 Thread rguenther at suse dot de
--- Comment #6 from rguenther at suse dot de 2008-01-15 14:54 --- Subject: Re: warning: 'areg' may be used uninitialized in this function On Tue, 15 Jan 2008, j at uriah dot heep dot sax dot de wrote: > --- Comment #5 from j at uriah dot heep dot sax dot de 2008-01-15 14:38 > -

[Bug middle-end/32628] [4.3 Regression] bogus integer overflow warning

2008-01-15 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2008-01-15 14:44 --- Reduced testcase: int f(char *device) { return device == ((char *)0 + ~0UL); } for building the POINTER_PLUS_EXPR we convert the unsigned offset to sizetype which causes the double-int (-1, 0) to sign-extend to (

[Bug middle-end/34793] warning: 'areg' may be used uninitialized in this function

2008-01-15 Thread j at uriah dot heep dot sax dot de
--- Comment #5 from j at uriah dot heep dot sax dot de 2008-01-15 14:38 --- (In reply to comment #4) > Oh, indeed - it also needs PR30317 fixed. (the attached patches therein > probably no longer apply) I applied the second of the attached patches there. It applies cleanly, but stil

[Bug middle-end/34483] wo_prof_two_strs.c:56: internal compiler error: in find_new_var_of_type, at ipa-struct-reorg.c:605

2008-01-15 Thread olga at gcc dot gnu dot org
--- Comment #31 from olga at gcc dot gnu dot org 2008-01-15 14:11 --- I gave it another push. The following is a patch solving inconsistency of the data structures in struct reorg, and releasing comparison with 0. Please try it together with the Richard's patch. It should give extra XPAS

[Bug c++/33887] [4.1/4.2/4.3 Regression] Reference to bitfield gets wrong value when optimizing

2008-01-15 Thread rguenth at gcc dot gnu dot org
--- Comment #25 from rguenth at gcc dot gnu dot org 2008-01-15 14:05 --- Unassigning. I like to have help from somebody knowing how to debug the libjava failures. The only bitfields are defined in jvmti.h. -- rguenth at gcc dot gnu dot org changed: What|Removed

[Bug fortran/34796] [4.3 Regression] Too strict error checking for assumed-shaped array

2008-01-15 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2008-01-15 14:04 --- >From the Fortran 2003 standard ("12.4.1.2 Actual arguments associated with dummy data objects") "If the actual argument is scalar, the corresponding dummy argument shall be scalar unless the actual argument is of ty

[Bug middle-end/34793] warning: 'areg' may be used uninitialized in this function

2008-01-15 Thread rguenther at suse dot de
--- Comment #4 from rguenther at suse dot de 2008-01-15 13:27 --- Subject: Re: warning: 'areg' may be used uninitialized in this function On Tue, 15 Jan 2008, j at uriah dot heep dot sax dot de wrote: > --- Comment #3 from j at uriah dot heep dot sax dot de 2008-01-15 12:54 > -

[Bug c++/33887] [4.1/4.2/4.3 Regression] Reference to bitfield gets wrong value when optimizing

2008-01-15 Thread rguenth at gcc dot gnu dot org
--- Comment #24 from rguenth at gcc dot gnu dot org 2008-01-15 13:23 --- So the issue is that for void foo(unsigned int) (i) { i.0; : i.0 = () i; sv.f2 = i.0; if ((unsigned int) i.0 != 0) we neither emit code for the narrowing nor for the widening, but only for the bitfield

[Bug libstdc++/34797] [parallel mode] Settings are separated for each compilation unit

2008-01-15 Thread singler at gcc dot gnu dot org
--- Comment #2 from singler at gcc dot gnu dot org 2008-01-15 13:20 --- There are two general options to fix this bug: 1. Introduce a global variable, to be compiled into libstdc++.a and libstdc++.so. 2. Do the "template trick", i. e. pseudo-parametrize Settings as template class, to lea

[Bug libstdc++/34797] [parallel mode] Settings are separated for each compilation unit

2008-01-15 Thread singler at gcc dot gnu dot org
--- Comment #1 from singler at gcc dot gnu dot org 2008-01-15 13:15 --- First of all, we should get rid of these many static variables in the Settings class, and replace them by usual member variables. Then, there should be one static/global instance of this Settings class. The question

[Bug libstdc++/34797] New: [parallel mode] Settings are separated for each compilation unit

2008-01-15 Thread singler at gcc dot gnu dot org
In settings.h, the Settings class (containing only static variables) is encapsulated in an anonymous namespace. This makes the linker think of a distinct class for each compilation unit. As as result, settings changed in one .cpp file won't affect code from another .cpp file, although they should h

[Bug libstdc++/33490] parallel v3: std::accumulate assumes iterators have std::iterator_traits declared

2008-01-15 Thread singler at gcc dot gnu dot org
--- Comment #6 from singler at gcc dot gnu dot org 2008-01-15 13:05 --- No further objections. -- singler at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/34793] warning: 'areg' may be used uninitialized in this function

2008-01-15 Thread j at uriah dot heep dot sax dot de
--- Comment #3 from j at uriah dot heep dot sax dot de 2008-01-15 12:54 --- (In reply to comment #2) > The fix for PR14495 will likely fix this (by removing the default case again). Alas, no, it doesn't. I applied that patch (and the one it depends one mentioned in the article), rebu

  1   2   >