| Rev |
Log message |
Author |
Age |
Path |
| 3901 |
To fix library dependency problems, the
rule make_libdeps for X8664 is now the same as NVISA.
CR: Sun Chan. |
dgilmore |
415d 10h |
/ |
| 3900 |
This change fixes a bug in DSP_SCH::Compute_Insn_Size().
Some operations have an opcode variant which assume that rax/eax is an
operand/result. Thus when this register is being targeted no Mod R/M
byte is needed, thus the instruction is 1 byte shorter.
CR: Sun Chan |
dgilmore |
415d 11h |
/ |
| 3899 |
This patch fixes initializations of several MEM_POOLs in
ebo_special.cxx, which eliminates many memory pool initialization
trace warnings when the compiler is built in debug mode.
CR: Sun Chan |
dgilmore |
415d 11h |
/ |
| 3898 |
This is a fix for a bug found by adding new fields to the
OP structure which caused a segmentation fault during the
code generation phase when building SPEC dealII.
The Base() member function of a POINTS_TO structure only
returns a valid ST pointer when the base kind is fixed (for
debugging purposes, during alias information construction
pointers to different structures are placed in _base when
the base kind is dynamic).
For consistency sake, in this source file I changed the
other check to determine whether the base kind is fixed to
use the Based_is_fixed() member function.
CR: Jian-Xin Lai. |
dgilmore |
416d 13h |
/ |
| 3897 |
Fix osprey-gcc-4.2.0 build failure on Linux Mint 12 64-bit.
This distro puts the 64-bit C runtime object files in
/usr/lib/x86_64-linux-gnu instead of /usr/lib or /usr/lib64.
Approved by: Sun Chan |
dcoakley |
418d 10h |
/ |
| 3896 |
Remove unused code for GCC 4.0-based C/C++ front end.
It has been superseded by the GCC 4.2-based front end in osprey-gcc-4.2.0.
Approved by: Sun Chan |
dcoakley |
418d 13h |
/ |
| 3895 |
[CAF] changing ENABLE_TRACES to ENABLE_LIBCAF_TRACES |
dreachem |
422d 13h |
/ |
| 3894 |
[CAF] correcting uhcaf.in error for GASNET_CONDUITS |
dreachem |
422d 13h |
/ |
| 3893 |
Updates for CG_Sched, new behavior for alignment on selected processor
targets and some cleanup for some processor targets in CG. There is
also a corresponding document for this scheduler now in the wiki.
CR by Jian-Xin. |
mberg |
423d 16h |
/ |
| 3892 |
[CAF] fix typo which caused seg fault for strided reads |
dreachem |
425d 11h |
/ |
| 3891 |
Misc. fixes for allocatable components
Allow allocatable components in derived types.
Technically, components with allocatable attribute should be allowed in
derived types even though in the initial Fortran 95 standard it wasn't. This
fixes some issues so that it will work in our compiler.
(1) set alignment to Pointer_size for derived types with allocatable component
(2) fix bug in constructing IR when there is an allocatable array section in a
print statement
This commit also fixes some issues with defining and allocating coarray
components of derived types.
- allow allocatable coscalar component in derived type
- support allocation of allocatable coarray components
- remove unnecessary code for storing PE bounds info in temps on allocate
Moreover, this commit fixes parsing of coarray-spec, ensuring that they are
either "explicit shape" or "deferred shape", as per Fortran 2008 standard.
Contributor: Deepak |
dreachem |
425d 11h |
/ |
| 3890 |
[CAF] various fixes for coscalars and libfortran bug
coscalar front-end fixes:
- allow local accesses on coscalars of derived type with pointer components
- fix size calculation for coscalar types
Also, in libfortran we were using the wrong function name for allocating data
in non-symmetric, remotely accessibly heap, resulting in a run-time error.
This was fixed.
Contributor: Deepak |
dreachem |
425d 11h |
/ |
| 3889 |
[CAF] Fixes file name DST info generated in wgen
If compiling a source code not in the current directory with -g, it couldn't
be stepped through in a debugger. It turns out that the DWARF symbol table
(DST) information for the file name was not appending the relative path. This
prevents the relative path from being stripped by wgen before writing out the
DST information. This fix enables us to build all the runtime libraries (e.g.
libfortran) with debug info.
Also:
- adds --keep option for uhcaf script
- increases patch level, now at 3.0.3
Contributor: Deepak |
dreachem |
425d 11h |
/ |
| 3888 |
fix for bug955(the regression caused by r3882).
we try to avoid the abuse of TN_RELOC_IA32_GOTOFF in -fpic code,
resolve back to use IA32_GOT as r3881 did.
Only for those cases have to change to IA32_GOTOFF, i.e,
sym:base+ofst expanded to two CGIR ops, and needit be restored for
Asm_m_constrint, we do it.
Code Review: Lai Jian-Xin. |
yug |
428d 03h |
/ |
| 3887 |
fix for bug798.
When we build switch construct in wgen, if the
switch index is a constant. we don't generate
the index var, instead, we use constant the as switch
expression directly. This helps compiler eliminates the
unreachable branch code even at O0 phase.
Code Review: Chandrasekhar Murthy. |
yug |
431d 03h |
/ |
| 3886 |
bug798 cases |
yug |
431d 08h |
/ |
| 3885 |
[CAF] fix to allow use of uhcaf in makefiles
The uhcaf script will run the make command to determine the communication libs
from GASNet and ARMCI makefiles. If uhcaf is invoked from within another
makefile, the output of the nested makefile will include a printing of working
directory. To avoid this, we use --no-print-directory command in the script.
Also, there was a bug during coarray prelowering phase (undefined variable
ty1) that was fixed.
Contributor: Deepak |
dreachem |
435d 10h |
/ |
| 3884 |
increasing patch level, now at 3.0.1 |
dreachem |
435d 13h |
/ |
| 3883 |
[CAF] Misc fixes for CAF and compiling without CAF support
Changes in this commit are:
- Before, it did not allow any coarray components for derived types. In
Fortran 2008, however, it is allowed so long as it is declared as
allocatable/pointer.
Also, we add a check in back-end translation that a co-subscripted access of
a coarray will have offset 0 for the base address. This looks to be
generally the case, and it is necessary to correctly handle accesses to
components of derived type coscalars.
- There were some places (in particular, parser handler for end critical) that
were missing ifdef _UH_COARRAYS.
- only install libcaf-extra if configured with --enable-coarrays
Contributor: Deepak |
dreachem |
435d 13h |
/ |
| 3882 |
fix for bug951.
under -m32 -fpic environment, when we do ld_st:
when base_ofst ! = 0, we generate
TN :- lea32 GTN2(%rbx) (sym:base_sym+base_ofst)
instead of
tmp_TN :- ld32 GT2(%bx) (sym:base_sym + 0)
TN :- lea32 tmp_TN base_ofst
this is for consideration of facilitate restoring the register TN
to symbol TN in ASM m constraint.
And also this reduces a temp TN.
Code Review: Lai Jian-Xin. |
yug |
436d 03h |
/ |