summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-04 12:27:27 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-04 12:27:27 +0000
commit7551ff592e915af1a8e0c328113849b5833ff59d (patch)
tree0281037ad86346ec1313116041cbbf4c719144b4 /gcc
parentdcc54a3c7889340d1e9d261ab9d013f685eea54a (diff)
downloadppe42-gcc-7551ff592e915af1a8e0c328113849b5833ff59d.tar.gz
ppe42-gcc-7551ff592e915af1a8e0c328113849b5833ff59d.zip
PR fortran/6106
* config/sparc/sparc.h (MIN_UNITS_PER_WORD): Backout 2001-01-01 change. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51857 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/sparc/sparc.h4
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a4561c22b4f..8510f081fc8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,11 @@
2002-04-04 Jakub Jelinek <jakub@redhat.com>
+ PR fortran/6106
+ * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Backout 2001-01-01
+ change.
+
+2002-04-04 Jakub Jelinek <jakub@redhat.com>
+
* config/sparc/sparc.c (sparc_va_arg): Adjust va_list by
UNITS_PER_WORD for zero sized aggregates.
diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h
index 040a4a38320..91b82125197 100644
--- a/gcc/config/sparc/sparc.h
+++ b/gcc/config/sparc/sparc.h
@@ -683,7 +683,11 @@ extern struct sparc_cpu_select sparc_select[];
/* Width of a word, in units (bytes). */
#define UNITS_PER_WORD (TARGET_ARCH64 ? 8 : 4)
+#ifdef IN_LIBGCC2
+#define MIN_UNITS_PER_WORD UNITS_PER_WORD
+#else
#define MIN_UNITS_PER_WORD 4
+#endif
/* Now define the sizes of the C data types. */
OpenPOWER on IntegriCloud