[Bug libfortran/35863] [F2003] Implement ENCODING="UTF-8"

2008-08-15 Thread jvdelisle at gcc dot gnu dot org
--- Comment #10 from jvdelisle at gcc dot gnu dot org 2008-08-16 06:11 --- Subject: Bug 35863 Author: jvdelisle Date: Sat Aug 16 03:42:54 2008 New Revision: 139148 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139148 Log: 2008-08-15 Jerry DeLisle <[EMAIL PROTECTED]>

[Bug libfortran/35863] [F2003] Implement ENCODING="UTF-8"

2008-08-15 Thread jvdelisle at gcc dot gnu dot org
--- Comment #10 from jvdelisle at gcc dot gnu dot org 2008-08-16 06:11 --- Subject: Bug 35863 Author: jvdelisle Date: Sat Aug 16 03:42:54 2008 New Revision: 139148 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139148 Log: 2008-08-15 Jerry DeLisle <[EMAIL PROTECTED]>

[Bug libfortran/35863] [F2003] Implement ENCODING="UTF-8"

2008-08-15 Thread jvdelisle at gcc dot gnu dot org
--- Comment #9 from jvdelisle at gcc dot gnu dot org 2008-08-16 06:11 --- Subject: Bug 35863 Author: jvdelisle Date: Sat Aug 16 03:38:31 2008 New Revision: 139147 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139147 Log: 2008-08-15 Jerry DeLisle <[EMAIL PROTECTED]>

[Bug tree-optimization/36188] missed CCP

2008-08-15 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2008-08-15 23:52 --- On the trunk we get: lis 11,[EMAIL PROTECTED] la 9,[EMAIL PROTECTED](11) lwz 0,[EMAIL PROTECTED](11) cmpwi 7,0,0 bne 7,.L6 li 0,1344 li 3,1344 stw 0,4(9

[Bug middle-end/37135] code size increase for bit-fields assignment

2008-08-15 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-15 21:26 --- The gimplifier is inlining the value of MOUSE_reset_colors for some reason ... Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c/37135] New: code size increase from gcc-4.2.4-3 to 4.3.1-9 for simple fct

2008-08-15 Thread etienne_lorrain at yahoo dot fr
file test.c: -- enum stdcolor_enum { black,blue, green, cyan, red, magenta, brown, lightgray, darkgray, lightblue,lightgreen, lightcyan, lightred, lightmagenta, yellow, white }; union mouse_color_union { struct mou

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

2008-08-15 Thread paolo dot carlini at oracle dot com
--- Comment #16 from paolo dot carlini at oracle dot com 2008-08-15 20:36 --- No news, Manuel, still unsuppressed by the pragma -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36902

[Bug fortran/29635] debug info of modules

2008-08-15 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2008-08-15 20:19 --- *** Bug 37133 has been marked as a duplicate of this bug. *** -- jakub at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug debug/37133] Debug/Fortran/Dwarf3: No module information saved

2008-08-15 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2008-08-15 20:19 --- Yes, this is a dup of PR29635. Solving PR29635 really means handling these all. *** This bug has been marked as a duplicate of 29635 *** -- jakub at gcc dot gnu dot org changed: What|Removed

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

2008-08-15 Thread manu at gcc dot gnu dot org
--- Comment #15 from manu at gcc dot gnu dot org 2008-08-15 20:18 --- GCC system_headers should suppress this warning now, doesn't it? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36902

[Bug c++/36741] [4.3/4.4 regression] Bogus "large integer implicitly truncated" passing size_t constant to new

2008-08-15 Thread manu at gcc dot gnu dot org
--- Comment #6 from manu at gcc dot gnu dot org 2008-08-15 20:16 --- (In reply to comment #5) > Created an attachment (id=16074) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16074&action=view) [edit] > third fix candidate > > This patch tries another approach. Patches go to [EMA

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

2008-08-15 Thread manu at gcc dot gnu dot org
--- Comment #14 from manu at gcc dot gnu dot org 2008-08-15 20:11 --- (In reply to comment #13) > 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. What location is being passed to that warnin

[Bug debug/37134] New: Debug/Fortran: ENTRY -> no DW_TAG_entry_point generated

2008-08-15 Thread burnus at gcc dot gnu dot org
http://dwarfstd.org/Dwarf3.pdf "3.3 Subroutine and Entry Point Entries" For subroutine test() entry etry() end subroutine test there is no DW_TAG_entry_point created. Expected: As ifort has: - <1><1eb>: Abbrev Number: 4 (DW_TAG_subprogram) <1ec> DW_AT_dec

[Bug debug/37133] Debug/Fortran/Dwarf3: No module information saved

2008-08-15 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-15 19:49 --- I think to some extend this is a dup of bug 29635. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37133

