[Bug fortran/36894] question on gfortran character*(*)

2008-07-22 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2008-07-22 06:48 --- Both character*(*) foo character(*) foo are supported by gfortran. At the moment I cannot imagine a program which works with the latter and fails with the former. If you have a complete (short!) example, we

[Bug fortran/36895] New: Namelist writting to internal files: Control characters wrong?

2008-07-22 Thread burnus at gcc dot gnu dot org
Found at http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/543dbbd5a3cb5fce Jerry, could you check whether Richard Maine's concerns are correct or not? NAG f95 and g95 write everything in one line; g95 has also a trailing comma, NAG does not. (ifort 11beta and sunf95 don't

[Bug c/36708] syntatic warning

2008-07-22 Thread manu at gcc dot gnu dot org
--- Comment #4 from manu at gcc dot gnu dot org 2008-07-22 07:20 --- Closing as invalid then. -- manu at gcc dot gnu dot org changed: What|Removed |Added

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

2008-07-22 Thread r dot emrich at de dot tecosim dot com
--- Comment #6 from r dot emrich at de dot tecosim dot com 2008-07-22 07:53 --- (In reply to comment #5) For me it is working today I don't Know if it's related but today (rev. 138048) I get the following on x86_64-unknown-linux-gnu:

[Bug fortran/36890] libgfortran/io/file_pos.c:55: warning: comparison between signed and unsigned

2008-07-22 Thread tkoenig at gcc dot gnu dot org
--- Comment #1 from tkoenig at gcc dot gnu dot org 2008-07-22 08:30 --- This is caused by static const unsigned int READ_CHUNK = 4096; and, further down, n = (base READ_CHUNK) ? base : READ_CHUNK; where base is a gfc_offset (a signed quantity). The unsigned is unnecessary.

[Bug fortran/36895] Namelist writting to internal files: Control characters wrong?

2008-07-22 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2008-07-22 09:01 --- 10.10.2 Namelist output The form of the output produced is the same as that required for input, except for the forms of real, character, and logical values. The name in the output is in upper case. With the

[Bug tree-optimization/36896] New: ICE when gcc 4.4.0-20080722 compiles glibc 2.6.1/stdio-common/printf_size.c

2008-07-22 Thread linuxl4 at sohu dot com
the command is : gcc printf_size.c -c -std=gnu99 -O2 -fgnu89-inline -Winline -Wwrite-strings -Wstrict-prototypes -mpreferred-stack-boundary=2 -I.. if change -O2 to -O1 , ICE will dispear . what's wrong ? -- Summary: ICE when gcc 4.4.0-20080722 compiles glibc 2.6.1/stdio

[Bug tree-optimization/36896] ICE when gcc 4.4.0-20080722 compiles glibc 2.6.1/stdio-common/printf_size.c

2008-07-22 Thread linuxl4 at sohu dot com
--- Comment #1 from linuxl4 at sohu dot com 2008-07-22 09:23 --- Created an attachment (id=15937) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15937action=view) printf_size.i gcc printf_size.c -c -std=gnu99 -O2 -fgnu89-inline -Winline -Wwrite-strings -Wstrict-prototypes

[Bug middle-end/36896] [4.4 Regression] ICE in insert_save, at caller-save.c:787

2008-07-22 Thread rguenth at gcc dot gnu dot org
Component|tree-optimization |middle-end Keywords||ice-on-valid-code Known to work||4.3.1 Summary|ICE when gcc 4.4.0-20080722 |[4.4 Regression] ICE in |compiles

[Bug preprocessor/28079] #line range not verified without -pedantic

2008-07-22 Thread manu at gcc dot gnu dot org
--- Comment #6 from manu at gcc dot gnu dot org 2008-07-22 09:46 --- Subject: Bug 28079 Author: manu Date: Tue Jul 22 09:45:58 2008 New Revision: 138049 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=138049 Log: 2008-07-22 Manuel Lopez-Ibanez [EMAIL PROTECTED] PR 28079

