he new GCC when checking things with
AC_TRY_COMPILE. Or is this just not possible? Is this why some tests
don't use AC_TRY_COMPILE but say "Fake what AC_TRY_COMPILE does"? See
acinclude.m4 for these comments, there is no explanation about why it is
faking what AC_TRY_COMPILE d
hanged
if (bound)
to
if (cp && cp->value)
and set bound inside the if but now I am dying when compiling
decNumber.c so I don't have a bootstrap working yet.
Steve Ellcey
[EMAIL PROTECTED]
d my top-level change (went back to autoconf 2.14) the
libstdc++ configure worked correctly and the right GCC was used by
AC_TRY_COMPILE. Most perplexing.
Steve Ellcey
[EMAIL PROTECTED]
until the patch is reverted or the correct fix is done.
Do you know if there a GCC bug report for this defect? I couldn't find
one in bugzilla. I am seeing this problem with IA64 HP-UX on ToT. I
tried the workaround you gave and that makes IA64 HP-UX work but causes
other platforms to fail so I am wondering when there will be a real fix
for this bootstrap problem.
Steve Ellcey
[EMAIL PROTECTED]
built GCC seems to be picking up an extra .exp file (default.exp) but
I am not sure why or how to fix it so that my non-built compiler runs the
same way. Can someone help me out here?
Steve Ellcey
[EMAIL PROTECTED]
;t look like there is an answer yet.
Anyone have some ideas on this problem?
Steve Ellcey
[EMAIL PROTECTED]
Has anyone seen this bootstrap failure? I only get it on my hppa*-hp-hpux*
builds, not on ia64-hp-hpux* or on Linux builds. I assume it is related
to the include-fixed changes but I don't know why I only get it for some
platforms. I get it with parallel and non-parallel builds.
Steve E
in:20: error: possibly undefined macro: AM_DISABLE_SHARED
I tried changing the macros to AC_* but that didn't help, should I just
use m4_pattern_allow or am I missing a bigger picture here?
Steve Ellcey
[EMAIL PROTECTED]
ing to
<http://www.gnu.org/software/libtool/manual.html#Distributing> we
shouldn't need libtool.m4 in our package.
Steve Ellcey
[EMAIL PROTECTED]
some acinclude.m4 files have explicit includes for
libtool files (libgfortran, libgomp, etc) but other's don't (libffi,
gcc).
Steve Ellcey
[EMAIL PROTECTED]
Here is what I have done so far in the src/binutils tree:
Top level src tree ChangeLog:
2007-03-09 Steve Ellcey &l
> Steve Ellcey <[EMAIL PROTECTED]> writes:
>
> > $ aclocal
> > autom4te: unknown language: Autoconf-without-aclocal-m4
> > aclocal: autom4te failed with exit status: 1
>
> Looks like you have an out-of-date autom4te.cache.
>
> Andreas.
I removed autom
ly undefined). I think I want the -I options though.
Steve Ellcey
[EMAIL PROTECTED]
> On Mon, Mar 12, 2007 at 04:03:52PM -0700, Steve Ellcey wrote:
> > configure:15448: error: possibly undefined macro: AM_PROG_GCJdnl
>
> Where'd that come from? Wherever it is, it's a bug. Maybe someone
> checked in a typo to the configure file. "dnl"
ibobjc was changed then we could put in a
depreciated message on these builtins for 4.3 and maybe remove them for
4.4.
Comments?
Steve Ellcey
[EMAIL PROTECTED]
M_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
But libgfortran doesn't have a line like this so how is it coming up
with this compile line?
Steve Ellcey
[EMAIL PROTECTED]
use of --tag
in the libtool config output (nor do I see where the -MD, -MP, -MF flags
are coming from).
Steve Ellcey
[EMAIL PROTECTED]
% ./libtool --config | grep -e LT -e CC -e tag
LTCC="/proj/opensrc/sje/svn.libtool/build-ia64-hp-hpux11.23-trunk/obj_gcc/./gcc/xgcc
-B/proj/opensrc/sje/
t any --tags options in Makefile.in, but if I run
automake in the tree where I have the latest libtool then I see the
--tag option used. So I guess just rerunning automake is sufficient to
fix this problem.
Steve Ellcey
[EMAIL PROTECTED]
question of making it easier to
reproduce a -O2 bug that happens on one machine on a different one too
so it is easier to find and fix?
Steve Ellcey
[EMAIL PROTECTED]
an aligned attribute on it. If the buffer isn't aligned the
perlbench program fails.
I believe another problem was an uninitialized local variable in a
Fortran program, but I don't recall which program or which variable
that was.
Steve Ellcey
[EMAIL PROTECTED]
en if I build
bootstrap. If I build a non-bootstrap compiler then the applu test
compiles and runs fine. If I build a bootstrap compiler, I can compile
applu but the program core dumps when run. Do you have any ideas about
what might be happening or what I might try in order to understand wha
x27;s but I think that might
negate what the test is trying to check since there would be no implicit
conversions in the code any more and the test would probably never have
given multiple overflow warnings in the first case.
Steve Ellcey
[EMAIL PROTECTED]
Test g++.dg/warn/multiple-overflow
Andrew, are you still planning on applying the libobjc patch that
removes the use of __builtin_apply?
Steve Ellcey
[EMAIL PROTECTED]
general coming up with a specific set of criteria where an
aggregate doesn't have to be treated as such is difficult on IA64. For
more details about the IA64 ABI see:
http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,3309,00.html
Steve Ellcey
[EMAIL PROTECTED]
d operand 3 have in this situation?
Or should it have been left out?
Steve Ellcey
[EMAIL PROTECTED]
s than or
equal to the size of the base type in those instances where we are
creating an array.
I would be interested in any advice on the best way to fix these tests
so that I can add my patch without causing regressions.
Steve Ellcey
[EMAIL PROTECTED]
Here is the patch that checks for the alig
n
and I don't know if I can determine that while running
struct-layout-1_generate.
The simplest solution would probably be to ignore __aligned__ attributes
completely when we have an array. Or to do the change you suggested for
the vector tests and have the attribute attached to the array and not
the element type.
Steve Ellcey
[EMAIL PROTECTED]
is aligned.
It seems like we are lying about the alignment of the pa, pb, pc
arguments but I don't see a way around this. If we changed GCC to pad
the array elements (in order to obey the alignment request) wouldn't we
actually break our ability to vectorize things?
Steve Ellcey
[EMAIL
when I try to use the __restrict__
attribute on the array arguments. Without the __restrict__ attribute I
am sure we would not do any vectorization and then what is the point of
the test?
Steve Ellcey
[EMAIL PROTECTED]
look at this test case and help
me understand what is going on and if this change from 3.4 to 4.0 is
intentional or not?
Steve Ellcey
[EMAIL PROTECTED]
Test Case ---
#define L_CONST 500
void *malloc(long size);
struct plan7_s {
unsigned extensions and I am not sure if that would be set
correctly for pointer types based on a platforms setting of
POINTERS_EXTEND_UNSIGNED.
Anyone have any insights?
Steve Ellcey
[EMAIL PROTECTED]
address ought to have a
> gcc_assert (GET_MODE (x) == to_mode);
> in the #ifndef case.
OK, I'll toss that in too. It won't be seen on the HP-UX side but I'll
do a Linux build as well.
Steve Ellcey
[EMAIL PROTECTED]
is by doing nothing (current behaviour) or if
convert_memory_address should be changed so that it does the same
conversion on const_int values when POINTERS_EXTEND_UNSIGNED is
undefined as it does when POINTERS_EXTEND_UNSIGNED is defined.
Steve Ellcey
[EMAIL PROTECTED]
""
""
[(set_attr "itanium_class" "ignore")
(set_attr "predicable" "no")
(set_attr "empty" "yes")])
I think the match_dup may be wrong since I am using it with SF but the
original match_operand has DF. Do I need to make this modeless? Or is
there some other way to create an empty conversion instruction.
Steve Ellcey
[EMAIL PROTECTED]
urcery, LLC
Nope. GCC doesn't like seeing two match_operand's for op 0.
Steve Ellcey
[EMAIL PROTECTED]
vectors. This prevents ABI changes
depending on whether or not native vector modes are supported. */
TYPE_ALIGN (type) = tree_low_cst (TYPE_SIZE (type), 0);
so it seems to be intentional, but it still seems odd to me, especially
for very large vectors.
Steve Ellcey
[EMAIL PROTECTED]
> On Wed, Jun 08, 2005 at 12:50:32PM -0700, Steve Ellcey wrote:
> > I noticed that vectors are always aligned based on their size, i.e. an
> > 8 byte vector has an aligment of 8 bytes, 16 byte vectors an alignment
> > of 16, a 256 byte vector an alignment of 256, etc.
&g
> Steve Ellcey defined MEMBER_TYPE_FORCES_BLK when he first implemented
> the ia64-hpux port. At the time, I mentioned using PARALLELs was a
> better solution, but this was a simpler way for him to get the initial
> port working. Since then, there have been a lot of bug fixes to
time a compile is given and
where this limit is set? By hand, I can compile the test in about 3 1/2
minutes on the machine in question (the machine may have been busier
when the failure occured and thus taken longer).
Steve Ellcey
[EMAIL PROTECTED]
a timing report based on the 4.0.0 compiler it looks like
half the compile time is spent in the phase "dominance frontiers".
I will investigate some more.
Steve Ellcey
[EMAIL PROTECTED]
figure out how to get
gcc.dg-struct-layout-1_generate to stop generating this type.
Even after looking at Jakubs patch that fixed the other layout failures,
I haven't been able to come up with a fix.
Can anyone help me with this?
Steve Ellcey
[EMAIL PROTECTED]
.
Steve Ellcey
[EMAIL PROTECTED]
d want to put the info out before optimizing
tree-ssa since you would hope that the IPO data from other modules would
let you do better tree-ssa optimizations.
> I do not know whether these two questions are already answered or not.
I don't think anything has been answered yet.
Steve Ellcey
[EMAIL PROTECTED]
e an GNU Socks package I can build? I see Dante, is that
what I want?
Is using --with-socks on my subversion build the right way to be
attacking this problem?
I am trying to get this to work from my HP-UX box, if that makes a
difference.
Steve Ellcey
[EMAIL PROTECTED]
> > Currently I get:
> >
> > | /usr/local/bin/svn co svn+ssh://gcc.gnu.org:/svn/gcc/trunk
> > | ssh: gcc.gnu.org:: no address associated with hostname.
> > | svn: Connection closed unexpectedly
>
> This one might easy.
>
> You added a : at the end of gc
as +Onofltacc.
+Ofltacc=strict
Disallows any floating point optimization that can result in
numerical differences. This is the same as +Ofltacc.
It would be easy enough to add an option that turned off the use of the
fused multiply and add in GCC but I would hate to see its use turned off
by default.
Steve Ellcey
[EMAIL PROTECTED]
hat if I
compile using 3.4.4 and use '-shared -shared-libgcc' instead of just
'-shared' then it works as you want.
Steve Ellcey
[EMAIL PROTECTED]
piler.
>
> Richard.
FYI: What I do to compile gmp on IA64 HP-UX is to configure gmp with
'--host=none --target=none --build=none'. This avoids all the target
specific code. I am sure the performance stinks this way but since it
is used by the compiler and not in the run-time I haven
see a gcc_3_4_5_release tag in the SVN tags directory.
I also notice we have a "Releases" link under "About GCC" in the top
left corner of the main GCC page that doesn't look like it has been
updated in quite a while for any releases. Should this be updated or
removed?
Steve Ellcey
[EMAIL PROTECTED]
ROTECTED]
You can stop this by specifying --with-local-prefix=/not-usr-local when
configuring GCC.
I have built a GCC into a location like /be by specifying both
--prefix=/be and --with-local-prefix=/be
This GCC does not look in /usr/local/include (but does search
/be/include).
Steve Ellcey
[EMAIL PROTECTED]
why C++ tests with exception handling are
not working for me because this register is not getting set and restored
(since it is thought to be fixed) during code that uses throw and catch.
Steve Ellcey
sell...@imgtec.com
On Fri, 2015-06-19 at 09:09 -0400, Richard Henderson wrote:
> On 06/16/2015 07:05 PM, Steve Ellcey wrote:
> >
> > I have a question about the DRAP register (used for dynamic stack alignment)
> > and about reserving/using hard registers in general. I am trying to
> >
On Fri, 2015-06-19 at 09:09 -0400, Richard Henderson wrote:
> On 06/16/2015 07:05 PM, Steve Ellcey wrote:
> >
> > I have a question about the DRAP register (used for dynamic stack alignment)
> > and about reserving/using hard registers in general. I am trying to
> >
t; call to use_return_register.
>
>
> r~
I ran into an interesting issue while doing this. Right now the expand
pass calls construct_exit_block (which calls expand_function_end) before
it calls expand_stack_alignment. That means that crtl->drap_reg, etc
are not yet set up when
saved copy is used by the unwind info?
I don't see any indication that the unwind library knows if a stack has
been dynamically realigned and I don't see where unwind makes use of
this value.
Steve Ellcey
sell...@imgtec.com
o specify a target-board is so I can then modify it with
something like '--target-board=unix/-m32' but I think I need to specify a
board before I add any options don't I?
Steve Ellcey
sell...@imgtec.com
On Fri, 2015-07-10 at 14:27 -0500, Segher Boessenkool wrote:
> On Fri, Jul 10, 2015 at 10:43:43AM -0700, Steve Ellcey wrote:
> >
> > I have a basic GCC testing question. I built a native GCC and ran:
> >
> > make RUNTESTFLAGS='dg.exp' check
> >
stack but I don't really understand what they are trying
to do.
Any help?
Steve Ellcey
sell...@imgtec.com
P.S. For completeness sake I have attached my current dynamic
alignment changes in case anyone wants to see them.
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c
index 4f9a31d..386c2c
or it. I guess I need to
make the temporary register where I save $sp volatile or do something
else so that the assignment (and its associated .cfi) is not deleted by
the optimizer.
Steve Ellcey
sell...@imgtec.com
"comdats" is what is used for
the name of pass_ipa_comdats in ipa-comdats.c.
Steve Ellcey
sell...@imgtec.com
SIMPLE_IPA_PASS
and the comdats pass is just IPA_PASS. I changed mine to IPA_PASS and
it now registers the pass.
Steve Ellcey
sell...@imgtec.com
On Tue, 2015-08-18 at 09:23 +0930, Alan Modra wrote:
> On Mon, Aug 17, 2015 at 10:38:22AM -0700, Steve Ellcey wrote:
> OK, then you need to emit a .cfi directive to say the frame top is
> given by the temp hard reg sometime after that assignment and before
> sp is aligned in the p
block and epilogue in order for
exception handling to work correctly. One way I thought of doing this
is to create an edge from the entry block to the exit block but I am
unsure of all the implications of creating a fake/eh/abnormal edge to
do this and which I would want to use.
Steve Ellcey
sell
nder but that seems to be the main
problem I am having with stack realignment. Getting the cfi stuff right
so that the unwinder works properly is proving very hard.
Steve Ellcey
sell...@imgtec.com
c GCC code and that has GTY types
in it so I am not sure what I need to do to get gengtype to scan
mips-private.h or if this is even possible (or wise).
Steve Ellcey
sell...@imgtec.com
ure but machine specific passes may be the
exception to that rule. We already have one pass in mips.c
(pass_mips_machine_reorg2), that might be something else that could be
broken out, though I haven't looked in detail to see what types or
structures it would need access to.
Steve Ellcey
sell...@imgtec.com
been an issue for other targets.
Steve Ellcey
sell...@imgtec.com
don't see an
obvious patch that could have caused this new failure, has anyone else run
into this? I couldn't find anything in the bug database or in the mailing
lists.
Steve Ellcey
sell...@imgtec.com
e we doing both just to have belts and suspenders
and want to keep it that way?
Steve Ellcey
sell...@imgtec.com
rsion. But 'uhq' would be a 2 byte
unsigned fract, and the unsigned fract type on MIPS should be 4 bytes
(unsigned int is 4 bytes). So shouldn't GCC have generated a call to
__satfractqiusq instead? Or am I confused?
Steve Ellcey
sell...@imgtec.com
On Wed, 2015-10-28 at 13:42 +0100, Richard Biener wrote:
> On Wed, Oct 28, 2015 at 12:23 AM, Steve Ellcey wrote:
> >
> > I have a question about the _Fract types and their conversion routines.
> > If I compile this program:
> >
> > extern void abort (void);
> &
t why we are doing an
lbu instead of an lb.
Steve Ellcey
sell...@imgtec.com
I have tried a few code changes in fixed-bit.c (to no avail) but this
code is so heavily macro-ized it is tough to figure out what it should
be doing.
Steve Ellcey
sell...@imgtec.com
e change does degrade the optimizer
so could we go back to the old behaviour for C89/C99? The code in ivopts
has changed enough since the patch was applied I couldn't immediately see
how to do that in the ToT sources.
Steve Ellcey
sell...@imgtec.com
*) p1;
const unsigned char *s2 = (const unsigned char *) p2;
unsigned char c1, c2;
do
{
c1 = (unsigned char) *s1++;
c2 = (unsigned char) *s2++;
if (c1 == '\0')
return c1 - c2;
}
while (c1 == c2);
return c1 - c2;
}
Steve Ellcey
sell...@imgtec.com
in 24k.md but that didn't seem to have any
affect on the ivopts code.
Steve Ellcey
sell...@imgtec.com
causes a stall. If we used [reg] and incremented it after the
load then we would have at least one instruction in between the load and
the use and either no stall or a shorter stall.
I don't know if ivopts has anyway to do this type of analysis when
picking the IV.
Steve Ellcey
sell...@imgtec.com
wonder if this is a related problem.
I could not find any uses of isfinite in other C++ files (except cmath)
and the tests that use it are the same ones that are xfailed for uclibc.
Steve Ellcey
sell...@imgtec.com
ch what happens
with:
int a[256];
int main()
{
int *p = (int *)((char *)a + 1);
int *q = (int *)((char *)a + 5);
*p = *q;
return 0;
}
When I optimize it, GCC does unaligned accesses and when unoptimized
GCC does aligned accesses which will not work on MIPS.
Steve Ellcey
sell...@imgtec.com
but it doesn't look like the second compiler is
ever run to compile anything. I am using the multi-sim dejagnu board.
Steve Ellcey
sell...@imgtec.com
GCC to build GLIBC. Once I rebuilt GCC with threads
I could build GLIBC and not get this error.
Steve Ellcey
void operator= ( bool bit);
operator bool() const;
};
GCC 5.4 breaks up the operator delcarations with line markers and GCC 6.2
does not.
Steve Ellcey
sell...@caviumnetworks.com
is a bug in handling MULTILIB_OSDIRNAMES?
Steve Ellcey
sell...@mips.com
mization levels. Likewise in common.opt
I see flags for various optimization passes but nothing to tie them to
-O1 or -O2, etc.
I'm probably missing something obvious, but a pointer would be much
appreciated.
Steve Ellcey
> default_options_table in opts.c.
Thanks Andrew and Marc, I knew it would be obvious once I saw it.
Steve
n with. I am not sure which yet.
Steve Ellcey
sell...@mips.com
% cat x.c
int NoBarrier_AtomicIncrement(volatile int* ptr, int increment) {
int temp, temp2;
__asm__ __volatile__(".set push\n"
".set noreorder\n"
"1:\n"
r FAIL
and don't examine the testing output that closely. I see the 'usual' C
and C++ faliiures after this error and the rest of the testsuite seems to
run fine.
Steve Ellcey
sell...@mips.com
Test Run By sellcey on Fri Sep 5 03:08:58 2014
Native configuration is
options contain equal signs (-mabi=32, -mabi=64) so
it would be hard/confusing to map an option to a directory when the
option itself contains an equal sign.
Steve Ellcey
sell...@mips.com
precision log and sin functions are presumably
faster then the double precision ones making the entire code much faster.
Is there a reason why GCC couldn't (under -ffast-math) call the single
precision routines for the first case?
Steve Ellcey
sell...@mips.com
here is no pass which does the demotion and the
> only case of demotion that happens is with a simple
> (float)function((double)float_val);
>
> Thanks,
> Andrew
Do you know which pass does the simple
'(float)function((double)float_val)' demotion? Maybe that would be a
good place to extend things.
Steve Ellcey
On Thu, 2014-10-09 at 19:50 +, Joseph S. Myers wrote:
> On Thu, 9 Oct 2014, Steve Ellcey wrote:
>
> > Do you know which pass does the simple
> > '(float)function((double)float_val)' demotion? Maybe that would be a
> > good place to extend things.
>
ldn't SYSROOT_SUFFIX_SPEC be used for the gcc shared libraries
as well as the sysroot areas? I.e. install and search for libgcc_s.so.1 in:
/lib # 32 bits
/lib/../lib64 # 64 bits
Steve Ellcey
sell...@imgtec.com
On Thu, 2015-01-08 at 22:12 +, Joseph Myers wrote:
> On Thu, 8 Jan 2015, Steve Ellcey wrote:
>
> > So I set these macros and SPECs:
> > # m32 and be are defaults
> > MULTILIB_OPTIONS = m64 mel # In makefile fragment
> >
Which is the same as you would use if you didn't specify mips32r2 in
MULTILIB_OPTIONS at all. I expect MULTILIB_OSDIRNAMES to work the same
way and ignore any mapping entries with the mips32r2 option but maybe I
am wrong (I'm still testing it out).
Steve Ellcey
sell...@imgtec.com
a bug?
Steve Ellcey
into that before.
Steve Ellcey
sell...@imgtec.com
On Tue, 2015-01-27 at 09:36 -0700, Jeff Law wrote:
> On 01/27/15 09:20, Steve Ellcey wrote:
> > On Tue, 2015-01-27 at 08:02 -0800, H.J. Lu wrote:
> >> For the past couple days, gcc.gnu.org/sourceware.org is
> >> quite slow for me when accessing git and bugzilla. Am
or
disadvantages of these two approaches.
Steve Ellcey
sell...@imgtec.com
On Sun, 2015-02-22 at 10:30 -0800, Matthew Fortune wrote:
> Steve Ellcey writes:
> > Or one could change convert_mult_to_fma to add a check if fma is fused
> > vs. non-fused in addition to the check for the flag_fp_contract_mode
> > in order to decide whether to convert ex
t see any other platforms using that technique and I was wondering
if there is any more generalized method for spilling registers to memory
with an alignment requirement greater than MAX_STACK_ALIGNMENT.
Steve Ellcey
sell...@imgtec.com
ts in cases where the regular stack pointer may have
been changed in order to be aligned. Is that correct?
Any help/advice on how the hooks for dynamically realigned stack are supposed
to all work together would be appreciated.
Steve Ellcey
1 - 100 of 310 matches
Mail list logo