[Bug ada/35998] debug info invalid x86_64 DW_AT_byte_size 0xffffffff

2011-01-21 Thread rupp at gnat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35998

Douglas B Rupp  changed:

   What|Removed |Added

 CC||rupp at gnat dot com

--- Comment #7 from Douglas B Rupp  2011-01-21 20:30:20 
UTC ---
This bogus size of -1 is causing an informational warning from VMS Debug on
IA64 VMS.


[Bug ada/42068] [4.5 regression] ICE in function_and_variable_visibility

2010-03-08 Thread rupp at gnat dot com


--- Comment #38 from rupp at gnat dot com  2010-03-09 05:20 ---
I patched gnatpro gcc-head snapshot from 20100307 with "ppa" (less ada bits) as
instructed in comment #33, and it bootstraps fine on alphaev67-dec-osf5.1b,
also compiles p.ad[bs] aka "p.txt"


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42068



[Bug c/42224] New: 32bit pointers to 32bit pointers abort on 64bit VMS

2009-11-29 Thread rupp at gnat dot com
This is a major bug on VMS, it prevents gnatlib compilation. Please fix.

Ubuntu Linux Desktop 8.04 LTS

Target: ia64-hp-openvms8_3
Configured with: ../gcc-head-src/configure --target=ia64-hp-openvms8_3
--prefix=/vmsbuild/gcc/gnatxx --with-local-prefix=/vmsbuild/gcc/gnatxx/local
--with-gnu-as --enable-threads=posix --disable-shared --disable-nls
--disable-multilib --disable-libssp --disable-libada --disable-decimal-float
--disable-fixed-point --enable-checking=release --enable-languages=c
--with-gmp-include=/usr/local/include --with-gmp-lib=/usr/local/lib
--with-mpfr-include=/us/local/include --with-mpfr-lib=/usr/local/lib
Thread model: posix
gcc version 4.5.0 20091129 (experimental) (GCC) 

--

$ ./cc1 foo.c
 to_ptr32 to_int to_ptr32_ptr32
foo.c: In function 'to_ptr32_ptr32':
foo.c:28:3: internal compiler error: in int_or_pointer_precision, at
tree.c:10583


--> Reproducer:

$ cat foo.c
typedef char* __char_ptr32 __attribute__ (( mode (SI) ));
typedef __char_ptr32 *__char_ptr_char_ptr32 __attribute__ ((mode (SI)));

void to_ptr32 (int x)
{
  __char_ptr32 ptr = (__char_ptr32) x;
}

void to_int (__char_ptr32 ptr)
{
  int x = (int) ptr;
}

__char_ptr_char_ptr32
to_ptr32_ptr32 (char **ptr64)
{
  int argc;
  __char_ptr_char_ptr32 short_argv;

  for (argc=0; ptr64[argc]; argc++);

  short_argv = (__char_ptr_char_ptr32) malloc32
(sizeof (__char_ptr32) * (argc + 1));

  for (argc=0; ptr64[argc]; argc++)
short_argv[argc] = (__char_ptr32) strdup32 (ptr64[argc]);

  short_argv[argc] = (__char_ptr32) 0;
  return short_argv;

}


-- 
   Summary: 32bit pointers to 32bit pointers abort on 64bit VMS
   Product: gcc
   Version: 4.5.0
Status: UNCONFIRMED
  Severity: major
  Priority: P3
 Component: c
AssignedTo: unassigned at gcc dot gnu dot org
    ReportedBy: rupp at gnat dot com
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: ia64-hp-openvms8_3


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42224



[Bug target/42224] 32bit pointers to 32bit pointers abort on 64bit VMS

2009-11-29 Thread rupp at gnat dot com


--- Comment #1 from rupp at gnat dot com  2009-11-30 07:42 ---
Fails in same manner on s390x-linux.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42224



[Bug middle-end/42224] [4.5 Regression] 32bit pointers to 32bit pointers abort on 64bit VMS and S390X

2009-11-30 Thread rupp at gnat dot com


--- Comment #4 from rupp at gnat dot com  2009-12-01 01:06 ---
Proposed patch fixes test case on VMS.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42224



[Bug bootstrap/42068] [4.5 regression] ICE in function_and_variable_visibility breaks Tru64 UNIX Ada bootstrap

2009-12-26 Thread rupp at gnat dot com


--- Comment #6 from rupp at gnat dot com  2009-12-26 21:18 ---
ICE on alpha64-dec-openvms* with 20091224 sources.


-- 

rupp at gnat dot com changed:

   What|Removed |Added

 CC||rupp at gnat dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42068



[Bug middle-end/42068] [4.5 regression] ICE in function_and_variable_visibility with static common vars.

2010-01-21 Thread rupp at gnat dot com


--- Comment #32 from rupp at gnat dot com  2010-01-21 17:36 ---
I'm not sure what Jan is asking for exactly, but in an attempt to be helpful
here is a traceback using the 20091124 sources for the reduced testcase on
alpha-openvms. The debugging info is messed up for me too, but its just the
source line correlation records numbers, the call stack looks reasonable. If I
can be of further assistance please ask.

$ gdb ../../gnat1
(gdb) br fancy_abort
(gdb) r -quiet -I. p.adb
(gdb) bt
#0  0x084eee38 in fancy_abort (file=0x8b079b7 "../../gcc-head-src/gcc/ipa.c",
line=417, function=0x8b07ae0 "function_and_variable_visibility")
at ../../gcc-head-src/gcc/diagnostic.c:155
#1  0x088c8a52 in function_and_variable_visibility (whole_program=0 '\0')
at ../../gcc-head-src/gcc/cgraph.h:270
#2  0x088c8d91 in local_function_and_variable_visibility ()
at ../../gcc-head-src/gcc/cgraph.h:270
#3  0x08653c37 in execute_one_pass (pass=0x8b6b440)
at ../../gcc-head-src/gcc/function.h:176
#4  0x08654352 in execute_ipa_pass_list (pass=0x8b6b440)
at ../../gcc-head-src/gcc/function.h:176
#5  0x088a737e in ipa_passes () at ../../gcc-head-src/gcc/tree.h:182
#6  0x088a74f0 in cgraph_optimize () at ../../gcc-head-src/gcc/tree.h:182
#7  0x088a5d80 in cgraph_finalize_compilation_unit ()
at ../../gcc-head-src/gcc/tree.h:182
#8  0x0815c6d1 in gnat_write_global_declarations ()
at ../../gcc-head-src/gcc/tree.h:182
#9  0x0870e1bd in compile_file () at ../../gcc-head-src/gcc/toplev.h:198
#10 0x0870fe4a in do_compile () at ../../gcc-head-src/gcc/toplev.h:198
#11 0x0870ff0f in toplev_main (argc=4, argv=0xbfea58a4)
at ../../gcc-head-src/gcc/toplev.h:198
#12 0x0847b33b in main (argc=4, argv=0xbfea58a4)
at ../../gcc-head-src/gcc/main.c:35


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42068