[Bug preprocessor/28079] #line range not verified without -pedantic

2008-07-22 Thread manu at gcc dot gnu dot org
--- Comment #7 from manu at gcc dot gnu dot org 2008-07-22 09:48 --- Fixed in GCC 4.4 -- manu at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug c++/24985] caret diagnostics

2008-07-22 Thread manu at gcc dot gnu dot org
--- Comment #3 from manu at gcc dot gnu dot org 2008-07-22 09:50 --- Better summary to find duplicates. -- manu at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/32918] segmentation fault

2008-07-22 Thread manu at gcc dot gnu dot org
--- Comment #2 from manu at gcc dot gnu dot org 2008-07-22 09:56 --- No reply for a long time. Old version of GCC. Closing as INVALID. -- manu at gcc dot gnu dot org changed: What|Removed |Added

[Bug other/28322] GCC new warnings and compatibility

2008-07-22 Thread manu at gcc dot gnu dot org
--- Comment #22 from manu at gcc dot gnu dot org 2008-07-22 09:59 --- Not working on this. -- manu at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/36890] libgfortran/io/file_pos.c:55: warning: comparison between signed and unsigned

2008-07-22 Thread tkoenig at gcc dot gnu dot org
--- Comment #2 from tkoenig at gcc dot gnu dot org 2008-07-22 10:27 --- Subject: Bug 36890 Author: tkoenig Date: Tue Jul 22 10:27:10 2008 New Revision: 138050 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=138050 Log: 2008-07-22 Thomas Koenig [EMAIL PROTECTED] PR

[Bug fortran/36890] libgfortran/io/file_pos.c:55: warning: comparison between signed and unsigned

2008-07-22 Thread tkoenig at gcc dot gnu dot org
--- Comment #3 from tkoenig at gcc dot gnu dot org 2008-07-22 10:29 --- Fixed on trunk. Closing. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/36844] Vectorizer doesn't support INT-FP conversions with different size

2008-07-22 Thread dorit at gcc dot gnu dot org
--- Comment #2 from dorit at gcc dot gnu dot org 2008-07-22 10:39 --- (In reply to comment #1) One problem is vectorizable_conversion. Is there a way to support V4DF/V4DI - D4SI/V4SF V8SI - V8SF With the current framework, the only way to support V8SI - V8SF is to implement the

[Bug c++/36897] New: Internal compiler error with function pointer template parameter

2008-07-22 Thread kathoum at gmail dot com
Trying to compile the following program: typedef void (*fptr)(); fptr zeroptr = 0; templatetypename T, fptr F struct foo { }; templatetypename T struct fooT,zeroptr { }; void f() { } fooint,f m_foo; I get the message: test.cpp:6: internal compiler error: in unify, at cp/pt.c:13401 Please submit

[Bug c++/36897] Internal compiler error with function pointer template parameter

2008-07-22 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2008-07-22 11:48 --- Te be clear, this is ICE on invalid -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug libfortran/36886] misaligment for cshift of character

2008-07-22 Thread tkoenig at gcc dot gnu dot org
--- Comment #1 from tkoenig at gcc dot gnu dot org 2008-07-22 11:58 --- Related to PR 32972 (optimizing cshift the way that other array intrinsics have been done will cure this). -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

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

2008-07-22 Thread ro at gcc dot gnu dot org
--- Comment #1 from ro at gcc dot gnu dot org 2008-07-22 12:05 --- Jan, did you have a chance to take a look? Your patch breaks Tru64 UNIX bootstrap since almost 4 months. Rainer -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36851

[Bug fortran/35680] [4.3/4.4 regression] ICE on invalid transfer in variable declaration

2008-07-22 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2008-07-22 12:11 --- Analogously for: integer foo(size([x])) real x As ifort writes: error #6279: A specification expression object must be a dummy argument, a COMMON block object, or an object accessible through host or use

[Bug fortran/36355] matmul argument-check: wrong error messages