[Bug debug/37133] New: Debug/Fortran/Dwarf3: No module information saved

2008-08-15 Thread burnus at gcc dot gnu dot org
http://dwarfstd.org/Dwarf3.pdf See: "3.2 Module, Namespace and Importing Entries" * DW_TAG_module * DW_TAG_imported_declaration (for renamed items, only: tag) * DW_TAG_imported_module Example (from Dwarf3, note there a ":" is missing): module A integer X, Y, Z end module module B use A end m

[Bug debug/37132] New: Debug: No DW_TAG_namelist emitted for NAMELISTS

2008-08-15 Thread burnus at gcc dot gnu dot org
http://dwarfstd.org/Dwarf3.pdf "4.3 Namelist Entries" "A namelist is represented by a debugging information entry with the tag DW_TAG_namelist. If the namelist itself has a name, the namelist entry has a DW_AT_name attribute, whose value is a null-terminated string containing the namelistÂ’s name

[Bug fortran/37131] New: inline matmul for small matrix sizes

2008-08-15 Thread tkoenig at gcc dot gnu dot org
Ouch. This is a factor of 20 for this simple test case on my computer. $ cat foo.f90 program main real, dimension(3,3) :: a,b,c call random_number(a) call random_number(b) do i=1,10**8 c = matmul(a,b) a(1,1) = a(1,1) + b(1,1) - c(1,1) end do print *,c end program main $ gfort

[Bug fortran/37129] Problems with access='direct', recl=1 I/O

2008-08-15 Thread kargl at gcc dot gnu dot org
--- Comment #3 from kargl at gcc dot gnu dot org 2008-08-15 18:59 --- (In reply to comment #2) > (In reply to comment #1) > > Is there a Fortran 77 compatible work-around that will do what this program > was > doing (i.e.: write out a mixed set of 4 byte integers and 8 byte floats to a

[Bug fortran/29635] debug info of modules

2008-08-15 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2008-08-15 18:29 --- Created an attachment (id=16077) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16077&action=view) gcc44-pr29635.patch Initial patch, which generates DW_TAG_module in the compilation unit that defines the module

[Bug c++/37130] warning: array subscript is above array bounds.

2008-08-15 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2008-08-15 17:26 --- I don't see anything wrong with the code in __final_insertion_sort, thus this is indeed, in my opinion, a bogus warning emitted by the compiler. Seems related to PR 36902. -- http://gcc.gnu.org/bugzilla/sh

[Bug middle-end/37125] [4.3/4.4 Regression] possible integer codegen bug

2008-08-15 Thread regehr at cs dot utah dot edu
--- Comment #3 from regehr at cs dot utah dot edu 2008-08-15 17:20 --- (In reply to comment #2) > Probably a dup of PR36548. > But PR36548 seemed to be about overflow whereas this one doesn't appear to have any overflows. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37125

[Bug fortran/37129] Problems with access='direct', recl=1 I/O

2008-08-15 Thread huwaldtj at saic dot com
--- Comment #2 from huwaldtj at saic dot com 2008-08-15 16:58 --- (In reply to comment #1) Is there a Fortran 77 compatible work-around that will do what this program was doing (i.e.: write out a mixed set of 4 byte integers and 8 byte floats to a binary file with a specific format sinc

[Bug fortran/37129] Problems with access='direct', recl=1 I/O

2008-08-15 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2008-08-15 16:53 --- (In reply to comment #0) > It appears that gfortran does not interpret recl=1 the way many historic > compilers, including g77, did. So, this bug report is to request that recl=1 > be interpreted to mean that the com

[Bug c++/37130] New: warning: array subscript is above array bounds.

2008-08-15 Thread gdsjaar at sandia dot gov
Given: #include class Id { public: Id(); Id( const Id & ); operator int() const; int id; }; int get_int(); int main() { struct SideVertexBuffer { enum { max_vertices = 4 }; Id node_id[ max_vertices ] ; int processor ; }; SideVertexBuffer entry; int num_side_vert = get_int(

[Bug middle-end/37125] [4.3/4.4 Regression] possible integer codegen bug

2008-08-15 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-08-15 14:37 --- Probably a dup of PR36548. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/37125] possible integer codegen bug

2008-08-15 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-08-15 14:32 --- This somehow looks familiar. Also happens on the 4.3 branch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug fortran/37129] New: Problems with access='direct', recl=1 I/O

2008-08-15 Thread huwaldtj at saic dot com
In porting legacy Fortran 77 code to gfortran, I encountered an issue that can be boiled down and reproduced with the following code: INTEGER*4 HDRPOS,CURPOS OPEN(UNIT= 9,FILE='fort.9',ACCESS='DIRECT', STATUS='NEW', & FORM='UNFORMATTED',RECL=1) INQUIRE(UNIT=9, NE