2008-07-22 Thread tkoenig at gcc dot gnu dot org
--- Comment #2 from tkoenig at gcc dot gnu dot org 2008-07-22 12:30 --- (In reply to comment #1) Proposed patch passed regression test on i686-pc-linux-gnu.. Patch is approved (or obvious and simple, whatever you prefer :-) -- tkoenig at gcc dot gnu dot org changed:

[Bug fortran/36894] question on gfortran character*(*)

2008-07-22 Thread jhuddleston at hughes dot net
--- Comment #3 from jhuddleston at hughes dot net 2008-07-22 13:17 --- Created an attachment (id=15938) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15938action=view) zip container with two files: C++ and GFORTRAN burnus at gcc dot gnu dot org requested a small sample set

[Bug target/36898] New: Insufficient qp-mutex declarations

2008-07-22 Thread schwab at suse dot de
The attached test case is causing a spurious dependency violation message from the assembler. The problem seems to be that the assembler is clearing all qp mutex relations after a call, but the compiler does not emit .pred.rel.mutex after them. $ gcc -O2 -c -save-temps xdisp.c xdisp.s: Assembler

[Bug target/36898] Insufficient qp-mutex declarations

2008-07-22 Thread schwab at suse dot de
--- Comment #1 from schwab at suse dot de 2008-07-22 13:34 --- Created an attachment (id=15939) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15939action=view) Testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36898

[Bug target/36898] Insufficient qp-mutex declarations

2008-07-22 Thread schwab at suse dot de
--- Comment #2 from schwab at suse dot de 2008-07-22 13:35 --- Created an attachment (id=15940) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15940action=view) Assembler output -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36898

[Bug target/36450] [4.4 Regression] ICE in insert_restore/insert_save with GET_MODE_ALIGNMENT mem

2008-07-22 Thread hjl dot tools at gmail dot com
--- Comment #12 from hjl dot tools at gmail dot com 2008-07-22 13:44 --- *** Bug 36896 has been marked as a duplicate of this bug. *** -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug middle-end/36896] [4.4 Regression] ICE in insert_save, at caller-save.c:787

2008-07-22 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2008-07-22 13:44 --- *** This bug has been marked as a duplicate of 36450 *** -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug libstdc++/36899] New: Wrong char to wchar_t conversion when putting multibyte strings to wide-character streams

2008-07-22 Thread mironov dot ivan at gmail dot com
Small example: == #include iostream #include locale using namespace std; int main() { locale::global(locale()); wcout.imbue(locale()); wcout Hello world! ðÒÉ×ÅÔ ÍÉÒ! endl; return 0; }

[Bug libstdc++/36899] Wrong char to wchar_t conversion when putting multibyte strings to wide-character streams

2008-07-22 Thread mironov dot ivan at gmail dot com
--- Comment #1 from mironov dot ivan at gmail dot com 2008-07-22 14:55 --- Created an attachment (id=15941) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15941action=view) Preprocessed source (utf-8) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36899

[Bug c++/36900] ICE: in propagate_one_insn, at flow.c:1734

2008-07-22 Thread oliver dot regenfelder at gmx dot at
--- Comment #1 from oliver dot regenfelder at gmx dot at 2008-07-22 15:32 --- Created an attachment (id=15942) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15942action=view) preprozessor output for the file triggering the bug --

[Bug c++/36900] New: ICE: in propagate_one_insn, at flow.c:1734

2008-07-22 Thread oliver dot regenfelder at gmx dot at
A small c++ program causes this ICE if optimization level is 1 ore above [my_computer]$ g++ -v -save-temps -O3 compiler_bug.cpp Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared

[Bug tree-optimization/21465] autovectorisation conflicts with -ffast-math

2008-07-22 Thread bonzini at gnu dot org
--- Comment #4 from bonzini at gnu dot org 2008-07-22 15:48 --- i had a patch to expand pow at the tree level, but it conflicted with fold (which consistently tried to rebuild pow function calls). the outcome might be better now that we have PAREN_EXPR, though. -- bonzini at gnu

[Bug other/36901] New: pedwarn() + -pedantic-errors + -w (inhibit_warnings) should not emit errors

2008-07-22 Thread manu at gcc dot gnu dot org
From PR35637 but this is a general issue of the diagnostic machinery. The problem is: -pedantic no warning, -pedantic-errors gives an error. Explanation: The pedantic warning is in a system header, so it doesn't get emitted. When using -pedantic-errors, it is an error, and errors are always

[Bug other/36901] pedwarn() + -pedantic-errors + -w (inhibit_warnings) should not emit errors

2008-07-22 Thread manu at gcc dot gnu dot org
--- Comment #1 from manu at gcc dot gnu dot org 2008-07-22 16:30 --- One testcase could use #include_next in a system header and compile with just -pedantic-errors. This should be silent but it currently emits an error. Another testcase could be just: static int sc = INT_MAX + 1;

[Bug fortran/36895] Namelist writting to internal files: Control characters wrong?

2008-07-22 Thread jvdelisle at gcc dot gnu dot org
--- Comment #2 from jvdelisle at gcc dot gnu dot org 2008-07-22 16:47 --- I will check on this later tonight or this week. I have wondered about that comma myself. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/29835] Error message of unknown edit descriptor needs improvement

2008-07-22 Thread domob at gcc dot gnu dot org
--- Comment #2 from domob at gcc dot gnu dot org 2008-07-22 17:06 --- Subject: Bug 29835 Author: domob Date: Tue Jul 22 17:05:55 2008 New Revision: 138063 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=138063 Log: 2008-07-22 Daniel Kraft [EMAIL PROTECTED] PR

[Bug libstdc++/36899] Wrong char to wchar_t conversion when putting multibyte strings to wide-character streams

2008-07-22 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2008-07-22 17:09 --- Really, there isn't much we can do here: according to the standard (27.6.2.5.4/4) each char is widened *individually* (via out.widen), and some of the chars in the character-literal at issue (not belonging to

[Bug fortran/29835] Error message of unknown edit descriptor needs improvement

2008-07-22 Thread domob at gcc dot gnu dot org
--- Comment #3 from domob at gcc dot gnu dot org 2008-07-22 17:11 --- The message locus for constant-string is not yet perfect, but the effort to benefit ratio in this case is probably rather bad, so I mark this as fixed. In my commit, I changed the Unexpected element error to include

[Bug other/36901] pedwarn() + -pedantic-errors + -w (inhibit_warnings) should not emit errors

2008-07-22 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2008-07-22 17:29 --- Thanks a lot Manuel! Maybe I will even be able to come to this, thanks to your suggestions for a fix. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug fortran/36895] Namelist writting to internal files: Control characters wrong?

2008-07-22 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2008-07-22 17:47 --- I will check on this later tonight or this week. I have wondered about that comma myself. Thanks! I believe the comma should be valid, even though it is superfluous and looks wrong. Thus it were nice if one could

[Bug other/36901] pedwarn() + -pedantic-errors + -w (inhibit_warnings) should not emit errors

2008-07-22 Thread manu at gcc dot gnu dot org
--- Comment #3 from manu at gcc dot gnu dot org 2008-07-22 18:07 --- (In reply to comment #2) Thanks a lot Manuel! Maybe I will even be able to come to this, thanks to your suggestions for a fix. I think there is a problem with my suggestion: -pedantic-errors does not only affect

[Bug c++/36767] [4.3/4.4 Regression] Segmentation fault with -fprofile-arcs -O2

2008-07-22 Thread dodji at gcc dot gnu dot org
--- Comment #6 from dodji at gcc dot gnu dot org 2008-07-22 18:25 --- @jakub: I confirm that doing: if (!DECL_CONTEXT (decl)) { DECL_CONTEXT (decl) = current_function_decl; } at the beginning of one_static_initialization_or_destruction() allows the compilation to not

[Bug c/36902] New: [4.3/4.4 Regression]: Bogus array bound warning

2008-07-22 Thread hjl dot tools at gmail dot com
On Linux/x86-64, gcc 4.3/4.4 give: [EMAIL PROTECTED] gcc]$ cat /tmp/y.c /* * compile w/: * gcc -Wall -Werror -fno-strict-aliasing -O2 -c foo.c */ typedef unsigned char __u8; typedef unsigned short __u16; static inline void * foo( void * to, const void * from, int n) { switch ( n )

[Bug middle-end/36902] [4.3/4.4 Regression]: Bogus array bound warning

2008-07-22 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-07-22 20:50 --- This happens because the warning happens very early in the compiler so it does not know that the case5 is not going to be used. I think the warning is correct and not really bogus if you take that into account.

[Bug middle-end/36902] [4.3/4.4 Regression]: Bogus array bound warning

2008-07-22 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2008-07-22 21:13 --- This regression is introduced by revision 120898: http://gcc.gnu.org/ml/gcc-cvs/2007-01/msg00603.html The simplified testcase: --- typedef unsigned char __u8; typedef unsigned short __u16; static inline unsigned

[Bug middle-end/36902] Array bound warning with dead code after optimization

2008-07-22 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-07-22 21:18 --- The warning is very fragile: if the buffer in main() is not static then there is no failure; is the size is passed as a constant there is no error. Not really, if you read my comment, you will understand why

[Bug middle-end/36902] Array bound warning with dead code after optimization

2008-07-22 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2008-07-22 21:26 --- Out of curiosity: if this kind of code appears in a system header, is #pragma GCC system_header able to suppress the warning? Of course I'm asking because this is the most annoying feature of PR 36633 (which

[Bug middle-end/36902] Array bound warning with dead code after optimization

2008-07-22 Thread hjl dot tools at gmail dot com
--- Comment #5 from hjl dot tools at gmail dot com 2008-07-22 21:29 --- It is a regression since the same correct code no longer compiles with -Werror -Wall after upgrading from gcc 4.1/4.2 to 4.3. -- hjl dot tools at gmail dot com changed: What|Removed

[Bug middle-end/36902] Array bound warning with dead code after optimization

2008-07-22 Thread hjl dot tools at gmail dot com
--- Comment #6 from hjl dot tools at gmail dot com 2008-07-22 21:30 --- (In reply to comment #4) Out of curiosity: if this kind of code appears in a system header, is #pragma GCC system_header able to suppress the warning? Of course I'm asking because this is the most annoying

[Bug middle-end/36902] Array bound warning with dead code after optimization

2008-07-22 Thread paolo dot carlini at oracle dot com
--- Comment #7 from paolo dot carlini at oracle dot com 2008-07-22 21:32 --- (In reply to comment #6) It comes from an application. This doesn't answer my question. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36902

[Bug middle-end/36902] Array bound warning with dead code after optimization

2008-07-22 Thread hjl dot tools at gmail dot com
--- Comment #8 from hjl dot tools at gmail dot com 2008-07-22 21:42 --- (In reply to comment #7) (In reply to comment #6) It comes from an application. This doesn't answer my question. I said It comes from an application. It isn't from system header file. --

[Bug tree-optimization/36861] boost's compressed avl confuses GCC

2008-07-22 Thread pinskia at gcc dot gnu dot org
--- Comment #11 from pinskia at gcc dot gnu dot org 2008-07-22 21:43 --- I think someone needs to kick the hell out of boost for making crappy code. I am going to remove the regression marker for now because it is definitely a bit weird what boost is doing and not normal for real

[Bug tree-optimization/36861] boost's compressed avl confuses GCC

2008-07-22 Thread lothar at tradescape dot biz
--- Comment #13 from lothar at tradescape dot biz 2008-07-22 21:48 --- (In reply to comment #11) From an application perspective it is still a regression, as it works happily with gcc 4.2.3 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36861

[Bug tree-optimization/36861] boost's compressed avl confuses GCC

2008-07-22 Thread pinskia at gcc dot gnu dot org
--- Comment #14 from pinskia at gcc dot gnu dot org 2008-07-22 21:52 --- (In reply to comment #13) (In reply to comment #11) From an application perspective it is still a regression, as it works happily with gcc 4.2.3 Yes but it is boost's fault that boost tries to be smart about

[Bug tree-optimization/36861] boost's compressed avl confuses GCC

2008-07-22 Thread lothar at tradescape dot biz
--- Comment #15 from lothar at tradescape dot biz 2008-07-22 22:01 --- What I am worried about is that if it is not marked as a regression nobody cares to fix it although it breaks a real application that works with gcc 4.3.2. If you have any insights how to improve the boost intrusive

[Bug middle-end/36902] Array bound warning with dead code after optimization

2008-07-22 Thread paolo dot carlini at oracle dot com
--- Comment #9 from paolo dot carlini at oracle dot com 2008-07-22 22:53 --- I said It comes from an application. It isn't from system header file. Yes, and that doesn't answer my question. I asked if the pragma is able to suppress a warning triggered by your kind of snippet, IF,

[Bug fortran/36582] Namelist I/O error: Bogus Cannot match namelist object

2008-07-22 Thread fmuldoo at me dot lsu dot edu
--- Comment #13 from fmuldoo at me dot lsu dot edu 2008-07-22 22:54 --- Subject: Re: Namelist I/O error: Bogus Cannot match namelist object Great, and thanks very much. I'm very glad you found it as it is the only thing preventing me from using gfortran with my code. This is

[Bug middle-end/36900] ICE: in propagate_one_insn, at flow.c:1734

2008-07-22 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-07-22 23:40 --- This is most likely fixed on the trunk already. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/36900] ICE: in propagate_one_insn, at flow.c:1734

2008-07-22 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-07-22 23:42 --- (In reply to comment #2) This is most likely fixed on the trunk already. 4.3.x also. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36900

[Bug testsuite/36903] New: Generic vectorizarion test failures

2008-07-22 Thread hutchinsonandy at gcc dot gnu dot org
For AVR the following test fail. Probably since the day they were created. For AVR there are no vectypes so they all fail message test I don't know if these should be skipped as invalid or there is some significant issue that warrant XFAIL. FAIL: gcc.dg/tree-ssa/gen-vect-11.c

[Bug middle-end/36902] Array bound warning with dead code after optimization

2008-07-22 Thread hjl dot tools at gmail dot com
--- Comment #10 from hjl dot tools at gmail dot com 2008-07-23 01:04 --- (In reply to comment #9) I said It comes from an application. It isn't from system header file. Yes, and that doesn't answer my question. I asked if the pragma is able to suppress a warning triggered by your

[Bug middle-end/36902] Array bound warning with dead code after optimization

2008-07-22 Thread paolo dot carlini at oracle dot com
--- Comment #11 from paolo dot carlini at oracle dot com 2008-07-23 01:16 --- Thanks. Actually, I think the experiment would be more meaningful if you could put also the equivalent of your main (a calling function, that is) inside the header, because in your testcase the warning is

[Bug middle-end/36902] Array bound warning with dead code after optimization

2008-07-22 Thread hjl dot tools at gmail dot com
--- Comment #12 from hjl dot tools at gmail dot com 2008-07-23 01:23 --- (In reply to comment #11) Thanks. Actually, I think the experiment would be more meaningful if you could put also the equivalent of your main (a calling function, that is) inside the header, because in your

[Bug middle-end/36902] Array bound warning with dead code after optimization

2008-07-22 Thread paolo dot carlini at oracle dot com
--- Comment #13 from paolo dot carlini at oracle dot com 2008-07-23 01:28 --- You see, as I feared: this class of warnings coming from the middle-end is especially nasty, because cannot be suppressed by any normal means. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36902

[Bug target/36904] New: [4.4 Regression] vector context sensitive keyword vs macros

2008-07-22 Thread pinskia at gcc dot gnu dot org
Take the following testcase: #include altivec.h #define xprint_vec(type) void x##type(vector type v) { } xprint_vec(float); This used to work in 4.3 and before but does not currently. The problem here was introduced when the context sensitive keyword support was added. -- Summary:

[Bug fortran/36895] Namelist writting to internal files: Control characters wrong?

2008-07-22 Thread jvdelisle at gcc dot gnu dot org
--- Comment #4 from jvdelisle at gcc dot gnu dot org 2008-07-23 01:39 --- I have reviewed our code. First, we reject the internal unit for namelist when using -std=f95. $ gfc -std=f95 pr36895.f90 pr36895.f90:4.8: write(line,nml=stuff) 1 Error: Fortran 2003: Internal file

[Bug target/36904] [4.4 Regression] vector context sensitive keyword vs macros

2008-07-22 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36904

[Bug tree-optimization/33404] Predictive commoning + ivopts possibly introducing extra sign extensions.

2008-07-22 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-07-23 01:55 --- Hmm, I think the sign/zero extension is needed. Even doing: void fred(unsigned short in, unsigned short *out1) { int i; for (i=0;i100;i++) out1[i+1] = out1[i]*in; } --- CUT --- We will get a zero

[Bug tree-optimization/33404] Predictive commoning + ivopts possibly introducing extra sign extensions.

2008-07-22 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-07-23 02:01 --- for the loop on the trunk. I think the trunk improved fold somewhere along the way, because the 4.3 I have from January has the extra sign extension. We will get a zero extension in the assembly (on

[Bug tree-optimization/36905] New: IV-opts needs a little help with a[i+1]

2008-07-22 Thread pinskia at gcc dot gnu dot org
Take: void fred(unsigned short in, unsigned short *out1) { __SIZE_TYPE__ i; for (i=0;i100;i++) out1[i+1] = in; } For PPC we currently generate: .L2: addi 9,9,1 slwi 0,9,1 sthx 3,4,0 bdnz .L2 But if change the code just so slightly to: void

[Bug tree-optimization/33404] Predictive commoning + ivopts possibly introducing extra sign extensions.

2008-07-22 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-07-23 02:10 --- (In reply to comment #2) Also IV-opts is messing up anyways, it should have done out+1 as the base instead of out, blah. Filed as http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36905 . --

[Bug tree-optimization/36905] [4.2/4.3/4.4 Regression] IV-opts needs a little help with a[i+1]

2008-07-22 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-07-23 02:16 --- In fact this is one case where the old loop.c gets it correct :(. 4.1.1 with IV-opts off: .L2: sth 3,0(9) addi 9,9,2 bdnz .L2 Which means I can declare this as a regression from 3.4.x. --

[Bug tree-optimization/36891] ICE with vector division and -ffast-math and LIM

2008-07-22 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-07-23 03:03 --- I have a patch, I still have to check complex, I think it is ok because we have expanded the division by the time we ran LIM. -- pinskia at gcc dot gnu dot org changed: What|Removed

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

2008-07-22 Thread jvdelisle at gcc dot gnu dot org
--- Comment #5 from jvdelisle at gcc dot gnu dot org 2008-07-23 04:30 --- Subject: Bug 36852 Author: jvdelisle Date: Wed Jul 23 04:29:15 2008 New Revision: 138072 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=138072 Log: 2008-07-22 Jerry DeLisle [EMAIL PROTECTED] PR

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

2008-07-22 Thread jvdelisle at gcc dot gnu dot org
--- Comment #6 from jvdelisle at gcc dot gnu dot org 2008-07-23 04:37 --- Subject: Bug 36852 Author: jvdelisle Date: Wed Jul 23 04:36:54 2008 New Revision: 138073 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=138073 Log: 2008-07-22 Jerry DeLisle [EMAIL PROTECTED] PR